* configure.host (abi_baseline_subdir_switch): Describe.
[official-gcc.git] / Makefile.in
blob4f8b396edcbdb340235e15facbe515999cb11cdf
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
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_PASSS.
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 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
210 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
211 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
212 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
213 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
214 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
215 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
216 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
217 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
218 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
219 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
220 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
221 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
222 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
223 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
224 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
225 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
241 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
242 -I$$s/libstdc++-v3/libsupc++ \
243 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
244 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
245 @endif target-libstdc++-v3-bootstrap
247 # Similar, for later GCC stages.
248 POSTSTAGE1_HOST_EXPORTS = \
249 $(HOST_EXPORTS) \
250 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
251 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
252 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
253 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
254 $(POSTSTAGE1_CXX_EXPORT) \
255 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
256 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
257 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
259 # Target libraries are put under this directory:
260 TARGET_SUBDIR = @target_subdir@
261 # This is set by the configure script to the arguments to use when configuring
262 # directories built for the target.
263 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
264 # This is the list of variables to export in the environment when
265 # configuring subdirectories for the target system.
266 BASE_TARGET_EXPORTS = \
267 $(BASE_EXPORTS) \
268 AR="$(AR_FOR_TARGET)"; export AR; \
269 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
270 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
271 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
272 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
273 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
275 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
276 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
277 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
278 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
279 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
280 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
281 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
282 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
283 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
284 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
285 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
286 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
287 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
288 @if gcc-bootstrap
289 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
290 @endif gcc-bootstrap
291 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
292 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
294 RAW_CXX_TARGET_EXPORTS = \
295 $(BASE_TARGET_EXPORTS) \
296 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
297 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
299 NORMAL_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
303 # Where to find GMP
304 HOST_GMPLIBS = @gmplibs@
305 HOST_GMPINC = @gmpinc@
307 # Where to find PPL
308 HOST_PPLLIBS = @ppllibs@
309 HOST_PPLINC = @pplinc@
311 # Where to find CLOOG
312 HOST_CLOOGLIBS = @clooglibs@
313 HOST_CLOOGINC = @clooginc@
315 # Where to find libelf
316 HOST_LIBELFLIBS = @libelflibs@
317 HOST_LIBELFINC = @libelfinc@
319 # ----------------------------------------------
320 # Programs producing files for the BUILD machine
321 # ----------------------------------------------
323 SHELL = @SHELL@
325 # pwd command to use. Allow user to override default by setting PWDCMD in
326 # the environment to account for automounters. The make variable must not
327 # be called PWDCMD, otherwise the value set here is passed to make
328 # subprocesses and overrides the setting from the user's environment.
329 # Don't use PWD since it is a common shell environment variable and we
330 # don't want to corrupt it.
331 PWD_COMMAND = $${PWDCMD-pwd}
333 # compilers to use to create programs which must be run in the build
334 # environment.
335 AR_FOR_BUILD = @AR_FOR_BUILD@
336 AS_FOR_BUILD = @AS_FOR_BUILD@
337 CC_FOR_BUILD = @CC_FOR_BUILD@
338 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
339 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
340 CXX_FOR_BUILD = @CXX_FOR_BUILD@
341 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
342 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
343 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
344 GOC_FOR_BUILD = @GOC_FOR_BUILD@
345 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
346 LD_FOR_BUILD = @LD_FOR_BUILD@
347 NM_FOR_BUILD = @NM_FOR_BUILD@
348 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
349 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
350 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
352 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
353 # here so that they can be overridden by Makefile fragments.
354 BUILD_PREFIX = @BUILD_PREFIX@
355 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
357 # Flags to pass to stage2 and later makes. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BOOT_CFLAGS= -g -O2
360 BOOT_LDFLAGS=
361 BOOT_ADAFLAGS=-gnatpg -gnata
363 AWK = @AWK@
364 SED = @SED@
365 BISON = @BISON@
366 YACC = @YACC@
367 FLEX = @FLEX@
368 LEX = @LEX@
369 M4 = @M4@
370 MAKEINFO = @MAKEINFO@
371 EXPECT = @EXPECT@
372 RUNTEST = @RUNTEST@
374 # This just becomes part of the MAKEINFO definition passed down to
375 # sub-makes. It lets flags be given on the command line while still
376 # using the makeinfo from the object tree.
377 # (Default to avoid splitting info files by setting the threshold high.)
378 MAKEINFOFLAGS = --split-size=5000000
380 # ---------------------------------------------
381 # Programs producing files for the HOST machine
382 # ---------------------------------------------
384 AS = @AS@
385 AR = @AR@
386 AR_FLAGS = rc
387 CC = @CC@
388 CXX = @CXX@
389 DLLTOOL = @DLLTOOL@
390 LD = @LD@
391 LIPO = @LIPO@
392 NM = @NM@
393 OBJDUMP = @OBJDUMP@
394 RANLIB = @RANLIB@
395 STRIP = @STRIP@
396 WINDRES = @WINDRES@
397 WINDMC = @WINDMC@
399 GNATBIND = @GNATBIND@
400 GNATMAKE = @GNATMAKE@
402 CFLAGS = @CFLAGS@
403 LDFLAGS = @LDFLAGS@
404 LIBCFLAGS = $(CFLAGS)
405 CXXFLAGS = @CXXFLAGS@
406 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
407 GOCFLAGS = $(CFLAGS)
409 TFLAGS =
411 # Defaults for all stages; some are overridden below.
413 STAGE_CFLAGS = $(BOOT_CFLAGS)
414 STAGE_TFLAGS = $(TFLAGS)
415 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
418 # Defaults for stage 1; some are overridden below.
419 STAGE1_CFLAGS = $(STAGE_CFLAGS)
420 STAGE1_CXXFLAGS = $(CXXFLAGS)
421 @if target-libstdc++-v3-bootstrap
422 # Override the above if we're bootstrapping C++.
423 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
424 @endif target-libstdc++-v3-bootstrap
425 STAGE1_TFLAGS = $(STAGE_TFLAGS)
426 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
428 # Defaults for stage 2; some are overridden below.
429 STAGE2_CFLAGS = $(STAGE_CFLAGS)
430 STAGE2_CXXFLAGS = $(CXXFLAGS)
431 @if target-libstdc++-v3-bootstrap
432 # Override the above if we're bootstrapping C++.
433 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
434 @endif target-libstdc++-v3-bootstrap
435 STAGE2_TFLAGS = $(STAGE_TFLAGS)
436 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
438 # Defaults for stage 3; some are overridden below.
439 STAGE3_CFLAGS = $(STAGE_CFLAGS)
440 STAGE3_CXXFLAGS = $(CXXFLAGS)
441 @if target-libstdc++-v3-bootstrap
442 # Override the above if we're bootstrapping C++.
443 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
444 @endif target-libstdc++-v3-bootstrap
445 STAGE3_TFLAGS = $(STAGE_TFLAGS)
446 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
448 # Defaults for stage 4; some are overridden below.
449 STAGE4_CFLAGS = $(STAGE_CFLAGS)
450 STAGE4_CXXFLAGS = $(CXXFLAGS)
451 @if target-libstdc++-v3-bootstrap
452 # Override the above if we're bootstrapping C++.
453 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
454 @endif target-libstdc++-v3-bootstrap
455 STAGE4_TFLAGS = $(STAGE_TFLAGS)
456 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
458 # Defaults for stage profile; some are overridden below.
459 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
460 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
461 @if target-libstdc++-v3-bootstrap
462 # Override the above if we're bootstrapping C++.
463 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
464 @endif target-libstdc++-v3-bootstrap
465 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
466 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
468 # Defaults for stage feedback; some are overridden below.
469 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
470 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
471 @if target-libstdc++-v3-bootstrap
472 # Override the above if we're bootstrapping C++.
473 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
474 @endif target-libstdc++-v3-bootstrap
475 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
476 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
479 # Only build the C compiler for stage1, because that is the only one that
480 # we can guarantee will build with the native compiler, and also it is the
481 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
482 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
483 # overrideable (for a bootstrap build stage1 also builds gcc.info).
485 STAGE1_CFLAGS = @stage1_cflags@
486 STAGE1_CHECKING = @stage1_checking@
487 STAGE1_LANGUAGES = @stage1_languages@
488 # * We force-disable intermodule optimizations, even if
489 # --enable-intermodule was passed, since the installed compiler
490 # probably can't handle them. Luckily, autoconf always respects
491 # the last argument when conflicting --enable arguments are passed.
492 # * Likewise, we force-disable coverage flags, since the installed
493 # compiler probably has never heard of them.
494 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
495 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
497 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
498 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
500 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
501 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
503 do-compare = @do_compare@
504 do-compare3 = $(do-compare)
506 # -----------------------------------------------
507 # Programs producing files for the TARGET machine
508 # -----------------------------------------------
510 AR_FOR_TARGET=@AR_FOR_TARGET@
511 AS_FOR_TARGET=@AS_FOR_TARGET@
512 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
514 # If GCC_FOR_TARGET is not overriden on the command line, then this
515 # variable is passed down to the gcc Makefile, where it is used to
516 # build libgcc2.a. We define it here so that it can itself be
517 # overridden on the command line.
518 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
519 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
520 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
521 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
522 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
523 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
524 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
525 LD_FOR_TARGET=@LD_FOR_TARGET@
527 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
528 NM_FOR_TARGET=@NM_FOR_TARGET@
529 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
530 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
531 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
532 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
533 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
535 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
536 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
537 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
539 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
540 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
542 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
543 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
544 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
545 GOCFLAGS_FOR_TARGET = -O2 -g
547 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
548 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
549 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
551 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
553 # ------------------------------------
554 # Miscellaneous targets and flag lists
555 # ------------------------------------
557 # The first rule in the file had better be this one. Don't put any above it.
558 # This lives here to allow makefile fragments to contain dependencies.
559 all:
561 #### host and target specific makefile fragments come in here.
562 @target_makefile_frag@
563 @alphaieee_frag@
564 @ospace_frag@
565 @host_makefile_frag@
568 # This is the list of directories that may be needed in RPATH_ENVVAR
569 # so that programs built for the target machine work.
570 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
572 @if target-libstdc++-v3
573 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
574 @endif target-libstdc++-v3
576 @if target-libmudflap
577 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
578 @endif target-libmudflap
580 @if target-libssp
581 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
582 @endif target-libssp
584 @if target-libgomp
585 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
586 @endif target-libgomp
590 # This is the list of directories that may be needed in RPATH_ENVVAR
591 # so that programs built for the host machine work.
592 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
594 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
595 @if gcc
596 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
597 @endif gcc
600 @if bfd
601 HOST_LIB_PATH_bfd = \
602 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
603 @endif bfd
605 @if opcodes
606 HOST_LIB_PATH_opcodes = \
607 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
608 @endif opcodes
610 @if gmp
611 HOST_LIB_PATH_gmp = \
612 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
613 @endif gmp
615 @if mpfr
616 HOST_LIB_PATH_mpfr = \
617 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
618 @endif mpfr
620 @if mpc
621 HOST_LIB_PATH_mpc = \
622 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
623 @endif mpc
625 @if ppl
626 HOST_LIB_PATH_ppl = \
627 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
628 @endif ppl
630 @if cloog
631 HOST_LIB_PATH_cloog = \
632 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
633 @endif cloog
635 @if libelf
636 HOST_LIB_PATH_libelf = \
637 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
638 @endif libelf
641 CXX_FOR_TARGET_FLAG_TO_PASS = \
642 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
643 @if target-libstdc++-v3
644 # CXX_FOR_TARGET is tricky to get right for target libs that require a
645 # functional C++ compiler. When we recurse, if we expand
646 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
647 # libstdc++ include flags from the script. Instead, we get an
648 # -funconfigured-* word, so that we'll get errors if this invalid C++
649 # command line is used for anything, but also so that we can use the
650 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
651 # don't pass it on, sub-make will use the default definition, that
652 # re-expands it at the time of use, so we'll get it right when we need
653 # it. One potential exception is the expansion of CXX_FOR_TARGET
654 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
655 # really work, for C++ host programs can't depend on the current-stage
656 # C++ target library.
657 CXX_FOR_TARGET_FLAG_TO_PASS = \
658 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
659 @endif target-libstdc++-v3
661 # Flags to pass down to all sub-makes.
662 BASE_FLAGS_TO_PASS = \
663 "DESTDIR=$(DESTDIR)" \
664 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
665 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
666 "bindir=$(bindir)" \
667 "datadir=$(datadir)" \
668 "exec_prefix=$(exec_prefix)" \
669 "includedir=$(includedir)" \
670 "datarootdir=$(datarootdir)" \
671 "docdir=$(docdir)" \
672 "infodir=$(infodir)" \
673 "pdfdir=$(pdfdir)" \
674 "htmldir=$(htmldir)" \
675 "libdir=$(libdir)" \
676 "libexecdir=$(libexecdir)" \
677 "lispdir=$(lispdir)" \
678 "localstatedir=$(localstatedir)" \
679 "mandir=$(mandir)" \
680 "oldincludedir=$(oldincludedir)" \
681 "prefix=$(prefix)" \
682 "sbindir=$(sbindir)" \
683 "sharedstatedir=$(sharedstatedir)" \
684 "sysconfdir=$(sysconfdir)" \
685 "tooldir=$(tooldir)" \
686 "build_tooldir=$(build_tooldir)" \
687 "target_alias=$(target_alias)" \
688 "AWK=$(AWK)" \
689 "BISON=$(BISON)" \
690 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
691 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
692 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
693 "EXPECT=$(EXPECT)" \
694 "FLEX=$(FLEX)" \
695 "INSTALL=$(INSTALL)" \
696 "INSTALL_DATA=$(INSTALL_DATA)" \
697 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
698 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
699 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
700 "LEX=$(LEX)" \
701 "M4=$(M4)" \
702 "MAKE=$(MAKE)" \
703 "RUNTEST=$(RUNTEST)" \
704 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
705 "SED=$(SED)" \
706 "SHELL=$(SHELL)" \
707 "YACC=$(YACC)" \
708 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
709 "ADA_CFLAGS=$(ADA_CFLAGS)" \
710 "AR_FLAGS=$(AR_FLAGS)" \
711 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
712 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
713 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
714 "CFLAGS=$(CFLAGS)" \
715 "CXXFLAGS=$(CXXFLAGS)" \
716 "LDFLAGS=$(LDFLAGS)" \
717 "LIBCFLAGS=$(LIBCFLAGS)" \
718 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
719 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
720 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
721 "GNATBIND=$(GNATBIND)" \
722 "GNATMAKE=$(GNATMAKE)" \
723 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
724 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
725 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
726 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
727 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
728 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
729 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
730 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
731 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
732 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
733 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
734 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
735 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
736 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
737 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
738 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
739 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
740 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
741 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
742 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
743 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
744 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
745 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
746 "BUILD_CONFIG=$(BUILD_CONFIG)" \
747 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
748 "LEAN=$(LEAN)" \
749 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
750 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
751 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
752 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
753 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
754 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
755 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
756 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
757 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
758 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
759 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
760 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
761 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
762 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
763 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
764 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
765 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
766 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
767 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
768 "TFLAGS=$(TFLAGS)" \
769 "CONFIG_SHELL=$(SHELL)" \
770 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
772 # We leave this in just in case, but it is not needed anymore.
773 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
775 # Flags to pass down to most sub-makes, in which we're building with
776 # the host environment.
777 EXTRA_HOST_FLAGS = \
778 'AR=$(AR)' \
779 'AS=$(AS)' \
780 'CC=$(CC)' \
781 'CXX=$(CXX)' \
782 'DLLTOOL=$(DLLTOOL)' \
783 'GCJ=$(GCJ)' \
784 'GFORTRAN=$(GFORTRAN)' \
785 'GOC=$(GOC)' \
786 'LD=$(LD)' \
787 'LIPO=$(LIPO)' \
788 'NM=$(NM)' \
789 'OBJDUMP=$(OBJDUMP)' \
790 'RANLIB=$(RANLIB)' \
791 'STRIP=$(STRIP)' \
792 'WINDRES=$(WINDRES)' \
793 'WINDMC=$(WINDMC)'
795 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
797 # Flags to pass to stage2 and later makes.
799 POSTSTAGE1_FLAGS_TO_PASS = \
800 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
801 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
802 GNATBIND="$${GNATBIND}" \
803 LDFLAGS="$${LDFLAGS}" \
804 HOST_LIBS="$${HOST_LIBS}" \
805 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
807 # Flags to pass down to makes which are built with the target environment.
808 # The double $ decreases the length of the command line; those variables
809 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
810 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
811 # so we expand them here.
812 EXTRA_TARGET_FLAGS = \
813 'AR=$$(AR_FOR_TARGET)' \
814 'AS=$(COMPILER_AS_FOR_TARGET)' \
815 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
816 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
817 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
818 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
819 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
820 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
821 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
822 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
823 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
824 'LD=$(COMPILER_LD_FOR_TARGET)' \
825 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
826 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
827 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
828 'NM=$(COMPILER_NM_FOR_TARGET)' \
829 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
830 'RANLIB=$$(RANLIB_FOR_TARGET)' \
831 'WINDRES=$$(WINDRES_FOR_TARGET)' \
832 'WINDMC=$$(WINDMC_FOR_TARGET)' \
833 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
834 "TFLAGS=$$TFLAGS"
836 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
838 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
839 # unfortunately needs the native compiler and the target ar and
840 # ranlib.
841 # If any variables are added here, they must be added to do-*, below.
842 # The BUILD_* variables are a special case, which are used for the gcc
843 # cross-building scheme.
844 EXTRA_GCC_FLAGS = \
845 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
846 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
847 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
848 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
849 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
850 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
852 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
854 @if gcc
855 BUILD_CONFIG = @BUILD_CONFIG@
856 ifneq ($(BUILD_CONFIG),)
857 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
858 endif
859 @endif gcc
861 .PHONY: configure-host
862 configure-host: \
863 maybe-configure-bfd \
864 maybe-configure-opcodes \
865 maybe-configure-binutils \
866 maybe-configure-bison \
867 maybe-configure-cgen \
868 maybe-configure-dejagnu \
869 maybe-configure-etc \
870 maybe-configure-fastjar \
871 maybe-configure-fixincludes \
872 maybe-configure-flex \
873 maybe-configure-gas \
874 maybe-configure-gcc \
875 maybe-configure-gmp \
876 maybe-configure-mpfr \
877 maybe-configure-mpc \
878 maybe-configure-ppl \
879 maybe-configure-cloog \
880 maybe-configure-libelf \
881 maybe-configure-gold \
882 maybe-configure-gprof \
883 maybe-configure-intl \
884 maybe-configure-tcl \
885 maybe-configure-itcl \
886 maybe-configure-ld \
887 maybe-configure-libcpp \
888 maybe-configure-libdecnumber \
889 maybe-configure-libgui \
890 maybe-configure-libiberty \
891 maybe-configure-libiconv \
892 maybe-configure-m4 \
893 maybe-configure-readline \
894 maybe-configure-sid \
895 maybe-configure-sim \
896 maybe-configure-texinfo \
897 maybe-configure-zlib \
898 maybe-configure-gdb \
899 maybe-configure-expect \
900 maybe-configure-guile \
901 maybe-configure-tk \
902 maybe-configure-libtermcap \
903 maybe-configure-utils \
904 maybe-configure-gnattools \
905 maybe-configure-lto-plugin
906 .PHONY: configure-target
907 configure-target: \
908 maybe-configure-target-libstdc++-v3 \
909 maybe-configure-target-libmudflap \
910 maybe-configure-target-libssp \
911 maybe-configure-target-newlib \
912 maybe-configure-target-libgcc \
913 maybe-configure-target-libquadmath \
914 maybe-configure-target-libgfortran \
915 maybe-configure-target-libobjc \
916 maybe-configure-target-libgo \
917 maybe-configure-target-libtermcap \
918 maybe-configure-target-winsup \
919 maybe-configure-target-libgloss \
920 maybe-configure-target-libffi \
921 maybe-configure-target-libjava \
922 maybe-configure-target-zlib \
923 maybe-configure-target-boehm-gc \
924 maybe-configure-target-rda \
925 maybe-configure-target-libada \
926 maybe-configure-target-libgomp
928 # The target built for a native non-bootstrap build.
929 .PHONY: all
930 all:
931 @if gcc-bootstrap
932 [ -f stage_final ] || echo stage3 > stage_final
933 @r=`${PWD_COMMAND}`; export r; \
934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
935 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
936 @endif gcc-bootstrap
937 @: $(MAKE); $(unstage)
938 @r=`${PWD_COMMAND}`; export r; \
939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
940 @if gcc-bootstrap
941 if [ -f stage_last ]; then \
942 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
943 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
944 else \
945 @endif gcc-bootstrap
946 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
947 @if gcc-bootstrap
949 fi \
950 @endif gcc-bootstrap
951 && :
953 .PHONY: all-build
955 all-build: maybe-all-build-libiberty
956 all-build: maybe-all-build-bison
957 all-build: maybe-all-build-flex
958 all-build: maybe-all-build-m4
959 all-build: maybe-all-build-texinfo
960 all-build: maybe-all-build-fixincludes
962 .PHONY: all-host
964 @if bfd-no-bootstrap
965 all-host: maybe-all-bfd
966 @endif bfd-no-bootstrap
967 @if opcodes-no-bootstrap
968 all-host: maybe-all-opcodes
969 @endif opcodes-no-bootstrap
970 @if binutils-no-bootstrap
971 all-host: maybe-all-binutils
972 @endif binutils-no-bootstrap
973 all-host: maybe-all-bison
974 all-host: maybe-all-cgen
975 all-host: maybe-all-dejagnu
976 all-host: maybe-all-etc
977 all-host: maybe-all-fastjar
978 all-host: maybe-all-fixincludes
979 all-host: maybe-all-flex
980 @if gas-no-bootstrap
981 all-host: maybe-all-gas
982 @endif gas-no-bootstrap
983 @if gcc-no-bootstrap
984 all-host: maybe-all-gcc
985 @endif gcc-no-bootstrap
986 @if gmp-no-bootstrap
987 all-host: maybe-all-gmp
988 @endif gmp-no-bootstrap
989 @if mpfr-no-bootstrap
990 all-host: maybe-all-mpfr
991 @endif mpfr-no-bootstrap
992 @if mpc-no-bootstrap
993 all-host: maybe-all-mpc
994 @endif mpc-no-bootstrap
995 @if ppl-no-bootstrap
996 all-host: maybe-all-ppl
997 @endif ppl-no-bootstrap
998 @if cloog-no-bootstrap
999 all-host: maybe-all-cloog
1000 @endif cloog-no-bootstrap
1001 @if libelf-no-bootstrap
1002 all-host: maybe-all-libelf
1003 @endif libelf-no-bootstrap
1004 @if gold-no-bootstrap
1005 all-host: maybe-all-gold
1006 @endif gold-no-bootstrap
1007 all-host: maybe-all-gprof
1008 @if intl-no-bootstrap
1009 all-host: maybe-all-intl
1010 @endif intl-no-bootstrap
1011 all-host: maybe-all-tcl
1012 all-host: maybe-all-itcl
1013 @if ld-no-bootstrap
1014 all-host: maybe-all-ld
1015 @endif ld-no-bootstrap
1016 @if libcpp-no-bootstrap
1017 all-host: maybe-all-libcpp
1018 @endif libcpp-no-bootstrap
1019 @if libdecnumber-no-bootstrap
1020 all-host: maybe-all-libdecnumber
1021 @endif libdecnumber-no-bootstrap
1022 all-host: maybe-all-libgui
1023 @if libiberty-no-bootstrap
1024 all-host: maybe-all-libiberty
1025 @endif libiberty-no-bootstrap
1026 all-host: maybe-all-libiconv
1027 all-host: maybe-all-m4
1028 all-host: maybe-all-readline
1029 all-host: maybe-all-sid
1030 all-host: maybe-all-sim
1031 all-host: maybe-all-texinfo
1032 @if zlib-no-bootstrap
1033 all-host: maybe-all-zlib
1034 @endif zlib-no-bootstrap
1035 all-host: maybe-all-gdb
1036 all-host: maybe-all-expect
1037 all-host: maybe-all-guile
1038 all-host: maybe-all-tk
1039 all-host: maybe-all-libtermcap
1040 all-host: maybe-all-utils
1041 all-host: maybe-all-gnattools
1042 @if lto-plugin-no-bootstrap
1043 all-host: maybe-all-lto-plugin
1044 @endif lto-plugin-no-bootstrap
1046 .PHONY: all-target
1048 @if target-libstdc++-v3-no-bootstrap
1049 all-target: maybe-all-target-libstdc++-v3
1050 @endif target-libstdc++-v3-no-bootstrap
1051 all-target: maybe-all-target-libmudflap
1052 all-target: maybe-all-target-libssp
1053 all-target: maybe-all-target-newlib
1054 @if target-libgcc-no-bootstrap
1055 all-target: maybe-all-target-libgcc
1056 @endif target-libgcc-no-bootstrap
1057 all-target: maybe-all-target-libquadmath
1058 all-target: maybe-all-target-libgfortran
1059 all-target: maybe-all-target-libobjc
1060 all-target: maybe-all-target-libgo
1061 all-target: maybe-all-target-libtermcap
1062 all-target: maybe-all-target-winsup
1063 all-target: maybe-all-target-libgloss
1064 all-target: maybe-all-target-libffi
1065 all-target: maybe-all-target-libjava
1066 all-target: maybe-all-target-zlib
1067 all-target: maybe-all-target-boehm-gc
1068 all-target: maybe-all-target-rda
1069 all-target: maybe-all-target-libada
1070 @if target-libgomp-no-bootstrap
1071 all-target: maybe-all-target-libgomp
1072 @endif target-libgomp-no-bootstrap
1074 # Do a target for all the subdirectories. A ``make do-X'' will do a
1075 # ``make X'' in all subdirectories (because, in general, there is a
1076 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1077 # but it may do additional work as well).
1079 .PHONY: do-info
1080 do-info:
1081 @: $(MAKE); $(unstage)
1082 @r=`${PWD_COMMAND}`; export r; \
1083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1084 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1085 info-target
1088 .PHONY: info-host
1090 info-host: maybe-info-bfd
1091 info-host: maybe-info-opcodes
1092 info-host: maybe-info-binutils
1093 info-host: maybe-info-bison
1094 info-host: maybe-info-cgen
1095 info-host: maybe-info-dejagnu
1096 info-host: maybe-info-etc
1097 info-host: maybe-info-fastjar
1098 info-host: maybe-info-fixincludes
1099 info-host: maybe-info-flex
1100 info-host: maybe-info-gas
1101 info-host: maybe-info-gcc
1102 info-host: maybe-info-gmp
1103 info-host: maybe-info-mpfr
1104 info-host: maybe-info-mpc
1105 info-host: maybe-info-ppl
1106 info-host: maybe-info-cloog
1107 info-host: maybe-info-libelf
1108 info-host: maybe-info-gold
1109 info-host: maybe-info-gprof
1110 info-host: maybe-info-intl
1111 info-host: maybe-info-tcl
1112 info-host: maybe-info-itcl
1113 info-host: maybe-info-ld
1114 info-host: maybe-info-libcpp
1115 info-host: maybe-info-libdecnumber
1116 info-host: maybe-info-libgui
1117 info-host: maybe-info-libiberty
1118 info-host: maybe-info-libiconv
1119 info-host: maybe-info-m4
1120 info-host: maybe-info-readline
1121 info-host: maybe-info-sid
1122 info-host: maybe-info-sim
1123 info-host: maybe-info-texinfo
1124 info-host: maybe-info-zlib
1125 info-host: maybe-info-gdb
1126 info-host: maybe-info-expect
1127 info-host: maybe-info-guile
1128 info-host: maybe-info-tk
1129 info-host: maybe-info-libtermcap
1130 info-host: maybe-info-utils
1131 info-host: maybe-info-gnattools
1132 info-host: maybe-info-lto-plugin
1134 .PHONY: info-target
1136 info-target: maybe-info-target-libstdc++-v3
1137 info-target: maybe-info-target-libmudflap
1138 info-target: maybe-info-target-libssp
1139 info-target: maybe-info-target-newlib
1140 info-target: maybe-info-target-libgcc
1141 info-target: maybe-info-target-libquadmath
1142 info-target: maybe-info-target-libgfortran
1143 info-target: maybe-info-target-libobjc
1144 info-target: maybe-info-target-libgo
1145 info-target: maybe-info-target-libtermcap
1146 info-target: maybe-info-target-winsup
1147 info-target: maybe-info-target-libgloss
1148 info-target: maybe-info-target-libffi
1149 info-target: maybe-info-target-libjava
1150 info-target: maybe-info-target-zlib
1151 info-target: maybe-info-target-boehm-gc
1152 info-target: maybe-info-target-rda
1153 info-target: maybe-info-target-libada
1154 info-target: maybe-info-target-libgomp
1156 .PHONY: do-dvi
1157 do-dvi:
1158 @: $(MAKE); $(unstage)
1159 @r=`${PWD_COMMAND}`; export r; \
1160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1161 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1162 dvi-target
1165 .PHONY: dvi-host
1167 dvi-host: maybe-dvi-bfd
1168 dvi-host: maybe-dvi-opcodes
1169 dvi-host: maybe-dvi-binutils
1170 dvi-host: maybe-dvi-bison
1171 dvi-host: maybe-dvi-cgen
1172 dvi-host: maybe-dvi-dejagnu
1173 dvi-host: maybe-dvi-etc
1174 dvi-host: maybe-dvi-fastjar
1175 dvi-host: maybe-dvi-fixincludes
1176 dvi-host: maybe-dvi-flex
1177 dvi-host: maybe-dvi-gas
1178 dvi-host: maybe-dvi-gcc
1179 dvi-host: maybe-dvi-gmp
1180 dvi-host: maybe-dvi-mpfr
1181 dvi-host: maybe-dvi-mpc
1182 dvi-host: maybe-dvi-ppl
1183 dvi-host: maybe-dvi-cloog
1184 dvi-host: maybe-dvi-libelf
1185 dvi-host: maybe-dvi-gold
1186 dvi-host: maybe-dvi-gprof
1187 dvi-host: maybe-dvi-intl
1188 dvi-host: maybe-dvi-tcl
1189 dvi-host: maybe-dvi-itcl
1190 dvi-host: maybe-dvi-ld
1191 dvi-host: maybe-dvi-libcpp
1192 dvi-host: maybe-dvi-libdecnumber
1193 dvi-host: maybe-dvi-libgui
1194 dvi-host: maybe-dvi-libiberty
1195 dvi-host: maybe-dvi-libiconv
1196 dvi-host: maybe-dvi-m4
1197 dvi-host: maybe-dvi-readline
1198 dvi-host: maybe-dvi-sid
1199 dvi-host: maybe-dvi-sim
1200 dvi-host: maybe-dvi-texinfo
1201 dvi-host: maybe-dvi-zlib
1202 dvi-host: maybe-dvi-gdb
1203 dvi-host: maybe-dvi-expect
1204 dvi-host: maybe-dvi-guile
1205 dvi-host: maybe-dvi-tk
1206 dvi-host: maybe-dvi-libtermcap
1207 dvi-host: maybe-dvi-utils
1208 dvi-host: maybe-dvi-gnattools
1209 dvi-host: maybe-dvi-lto-plugin
1211 .PHONY: dvi-target
1213 dvi-target: maybe-dvi-target-libstdc++-v3
1214 dvi-target: maybe-dvi-target-libmudflap
1215 dvi-target: maybe-dvi-target-libssp
1216 dvi-target: maybe-dvi-target-newlib
1217 dvi-target: maybe-dvi-target-libgcc
1218 dvi-target: maybe-dvi-target-libquadmath
1219 dvi-target: maybe-dvi-target-libgfortran
1220 dvi-target: maybe-dvi-target-libobjc
1221 dvi-target: maybe-dvi-target-libgo
1222 dvi-target: maybe-dvi-target-libtermcap
1223 dvi-target: maybe-dvi-target-winsup
1224 dvi-target: maybe-dvi-target-libgloss
1225 dvi-target: maybe-dvi-target-libffi
1226 dvi-target: maybe-dvi-target-libjava
1227 dvi-target: maybe-dvi-target-zlib
1228 dvi-target: maybe-dvi-target-boehm-gc
1229 dvi-target: maybe-dvi-target-rda
1230 dvi-target: maybe-dvi-target-libada
1231 dvi-target: maybe-dvi-target-libgomp
1233 .PHONY: do-pdf
1234 do-pdf:
1235 @: $(MAKE); $(unstage)
1236 @r=`${PWD_COMMAND}`; export r; \
1237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1238 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1239 pdf-target
1242 .PHONY: pdf-host
1244 pdf-host: maybe-pdf-bfd
1245 pdf-host: maybe-pdf-opcodes
1246 pdf-host: maybe-pdf-binutils
1247 pdf-host: maybe-pdf-bison
1248 pdf-host: maybe-pdf-cgen
1249 pdf-host: maybe-pdf-dejagnu
1250 pdf-host: maybe-pdf-etc
1251 pdf-host: maybe-pdf-fastjar
1252 pdf-host: maybe-pdf-fixincludes
1253 pdf-host: maybe-pdf-flex
1254 pdf-host: maybe-pdf-gas
1255 pdf-host: maybe-pdf-gcc
1256 pdf-host: maybe-pdf-gmp
1257 pdf-host: maybe-pdf-mpfr
1258 pdf-host: maybe-pdf-mpc
1259 pdf-host: maybe-pdf-ppl
1260 pdf-host: maybe-pdf-cloog
1261 pdf-host: maybe-pdf-libelf
1262 pdf-host: maybe-pdf-gold
1263 pdf-host: maybe-pdf-gprof
1264 pdf-host: maybe-pdf-intl
1265 pdf-host: maybe-pdf-tcl
1266 pdf-host: maybe-pdf-itcl
1267 pdf-host: maybe-pdf-ld
1268 pdf-host: maybe-pdf-libcpp
1269 pdf-host: maybe-pdf-libdecnumber
1270 pdf-host: maybe-pdf-libgui
1271 pdf-host: maybe-pdf-libiberty
1272 pdf-host: maybe-pdf-libiconv
1273 pdf-host: maybe-pdf-m4
1274 pdf-host: maybe-pdf-readline
1275 pdf-host: maybe-pdf-sid
1276 pdf-host: maybe-pdf-sim
1277 pdf-host: maybe-pdf-texinfo
1278 pdf-host: maybe-pdf-zlib
1279 pdf-host: maybe-pdf-gdb
1280 pdf-host: maybe-pdf-expect
1281 pdf-host: maybe-pdf-guile
1282 pdf-host: maybe-pdf-tk
1283 pdf-host: maybe-pdf-libtermcap
1284 pdf-host: maybe-pdf-utils
1285 pdf-host: maybe-pdf-gnattools
1286 pdf-host: maybe-pdf-lto-plugin
1288 .PHONY: pdf-target
1290 pdf-target: maybe-pdf-target-libstdc++-v3
1291 pdf-target: maybe-pdf-target-libmudflap
1292 pdf-target: maybe-pdf-target-libssp
1293 pdf-target: maybe-pdf-target-newlib
1294 pdf-target: maybe-pdf-target-libgcc
1295 pdf-target: maybe-pdf-target-libquadmath
1296 pdf-target: maybe-pdf-target-libgfortran
1297 pdf-target: maybe-pdf-target-libobjc
1298 pdf-target: maybe-pdf-target-libgo
1299 pdf-target: maybe-pdf-target-libtermcap
1300 pdf-target: maybe-pdf-target-winsup
1301 pdf-target: maybe-pdf-target-libgloss
1302 pdf-target: maybe-pdf-target-libffi
1303 pdf-target: maybe-pdf-target-libjava
1304 pdf-target: maybe-pdf-target-zlib
1305 pdf-target: maybe-pdf-target-boehm-gc
1306 pdf-target: maybe-pdf-target-rda
1307 pdf-target: maybe-pdf-target-libada
1308 pdf-target: maybe-pdf-target-libgomp
1310 .PHONY: do-html
1311 do-html:
1312 @: $(MAKE); $(unstage)
1313 @r=`${PWD_COMMAND}`; export r; \
1314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1315 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1316 html-target
1319 .PHONY: html-host
1321 html-host: maybe-html-bfd
1322 html-host: maybe-html-opcodes
1323 html-host: maybe-html-binutils
1324 html-host: maybe-html-bison
1325 html-host: maybe-html-cgen
1326 html-host: maybe-html-dejagnu
1327 html-host: maybe-html-etc
1328 html-host: maybe-html-fastjar
1329 html-host: maybe-html-fixincludes
1330 html-host: maybe-html-flex
1331 html-host: maybe-html-gas
1332 html-host: maybe-html-gcc
1333 html-host: maybe-html-gmp
1334 html-host: maybe-html-mpfr
1335 html-host: maybe-html-mpc
1336 html-host: maybe-html-ppl
1337 html-host: maybe-html-cloog
1338 html-host: maybe-html-libelf
1339 html-host: maybe-html-gold
1340 html-host: maybe-html-gprof
1341 html-host: maybe-html-intl
1342 html-host: maybe-html-tcl
1343 html-host: maybe-html-itcl
1344 html-host: maybe-html-ld
1345 html-host: maybe-html-libcpp
1346 html-host: maybe-html-libdecnumber
1347 html-host: maybe-html-libgui
1348 html-host: maybe-html-libiberty
1349 html-host: maybe-html-libiconv
1350 html-host: maybe-html-m4
1351 html-host: maybe-html-readline
1352 html-host: maybe-html-sid
1353 html-host: maybe-html-sim
1354 html-host: maybe-html-texinfo
1355 html-host: maybe-html-zlib
1356 html-host: maybe-html-gdb
1357 html-host: maybe-html-expect
1358 html-host: maybe-html-guile
1359 html-host: maybe-html-tk
1360 html-host: maybe-html-libtermcap
1361 html-host: maybe-html-utils
1362 html-host: maybe-html-gnattools
1363 html-host: maybe-html-lto-plugin
1365 .PHONY: html-target
1367 html-target: maybe-html-target-libstdc++-v3
1368 html-target: maybe-html-target-libmudflap
1369 html-target: maybe-html-target-libssp
1370 html-target: maybe-html-target-newlib
1371 html-target: maybe-html-target-libgcc
1372 html-target: maybe-html-target-libquadmath
1373 html-target: maybe-html-target-libgfortran
1374 html-target: maybe-html-target-libobjc
1375 html-target: maybe-html-target-libgo
1376 html-target: maybe-html-target-libtermcap
1377 html-target: maybe-html-target-winsup
1378 html-target: maybe-html-target-libgloss
1379 html-target: maybe-html-target-libffi
1380 html-target: maybe-html-target-libjava
1381 html-target: maybe-html-target-zlib
1382 html-target: maybe-html-target-boehm-gc
1383 html-target: maybe-html-target-rda
1384 html-target: maybe-html-target-libada
1385 html-target: maybe-html-target-libgomp
1387 .PHONY: do-TAGS
1388 do-TAGS:
1389 @: $(MAKE); $(unstage)
1390 @r=`${PWD_COMMAND}`; export r; \
1391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1392 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1393 TAGS-target
1396 .PHONY: TAGS-host
1398 TAGS-host: maybe-TAGS-bfd
1399 TAGS-host: maybe-TAGS-opcodes
1400 TAGS-host: maybe-TAGS-binutils
1401 TAGS-host: maybe-TAGS-bison
1402 TAGS-host: maybe-TAGS-cgen
1403 TAGS-host: maybe-TAGS-dejagnu
1404 TAGS-host: maybe-TAGS-etc
1405 TAGS-host: maybe-TAGS-fastjar
1406 TAGS-host: maybe-TAGS-fixincludes
1407 TAGS-host: maybe-TAGS-flex
1408 TAGS-host: maybe-TAGS-gas
1409 TAGS-host: maybe-TAGS-gcc
1410 TAGS-host: maybe-TAGS-gmp
1411 TAGS-host: maybe-TAGS-mpfr
1412 TAGS-host: maybe-TAGS-mpc
1413 TAGS-host: maybe-TAGS-ppl
1414 TAGS-host: maybe-TAGS-cloog
1415 TAGS-host: maybe-TAGS-libelf
1416 TAGS-host: maybe-TAGS-gold
1417 TAGS-host: maybe-TAGS-gprof
1418 TAGS-host: maybe-TAGS-intl
1419 TAGS-host: maybe-TAGS-tcl
1420 TAGS-host: maybe-TAGS-itcl
1421 TAGS-host: maybe-TAGS-ld
1422 TAGS-host: maybe-TAGS-libcpp
1423 TAGS-host: maybe-TAGS-libdecnumber
1424 TAGS-host: maybe-TAGS-libgui
1425 TAGS-host: maybe-TAGS-libiberty
1426 TAGS-host: maybe-TAGS-libiconv
1427 TAGS-host: maybe-TAGS-m4
1428 TAGS-host: maybe-TAGS-readline
1429 TAGS-host: maybe-TAGS-sid
1430 TAGS-host: maybe-TAGS-sim
1431 TAGS-host: maybe-TAGS-texinfo
1432 TAGS-host: maybe-TAGS-zlib
1433 TAGS-host: maybe-TAGS-gdb
1434 TAGS-host: maybe-TAGS-expect
1435 TAGS-host: maybe-TAGS-guile
1436 TAGS-host: maybe-TAGS-tk
1437 TAGS-host: maybe-TAGS-libtermcap
1438 TAGS-host: maybe-TAGS-utils
1439 TAGS-host: maybe-TAGS-gnattools
1440 TAGS-host: maybe-TAGS-lto-plugin
1442 .PHONY: TAGS-target
1444 TAGS-target: maybe-TAGS-target-libstdc++-v3
1445 TAGS-target: maybe-TAGS-target-libmudflap
1446 TAGS-target: maybe-TAGS-target-libssp
1447 TAGS-target: maybe-TAGS-target-newlib
1448 TAGS-target: maybe-TAGS-target-libgcc
1449 TAGS-target: maybe-TAGS-target-libquadmath
1450 TAGS-target: maybe-TAGS-target-libgfortran
1451 TAGS-target: maybe-TAGS-target-libobjc
1452 TAGS-target: maybe-TAGS-target-libgo
1453 TAGS-target: maybe-TAGS-target-libtermcap
1454 TAGS-target: maybe-TAGS-target-winsup
1455 TAGS-target: maybe-TAGS-target-libgloss
1456 TAGS-target: maybe-TAGS-target-libffi
1457 TAGS-target: maybe-TAGS-target-libjava
1458 TAGS-target: maybe-TAGS-target-zlib
1459 TAGS-target: maybe-TAGS-target-boehm-gc
1460 TAGS-target: maybe-TAGS-target-rda
1461 TAGS-target: maybe-TAGS-target-libada
1462 TAGS-target: maybe-TAGS-target-libgomp
1464 .PHONY: do-install-info
1465 do-install-info:
1466 @: $(MAKE); $(unstage)
1467 @r=`${PWD_COMMAND}`; export r; \
1468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1469 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1470 install-info-target
1473 .PHONY: install-info-host
1475 install-info-host: maybe-install-info-bfd
1476 install-info-host: maybe-install-info-opcodes
1477 install-info-host: maybe-install-info-binutils
1478 install-info-host: maybe-install-info-bison
1479 install-info-host: maybe-install-info-cgen
1480 install-info-host: maybe-install-info-dejagnu
1481 install-info-host: maybe-install-info-etc
1482 install-info-host: maybe-install-info-fastjar
1483 install-info-host: maybe-install-info-fixincludes
1484 install-info-host: maybe-install-info-flex
1485 install-info-host: maybe-install-info-gas
1486 install-info-host: maybe-install-info-gcc
1487 install-info-host: maybe-install-info-gmp
1488 install-info-host: maybe-install-info-mpfr
1489 install-info-host: maybe-install-info-mpc
1490 install-info-host: maybe-install-info-ppl
1491 install-info-host: maybe-install-info-cloog
1492 install-info-host: maybe-install-info-libelf
1493 install-info-host: maybe-install-info-gold
1494 install-info-host: maybe-install-info-gprof
1495 install-info-host: maybe-install-info-intl
1496 install-info-host: maybe-install-info-tcl
1497 install-info-host: maybe-install-info-itcl
1498 install-info-host: maybe-install-info-ld
1499 install-info-host: maybe-install-info-libcpp
1500 install-info-host: maybe-install-info-libdecnumber
1501 install-info-host: maybe-install-info-libgui
1502 install-info-host: maybe-install-info-libiberty
1503 install-info-host: maybe-install-info-libiconv
1504 install-info-host: maybe-install-info-m4
1505 install-info-host: maybe-install-info-readline
1506 install-info-host: maybe-install-info-sid
1507 install-info-host: maybe-install-info-sim
1508 install-info-host: maybe-install-info-texinfo
1509 install-info-host: maybe-install-info-zlib
1510 install-info-host: maybe-install-info-gdb
1511 install-info-host: maybe-install-info-expect
1512 install-info-host: maybe-install-info-guile
1513 install-info-host: maybe-install-info-tk
1514 install-info-host: maybe-install-info-libtermcap
1515 install-info-host: maybe-install-info-utils
1516 install-info-host: maybe-install-info-gnattools
1517 install-info-host: maybe-install-info-lto-plugin
1519 .PHONY: install-info-target
1521 install-info-target: maybe-install-info-target-libstdc++-v3
1522 install-info-target: maybe-install-info-target-libmudflap
1523 install-info-target: maybe-install-info-target-libssp
1524 install-info-target: maybe-install-info-target-newlib
1525 install-info-target: maybe-install-info-target-libgcc
1526 install-info-target: maybe-install-info-target-libquadmath
1527 install-info-target: maybe-install-info-target-libgfortran
1528 install-info-target: maybe-install-info-target-libobjc
1529 install-info-target: maybe-install-info-target-libgo
1530 install-info-target: maybe-install-info-target-libtermcap
1531 install-info-target: maybe-install-info-target-winsup
1532 install-info-target: maybe-install-info-target-libgloss
1533 install-info-target: maybe-install-info-target-libffi
1534 install-info-target: maybe-install-info-target-libjava
1535 install-info-target: maybe-install-info-target-zlib
1536 install-info-target: maybe-install-info-target-boehm-gc
1537 install-info-target: maybe-install-info-target-rda
1538 install-info-target: maybe-install-info-target-libada
1539 install-info-target: maybe-install-info-target-libgomp
1541 .PHONY: do-install-pdf
1542 do-install-pdf:
1543 @: $(MAKE); $(unstage)
1544 @r=`${PWD_COMMAND}`; export r; \
1545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1546 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1547 install-pdf-target
1550 .PHONY: install-pdf-host
1552 install-pdf-host: maybe-install-pdf-bfd
1553 install-pdf-host: maybe-install-pdf-opcodes
1554 install-pdf-host: maybe-install-pdf-binutils
1555 install-pdf-host: maybe-install-pdf-bison
1556 install-pdf-host: maybe-install-pdf-cgen
1557 install-pdf-host: maybe-install-pdf-dejagnu
1558 install-pdf-host: maybe-install-pdf-etc
1559 install-pdf-host: maybe-install-pdf-fastjar
1560 install-pdf-host: maybe-install-pdf-fixincludes
1561 install-pdf-host: maybe-install-pdf-flex
1562 install-pdf-host: maybe-install-pdf-gas
1563 install-pdf-host: maybe-install-pdf-gcc
1564 install-pdf-host: maybe-install-pdf-gmp
1565 install-pdf-host: maybe-install-pdf-mpfr
1566 install-pdf-host: maybe-install-pdf-mpc
1567 install-pdf-host: maybe-install-pdf-ppl
1568 install-pdf-host: maybe-install-pdf-cloog
1569 install-pdf-host: maybe-install-pdf-libelf
1570 install-pdf-host: maybe-install-pdf-gold
1571 install-pdf-host: maybe-install-pdf-gprof
1572 install-pdf-host: maybe-install-pdf-intl
1573 install-pdf-host: maybe-install-pdf-tcl
1574 install-pdf-host: maybe-install-pdf-itcl
1575 install-pdf-host: maybe-install-pdf-ld
1576 install-pdf-host: maybe-install-pdf-libcpp
1577 install-pdf-host: maybe-install-pdf-libdecnumber
1578 install-pdf-host: maybe-install-pdf-libgui
1579 install-pdf-host: maybe-install-pdf-libiberty
1580 install-pdf-host: maybe-install-pdf-libiconv
1581 install-pdf-host: maybe-install-pdf-m4
1582 install-pdf-host: maybe-install-pdf-readline
1583 install-pdf-host: maybe-install-pdf-sid
1584 install-pdf-host: maybe-install-pdf-sim
1585 install-pdf-host: maybe-install-pdf-texinfo
1586 install-pdf-host: maybe-install-pdf-zlib
1587 install-pdf-host: maybe-install-pdf-gdb
1588 install-pdf-host: maybe-install-pdf-expect
1589 install-pdf-host: maybe-install-pdf-guile
1590 install-pdf-host: maybe-install-pdf-tk
1591 install-pdf-host: maybe-install-pdf-libtermcap
1592 install-pdf-host: maybe-install-pdf-utils
1593 install-pdf-host: maybe-install-pdf-gnattools
1594 install-pdf-host: maybe-install-pdf-lto-plugin
1596 .PHONY: install-pdf-target
1598 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1599 install-pdf-target: maybe-install-pdf-target-libmudflap
1600 install-pdf-target: maybe-install-pdf-target-libssp
1601 install-pdf-target: maybe-install-pdf-target-newlib
1602 install-pdf-target: maybe-install-pdf-target-libgcc
1603 install-pdf-target: maybe-install-pdf-target-libquadmath
1604 install-pdf-target: maybe-install-pdf-target-libgfortran
1605 install-pdf-target: maybe-install-pdf-target-libobjc
1606 install-pdf-target: maybe-install-pdf-target-libgo
1607 install-pdf-target: maybe-install-pdf-target-libtermcap
1608 install-pdf-target: maybe-install-pdf-target-winsup
1609 install-pdf-target: maybe-install-pdf-target-libgloss
1610 install-pdf-target: maybe-install-pdf-target-libffi
1611 install-pdf-target: maybe-install-pdf-target-libjava
1612 install-pdf-target: maybe-install-pdf-target-zlib
1613 install-pdf-target: maybe-install-pdf-target-boehm-gc
1614 install-pdf-target: maybe-install-pdf-target-rda
1615 install-pdf-target: maybe-install-pdf-target-libada
1616 install-pdf-target: maybe-install-pdf-target-libgomp
1618 .PHONY: do-install-html
1619 do-install-html:
1620 @: $(MAKE); $(unstage)
1621 @r=`${PWD_COMMAND}`; export r; \
1622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1623 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1624 install-html-target
1627 .PHONY: install-html-host
1629 install-html-host: maybe-install-html-bfd
1630 install-html-host: maybe-install-html-opcodes
1631 install-html-host: maybe-install-html-binutils
1632 install-html-host: maybe-install-html-bison
1633 install-html-host: maybe-install-html-cgen
1634 install-html-host: maybe-install-html-dejagnu
1635 install-html-host: maybe-install-html-etc
1636 install-html-host: maybe-install-html-fastjar
1637 install-html-host: maybe-install-html-fixincludes
1638 install-html-host: maybe-install-html-flex
1639 install-html-host: maybe-install-html-gas
1640 install-html-host: maybe-install-html-gcc
1641 install-html-host: maybe-install-html-gmp
1642 install-html-host: maybe-install-html-mpfr
1643 install-html-host: maybe-install-html-mpc
1644 install-html-host: maybe-install-html-ppl
1645 install-html-host: maybe-install-html-cloog
1646 install-html-host: maybe-install-html-libelf
1647 install-html-host: maybe-install-html-gold
1648 install-html-host: maybe-install-html-gprof
1649 install-html-host: maybe-install-html-intl
1650 install-html-host: maybe-install-html-tcl
1651 install-html-host: maybe-install-html-itcl
1652 install-html-host: maybe-install-html-ld
1653 install-html-host: maybe-install-html-libcpp
1654 install-html-host: maybe-install-html-libdecnumber
1655 install-html-host: maybe-install-html-libgui
1656 install-html-host: maybe-install-html-libiberty
1657 install-html-host: maybe-install-html-libiconv
1658 install-html-host: maybe-install-html-m4
1659 install-html-host: maybe-install-html-readline
1660 install-html-host: maybe-install-html-sid
1661 install-html-host: maybe-install-html-sim
1662 install-html-host: maybe-install-html-texinfo
1663 install-html-host: maybe-install-html-zlib
1664 install-html-host: maybe-install-html-gdb
1665 install-html-host: maybe-install-html-expect
1666 install-html-host: maybe-install-html-guile
1667 install-html-host: maybe-install-html-tk
1668 install-html-host: maybe-install-html-libtermcap
1669 install-html-host: maybe-install-html-utils
1670 install-html-host: maybe-install-html-gnattools
1671 install-html-host: maybe-install-html-lto-plugin
1673 .PHONY: install-html-target
1675 install-html-target: maybe-install-html-target-libstdc++-v3
1676 install-html-target: maybe-install-html-target-libmudflap
1677 install-html-target: maybe-install-html-target-libssp
1678 install-html-target: maybe-install-html-target-newlib
1679 install-html-target: maybe-install-html-target-libgcc
1680 install-html-target: maybe-install-html-target-libquadmath
1681 install-html-target: maybe-install-html-target-libgfortran
1682 install-html-target: maybe-install-html-target-libobjc
1683 install-html-target: maybe-install-html-target-libgo
1684 install-html-target: maybe-install-html-target-libtermcap
1685 install-html-target: maybe-install-html-target-winsup
1686 install-html-target: maybe-install-html-target-libgloss
1687 install-html-target: maybe-install-html-target-libffi
1688 install-html-target: maybe-install-html-target-libjava
1689 install-html-target: maybe-install-html-target-zlib
1690 install-html-target: maybe-install-html-target-boehm-gc
1691 install-html-target: maybe-install-html-target-rda
1692 install-html-target: maybe-install-html-target-libada
1693 install-html-target: maybe-install-html-target-libgomp
1695 .PHONY: do-installcheck
1696 do-installcheck:
1697 @: $(MAKE); $(unstage)
1698 @r=`${PWD_COMMAND}`; export r; \
1699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1701 installcheck-target
1704 .PHONY: installcheck-host
1706 installcheck-host: maybe-installcheck-bfd
1707 installcheck-host: maybe-installcheck-opcodes
1708 installcheck-host: maybe-installcheck-binutils
1709 installcheck-host: maybe-installcheck-bison
1710 installcheck-host: maybe-installcheck-cgen
1711 installcheck-host: maybe-installcheck-dejagnu
1712 installcheck-host: maybe-installcheck-etc
1713 installcheck-host: maybe-installcheck-fastjar
1714 installcheck-host: maybe-installcheck-fixincludes
1715 installcheck-host: maybe-installcheck-flex
1716 installcheck-host: maybe-installcheck-gas
1717 installcheck-host: maybe-installcheck-gcc
1718 installcheck-host: maybe-installcheck-gmp
1719 installcheck-host: maybe-installcheck-mpfr
1720 installcheck-host: maybe-installcheck-mpc
1721 installcheck-host: maybe-installcheck-ppl
1722 installcheck-host: maybe-installcheck-cloog
1723 installcheck-host: maybe-installcheck-libelf
1724 installcheck-host: maybe-installcheck-gold
1725 installcheck-host: maybe-installcheck-gprof
1726 installcheck-host: maybe-installcheck-intl
1727 installcheck-host: maybe-installcheck-tcl
1728 installcheck-host: maybe-installcheck-itcl
1729 installcheck-host: maybe-installcheck-ld
1730 installcheck-host: maybe-installcheck-libcpp
1731 installcheck-host: maybe-installcheck-libdecnumber
1732 installcheck-host: maybe-installcheck-libgui
1733 installcheck-host: maybe-installcheck-libiberty
1734 installcheck-host: maybe-installcheck-libiconv
1735 installcheck-host: maybe-installcheck-m4
1736 installcheck-host: maybe-installcheck-readline
1737 installcheck-host: maybe-installcheck-sid
1738 installcheck-host: maybe-installcheck-sim
1739 installcheck-host: maybe-installcheck-texinfo
1740 installcheck-host: maybe-installcheck-zlib
1741 installcheck-host: maybe-installcheck-gdb
1742 installcheck-host: maybe-installcheck-expect
1743 installcheck-host: maybe-installcheck-guile
1744 installcheck-host: maybe-installcheck-tk
1745 installcheck-host: maybe-installcheck-libtermcap
1746 installcheck-host: maybe-installcheck-utils
1747 installcheck-host: maybe-installcheck-gnattools
1748 installcheck-host: maybe-installcheck-lto-plugin
1750 .PHONY: installcheck-target
1752 installcheck-target: maybe-installcheck-target-libstdc++-v3
1753 installcheck-target: maybe-installcheck-target-libmudflap
1754 installcheck-target: maybe-installcheck-target-libssp
1755 installcheck-target: maybe-installcheck-target-newlib
1756 installcheck-target: maybe-installcheck-target-libgcc
1757 installcheck-target: maybe-installcheck-target-libquadmath
1758 installcheck-target: maybe-installcheck-target-libgfortran
1759 installcheck-target: maybe-installcheck-target-libobjc
1760 installcheck-target: maybe-installcheck-target-libgo
1761 installcheck-target: maybe-installcheck-target-libtermcap
1762 installcheck-target: maybe-installcheck-target-winsup
1763 installcheck-target: maybe-installcheck-target-libgloss
1764 installcheck-target: maybe-installcheck-target-libffi
1765 installcheck-target: maybe-installcheck-target-libjava
1766 installcheck-target: maybe-installcheck-target-zlib
1767 installcheck-target: maybe-installcheck-target-boehm-gc
1768 installcheck-target: maybe-installcheck-target-rda
1769 installcheck-target: maybe-installcheck-target-libada
1770 installcheck-target: maybe-installcheck-target-libgomp
1772 .PHONY: do-mostlyclean
1773 do-mostlyclean:
1774 @: $(MAKE); $(unstage)
1775 @r=`${PWD_COMMAND}`; export r; \
1776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1778 mostlyclean-target
1781 .PHONY: mostlyclean-host
1783 mostlyclean-host: maybe-mostlyclean-bfd
1784 mostlyclean-host: maybe-mostlyclean-opcodes
1785 mostlyclean-host: maybe-mostlyclean-binutils
1786 mostlyclean-host: maybe-mostlyclean-bison
1787 mostlyclean-host: maybe-mostlyclean-cgen
1788 mostlyclean-host: maybe-mostlyclean-dejagnu
1789 mostlyclean-host: maybe-mostlyclean-etc
1790 mostlyclean-host: maybe-mostlyclean-fastjar
1791 mostlyclean-host: maybe-mostlyclean-fixincludes
1792 mostlyclean-host: maybe-mostlyclean-flex
1793 mostlyclean-host: maybe-mostlyclean-gas
1794 mostlyclean-host: maybe-mostlyclean-gcc
1795 mostlyclean-host: maybe-mostlyclean-gmp
1796 mostlyclean-host: maybe-mostlyclean-mpfr
1797 mostlyclean-host: maybe-mostlyclean-mpc
1798 mostlyclean-host: maybe-mostlyclean-ppl
1799 mostlyclean-host: maybe-mostlyclean-cloog
1800 mostlyclean-host: maybe-mostlyclean-libelf
1801 mostlyclean-host: maybe-mostlyclean-gold
1802 mostlyclean-host: maybe-mostlyclean-gprof
1803 mostlyclean-host: maybe-mostlyclean-intl
1804 mostlyclean-host: maybe-mostlyclean-tcl
1805 mostlyclean-host: maybe-mostlyclean-itcl
1806 mostlyclean-host: maybe-mostlyclean-ld
1807 mostlyclean-host: maybe-mostlyclean-libcpp
1808 mostlyclean-host: maybe-mostlyclean-libdecnumber
1809 mostlyclean-host: maybe-mostlyclean-libgui
1810 mostlyclean-host: maybe-mostlyclean-libiberty
1811 mostlyclean-host: maybe-mostlyclean-libiconv
1812 mostlyclean-host: maybe-mostlyclean-m4
1813 mostlyclean-host: maybe-mostlyclean-readline
1814 mostlyclean-host: maybe-mostlyclean-sid
1815 mostlyclean-host: maybe-mostlyclean-sim
1816 mostlyclean-host: maybe-mostlyclean-texinfo
1817 mostlyclean-host: maybe-mostlyclean-zlib
1818 mostlyclean-host: maybe-mostlyclean-gdb
1819 mostlyclean-host: maybe-mostlyclean-expect
1820 mostlyclean-host: maybe-mostlyclean-guile
1821 mostlyclean-host: maybe-mostlyclean-tk
1822 mostlyclean-host: maybe-mostlyclean-libtermcap
1823 mostlyclean-host: maybe-mostlyclean-utils
1824 mostlyclean-host: maybe-mostlyclean-gnattools
1825 mostlyclean-host: maybe-mostlyclean-lto-plugin
1827 .PHONY: mostlyclean-target
1829 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1830 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1831 mostlyclean-target: maybe-mostlyclean-target-libssp
1832 mostlyclean-target: maybe-mostlyclean-target-newlib
1833 mostlyclean-target: maybe-mostlyclean-target-libgcc
1834 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1835 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1836 mostlyclean-target: maybe-mostlyclean-target-libobjc
1837 mostlyclean-target: maybe-mostlyclean-target-libgo
1838 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1839 mostlyclean-target: maybe-mostlyclean-target-winsup
1840 mostlyclean-target: maybe-mostlyclean-target-libgloss
1841 mostlyclean-target: maybe-mostlyclean-target-libffi
1842 mostlyclean-target: maybe-mostlyclean-target-libjava
1843 mostlyclean-target: maybe-mostlyclean-target-zlib
1844 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1845 mostlyclean-target: maybe-mostlyclean-target-rda
1846 mostlyclean-target: maybe-mostlyclean-target-libada
1847 mostlyclean-target: maybe-mostlyclean-target-libgomp
1849 .PHONY: do-clean
1850 do-clean:
1851 @: $(MAKE); $(unstage)
1852 @r=`${PWD_COMMAND}`; export r; \
1853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1854 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1855 clean-target
1858 .PHONY: clean-host
1860 clean-host: maybe-clean-bfd
1861 clean-host: maybe-clean-opcodes
1862 clean-host: maybe-clean-binutils
1863 clean-host: maybe-clean-bison
1864 clean-host: maybe-clean-cgen
1865 clean-host: maybe-clean-dejagnu
1866 clean-host: maybe-clean-etc
1867 clean-host: maybe-clean-fastjar
1868 clean-host: maybe-clean-fixincludes
1869 clean-host: maybe-clean-flex
1870 clean-host: maybe-clean-gas
1871 clean-host: maybe-clean-gcc
1872 clean-host: maybe-clean-gmp
1873 clean-host: maybe-clean-mpfr
1874 clean-host: maybe-clean-mpc
1875 clean-host: maybe-clean-ppl
1876 clean-host: maybe-clean-cloog
1877 clean-host: maybe-clean-libelf
1878 clean-host: maybe-clean-gold
1879 clean-host: maybe-clean-gprof
1880 clean-host: maybe-clean-intl
1881 clean-host: maybe-clean-tcl
1882 clean-host: maybe-clean-itcl
1883 clean-host: maybe-clean-ld
1884 clean-host: maybe-clean-libcpp
1885 clean-host: maybe-clean-libdecnumber
1886 clean-host: maybe-clean-libgui
1887 clean-host: maybe-clean-libiberty
1888 clean-host: maybe-clean-libiconv
1889 clean-host: maybe-clean-m4
1890 clean-host: maybe-clean-readline
1891 clean-host: maybe-clean-sid
1892 clean-host: maybe-clean-sim
1893 clean-host: maybe-clean-texinfo
1894 clean-host: maybe-clean-zlib
1895 clean-host: maybe-clean-gdb
1896 clean-host: maybe-clean-expect
1897 clean-host: maybe-clean-guile
1898 clean-host: maybe-clean-tk
1899 clean-host: maybe-clean-libtermcap
1900 clean-host: maybe-clean-utils
1901 clean-host: maybe-clean-gnattools
1902 clean-host: maybe-clean-lto-plugin
1904 .PHONY: clean-target
1906 clean-target: maybe-clean-target-libstdc++-v3
1907 clean-target: maybe-clean-target-libmudflap
1908 clean-target: maybe-clean-target-libssp
1909 clean-target: maybe-clean-target-newlib
1910 clean-target: maybe-clean-target-libgcc
1911 clean-target: maybe-clean-target-libquadmath
1912 clean-target: maybe-clean-target-libgfortran
1913 clean-target: maybe-clean-target-libobjc
1914 clean-target: maybe-clean-target-libgo
1915 clean-target: maybe-clean-target-libtermcap
1916 clean-target: maybe-clean-target-winsup
1917 clean-target: maybe-clean-target-libgloss
1918 clean-target: maybe-clean-target-libffi
1919 clean-target: maybe-clean-target-libjava
1920 clean-target: maybe-clean-target-zlib
1921 clean-target: maybe-clean-target-boehm-gc
1922 clean-target: maybe-clean-target-rda
1923 clean-target: maybe-clean-target-libada
1924 clean-target: maybe-clean-target-libgomp
1926 .PHONY: do-distclean
1927 do-distclean:
1928 @: $(MAKE); $(unstage)
1929 @r=`${PWD_COMMAND}`; export r; \
1930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1931 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1932 distclean-target
1935 .PHONY: distclean-host
1937 distclean-host: maybe-distclean-bfd
1938 distclean-host: maybe-distclean-opcodes
1939 distclean-host: maybe-distclean-binutils
1940 distclean-host: maybe-distclean-bison
1941 distclean-host: maybe-distclean-cgen
1942 distclean-host: maybe-distclean-dejagnu
1943 distclean-host: maybe-distclean-etc
1944 distclean-host: maybe-distclean-fastjar
1945 distclean-host: maybe-distclean-fixincludes
1946 distclean-host: maybe-distclean-flex
1947 distclean-host: maybe-distclean-gas
1948 distclean-host: maybe-distclean-gcc
1949 distclean-host: maybe-distclean-gmp
1950 distclean-host: maybe-distclean-mpfr
1951 distclean-host: maybe-distclean-mpc
1952 distclean-host: maybe-distclean-ppl
1953 distclean-host: maybe-distclean-cloog
1954 distclean-host: maybe-distclean-libelf
1955 distclean-host: maybe-distclean-gold
1956 distclean-host: maybe-distclean-gprof
1957 distclean-host: maybe-distclean-intl
1958 distclean-host: maybe-distclean-tcl
1959 distclean-host: maybe-distclean-itcl
1960 distclean-host: maybe-distclean-ld
1961 distclean-host: maybe-distclean-libcpp
1962 distclean-host: maybe-distclean-libdecnumber
1963 distclean-host: maybe-distclean-libgui
1964 distclean-host: maybe-distclean-libiberty
1965 distclean-host: maybe-distclean-libiconv
1966 distclean-host: maybe-distclean-m4
1967 distclean-host: maybe-distclean-readline
1968 distclean-host: maybe-distclean-sid
1969 distclean-host: maybe-distclean-sim
1970 distclean-host: maybe-distclean-texinfo
1971 distclean-host: maybe-distclean-zlib
1972 distclean-host: maybe-distclean-gdb
1973 distclean-host: maybe-distclean-expect
1974 distclean-host: maybe-distclean-guile
1975 distclean-host: maybe-distclean-tk
1976 distclean-host: maybe-distclean-libtermcap
1977 distclean-host: maybe-distclean-utils
1978 distclean-host: maybe-distclean-gnattools
1979 distclean-host: maybe-distclean-lto-plugin
1981 .PHONY: distclean-target
1983 distclean-target: maybe-distclean-target-libstdc++-v3
1984 distclean-target: maybe-distclean-target-libmudflap
1985 distclean-target: maybe-distclean-target-libssp
1986 distclean-target: maybe-distclean-target-newlib
1987 distclean-target: maybe-distclean-target-libgcc
1988 distclean-target: maybe-distclean-target-libquadmath
1989 distclean-target: maybe-distclean-target-libgfortran
1990 distclean-target: maybe-distclean-target-libobjc
1991 distclean-target: maybe-distclean-target-libgo
1992 distclean-target: maybe-distclean-target-libtermcap
1993 distclean-target: maybe-distclean-target-winsup
1994 distclean-target: maybe-distclean-target-libgloss
1995 distclean-target: maybe-distclean-target-libffi
1996 distclean-target: maybe-distclean-target-libjava
1997 distclean-target: maybe-distclean-target-zlib
1998 distclean-target: maybe-distclean-target-boehm-gc
1999 distclean-target: maybe-distclean-target-rda
2000 distclean-target: maybe-distclean-target-libada
2001 distclean-target: maybe-distclean-target-libgomp
2003 .PHONY: do-maintainer-clean
2004 do-maintainer-clean:
2005 @: $(MAKE); $(unstage)
2006 @r=`${PWD_COMMAND}`; export r; \
2007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2009 maintainer-clean-target
2012 .PHONY: maintainer-clean-host
2014 maintainer-clean-host: maybe-maintainer-clean-bfd
2015 maintainer-clean-host: maybe-maintainer-clean-opcodes
2016 maintainer-clean-host: maybe-maintainer-clean-binutils
2017 maintainer-clean-host: maybe-maintainer-clean-bison
2018 maintainer-clean-host: maybe-maintainer-clean-cgen
2019 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2020 maintainer-clean-host: maybe-maintainer-clean-etc
2021 maintainer-clean-host: maybe-maintainer-clean-fastjar
2022 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2023 maintainer-clean-host: maybe-maintainer-clean-flex
2024 maintainer-clean-host: maybe-maintainer-clean-gas
2025 maintainer-clean-host: maybe-maintainer-clean-gcc
2026 maintainer-clean-host: maybe-maintainer-clean-gmp
2027 maintainer-clean-host: maybe-maintainer-clean-mpfr
2028 maintainer-clean-host: maybe-maintainer-clean-mpc
2029 maintainer-clean-host: maybe-maintainer-clean-ppl
2030 maintainer-clean-host: maybe-maintainer-clean-cloog
2031 maintainer-clean-host: maybe-maintainer-clean-libelf
2032 maintainer-clean-host: maybe-maintainer-clean-gold
2033 maintainer-clean-host: maybe-maintainer-clean-gprof
2034 maintainer-clean-host: maybe-maintainer-clean-intl
2035 maintainer-clean-host: maybe-maintainer-clean-tcl
2036 maintainer-clean-host: maybe-maintainer-clean-itcl
2037 maintainer-clean-host: maybe-maintainer-clean-ld
2038 maintainer-clean-host: maybe-maintainer-clean-libcpp
2039 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2040 maintainer-clean-host: maybe-maintainer-clean-libgui
2041 maintainer-clean-host: maybe-maintainer-clean-libiberty
2042 maintainer-clean-host: maybe-maintainer-clean-libiconv
2043 maintainer-clean-host: maybe-maintainer-clean-m4
2044 maintainer-clean-host: maybe-maintainer-clean-readline
2045 maintainer-clean-host: maybe-maintainer-clean-sid
2046 maintainer-clean-host: maybe-maintainer-clean-sim
2047 maintainer-clean-host: maybe-maintainer-clean-texinfo
2048 maintainer-clean-host: maybe-maintainer-clean-zlib
2049 maintainer-clean-host: maybe-maintainer-clean-gdb
2050 maintainer-clean-host: maybe-maintainer-clean-expect
2051 maintainer-clean-host: maybe-maintainer-clean-guile
2052 maintainer-clean-host: maybe-maintainer-clean-tk
2053 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2054 maintainer-clean-host: maybe-maintainer-clean-utils
2055 maintainer-clean-host: maybe-maintainer-clean-gnattools
2056 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2058 .PHONY: maintainer-clean-target
2060 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2061 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2062 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2063 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2064 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2065 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2066 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2067 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2068 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2069 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2070 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2071 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2072 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2073 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2074 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2075 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2076 maintainer-clean-target: maybe-maintainer-clean-target-rda
2077 maintainer-clean-target: maybe-maintainer-clean-target-libada
2078 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2081 # Here are the targets which correspond to the do-X targets.
2083 .PHONY: info installcheck dvi pdf html
2084 .PHONY: install-info install-pdf install-html
2085 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2086 .PHONY: local-clean local-distclean local-maintainer-clean
2087 info: do-info
2088 installcheck: do-installcheck
2089 dvi: do-dvi
2090 pdf: do-pdf
2091 html: do-html
2093 # Make sure makeinfo is built before we do a `make info', if we're
2094 # in fact building texinfo.
2095 do-info: maybe-all-texinfo
2097 install-info: do-install-info dir.info
2098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2099 if [ -f dir.info ] ; then \
2100 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2101 else true ; fi
2103 install-pdf: do-install-pdf
2105 install-html: do-install-html
2107 local-clean:
2108 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2110 local-distclean:
2111 -rm -f Makefile config.status config.cache mh-frag mt-frag
2112 -rm -f maybedep.tmp serdep.tmp
2113 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2114 rm -rf $(TARGET_SUBDIR); \
2115 else true; fi
2116 -rm -rf $(BUILD_SUBDIR)
2117 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2118 rm -rf $(HOST_SUBDIR); \
2119 else true; fi
2120 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2121 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2122 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2123 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2124 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2125 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2127 local-maintainer-clean:
2128 @echo "This command is intended for maintainers to use;"
2129 @echo "it deletes files that may require special tools to rebuild."
2131 clean: do-clean local-clean
2132 mostlyclean: do-mostlyclean local-clean
2133 distclean: do-distclean local-clean local-distclean
2134 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2135 maintainer-clean: local-distclean
2136 realclean: maintainer-clean
2138 # Check target.
2140 .PHONY: check do-check
2141 check: do-check
2143 # Only include modules actually being configured and built.
2144 .PHONY: check-host
2145 check-host: \
2146 maybe-check-bfd \
2147 maybe-check-opcodes \
2148 maybe-check-binutils \
2149 maybe-check-bison \
2150 maybe-check-cgen \
2151 maybe-check-dejagnu \
2152 maybe-check-etc \
2153 maybe-check-fastjar \
2154 maybe-check-fixincludes \
2155 maybe-check-flex \
2156 maybe-check-gas \
2157 maybe-check-gcc \
2158 maybe-check-gmp \
2159 maybe-check-mpfr \
2160 maybe-check-mpc \
2161 maybe-check-ppl \
2162 maybe-check-cloog \
2163 maybe-check-libelf \
2164 maybe-check-gold \
2165 maybe-check-gprof \
2166 maybe-check-intl \
2167 maybe-check-tcl \
2168 maybe-check-itcl \
2169 maybe-check-ld \
2170 maybe-check-libcpp \
2171 maybe-check-libdecnumber \
2172 maybe-check-libgui \
2173 maybe-check-libiberty \
2174 maybe-check-libiconv \
2175 maybe-check-m4 \
2176 maybe-check-readline \
2177 maybe-check-sid \
2178 maybe-check-sim \
2179 maybe-check-texinfo \
2180 maybe-check-zlib \
2181 maybe-check-gdb \
2182 maybe-check-expect \
2183 maybe-check-guile \
2184 maybe-check-tk \
2185 maybe-check-libtermcap \
2186 maybe-check-utils \
2187 maybe-check-gnattools \
2188 maybe-check-lto-plugin
2190 .PHONY: check-target
2191 check-target: \
2192 maybe-check-target-libstdc++-v3 \
2193 maybe-check-target-libmudflap \
2194 maybe-check-target-libssp \
2195 maybe-check-target-newlib \
2196 maybe-check-target-libgcc \
2197 maybe-check-target-libquadmath \
2198 maybe-check-target-libgfortran \
2199 maybe-check-target-libobjc \
2200 maybe-check-target-libgo \
2201 maybe-check-target-libtermcap \
2202 maybe-check-target-winsup \
2203 maybe-check-target-libgloss \
2204 maybe-check-target-libffi \
2205 maybe-check-target-libjava \
2206 maybe-check-target-zlib \
2207 maybe-check-target-boehm-gc \
2208 maybe-check-target-rda \
2209 maybe-check-target-libada \
2210 maybe-check-target-libgomp
2212 do-check:
2213 @: $(MAKE); $(unstage)
2214 @r=`${PWD_COMMAND}`; export r; \
2215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2218 # Automated reporting of test results.
2220 warning.log: build.log
2221 $(srcdir)/contrib/warn_summary build.log > $@
2223 mail-report.log:
2224 if test x'$(BOOT_CFLAGS)' != x''; then \
2225 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2226 fi; \
2227 $(srcdir)/contrib/test_summary -t >$@
2228 chmod +x $@
2229 echo If you really want to send e-mail, run ./$@ now
2231 mail-report-with-warnings.log: warning.log
2232 if test x'$(BOOT_CFLAGS)' != x''; then \
2233 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2234 fi; \
2235 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2236 chmod +x $@
2237 echo If you really want to send e-mail, run ./$@ now
2239 # Installation targets.
2241 .PHONY: install uninstall
2242 install:
2243 @: $(MAKE); $(unstage)
2244 @r=`${PWD_COMMAND}`; export r; \
2245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2246 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2248 .PHONY: install-host-nogcc
2249 install-host-nogcc: \
2250 maybe-install-bfd \
2251 maybe-install-opcodes \
2252 maybe-install-binutils \
2253 maybe-install-bison \
2254 maybe-install-cgen \
2255 maybe-install-dejagnu \
2256 maybe-install-etc \
2257 maybe-install-fastjar \
2258 maybe-install-fixincludes \
2259 maybe-install-flex \
2260 maybe-install-gas \
2261 maybe-install-gmp \
2262 maybe-install-mpfr \
2263 maybe-install-mpc \
2264 maybe-install-ppl \
2265 maybe-install-cloog \
2266 maybe-install-libelf \
2267 maybe-install-gold \
2268 maybe-install-gprof \
2269 maybe-install-intl \
2270 maybe-install-tcl \
2271 maybe-install-itcl \
2272 maybe-install-ld \
2273 maybe-install-libcpp \
2274 maybe-install-libdecnumber \
2275 maybe-install-libgui \
2276 maybe-install-libiberty \
2277 maybe-install-libiconv \
2278 maybe-install-m4 \
2279 maybe-install-readline \
2280 maybe-install-sid \
2281 maybe-install-sim \
2282 maybe-install-texinfo \
2283 maybe-install-zlib \
2284 maybe-install-gdb \
2285 maybe-install-expect \
2286 maybe-install-guile \
2287 maybe-install-tk \
2288 maybe-install-libtermcap \
2289 maybe-install-utils \
2290 maybe-install-gnattools \
2291 maybe-install-lto-plugin
2293 .PHONY: install-host
2294 install-host: \
2295 maybe-install-bfd \
2296 maybe-install-opcodes \
2297 maybe-install-binutils \
2298 maybe-install-bison \
2299 maybe-install-cgen \
2300 maybe-install-dejagnu \
2301 maybe-install-etc \
2302 maybe-install-fastjar \
2303 maybe-install-fixincludes \
2304 maybe-install-flex \
2305 maybe-install-gas \
2306 maybe-install-gcc \
2307 maybe-install-gmp \
2308 maybe-install-mpfr \
2309 maybe-install-mpc \
2310 maybe-install-ppl \
2311 maybe-install-cloog \
2312 maybe-install-libelf \
2313 maybe-install-gold \
2314 maybe-install-gprof \
2315 maybe-install-intl \
2316 maybe-install-tcl \
2317 maybe-install-itcl \
2318 maybe-install-ld \
2319 maybe-install-libcpp \
2320 maybe-install-libdecnumber \
2321 maybe-install-libgui \
2322 maybe-install-libiberty \
2323 maybe-install-libiconv \
2324 maybe-install-m4 \
2325 maybe-install-readline \
2326 maybe-install-sid \
2327 maybe-install-sim \
2328 maybe-install-texinfo \
2329 maybe-install-zlib \
2330 maybe-install-gdb \
2331 maybe-install-expect \
2332 maybe-install-guile \
2333 maybe-install-tk \
2334 maybe-install-libtermcap \
2335 maybe-install-utils \
2336 maybe-install-gnattools \
2337 maybe-install-lto-plugin
2339 .PHONY: install-target
2340 install-target: \
2341 maybe-install-target-libstdc++-v3 \
2342 maybe-install-target-libmudflap \
2343 maybe-install-target-libssp \
2344 maybe-install-target-newlib \
2345 maybe-install-target-libgcc \
2346 maybe-install-target-libquadmath \
2347 maybe-install-target-libgfortran \
2348 maybe-install-target-libobjc \
2349 maybe-install-target-libgo \
2350 maybe-install-target-libtermcap \
2351 maybe-install-target-winsup \
2352 maybe-install-target-libgloss \
2353 maybe-install-target-libffi \
2354 maybe-install-target-libjava \
2355 maybe-install-target-zlib \
2356 maybe-install-target-boehm-gc \
2357 maybe-install-target-rda \
2358 maybe-install-target-libada \
2359 maybe-install-target-libgomp
2361 uninstall:
2362 @echo "the uninstall target is not supported in this tree"
2364 .PHONY: install.all
2365 install.all: install-no-fixedincludes
2366 @if [ -f ./gcc/Makefile ] ; then \
2367 r=`${PWD_COMMAND}` ; export r ; \
2368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 $(HOST_EXPORTS) \
2370 (cd ./gcc && \
2371 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2372 else \
2373 true ; \
2376 # install-no-fixedincludes is used because Cygnus can not distribute
2377 # the fixed header files.
2378 .PHONY: install-no-fixedincludes
2379 install-no-fixedincludes: installdirs install-host-nogcc \
2380 install-target gcc-no-fixedincludes
2382 .PHONY: install-strip
2383 install-strip:
2384 @: $(MAKE); $(unstage)
2385 @r=`${PWD_COMMAND}`; export r; \
2386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2387 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2389 .PHONY: install-strip-host
2390 install-strip-host: \
2391 maybe-install-strip-bfd \
2392 maybe-install-strip-opcodes \
2393 maybe-install-strip-binutils \
2394 maybe-install-strip-bison \
2395 maybe-install-strip-cgen \
2396 maybe-install-strip-dejagnu \
2397 maybe-install-strip-etc \
2398 maybe-install-strip-fastjar \
2399 maybe-install-strip-fixincludes \
2400 maybe-install-strip-flex \
2401 maybe-install-strip-gas \
2402 maybe-install-strip-gcc \
2403 maybe-install-strip-gmp \
2404 maybe-install-strip-mpfr \
2405 maybe-install-strip-mpc \
2406 maybe-install-strip-ppl \
2407 maybe-install-strip-cloog \
2408 maybe-install-strip-libelf \
2409 maybe-install-strip-gold \
2410 maybe-install-strip-gprof \
2411 maybe-install-strip-intl \
2412 maybe-install-strip-tcl \
2413 maybe-install-strip-itcl \
2414 maybe-install-strip-ld \
2415 maybe-install-strip-libcpp \
2416 maybe-install-strip-libdecnumber \
2417 maybe-install-strip-libgui \
2418 maybe-install-strip-libiberty \
2419 maybe-install-strip-libiconv \
2420 maybe-install-strip-m4 \
2421 maybe-install-strip-readline \
2422 maybe-install-strip-sid \
2423 maybe-install-strip-sim \
2424 maybe-install-strip-texinfo \
2425 maybe-install-strip-zlib \
2426 maybe-install-strip-gdb \
2427 maybe-install-strip-expect \
2428 maybe-install-strip-guile \
2429 maybe-install-strip-tk \
2430 maybe-install-strip-libtermcap \
2431 maybe-install-strip-utils \
2432 maybe-install-strip-gnattools \
2433 maybe-install-strip-lto-plugin
2435 .PHONY: install-strip-target
2436 install-strip-target: \
2437 maybe-install-strip-target-libstdc++-v3 \
2438 maybe-install-strip-target-libmudflap \
2439 maybe-install-strip-target-libssp \
2440 maybe-install-strip-target-newlib \
2441 maybe-install-strip-target-libgcc \
2442 maybe-install-strip-target-libquadmath \
2443 maybe-install-strip-target-libgfortran \
2444 maybe-install-strip-target-libobjc \
2445 maybe-install-strip-target-libgo \
2446 maybe-install-strip-target-libtermcap \
2447 maybe-install-strip-target-winsup \
2448 maybe-install-strip-target-libgloss \
2449 maybe-install-strip-target-libffi \
2450 maybe-install-strip-target-libjava \
2451 maybe-install-strip-target-zlib \
2452 maybe-install-strip-target-boehm-gc \
2453 maybe-install-strip-target-rda \
2454 maybe-install-strip-target-libada \
2455 maybe-install-strip-target-libgomp
2458 ### other supporting targets
2460 MAKEDIRS= \
2461 $(DESTDIR)$(prefix) \
2462 $(DESTDIR)$(exec_prefix)
2463 .PHONY: installdirs
2464 installdirs: mkinstalldirs
2465 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2467 dir.info: do-install-info
2468 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2469 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2470 mv -f dir.info.new dir.info ; \
2471 else true ; \
2474 dist:
2475 @echo "Building a full distribution of this tree isn't done"
2476 @echo "via 'make dist'. Check out the etc/ subdirectory"
2478 etags tags: TAGS
2480 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2481 # ability to use several tags files at once, so there is probably no need
2482 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2483 # (if we felt like it) have this Makefile write a piece of elisp which
2484 # the user could load to tell emacs19 where all the TAGS files we just
2485 # built are.
2486 TAGS: do-TAGS
2488 # ------------------------------------
2489 # Macros for configure and all targets
2490 # ------------------------------------
2496 # --------------------------------------
2497 # Modules which run on the build machine
2498 # --------------------------------------
2501 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2502 maybe-configure-build-libiberty:
2503 @if gcc-bootstrap
2504 configure-build-libiberty: stage_current
2505 @endif gcc-bootstrap
2506 @if build-libiberty
2507 maybe-configure-build-libiberty: configure-build-libiberty
2508 configure-build-libiberty:
2509 @: $(MAKE); $(unstage)
2510 @r=`${PWD_COMMAND}`; export r; \
2511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2512 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2513 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2514 $(BUILD_EXPORTS) \
2515 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2516 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2517 case $(srcdir) in \
2518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2519 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2521 esac; \
2522 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2523 libsrcdir="$$s/libiberty"; \
2524 rm -f no-such-file || : ; \
2525 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2526 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2527 --target=${target_alias} $${srcdiroption} \
2528 || exit 1
2529 @endif build-libiberty
2535 .PHONY: all-build-libiberty maybe-all-build-libiberty
2536 maybe-all-build-libiberty:
2537 @if gcc-bootstrap
2538 all-build-libiberty: stage_current
2539 @endif gcc-bootstrap
2540 @if build-libiberty
2541 TARGET-build-libiberty=all
2542 maybe-all-build-libiberty: all-build-libiberty
2543 all-build-libiberty: configure-build-libiberty
2544 @: $(MAKE); $(unstage)
2545 @r=`${PWD_COMMAND}`; export r; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 $(BUILD_EXPORTS) \
2548 (cd $(BUILD_SUBDIR)/libiberty && \
2549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2550 $(TARGET-build-libiberty))
2551 @endif build-libiberty
2557 .PHONY: configure-build-bison maybe-configure-build-bison
2558 maybe-configure-build-bison:
2559 @if gcc-bootstrap
2560 configure-build-bison: stage_current
2561 @endif gcc-bootstrap
2562 @if build-bison
2563 maybe-configure-build-bison: configure-build-bison
2564 configure-build-bison:
2565 @: $(MAKE); $(unstage)
2566 @r=`${PWD_COMMAND}`; export r; \
2567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2568 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2569 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2570 $(BUILD_EXPORTS) \
2571 echo Configuring in $(BUILD_SUBDIR)/bison; \
2572 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2573 case $(srcdir) in \
2574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2575 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2577 esac; \
2578 srcdiroption="--srcdir=$${topdir}/bison"; \
2579 libsrcdir="$$s/bison"; \
2580 rm -f no-such-file || : ; \
2581 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2582 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2583 --target=${target_alias} $${srcdiroption} \
2584 || exit 1
2585 @endif build-bison
2591 .PHONY: all-build-bison maybe-all-build-bison
2592 maybe-all-build-bison:
2593 @if gcc-bootstrap
2594 all-build-bison: stage_current
2595 @endif gcc-bootstrap
2596 @if build-bison
2597 TARGET-build-bison=all
2598 maybe-all-build-bison: all-build-bison
2599 all-build-bison: configure-build-bison
2600 @: $(MAKE); $(unstage)
2601 @r=`${PWD_COMMAND}`; export r; \
2602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2603 $(BUILD_EXPORTS) \
2604 (cd $(BUILD_SUBDIR)/bison && \
2605 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2606 $(TARGET-build-bison))
2607 @endif build-bison
2613 .PHONY: configure-build-flex maybe-configure-build-flex
2614 maybe-configure-build-flex:
2615 @if gcc-bootstrap
2616 configure-build-flex: stage_current
2617 @endif gcc-bootstrap
2618 @if build-flex
2619 maybe-configure-build-flex: configure-build-flex
2620 configure-build-flex:
2621 @: $(MAKE); $(unstage)
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2625 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2626 $(BUILD_EXPORTS) \
2627 echo Configuring in $(BUILD_SUBDIR)/flex; \
2628 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2629 case $(srcdir) in \
2630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2631 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2633 esac; \
2634 srcdiroption="--srcdir=$${topdir}/flex"; \
2635 libsrcdir="$$s/flex"; \
2636 rm -f no-such-file || : ; \
2637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2638 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2639 --target=${target_alias} $${srcdiroption} \
2640 || exit 1
2641 @endif build-flex
2647 .PHONY: all-build-flex maybe-all-build-flex
2648 maybe-all-build-flex:
2649 @if gcc-bootstrap
2650 all-build-flex: stage_current
2651 @endif gcc-bootstrap
2652 @if build-flex
2653 TARGET-build-flex=all
2654 maybe-all-build-flex: all-build-flex
2655 all-build-flex: configure-build-flex
2656 @: $(MAKE); $(unstage)
2657 @r=`${PWD_COMMAND}`; export r; \
2658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2659 $(BUILD_EXPORTS) \
2660 (cd $(BUILD_SUBDIR)/flex && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2662 $(TARGET-build-flex))
2663 @endif build-flex
2669 .PHONY: configure-build-m4 maybe-configure-build-m4
2670 maybe-configure-build-m4:
2671 @if gcc-bootstrap
2672 configure-build-m4: stage_current
2673 @endif gcc-bootstrap
2674 @if build-m4
2675 maybe-configure-build-m4: configure-build-m4
2676 configure-build-m4:
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2681 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2682 $(BUILD_EXPORTS) \
2683 echo Configuring in $(BUILD_SUBDIR)/m4; \
2684 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2685 case $(srcdir) in \
2686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2687 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2689 esac; \
2690 srcdiroption="--srcdir=$${topdir}/m4"; \
2691 libsrcdir="$$s/m4"; \
2692 rm -f no-such-file || : ; \
2693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2694 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2695 --target=${target_alias} $${srcdiroption} \
2696 || exit 1
2697 @endif build-m4
2703 .PHONY: all-build-m4 maybe-all-build-m4
2704 maybe-all-build-m4:
2705 @if gcc-bootstrap
2706 all-build-m4: stage_current
2707 @endif gcc-bootstrap
2708 @if build-m4
2709 TARGET-build-m4=all
2710 maybe-all-build-m4: all-build-m4
2711 all-build-m4: configure-build-m4
2712 @: $(MAKE); $(unstage)
2713 @r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 $(BUILD_EXPORTS) \
2716 (cd $(BUILD_SUBDIR)/m4 && \
2717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2718 $(TARGET-build-m4))
2719 @endif build-m4
2725 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2726 maybe-configure-build-texinfo:
2727 @if gcc-bootstrap
2728 configure-build-texinfo: stage_current
2729 @endif gcc-bootstrap
2730 @if build-texinfo
2731 maybe-configure-build-texinfo: configure-build-texinfo
2732 configure-build-texinfo:
2733 @: $(MAKE); $(unstage)
2734 @r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2737 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2738 $(BUILD_EXPORTS) \
2739 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2740 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2741 case $(srcdir) in \
2742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2743 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2745 esac; \
2746 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2747 libsrcdir="$$s/texinfo"; \
2748 rm -f no-such-file || : ; \
2749 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2750 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2751 --target=${target_alias} $${srcdiroption} \
2752 || exit 1
2753 @endif build-texinfo
2759 .PHONY: all-build-texinfo maybe-all-build-texinfo
2760 maybe-all-build-texinfo:
2761 @if gcc-bootstrap
2762 all-build-texinfo: stage_current
2763 @endif gcc-bootstrap
2764 @if build-texinfo
2765 TARGET-build-texinfo=all
2766 maybe-all-build-texinfo: all-build-texinfo
2767 all-build-texinfo: configure-build-texinfo
2768 @: $(MAKE); $(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 $(BUILD_EXPORTS) \
2772 (cd $(BUILD_SUBDIR)/texinfo && \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2774 $(TARGET-build-texinfo))
2775 @endif build-texinfo
2781 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2782 maybe-configure-build-fixincludes:
2783 @if gcc-bootstrap
2784 configure-build-fixincludes: stage_current
2785 @endif gcc-bootstrap
2786 @if build-fixincludes
2787 maybe-configure-build-fixincludes: configure-build-fixincludes
2788 configure-build-fixincludes:
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2793 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2794 $(BUILD_EXPORTS) \
2795 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2796 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2797 case $(srcdir) in \
2798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2801 esac; \
2802 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2803 libsrcdir="$$s/fixincludes"; \
2804 rm -f no-such-file || : ; \
2805 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2806 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2807 --target=${target_alias} $${srcdiroption} \
2808 || exit 1
2809 @endif build-fixincludes
2815 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2816 maybe-all-build-fixincludes:
2817 @if gcc-bootstrap
2818 all-build-fixincludes: stage_current
2819 @endif gcc-bootstrap
2820 @if build-fixincludes
2821 TARGET-build-fixincludes=all
2822 maybe-all-build-fixincludes: all-build-fixincludes
2823 all-build-fixincludes: configure-build-fixincludes
2824 @: $(MAKE); $(unstage)
2825 @r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(BUILD_EXPORTS) \
2828 (cd $(BUILD_SUBDIR)/fixincludes && \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2830 $(TARGET-build-fixincludes))
2831 @endif build-fixincludes
2837 # --------------------------------------
2838 # Modules which run on the host machine
2839 # --------------------------------------
2842 .PHONY: configure-bfd maybe-configure-bfd
2843 maybe-configure-bfd:
2844 @if gcc-bootstrap
2845 configure-bfd: stage_current
2846 @endif gcc-bootstrap
2847 @if bfd
2848 maybe-configure-bfd: configure-bfd
2849 configure-bfd:
2850 @r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2854 $(HOST_EXPORTS) \
2855 echo Configuring in $(HOST_SUBDIR)/bfd; \
2856 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2857 case $(srcdir) in \
2858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2859 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2861 esac; \
2862 srcdiroption="--srcdir=$${topdir}/bfd"; \
2863 libsrcdir="$$s/bfd"; \
2864 $(SHELL) $${libsrcdir}/configure \
2865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2866 --target=${target_alias} $${srcdiroption} \
2867 || exit 1
2868 @endif bfd
2872 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2873 maybe-configure-stage1-bfd:
2874 @if bfd-bootstrap
2875 maybe-configure-stage1-bfd: configure-stage1-bfd
2876 configure-stage1-bfd:
2877 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 TFLAGS="$(STAGE1_TFLAGS)"; \
2882 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2883 $(HOST_EXPORTS) \
2884 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2885 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2886 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2887 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2889 cd $(HOST_SUBDIR)/bfd || exit 1; \
2890 case $(srcdir) in \
2891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2892 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2894 esac; \
2895 srcdiroption="--srcdir=$${topdir}/bfd"; \
2896 libsrcdir="$$s/bfd"; \
2897 $(SHELL) $${libsrcdir}/configure \
2898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2899 --target=${target_alias} $${srcdiroption} \
2900 $(STAGE1_CONFIGURE_FLAGS)
2901 @endif bfd-bootstrap
2903 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2904 maybe-configure-stage2-bfd:
2905 @if bfd-bootstrap
2906 maybe-configure-stage2-bfd: configure-stage2-bfd
2907 configure-stage2-bfd:
2908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2910 @r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 TFLAGS="$(STAGE2_TFLAGS)"; \
2913 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2914 $(HOST_EXPORTS) \
2915 $(POSTSTAGE1_HOST_EXPORTS) \
2916 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2917 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2918 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2919 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2921 cd $(HOST_SUBDIR)/bfd || exit 1; \
2922 case $(srcdir) in \
2923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2924 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2926 esac; \
2927 srcdiroption="--srcdir=$${topdir}/bfd"; \
2928 libsrcdir="$$s/bfd"; \
2929 $(SHELL) $${libsrcdir}/configure \
2930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2931 --target=${target_alias} $${srcdiroption} \
2932 --with-build-libsubdir=$(HOST_SUBDIR) \
2933 $(STAGE2_CONFIGURE_FLAGS)
2934 @endif bfd-bootstrap
2936 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2937 maybe-configure-stage3-bfd:
2938 @if bfd-bootstrap
2939 maybe-configure-stage3-bfd: configure-stage3-bfd
2940 configure-stage3-bfd:
2941 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2943 @r=`${PWD_COMMAND}`; export r; \
2944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2945 TFLAGS="$(STAGE3_TFLAGS)"; \
2946 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2947 $(HOST_EXPORTS) \
2948 $(POSTSTAGE1_HOST_EXPORTS) \
2949 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
2950 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
2951 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
2952 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
2953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2954 cd $(HOST_SUBDIR)/bfd || exit 1; \
2955 case $(srcdir) in \
2956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2957 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2959 esac; \
2960 srcdiroption="--srcdir=$${topdir}/bfd"; \
2961 libsrcdir="$$s/bfd"; \
2962 $(SHELL) $${libsrcdir}/configure \
2963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2964 --target=${target_alias} $${srcdiroption} \
2965 --with-build-libsubdir=$(HOST_SUBDIR) \
2966 $(STAGE3_CONFIGURE_FLAGS)
2967 @endif bfd-bootstrap
2969 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
2970 maybe-configure-stage4-bfd:
2971 @if bfd-bootstrap
2972 maybe-configure-stage4-bfd: configure-stage4-bfd
2973 configure-stage4-bfd:
2974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
2975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2976 @r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 TFLAGS="$(STAGE4_TFLAGS)"; \
2979 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2980 $(HOST_EXPORTS) \
2981 $(POSTSTAGE1_HOST_EXPORTS) \
2982 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
2983 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
2984 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
2985 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
2986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2987 cd $(HOST_SUBDIR)/bfd || exit 1; \
2988 case $(srcdir) in \
2989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2990 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2992 esac; \
2993 srcdiroption="--srcdir=$${topdir}/bfd"; \
2994 libsrcdir="$$s/bfd"; \
2995 $(SHELL) $${libsrcdir}/configure \
2996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2997 --target=${target_alias} $${srcdiroption} \
2998 --with-build-libsubdir=$(HOST_SUBDIR) \
2999 $(STAGE4_CONFIGURE_FLAGS)
3000 @endif bfd-bootstrap
3002 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3003 maybe-configure-stageprofile-bfd:
3004 @if bfd-bootstrap
3005 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3006 configure-stageprofile-bfd:
3007 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3009 @r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3012 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3013 $(HOST_EXPORTS) \
3014 $(POSTSTAGE1_HOST_EXPORTS) \
3015 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3016 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3017 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3018 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3020 cd $(HOST_SUBDIR)/bfd || exit 1; \
3021 case $(srcdir) in \
3022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3023 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3025 esac; \
3026 srcdiroption="--srcdir=$${topdir}/bfd"; \
3027 libsrcdir="$$s/bfd"; \
3028 $(SHELL) $${libsrcdir}/configure \
3029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3030 --target=${target_alias} $${srcdiroption} \
3031 --with-build-libsubdir=$(HOST_SUBDIR) \
3032 $(STAGEprofile_CONFIGURE_FLAGS)
3033 @endif bfd-bootstrap
3035 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3036 maybe-configure-stagefeedback-bfd:
3037 @if bfd-bootstrap
3038 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3039 configure-stagefeedback-bfd:
3040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3042 @r=`${PWD_COMMAND}`; export r; \
3043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3045 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3046 $(HOST_EXPORTS) \
3047 $(POSTSTAGE1_HOST_EXPORTS) \
3048 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3049 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3050 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3051 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3053 cd $(HOST_SUBDIR)/bfd || exit 1; \
3054 case $(srcdir) in \
3055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3056 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3058 esac; \
3059 srcdiroption="--srcdir=$${topdir}/bfd"; \
3060 libsrcdir="$$s/bfd"; \
3061 $(SHELL) $${libsrcdir}/configure \
3062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3063 --target=${target_alias} $${srcdiroption} \
3064 --with-build-libsubdir=$(HOST_SUBDIR) \
3065 $(STAGEfeedback_CONFIGURE_FLAGS)
3066 @endif bfd-bootstrap
3072 .PHONY: all-bfd maybe-all-bfd
3073 maybe-all-bfd:
3074 @if gcc-bootstrap
3075 all-bfd: stage_current
3076 @endif gcc-bootstrap
3077 @if bfd
3078 TARGET-bfd=all
3079 maybe-all-bfd: all-bfd
3080 all-bfd: configure-bfd
3081 @r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 $(HOST_EXPORTS) \
3084 (cd $(HOST_SUBDIR)/bfd && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3086 $(TARGET-bfd))
3087 @endif bfd
3091 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3092 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3093 maybe-all-stage1-bfd:
3094 maybe-clean-stage1-bfd:
3095 @if bfd-bootstrap
3096 maybe-all-stage1-bfd: all-stage1-bfd
3097 all-stage1: all-stage1-bfd
3098 TARGET-stage1-bfd = $(TARGET-bfd)
3099 all-stage1-bfd: configure-stage1-bfd
3100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3101 @r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 TFLAGS="$(STAGE1_TFLAGS)"; \
3104 $(HOST_EXPORTS) \
3105 cd $(HOST_SUBDIR)/bfd && \
3106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3107 CFLAGS="$(STAGE1_CFLAGS)" \
3108 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3109 LIBCFLAGS="$(LIBCFLAGS)" \
3110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3113 $(EXTRA_HOST_FLAGS) \
3114 TFLAGS="$(STAGE1_TFLAGS)" \
3115 $(TARGET-stage1-bfd)
3117 maybe-clean-stage1-bfd: clean-stage1-bfd
3118 clean-stage1: clean-stage1-bfd
3119 clean-stage1-bfd:
3120 @if [ $(current_stage) = stage1 ]; then \
3121 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3122 else \
3123 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3124 $(MAKE) stage1-start; \
3125 fi; \
3126 cd $(HOST_SUBDIR)/bfd && \
3127 $(MAKE) $(EXTRA_HOST_FLAGS) \
3128 clean
3129 @endif bfd-bootstrap
3132 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3133 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3134 maybe-all-stage2-bfd:
3135 maybe-clean-stage2-bfd:
3136 @if bfd-bootstrap
3137 maybe-all-stage2-bfd: all-stage2-bfd
3138 all-stage2: all-stage2-bfd
3139 TARGET-stage2-bfd = $(TARGET-bfd)
3140 all-stage2-bfd: configure-stage2-bfd
3141 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3142 @r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 TFLAGS="$(STAGE2_TFLAGS)"; \
3145 $(HOST_EXPORTS) \
3146 $(POSTSTAGE1_HOST_EXPORTS) \
3147 cd $(HOST_SUBDIR)/bfd && \
3148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3149 CFLAGS="$(STAGE2_CFLAGS)" \
3150 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3151 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3155 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3156 TFLAGS="$(STAGE2_TFLAGS)" \
3157 $(TARGET-stage2-bfd)
3159 maybe-clean-stage2-bfd: clean-stage2-bfd
3160 clean-stage2: clean-stage2-bfd
3161 clean-stage2-bfd:
3162 @if [ $(current_stage) = stage2 ]; then \
3163 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3164 else \
3165 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3166 $(MAKE) stage2-start; \
3167 fi; \
3168 cd $(HOST_SUBDIR)/bfd && \
3169 $(MAKE) $(EXTRA_HOST_FLAGS) \
3170 $(POSTSTAGE1_FLAGS_TO_PASS) \
3171 clean
3172 @endif bfd-bootstrap
3175 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3176 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3177 maybe-all-stage3-bfd:
3178 maybe-clean-stage3-bfd:
3179 @if bfd-bootstrap
3180 maybe-all-stage3-bfd: all-stage3-bfd
3181 all-stage3: all-stage3-bfd
3182 TARGET-stage3-bfd = $(TARGET-bfd)
3183 all-stage3-bfd: configure-stage3-bfd
3184 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 TFLAGS="$(STAGE3_TFLAGS)"; \
3188 $(HOST_EXPORTS) \
3189 $(POSTSTAGE1_HOST_EXPORTS) \
3190 cd $(HOST_SUBDIR)/bfd && \
3191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3192 CFLAGS="$(STAGE3_CFLAGS)" \
3193 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3194 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3199 TFLAGS="$(STAGE3_TFLAGS)" \
3200 $(TARGET-stage3-bfd)
3202 maybe-clean-stage3-bfd: clean-stage3-bfd
3203 clean-stage3: clean-stage3-bfd
3204 clean-stage3-bfd:
3205 @if [ $(current_stage) = stage3 ]; then \
3206 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3207 else \
3208 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3209 $(MAKE) stage3-start; \
3210 fi; \
3211 cd $(HOST_SUBDIR)/bfd && \
3212 $(MAKE) $(EXTRA_HOST_FLAGS) \
3213 $(POSTSTAGE1_FLAGS_TO_PASS) \
3214 clean
3215 @endif bfd-bootstrap
3218 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3219 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3220 maybe-all-stage4-bfd:
3221 maybe-clean-stage4-bfd:
3222 @if bfd-bootstrap
3223 maybe-all-stage4-bfd: all-stage4-bfd
3224 all-stage4: all-stage4-bfd
3225 TARGET-stage4-bfd = $(TARGET-bfd)
3226 all-stage4-bfd: configure-stage4-bfd
3227 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3228 @r=`${PWD_COMMAND}`; export r; \
3229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3230 TFLAGS="$(STAGE4_TFLAGS)"; \
3231 $(HOST_EXPORTS) \
3232 $(POSTSTAGE1_HOST_EXPORTS) \
3233 cd $(HOST_SUBDIR)/bfd && \
3234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3235 CFLAGS="$(STAGE4_CFLAGS)" \
3236 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3237 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3242 TFLAGS="$(STAGE4_TFLAGS)" \
3243 $(TARGET-stage4-bfd)
3245 maybe-clean-stage4-bfd: clean-stage4-bfd
3246 clean-stage4: clean-stage4-bfd
3247 clean-stage4-bfd:
3248 @if [ $(current_stage) = stage4 ]; then \
3249 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3250 else \
3251 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3252 $(MAKE) stage4-start; \
3253 fi; \
3254 cd $(HOST_SUBDIR)/bfd && \
3255 $(MAKE) $(EXTRA_HOST_FLAGS) \
3256 $(POSTSTAGE1_FLAGS_TO_PASS) \
3257 clean
3258 @endif bfd-bootstrap
3261 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3262 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3263 maybe-all-stageprofile-bfd:
3264 maybe-clean-stageprofile-bfd:
3265 @if bfd-bootstrap
3266 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3267 all-stageprofile: all-stageprofile-bfd
3268 TARGET-stageprofile-bfd = $(TARGET-bfd)
3269 all-stageprofile-bfd: configure-stageprofile-bfd
3270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3271 @r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3274 $(HOST_EXPORTS) \
3275 $(POSTSTAGE1_HOST_EXPORTS) \
3276 cd $(HOST_SUBDIR)/bfd && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3278 CFLAGS="$(STAGEprofile_CFLAGS)" \
3279 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3280 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
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) $(POSTSTAGE1_FLAGS_TO_PASS) \
3285 TFLAGS="$(STAGEprofile_TFLAGS)" \
3286 $(TARGET-stageprofile-bfd)
3288 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3289 clean-stageprofile: clean-stageprofile-bfd
3290 clean-stageprofile-bfd:
3291 @if [ $(current_stage) = stageprofile ]; then \
3292 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3293 else \
3294 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3295 $(MAKE) stageprofile-start; \
3296 fi; \
3297 cd $(HOST_SUBDIR)/bfd && \
3298 $(MAKE) $(EXTRA_HOST_FLAGS) \
3299 $(POSTSTAGE1_FLAGS_TO_PASS) \
3300 clean
3301 @endif bfd-bootstrap
3304 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3305 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3306 maybe-all-stagefeedback-bfd:
3307 maybe-clean-stagefeedback-bfd:
3308 @if bfd-bootstrap
3309 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3310 all-stagefeedback: all-stagefeedback-bfd
3311 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3312 all-stagefeedback-bfd: configure-stagefeedback-bfd
3313 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3314 @r=`${PWD_COMMAND}`; export r; \
3315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3317 $(HOST_EXPORTS) \
3318 $(POSTSTAGE1_HOST_EXPORTS) \
3319 cd $(HOST_SUBDIR)/bfd && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3321 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3322 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3323 LIBCFLAGS="$(STAGEfeedback_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="$(STAGEfeedback_TFLAGS)" \
3329 $(TARGET-stagefeedback-bfd)
3331 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3332 clean-stagefeedback: clean-stagefeedback-bfd
3333 clean-stagefeedback-bfd:
3334 @if [ $(current_stage) = stagefeedback ]; then \
3335 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3336 else \
3337 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3338 $(MAKE) stagefeedback-start; \
3339 fi; \
3340 cd $(HOST_SUBDIR)/bfd && \
3341 $(MAKE) $(EXTRA_HOST_FLAGS) \
3342 $(POSTSTAGE1_FLAGS_TO_PASS) \
3343 clean
3344 @endif bfd-bootstrap
3350 .PHONY: check-bfd maybe-check-bfd
3351 maybe-check-bfd:
3352 @if bfd
3353 maybe-check-bfd: check-bfd
3355 check-bfd:
3356 @: $(MAKE); $(unstage)
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 $(HOST_EXPORTS) \
3360 (cd $(HOST_SUBDIR)/bfd && \
3361 $(MAKE) $(FLAGS_TO_PASS) check)
3363 @endif bfd
3365 .PHONY: install-bfd maybe-install-bfd
3366 maybe-install-bfd:
3367 @if bfd
3368 maybe-install-bfd: install-bfd
3370 install-bfd: installdirs
3371 @: $(MAKE); $(unstage)
3372 @r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(HOST_EXPORTS) \
3375 (cd $(HOST_SUBDIR)/bfd && \
3376 $(MAKE) $(FLAGS_TO_PASS) install)
3378 @endif bfd
3380 .PHONY: install-strip-bfd maybe-install-strip-bfd
3381 maybe-install-strip-bfd:
3382 @if bfd
3383 maybe-install-strip-bfd: install-strip-bfd
3385 install-strip-bfd: installdirs
3386 @: $(MAKE); $(unstage)
3387 @r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 $(HOST_EXPORTS) \
3390 (cd $(HOST_SUBDIR)/bfd && \
3391 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3393 @endif bfd
3395 # Other targets (info, dvi, pdf, etc.)
3397 .PHONY: maybe-info-bfd info-bfd
3398 maybe-info-bfd:
3399 @if bfd
3400 maybe-info-bfd: info-bfd
3402 info-bfd: \
3403 configure-bfd
3404 @[ -f ./bfd/Makefile ] || exit 0; \
3405 r=`${PWD_COMMAND}`; export r; \
3406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3407 $(HOST_EXPORTS) \
3408 for flag in $(EXTRA_HOST_FLAGS) ; do \
3409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3410 done; \
3411 echo "Doing info in bfd" ; \
3412 (cd $(HOST_SUBDIR)/bfd && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3415 "RANLIB=$${RANLIB}" \
3416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3417 info) \
3418 || exit 1
3420 @endif bfd
3422 .PHONY: maybe-dvi-bfd dvi-bfd
3423 maybe-dvi-bfd:
3424 @if bfd
3425 maybe-dvi-bfd: dvi-bfd
3427 dvi-bfd: \
3428 configure-bfd
3429 @[ -f ./bfd/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 for flag in $(EXTRA_HOST_FLAGS) ; do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435 done; \
3436 echo "Doing dvi in bfd" ; \
3437 (cd $(HOST_SUBDIR)/bfd && \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3442 dvi) \
3443 || exit 1
3445 @endif bfd
3447 .PHONY: maybe-pdf-bfd pdf-bfd
3448 maybe-pdf-bfd:
3449 @if bfd
3450 maybe-pdf-bfd: pdf-bfd
3452 pdf-bfd: \
3453 configure-bfd
3454 @[ -f ./bfd/Makefile ] || exit 0; \
3455 r=`${PWD_COMMAND}`; export r; \
3456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3457 $(HOST_EXPORTS) \
3458 for flag in $(EXTRA_HOST_FLAGS) ; do \
3459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3460 done; \
3461 echo "Doing pdf in bfd" ; \
3462 (cd $(HOST_SUBDIR)/bfd && \
3463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3465 "RANLIB=$${RANLIB}" \
3466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3467 pdf) \
3468 || exit 1
3470 @endif bfd
3472 .PHONY: maybe-html-bfd html-bfd
3473 maybe-html-bfd:
3474 @if bfd
3475 maybe-html-bfd: html-bfd
3477 html-bfd: \
3478 configure-bfd
3479 @[ -f ./bfd/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing html in bfd" ; \
3487 (cd $(HOST_SUBDIR)/bfd && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3492 html) \
3493 || exit 1
3495 @endif bfd
3497 .PHONY: maybe-TAGS-bfd TAGS-bfd
3498 maybe-TAGS-bfd:
3499 @if bfd
3500 maybe-TAGS-bfd: TAGS-bfd
3502 TAGS-bfd: \
3503 configure-bfd
3504 @[ -f ./bfd/Makefile ] || exit 0; \
3505 r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(HOST_EXPORTS) \
3508 for flag in $(EXTRA_HOST_FLAGS) ; do \
3509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3510 done; \
3511 echo "Doing TAGS in bfd" ; \
3512 (cd $(HOST_SUBDIR)/bfd && \
3513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3515 "RANLIB=$${RANLIB}" \
3516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3517 TAGS) \
3518 || exit 1
3520 @endif bfd
3522 .PHONY: maybe-install-info-bfd install-info-bfd
3523 maybe-install-info-bfd:
3524 @if bfd
3525 maybe-install-info-bfd: install-info-bfd
3527 install-info-bfd: \
3528 configure-bfd \
3529 info-bfd
3530 @[ -f ./bfd/Makefile ] || exit 0; \
3531 r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 for flag in $(EXTRA_HOST_FLAGS) ; do \
3535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3536 done; \
3537 echo "Doing install-info in bfd" ; \
3538 (cd $(HOST_SUBDIR)/bfd && \
3539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541 "RANLIB=$${RANLIB}" \
3542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3543 install-info) \
3544 || exit 1
3546 @endif bfd
3548 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3549 maybe-install-pdf-bfd:
3550 @if bfd
3551 maybe-install-pdf-bfd: install-pdf-bfd
3553 install-pdf-bfd: \
3554 configure-bfd \
3555 pdf-bfd
3556 @[ -f ./bfd/Makefile ] || exit 0; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559 $(HOST_EXPORTS) \
3560 for flag in $(EXTRA_HOST_FLAGS) ; do \
3561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3562 done; \
3563 echo "Doing install-pdf in bfd" ; \
3564 (cd $(HOST_SUBDIR)/bfd && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567 "RANLIB=$${RANLIB}" \
3568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3569 install-pdf) \
3570 || exit 1
3572 @endif bfd
3574 .PHONY: maybe-install-html-bfd install-html-bfd
3575 maybe-install-html-bfd:
3576 @if bfd
3577 maybe-install-html-bfd: install-html-bfd
3579 install-html-bfd: \
3580 configure-bfd \
3581 html-bfd
3582 @[ -f ./bfd/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3585 $(HOST_EXPORTS) \
3586 for flag in $(EXTRA_HOST_FLAGS) ; do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3588 done; \
3589 echo "Doing install-html in bfd" ; \
3590 (cd $(HOST_SUBDIR)/bfd && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3595 install-html) \
3596 || exit 1
3598 @endif bfd
3600 .PHONY: maybe-installcheck-bfd installcheck-bfd
3601 maybe-installcheck-bfd:
3602 @if bfd
3603 maybe-installcheck-bfd: installcheck-bfd
3605 installcheck-bfd: \
3606 configure-bfd
3607 @[ -f ./bfd/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(HOST_EXPORTS) \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613 done; \
3614 echo "Doing installcheck in bfd" ; \
3615 (cd $(HOST_SUBDIR)/bfd && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3620 installcheck) \
3621 || exit 1
3623 @endif bfd
3625 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3626 maybe-mostlyclean-bfd:
3627 @if bfd
3628 maybe-mostlyclean-bfd: mostlyclean-bfd
3630 mostlyclean-bfd:
3631 @[ -f ./bfd/Makefile ] || exit 0; \
3632 r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing mostlyclean in bfd" ; \
3639 (cd $(HOST_SUBDIR)/bfd && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3644 mostlyclean) \
3645 || exit 1
3647 @endif bfd
3649 .PHONY: maybe-clean-bfd clean-bfd
3650 maybe-clean-bfd:
3651 @if bfd
3652 maybe-clean-bfd: clean-bfd
3654 clean-bfd:
3655 @[ -f ./bfd/Makefile ] || exit 0; \
3656 r=`${PWD_COMMAND}`; export r; \
3657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3658 $(HOST_EXPORTS) \
3659 for flag in $(EXTRA_HOST_FLAGS) ; do \
3660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3661 done; \
3662 echo "Doing clean in bfd" ; \
3663 (cd $(HOST_SUBDIR)/bfd && \
3664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3666 "RANLIB=$${RANLIB}" \
3667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3668 clean) \
3669 || exit 1
3671 @endif bfd
3673 .PHONY: maybe-distclean-bfd distclean-bfd
3674 maybe-distclean-bfd:
3675 @if bfd
3676 maybe-distclean-bfd: distclean-bfd
3678 distclean-bfd:
3679 @[ -f ./bfd/Makefile ] || exit 0; \
3680 r=`${PWD_COMMAND}`; export r; \
3681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3682 $(HOST_EXPORTS) \
3683 for flag in $(EXTRA_HOST_FLAGS) ; do \
3684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3685 done; \
3686 echo "Doing distclean in bfd" ; \
3687 (cd $(HOST_SUBDIR)/bfd && \
3688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3690 "RANLIB=$${RANLIB}" \
3691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3692 distclean) \
3693 || exit 1
3695 @endif bfd
3697 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3698 maybe-maintainer-clean-bfd:
3699 @if bfd
3700 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3702 maintainer-clean-bfd:
3703 @[ -f ./bfd/Makefile ] || exit 0; \
3704 r=`${PWD_COMMAND}`; export r; \
3705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3706 $(HOST_EXPORTS) \
3707 for flag in $(EXTRA_HOST_FLAGS) ; do \
3708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3709 done; \
3710 echo "Doing maintainer-clean in bfd" ; \
3711 (cd $(HOST_SUBDIR)/bfd && \
3712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3714 "RANLIB=$${RANLIB}" \
3715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3716 maintainer-clean) \
3717 || exit 1
3719 @endif bfd
3723 .PHONY: configure-opcodes maybe-configure-opcodes
3724 maybe-configure-opcodes:
3725 @if gcc-bootstrap
3726 configure-opcodes: stage_current
3727 @endif gcc-bootstrap
3728 @if opcodes
3729 maybe-configure-opcodes: configure-opcodes
3730 configure-opcodes:
3731 @r=`${PWD_COMMAND}`; export r; \
3732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3733 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3735 $(HOST_EXPORTS) \
3736 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3737 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3738 case $(srcdir) in \
3739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3740 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3742 esac; \
3743 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3744 libsrcdir="$$s/opcodes"; \
3745 $(SHELL) $${libsrcdir}/configure \
3746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3747 --target=${target_alias} $${srcdiroption} \
3748 || exit 1
3749 @endif opcodes
3753 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3754 maybe-configure-stage1-opcodes:
3755 @if opcodes-bootstrap
3756 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3757 configure-stage1-opcodes:
3758 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3760 @r=`${PWD_COMMAND}`; export r; \
3761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762 TFLAGS="$(STAGE1_TFLAGS)"; \
3763 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3764 $(HOST_EXPORTS) \
3765 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3766 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3767 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3768 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3770 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3771 case $(srcdir) in \
3772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3773 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3775 esac; \
3776 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3777 libsrcdir="$$s/opcodes"; \
3778 $(SHELL) $${libsrcdir}/configure \
3779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3780 --target=${target_alias} $${srcdiroption} \
3781 $(STAGE1_CONFIGURE_FLAGS)
3782 @endif opcodes-bootstrap
3784 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3785 maybe-configure-stage2-opcodes:
3786 @if opcodes-bootstrap
3787 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3788 configure-stage2-opcodes:
3789 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3791 @r=`${PWD_COMMAND}`; export r; \
3792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3793 TFLAGS="$(STAGE2_TFLAGS)"; \
3794 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3795 $(HOST_EXPORTS) \
3796 $(POSTSTAGE1_HOST_EXPORTS) \
3797 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3798 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3799 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3800 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3802 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3803 case $(srcdir) in \
3804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3805 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3807 esac; \
3808 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3809 libsrcdir="$$s/opcodes"; \
3810 $(SHELL) $${libsrcdir}/configure \
3811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3812 --target=${target_alias} $${srcdiroption} \
3813 --with-build-libsubdir=$(HOST_SUBDIR) \
3814 $(STAGE2_CONFIGURE_FLAGS)
3815 @endif opcodes-bootstrap
3817 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3818 maybe-configure-stage3-opcodes:
3819 @if opcodes-bootstrap
3820 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3821 configure-stage3-opcodes:
3822 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3824 @r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 TFLAGS="$(STAGE3_TFLAGS)"; \
3827 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3828 $(HOST_EXPORTS) \
3829 $(POSTSTAGE1_HOST_EXPORTS) \
3830 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3831 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3832 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3833 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3835 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3836 case $(srcdir) in \
3837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3838 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3840 esac; \
3841 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3842 libsrcdir="$$s/opcodes"; \
3843 $(SHELL) $${libsrcdir}/configure \
3844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3845 --target=${target_alias} $${srcdiroption} \
3846 --with-build-libsubdir=$(HOST_SUBDIR) \
3847 $(STAGE3_CONFIGURE_FLAGS)
3848 @endif opcodes-bootstrap
3850 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3851 maybe-configure-stage4-opcodes:
3852 @if opcodes-bootstrap
3853 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3854 configure-stage4-opcodes:
3855 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3857 @r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859 TFLAGS="$(STAGE4_TFLAGS)"; \
3860 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3861 $(HOST_EXPORTS) \
3862 $(POSTSTAGE1_HOST_EXPORTS) \
3863 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3864 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3865 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3866 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3868 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3869 case $(srcdir) in \
3870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3871 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3873 esac; \
3874 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3875 libsrcdir="$$s/opcodes"; \
3876 $(SHELL) $${libsrcdir}/configure \
3877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3878 --target=${target_alias} $${srcdiroption} \
3879 --with-build-libsubdir=$(HOST_SUBDIR) \
3880 $(STAGE4_CONFIGURE_FLAGS)
3881 @endif opcodes-bootstrap
3883 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3884 maybe-configure-stageprofile-opcodes:
3885 @if opcodes-bootstrap
3886 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3887 configure-stageprofile-opcodes:
3888 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3889 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3890 @r=`${PWD_COMMAND}`; export r; \
3891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3892 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3893 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3894 $(HOST_EXPORTS) \
3895 $(POSTSTAGE1_HOST_EXPORTS) \
3896 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3897 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3898 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3899 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3901 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3902 case $(srcdir) in \
3903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3904 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3906 esac; \
3907 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3908 libsrcdir="$$s/opcodes"; \
3909 $(SHELL) $${libsrcdir}/configure \
3910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3911 --target=${target_alias} $${srcdiroption} \
3912 --with-build-libsubdir=$(HOST_SUBDIR) \
3913 $(STAGEprofile_CONFIGURE_FLAGS)
3914 @endif opcodes-bootstrap
3916 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3917 maybe-configure-stagefeedback-opcodes:
3918 @if opcodes-bootstrap
3919 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3920 configure-stagefeedback-opcodes:
3921 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3923 @r=`${PWD_COMMAND}`; export r; \
3924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3925 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3926 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3927 $(HOST_EXPORTS) \
3928 $(POSTSTAGE1_HOST_EXPORTS) \
3929 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3930 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3931 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3932 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3934 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3935 case $(srcdir) in \
3936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3937 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3939 esac; \
3940 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3941 libsrcdir="$$s/opcodes"; \
3942 $(SHELL) $${libsrcdir}/configure \
3943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3944 --target=${target_alias} $${srcdiroption} \
3945 --with-build-libsubdir=$(HOST_SUBDIR) \
3946 $(STAGEfeedback_CONFIGURE_FLAGS)
3947 @endif opcodes-bootstrap
3953 .PHONY: all-opcodes maybe-all-opcodes
3954 maybe-all-opcodes:
3955 @if gcc-bootstrap
3956 all-opcodes: stage_current
3957 @endif gcc-bootstrap
3958 @if opcodes
3959 TARGET-opcodes=all
3960 maybe-all-opcodes: all-opcodes
3961 all-opcodes: configure-opcodes
3962 @r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 $(HOST_EXPORTS) \
3965 (cd $(HOST_SUBDIR)/opcodes && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3967 $(TARGET-opcodes))
3968 @endif opcodes
3972 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
3973 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
3974 maybe-all-stage1-opcodes:
3975 maybe-clean-stage1-opcodes:
3976 @if opcodes-bootstrap
3977 maybe-all-stage1-opcodes: all-stage1-opcodes
3978 all-stage1: all-stage1-opcodes
3979 TARGET-stage1-opcodes = $(TARGET-opcodes)
3980 all-stage1-opcodes: configure-stage1-opcodes
3981 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3982 @r=`${PWD_COMMAND}`; export r; \
3983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 TFLAGS="$(STAGE1_TFLAGS)"; \
3985 $(HOST_EXPORTS) \
3986 cd $(HOST_SUBDIR)/opcodes && \
3987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3988 CFLAGS="$(STAGE1_CFLAGS)" \
3989 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3990 LIBCFLAGS="$(LIBCFLAGS)" \
3991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3994 $(EXTRA_HOST_FLAGS) \
3995 TFLAGS="$(STAGE1_TFLAGS)" \
3996 $(TARGET-stage1-opcodes)
3998 maybe-clean-stage1-opcodes: clean-stage1-opcodes
3999 clean-stage1: clean-stage1-opcodes
4000 clean-stage1-opcodes:
4001 @if [ $(current_stage) = stage1 ]; then \
4002 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4003 else \
4004 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4005 $(MAKE) stage1-start; \
4006 fi; \
4007 cd $(HOST_SUBDIR)/opcodes && \
4008 $(MAKE) $(EXTRA_HOST_FLAGS) \
4009 clean
4010 @endif opcodes-bootstrap
4013 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4014 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4015 maybe-all-stage2-opcodes:
4016 maybe-clean-stage2-opcodes:
4017 @if opcodes-bootstrap
4018 maybe-all-stage2-opcodes: all-stage2-opcodes
4019 all-stage2: all-stage2-opcodes
4020 TARGET-stage2-opcodes = $(TARGET-opcodes)
4021 all-stage2-opcodes: configure-stage2-opcodes
4022 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4023 @r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4025 TFLAGS="$(STAGE2_TFLAGS)"; \
4026 $(HOST_EXPORTS) \
4027 $(POSTSTAGE1_HOST_EXPORTS) \
4028 cd $(HOST_SUBDIR)/opcodes && \
4029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4030 CFLAGS="$(STAGE2_CFLAGS)" \
4031 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4032 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4037 TFLAGS="$(STAGE2_TFLAGS)" \
4038 $(TARGET-stage2-opcodes)
4040 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4041 clean-stage2: clean-stage2-opcodes
4042 clean-stage2-opcodes:
4043 @if [ $(current_stage) = stage2 ]; then \
4044 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4045 else \
4046 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4047 $(MAKE) stage2-start; \
4048 fi; \
4049 cd $(HOST_SUBDIR)/opcodes && \
4050 $(MAKE) $(EXTRA_HOST_FLAGS) \
4051 $(POSTSTAGE1_FLAGS_TO_PASS) \
4052 clean
4053 @endif opcodes-bootstrap
4056 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4057 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4058 maybe-all-stage3-opcodes:
4059 maybe-clean-stage3-opcodes:
4060 @if opcodes-bootstrap
4061 maybe-all-stage3-opcodes: all-stage3-opcodes
4062 all-stage3: all-stage3-opcodes
4063 TARGET-stage3-opcodes = $(TARGET-opcodes)
4064 all-stage3-opcodes: configure-stage3-opcodes
4065 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 TFLAGS="$(STAGE3_TFLAGS)"; \
4069 $(HOST_EXPORTS) \
4070 $(POSTSTAGE1_HOST_EXPORTS) \
4071 cd $(HOST_SUBDIR)/opcodes && \
4072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4073 CFLAGS="$(STAGE3_CFLAGS)" \
4074 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4075 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4080 TFLAGS="$(STAGE3_TFLAGS)" \
4081 $(TARGET-stage3-opcodes)
4083 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4084 clean-stage3: clean-stage3-opcodes
4085 clean-stage3-opcodes:
4086 @if [ $(current_stage) = stage3 ]; then \
4087 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4088 else \
4089 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4090 $(MAKE) stage3-start; \
4091 fi; \
4092 cd $(HOST_SUBDIR)/opcodes && \
4093 $(MAKE) $(EXTRA_HOST_FLAGS) \
4094 $(POSTSTAGE1_FLAGS_TO_PASS) \
4095 clean
4096 @endif opcodes-bootstrap
4099 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4100 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4101 maybe-all-stage4-opcodes:
4102 maybe-clean-stage4-opcodes:
4103 @if opcodes-bootstrap
4104 maybe-all-stage4-opcodes: all-stage4-opcodes
4105 all-stage4: all-stage4-opcodes
4106 TARGET-stage4-opcodes = $(TARGET-opcodes)
4107 all-stage4-opcodes: configure-stage4-opcodes
4108 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4109 @r=`${PWD_COMMAND}`; export r; \
4110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 TFLAGS="$(STAGE4_TFLAGS)"; \
4112 $(HOST_EXPORTS) \
4113 $(POSTSTAGE1_HOST_EXPORTS) \
4114 cd $(HOST_SUBDIR)/opcodes && \
4115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4116 CFLAGS="$(STAGE4_CFLAGS)" \
4117 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4118 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4123 TFLAGS="$(STAGE4_TFLAGS)" \
4124 $(TARGET-stage4-opcodes)
4126 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4127 clean-stage4: clean-stage4-opcodes
4128 clean-stage4-opcodes:
4129 @if [ $(current_stage) = stage4 ]; then \
4130 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4131 else \
4132 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4133 $(MAKE) stage4-start; \
4134 fi; \
4135 cd $(HOST_SUBDIR)/opcodes && \
4136 $(MAKE) $(EXTRA_HOST_FLAGS) \
4137 $(POSTSTAGE1_FLAGS_TO_PASS) \
4138 clean
4139 @endif opcodes-bootstrap
4142 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4143 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4144 maybe-all-stageprofile-opcodes:
4145 maybe-clean-stageprofile-opcodes:
4146 @if opcodes-bootstrap
4147 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4148 all-stageprofile: all-stageprofile-opcodes
4149 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4150 all-stageprofile-opcodes: configure-stageprofile-opcodes
4151 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4152 @r=`${PWD_COMMAND}`; export r; \
4153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4154 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4155 $(HOST_EXPORTS) \
4156 $(POSTSTAGE1_HOST_EXPORTS) \
4157 cd $(HOST_SUBDIR)/opcodes && \
4158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4159 CFLAGS="$(STAGEprofile_CFLAGS)" \
4160 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4161 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4166 TFLAGS="$(STAGEprofile_TFLAGS)" \
4167 $(TARGET-stageprofile-opcodes)
4169 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4170 clean-stageprofile: clean-stageprofile-opcodes
4171 clean-stageprofile-opcodes:
4172 @if [ $(current_stage) = stageprofile ]; then \
4173 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4174 else \
4175 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4176 $(MAKE) stageprofile-start; \
4177 fi; \
4178 cd $(HOST_SUBDIR)/opcodes && \
4179 $(MAKE) $(EXTRA_HOST_FLAGS) \
4180 $(POSTSTAGE1_FLAGS_TO_PASS) \
4181 clean
4182 @endif opcodes-bootstrap
4185 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4186 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4187 maybe-all-stagefeedback-opcodes:
4188 maybe-clean-stagefeedback-opcodes:
4189 @if opcodes-bootstrap
4190 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4191 all-stagefeedback: all-stagefeedback-opcodes
4192 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4193 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4195 @r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4198 $(HOST_EXPORTS) \
4199 $(POSTSTAGE1_HOST_EXPORTS) \
4200 cd $(HOST_SUBDIR)/opcodes && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4202 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4203 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4204 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4208 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4209 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4210 $(TARGET-stagefeedback-opcodes)
4212 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4213 clean-stagefeedback: clean-stagefeedback-opcodes
4214 clean-stagefeedback-opcodes:
4215 @if [ $(current_stage) = stagefeedback ]; then \
4216 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4217 else \
4218 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4219 $(MAKE) stagefeedback-start; \
4220 fi; \
4221 cd $(HOST_SUBDIR)/opcodes && \
4222 $(MAKE) $(EXTRA_HOST_FLAGS) \
4223 $(POSTSTAGE1_FLAGS_TO_PASS) \
4224 clean
4225 @endif opcodes-bootstrap
4231 .PHONY: check-opcodes maybe-check-opcodes
4232 maybe-check-opcodes:
4233 @if opcodes
4234 maybe-check-opcodes: check-opcodes
4236 check-opcodes:
4237 @: $(MAKE); $(unstage)
4238 @r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 $(HOST_EXPORTS) \
4241 (cd $(HOST_SUBDIR)/opcodes && \
4242 $(MAKE) $(FLAGS_TO_PASS) check)
4244 @endif opcodes
4246 .PHONY: install-opcodes maybe-install-opcodes
4247 maybe-install-opcodes:
4248 @if opcodes
4249 maybe-install-opcodes: install-opcodes
4251 install-opcodes: installdirs
4252 @: $(MAKE); $(unstage)
4253 @r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(HOST_EXPORTS) \
4256 (cd $(HOST_SUBDIR)/opcodes && \
4257 $(MAKE) $(FLAGS_TO_PASS) install)
4259 @endif opcodes
4261 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4262 maybe-install-strip-opcodes:
4263 @if opcodes
4264 maybe-install-strip-opcodes: install-strip-opcodes
4266 install-strip-opcodes: installdirs
4267 @: $(MAKE); $(unstage)
4268 @r=`${PWD_COMMAND}`; export r; \
4269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4270 $(HOST_EXPORTS) \
4271 (cd $(HOST_SUBDIR)/opcodes && \
4272 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4274 @endif opcodes
4276 # Other targets (info, dvi, pdf, etc.)
4278 .PHONY: maybe-info-opcodes info-opcodes
4279 maybe-info-opcodes:
4280 @if opcodes
4281 maybe-info-opcodes: info-opcodes
4283 info-opcodes: \
4284 configure-opcodes
4285 @[ -f ./opcodes/Makefile ] || exit 0; \
4286 r=`${PWD_COMMAND}`; export r; \
4287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4288 $(HOST_EXPORTS) \
4289 for flag in $(EXTRA_HOST_FLAGS) ; do \
4290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4291 done; \
4292 echo "Doing info in opcodes" ; \
4293 (cd $(HOST_SUBDIR)/opcodes && \
4294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4296 "RANLIB=$${RANLIB}" \
4297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4298 info) \
4299 || exit 1
4301 @endif opcodes
4303 .PHONY: maybe-dvi-opcodes dvi-opcodes
4304 maybe-dvi-opcodes:
4305 @if opcodes
4306 maybe-dvi-opcodes: dvi-opcodes
4308 dvi-opcodes: \
4309 configure-opcodes
4310 @[ -f ./opcodes/Makefile ] || exit 0; \
4311 r=`${PWD_COMMAND}`; export r; \
4312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 $(HOST_EXPORTS) \
4314 for flag in $(EXTRA_HOST_FLAGS) ; do \
4315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4316 done; \
4317 echo "Doing dvi in opcodes" ; \
4318 (cd $(HOST_SUBDIR)/opcodes && \
4319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4321 "RANLIB=$${RANLIB}" \
4322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4323 dvi) \
4324 || exit 1
4326 @endif opcodes
4328 .PHONY: maybe-pdf-opcodes pdf-opcodes
4329 maybe-pdf-opcodes:
4330 @if opcodes
4331 maybe-pdf-opcodes: pdf-opcodes
4333 pdf-opcodes: \
4334 configure-opcodes
4335 @[ -f ./opcodes/Makefile ] || exit 0; \
4336 r=`${PWD_COMMAND}`; export r; \
4337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4338 $(HOST_EXPORTS) \
4339 for flag in $(EXTRA_HOST_FLAGS) ; do \
4340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4341 done; \
4342 echo "Doing pdf in opcodes" ; \
4343 (cd $(HOST_SUBDIR)/opcodes && \
4344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4346 "RANLIB=$${RANLIB}" \
4347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4348 pdf) \
4349 || exit 1
4351 @endif opcodes
4353 .PHONY: maybe-html-opcodes html-opcodes
4354 maybe-html-opcodes:
4355 @if opcodes
4356 maybe-html-opcodes: html-opcodes
4358 html-opcodes: \
4359 configure-opcodes
4360 @[ -f ./opcodes/Makefile ] || exit 0; \
4361 r=`${PWD_COMMAND}`; export r; \
4362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363 $(HOST_EXPORTS) \
4364 for flag in $(EXTRA_HOST_FLAGS) ; do \
4365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4366 done; \
4367 echo "Doing html in opcodes" ; \
4368 (cd $(HOST_SUBDIR)/opcodes && \
4369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4371 "RANLIB=$${RANLIB}" \
4372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4373 html) \
4374 || exit 1
4376 @endif opcodes
4378 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4379 maybe-TAGS-opcodes:
4380 @if opcodes
4381 maybe-TAGS-opcodes: TAGS-opcodes
4383 TAGS-opcodes: \
4384 configure-opcodes
4385 @[ -f ./opcodes/Makefile ] || exit 0; \
4386 r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 $(HOST_EXPORTS) \
4389 for flag in $(EXTRA_HOST_FLAGS) ; do \
4390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 done; \
4392 echo "Doing TAGS in opcodes" ; \
4393 (cd $(HOST_SUBDIR)/opcodes && \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4398 TAGS) \
4399 || exit 1
4401 @endif opcodes
4403 .PHONY: maybe-install-info-opcodes install-info-opcodes
4404 maybe-install-info-opcodes:
4405 @if opcodes
4406 maybe-install-info-opcodes: install-info-opcodes
4408 install-info-opcodes: \
4409 configure-opcodes \
4410 info-opcodes
4411 @[ -f ./opcodes/Makefile ] || exit 0; \
4412 r=`${PWD_COMMAND}`; export r; \
4413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4414 $(HOST_EXPORTS) \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 echo "Doing install-info in opcodes" ; \
4419 (cd $(HOST_SUBDIR)/opcodes && \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4424 install-info) \
4425 || exit 1
4427 @endif opcodes
4429 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4430 maybe-install-pdf-opcodes:
4431 @if opcodes
4432 maybe-install-pdf-opcodes: install-pdf-opcodes
4434 install-pdf-opcodes: \
4435 configure-opcodes \
4436 pdf-opcodes
4437 @[ -f ./opcodes/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing install-pdf in opcodes" ; \
4445 (cd $(HOST_SUBDIR)/opcodes && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4450 install-pdf) \
4451 || exit 1
4453 @endif opcodes
4455 .PHONY: maybe-install-html-opcodes install-html-opcodes
4456 maybe-install-html-opcodes:
4457 @if opcodes
4458 maybe-install-html-opcodes: install-html-opcodes
4460 install-html-opcodes: \
4461 configure-opcodes \
4462 html-opcodes
4463 @[ -f ./opcodes/Makefile ] || exit 0; \
4464 r=`${PWD_COMMAND}`; export r; \
4465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing install-html in opcodes" ; \
4471 (cd $(HOST_SUBDIR)/opcodes && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4476 install-html) \
4477 || exit 1
4479 @endif opcodes
4481 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4482 maybe-installcheck-opcodes:
4483 @if opcodes
4484 maybe-installcheck-opcodes: installcheck-opcodes
4486 installcheck-opcodes: \
4487 configure-opcodes
4488 @[ -f ./opcodes/Makefile ] || exit 0; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(HOST_EXPORTS) \
4492 for flag in $(EXTRA_HOST_FLAGS) ; do \
4493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4494 done; \
4495 echo "Doing installcheck in opcodes" ; \
4496 (cd $(HOST_SUBDIR)/opcodes && \
4497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4499 "RANLIB=$${RANLIB}" \
4500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4501 installcheck) \
4502 || exit 1
4504 @endif opcodes
4506 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4507 maybe-mostlyclean-opcodes:
4508 @if opcodes
4509 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4511 mostlyclean-opcodes:
4512 @[ -f ./opcodes/Makefile ] || exit 0; \
4513 r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 $(HOST_EXPORTS) \
4516 for flag in $(EXTRA_HOST_FLAGS) ; do \
4517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4518 done; \
4519 echo "Doing mostlyclean in opcodes" ; \
4520 (cd $(HOST_SUBDIR)/opcodes && \
4521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4523 "RANLIB=$${RANLIB}" \
4524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4525 mostlyclean) \
4526 || exit 1
4528 @endif opcodes
4530 .PHONY: maybe-clean-opcodes clean-opcodes
4531 maybe-clean-opcodes:
4532 @if opcodes
4533 maybe-clean-opcodes: clean-opcodes
4535 clean-opcodes:
4536 @[ -f ./opcodes/Makefile ] || exit 0; \
4537 r=`${PWD_COMMAND}`; export r; \
4538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4539 $(HOST_EXPORTS) \
4540 for flag in $(EXTRA_HOST_FLAGS) ; do \
4541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4542 done; \
4543 echo "Doing clean in opcodes" ; \
4544 (cd $(HOST_SUBDIR)/opcodes && \
4545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4547 "RANLIB=$${RANLIB}" \
4548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4549 clean) \
4550 || exit 1
4552 @endif opcodes
4554 .PHONY: maybe-distclean-opcodes distclean-opcodes
4555 maybe-distclean-opcodes:
4556 @if opcodes
4557 maybe-distclean-opcodes: distclean-opcodes
4559 distclean-opcodes:
4560 @[ -f ./opcodes/Makefile ] || exit 0; \
4561 r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 $(HOST_EXPORTS) \
4564 for flag in $(EXTRA_HOST_FLAGS) ; do \
4565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4566 done; \
4567 echo "Doing distclean in opcodes" ; \
4568 (cd $(HOST_SUBDIR)/opcodes && \
4569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4571 "RANLIB=$${RANLIB}" \
4572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4573 distclean) \
4574 || exit 1
4576 @endif opcodes
4578 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4579 maybe-maintainer-clean-opcodes:
4580 @if opcodes
4581 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4583 maintainer-clean-opcodes:
4584 @[ -f ./opcodes/Makefile ] || exit 0; \
4585 r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 $(HOST_EXPORTS) \
4588 for flag in $(EXTRA_HOST_FLAGS) ; do \
4589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4590 done; \
4591 echo "Doing maintainer-clean in opcodes" ; \
4592 (cd $(HOST_SUBDIR)/opcodes && \
4593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4595 "RANLIB=$${RANLIB}" \
4596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4597 maintainer-clean) \
4598 || exit 1
4600 @endif opcodes
4604 .PHONY: configure-binutils maybe-configure-binutils
4605 maybe-configure-binutils:
4606 @if gcc-bootstrap
4607 configure-binutils: stage_current
4608 @endif gcc-bootstrap
4609 @if binutils
4610 maybe-configure-binutils: configure-binutils
4611 configure-binutils:
4612 @r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4616 $(HOST_EXPORTS) \
4617 echo Configuring in $(HOST_SUBDIR)/binutils; \
4618 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4619 case $(srcdir) in \
4620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4621 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4623 esac; \
4624 srcdiroption="--srcdir=$${topdir}/binutils"; \
4625 libsrcdir="$$s/binutils"; \
4626 $(SHELL) $${libsrcdir}/configure \
4627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4628 --target=${target_alias} $${srcdiroption} \
4629 || exit 1
4630 @endif binutils
4634 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4635 maybe-configure-stage1-binutils:
4636 @if binutils-bootstrap
4637 maybe-configure-stage1-binutils: configure-stage1-binutils
4638 configure-stage1-binutils:
4639 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4641 @r=`${PWD_COMMAND}`; export r; \
4642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4643 TFLAGS="$(STAGE1_TFLAGS)"; \
4644 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4645 $(HOST_EXPORTS) \
4646 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4647 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4648 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4649 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4651 cd $(HOST_SUBDIR)/binutils || exit 1; \
4652 case $(srcdir) in \
4653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4654 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4656 esac; \
4657 srcdiroption="--srcdir=$${topdir}/binutils"; \
4658 libsrcdir="$$s/binutils"; \
4659 $(SHELL) $${libsrcdir}/configure \
4660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4661 --target=${target_alias} $${srcdiroption} \
4662 $(STAGE1_CONFIGURE_FLAGS)
4663 @endif binutils-bootstrap
4665 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4666 maybe-configure-stage2-binutils:
4667 @if binutils-bootstrap
4668 maybe-configure-stage2-binutils: configure-stage2-binutils
4669 configure-stage2-binutils:
4670 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4672 @r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 TFLAGS="$(STAGE2_TFLAGS)"; \
4675 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4676 $(HOST_EXPORTS) \
4677 $(POSTSTAGE1_HOST_EXPORTS) \
4678 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4679 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4680 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4681 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4683 cd $(HOST_SUBDIR)/binutils || exit 1; \
4684 case $(srcdir) in \
4685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4686 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4688 esac; \
4689 srcdiroption="--srcdir=$${topdir}/binutils"; \
4690 libsrcdir="$$s/binutils"; \
4691 $(SHELL) $${libsrcdir}/configure \
4692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4693 --target=${target_alias} $${srcdiroption} \
4694 --with-build-libsubdir=$(HOST_SUBDIR) \
4695 $(STAGE2_CONFIGURE_FLAGS)
4696 @endif binutils-bootstrap
4698 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4699 maybe-configure-stage3-binutils:
4700 @if binutils-bootstrap
4701 maybe-configure-stage3-binutils: configure-stage3-binutils
4702 configure-stage3-binutils:
4703 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4705 @r=`${PWD_COMMAND}`; export r; \
4706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4707 TFLAGS="$(STAGE3_TFLAGS)"; \
4708 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4709 $(HOST_EXPORTS) \
4710 $(POSTSTAGE1_HOST_EXPORTS) \
4711 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4712 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4713 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4714 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4716 cd $(HOST_SUBDIR)/binutils || exit 1; \
4717 case $(srcdir) in \
4718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4719 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4721 esac; \
4722 srcdiroption="--srcdir=$${topdir}/binutils"; \
4723 libsrcdir="$$s/binutils"; \
4724 $(SHELL) $${libsrcdir}/configure \
4725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4726 --target=${target_alias} $${srcdiroption} \
4727 --with-build-libsubdir=$(HOST_SUBDIR) \
4728 $(STAGE3_CONFIGURE_FLAGS)
4729 @endif binutils-bootstrap
4731 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4732 maybe-configure-stage4-binutils:
4733 @if binutils-bootstrap
4734 maybe-configure-stage4-binutils: configure-stage4-binutils
4735 configure-stage4-binutils:
4736 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4738 @r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 TFLAGS="$(STAGE4_TFLAGS)"; \
4741 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4742 $(HOST_EXPORTS) \
4743 $(POSTSTAGE1_HOST_EXPORTS) \
4744 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4745 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4746 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4747 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4749 cd $(HOST_SUBDIR)/binutils || exit 1; \
4750 case $(srcdir) in \
4751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4752 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4754 esac; \
4755 srcdiroption="--srcdir=$${topdir}/binutils"; \
4756 libsrcdir="$$s/binutils"; \
4757 $(SHELL) $${libsrcdir}/configure \
4758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4759 --target=${target_alias} $${srcdiroption} \
4760 --with-build-libsubdir=$(HOST_SUBDIR) \
4761 $(STAGE4_CONFIGURE_FLAGS)
4762 @endif binutils-bootstrap
4764 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4765 maybe-configure-stageprofile-binutils:
4766 @if binutils-bootstrap
4767 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4768 configure-stageprofile-binutils:
4769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4771 @r=`${PWD_COMMAND}`; export r; \
4772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4774 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4775 $(HOST_EXPORTS) \
4776 $(POSTSTAGE1_HOST_EXPORTS) \
4777 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4778 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4779 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4780 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4782 cd $(HOST_SUBDIR)/binutils || exit 1; \
4783 case $(srcdir) in \
4784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4785 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4787 esac; \
4788 srcdiroption="--srcdir=$${topdir}/binutils"; \
4789 libsrcdir="$$s/binutils"; \
4790 $(SHELL) $${libsrcdir}/configure \
4791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4792 --target=${target_alias} $${srcdiroption} \
4793 --with-build-libsubdir=$(HOST_SUBDIR) \
4794 $(STAGEprofile_CONFIGURE_FLAGS)
4795 @endif binutils-bootstrap
4797 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4798 maybe-configure-stagefeedback-binutils:
4799 @if binutils-bootstrap
4800 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4801 configure-stagefeedback-binutils:
4802 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4804 @r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4807 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4808 $(HOST_EXPORTS) \
4809 $(POSTSTAGE1_HOST_EXPORTS) \
4810 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4811 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4812 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4813 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4815 cd $(HOST_SUBDIR)/binutils || exit 1; \
4816 case $(srcdir) in \
4817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4818 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4820 esac; \
4821 srcdiroption="--srcdir=$${topdir}/binutils"; \
4822 libsrcdir="$$s/binutils"; \
4823 $(SHELL) $${libsrcdir}/configure \
4824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4825 --target=${target_alias} $${srcdiroption} \
4826 --with-build-libsubdir=$(HOST_SUBDIR) \
4827 $(STAGEfeedback_CONFIGURE_FLAGS)
4828 @endif binutils-bootstrap
4834 .PHONY: all-binutils maybe-all-binutils
4835 maybe-all-binutils:
4836 @if gcc-bootstrap
4837 all-binutils: stage_current
4838 @endif gcc-bootstrap
4839 @if binutils
4840 TARGET-binutils=all
4841 maybe-all-binutils: all-binutils
4842 all-binutils: configure-binutils
4843 @r=`${PWD_COMMAND}`; export r; \
4844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4845 $(HOST_EXPORTS) \
4846 (cd $(HOST_SUBDIR)/binutils && \
4847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4848 $(TARGET-binutils))
4849 @endif binutils
4853 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4854 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4855 maybe-all-stage1-binutils:
4856 maybe-clean-stage1-binutils:
4857 @if binutils-bootstrap
4858 maybe-all-stage1-binutils: all-stage1-binutils
4859 all-stage1: all-stage1-binutils
4860 TARGET-stage1-binutils = $(TARGET-binutils)
4861 all-stage1-binutils: configure-stage1-binutils
4862 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4863 @r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4865 TFLAGS="$(STAGE1_TFLAGS)"; \
4866 $(HOST_EXPORTS) \
4867 cd $(HOST_SUBDIR)/binutils && \
4868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4869 CFLAGS="$(STAGE1_CFLAGS)" \
4870 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4871 LIBCFLAGS="$(LIBCFLAGS)" \
4872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4875 $(EXTRA_HOST_FLAGS) \
4876 TFLAGS="$(STAGE1_TFLAGS)" \
4877 $(TARGET-stage1-binutils)
4879 maybe-clean-stage1-binutils: clean-stage1-binutils
4880 clean-stage1: clean-stage1-binutils
4881 clean-stage1-binutils:
4882 @if [ $(current_stage) = stage1 ]; then \
4883 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4884 else \
4885 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4886 $(MAKE) stage1-start; \
4887 fi; \
4888 cd $(HOST_SUBDIR)/binutils && \
4889 $(MAKE) $(EXTRA_HOST_FLAGS) \
4890 clean
4891 @endif binutils-bootstrap
4894 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4895 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4896 maybe-all-stage2-binutils:
4897 maybe-clean-stage2-binutils:
4898 @if binutils-bootstrap
4899 maybe-all-stage2-binutils: all-stage2-binutils
4900 all-stage2: all-stage2-binutils
4901 TARGET-stage2-binutils = $(TARGET-binutils)
4902 all-stage2-binutils: configure-stage2-binutils
4903 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4904 @r=`${PWD_COMMAND}`; export r; \
4905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4906 TFLAGS="$(STAGE2_TFLAGS)"; \
4907 $(HOST_EXPORTS) \
4908 $(POSTSTAGE1_HOST_EXPORTS) \
4909 cd $(HOST_SUBDIR)/binutils && \
4910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4911 CFLAGS="$(STAGE2_CFLAGS)" \
4912 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4913 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4918 TFLAGS="$(STAGE2_TFLAGS)" \
4919 $(TARGET-stage2-binutils)
4921 maybe-clean-stage2-binutils: clean-stage2-binutils
4922 clean-stage2: clean-stage2-binutils
4923 clean-stage2-binutils:
4924 @if [ $(current_stage) = stage2 ]; then \
4925 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4926 else \
4927 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4928 $(MAKE) stage2-start; \
4929 fi; \
4930 cd $(HOST_SUBDIR)/binutils && \
4931 $(MAKE) $(EXTRA_HOST_FLAGS) \
4932 $(POSTSTAGE1_FLAGS_TO_PASS) \
4933 clean
4934 @endif binutils-bootstrap
4937 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4938 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4939 maybe-all-stage3-binutils:
4940 maybe-clean-stage3-binutils:
4941 @if binutils-bootstrap
4942 maybe-all-stage3-binutils: all-stage3-binutils
4943 all-stage3: all-stage3-binutils
4944 TARGET-stage3-binutils = $(TARGET-binutils)
4945 all-stage3-binutils: configure-stage3-binutils
4946 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4947 @r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 TFLAGS="$(STAGE3_TFLAGS)"; \
4950 $(HOST_EXPORTS) \
4951 $(POSTSTAGE1_HOST_EXPORTS) \
4952 cd $(HOST_SUBDIR)/binutils && \
4953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4954 CFLAGS="$(STAGE3_CFLAGS)" \
4955 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4956 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4961 TFLAGS="$(STAGE3_TFLAGS)" \
4962 $(TARGET-stage3-binutils)
4964 maybe-clean-stage3-binutils: clean-stage3-binutils
4965 clean-stage3: clean-stage3-binutils
4966 clean-stage3-binutils:
4967 @if [ $(current_stage) = stage3 ]; then \
4968 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4969 else \
4970 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
4971 $(MAKE) stage3-start; \
4972 fi; \
4973 cd $(HOST_SUBDIR)/binutils && \
4974 $(MAKE) $(EXTRA_HOST_FLAGS) \
4975 $(POSTSTAGE1_FLAGS_TO_PASS) \
4976 clean
4977 @endif binutils-bootstrap
4980 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
4981 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
4982 maybe-all-stage4-binutils:
4983 maybe-clean-stage4-binutils:
4984 @if binutils-bootstrap
4985 maybe-all-stage4-binutils: all-stage4-binutils
4986 all-stage4: all-stage4-binutils
4987 TARGET-stage4-binutils = $(TARGET-binutils)
4988 all-stage4-binutils: configure-stage4-binutils
4989 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4990 @r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4992 TFLAGS="$(STAGE4_TFLAGS)"; \
4993 $(HOST_EXPORTS) \
4994 $(POSTSTAGE1_HOST_EXPORTS) \
4995 cd $(HOST_SUBDIR)/binutils && \
4996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4997 CFLAGS="$(STAGE4_CFLAGS)" \
4998 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4999 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5004 TFLAGS="$(STAGE4_TFLAGS)" \
5005 $(TARGET-stage4-binutils)
5007 maybe-clean-stage4-binutils: clean-stage4-binutils
5008 clean-stage4: clean-stage4-binutils
5009 clean-stage4-binutils:
5010 @if [ $(current_stage) = stage4 ]; then \
5011 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5012 else \
5013 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5014 $(MAKE) stage4-start; \
5015 fi; \
5016 cd $(HOST_SUBDIR)/binutils && \
5017 $(MAKE) $(EXTRA_HOST_FLAGS) \
5018 $(POSTSTAGE1_FLAGS_TO_PASS) \
5019 clean
5020 @endif binutils-bootstrap
5023 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5024 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5025 maybe-all-stageprofile-binutils:
5026 maybe-clean-stageprofile-binutils:
5027 @if binutils-bootstrap
5028 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5029 all-stageprofile: all-stageprofile-binutils
5030 TARGET-stageprofile-binutils = $(TARGET-binutils)
5031 all-stageprofile-binutils: configure-stageprofile-binutils
5032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5033 @r=`${PWD_COMMAND}`; export r; \
5034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5036 $(HOST_EXPORTS) \
5037 $(POSTSTAGE1_HOST_EXPORTS) \
5038 cd $(HOST_SUBDIR)/binutils && \
5039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5040 CFLAGS="$(STAGEprofile_CFLAGS)" \
5041 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5042 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5047 TFLAGS="$(STAGEprofile_TFLAGS)" \
5048 $(TARGET-stageprofile-binutils)
5050 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5051 clean-stageprofile: clean-stageprofile-binutils
5052 clean-stageprofile-binutils:
5053 @if [ $(current_stage) = stageprofile ]; then \
5054 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5055 else \
5056 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5057 $(MAKE) stageprofile-start; \
5058 fi; \
5059 cd $(HOST_SUBDIR)/binutils && \
5060 $(MAKE) $(EXTRA_HOST_FLAGS) \
5061 $(POSTSTAGE1_FLAGS_TO_PASS) \
5062 clean
5063 @endif binutils-bootstrap
5066 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5067 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5068 maybe-all-stagefeedback-binutils:
5069 maybe-clean-stagefeedback-binutils:
5070 @if binutils-bootstrap
5071 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5072 all-stagefeedback: all-stagefeedback-binutils
5073 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5074 all-stagefeedback-binutils: configure-stagefeedback-binutils
5075 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5076 @r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5078 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5079 $(HOST_EXPORTS) \
5080 $(POSTSTAGE1_HOST_EXPORTS) \
5081 cd $(HOST_SUBDIR)/binutils && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5083 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5084 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5085 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5090 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5091 $(TARGET-stagefeedback-binutils)
5093 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5094 clean-stagefeedback: clean-stagefeedback-binutils
5095 clean-stagefeedback-binutils:
5096 @if [ $(current_stage) = stagefeedback ]; then \
5097 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5098 else \
5099 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5100 $(MAKE) stagefeedback-start; \
5101 fi; \
5102 cd $(HOST_SUBDIR)/binutils && \
5103 $(MAKE) $(EXTRA_HOST_FLAGS) \
5104 $(POSTSTAGE1_FLAGS_TO_PASS) \
5105 clean
5106 @endif binutils-bootstrap
5112 .PHONY: check-binutils maybe-check-binutils
5113 maybe-check-binutils:
5114 @if binutils
5115 maybe-check-binutils: check-binutils
5117 check-binutils:
5118 @: $(MAKE); $(unstage)
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(HOST_EXPORTS) \
5122 (cd $(HOST_SUBDIR)/binutils && \
5123 $(MAKE) $(FLAGS_TO_PASS) check)
5125 @endif binutils
5127 .PHONY: install-binutils maybe-install-binutils
5128 maybe-install-binutils:
5129 @if binutils
5130 maybe-install-binutils: install-binutils
5132 install-binutils: installdirs
5133 @: $(MAKE); $(unstage)
5134 @r=`${PWD_COMMAND}`; export r; \
5135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5136 $(HOST_EXPORTS) \
5137 (cd $(HOST_SUBDIR)/binutils && \
5138 $(MAKE) $(FLAGS_TO_PASS) install)
5140 @endif binutils
5142 .PHONY: install-strip-binutils maybe-install-strip-binutils
5143 maybe-install-strip-binutils:
5144 @if binutils
5145 maybe-install-strip-binutils: install-strip-binutils
5147 install-strip-binutils: installdirs
5148 @: $(MAKE); $(unstage)
5149 @r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(HOST_EXPORTS) \
5152 (cd $(HOST_SUBDIR)/binutils && \
5153 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5155 @endif binutils
5157 # Other targets (info, dvi, pdf, etc.)
5159 .PHONY: maybe-info-binutils info-binutils
5160 maybe-info-binutils:
5161 @if binutils
5162 maybe-info-binutils: info-binutils
5164 info-binutils: \
5165 configure-binutils
5166 @[ -f ./binutils/Makefile ] || exit 0; \
5167 r=`${PWD_COMMAND}`; export r; \
5168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 $(HOST_EXPORTS) \
5170 for flag in $(EXTRA_HOST_FLAGS) ; do \
5171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5172 done; \
5173 echo "Doing info in binutils" ; \
5174 (cd $(HOST_SUBDIR)/binutils && \
5175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5177 "RANLIB=$${RANLIB}" \
5178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5179 info) \
5180 || exit 1
5182 @endif binutils
5184 .PHONY: maybe-dvi-binutils dvi-binutils
5185 maybe-dvi-binutils:
5186 @if binutils
5187 maybe-dvi-binutils: dvi-binutils
5189 dvi-binutils: \
5190 configure-binutils
5191 @[ -f ./binutils/Makefile ] || exit 0; \
5192 r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 for flag in $(EXTRA_HOST_FLAGS) ; do \
5196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 done; \
5198 echo "Doing dvi in binutils" ; \
5199 (cd $(HOST_SUBDIR)/binutils && \
5200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5202 "RANLIB=$${RANLIB}" \
5203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5204 dvi) \
5205 || exit 1
5207 @endif binutils
5209 .PHONY: maybe-pdf-binutils pdf-binutils
5210 maybe-pdf-binutils:
5211 @if binutils
5212 maybe-pdf-binutils: pdf-binutils
5214 pdf-binutils: \
5215 configure-binutils
5216 @[ -f ./binutils/Makefile ] || exit 0; \
5217 r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 for flag in $(EXTRA_HOST_FLAGS) ; do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing pdf in binutils" ; \
5224 (cd $(HOST_SUBDIR)/binutils && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5229 pdf) \
5230 || exit 1
5232 @endif binutils
5234 .PHONY: maybe-html-binutils html-binutils
5235 maybe-html-binutils:
5236 @if binutils
5237 maybe-html-binutils: html-binutils
5239 html-binutils: \
5240 configure-binutils
5241 @[ -f ./binutils/Makefile ] || exit 0; \
5242 r=`${PWD_COMMAND}`; export r; \
5243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244 $(HOST_EXPORTS) \
5245 for flag in $(EXTRA_HOST_FLAGS) ; do \
5246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5247 done; \
5248 echo "Doing html in binutils" ; \
5249 (cd $(HOST_SUBDIR)/binutils && \
5250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252 "RANLIB=$${RANLIB}" \
5253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5254 html) \
5255 || exit 1
5257 @endif binutils
5259 .PHONY: maybe-TAGS-binutils TAGS-binutils
5260 maybe-TAGS-binutils:
5261 @if binutils
5262 maybe-TAGS-binutils: TAGS-binutils
5264 TAGS-binutils: \
5265 configure-binutils
5266 @[ -f ./binutils/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 for flag in $(EXTRA_HOST_FLAGS) ; do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272 done; \
5273 echo "Doing TAGS in binutils" ; \
5274 (cd $(HOST_SUBDIR)/binutils && \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5279 TAGS) \
5280 || exit 1
5282 @endif binutils
5284 .PHONY: maybe-install-info-binutils install-info-binutils
5285 maybe-install-info-binutils:
5286 @if binutils
5287 maybe-install-info-binutils: install-info-binutils
5289 install-info-binutils: \
5290 configure-binutils \
5291 info-binutils
5292 @[ -f ./binutils/Makefile ] || exit 0; \
5293 r=`${PWD_COMMAND}`; export r; \
5294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 $(HOST_EXPORTS) \
5296 for flag in $(EXTRA_HOST_FLAGS) ; do \
5297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5298 done; \
5299 echo "Doing install-info in binutils" ; \
5300 (cd $(HOST_SUBDIR)/binutils && \
5301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5303 "RANLIB=$${RANLIB}" \
5304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5305 install-info) \
5306 || exit 1
5308 @endif binutils
5310 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5311 maybe-install-pdf-binutils:
5312 @if binutils
5313 maybe-install-pdf-binutils: install-pdf-binutils
5315 install-pdf-binutils: \
5316 configure-binutils \
5317 pdf-binutils
5318 @[ -f ./binutils/Makefile ] || exit 0; \
5319 r=`${PWD_COMMAND}`; export r; \
5320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 $(HOST_EXPORTS) \
5322 for flag in $(EXTRA_HOST_FLAGS) ; do \
5323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324 done; \
5325 echo "Doing install-pdf in binutils" ; \
5326 (cd $(HOST_SUBDIR)/binutils && \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329 "RANLIB=$${RANLIB}" \
5330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5331 install-pdf) \
5332 || exit 1
5334 @endif binutils
5336 .PHONY: maybe-install-html-binutils install-html-binutils
5337 maybe-install-html-binutils:
5338 @if binutils
5339 maybe-install-html-binutils: install-html-binutils
5341 install-html-binutils: \
5342 configure-binutils \
5343 html-binutils
5344 @[ -f ./binutils/Makefile ] || exit 0; \
5345 r=`${PWD_COMMAND}`; export r; \
5346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 $(HOST_EXPORTS) \
5348 for flag in $(EXTRA_HOST_FLAGS) ; do \
5349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350 done; \
5351 echo "Doing install-html in binutils" ; \
5352 (cd $(HOST_SUBDIR)/binutils && \
5353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355 "RANLIB=$${RANLIB}" \
5356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5357 install-html) \
5358 || exit 1
5360 @endif binutils
5362 .PHONY: maybe-installcheck-binutils installcheck-binutils
5363 maybe-installcheck-binutils:
5364 @if binutils
5365 maybe-installcheck-binutils: installcheck-binutils
5367 installcheck-binutils: \
5368 configure-binutils
5369 @[ -f ./binutils/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375 done; \
5376 echo "Doing installcheck in binutils" ; \
5377 (cd $(HOST_SUBDIR)/binutils && \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5382 installcheck) \
5383 || exit 1
5385 @endif binutils
5387 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5388 maybe-mostlyclean-binutils:
5389 @if binutils
5390 maybe-mostlyclean-binutils: mostlyclean-binutils
5392 mostlyclean-binutils:
5393 @[ -f ./binutils/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing mostlyclean in binutils" ; \
5401 (cd $(HOST_SUBDIR)/binutils && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5406 mostlyclean) \
5407 || exit 1
5409 @endif binutils
5411 .PHONY: maybe-clean-binutils clean-binutils
5412 maybe-clean-binutils:
5413 @if binutils
5414 maybe-clean-binutils: clean-binutils
5416 clean-binutils:
5417 @[ -f ./binutils/Makefile ] || exit 0; \
5418 r=`${PWD_COMMAND}`; export r; \
5419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5420 $(HOST_EXPORTS) \
5421 for flag in $(EXTRA_HOST_FLAGS) ; do \
5422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5423 done; \
5424 echo "Doing clean in binutils" ; \
5425 (cd $(HOST_SUBDIR)/binutils && \
5426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5428 "RANLIB=$${RANLIB}" \
5429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5430 clean) \
5431 || exit 1
5433 @endif binutils
5435 .PHONY: maybe-distclean-binutils distclean-binutils
5436 maybe-distclean-binutils:
5437 @if binutils
5438 maybe-distclean-binutils: distclean-binutils
5440 distclean-binutils:
5441 @[ -f ./binutils/Makefile ] || exit 0; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5444 $(HOST_EXPORTS) \
5445 for flag in $(EXTRA_HOST_FLAGS) ; do \
5446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5447 done; \
5448 echo "Doing distclean in binutils" ; \
5449 (cd $(HOST_SUBDIR)/binutils && \
5450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5452 "RANLIB=$${RANLIB}" \
5453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5454 distclean) \
5455 || exit 1
5457 @endif binutils
5459 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5460 maybe-maintainer-clean-binutils:
5461 @if binutils
5462 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5464 maintainer-clean-binutils:
5465 @[ -f ./binutils/Makefile ] || exit 0; \
5466 r=`${PWD_COMMAND}`; export r; \
5467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5468 $(HOST_EXPORTS) \
5469 for flag in $(EXTRA_HOST_FLAGS) ; do \
5470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5471 done; \
5472 echo "Doing maintainer-clean in binutils" ; \
5473 (cd $(HOST_SUBDIR)/binutils && \
5474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5476 "RANLIB=$${RANLIB}" \
5477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5478 maintainer-clean) \
5479 || exit 1
5481 @endif binutils
5485 .PHONY: configure-bison maybe-configure-bison
5486 maybe-configure-bison:
5487 @if gcc-bootstrap
5488 configure-bison: stage_current
5489 @endif gcc-bootstrap
5490 @if bison
5491 maybe-configure-bison: configure-bison
5492 configure-bison:
5493 @: $(MAKE); $(unstage)
5494 @r=`${PWD_COMMAND}`; export r; \
5495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5496 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5498 $(HOST_EXPORTS) \
5499 echo Configuring in $(HOST_SUBDIR)/bison; \
5500 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5501 case $(srcdir) in \
5502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5503 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5505 esac; \
5506 srcdiroption="--srcdir=$${topdir}/bison"; \
5507 libsrcdir="$$s/bison"; \
5508 $(SHELL) $${libsrcdir}/configure \
5509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5510 --target=${target_alias} $${srcdiroption} \
5511 || exit 1
5512 @endif bison
5518 .PHONY: all-bison maybe-all-bison
5519 maybe-all-bison:
5520 @if gcc-bootstrap
5521 all-bison: stage_current
5522 @endif gcc-bootstrap
5523 @if bison
5524 TARGET-bison=all
5525 maybe-all-bison: all-bison
5526 all-bison: configure-bison
5527 @: $(MAKE); $(unstage)
5528 @r=`${PWD_COMMAND}`; export r; \
5529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 $(HOST_EXPORTS) \
5531 (cd $(HOST_SUBDIR)/bison && \
5532 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5533 $(TARGET-bison))
5534 @endif bison
5539 .PHONY: check-bison maybe-check-bison
5540 maybe-check-bison:
5541 @if bison
5542 maybe-check-bison: check-bison
5544 # This module is only tested in a native toolchain.
5545 check-bison:
5546 @: $(MAKE); $(unstage)
5547 @if [ '$(host)' = '$(target)' ] ; then \
5548 r=`${PWD_COMMAND}`; export r; \
5549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550 $(HOST_EXPORTS) \
5551 (cd $(HOST_SUBDIR)/bison && \
5552 $(MAKE) $(FLAGS_TO_PASS) check); \
5555 @endif bison
5557 .PHONY: install-bison maybe-install-bison
5558 maybe-install-bison:
5559 @if bison
5560 maybe-install-bison: install-bison
5562 install-bison: installdirs
5563 @: $(MAKE); $(unstage)
5564 @r=`${PWD_COMMAND}`; export r; \
5565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 $(HOST_EXPORTS) \
5567 (cd $(HOST_SUBDIR)/bison && \
5568 $(MAKE) $(FLAGS_TO_PASS) install)
5570 @endif bison
5572 .PHONY: install-strip-bison maybe-install-strip-bison
5573 maybe-install-strip-bison:
5574 @if bison
5575 maybe-install-strip-bison: install-strip-bison
5577 install-strip-bison: installdirs
5578 @: $(MAKE); $(unstage)
5579 @r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 $(HOST_EXPORTS) \
5582 (cd $(HOST_SUBDIR)/bison && \
5583 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5585 @endif bison
5587 # Other targets (info, dvi, pdf, etc.)
5589 .PHONY: maybe-info-bison info-bison
5590 maybe-info-bison:
5591 @if bison
5592 maybe-info-bison: info-bison
5594 info-bison: \
5595 configure-bison
5596 @: $(MAKE); $(unstage)
5597 @[ -f ./bison/Makefile ] || exit 0; \
5598 r=`${PWD_COMMAND}`; export r; \
5599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 $(HOST_EXPORTS) \
5601 for flag in $(EXTRA_HOST_FLAGS) ; do \
5602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5603 done; \
5604 echo "Doing info in bison" ; \
5605 (cd $(HOST_SUBDIR)/bison && \
5606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5608 "RANLIB=$${RANLIB}" \
5609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5610 info) \
5611 || exit 1
5613 @endif bison
5615 .PHONY: maybe-dvi-bison dvi-bison
5616 maybe-dvi-bison:
5617 @if bison
5618 maybe-dvi-bison: dvi-bison
5620 dvi-bison: \
5621 configure-bison
5622 @: $(MAKE); $(unstage)
5623 @[ -f ./bison/Makefile ] || exit 0; \
5624 r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 $(HOST_EXPORTS) \
5627 for flag in $(EXTRA_HOST_FLAGS) ; do \
5628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5629 done; \
5630 echo "Doing dvi in bison" ; \
5631 (cd $(HOST_SUBDIR)/bison && \
5632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5634 "RANLIB=$${RANLIB}" \
5635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5636 dvi) \
5637 || exit 1
5639 @endif bison
5641 .PHONY: maybe-pdf-bison pdf-bison
5642 maybe-pdf-bison:
5643 @if bison
5644 maybe-pdf-bison: pdf-bison
5646 pdf-bison: \
5647 configure-bison
5648 @: $(MAKE); $(unstage)
5649 @[ -f ./bison/Makefile ] || exit 0; \
5650 r=`${PWD_COMMAND}`; export r; \
5651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5652 $(HOST_EXPORTS) \
5653 for flag in $(EXTRA_HOST_FLAGS) ; do \
5654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5655 done; \
5656 echo "Doing pdf in bison" ; \
5657 (cd $(HOST_SUBDIR)/bison && \
5658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5660 "RANLIB=$${RANLIB}" \
5661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5662 pdf) \
5663 || exit 1
5665 @endif bison
5667 .PHONY: maybe-html-bison html-bison
5668 maybe-html-bison:
5669 @if bison
5670 maybe-html-bison: html-bison
5672 html-bison: \
5673 configure-bison
5674 @: $(MAKE); $(unstage)
5675 @[ -f ./bison/Makefile ] || exit 0; \
5676 r=`${PWD_COMMAND}`; export r; \
5677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 $(HOST_EXPORTS) \
5679 for flag in $(EXTRA_HOST_FLAGS) ; do \
5680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5681 done; \
5682 echo "Doing html in bison" ; \
5683 (cd $(HOST_SUBDIR)/bison && \
5684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5686 "RANLIB=$${RANLIB}" \
5687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5688 html) \
5689 || exit 1
5691 @endif bison
5693 .PHONY: maybe-TAGS-bison TAGS-bison
5694 maybe-TAGS-bison:
5695 @if bison
5696 maybe-TAGS-bison: TAGS-bison
5698 TAGS-bison: \
5699 configure-bison
5700 @: $(MAKE); $(unstage)
5701 @[ -f ./bison/Makefile ] || exit 0; \
5702 r=`${PWD_COMMAND}`; export r; \
5703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5704 $(HOST_EXPORTS) \
5705 for flag in $(EXTRA_HOST_FLAGS) ; do \
5706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5707 done; \
5708 echo "Doing TAGS in bison" ; \
5709 (cd $(HOST_SUBDIR)/bison && \
5710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5712 "RANLIB=$${RANLIB}" \
5713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5714 TAGS) \
5715 || exit 1
5717 @endif bison
5719 .PHONY: maybe-install-info-bison install-info-bison
5720 maybe-install-info-bison:
5721 @if bison
5722 maybe-install-info-bison: install-info-bison
5724 install-info-bison: \
5725 configure-bison \
5726 info-bison
5727 @: $(MAKE); $(unstage)
5728 @[ -f ./bison/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS) ; do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing install-info in bison" ; \
5736 (cd $(HOST_SUBDIR)/bison && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5741 install-info) \
5742 || exit 1
5744 @endif bison
5746 .PHONY: maybe-install-pdf-bison install-pdf-bison
5747 maybe-install-pdf-bison:
5748 @if bison
5749 maybe-install-pdf-bison: install-pdf-bison
5751 install-pdf-bison: \
5752 configure-bison \
5753 pdf-bison
5754 @: $(MAKE); $(unstage)
5755 @[ -f ./bison/Makefile ] || exit 0; \
5756 r=`${PWD_COMMAND}`; export r; \
5757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5758 $(HOST_EXPORTS) \
5759 for flag in $(EXTRA_HOST_FLAGS) ; do \
5760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5761 done; \
5762 echo "Doing install-pdf in bison" ; \
5763 (cd $(HOST_SUBDIR)/bison && \
5764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5766 "RANLIB=$${RANLIB}" \
5767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5768 install-pdf) \
5769 || exit 1
5771 @endif bison
5773 .PHONY: maybe-install-html-bison install-html-bison
5774 maybe-install-html-bison:
5775 @if bison
5776 maybe-install-html-bison: install-html-bison
5778 install-html-bison: \
5779 configure-bison \
5780 html-bison
5781 @: $(MAKE); $(unstage)
5782 @[ -f ./bison/Makefile ] || exit 0; \
5783 r=`${PWD_COMMAND}`; export r; \
5784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5785 $(HOST_EXPORTS) \
5786 for flag in $(EXTRA_HOST_FLAGS) ; do \
5787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5788 done; \
5789 echo "Doing install-html in bison" ; \
5790 (cd $(HOST_SUBDIR)/bison && \
5791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5793 "RANLIB=$${RANLIB}" \
5794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5795 install-html) \
5796 || exit 1
5798 @endif bison
5800 .PHONY: maybe-installcheck-bison installcheck-bison
5801 maybe-installcheck-bison:
5802 @if bison
5803 maybe-installcheck-bison: installcheck-bison
5805 installcheck-bison: \
5806 configure-bison
5807 @: $(MAKE); $(unstage)
5808 @[ -f ./bison/Makefile ] || exit 0; \
5809 r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 for flag in $(EXTRA_HOST_FLAGS) ; do \
5813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5814 done; \
5815 echo "Doing installcheck in bison" ; \
5816 (cd $(HOST_SUBDIR)/bison && \
5817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5819 "RANLIB=$${RANLIB}" \
5820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5821 installcheck) \
5822 || exit 1
5824 @endif bison
5826 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5827 maybe-mostlyclean-bison:
5828 @if bison
5829 maybe-mostlyclean-bison: mostlyclean-bison
5831 mostlyclean-bison:
5832 @: $(MAKE); $(unstage)
5833 @[ -f ./bison/Makefile ] || exit 0; \
5834 r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 $(HOST_EXPORTS) \
5837 for flag in $(EXTRA_HOST_FLAGS) ; do \
5838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5839 done; \
5840 echo "Doing mostlyclean in bison" ; \
5841 (cd $(HOST_SUBDIR)/bison && \
5842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5844 "RANLIB=$${RANLIB}" \
5845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5846 mostlyclean) \
5847 || exit 1
5849 @endif bison
5851 .PHONY: maybe-clean-bison clean-bison
5852 maybe-clean-bison:
5853 @if bison
5854 maybe-clean-bison: clean-bison
5856 clean-bison:
5857 @: $(MAKE); $(unstage)
5858 @[ -f ./bison/Makefile ] || exit 0; \
5859 r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5861 $(HOST_EXPORTS) \
5862 for flag in $(EXTRA_HOST_FLAGS) ; do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5864 done; \
5865 echo "Doing clean in bison" ; \
5866 (cd $(HOST_SUBDIR)/bison && \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5871 clean) \
5872 || exit 1
5874 @endif bison
5876 .PHONY: maybe-distclean-bison distclean-bison
5877 maybe-distclean-bison:
5878 @if bison
5879 maybe-distclean-bison: distclean-bison
5881 distclean-bison:
5882 @: $(MAKE); $(unstage)
5883 @[ -f ./bison/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing distclean in bison" ; \
5891 (cd $(HOST_SUBDIR)/bison && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5896 distclean) \
5897 || exit 1
5899 @endif bison
5901 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5902 maybe-maintainer-clean-bison:
5903 @if bison
5904 maybe-maintainer-clean-bison: maintainer-clean-bison
5906 maintainer-clean-bison:
5907 @: $(MAKE); $(unstage)
5908 @[ -f ./bison/Makefile ] || exit 0; \
5909 r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing maintainer-clean in bison" ; \
5916 (cd $(HOST_SUBDIR)/bison && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5921 maintainer-clean) \
5922 || exit 1
5924 @endif bison
5928 .PHONY: configure-cgen maybe-configure-cgen
5929 maybe-configure-cgen:
5930 @if gcc-bootstrap
5931 configure-cgen: stage_current
5932 @endif gcc-bootstrap
5933 @if cgen
5934 maybe-configure-cgen: configure-cgen
5935 configure-cgen:
5936 @: $(MAKE); $(unstage)
5937 @r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5941 $(HOST_EXPORTS) \
5942 echo Configuring in $(HOST_SUBDIR)/cgen; \
5943 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5944 case $(srcdir) in \
5945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5946 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
5947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5948 esac; \
5949 srcdiroption="--srcdir=$${topdir}/cgen"; \
5950 libsrcdir="$$s/cgen"; \
5951 $(SHELL) $${libsrcdir}/configure \
5952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5953 --target=${target_alias} $${srcdiroption} \
5954 || exit 1
5955 @endif cgen
5961 .PHONY: all-cgen maybe-all-cgen
5962 maybe-all-cgen:
5963 @if gcc-bootstrap
5964 all-cgen: stage_current
5965 @endif gcc-bootstrap
5966 @if cgen
5967 TARGET-cgen=all
5968 maybe-all-cgen: all-cgen
5969 all-cgen: configure-cgen
5970 @: $(MAKE); $(unstage)
5971 @r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 $(HOST_EXPORTS) \
5974 (cd $(HOST_SUBDIR)/cgen && \
5975 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5976 $(TARGET-cgen))
5977 @endif cgen
5982 .PHONY: check-cgen maybe-check-cgen
5983 maybe-check-cgen:
5984 @if cgen
5985 maybe-check-cgen: check-cgen
5987 check-cgen:
5988 @: $(MAKE); $(unstage)
5989 @r=`${PWD_COMMAND}`; export r; \
5990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5991 $(HOST_EXPORTS) \
5992 (cd $(HOST_SUBDIR)/cgen && \
5993 $(MAKE) $(FLAGS_TO_PASS) check)
5995 @endif cgen
5997 .PHONY: install-cgen maybe-install-cgen
5998 maybe-install-cgen:
5999 @if cgen
6000 maybe-install-cgen: install-cgen
6002 install-cgen: installdirs
6003 @: $(MAKE); $(unstage)
6004 @r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(HOST_EXPORTS) \
6007 (cd $(HOST_SUBDIR)/cgen && \
6008 $(MAKE) $(FLAGS_TO_PASS) install)
6010 @endif cgen
6012 .PHONY: install-strip-cgen maybe-install-strip-cgen
6013 maybe-install-strip-cgen:
6014 @if cgen
6015 maybe-install-strip-cgen: install-strip-cgen
6017 install-strip-cgen: installdirs
6018 @: $(MAKE); $(unstage)
6019 @r=`${PWD_COMMAND}`; export r; \
6020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 $(HOST_EXPORTS) \
6022 (cd $(HOST_SUBDIR)/cgen && \
6023 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6025 @endif cgen
6027 # Other targets (info, dvi, pdf, etc.)
6029 .PHONY: maybe-info-cgen info-cgen
6030 maybe-info-cgen:
6031 @if cgen
6032 maybe-info-cgen: info-cgen
6034 info-cgen: \
6035 configure-cgen
6036 @: $(MAKE); $(unstage)
6037 @[ -f ./cgen/Makefile ] || exit 0; \
6038 r=`${PWD_COMMAND}`; export r; \
6039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6040 $(HOST_EXPORTS) \
6041 for flag in $(EXTRA_HOST_FLAGS) ; do \
6042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6043 done; \
6044 echo "Doing info in cgen" ; \
6045 (cd $(HOST_SUBDIR)/cgen && \
6046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6048 "RANLIB=$${RANLIB}" \
6049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6050 info) \
6051 || exit 1
6053 @endif cgen
6055 .PHONY: maybe-dvi-cgen dvi-cgen
6056 maybe-dvi-cgen:
6057 @if cgen
6058 maybe-dvi-cgen: dvi-cgen
6060 dvi-cgen: \
6061 configure-cgen
6062 @: $(MAKE); $(unstage)
6063 @[ -f ./cgen/Makefile ] || exit 0; \
6064 r=`${PWD_COMMAND}`; export r; \
6065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6066 $(HOST_EXPORTS) \
6067 for flag in $(EXTRA_HOST_FLAGS) ; do \
6068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6069 done; \
6070 echo "Doing dvi in cgen" ; \
6071 (cd $(HOST_SUBDIR)/cgen && \
6072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6074 "RANLIB=$${RANLIB}" \
6075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6076 dvi) \
6077 || exit 1
6079 @endif cgen
6081 .PHONY: maybe-pdf-cgen pdf-cgen
6082 maybe-pdf-cgen:
6083 @if cgen
6084 maybe-pdf-cgen: pdf-cgen
6086 pdf-cgen: \
6087 configure-cgen
6088 @: $(MAKE); $(unstage)
6089 @[ -f ./cgen/Makefile ] || exit 0; \
6090 r=`${PWD_COMMAND}`; export r; \
6091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6092 $(HOST_EXPORTS) \
6093 for flag in $(EXTRA_HOST_FLAGS) ; do \
6094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6095 done; \
6096 echo "Doing pdf in cgen" ; \
6097 (cd $(HOST_SUBDIR)/cgen && \
6098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6100 "RANLIB=$${RANLIB}" \
6101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6102 pdf) \
6103 || exit 1
6105 @endif cgen
6107 .PHONY: maybe-html-cgen html-cgen
6108 maybe-html-cgen:
6109 @if cgen
6110 maybe-html-cgen: html-cgen
6112 html-cgen: \
6113 configure-cgen
6114 @: $(MAKE); $(unstage)
6115 @[ -f ./cgen/Makefile ] || exit 0; \
6116 r=`${PWD_COMMAND}`; export r; \
6117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6118 $(HOST_EXPORTS) \
6119 for flag in $(EXTRA_HOST_FLAGS) ; do \
6120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6121 done; \
6122 echo "Doing html in cgen" ; \
6123 (cd $(HOST_SUBDIR)/cgen && \
6124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6126 "RANLIB=$${RANLIB}" \
6127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6128 html) \
6129 || exit 1
6131 @endif cgen
6133 .PHONY: maybe-TAGS-cgen TAGS-cgen
6134 maybe-TAGS-cgen:
6135 @if cgen
6136 maybe-TAGS-cgen: TAGS-cgen
6138 TAGS-cgen: \
6139 configure-cgen
6140 @: $(MAKE); $(unstage)
6141 @[ -f ./cgen/Makefile ] || exit 0; \
6142 r=`${PWD_COMMAND}`; export r; \
6143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 $(HOST_EXPORTS) \
6145 for flag in $(EXTRA_HOST_FLAGS) ; do \
6146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6147 done; \
6148 echo "Doing TAGS in cgen" ; \
6149 (cd $(HOST_SUBDIR)/cgen && \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6152 "RANLIB=$${RANLIB}" \
6153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6154 TAGS) \
6155 || exit 1
6157 @endif cgen
6159 .PHONY: maybe-install-info-cgen install-info-cgen
6160 maybe-install-info-cgen:
6161 @if cgen
6162 maybe-install-info-cgen: install-info-cgen
6164 install-info-cgen: \
6165 configure-cgen \
6166 info-cgen
6167 @: $(MAKE); $(unstage)
6168 @[ -f ./cgen/Makefile ] || exit 0; \
6169 r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 for flag in $(EXTRA_HOST_FLAGS) ; do \
6173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6174 done; \
6175 echo "Doing install-info in cgen" ; \
6176 (cd $(HOST_SUBDIR)/cgen && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6179 "RANLIB=$${RANLIB}" \
6180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6181 install-info) \
6182 || exit 1
6184 @endif cgen
6186 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6187 maybe-install-pdf-cgen:
6188 @if cgen
6189 maybe-install-pdf-cgen: install-pdf-cgen
6191 install-pdf-cgen: \
6192 configure-cgen \
6193 pdf-cgen
6194 @: $(MAKE); $(unstage)
6195 @[ -f ./cgen/Makefile ] || exit 0; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6198 $(HOST_EXPORTS) \
6199 for flag in $(EXTRA_HOST_FLAGS) ; do \
6200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6201 done; \
6202 echo "Doing install-pdf in cgen" ; \
6203 (cd $(HOST_SUBDIR)/cgen && \
6204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6206 "RANLIB=$${RANLIB}" \
6207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6208 install-pdf) \
6209 || exit 1
6211 @endif cgen
6213 .PHONY: maybe-install-html-cgen install-html-cgen
6214 maybe-install-html-cgen:
6215 @if cgen
6216 maybe-install-html-cgen: install-html-cgen
6218 install-html-cgen: \
6219 configure-cgen \
6220 html-cgen
6221 @: $(MAKE); $(unstage)
6222 @[ -f ./cgen/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(HOST_EXPORTS) \
6226 for flag in $(EXTRA_HOST_FLAGS) ; do \
6227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6228 done; \
6229 echo "Doing install-html in cgen" ; \
6230 (cd $(HOST_SUBDIR)/cgen && \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6235 install-html) \
6236 || exit 1
6238 @endif cgen
6240 .PHONY: maybe-installcheck-cgen installcheck-cgen
6241 maybe-installcheck-cgen:
6242 @if cgen
6243 maybe-installcheck-cgen: installcheck-cgen
6245 installcheck-cgen: \
6246 configure-cgen
6247 @: $(MAKE); $(unstage)
6248 @[ -f ./cgen/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing installcheck in cgen" ; \
6256 (cd $(HOST_SUBDIR)/cgen && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6261 installcheck) \
6262 || exit 1
6264 @endif cgen
6266 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6267 maybe-mostlyclean-cgen:
6268 @if cgen
6269 maybe-mostlyclean-cgen: mostlyclean-cgen
6271 mostlyclean-cgen:
6272 @: $(MAKE); $(unstage)
6273 @[ -f ./cgen/Makefile ] || exit 0; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 $(HOST_EXPORTS) \
6277 for flag in $(EXTRA_HOST_FLAGS) ; do \
6278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6279 done; \
6280 echo "Doing mostlyclean in cgen" ; \
6281 (cd $(HOST_SUBDIR)/cgen && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6284 "RANLIB=$${RANLIB}" \
6285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6286 mostlyclean) \
6287 || exit 1
6289 @endif cgen
6291 .PHONY: maybe-clean-cgen clean-cgen
6292 maybe-clean-cgen:
6293 @if cgen
6294 maybe-clean-cgen: clean-cgen
6296 clean-cgen:
6297 @: $(MAKE); $(unstage)
6298 @[ -f ./cgen/Makefile ] || exit 0; \
6299 r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(HOST_EXPORTS) \
6302 for flag in $(EXTRA_HOST_FLAGS) ; do \
6303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6304 done; \
6305 echo "Doing clean in cgen" ; \
6306 (cd $(HOST_SUBDIR)/cgen && \
6307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6309 "RANLIB=$${RANLIB}" \
6310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6311 clean) \
6312 || exit 1
6314 @endif cgen
6316 .PHONY: maybe-distclean-cgen distclean-cgen
6317 maybe-distclean-cgen:
6318 @if cgen
6319 maybe-distclean-cgen: distclean-cgen
6321 distclean-cgen:
6322 @: $(MAKE); $(unstage)
6323 @[ -f ./cgen/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 $(HOST_EXPORTS) \
6327 for flag in $(EXTRA_HOST_FLAGS) ; do \
6328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6329 done; \
6330 echo "Doing distclean in cgen" ; \
6331 (cd $(HOST_SUBDIR)/cgen && \
6332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6334 "RANLIB=$${RANLIB}" \
6335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6336 distclean) \
6337 || exit 1
6339 @endif cgen
6341 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6342 maybe-maintainer-clean-cgen:
6343 @if cgen
6344 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6346 maintainer-clean-cgen:
6347 @: $(MAKE); $(unstage)
6348 @[ -f ./cgen/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(HOST_EXPORTS) \
6352 for flag in $(EXTRA_HOST_FLAGS) ; do \
6353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 done; \
6355 echo "Doing maintainer-clean in cgen" ; \
6356 (cd $(HOST_SUBDIR)/cgen && \
6357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6359 "RANLIB=$${RANLIB}" \
6360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6361 maintainer-clean) \
6362 || exit 1
6364 @endif cgen
6368 .PHONY: configure-dejagnu maybe-configure-dejagnu
6369 maybe-configure-dejagnu:
6370 @if gcc-bootstrap
6371 configure-dejagnu: stage_current
6372 @endif gcc-bootstrap
6373 @if dejagnu
6374 maybe-configure-dejagnu: configure-dejagnu
6375 configure-dejagnu:
6376 @: $(MAKE); $(unstage)
6377 @r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6381 $(HOST_EXPORTS) \
6382 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6383 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6384 case $(srcdir) in \
6385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6386 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6388 esac; \
6389 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6390 libsrcdir="$$s/dejagnu"; \
6391 $(SHELL) $${libsrcdir}/configure \
6392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6393 --target=${target_alias} $${srcdiroption} \
6394 || exit 1
6395 @endif dejagnu
6401 .PHONY: all-dejagnu maybe-all-dejagnu
6402 maybe-all-dejagnu:
6403 @if gcc-bootstrap
6404 all-dejagnu: stage_current
6405 @endif gcc-bootstrap
6406 @if dejagnu
6407 TARGET-dejagnu=all
6408 maybe-all-dejagnu: all-dejagnu
6409 all-dejagnu: configure-dejagnu
6410 @: $(MAKE); $(unstage)
6411 @r=`${PWD_COMMAND}`; export r; \
6412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6413 $(HOST_EXPORTS) \
6414 (cd $(HOST_SUBDIR)/dejagnu && \
6415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6416 $(TARGET-dejagnu))
6417 @endif dejagnu
6422 .PHONY: check-dejagnu maybe-check-dejagnu
6423 maybe-check-dejagnu:
6424 @if dejagnu
6425 maybe-check-dejagnu: check-dejagnu
6427 check-dejagnu:
6428 @: $(MAKE); $(unstage)
6429 @r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(HOST_EXPORTS) \
6432 (cd $(HOST_SUBDIR)/dejagnu && \
6433 $(MAKE) $(FLAGS_TO_PASS) check)
6435 @endif dejagnu
6437 .PHONY: install-dejagnu maybe-install-dejagnu
6438 maybe-install-dejagnu:
6439 @if dejagnu
6440 maybe-install-dejagnu: install-dejagnu
6442 install-dejagnu: installdirs
6443 @: $(MAKE); $(unstage)
6444 @r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(HOST_EXPORTS) \
6447 (cd $(HOST_SUBDIR)/dejagnu && \
6448 $(MAKE) $(FLAGS_TO_PASS) install)
6450 @endif dejagnu
6452 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6453 maybe-install-strip-dejagnu:
6454 @if dejagnu
6455 maybe-install-strip-dejagnu: install-strip-dejagnu
6457 install-strip-dejagnu: installdirs
6458 @: $(MAKE); $(unstage)
6459 @r=`${PWD_COMMAND}`; export r; \
6460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6461 $(HOST_EXPORTS) \
6462 (cd $(HOST_SUBDIR)/dejagnu && \
6463 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6465 @endif dejagnu
6467 # Other targets (info, dvi, pdf, etc.)
6469 .PHONY: maybe-info-dejagnu info-dejagnu
6470 maybe-info-dejagnu:
6471 @if dejagnu
6472 maybe-info-dejagnu: info-dejagnu
6474 info-dejagnu: \
6475 configure-dejagnu
6476 @: $(MAKE); $(unstage)
6477 @[ -f ./dejagnu/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 $(HOST_EXPORTS) \
6481 for flag in $(EXTRA_HOST_FLAGS) ; do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 done; \
6484 echo "Doing info in dejagnu" ; \
6485 (cd $(HOST_SUBDIR)/dejagnu && \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6490 info) \
6491 || exit 1
6493 @endif dejagnu
6495 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6496 maybe-dvi-dejagnu:
6497 @if dejagnu
6498 maybe-dvi-dejagnu: dvi-dejagnu
6500 dvi-dejagnu: \
6501 configure-dejagnu
6502 @: $(MAKE); $(unstage)
6503 @[ -f ./dejagnu/Makefile ] || exit 0; \
6504 r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing dvi in dejagnu" ; \
6511 (cd $(HOST_SUBDIR)/dejagnu && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6516 dvi) \
6517 || exit 1
6519 @endif dejagnu
6521 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6522 maybe-pdf-dejagnu:
6523 @if dejagnu
6524 maybe-pdf-dejagnu: pdf-dejagnu
6526 pdf-dejagnu: \
6527 configure-dejagnu
6528 @: $(MAKE); $(unstage)
6529 @[ -f ./dejagnu/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing pdf in dejagnu" ; \
6537 (cd $(HOST_SUBDIR)/dejagnu && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6542 pdf) \
6543 || exit 1
6545 @endif dejagnu
6547 .PHONY: maybe-html-dejagnu html-dejagnu
6548 maybe-html-dejagnu:
6549 @if dejagnu
6550 maybe-html-dejagnu: html-dejagnu
6552 html-dejagnu: \
6553 configure-dejagnu
6554 @: $(MAKE); $(unstage)
6555 @[ -f ./dejagnu/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing html in dejagnu" ; \
6563 (cd $(HOST_SUBDIR)/dejagnu && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6568 html) \
6569 || exit 1
6571 @endif dejagnu
6573 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6574 maybe-TAGS-dejagnu:
6575 @if dejagnu
6576 maybe-TAGS-dejagnu: TAGS-dejagnu
6578 TAGS-dejagnu: \
6579 configure-dejagnu
6580 @: $(MAKE); $(unstage)
6581 @[ -f ./dejagnu/Makefile ] || exit 0; \
6582 r=`${PWD_COMMAND}`; export r; \
6583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 $(HOST_EXPORTS) \
6585 for flag in $(EXTRA_HOST_FLAGS) ; do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 done; \
6588 echo "Doing TAGS in dejagnu" ; \
6589 (cd $(HOST_SUBDIR)/dejagnu && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6594 TAGS) \
6595 || exit 1
6597 @endif dejagnu
6599 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6600 maybe-install-info-dejagnu:
6601 @if dejagnu
6602 maybe-install-info-dejagnu: install-info-dejagnu
6604 install-info-dejagnu: \
6605 configure-dejagnu \
6606 info-dejagnu
6607 @: $(MAKE); $(unstage)
6608 @[ -f ./dejagnu/Makefile ] || exit 0; \
6609 r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 $(HOST_EXPORTS) \
6612 for flag in $(EXTRA_HOST_FLAGS) ; do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 done; \
6615 echo "Doing install-info in dejagnu" ; \
6616 (cd $(HOST_SUBDIR)/dejagnu && \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6621 install-info) \
6622 || exit 1
6624 @endif dejagnu
6626 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6627 maybe-install-pdf-dejagnu:
6628 @if dejagnu
6629 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6631 install-pdf-dejagnu: \
6632 configure-dejagnu \
6633 pdf-dejagnu
6634 @: $(MAKE); $(unstage)
6635 @[ -f ./dejagnu/Makefile ] || exit 0; \
6636 r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(HOST_EXPORTS) \
6639 for flag in $(EXTRA_HOST_FLAGS) ; do \
6640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6641 done; \
6642 echo "Doing install-pdf in dejagnu" ; \
6643 (cd $(HOST_SUBDIR)/dejagnu && \
6644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6646 "RANLIB=$${RANLIB}" \
6647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6648 install-pdf) \
6649 || exit 1
6651 @endif dejagnu
6653 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6654 maybe-install-html-dejagnu:
6655 @if dejagnu
6656 maybe-install-html-dejagnu: install-html-dejagnu
6658 install-html-dejagnu: \
6659 configure-dejagnu \
6660 html-dejagnu
6661 @: $(MAKE); $(unstage)
6662 @[ -f ./dejagnu/Makefile ] || exit 0; \
6663 r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665 $(HOST_EXPORTS) \
6666 for flag in $(EXTRA_HOST_FLAGS) ; do \
6667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6668 done; \
6669 echo "Doing install-html in dejagnu" ; \
6670 (cd $(HOST_SUBDIR)/dejagnu && \
6671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6673 "RANLIB=$${RANLIB}" \
6674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6675 install-html) \
6676 || exit 1
6678 @endif dejagnu
6680 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6681 maybe-installcheck-dejagnu:
6682 @if dejagnu
6683 maybe-installcheck-dejagnu: installcheck-dejagnu
6685 installcheck-dejagnu: \
6686 configure-dejagnu
6687 @: $(MAKE); $(unstage)
6688 @[ -f ./dejagnu/Makefile ] || exit 0; \
6689 r=`${PWD_COMMAND}`; export r; \
6690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6691 $(HOST_EXPORTS) \
6692 for flag in $(EXTRA_HOST_FLAGS) ; do \
6693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6694 done; \
6695 echo "Doing installcheck in dejagnu" ; \
6696 (cd $(HOST_SUBDIR)/dejagnu && \
6697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6699 "RANLIB=$${RANLIB}" \
6700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6701 installcheck) \
6702 || exit 1
6704 @endif dejagnu
6706 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6707 maybe-mostlyclean-dejagnu:
6708 @if dejagnu
6709 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6711 mostlyclean-dejagnu:
6712 @: $(MAKE); $(unstage)
6713 @[ -f ./dejagnu/Makefile ] || exit 0; \
6714 r=`${PWD_COMMAND}`; export r; \
6715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6716 $(HOST_EXPORTS) \
6717 for flag in $(EXTRA_HOST_FLAGS) ; do \
6718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6719 done; \
6720 echo "Doing mostlyclean in dejagnu" ; \
6721 (cd $(HOST_SUBDIR)/dejagnu && \
6722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724 "RANLIB=$${RANLIB}" \
6725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6726 mostlyclean) \
6727 || exit 1
6729 @endif dejagnu
6731 .PHONY: maybe-clean-dejagnu clean-dejagnu
6732 maybe-clean-dejagnu:
6733 @if dejagnu
6734 maybe-clean-dejagnu: clean-dejagnu
6736 clean-dejagnu:
6737 @: $(MAKE); $(unstage)
6738 @[ -f ./dejagnu/Makefile ] || exit 0; \
6739 r=`${PWD_COMMAND}`; export r; \
6740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 $(HOST_EXPORTS) \
6742 for flag in $(EXTRA_HOST_FLAGS) ; do \
6743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6744 done; \
6745 echo "Doing clean in dejagnu" ; \
6746 (cd $(HOST_SUBDIR)/dejagnu && \
6747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6749 "RANLIB=$${RANLIB}" \
6750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6751 clean) \
6752 || exit 1
6754 @endif dejagnu
6756 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6757 maybe-distclean-dejagnu:
6758 @if dejagnu
6759 maybe-distclean-dejagnu: distclean-dejagnu
6761 distclean-dejagnu:
6762 @: $(MAKE); $(unstage)
6763 @[ -f ./dejagnu/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing distclean in dejagnu" ; \
6771 (cd $(HOST_SUBDIR)/dejagnu && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 distclean) \
6777 || exit 1
6779 @endif dejagnu
6781 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6782 maybe-maintainer-clean-dejagnu:
6783 @if dejagnu
6784 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6786 maintainer-clean-dejagnu:
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./dejagnu/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing maintainer-clean in dejagnu" ; \
6796 (cd $(HOST_SUBDIR)/dejagnu && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6801 maintainer-clean) \
6802 || exit 1
6804 @endif dejagnu
6808 .PHONY: configure-etc maybe-configure-etc
6809 maybe-configure-etc:
6810 @if gcc-bootstrap
6811 configure-etc: stage_current
6812 @endif gcc-bootstrap
6813 @if etc
6814 maybe-configure-etc: configure-etc
6815 configure-etc:
6816 @: $(MAKE); $(unstage)
6817 @r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6821 $(HOST_EXPORTS) \
6822 echo Configuring in $(HOST_SUBDIR)/etc; \
6823 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6824 case $(srcdir) in \
6825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6826 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6828 esac; \
6829 srcdiroption="--srcdir=$${topdir}/etc"; \
6830 libsrcdir="$$s/etc"; \
6831 $(SHELL) $${libsrcdir}/configure \
6832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6833 --target=${target_alias} $${srcdiroption} \
6834 || exit 1
6835 @endif etc
6841 .PHONY: all-etc maybe-all-etc
6842 maybe-all-etc:
6843 @if gcc-bootstrap
6844 all-etc: stage_current
6845 @endif gcc-bootstrap
6846 @if etc
6847 TARGET-etc=all
6848 maybe-all-etc: all-etc
6849 all-etc: configure-etc
6850 @: $(MAKE); $(unstage)
6851 @r=`${PWD_COMMAND}`; export r; \
6852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 $(HOST_EXPORTS) \
6854 (cd $(HOST_SUBDIR)/etc && \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6856 $(TARGET-etc))
6857 @endif etc
6862 .PHONY: check-etc maybe-check-etc
6863 maybe-check-etc:
6864 @if etc
6865 maybe-check-etc: check-etc
6867 check-etc:
6868 @: $(MAKE); $(unstage)
6869 @r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 $(HOST_EXPORTS) \
6872 (cd $(HOST_SUBDIR)/etc && \
6873 $(MAKE) $(FLAGS_TO_PASS) check)
6875 @endif etc
6877 .PHONY: install-etc maybe-install-etc
6878 maybe-install-etc:
6879 @if etc
6880 maybe-install-etc: install-etc
6882 install-etc: installdirs
6883 @: $(MAKE); $(unstage)
6884 @r=`${PWD_COMMAND}`; export r; \
6885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6886 $(HOST_EXPORTS) \
6887 (cd $(HOST_SUBDIR)/etc && \
6888 $(MAKE) $(FLAGS_TO_PASS) install)
6890 @endif etc
6892 .PHONY: install-strip-etc maybe-install-strip-etc
6893 maybe-install-strip-etc:
6894 @if etc
6895 maybe-install-strip-etc: install-strip-etc
6897 install-strip-etc: installdirs
6898 @: $(MAKE); $(unstage)
6899 @r=`${PWD_COMMAND}`; export r; \
6900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6901 $(HOST_EXPORTS) \
6902 (cd $(HOST_SUBDIR)/etc && \
6903 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6905 @endif etc
6907 # Other targets (info, dvi, pdf, etc.)
6909 .PHONY: maybe-info-etc info-etc
6910 maybe-info-etc:
6911 @if etc
6912 maybe-info-etc: info-etc
6914 info-etc: \
6915 configure-etc
6916 @: $(MAKE); $(unstage)
6917 @[ -f ./etc/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 $(HOST_EXPORTS) \
6921 for flag in $(EXTRA_HOST_FLAGS) ; do \
6922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6923 done; \
6924 echo "Doing info in etc" ; \
6925 (cd $(HOST_SUBDIR)/etc && \
6926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6928 "RANLIB=$${RANLIB}" \
6929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6930 info) \
6931 || exit 1
6933 @endif etc
6935 .PHONY: maybe-dvi-etc dvi-etc
6936 maybe-dvi-etc:
6937 @if etc
6938 maybe-dvi-etc: dvi-etc
6940 dvi-etc: \
6941 configure-etc
6942 @: $(MAKE); $(unstage)
6943 @[ -f ./etc/Makefile ] || exit 0; \
6944 r=`${PWD_COMMAND}`; export r; \
6945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 $(HOST_EXPORTS) \
6947 for flag in $(EXTRA_HOST_FLAGS) ; do \
6948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6949 done; \
6950 echo "Doing dvi in etc" ; \
6951 (cd $(HOST_SUBDIR)/etc && \
6952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6954 "RANLIB=$${RANLIB}" \
6955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6956 dvi) \
6957 || exit 1
6959 @endif etc
6961 .PHONY: maybe-pdf-etc pdf-etc
6962 maybe-pdf-etc:
6963 @if etc
6964 maybe-pdf-etc: pdf-etc
6966 pdf-etc: \
6967 configure-etc
6968 @: $(MAKE); $(unstage)
6969 @[ -f ./etc/Makefile ] || exit 0; \
6970 r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(HOST_EXPORTS) \
6973 for flag in $(EXTRA_HOST_FLAGS) ; do \
6974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6975 done; \
6976 echo "Doing pdf in etc" ; \
6977 (cd $(HOST_SUBDIR)/etc && \
6978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6980 "RANLIB=$${RANLIB}" \
6981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6982 pdf) \
6983 || exit 1
6985 @endif etc
6987 .PHONY: maybe-html-etc html-etc
6988 maybe-html-etc:
6989 @if etc
6990 maybe-html-etc: html-etc
6992 html-etc: \
6993 configure-etc
6994 @: $(MAKE); $(unstage)
6995 @[ -f ./etc/Makefile ] || exit 0; \
6996 r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998 $(HOST_EXPORTS) \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing html in etc" ; \
7003 (cd $(HOST_SUBDIR)/etc && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7008 html) \
7009 || exit 1
7011 @endif etc
7013 .PHONY: maybe-TAGS-etc TAGS-etc
7014 maybe-TAGS-etc:
7015 @if etc
7016 maybe-TAGS-etc: TAGS-etc
7018 TAGS-etc: \
7019 configure-etc
7020 @: $(MAKE); $(unstage)
7021 @[ -f ./etc/Makefile ] || exit 0; \
7022 r=`${PWD_COMMAND}`; export r; \
7023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7024 $(HOST_EXPORTS) \
7025 for flag in $(EXTRA_HOST_FLAGS) ; do \
7026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7027 done; \
7028 echo "Doing TAGS in etc" ; \
7029 (cd $(HOST_SUBDIR)/etc && \
7030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7032 "RANLIB=$${RANLIB}" \
7033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7034 TAGS) \
7035 || exit 1
7037 @endif etc
7039 .PHONY: maybe-install-info-etc install-info-etc
7040 maybe-install-info-etc:
7041 @if etc
7042 maybe-install-info-etc: install-info-etc
7044 install-info-etc: \
7045 configure-etc \
7046 info-etc
7047 @: $(MAKE); $(unstage)
7048 @[ -f ./etc/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing install-info in etc" ; \
7056 (cd $(HOST_SUBDIR)/etc && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7061 install-info) \
7062 || exit 1
7064 @endif etc
7066 .PHONY: maybe-install-pdf-etc install-pdf-etc
7067 maybe-install-pdf-etc:
7068 @if etc
7069 maybe-install-pdf-etc: install-pdf-etc
7071 install-pdf-etc: \
7072 configure-etc \
7073 pdf-etc
7074 @: $(MAKE); $(unstage)
7075 @[ -f ./etc/Makefile ] || exit 0; \
7076 r=`${PWD_COMMAND}`; export r; \
7077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7078 $(HOST_EXPORTS) \
7079 for flag in $(EXTRA_HOST_FLAGS) ; do \
7080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7081 done; \
7082 echo "Doing install-pdf in etc" ; \
7083 (cd $(HOST_SUBDIR)/etc && \
7084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7086 "RANLIB=$${RANLIB}" \
7087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7088 install-pdf) \
7089 || exit 1
7091 @endif etc
7093 .PHONY: maybe-install-html-etc install-html-etc
7094 maybe-install-html-etc:
7095 @if etc
7096 maybe-install-html-etc: install-html-etc
7098 install-html-etc: \
7099 configure-etc \
7100 html-etc
7101 @: $(MAKE); $(unstage)
7102 @[ -f ./etc/Makefile ] || exit 0; \
7103 r=`${PWD_COMMAND}`; export r; \
7104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7105 $(HOST_EXPORTS) \
7106 for flag in $(EXTRA_HOST_FLAGS) ; do \
7107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7108 done; \
7109 echo "Doing install-html in etc" ; \
7110 (cd $(HOST_SUBDIR)/etc && \
7111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7113 "RANLIB=$${RANLIB}" \
7114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7115 install-html) \
7116 || exit 1
7118 @endif etc
7120 .PHONY: maybe-installcheck-etc installcheck-etc
7121 maybe-installcheck-etc:
7122 @if etc
7123 maybe-installcheck-etc: installcheck-etc
7125 installcheck-etc: \
7126 configure-etc
7127 @: $(MAKE); $(unstage)
7128 @[ -f ./etc/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134 done; \
7135 echo "Doing installcheck in etc" ; \
7136 (cd $(HOST_SUBDIR)/etc && \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7141 installcheck) \
7142 || exit 1
7144 @endif etc
7146 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7147 maybe-mostlyclean-etc:
7148 @if etc
7149 maybe-mostlyclean-etc: mostlyclean-etc
7151 mostlyclean-etc:
7152 @: $(MAKE); $(unstage)
7153 @[ -f ./etc/Makefile ] || exit 0; \
7154 r=`${PWD_COMMAND}`; export r; \
7155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7156 $(HOST_EXPORTS) \
7157 for flag in $(EXTRA_HOST_FLAGS) ; do \
7158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7159 done; \
7160 echo "Doing mostlyclean in etc" ; \
7161 (cd $(HOST_SUBDIR)/etc && \
7162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7164 "RANLIB=$${RANLIB}" \
7165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7166 mostlyclean) \
7167 || exit 1
7169 @endif etc
7171 .PHONY: maybe-clean-etc clean-etc
7172 maybe-clean-etc:
7173 @if etc
7174 maybe-clean-etc: clean-etc
7176 clean-etc:
7177 @: $(MAKE); $(unstage)
7178 @[ -f ./etc/Makefile ] || exit 0; \
7179 r=`${PWD_COMMAND}`; export r; \
7180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7181 $(HOST_EXPORTS) \
7182 for flag in $(EXTRA_HOST_FLAGS) ; do \
7183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7184 done; \
7185 echo "Doing clean in etc" ; \
7186 (cd $(HOST_SUBDIR)/etc && \
7187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7189 "RANLIB=$${RANLIB}" \
7190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7191 clean) \
7192 || exit 1
7194 @endif etc
7196 .PHONY: maybe-distclean-etc distclean-etc
7197 maybe-distclean-etc:
7198 @if etc
7199 maybe-distclean-etc: distclean-etc
7201 distclean-etc:
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./etc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing distclean in etc" ; \
7211 (cd $(HOST_SUBDIR)/etc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7216 distclean) \
7217 || exit 1
7219 @endif etc
7221 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7222 maybe-maintainer-clean-etc:
7223 @if etc
7224 maybe-maintainer-clean-etc: maintainer-clean-etc
7226 maintainer-clean-etc:
7227 @: $(MAKE); $(unstage)
7228 @[ -f ./etc/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 $(HOST_EXPORTS) \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing maintainer-clean in etc" ; \
7236 (cd $(HOST_SUBDIR)/etc && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7241 maintainer-clean) \
7242 || exit 1
7244 @endif etc
7248 .PHONY: configure-fastjar maybe-configure-fastjar
7249 maybe-configure-fastjar:
7250 @if gcc-bootstrap
7251 configure-fastjar: stage_current
7252 @endif gcc-bootstrap
7253 @if fastjar
7254 maybe-configure-fastjar: configure-fastjar
7255 configure-fastjar:
7256 @: $(MAKE); $(unstage)
7257 @r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7261 $(HOST_EXPORTS) \
7262 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7263 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7264 case $(srcdir) in \
7265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7266 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7268 esac; \
7269 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7270 libsrcdir="$$s/fastjar"; \
7271 $(SHELL) $${libsrcdir}/configure \
7272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7273 --target=${target_alias} $${srcdiroption} \
7274 || exit 1
7275 @endif fastjar
7281 .PHONY: all-fastjar maybe-all-fastjar
7282 maybe-all-fastjar:
7283 @if gcc-bootstrap
7284 all-fastjar: stage_current
7285 @endif gcc-bootstrap
7286 @if fastjar
7287 TARGET-fastjar=all
7288 maybe-all-fastjar: all-fastjar
7289 all-fastjar: configure-fastjar
7290 @: $(MAKE); $(unstage)
7291 @r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 $(HOST_EXPORTS) \
7294 (cd $(HOST_SUBDIR)/fastjar && \
7295 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7296 $(TARGET-fastjar))
7297 @endif fastjar
7302 .PHONY: check-fastjar maybe-check-fastjar
7303 maybe-check-fastjar:
7304 @if fastjar
7305 maybe-check-fastjar: check-fastjar
7307 # This module is only tested in a native toolchain.
7308 check-fastjar:
7309 @: $(MAKE); $(unstage)
7310 @if [ '$(host)' = '$(target)' ] ; then \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 $(HOST_EXPORTS) \
7314 (cd $(HOST_SUBDIR)/fastjar && \
7315 $(MAKE) $(FLAGS_TO_PASS) check); \
7318 @endif fastjar
7320 .PHONY: install-fastjar maybe-install-fastjar
7321 maybe-install-fastjar:
7322 @if fastjar
7323 maybe-install-fastjar: install-fastjar
7325 install-fastjar: installdirs
7326 @: $(MAKE); $(unstage)
7327 @r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(HOST_EXPORTS) \
7330 (cd $(HOST_SUBDIR)/fastjar && \
7331 $(MAKE) $(FLAGS_TO_PASS) install)
7333 @endif fastjar
7335 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7336 maybe-install-strip-fastjar:
7337 @if fastjar
7338 maybe-install-strip-fastjar: install-strip-fastjar
7340 install-strip-fastjar: installdirs
7341 @: $(MAKE); $(unstage)
7342 @r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 $(HOST_EXPORTS) \
7345 (cd $(HOST_SUBDIR)/fastjar && \
7346 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7348 @endif fastjar
7350 # Other targets (info, dvi, pdf, etc.)
7352 .PHONY: maybe-info-fastjar info-fastjar
7353 maybe-info-fastjar:
7354 @if fastjar
7355 maybe-info-fastjar: info-fastjar
7357 info-fastjar: \
7358 configure-fastjar
7359 @: $(MAKE); $(unstage)
7360 @[ -f ./fastjar/Makefile ] || exit 0; \
7361 r=`${PWD_COMMAND}`; export r; \
7362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7363 $(HOST_EXPORTS) \
7364 for flag in $(EXTRA_HOST_FLAGS) ; do \
7365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7366 done; \
7367 echo "Doing info in fastjar" ; \
7368 (cd $(HOST_SUBDIR)/fastjar && \
7369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7371 "RANLIB=$${RANLIB}" \
7372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7373 info) \
7374 || exit 1
7376 @endif fastjar
7378 .PHONY: maybe-dvi-fastjar dvi-fastjar
7379 maybe-dvi-fastjar:
7380 @if fastjar
7381 maybe-dvi-fastjar: dvi-fastjar
7383 dvi-fastjar: \
7384 configure-fastjar
7385 @: $(MAKE); $(unstage)
7386 @[ -f ./fastjar/Makefile ] || exit 0; \
7387 r=`${PWD_COMMAND}`; export r; \
7388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7389 $(HOST_EXPORTS) \
7390 for flag in $(EXTRA_HOST_FLAGS) ; do \
7391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7392 done; \
7393 echo "Doing dvi in fastjar" ; \
7394 (cd $(HOST_SUBDIR)/fastjar && \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7397 "RANLIB=$${RANLIB}" \
7398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7399 dvi) \
7400 || exit 1
7402 @endif fastjar
7404 .PHONY: maybe-pdf-fastjar pdf-fastjar
7405 maybe-pdf-fastjar:
7406 @if fastjar
7407 maybe-pdf-fastjar: pdf-fastjar
7409 pdf-fastjar: \
7410 configure-fastjar
7411 @: $(MAKE); $(unstage)
7412 @[ -f ./fastjar/Makefile ] || exit 0; \
7413 r=`${PWD_COMMAND}`; export r; \
7414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415 $(HOST_EXPORTS) \
7416 for flag in $(EXTRA_HOST_FLAGS) ; do \
7417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7418 done; \
7419 echo "Doing pdf in fastjar" ; \
7420 (cd $(HOST_SUBDIR)/fastjar && \
7421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7423 "RANLIB=$${RANLIB}" \
7424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7425 pdf) \
7426 || exit 1
7428 @endif fastjar
7430 .PHONY: maybe-html-fastjar html-fastjar
7431 maybe-html-fastjar:
7432 @if fastjar
7433 maybe-html-fastjar: html-fastjar
7435 html-fastjar: \
7436 configure-fastjar
7437 @: $(MAKE); $(unstage)
7438 @[ -f ./fastjar/Makefile ] || exit 0; \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(HOST_EXPORTS) \
7442 for flag in $(EXTRA_HOST_FLAGS) ; do \
7443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7444 done; \
7445 echo "Doing html in fastjar" ; \
7446 (cd $(HOST_SUBDIR)/fastjar && \
7447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7449 "RANLIB=$${RANLIB}" \
7450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7451 html) \
7452 || exit 1
7454 @endif fastjar
7456 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7457 maybe-TAGS-fastjar:
7458 @if fastjar
7459 maybe-TAGS-fastjar: TAGS-fastjar
7461 TAGS-fastjar: \
7462 configure-fastjar
7463 @: $(MAKE); $(unstage)
7464 @[ -f ./fastjar/Makefile ] || exit 0; \
7465 r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 $(HOST_EXPORTS) \
7468 for flag in $(EXTRA_HOST_FLAGS) ; do \
7469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7470 done; \
7471 echo "Doing TAGS in fastjar" ; \
7472 (cd $(HOST_SUBDIR)/fastjar && \
7473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7475 "RANLIB=$${RANLIB}" \
7476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7477 TAGS) \
7478 || exit 1
7480 @endif fastjar
7482 .PHONY: maybe-install-info-fastjar install-info-fastjar
7483 maybe-install-info-fastjar:
7484 @if fastjar
7485 maybe-install-info-fastjar: install-info-fastjar
7487 install-info-fastjar: \
7488 configure-fastjar \
7489 info-fastjar
7490 @: $(MAKE); $(unstage)
7491 @[ -f ./fastjar/Makefile ] || exit 0; \
7492 r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 $(HOST_EXPORTS) \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 done; \
7498 echo "Doing install-info in fastjar" ; \
7499 (cd $(HOST_SUBDIR)/fastjar && \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7504 install-info) \
7505 || exit 1
7507 @endif fastjar
7509 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7510 maybe-install-pdf-fastjar:
7511 @if fastjar
7512 maybe-install-pdf-fastjar: install-pdf-fastjar
7514 install-pdf-fastjar: \
7515 configure-fastjar \
7516 pdf-fastjar
7517 @: $(MAKE); $(unstage)
7518 @[ -f ./fastjar/Makefile ] || exit 0; \
7519 r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing install-pdf in fastjar" ; \
7526 (cd $(HOST_SUBDIR)/fastjar && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7531 install-pdf) \
7532 || exit 1
7534 @endif fastjar
7536 .PHONY: maybe-install-html-fastjar install-html-fastjar
7537 maybe-install-html-fastjar:
7538 @if fastjar
7539 maybe-install-html-fastjar: install-html-fastjar
7541 install-html-fastjar: \
7542 configure-fastjar \
7543 html-fastjar
7544 @: $(MAKE); $(unstage)
7545 @[ -f ./fastjar/Makefile ] || exit 0; \
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 for flag in $(EXTRA_HOST_FLAGS) ; do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing install-html in fastjar" ; \
7553 (cd $(HOST_SUBDIR)/fastjar && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7558 install-html) \
7559 || exit 1
7561 @endif fastjar
7563 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7564 maybe-installcheck-fastjar:
7565 @if fastjar
7566 maybe-installcheck-fastjar: installcheck-fastjar
7568 installcheck-fastjar: \
7569 configure-fastjar
7570 @: $(MAKE); $(unstage)
7571 @[ -f ./fastjar/Makefile ] || exit 0; \
7572 r=`${PWD_COMMAND}`; export r; \
7573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7574 $(HOST_EXPORTS) \
7575 for flag in $(EXTRA_HOST_FLAGS) ; do \
7576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7577 done; \
7578 echo "Doing installcheck in fastjar" ; \
7579 (cd $(HOST_SUBDIR)/fastjar && \
7580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7582 "RANLIB=$${RANLIB}" \
7583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7584 installcheck) \
7585 || exit 1
7587 @endif fastjar
7589 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7590 maybe-mostlyclean-fastjar:
7591 @if fastjar
7592 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7594 mostlyclean-fastjar:
7595 @: $(MAKE); $(unstage)
7596 @[ -f ./fastjar/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing mostlyclean in fastjar" ; \
7604 (cd $(HOST_SUBDIR)/fastjar && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7609 mostlyclean) \
7610 || exit 1
7612 @endif fastjar
7614 .PHONY: maybe-clean-fastjar clean-fastjar
7615 maybe-clean-fastjar:
7616 @if fastjar
7617 maybe-clean-fastjar: clean-fastjar
7619 clean-fastjar:
7620 @: $(MAKE); $(unstage)
7621 @[ -f ./fastjar/Makefile ] || exit 0; \
7622 r=`${PWD_COMMAND}`; export r; \
7623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7624 $(HOST_EXPORTS) \
7625 for flag in $(EXTRA_HOST_FLAGS) ; do \
7626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7627 done; \
7628 echo "Doing clean in fastjar" ; \
7629 (cd $(HOST_SUBDIR)/fastjar && \
7630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7632 "RANLIB=$${RANLIB}" \
7633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7634 clean) \
7635 || exit 1
7637 @endif fastjar
7639 .PHONY: maybe-distclean-fastjar distclean-fastjar
7640 maybe-distclean-fastjar:
7641 @if fastjar
7642 maybe-distclean-fastjar: distclean-fastjar
7644 distclean-fastjar:
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing distclean in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 distclean) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7665 maybe-maintainer-clean-fastjar:
7666 @if fastjar
7667 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7669 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
7685 || exit 1
7687 @endif fastjar
7691 .PHONY: configure-fixincludes maybe-configure-fixincludes
7692 maybe-configure-fixincludes:
7693 @if gcc-bootstrap
7694 configure-fixincludes: stage_current
7695 @endif gcc-bootstrap
7696 @if fixincludes
7697 maybe-configure-fixincludes: configure-fixincludes
7698 configure-fixincludes:
7699 @: $(MAKE); $(unstage)
7700 @r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7704 $(HOST_EXPORTS) \
7705 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7706 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7707 case $(srcdir) in \
7708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7709 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7711 esac; \
7712 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7713 libsrcdir="$$s/fixincludes"; \
7714 $(SHELL) $${libsrcdir}/configure \
7715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7716 --target=${target_alias} $${srcdiroption} \
7717 || exit 1
7718 @endif fixincludes
7724 .PHONY: all-fixincludes maybe-all-fixincludes
7725 maybe-all-fixincludes:
7726 @if gcc-bootstrap
7727 all-fixincludes: stage_current
7728 @endif gcc-bootstrap
7729 @if fixincludes
7730 TARGET-fixincludes=all
7731 maybe-all-fixincludes: all-fixincludes
7732 all-fixincludes: configure-fixincludes
7733 @: $(MAKE); $(unstage)
7734 @r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 $(HOST_EXPORTS) \
7737 (cd $(HOST_SUBDIR)/fixincludes && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7739 $(TARGET-fixincludes))
7740 @endif fixincludes
7745 .PHONY: check-fixincludes maybe-check-fixincludes
7746 maybe-check-fixincludes:
7747 @if fixincludes
7748 maybe-check-fixincludes: check-fixincludes
7750 check-fixincludes:
7751 @: $(MAKE); $(unstage)
7752 @r=`${PWD_COMMAND}`; export r; \
7753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7754 $(HOST_EXPORTS) \
7755 (cd $(HOST_SUBDIR)/fixincludes && \
7756 $(MAKE) $(FLAGS_TO_PASS) check)
7758 @endif fixincludes
7760 .PHONY: install-fixincludes maybe-install-fixincludes
7761 maybe-install-fixincludes:
7762 @if fixincludes
7763 maybe-install-fixincludes: install-fixincludes
7765 install-fixincludes: installdirs
7766 @: $(MAKE); $(unstage)
7767 @r=`${PWD_COMMAND}`; export r; \
7768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7769 $(HOST_EXPORTS) \
7770 (cd $(HOST_SUBDIR)/fixincludes && \
7771 $(MAKE) $(FLAGS_TO_PASS) install)
7773 @endif fixincludes
7775 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7776 maybe-install-strip-fixincludes:
7777 @if fixincludes
7778 maybe-install-strip-fixincludes: install-strip-fixincludes
7780 install-strip-fixincludes: installdirs
7781 @: $(MAKE); $(unstage)
7782 @r=`${PWD_COMMAND}`; export r; \
7783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7784 $(HOST_EXPORTS) \
7785 (cd $(HOST_SUBDIR)/fixincludes && \
7786 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7788 @endif fixincludes
7790 # Other targets (info, dvi, pdf, etc.)
7792 .PHONY: maybe-info-fixincludes info-fixincludes
7793 maybe-info-fixincludes:
7794 @if fixincludes
7795 maybe-info-fixincludes: info-fixincludes
7797 info-fixincludes: \
7798 configure-fixincludes
7799 @: $(MAKE); $(unstage)
7800 @[ -f ./fixincludes/Makefile ] || exit 0; \
7801 r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 $(HOST_EXPORTS) \
7804 for flag in $(EXTRA_HOST_FLAGS) ; do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing info in fixincludes" ; \
7808 (cd $(HOST_SUBDIR)/fixincludes && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7813 info) \
7814 || exit 1
7816 @endif fixincludes
7818 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7819 maybe-dvi-fixincludes:
7820 @if fixincludes
7821 maybe-dvi-fixincludes: dvi-fixincludes
7823 dvi-fixincludes: \
7824 configure-fixincludes
7825 @: $(MAKE); $(unstage)
7826 @[ -f ./fixincludes/Makefile ] || exit 0; \
7827 r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(HOST_EXPORTS) \
7830 for flag in $(EXTRA_HOST_FLAGS) ; do \
7831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 done; \
7833 echo "Doing dvi in fixincludes" ; \
7834 (cd $(HOST_SUBDIR)/fixincludes && \
7835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837 "RANLIB=$${RANLIB}" \
7838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7839 dvi) \
7840 || exit 1
7842 @endif fixincludes
7844 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7845 maybe-pdf-fixincludes:
7846 @if fixincludes
7847 maybe-pdf-fixincludes: pdf-fixincludes
7849 pdf-fixincludes: \
7850 configure-fixincludes
7851 @: $(MAKE); $(unstage)
7852 @[ -f ./fixincludes/Makefile ] || exit 0; \
7853 r=`${PWD_COMMAND}`; export r; \
7854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7855 $(HOST_EXPORTS) \
7856 for flag in $(EXTRA_HOST_FLAGS) ; do \
7857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7858 done; \
7859 echo "Doing pdf in fixincludes" ; \
7860 (cd $(HOST_SUBDIR)/fixincludes && \
7861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7863 "RANLIB=$${RANLIB}" \
7864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7865 pdf) \
7866 || exit 1
7868 @endif fixincludes
7870 .PHONY: maybe-html-fixincludes html-fixincludes
7871 maybe-html-fixincludes:
7872 @if fixincludes
7873 maybe-html-fixincludes: html-fixincludes
7875 html-fixincludes: \
7876 configure-fixincludes
7877 @: $(MAKE); $(unstage)
7878 @[ -f ./fixincludes/Makefile ] || exit 0; \
7879 r=`${PWD_COMMAND}`; export r; \
7880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7881 $(HOST_EXPORTS) \
7882 for flag in $(EXTRA_HOST_FLAGS) ; do \
7883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7884 done; \
7885 echo "Doing html in fixincludes" ; \
7886 (cd $(HOST_SUBDIR)/fixincludes && \
7887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7889 "RANLIB=$${RANLIB}" \
7890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7891 html) \
7892 || exit 1
7894 @endif fixincludes
7896 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7897 maybe-TAGS-fixincludes:
7898 @if fixincludes
7899 maybe-TAGS-fixincludes: TAGS-fixincludes
7901 # fixincludes doesn't support TAGS.
7902 TAGS-fixincludes:
7904 @endif fixincludes
7906 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7907 maybe-install-info-fixincludes:
7908 @if fixincludes
7909 maybe-install-info-fixincludes: install-info-fixincludes
7911 install-info-fixincludes: \
7912 configure-fixincludes \
7913 info-fixincludes
7914 @: $(MAKE); $(unstage)
7915 @[ -f ./fixincludes/Makefile ] || exit 0; \
7916 r=`${PWD_COMMAND}`; export r; \
7917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918 $(HOST_EXPORTS) \
7919 for flag in $(EXTRA_HOST_FLAGS) ; do \
7920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7921 done; \
7922 echo "Doing install-info in fixincludes" ; \
7923 (cd $(HOST_SUBDIR)/fixincludes && \
7924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7926 "RANLIB=$${RANLIB}" \
7927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7928 install-info) \
7929 || exit 1
7931 @endif fixincludes
7933 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7934 maybe-install-pdf-fixincludes:
7935 @if fixincludes
7936 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7938 install-pdf-fixincludes: \
7939 configure-fixincludes \
7940 pdf-fixincludes
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./fixincludes/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing install-pdf in fixincludes" ; \
7950 (cd $(HOST_SUBDIR)/fixincludes && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 install-pdf) \
7956 || exit 1
7958 @endif fixincludes
7960 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
7961 maybe-install-html-fixincludes:
7962 @if fixincludes
7963 maybe-install-html-fixincludes: install-html-fixincludes
7965 install-html-fixincludes: \
7966 configure-fixincludes \
7967 html-fixincludes
7968 @: $(MAKE); $(unstage)
7969 @[ -f ./fixincludes/Makefile ] || exit 0; \
7970 r=`${PWD_COMMAND}`; export r; \
7971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7972 $(HOST_EXPORTS) \
7973 for flag in $(EXTRA_HOST_FLAGS) ; do \
7974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7975 done; \
7976 echo "Doing install-html in fixincludes" ; \
7977 (cd $(HOST_SUBDIR)/fixincludes && \
7978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7980 "RANLIB=$${RANLIB}" \
7981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7982 install-html) \
7983 || exit 1
7985 @endif fixincludes
7987 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
7988 maybe-installcheck-fixincludes:
7989 @if fixincludes
7990 maybe-installcheck-fixincludes: installcheck-fixincludes
7992 installcheck-fixincludes: \
7993 configure-fixincludes
7994 @: $(MAKE); $(unstage)
7995 @[ -f ./fixincludes/Makefile ] || exit 0; \
7996 r=`${PWD_COMMAND}`; export r; \
7997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998 $(HOST_EXPORTS) \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 done; \
8002 echo "Doing installcheck in fixincludes" ; \
8003 (cd $(HOST_SUBDIR)/fixincludes && \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8008 installcheck) \
8009 || exit 1
8011 @endif fixincludes
8013 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8014 maybe-mostlyclean-fixincludes:
8015 @if fixincludes
8016 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8018 mostlyclean-fixincludes:
8019 @: $(MAKE); $(unstage)
8020 @[ -f ./fixincludes/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing mostlyclean in fixincludes" ; \
8028 (cd $(HOST_SUBDIR)/fixincludes && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8033 mostlyclean) \
8034 || exit 1
8036 @endif fixincludes
8038 .PHONY: maybe-clean-fixincludes clean-fixincludes
8039 maybe-clean-fixincludes:
8040 @if fixincludes
8041 maybe-clean-fixincludes: clean-fixincludes
8043 clean-fixincludes:
8044 @: $(MAKE); $(unstage)
8045 @[ -f ./fixincludes/Makefile ] || exit 0; \
8046 r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 $(HOST_EXPORTS) \
8049 for flag in $(EXTRA_HOST_FLAGS) ; do \
8050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8051 done; \
8052 echo "Doing clean in fixincludes" ; \
8053 (cd $(HOST_SUBDIR)/fixincludes && \
8054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8056 "RANLIB=$${RANLIB}" \
8057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8058 clean) \
8059 || exit 1
8061 @endif fixincludes
8063 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8064 maybe-distclean-fixincludes:
8065 @if fixincludes
8066 maybe-distclean-fixincludes: distclean-fixincludes
8068 distclean-fixincludes:
8069 @: $(MAKE); $(unstage)
8070 @[ -f ./fixincludes/Makefile ] || exit 0; \
8071 r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(HOST_EXPORTS) \
8074 for flag in $(EXTRA_HOST_FLAGS) ; do \
8075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8076 done; \
8077 echo "Doing distclean in fixincludes" ; \
8078 (cd $(HOST_SUBDIR)/fixincludes && \
8079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8081 "RANLIB=$${RANLIB}" \
8082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8083 distclean) \
8084 || exit 1
8086 @endif fixincludes
8088 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8089 maybe-maintainer-clean-fixincludes:
8090 @if fixincludes
8091 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8093 maintainer-clean-fixincludes:
8094 @: $(MAKE); $(unstage)
8095 @[ -f ./fixincludes/Makefile ] || exit 0; \
8096 r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(HOST_EXPORTS) \
8099 for flag in $(EXTRA_HOST_FLAGS) ; do \
8100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8101 done; \
8102 echo "Doing maintainer-clean in fixincludes" ; \
8103 (cd $(HOST_SUBDIR)/fixincludes && \
8104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8106 "RANLIB=$${RANLIB}" \
8107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8108 maintainer-clean) \
8109 || exit 1
8111 @endif fixincludes
8115 .PHONY: configure-flex maybe-configure-flex
8116 maybe-configure-flex:
8117 @if gcc-bootstrap
8118 configure-flex: stage_current
8119 @endif gcc-bootstrap
8120 @if flex
8121 maybe-configure-flex: configure-flex
8122 configure-flex:
8123 @: $(MAKE); $(unstage)
8124 @r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8128 $(HOST_EXPORTS) \
8129 echo Configuring in $(HOST_SUBDIR)/flex; \
8130 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8131 case $(srcdir) in \
8132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8133 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8135 esac; \
8136 srcdiroption="--srcdir=$${topdir}/flex"; \
8137 libsrcdir="$$s/flex"; \
8138 $(SHELL) $${libsrcdir}/configure \
8139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8140 --target=${target_alias} $${srcdiroption} \
8141 || exit 1
8142 @endif flex
8148 .PHONY: all-flex maybe-all-flex
8149 maybe-all-flex:
8150 @if gcc-bootstrap
8151 all-flex: stage_current
8152 @endif gcc-bootstrap
8153 @if flex
8154 TARGET-flex=all
8155 maybe-all-flex: all-flex
8156 all-flex: configure-flex
8157 @: $(MAKE); $(unstage)
8158 @r=`${PWD_COMMAND}`; export r; \
8159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160 $(HOST_EXPORTS) \
8161 (cd $(HOST_SUBDIR)/flex && \
8162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8163 $(TARGET-flex))
8164 @endif flex
8169 .PHONY: check-flex maybe-check-flex
8170 maybe-check-flex:
8171 @if flex
8172 maybe-check-flex: check-flex
8174 # This module is only tested in a native toolchain.
8175 check-flex:
8176 @: $(MAKE); $(unstage)
8177 @if [ '$(host)' = '$(target)' ] ; then \
8178 r=`${PWD_COMMAND}`; export r; \
8179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 $(HOST_EXPORTS) \
8181 (cd $(HOST_SUBDIR)/flex && \
8182 $(MAKE) $(FLAGS_TO_PASS) check); \
8185 @endif flex
8187 .PHONY: install-flex maybe-install-flex
8188 maybe-install-flex:
8189 @if flex
8190 maybe-install-flex: install-flex
8192 install-flex: installdirs
8193 @: $(MAKE); $(unstage)
8194 @r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 $(HOST_EXPORTS) \
8197 (cd $(HOST_SUBDIR)/flex && \
8198 $(MAKE) $(FLAGS_TO_PASS) install)
8200 @endif flex
8202 .PHONY: install-strip-flex maybe-install-strip-flex
8203 maybe-install-strip-flex:
8204 @if flex
8205 maybe-install-strip-flex: install-strip-flex
8207 install-strip-flex: installdirs
8208 @: $(MAKE); $(unstage)
8209 @r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 $(HOST_EXPORTS) \
8212 (cd $(HOST_SUBDIR)/flex && \
8213 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8215 @endif flex
8217 # Other targets (info, dvi, pdf, etc.)
8219 .PHONY: maybe-info-flex info-flex
8220 maybe-info-flex:
8221 @if flex
8222 maybe-info-flex: info-flex
8224 info-flex: \
8225 configure-flex
8226 @: $(MAKE); $(unstage)
8227 @[ -f ./flex/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 for flag in $(EXTRA_HOST_FLAGS) ; do \
8232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 done; \
8234 echo "Doing info in flex" ; \
8235 (cd $(HOST_SUBDIR)/flex && \
8236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8238 "RANLIB=$${RANLIB}" \
8239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8240 info) \
8241 || exit 1
8243 @endif flex
8245 .PHONY: maybe-dvi-flex dvi-flex
8246 maybe-dvi-flex:
8247 @if flex
8248 maybe-dvi-flex: dvi-flex
8250 dvi-flex: \
8251 configure-flex
8252 @: $(MAKE); $(unstage)
8253 @[ -f ./flex/Makefile ] || exit 0; \
8254 r=`${PWD_COMMAND}`; export r; \
8255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 $(HOST_EXPORTS) \
8257 for flag in $(EXTRA_HOST_FLAGS) ; do \
8258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8259 done; \
8260 echo "Doing dvi in flex" ; \
8261 (cd $(HOST_SUBDIR)/flex && \
8262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8264 "RANLIB=$${RANLIB}" \
8265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8266 dvi) \
8267 || exit 1
8269 @endif flex
8271 .PHONY: maybe-pdf-flex pdf-flex
8272 maybe-pdf-flex:
8273 @if flex
8274 maybe-pdf-flex: pdf-flex
8276 pdf-flex: \
8277 configure-flex
8278 @: $(MAKE); $(unstage)
8279 @[ -f ./flex/Makefile ] || exit 0; \
8280 r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 for flag in $(EXTRA_HOST_FLAGS) ; do \
8284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8285 done; \
8286 echo "Doing pdf in flex" ; \
8287 (cd $(HOST_SUBDIR)/flex && \
8288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8290 "RANLIB=$${RANLIB}" \
8291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8292 pdf) \
8293 || exit 1
8295 @endif flex
8297 .PHONY: maybe-html-flex html-flex
8298 maybe-html-flex:
8299 @if flex
8300 maybe-html-flex: html-flex
8302 html-flex: \
8303 configure-flex
8304 @: $(MAKE); $(unstage)
8305 @[ -f ./flex/Makefile ] || exit 0; \
8306 r=`${PWD_COMMAND}`; export r; \
8307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8308 $(HOST_EXPORTS) \
8309 for flag in $(EXTRA_HOST_FLAGS) ; do \
8310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8311 done; \
8312 echo "Doing html in flex" ; \
8313 (cd $(HOST_SUBDIR)/flex && \
8314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8316 "RANLIB=$${RANLIB}" \
8317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8318 html) \
8319 || exit 1
8321 @endif flex
8323 .PHONY: maybe-TAGS-flex TAGS-flex
8324 maybe-TAGS-flex:
8325 @if flex
8326 maybe-TAGS-flex: TAGS-flex
8328 TAGS-flex: \
8329 configure-flex
8330 @: $(MAKE); $(unstage)
8331 @[ -f ./flex/Makefile ] || exit 0; \
8332 r=`${PWD_COMMAND}`; export r; \
8333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8334 $(HOST_EXPORTS) \
8335 for flag in $(EXTRA_HOST_FLAGS) ; do \
8336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8337 done; \
8338 echo "Doing TAGS in flex" ; \
8339 (cd $(HOST_SUBDIR)/flex && \
8340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8342 "RANLIB=$${RANLIB}" \
8343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8344 TAGS) \
8345 || exit 1
8347 @endif flex
8349 .PHONY: maybe-install-info-flex install-info-flex
8350 maybe-install-info-flex:
8351 @if flex
8352 maybe-install-info-flex: install-info-flex
8354 install-info-flex: \
8355 configure-flex \
8356 info-flex
8357 @: $(MAKE); $(unstage)
8358 @[ -f ./flex/Makefile ] || exit 0; \
8359 r=`${PWD_COMMAND}`; export r; \
8360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8361 $(HOST_EXPORTS) \
8362 for flag in $(EXTRA_HOST_FLAGS) ; do \
8363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8364 done; \
8365 echo "Doing install-info in flex" ; \
8366 (cd $(HOST_SUBDIR)/flex && \
8367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8369 "RANLIB=$${RANLIB}" \
8370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8371 install-info) \
8372 || exit 1
8374 @endif flex
8376 .PHONY: maybe-install-pdf-flex install-pdf-flex
8377 maybe-install-pdf-flex:
8378 @if flex
8379 maybe-install-pdf-flex: install-pdf-flex
8381 install-pdf-flex: \
8382 configure-flex \
8383 pdf-flex
8384 @: $(MAKE); $(unstage)
8385 @[ -f ./flex/Makefile ] || exit 0; \
8386 r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 $(HOST_EXPORTS) \
8389 for flag in $(EXTRA_HOST_FLAGS) ; do \
8390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8391 done; \
8392 echo "Doing install-pdf in flex" ; \
8393 (cd $(HOST_SUBDIR)/flex && \
8394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8396 "RANLIB=$${RANLIB}" \
8397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8398 install-pdf) \
8399 || exit 1
8401 @endif flex
8403 .PHONY: maybe-install-html-flex install-html-flex
8404 maybe-install-html-flex:
8405 @if flex
8406 maybe-install-html-flex: install-html-flex
8408 install-html-flex: \
8409 configure-flex \
8410 html-flex
8411 @: $(MAKE); $(unstage)
8412 @[ -f ./flex/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing install-html in flex" ; \
8420 (cd $(HOST_SUBDIR)/flex && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8425 install-html) \
8426 || exit 1
8428 @endif flex
8430 .PHONY: maybe-installcheck-flex installcheck-flex
8431 maybe-installcheck-flex:
8432 @if flex
8433 maybe-installcheck-flex: installcheck-flex
8435 installcheck-flex: \
8436 configure-flex
8437 @: $(MAKE); $(unstage)
8438 @[ -f ./flex/Makefile ] || exit 0; \
8439 r=`${PWD_COMMAND}`; export r; \
8440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 $(HOST_EXPORTS) \
8442 for flag in $(EXTRA_HOST_FLAGS) ; do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 done; \
8445 echo "Doing installcheck in flex" ; \
8446 (cd $(HOST_SUBDIR)/flex && \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8451 installcheck) \
8452 || exit 1
8454 @endif flex
8456 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8457 maybe-mostlyclean-flex:
8458 @if flex
8459 maybe-mostlyclean-flex: mostlyclean-flex
8461 mostlyclean-flex:
8462 @: $(MAKE); $(unstage)
8463 @[ -f ./flex/Makefile ] || exit 0; \
8464 r=`${PWD_COMMAND}`; export r; \
8465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8466 $(HOST_EXPORTS) \
8467 for flag in $(EXTRA_HOST_FLAGS) ; do \
8468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8469 done; \
8470 echo "Doing mostlyclean in flex" ; \
8471 (cd $(HOST_SUBDIR)/flex && \
8472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8474 "RANLIB=$${RANLIB}" \
8475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8476 mostlyclean) \
8477 || exit 1
8479 @endif flex
8481 .PHONY: maybe-clean-flex clean-flex
8482 maybe-clean-flex:
8483 @if flex
8484 maybe-clean-flex: clean-flex
8486 clean-flex:
8487 @: $(MAKE); $(unstage)
8488 @[ -f ./flex/Makefile ] || exit 0; \
8489 r=`${PWD_COMMAND}`; export r; \
8490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8491 $(HOST_EXPORTS) \
8492 for flag in $(EXTRA_HOST_FLAGS) ; do \
8493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8494 done; \
8495 echo "Doing clean in flex" ; \
8496 (cd $(HOST_SUBDIR)/flex && \
8497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8499 "RANLIB=$${RANLIB}" \
8500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8501 clean) \
8502 || exit 1
8504 @endif flex
8506 .PHONY: maybe-distclean-flex distclean-flex
8507 maybe-distclean-flex:
8508 @if flex
8509 maybe-distclean-flex: distclean-flex
8511 distclean-flex:
8512 @: $(MAKE); $(unstage)
8513 @[ -f ./flex/Makefile ] || exit 0; \
8514 r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 $(HOST_EXPORTS) \
8517 for flag in $(EXTRA_HOST_FLAGS) ; do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8519 done; \
8520 echo "Doing distclean in flex" ; \
8521 (cd $(HOST_SUBDIR)/flex && \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8526 distclean) \
8527 || exit 1
8529 @endif flex
8531 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8532 maybe-maintainer-clean-flex:
8533 @if flex
8534 maybe-maintainer-clean-flex: maintainer-clean-flex
8536 maintainer-clean-flex:
8537 @: $(MAKE); $(unstage)
8538 @[ -f ./flex/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing maintainer-clean in flex" ; \
8546 (cd $(HOST_SUBDIR)/flex && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8551 maintainer-clean) \
8552 || exit 1
8554 @endif flex
8558 .PHONY: configure-gas maybe-configure-gas
8559 maybe-configure-gas:
8560 @if gcc-bootstrap
8561 configure-gas: stage_current
8562 @endif gcc-bootstrap
8563 @if gas
8564 maybe-configure-gas: configure-gas
8565 configure-gas:
8566 @r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8570 $(HOST_EXPORTS) \
8571 echo Configuring in $(HOST_SUBDIR)/gas; \
8572 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8573 case $(srcdir) in \
8574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8575 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8577 esac; \
8578 srcdiroption="--srcdir=$${topdir}/gas"; \
8579 libsrcdir="$$s/gas"; \
8580 $(SHELL) $${libsrcdir}/configure \
8581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8582 --target=${target_alias} $${srcdiroption} \
8583 || exit 1
8584 @endif gas
8588 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8589 maybe-configure-stage1-gas:
8590 @if gas-bootstrap
8591 maybe-configure-stage1-gas: configure-stage1-gas
8592 configure-stage1-gas:
8593 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8595 @r=`${PWD_COMMAND}`; export r; \
8596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8597 TFLAGS="$(STAGE1_TFLAGS)"; \
8598 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8599 $(HOST_EXPORTS) \
8600 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8601 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8602 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8603 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8605 cd $(HOST_SUBDIR)/gas || exit 1; \
8606 case $(srcdir) in \
8607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8608 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8610 esac; \
8611 srcdiroption="--srcdir=$${topdir}/gas"; \
8612 libsrcdir="$$s/gas"; \
8613 $(SHELL) $${libsrcdir}/configure \
8614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8615 --target=${target_alias} $${srcdiroption} \
8616 $(STAGE1_CONFIGURE_FLAGS)
8617 @endif gas-bootstrap
8619 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8620 maybe-configure-stage2-gas:
8621 @if gas-bootstrap
8622 maybe-configure-stage2-gas: configure-stage2-gas
8623 configure-stage2-gas:
8624 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8626 @r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 TFLAGS="$(STAGE2_TFLAGS)"; \
8629 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8630 $(HOST_EXPORTS) \
8631 $(POSTSTAGE1_HOST_EXPORTS) \
8632 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8633 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8634 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8635 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8637 cd $(HOST_SUBDIR)/gas || exit 1; \
8638 case $(srcdir) in \
8639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8640 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8642 esac; \
8643 srcdiroption="--srcdir=$${topdir}/gas"; \
8644 libsrcdir="$$s/gas"; \
8645 $(SHELL) $${libsrcdir}/configure \
8646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8647 --target=${target_alias} $${srcdiroption} \
8648 --with-build-libsubdir=$(HOST_SUBDIR) \
8649 $(STAGE2_CONFIGURE_FLAGS)
8650 @endif gas-bootstrap
8652 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8653 maybe-configure-stage3-gas:
8654 @if gas-bootstrap
8655 maybe-configure-stage3-gas: configure-stage3-gas
8656 configure-stage3-gas:
8657 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8659 @r=`${PWD_COMMAND}`; export r; \
8660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8661 TFLAGS="$(STAGE3_TFLAGS)"; \
8662 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8663 $(HOST_EXPORTS) \
8664 $(POSTSTAGE1_HOST_EXPORTS) \
8665 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8666 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8667 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8668 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8670 cd $(HOST_SUBDIR)/gas || exit 1; \
8671 case $(srcdir) in \
8672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8673 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8675 esac; \
8676 srcdiroption="--srcdir=$${topdir}/gas"; \
8677 libsrcdir="$$s/gas"; \
8678 $(SHELL) $${libsrcdir}/configure \
8679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8680 --target=${target_alias} $${srcdiroption} \
8681 --with-build-libsubdir=$(HOST_SUBDIR) \
8682 $(STAGE3_CONFIGURE_FLAGS)
8683 @endif gas-bootstrap
8685 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8686 maybe-configure-stage4-gas:
8687 @if gas-bootstrap
8688 maybe-configure-stage4-gas: configure-stage4-gas
8689 configure-stage4-gas:
8690 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8692 @r=`${PWD_COMMAND}`; export r; \
8693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8694 TFLAGS="$(STAGE4_TFLAGS)"; \
8695 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8696 $(HOST_EXPORTS) \
8697 $(POSTSTAGE1_HOST_EXPORTS) \
8698 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8699 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8700 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8701 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8703 cd $(HOST_SUBDIR)/gas || exit 1; \
8704 case $(srcdir) in \
8705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8706 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8708 esac; \
8709 srcdiroption="--srcdir=$${topdir}/gas"; \
8710 libsrcdir="$$s/gas"; \
8711 $(SHELL) $${libsrcdir}/configure \
8712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8713 --target=${target_alias} $${srcdiroption} \
8714 --with-build-libsubdir=$(HOST_SUBDIR) \
8715 $(STAGE4_CONFIGURE_FLAGS)
8716 @endif gas-bootstrap
8718 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8719 maybe-configure-stageprofile-gas:
8720 @if gas-bootstrap
8721 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8722 configure-stageprofile-gas:
8723 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8725 @r=`${PWD_COMMAND}`; export r; \
8726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8728 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8729 $(HOST_EXPORTS) \
8730 $(POSTSTAGE1_HOST_EXPORTS) \
8731 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8732 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8733 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8734 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8736 cd $(HOST_SUBDIR)/gas || exit 1; \
8737 case $(srcdir) in \
8738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8739 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8741 esac; \
8742 srcdiroption="--srcdir=$${topdir}/gas"; \
8743 libsrcdir="$$s/gas"; \
8744 $(SHELL) $${libsrcdir}/configure \
8745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8746 --target=${target_alias} $${srcdiroption} \
8747 --with-build-libsubdir=$(HOST_SUBDIR) \
8748 $(STAGEprofile_CONFIGURE_FLAGS)
8749 @endif gas-bootstrap
8751 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8752 maybe-configure-stagefeedback-gas:
8753 @if gas-bootstrap
8754 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8755 configure-stagefeedback-gas:
8756 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8758 @r=`${PWD_COMMAND}`; export r; \
8759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8760 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8761 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8762 $(HOST_EXPORTS) \
8763 $(POSTSTAGE1_HOST_EXPORTS) \
8764 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8765 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8766 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8767 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8769 cd $(HOST_SUBDIR)/gas || exit 1; \
8770 case $(srcdir) in \
8771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8772 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8774 esac; \
8775 srcdiroption="--srcdir=$${topdir}/gas"; \
8776 libsrcdir="$$s/gas"; \
8777 $(SHELL) $${libsrcdir}/configure \
8778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8779 --target=${target_alias} $${srcdiroption} \
8780 --with-build-libsubdir=$(HOST_SUBDIR) \
8781 $(STAGEfeedback_CONFIGURE_FLAGS)
8782 @endif gas-bootstrap
8788 .PHONY: all-gas maybe-all-gas
8789 maybe-all-gas:
8790 @if gcc-bootstrap
8791 all-gas: stage_current
8792 @endif gcc-bootstrap
8793 @if gas
8794 TARGET-gas=all
8795 maybe-all-gas: all-gas
8796 all-gas: configure-gas
8797 @r=`${PWD_COMMAND}`; export r; \
8798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799 $(HOST_EXPORTS) \
8800 (cd $(HOST_SUBDIR)/gas && \
8801 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8802 $(TARGET-gas))
8803 @endif gas
8807 .PHONY: all-stage1-gas maybe-all-stage1-gas
8808 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8809 maybe-all-stage1-gas:
8810 maybe-clean-stage1-gas:
8811 @if gas-bootstrap
8812 maybe-all-stage1-gas: all-stage1-gas
8813 all-stage1: all-stage1-gas
8814 TARGET-stage1-gas = $(TARGET-gas)
8815 all-stage1-gas: configure-stage1-gas
8816 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8817 @r=`${PWD_COMMAND}`; export r; \
8818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8819 TFLAGS="$(STAGE1_TFLAGS)"; \
8820 $(HOST_EXPORTS) \
8821 cd $(HOST_SUBDIR)/gas && \
8822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8823 CFLAGS="$(STAGE1_CFLAGS)" \
8824 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8825 LIBCFLAGS="$(LIBCFLAGS)" \
8826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8829 $(EXTRA_HOST_FLAGS) \
8830 TFLAGS="$(STAGE1_TFLAGS)" \
8831 $(TARGET-stage1-gas)
8833 maybe-clean-stage1-gas: clean-stage1-gas
8834 clean-stage1: clean-stage1-gas
8835 clean-stage1-gas:
8836 @if [ $(current_stage) = stage1 ]; then \
8837 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8838 else \
8839 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8840 $(MAKE) stage1-start; \
8841 fi; \
8842 cd $(HOST_SUBDIR)/gas && \
8843 $(MAKE) $(EXTRA_HOST_FLAGS) \
8844 clean
8845 @endif gas-bootstrap
8848 .PHONY: all-stage2-gas maybe-all-stage2-gas
8849 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8850 maybe-all-stage2-gas:
8851 maybe-clean-stage2-gas:
8852 @if gas-bootstrap
8853 maybe-all-stage2-gas: all-stage2-gas
8854 all-stage2: all-stage2-gas
8855 TARGET-stage2-gas = $(TARGET-gas)
8856 all-stage2-gas: configure-stage2-gas
8857 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8860 TFLAGS="$(STAGE2_TFLAGS)"; \
8861 $(HOST_EXPORTS) \
8862 $(POSTSTAGE1_HOST_EXPORTS) \
8863 cd $(HOST_SUBDIR)/gas && \
8864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8865 CFLAGS="$(STAGE2_CFLAGS)" \
8866 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8867 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8872 TFLAGS="$(STAGE2_TFLAGS)" \
8873 $(TARGET-stage2-gas)
8875 maybe-clean-stage2-gas: clean-stage2-gas
8876 clean-stage2: clean-stage2-gas
8877 clean-stage2-gas:
8878 @if [ $(current_stage) = stage2 ]; then \
8879 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8880 else \
8881 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8882 $(MAKE) stage2-start; \
8883 fi; \
8884 cd $(HOST_SUBDIR)/gas && \
8885 $(MAKE) $(EXTRA_HOST_FLAGS) \
8886 $(POSTSTAGE1_FLAGS_TO_PASS) \
8887 clean
8888 @endif gas-bootstrap
8891 .PHONY: all-stage3-gas maybe-all-stage3-gas
8892 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8893 maybe-all-stage3-gas:
8894 maybe-clean-stage3-gas:
8895 @if gas-bootstrap
8896 maybe-all-stage3-gas: all-stage3-gas
8897 all-stage3: all-stage3-gas
8898 TARGET-stage3-gas = $(TARGET-gas)
8899 all-stage3-gas: configure-stage3-gas
8900 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8901 @r=`${PWD_COMMAND}`; export r; \
8902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8903 TFLAGS="$(STAGE3_TFLAGS)"; \
8904 $(HOST_EXPORTS) \
8905 $(POSTSTAGE1_HOST_EXPORTS) \
8906 cd $(HOST_SUBDIR)/gas && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8908 CFLAGS="$(STAGE3_CFLAGS)" \
8909 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8910 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8915 TFLAGS="$(STAGE3_TFLAGS)" \
8916 $(TARGET-stage3-gas)
8918 maybe-clean-stage3-gas: clean-stage3-gas
8919 clean-stage3: clean-stage3-gas
8920 clean-stage3-gas:
8921 @if [ $(current_stage) = stage3 ]; then \
8922 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8923 else \
8924 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8925 $(MAKE) stage3-start; \
8926 fi; \
8927 cd $(HOST_SUBDIR)/gas && \
8928 $(MAKE) $(EXTRA_HOST_FLAGS) \
8929 $(POSTSTAGE1_FLAGS_TO_PASS) \
8930 clean
8931 @endif gas-bootstrap
8934 .PHONY: all-stage4-gas maybe-all-stage4-gas
8935 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8936 maybe-all-stage4-gas:
8937 maybe-clean-stage4-gas:
8938 @if gas-bootstrap
8939 maybe-all-stage4-gas: all-stage4-gas
8940 all-stage4: all-stage4-gas
8941 TARGET-stage4-gas = $(TARGET-gas)
8942 all-stage4-gas: configure-stage4-gas
8943 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8944 @r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 TFLAGS="$(STAGE4_TFLAGS)"; \
8947 $(HOST_EXPORTS) \
8948 $(POSTSTAGE1_HOST_EXPORTS) \
8949 cd $(HOST_SUBDIR)/gas && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8951 CFLAGS="$(STAGE4_CFLAGS)" \
8952 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8953 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8958 TFLAGS="$(STAGE4_TFLAGS)" \
8959 $(TARGET-stage4-gas)
8961 maybe-clean-stage4-gas: clean-stage4-gas
8962 clean-stage4: clean-stage4-gas
8963 clean-stage4-gas:
8964 @if [ $(current_stage) = stage4 ]; then \
8965 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8966 else \
8967 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
8968 $(MAKE) stage4-start; \
8969 fi; \
8970 cd $(HOST_SUBDIR)/gas && \
8971 $(MAKE) $(EXTRA_HOST_FLAGS) \
8972 $(POSTSTAGE1_FLAGS_TO_PASS) \
8973 clean
8974 @endif gas-bootstrap
8977 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
8978 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
8979 maybe-all-stageprofile-gas:
8980 maybe-clean-stageprofile-gas:
8981 @if gas-bootstrap
8982 maybe-all-stageprofile-gas: all-stageprofile-gas
8983 all-stageprofile: all-stageprofile-gas
8984 TARGET-stageprofile-gas = $(TARGET-gas)
8985 all-stageprofile-gas: configure-stageprofile-gas
8986 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8987 @r=`${PWD_COMMAND}`; export r; \
8988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8990 $(HOST_EXPORTS) \
8991 $(POSTSTAGE1_HOST_EXPORTS) \
8992 cd $(HOST_SUBDIR)/gas && \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8994 CFLAGS="$(STAGEprofile_CFLAGS)" \
8995 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8996 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9001 TFLAGS="$(STAGEprofile_TFLAGS)" \
9002 $(TARGET-stageprofile-gas)
9004 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9005 clean-stageprofile: clean-stageprofile-gas
9006 clean-stageprofile-gas:
9007 @if [ $(current_stage) = stageprofile ]; then \
9008 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9009 else \
9010 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9011 $(MAKE) stageprofile-start; \
9012 fi; \
9013 cd $(HOST_SUBDIR)/gas && \
9014 $(MAKE) $(EXTRA_HOST_FLAGS) \
9015 $(POSTSTAGE1_FLAGS_TO_PASS) \
9016 clean
9017 @endif gas-bootstrap
9020 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9021 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9022 maybe-all-stagefeedback-gas:
9023 maybe-clean-stagefeedback-gas:
9024 @if gas-bootstrap
9025 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9026 all-stagefeedback: all-stagefeedback-gas
9027 TARGET-stagefeedback-gas = $(TARGET-gas)
9028 all-stagefeedback-gas: configure-stagefeedback-gas
9029 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9030 @r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9033 $(HOST_EXPORTS) \
9034 $(POSTSTAGE1_HOST_EXPORTS) \
9035 cd $(HOST_SUBDIR)/gas && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9037 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9038 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9039 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9044 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9045 $(TARGET-stagefeedback-gas)
9047 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9048 clean-stagefeedback: clean-stagefeedback-gas
9049 clean-stagefeedback-gas:
9050 @if [ $(current_stage) = stagefeedback ]; then \
9051 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9052 else \
9053 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9054 $(MAKE) stagefeedback-start; \
9055 fi; \
9056 cd $(HOST_SUBDIR)/gas && \
9057 $(MAKE) $(EXTRA_HOST_FLAGS) \
9058 $(POSTSTAGE1_FLAGS_TO_PASS) \
9059 clean
9060 @endif gas-bootstrap
9066 .PHONY: check-gas maybe-check-gas
9067 maybe-check-gas:
9068 @if gas
9069 maybe-check-gas: check-gas
9071 check-gas:
9072 @: $(MAKE); $(unstage)
9073 @r=`${PWD_COMMAND}`; export r; \
9074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9075 $(HOST_EXPORTS) \
9076 (cd $(HOST_SUBDIR)/gas && \
9077 $(MAKE) $(FLAGS_TO_PASS) check)
9079 @endif gas
9081 .PHONY: install-gas maybe-install-gas
9082 maybe-install-gas:
9083 @if gas
9084 maybe-install-gas: install-gas
9086 install-gas: installdirs
9087 @: $(MAKE); $(unstage)
9088 @r=`${PWD_COMMAND}`; export r; \
9089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9090 $(HOST_EXPORTS) \
9091 (cd $(HOST_SUBDIR)/gas && \
9092 $(MAKE) $(FLAGS_TO_PASS) install)
9094 @endif gas
9096 .PHONY: install-strip-gas maybe-install-strip-gas
9097 maybe-install-strip-gas:
9098 @if gas
9099 maybe-install-strip-gas: install-strip-gas
9101 install-strip-gas: installdirs
9102 @: $(MAKE); $(unstage)
9103 @r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 $(HOST_EXPORTS) \
9106 (cd $(HOST_SUBDIR)/gas && \
9107 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9109 @endif gas
9111 # Other targets (info, dvi, pdf, etc.)
9113 .PHONY: maybe-info-gas info-gas
9114 maybe-info-gas:
9115 @if gas
9116 maybe-info-gas: info-gas
9118 info-gas: \
9119 configure-gas
9120 @[ -f ./gas/Makefile ] || exit 0; \
9121 r=`${PWD_COMMAND}`; export r; \
9122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9123 $(HOST_EXPORTS) \
9124 for flag in $(EXTRA_HOST_FLAGS) ; do \
9125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9126 done; \
9127 echo "Doing info in gas" ; \
9128 (cd $(HOST_SUBDIR)/gas && \
9129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9131 "RANLIB=$${RANLIB}" \
9132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9133 info) \
9134 || exit 1
9136 @endif gas
9138 .PHONY: maybe-dvi-gas dvi-gas
9139 maybe-dvi-gas:
9140 @if gas
9141 maybe-dvi-gas: dvi-gas
9143 dvi-gas: \
9144 configure-gas
9145 @[ -f ./gas/Makefile ] || exit 0; \
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 for flag in $(EXTRA_HOST_FLAGS) ; do \
9150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9151 done; \
9152 echo "Doing dvi in gas" ; \
9153 (cd $(HOST_SUBDIR)/gas && \
9154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9156 "RANLIB=$${RANLIB}" \
9157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9158 dvi) \
9159 || exit 1
9161 @endif gas
9163 .PHONY: maybe-pdf-gas pdf-gas
9164 maybe-pdf-gas:
9165 @if gas
9166 maybe-pdf-gas: pdf-gas
9168 pdf-gas: \
9169 configure-gas
9170 @[ -f ./gas/Makefile ] || exit 0; \
9171 r=`${PWD_COMMAND}`; export r; \
9172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9173 $(HOST_EXPORTS) \
9174 for flag in $(EXTRA_HOST_FLAGS) ; do \
9175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9176 done; \
9177 echo "Doing pdf in gas" ; \
9178 (cd $(HOST_SUBDIR)/gas && \
9179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9181 "RANLIB=$${RANLIB}" \
9182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9183 pdf) \
9184 || exit 1
9186 @endif gas
9188 .PHONY: maybe-html-gas html-gas
9189 maybe-html-gas:
9190 @if gas
9191 maybe-html-gas: html-gas
9193 html-gas: \
9194 configure-gas
9195 @[ -f ./gas/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing html in gas" ; \
9203 (cd $(HOST_SUBDIR)/gas && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9208 html) \
9209 || exit 1
9211 @endif gas
9213 .PHONY: maybe-TAGS-gas TAGS-gas
9214 maybe-TAGS-gas:
9215 @if gas
9216 maybe-TAGS-gas: TAGS-gas
9218 TAGS-gas: \
9219 configure-gas
9220 @[ -f ./gas/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing TAGS in gas" ; \
9228 (cd $(HOST_SUBDIR)/gas && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9233 TAGS) \
9234 || exit 1
9236 @endif gas
9238 .PHONY: maybe-install-info-gas install-info-gas
9239 maybe-install-info-gas:
9240 @if gas
9241 maybe-install-info-gas: install-info-gas
9243 install-info-gas: \
9244 configure-gas \
9245 info-gas
9246 @[ -f ./gas/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(HOST_EXPORTS) \
9250 for flag in $(EXTRA_HOST_FLAGS) ; do \
9251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9252 done; \
9253 echo "Doing install-info in gas" ; \
9254 (cd $(HOST_SUBDIR)/gas && \
9255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9257 "RANLIB=$${RANLIB}" \
9258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9259 install-info) \
9260 || exit 1
9262 @endif gas
9264 .PHONY: maybe-install-pdf-gas install-pdf-gas
9265 maybe-install-pdf-gas:
9266 @if gas
9267 maybe-install-pdf-gas: install-pdf-gas
9269 install-pdf-gas: \
9270 configure-gas \
9271 pdf-gas
9272 @[ -f ./gas/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(HOST_EXPORTS) \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 done; \
9279 echo "Doing install-pdf in gas" ; \
9280 (cd $(HOST_SUBDIR)/gas && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9285 install-pdf) \
9286 || exit 1
9288 @endif gas
9290 .PHONY: maybe-install-html-gas install-html-gas
9291 maybe-install-html-gas:
9292 @if gas
9293 maybe-install-html-gas: install-html-gas
9295 install-html-gas: \
9296 configure-gas \
9297 html-gas
9298 @[ -f ./gas/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304 done; \
9305 echo "Doing install-html in gas" ; \
9306 (cd $(HOST_SUBDIR)/gas && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9311 install-html) \
9312 || exit 1
9314 @endif gas
9316 .PHONY: maybe-installcheck-gas installcheck-gas
9317 maybe-installcheck-gas:
9318 @if gas
9319 maybe-installcheck-gas: installcheck-gas
9321 installcheck-gas: \
9322 configure-gas
9323 @[ -f ./gas/Makefile ] || exit 0; \
9324 r=`${PWD_COMMAND}`; export r; \
9325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 $(HOST_EXPORTS) \
9327 for flag in $(EXTRA_HOST_FLAGS) ; do \
9328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 done; \
9330 echo "Doing installcheck in gas" ; \
9331 (cd $(HOST_SUBDIR)/gas && \
9332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9334 "RANLIB=$${RANLIB}" \
9335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9336 installcheck) \
9337 || exit 1
9339 @endif gas
9341 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9342 maybe-mostlyclean-gas:
9343 @if gas
9344 maybe-mostlyclean-gas: mostlyclean-gas
9346 mostlyclean-gas:
9347 @[ -f ./gas/Makefile ] || exit 0; \
9348 r=`${PWD_COMMAND}`; export r; \
9349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9350 $(HOST_EXPORTS) \
9351 for flag in $(EXTRA_HOST_FLAGS) ; do \
9352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9353 done; \
9354 echo "Doing mostlyclean in gas" ; \
9355 (cd $(HOST_SUBDIR)/gas && \
9356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9358 "RANLIB=$${RANLIB}" \
9359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9360 mostlyclean) \
9361 || exit 1
9363 @endif gas
9365 .PHONY: maybe-clean-gas clean-gas
9366 maybe-clean-gas:
9367 @if gas
9368 maybe-clean-gas: clean-gas
9370 clean-gas:
9371 @[ -f ./gas/Makefile ] || exit 0; \
9372 r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 $(HOST_EXPORTS) \
9375 for flag in $(EXTRA_HOST_FLAGS) ; do \
9376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9377 done; \
9378 echo "Doing clean in gas" ; \
9379 (cd $(HOST_SUBDIR)/gas && \
9380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9382 "RANLIB=$${RANLIB}" \
9383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9384 clean) \
9385 || exit 1
9387 @endif gas
9389 .PHONY: maybe-distclean-gas distclean-gas
9390 maybe-distclean-gas:
9391 @if gas
9392 maybe-distclean-gas: distclean-gas
9394 distclean-gas:
9395 @[ -f ./gas/Makefile ] || exit 0; \
9396 r=`${PWD_COMMAND}`; export r; \
9397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9398 $(HOST_EXPORTS) \
9399 for flag in $(EXTRA_HOST_FLAGS) ; do \
9400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9401 done; \
9402 echo "Doing distclean in gas" ; \
9403 (cd $(HOST_SUBDIR)/gas && \
9404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9406 "RANLIB=$${RANLIB}" \
9407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9408 distclean) \
9409 || exit 1
9411 @endif gas
9413 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9414 maybe-maintainer-clean-gas:
9415 @if gas
9416 maybe-maintainer-clean-gas: maintainer-clean-gas
9418 maintainer-clean-gas:
9419 @[ -f ./gas/Makefile ] || exit 0; \
9420 r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 $(HOST_EXPORTS) \
9423 for flag in $(EXTRA_HOST_FLAGS) ; do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 done; \
9426 echo "Doing maintainer-clean in gas" ; \
9427 (cd $(HOST_SUBDIR)/gas && \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9432 maintainer-clean) \
9433 || exit 1
9435 @endif gas
9439 .PHONY: configure-gcc maybe-configure-gcc
9440 maybe-configure-gcc:
9441 @if gcc-bootstrap
9442 configure-gcc: stage_current
9443 @endif gcc-bootstrap
9444 @if gcc
9445 maybe-configure-gcc: configure-gcc
9446 configure-gcc:
9447 @r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9451 $(HOST_EXPORTS) \
9452 echo Configuring in $(HOST_SUBDIR)/gcc; \
9453 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9454 case $(srcdir) in \
9455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9456 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9458 esac; \
9459 srcdiroption="--srcdir=$${topdir}/gcc"; \
9460 libsrcdir="$$s/gcc"; \
9461 $(SHELL) $${libsrcdir}/configure \
9462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9463 --target=${target_alias} $${srcdiroption} \
9464 || exit 1
9465 @endif gcc
9469 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9470 maybe-configure-stage1-gcc:
9471 @if gcc-bootstrap
9472 maybe-configure-stage1-gcc: configure-stage1-gcc
9473 configure-stage1-gcc:
9474 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9476 @r=`${PWD_COMMAND}`; export r; \
9477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9478 TFLAGS="$(STAGE1_TFLAGS)"; \
9479 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9480 $(HOST_EXPORTS) \
9481 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9482 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9483 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9484 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9486 cd $(HOST_SUBDIR)/gcc || exit 1; \
9487 case $(srcdir) in \
9488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9489 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9491 esac; \
9492 srcdiroption="--srcdir=$${topdir}/gcc"; \
9493 libsrcdir="$$s/gcc"; \
9494 $(SHELL) $${libsrcdir}/configure \
9495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9496 --target=${target_alias} $${srcdiroption} \
9497 $(STAGE1_CONFIGURE_FLAGS)
9498 @endif gcc-bootstrap
9500 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9501 maybe-configure-stage2-gcc:
9502 @if gcc-bootstrap
9503 maybe-configure-stage2-gcc: configure-stage2-gcc
9504 configure-stage2-gcc:
9505 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9507 @r=`${PWD_COMMAND}`; export r; \
9508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509 TFLAGS="$(STAGE2_TFLAGS)"; \
9510 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9511 $(HOST_EXPORTS) \
9512 $(POSTSTAGE1_HOST_EXPORTS) \
9513 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9514 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9515 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9516 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9518 cd $(HOST_SUBDIR)/gcc || exit 1; \
9519 case $(srcdir) in \
9520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9521 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9523 esac; \
9524 srcdiroption="--srcdir=$${topdir}/gcc"; \
9525 libsrcdir="$$s/gcc"; \
9526 $(SHELL) $${libsrcdir}/configure \
9527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9528 --target=${target_alias} $${srcdiroption} \
9529 --with-build-libsubdir=$(HOST_SUBDIR) \
9530 $(STAGE2_CONFIGURE_FLAGS)
9531 @endif gcc-bootstrap
9533 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9534 maybe-configure-stage3-gcc:
9535 @if gcc-bootstrap
9536 maybe-configure-stage3-gcc: configure-stage3-gcc
9537 configure-stage3-gcc:
9538 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9540 @r=`${PWD_COMMAND}`; export r; \
9541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 TFLAGS="$(STAGE3_TFLAGS)"; \
9543 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9544 $(HOST_EXPORTS) \
9545 $(POSTSTAGE1_HOST_EXPORTS) \
9546 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9547 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9548 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9549 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9551 cd $(HOST_SUBDIR)/gcc || exit 1; \
9552 case $(srcdir) in \
9553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9554 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9556 esac; \
9557 srcdiroption="--srcdir=$${topdir}/gcc"; \
9558 libsrcdir="$$s/gcc"; \
9559 $(SHELL) $${libsrcdir}/configure \
9560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9561 --target=${target_alias} $${srcdiroption} \
9562 --with-build-libsubdir=$(HOST_SUBDIR) \
9563 $(STAGE3_CONFIGURE_FLAGS)
9564 @endif gcc-bootstrap
9566 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9567 maybe-configure-stage4-gcc:
9568 @if gcc-bootstrap
9569 maybe-configure-stage4-gcc: configure-stage4-gcc
9570 configure-stage4-gcc:
9571 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9573 @r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 TFLAGS="$(STAGE4_TFLAGS)"; \
9576 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9577 $(HOST_EXPORTS) \
9578 $(POSTSTAGE1_HOST_EXPORTS) \
9579 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9580 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9581 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9582 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9584 cd $(HOST_SUBDIR)/gcc || exit 1; \
9585 case $(srcdir) in \
9586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9587 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9589 esac; \
9590 srcdiroption="--srcdir=$${topdir}/gcc"; \
9591 libsrcdir="$$s/gcc"; \
9592 $(SHELL) $${libsrcdir}/configure \
9593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9594 --target=${target_alias} $${srcdiroption} \
9595 --with-build-libsubdir=$(HOST_SUBDIR) \
9596 $(STAGE4_CONFIGURE_FLAGS)
9597 @endif gcc-bootstrap
9599 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9600 maybe-configure-stageprofile-gcc:
9601 @if gcc-bootstrap
9602 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9603 configure-stageprofile-gcc:
9604 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9606 @r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9609 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9610 $(HOST_EXPORTS) \
9611 $(POSTSTAGE1_HOST_EXPORTS) \
9612 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9613 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9614 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9615 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9617 cd $(HOST_SUBDIR)/gcc || exit 1; \
9618 case $(srcdir) in \
9619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9620 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9622 esac; \
9623 srcdiroption="--srcdir=$${topdir}/gcc"; \
9624 libsrcdir="$$s/gcc"; \
9625 $(SHELL) $${libsrcdir}/configure \
9626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9627 --target=${target_alias} $${srcdiroption} \
9628 --with-build-libsubdir=$(HOST_SUBDIR) \
9629 $(STAGEprofile_CONFIGURE_FLAGS)
9630 @endif gcc-bootstrap
9632 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9633 maybe-configure-stagefeedback-gcc:
9634 @if gcc-bootstrap
9635 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9636 configure-stagefeedback-gcc:
9637 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9639 @r=`${PWD_COMMAND}`; export r; \
9640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9642 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9643 $(HOST_EXPORTS) \
9644 $(POSTSTAGE1_HOST_EXPORTS) \
9645 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9646 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9647 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9648 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9650 cd $(HOST_SUBDIR)/gcc || exit 1; \
9651 case $(srcdir) in \
9652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9653 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9655 esac; \
9656 srcdiroption="--srcdir=$${topdir}/gcc"; \
9657 libsrcdir="$$s/gcc"; \
9658 $(SHELL) $${libsrcdir}/configure \
9659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9660 --target=${target_alias} $${srcdiroption} \
9661 --with-build-libsubdir=$(HOST_SUBDIR) \
9662 $(STAGEfeedback_CONFIGURE_FLAGS)
9663 @endif gcc-bootstrap
9669 .PHONY: all-gcc maybe-all-gcc
9670 maybe-all-gcc:
9671 @if gcc-bootstrap
9672 all-gcc: stage_current
9673 @endif gcc-bootstrap
9674 @if gcc
9675 TARGET-gcc=all
9676 maybe-all-gcc: all-gcc
9677 all-gcc: configure-gcc
9678 @r=`${PWD_COMMAND}`; export r; \
9679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9680 $(HOST_EXPORTS) \
9681 (cd $(HOST_SUBDIR)/gcc && \
9682 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9683 $(TARGET-gcc))
9684 @endif gcc
9688 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9689 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9690 maybe-all-stage1-gcc:
9691 maybe-clean-stage1-gcc:
9692 @if gcc-bootstrap
9693 maybe-all-stage1-gcc: all-stage1-gcc
9694 all-stage1: all-stage1-gcc
9695 TARGET-stage1-gcc = $(TARGET-gcc)
9696 all-stage1-gcc: configure-stage1-gcc
9697 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9698 @r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 TFLAGS="$(STAGE1_TFLAGS)"; \
9701 $(HOST_EXPORTS) \
9702 cd $(HOST_SUBDIR)/gcc && \
9703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9704 CFLAGS="$(STAGE1_CFLAGS)" \
9705 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9706 LIBCFLAGS="$(LIBCFLAGS)" \
9707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9710 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9711 TFLAGS="$(STAGE1_TFLAGS)" \
9712 $(TARGET-stage1-gcc)
9714 maybe-clean-stage1-gcc: clean-stage1-gcc
9715 clean-stage1: clean-stage1-gcc
9716 clean-stage1-gcc:
9717 @if [ $(current_stage) = stage1 ]; then \
9718 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9719 else \
9720 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9721 $(MAKE) stage1-start; \
9722 fi; \
9723 cd $(HOST_SUBDIR)/gcc && \
9724 $(MAKE) $(EXTRA_HOST_FLAGS) \
9725 $(EXTRA_GCC_FLAGS) clean
9726 @endif gcc-bootstrap
9729 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9730 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9731 maybe-all-stage2-gcc:
9732 maybe-clean-stage2-gcc:
9733 @if gcc-bootstrap
9734 maybe-all-stage2-gcc: all-stage2-gcc
9735 all-stage2: all-stage2-gcc
9736 TARGET-stage2-gcc = $(TARGET-gcc)
9737 all-stage2-gcc: configure-stage2-gcc
9738 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9739 @r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 TFLAGS="$(STAGE2_TFLAGS)"; \
9742 $(HOST_EXPORTS) \
9743 $(POSTSTAGE1_HOST_EXPORTS) \
9744 cd $(HOST_SUBDIR)/gcc && \
9745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9746 CFLAGS="$(STAGE2_CFLAGS)" \
9747 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9748 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9753 TFLAGS="$(STAGE2_TFLAGS)" \
9754 $(TARGET-stage2-gcc)
9756 maybe-clean-stage2-gcc: clean-stage2-gcc
9757 clean-stage2: clean-stage2-gcc
9758 clean-stage2-gcc:
9759 @if [ $(current_stage) = stage2 ]; then \
9760 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9761 else \
9762 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9763 $(MAKE) stage2-start; \
9764 fi; \
9765 cd $(HOST_SUBDIR)/gcc && \
9766 $(MAKE) $(EXTRA_HOST_FLAGS) \
9767 $(POSTSTAGE1_FLAGS_TO_PASS) \
9768 $(EXTRA_GCC_FLAGS) clean
9769 @endif gcc-bootstrap
9772 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9773 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9774 maybe-all-stage3-gcc:
9775 maybe-clean-stage3-gcc:
9776 @if gcc-bootstrap
9777 maybe-all-stage3-gcc: all-stage3-gcc
9778 all-stage3: all-stage3-gcc
9779 TARGET-stage3-gcc = $(TARGET-gcc)
9780 all-stage3-gcc: configure-stage3-gcc
9781 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9782 @r=`${PWD_COMMAND}`; export r; \
9783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9784 TFLAGS="$(STAGE3_TFLAGS)"; \
9785 $(HOST_EXPORTS) \
9786 $(POSTSTAGE1_HOST_EXPORTS) \
9787 cd $(HOST_SUBDIR)/gcc && \
9788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9789 CFLAGS="$(STAGE3_CFLAGS)" \
9790 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9791 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9795 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9796 TFLAGS="$(STAGE3_TFLAGS)" \
9797 $(TARGET-stage3-gcc)
9799 maybe-clean-stage3-gcc: clean-stage3-gcc
9800 clean-stage3: clean-stage3-gcc
9801 clean-stage3-gcc:
9802 @if [ $(current_stage) = stage3 ]; then \
9803 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9804 else \
9805 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9806 $(MAKE) stage3-start; \
9807 fi; \
9808 cd $(HOST_SUBDIR)/gcc && \
9809 $(MAKE) $(EXTRA_HOST_FLAGS) \
9810 $(POSTSTAGE1_FLAGS_TO_PASS) \
9811 $(EXTRA_GCC_FLAGS) clean
9812 @endif gcc-bootstrap
9815 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9816 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9817 maybe-all-stage4-gcc:
9818 maybe-clean-stage4-gcc:
9819 @if gcc-bootstrap
9820 maybe-all-stage4-gcc: all-stage4-gcc
9821 all-stage4: all-stage4-gcc
9822 TARGET-stage4-gcc = $(TARGET-gcc)
9823 all-stage4-gcc: configure-stage4-gcc
9824 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9825 @r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 TFLAGS="$(STAGE4_TFLAGS)"; \
9828 $(HOST_EXPORTS) \
9829 $(POSTSTAGE1_HOST_EXPORTS) \
9830 cd $(HOST_SUBDIR)/gcc && \
9831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9832 CFLAGS="$(STAGE4_CFLAGS)" \
9833 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9834 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9838 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9839 TFLAGS="$(STAGE4_TFLAGS)" \
9840 $(TARGET-stage4-gcc)
9842 maybe-clean-stage4-gcc: clean-stage4-gcc
9843 clean-stage4: clean-stage4-gcc
9844 clean-stage4-gcc:
9845 @if [ $(current_stage) = stage4 ]; then \
9846 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9847 else \
9848 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9849 $(MAKE) stage4-start; \
9850 fi; \
9851 cd $(HOST_SUBDIR)/gcc && \
9852 $(MAKE) $(EXTRA_HOST_FLAGS) \
9853 $(POSTSTAGE1_FLAGS_TO_PASS) \
9854 $(EXTRA_GCC_FLAGS) clean
9855 @endif gcc-bootstrap
9858 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9859 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9860 maybe-all-stageprofile-gcc:
9861 maybe-clean-stageprofile-gcc:
9862 @if gcc-bootstrap
9863 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9864 all-stageprofile: all-stageprofile-gcc
9865 TARGET-stageprofile-gcc = $(TARGET-gcc)
9866 all-stageprofile-gcc: configure-stageprofile-gcc
9867 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9871 $(HOST_EXPORTS) \
9872 $(POSTSTAGE1_HOST_EXPORTS) \
9873 cd $(HOST_SUBDIR)/gcc && \
9874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9875 CFLAGS="$(STAGEprofile_CFLAGS)" \
9876 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9877 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9882 TFLAGS="$(STAGEprofile_TFLAGS)" \
9883 $(TARGET-stageprofile-gcc)
9885 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9886 clean-stageprofile: clean-stageprofile-gcc
9887 clean-stageprofile-gcc:
9888 @if [ $(current_stage) = stageprofile ]; then \
9889 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9890 else \
9891 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9892 $(MAKE) stageprofile-start; \
9893 fi; \
9894 cd $(HOST_SUBDIR)/gcc && \
9895 $(MAKE) $(EXTRA_HOST_FLAGS) \
9896 $(POSTSTAGE1_FLAGS_TO_PASS) \
9897 $(EXTRA_GCC_FLAGS) clean
9898 @endif gcc-bootstrap
9901 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9902 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9903 maybe-all-stagefeedback-gcc:
9904 maybe-clean-stagefeedback-gcc:
9905 @if gcc-bootstrap
9906 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9907 all-stagefeedback: all-stagefeedback-gcc
9908 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9909 all-stagefeedback-gcc: configure-stagefeedback-gcc
9910 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9911 @r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9914 $(HOST_EXPORTS) \
9915 $(POSTSTAGE1_HOST_EXPORTS) \
9916 cd $(HOST_SUBDIR)/gcc && \
9917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9918 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9919 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9920 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9924 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9925 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9926 $(TARGET-stagefeedback-gcc)
9928 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9929 clean-stagefeedback: clean-stagefeedback-gcc
9930 clean-stagefeedback-gcc:
9931 @if [ $(current_stage) = stagefeedback ]; then \
9932 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9933 else \
9934 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9935 $(MAKE) stagefeedback-start; \
9936 fi; \
9937 cd $(HOST_SUBDIR)/gcc && \
9938 $(MAKE) $(EXTRA_HOST_FLAGS) \
9939 $(POSTSTAGE1_FLAGS_TO_PASS) \
9940 $(EXTRA_GCC_FLAGS) clean
9941 @endif gcc-bootstrap
9947 .PHONY: check-gcc maybe-check-gcc
9948 maybe-check-gcc:
9949 @if gcc
9950 maybe-check-gcc: check-gcc
9952 check-gcc:
9953 @: $(MAKE); $(unstage)
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 (cd $(HOST_SUBDIR)/gcc && \
9958 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9960 @endif gcc
9962 .PHONY: install-gcc maybe-install-gcc
9963 maybe-install-gcc:
9964 @if gcc
9965 maybe-install-gcc: install-gcc
9967 install-gcc: installdirs
9968 @: $(MAKE); $(unstage)
9969 @r=`${PWD_COMMAND}`; export r; \
9970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9971 $(HOST_EXPORTS) \
9972 (cd $(HOST_SUBDIR)/gcc && \
9973 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9975 @endif gcc
9977 .PHONY: install-strip-gcc maybe-install-strip-gcc
9978 maybe-install-strip-gcc:
9979 @if gcc
9980 maybe-install-strip-gcc: install-strip-gcc
9982 install-strip-gcc: installdirs
9983 @: $(MAKE); $(unstage)
9984 @r=`${PWD_COMMAND}`; export r; \
9985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9986 $(HOST_EXPORTS) \
9987 (cd $(HOST_SUBDIR)/gcc && \
9988 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
9990 @endif gcc
9992 # Other targets (info, dvi, pdf, etc.)
9994 .PHONY: maybe-info-gcc info-gcc
9995 maybe-info-gcc:
9996 @if gcc
9997 maybe-info-gcc: info-gcc
9999 info-gcc: \
10000 configure-gcc
10001 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
10006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10007 done; \
10008 echo "Doing info in gcc" ; \
10009 (cd $(HOST_SUBDIR)/gcc && \
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 info) \
10015 || exit 1
10017 @endif gcc
10019 .PHONY: maybe-dvi-gcc dvi-gcc
10020 maybe-dvi-gcc:
10021 @if gcc
10022 maybe-dvi-gcc: dvi-gcc
10024 dvi-gcc: \
10025 configure-gcc
10026 @[ -f ./gcc/Makefile ] || exit 0; \
10027 r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 $(HOST_EXPORTS) \
10030 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10032 done; \
10033 echo "Doing dvi in gcc" ; \
10034 (cd $(HOST_SUBDIR)/gcc && \
10035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10037 "RANLIB=$${RANLIB}" \
10038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10039 dvi) \
10040 || exit 1
10042 @endif gcc
10044 .PHONY: maybe-pdf-gcc pdf-gcc
10045 maybe-pdf-gcc:
10046 @if gcc
10047 maybe-pdf-gcc: pdf-gcc
10049 pdf-gcc: \
10050 configure-gcc
10051 @[ -f ./gcc/Makefile ] || exit 0; \
10052 r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054 $(HOST_EXPORTS) \
10055 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10057 done; \
10058 echo "Doing pdf in gcc" ; \
10059 (cd $(HOST_SUBDIR)/gcc && \
10060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10062 "RANLIB=$${RANLIB}" \
10063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10064 pdf) \
10065 || exit 1
10067 @endif gcc
10069 .PHONY: maybe-html-gcc html-gcc
10070 maybe-html-gcc:
10071 @if gcc
10072 maybe-html-gcc: html-gcc
10074 html-gcc: \
10075 configure-gcc
10076 @[ -f ./gcc/Makefile ] || exit 0; \
10077 r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10079 $(HOST_EXPORTS) \
10080 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10082 done; \
10083 echo "Doing html in gcc" ; \
10084 (cd $(HOST_SUBDIR)/gcc && \
10085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10087 "RANLIB=$${RANLIB}" \
10088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10089 html) \
10090 || exit 1
10092 @endif gcc
10094 .PHONY: maybe-TAGS-gcc TAGS-gcc
10095 maybe-TAGS-gcc:
10096 @if gcc
10097 maybe-TAGS-gcc: TAGS-gcc
10099 TAGS-gcc: \
10100 configure-gcc
10101 @[ -f ./gcc/Makefile ] || exit 0; \
10102 r=`${PWD_COMMAND}`; export r; \
10103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 $(HOST_EXPORTS) \
10105 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10107 done; \
10108 echo "Doing TAGS in gcc" ; \
10109 (cd $(HOST_SUBDIR)/gcc && \
10110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10112 "RANLIB=$${RANLIB}" \
10113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10114 TAGS) \
10115 || exit 1
10117 @endif gcc
10119 .PHONY: maybe-install-info-gcc install-info-gcc
10120 maybe-install-info-gcc:
10121 @if gcc
10122 maybe-install-info-gcc: install-info-gcc
10124 install-info-gcc: \
10125 configure-gcc \
10126 info-gcc
10127 @[ -f ./gcc/Makefile ] || exit 0; \
10128 r=`${PWD_COMMAND}`; export r; \
10129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10130 $(HOST_EXPORTS) \
10131 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10133 done; \
10134 echo "Doing install-info in gcc" ; \
10135 (cd $(HOST_SUBDIR)/gcc && \
10136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10138 "RANLIB=$${RANLIB}" \
10139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10140 install-info) \
10141 || exit 1
10143 @endif gcc
10145 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10146 maybe-install-pdf-gcc:
10147 @if gcc
10148 maybe-install-pdf-gcc: install-pdf-gcc
10150 install-pdf-gcc: \
10151 configure-gcc \
10152 pdf-gcc
10153 @[ -f ./gcc/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing install-pdf in gcc" ; \
10161 (cd $(HOST_SUBDIR)/gcc && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10166 install-pdf) \
10167 || exit 1
10169 @endif gcc
10171 .PHONY: maybe-install-html-gcc install-html-gcc
10172 maybe-install-html-gcc:
10173 @if gcc
10174 maybe-install-html-gcc: install-html-gcc
10176 install-html-gcc: \
10177 configure-gcc \
10178 html-gcc
10179 @[ -f ./gcc/Makefile ] || exit 0; \
10180 r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10182 $(HOST_EXPORTS) \
10183 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10185 done; \
10186 echo "Doing install-html in gcc" ; \
10187 (cd $(HOST_SUBDIR)/gcc && \
10188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10190 "RANLIB=$${RANLIB}" \
10191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10192 install-html) \
10193 || exit 1
10195 @endif gcc
10197 .PHONY: maybe-installcheck-gcc installcheck-gcc
10198 maybe-installcheck-gcc:
10199 @if gcc
10200 maybe-installcheck-gcc: installcheck-gcc
10202 installcheck-gcc: \
10203 configure-gcc
10204 @[ -f ./gcc/Makefile ] || exit 0; \
10205 r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 $(HOST_EXPORTS) \
10208 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10210 done; \
10211 echo "Doing installcheck in gcc" ; \
10212 (cd $(HOST_SUBDIR)/gcc && \
10213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10215 "RANLIB=$${RANLIB}" \
10216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10217 installcheck) \
10218 || exit 1
10220 @endif gcc
10222 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10223 maybe-mostlyclean-gcc:
10224 @if gcc
10225 maybe-mostlyclean-gcc: mostlyclean-gcc
10227 mostlyclean-gcc:
10228 @[ -f ./gcc/Makefile ] || exit 0; \
10229 r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(HOST_EXPORTS) \
10232 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10234 done; \
10235 echo "Doing mostlyclean in gcc" ; \
10236 (cd $(HOST_SUBDIR)/gcc && \
10237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10239 "RANLIB=$${RANLIB}" \
10240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10241 mostlyclean) \
10242 || exit 1
10244 @endif gcc
10246 .PHONY: maybe-clean-gcc clean-gcc
10247 maybe-clean-gcc:
10248 @if gcc
10249 maybe-clean-gcc: clean-gcc
10251 clean-gcc:
10252 @[ -f ./gcc/Makefile ] || exit 0; \
10253 r=`${PWD_COMMAND}`; export r; \
10254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10255 $(HOST_EXPORTS) \
10256 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10258 done; \
10259 echo "Doing clean in gcc" ; \
10260 (cd $(HOST_SUBDIR)/gcc && \
10261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10263 "RANLIB=$${RANLIB}" \
10264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10265 clean) \
10266 || exit 1
10268 @endif gcc
10270 .PHONY: maybe-distclean-gcc distclean-gcc
10271 maybe-distclean-gcc:
10272 @if gcc
10273 maybe-distclean-gcc: distclean-gcc
10275 distclean-gcc:
10276 @[ -f ./gcc/Makefile ] || exit 0; \
10277 r=`${PWD_COMMAND}`; export r; \
10278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10279 $(HOST_EXPORTS) \
10280 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10282 done; \
10283 echo "Doing distclean in gcc" ; \
10284 (cd $(HOST_SUBDIR)/gcc && \
10285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10287 "RANLIB=$${RANLIB}" \
10288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10289 distclean) \
10290 || exit 1
10292 @endif gcc
10294 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10295 maybe-maintainer-clean-gcc:
10296 @if gcc
10297 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10299 maintainer-clean-gcc:
10300 @[ -f ./gcc/Makefile ] || exit 0; \
10301 r=`${PWD_COMMAND}`; export r; \
10302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10303 $(HOST_EXPORTS) \
10304 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10306 done; \
10307 echo "Doing maintainer-clean in gcc" ; \
10308 (cd $(HOST_SUBDIR)/gcc && \
10309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10311 "RANLIB=$${RANLIB}" \
10312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10313 maintainer-clean) \
10314 || exit 1
10316 @endif gcc
10320 .PHONY: configure-gmp maybe-configure-gmp
10321 maybe-configure-gmp:
10322 @if gcc-bootstrap
10323 configure-gmp: stage_current
10324 @endif gcc-bootstrap
10325 @if gmp
10326 maybe-configure-gmp: configure-gmp
10327 configure-gmp:
10328 @r=`${PWD_COMMAND}`; export r; \
10329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10330 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10332 $(HOST_EXPORTS) \
10333 echo Configuring in $(HOST_SUBDIR)/gmp; \
10334 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10335 case $(srcdir) in \
10336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10337 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10339 esac; \
10340 srcdiroption="--srcdir=$${topdir}/gmp"; \
10341 libsrcdir="$$s/gmp"; \
10342 $(SHELL) $${libsrcdir}/configure \
10343 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10344 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10345 || exit 1
10346 @endif gmp
10350 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10351 maybe-configure-stage1-gmp:
10352 @if gmp-bootstrap
10353 maybe-configure-stage1-gmp: configure-stage1-gmp
10354 configure-stage1-gmp:
10355 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10357 @r=`${PWD_COMMAND}`; export r; \
10358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10359 TFLAGS="$(STAGE1_TFLAGS)"; \
10360 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10361 $(HOST_EXPORTS) \
10362 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10363 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10364 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10365 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10367 cd $(HOST_SUBDIR)/gmp || exit 1; \
10368 case $(srcdir) in \
10369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10370 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10372 esac; \
10373 srcdiroption="--srcdir=$${topdir}/gmp"; \
10374 libsrcdir="$$s/gmp"; \
10375 $(SHELL) $${libsrcdir}/configure \
10376 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10377 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10378 $(STAGE1_CONFIGURE_FLAGS) \
10379 --disable-shared
10380 @endif gmp-bootstrap
10382 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10383 maybe-configure-stage2-gmp:
10384 @if gmp-bootstrap
10385 maybe-configure-stage2-gmp: configure-stage2-gmp
10386 configure-stage2-gmp:
10387 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10388 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10389 @r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 TFLAGS="$(STAGE2_TFLAGS)"; \
10392 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10393 $(HOST_EXPORTS) \
10394 $(POSTSTAGE1_HOST_EXPORTS) \
10395 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10396 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10397 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10398 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10400 cd $(HOST_SUBDIR)/gmp || exit 1; \
10401 case $(srcdir) in \
10402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10403 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10405 esac; \
10406 srcdiroption="--srcdir=$${topdir}/gmp"; \
10407 libsrcdir="$$s/gmp"; \
10408 $(SHELL) $${libsrcdir}/configure \
10409 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10410 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10411 --with-build-libsubdir=$(HOST_SUBDIR) \
10412 $(STAGE2_CONFIGURE_FLAGS) \
10413 --disable-shared
10414 @endif gmp-bootstrap
10416 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10417 maybe-configure-stage3-gmp:
10418 @if gmp-bootstrap
10419 maybe-configure-stage3-gmp: configure-stage3-gmp
10420 configure-stage3-gmp:
10421 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10423 @r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 TFLAGS="$(STAGE3_TFLAGS)"; \
10426 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10427 $(HOST_EXPORTS) \
10428 $(POSTSTAGE1_HOST_EXPORTS) \
10429 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10430 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10431 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10432 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10434 cd $(HOST_SUBDIR)/gmp || exit 1; \
10435 case $(srcdir) in \
10436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10437 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10439 esac; \
10440 srcdiroption="--srcdir=$${topdir}/gmp"; \
10441 libsrcdir="$$s/gmp"; \
10442 $(SHELL) $${libsrcdir}/configure \
10443 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10444 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10445 --with-build-libsubdir=$(HOST_SUBDIR) \
10446 $(STAGE3_CONFIGURE_FLAGS) \
10447 --disable-shared
10448 @endif gmp-bootstrap
10450 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10451 maybe-configure-stage4-gmp:
10452 @if gmp-bootstrap
10453 maybe-configure-stage4-gmp: configure-stage4-gmp
10454 configure-stage4-gmp:
10455 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10456 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10457 @r=`${PWD_COMMAND}`; export r; \
10458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10459 TFLAGS="$(STAGE4_TFLAGS)"; \
10460 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10461 $(HOST_EXPORTS) \
10462 $(POSTSTAGE1_HOST_EXPORTS) \
10463 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10464 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10465 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10466 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10468 cd $(HOST_SUBDIR)/gmp || exit 1; \
10469 case $(srcdir) in \
10470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10471 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10473 esac; \
10474 srcdiroption="--srcdir=$${topdir}/gmp"; \
10475 libsrcdir="$$s/gmp"; \
10476 $(SHELL) $${libsrcdir}/configure \
10477 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10478 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10479 --with-build-libsubdir=$(HOST_SUBDIR) \
10480 $(STAGE4_CONFIGURE_FLAGS) \
10481 --disable-shared
10482 @endif gmp-bootstrap
10484 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10485 maybe-configure-stageprofile-gmp:
10486 @if gmp-bootstrap
10487 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10488 configure-stageprofile-gmp:
10489 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10490 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10491 @r=`${PWD_COMMAND}`; export r; \
10492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10494 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10495 $(HOST_EXPORTS) \
10496 $(POSTSTAGE1_HOST_EXPORTS) \
10497 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10498 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10499 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10500 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10502 cd $(HOST_SUBDIR)/gmp || exit 1; \
10503 case $(srcdir) in \
10504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10505 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10507 esac; \
10508 srcdiroption="--srcdir=$${topdir}/gmp"; \
10509 libsrcdir="$$s/gmp"; \
10510 $(SHELL) $${libsrcdir}/configure \
10511 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10512 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10513 --with-build-libsubdir=$(HOST_SUBDIR) \
10514 $(STAGEprofile_CONFIGURE_FLAGS) \
10515 --disable-shared
10516 @endif gmp-bootstrap
10518 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10519 maybe-configure-stagefeedback-gmp:
10520 @if gmp-bootstrap
10521 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10522 configure-stagefeedback-gmp:
10523 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10525 @r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10527 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10528 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10529 $(HOST_EXPORTS) \
10530 $(POSTSTAGE1_HOST_EXPORTS) \
10531 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10532 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10533 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10534 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10536 cd $(HOST_SUBDIR)/gmp || exit 1; \
10537 case $(srcdir) in \
10538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10539 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10541 esac; \
10542 srcdiroption="--srcdir=$${topdir}/gmp"; \
10543 libsrcdir="$$s/gmp"; \
10544 $(SHELL) $${libsrcdir}/configure \
10545 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10546 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10547 --with-build-libsubdir=$(HOST_SUBDIR) \
10548 $(STAGEfeedback_CONFIGURE_FLAGS) \
10549 --disable-shared
10550 @endif gmp-bootstrap
10556 .PHONY: all-gmp maybe-all-gmp
10557 maybe-all-gmp:
10558 @if gcc-bootstrap
10559 all-gmp: stage_current
10560 @endif gcc-bootstrap
10561 @if gmp
10562 TARGET-gmp=all
10563 maybe-all-gmp: all-gmp
10564 all-gmp: configure-gmp
10565 @r=`${PWD_COMMAND}`; export r; \
10566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 $(HOST_EXPORTS) \
10568 (cd $(HOST_SUBDIR)/gmp && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10570 $(TARGET-gmp))
10571 @endif gmp
10575 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10576 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10577 maybe-all-stage1-gmp:
10578 maybe-clean-stage1-gmp:
10579 @if gmp-bootstrap
10580 maybe-all-stage1-gmp: all-stage1-gmp
10581 all-stage1: all-stage1-gmp
10582 TARGET-stage1-gmp = $(TARGET-gmp)
10583 all-stage1-gmp: configure-stage1-gmp
10584 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10585 @r=`${PWD_COMMAND}`; export r; \
10586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10587 TFLAGS="$(STAGE1_TFLAGS)"; \
10588 $(HOST_EXPORTS) \
10589 cd $(HOST_SUBDIR)/gmp && \
10590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10591 CFLAGS="$(STAGE1_CFLAGS)" \
10592 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10593 LIBCFLAGS="$(LIBCFLAGS)" \
10594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10597 $(EXTRA_HOST_FLAGS) \
10598 TFLAGS="$(STAGE1_TFLAGS)" \
10599 $(TARGET-stage1-gmp)
10601 maybe-clean-stage1-gmp: clean-stage1-gmp
10602 clean-stage1: clean-stage1-gmp
10603 clean-stage1-gmp:
10604 @if [ $(current_stage) = stage1 ]; then \
10605 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10606 else \
10607 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10608 $(MAKE) stage1-start; \
10609 fi; \
10610 cd $(HOST_SUBDIR)/gmp && \
10611 $(MAKE) $(EXTRA_HOST_FLAGS) \
10612 clean
10613 @endif gmp-bootstrap
10616 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10617 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10618 maybe-all-stage2-gmp:
10619 maybe-clean-stage2-gmp:
10620 @if gmp-bootstrap
10621 maybe-all-stage2-gmp: all-stage2-gmp
10622 all-stage2: all-stage2-gmp
10623 TARGET-stage2-gmp = $(TARGET-gmp)
10624 all-stage2-gmp: configure-stage2-gmp
10625 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10626 @r=`${PWD_COMMAND}`; export r; \
10627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10628 TFLAGS="$(STAGE2_TFLAGS)"; \
10629 $(HOST_EXPORTS) \
10630 $(POSTSTAGE1_HOST_EXPORTS) \
10631 cd $(HOST_SUBDIR)/gmp && \
10632 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10633 CFLAGS="$(STAGE2_CFLAGS)" \
10634 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10635 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10640 TFLAGS="$(STAGE2_TFLAGS)" \
10641 $(TARGET-stage2-gmp)
10643 maybe-clean-stage2-gmp: clean-stage2-gmp
10644 clean-stage2: clean-stage2-gmp
10645 clean-stage2-gmp:
10646 @if [ $(current_stage) = stage2 ]; then \
10647 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10648 else \
10649 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10650 $(MAKE) stage2-start; \
10651 fi; \
10652 cd $(HOST_SUBDIR)/gmp && \
10653 $(MAKE) $(EXTRA_HOST_FLAGS) \
10654 $(POSTSTAGE1_FLAGS_TO_PASS) \
10655 clean
10656 @endif gmp-bootstrap
10659 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10660 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10661 maybe-all-stage3-gmp:
10662 maybe-clean-stage3-gmp:
10663 @if gmp-bootstrap
10664 maybe-all-stage3-gmp: all-stage3-gmp
10665 all-stage3: all-stage3-gmp
10666 TARGET-stage3-gmp = $(TARGET-gmp)
10667 all-stage3-gmp: configure-stage3-gmp
10668 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10669 @r=`${PWD_COMMAND}`; export r; \
10670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10671 TFLAGS="$(STAGE3_TFLAGS)"; \
10672 $(HOST_EXPORTS) \
10673 $(POSTSTAGE1_HOST_EXPORTS) \
10674 cd $(HOST_SUBDIR)/gmp && \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10676 CFLAGS="$(STAGE3_CFLAGS)" \
10677 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10678 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10683 TFLAGS="$(STAGE3_TFLAGS)" \
10684 $(TARGET-stage3-gmp)
10686 maybe-clean-stage3-gmp: clean-stage3-gmp
10687 clean-stage3: clean-stage3-gmp
10688 clean-stage3-gmp:
10689 @if [ $(current_stage) = stage3 ]; then \
10690 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10691 else \
10692 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10693 $(MAKE) stage3-start; \
10694 fi; \
10695 cd $(HOST_SUBDIR)/gmp && \
10696 $(MAKE) $(EXTRA_HOST_FLAGS) \
10697 $(POSTSTAGE1_FLAGS_TO_PASS) \
10698 clean
10699 @endif gmp-bootstrap
10702 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10703 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10704 maybe-all-stage4-gmp:
10705 maybe-clean-stage4-gmp:
10706 @if gmp-bootstrap
10707 maybe-all-stage4-gmp: all-stage4-gmp
10708 all-stage4: all-stage4-gmp
10709 TARGET-stage4-gmp = $(TARGET-gmp)
10710 all-stage4-gmp: configure-stage4-gmp
10711 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10712 @r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 TFLAGS="$(STAGE4_TFLAGS)"; \
10715 $(HOST_EXPORTS) \
10716 $(POSTSTAGE1_HOST_EXPORTS) \
10717 cd $(HOST_SUBDIR)/gmp && \
10718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10719 CFLAGS="$(STAGE4_CFLAGS)" \
10720 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10721 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10725 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10726 TFLAGS="$(STAGE4_TFLAGS)" \
10727 $(TARGET-stage4-gmp)
10729 maybe-clean-stage4-gmp: clean-stage4-gmp
10730 clean-stage4: clean-stage4-gmp
10731 clean-stage4-gmp:
10732 @if [ $(current_stage) = stage4 ]; then \
10733 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10734 else \
10735 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10736 $(MAKE) stage4-start; \
10737 fi; \
10738 cd $(HOST_SUBDIR)/gmp && \
10739 $(MAKE) $(EXTRA_HOST_FLAGS) \
10740 $(POSTSTAGE1_FLAGS_TO_PASS) \
10741 clean
10742 @endif gmp-bootstrap
10745 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10746 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10747 maybe-all-stageprofile-gmp:
10748 maybe-clean-stageprofile-gmp:
10749 @if gmp-bootstrap
10750 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10751 all-stageprofile: all-stageprofile-gmp
10752 TARGET-stageprofile-gmp = $(TARGET-gmp)
10753 all-stageprofile-gmp: configure-stageprofile-gmp
10754 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10755 @r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10758 $(HOST_EXPORTS) \
10759 $(POSTSTAGE1_HOST_EXPORTS) \
10760 cd $(HOST_SUBDIR)/gmp && \
10761 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10762 CFLAGS="$(STAGEprofile_CFLAGS)" \
10763 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10764 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10765 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10766 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10767 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10768 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10769 TFLAGS="$(STAGEprofile_TFLAGS)" \
10770 $(TARGET-stageprofile-gmp)
10772 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10773 clean-stageprofile: clean-stageprofile-gmp
10774 clean-stageprofile-gmp:
10775 @if [ $(current_stage) = stageprofile ]; then \
10776 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10777 else \
10778 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10779 $(MAKE) stageprofile-start; \
10780 fi; \
10781 cd $(HOST_SUBDIR)/gmp && \
10782 $(MAKE) $(EXTRA_HOST_FLAGS) \
10783 $(POSTSTAGE1_FLAGS_TO_PASS) \
10784 clean
10785 @endif gmp-bootstrap
10788 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10789 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10790 maybe-all-stagefeedback-gmp:
10791 maybe-clean-stagefeedback-gmp:
10792 @if gmp-bootstrap
10793 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10794 all-stagefeedback: all-stagefeedback-gmp
10795 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10796 all-stagefeedback-gmp: configure-stagefeedback-gmp
10797 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10798 @r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10800 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10801 $(HOST_EXPORTS) \
10802 $(POSTSTAGE1_HOST_EXPORTS) \
10803 cd $(HOST_SUBDIR)/gmp && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10805 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10806 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10807 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10812 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10813 $(TARGET-stagefeedback-gmp)
10815 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10816 clean-stagefeedback: clean-stagefeedback-gmp
10817 clean-stagefeedback-gmp:
10818 @if [ $(current_stage) = stagefeedback ]; then \
10819 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10820 else \
10821 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10822 $(MAKE) stagefeedback-start; \
10823 fi; \
10824 cd $(HOST_SUBDIR)/gmp && \
10825 $(MAKE) $(EXTRA_HOST_FLAGS) \
10826 $(POSTSTAGE1_FLAGS_TO_PASS) \
10827 clean
10828 @endif gmp-bootstrap
10834 .PHONY: check-gmp maybe-check-gmp
10835 maybe-check-gmp:
10836 @if gmp
10837 maybe-check-gmp: check-gmp
10839 check-gmp:
10840 @: $(MAKE); $(unstage)
10841 @r=`${PWD_COMMAND}`; export r; \
10842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 $(HOST_EXPORTS) \
10844 (cd $(HOST_SUBDIR)/gmp && \
10845 $(MAKE) $(FLAGS_TO_PASS) check)
10847 @endif gmp
10849 .PHONY: install-gmp maybe-install-gmp
10850 maybe-install-gmp:
10851 @if gmp
10852 maybe-install-gmp: install-gmp
10854 install-gmp:
10856 @endif gmp
10858 .PHONY: install-strip-gmp maybe-install-strip-gmp
10859 maybe-install-strip-gmp:
10860 @if gmp
10861 maybe-install-strip-gmp: install-strip-gmp
10863 install-strip-gmp:
10865 @endif gmp
10867 # Other targets (info, dvi, pdf, etc.)
10869 .PHONY: maybe-info-gmp info-gmp
10870 maybe-info-gmp:
10871 @if gmp
10872 maybe-info-gmp: info-gmp
10874 info-gmp: \
10875 configure-gmp
10876 @[ -f ./gmp/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(HOST_EXPORTS) \
10880 for flag in $(EXTRA_HOST_FLAGS) ; do \
10881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10882 done; \
10883 echo "Doing info in gmp" ; \
10884 (cd $(HOST_SUBDIR)/gmp && \
10885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10887 "RANLIB=$${RANLIB}" \
10888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10889 info) \
10890 || exit 1
10892 @endif gmp
10894 .PHONY: maybe-dvi-gmp dvi-gmp
10895 maybe-dvi-gmp:
10896 @if gmp
10897 maybe-dvi-gmp: dvi-gmp
10899 dvi-gmp: \
10900 configure-gmp
10901 @[ -f ./gmp/Makefile ] || exit 0; \
10902 r=`${PWD_COMMAND}`; export r; \
10903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 $(HOST_EXPORTS) \
10905 for flag in $(EXTRA_HOST_FLAGS) ; do \
10906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10907 done; \
10908 echo "Doing dvi in gmp" ; \
10909 (cd $(HOST_SUBDIR)/gmp && \
10910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10912 "RANLIB=$${RANLIB}" \
10913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10914 dvi) \
10915 || exit 1
10917 @endif gmp
10919 .PHONY: maybe-pdf-gmp pdf-gmp
10920 maybe-pdf-gmp:
10921 @if gmp
10922 maybe-pdf-gmp: pdf-gmp
10924 pdf-gmp: \
10925 configure-gmp
10926 @[ -f ./gmp/Makefile ] || exit 0; \
10927 r=`${PWD_COMMAND}`; export r; \
10928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 $(HOST_EXPORTS) \
10930 for flag in $(EXTRA_HOST_FLAGS) ; do \
10931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10932 done; \
10933 echo "Doing pdf in gmp" ; \
10934 (cd $(HOST_SUBDIR)/gmp && \
10935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10937 "RANLIB=$${RANLIB}" \
10938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10939 pdf) \
10940 || exit 1
10942 @endif gmp
10944 .PHONY: maybe-html-gmp html-gmp
10945 maybe-html-gmp:
10946 @if gmp
10947 maybe-html-gmp: html-gmp
10949 html-gmp: \
10950 configure-gmp
10951 @[ -f ./gmp/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(HOST_EXPORTS) \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing html in gmp" ; \
10959 (cd $(HOST_SUBDIR)/gmp && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10964 html) \
10965 || exit 1
10967 @endif gmp
10969 .PHONY: maybe-TAGS-gmp TAGS-gmp
10970 maybe-TAGS-gmp:
10971 @if gmp
10972 maybe-TAGS-gmp: TAGS-gmp
10974 TAGS-gmp: \
10975 configure-gmp
10976 @[ -f ./gmp/Makefile ] || exit 0; \
10977 r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(HOST_EXPORTS) \
10980 for flag in $(EXTRA_HOST_FLAGS) ; do \
10981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 done; \
10983 echo "Doing TAGS in gmp" ; \
10984 (cd $(HOST_SUBDIR)/gmp && \
10985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10987 "RANLIB=$${RANLIB}" \
10988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10989 TAGS) \
10990 || exit 1
10992 @endif gmp
10994 .PHONY: maybe-install-info-gmp install-info-gmp
10995 maybe-install-info-gmp:
10996 @if gmp
10997 maybe-install-info-gmp: install-info-gmp
10999 install-info-gmp: \
11000 configure-gmp \
11001 info-gmp
11002 @[ -f ./gmp/Makefile ] || exit 0; \
11003 r=`${PWD_COMMAND}`; export r; \
11004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11005 $(HOST_EXPORTS) \
11006 for flag in $(EXTRA_HOST_FLAGS) ; do \
11007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11008 done; \
11009 echo "Doing install-info in gmp" ; \
11010 (cd $(HOST_SUBDIR)/gmp && \
11011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11013 "RANLIB=$${RANLIB}" \
11014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11015 install-info) \
11016 || exit 1
11018 @endif gmp
11020 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11021 maybe-install-pdf-gmp:
11022 @if gmp
11023 maybe-install-pdf-gmp: install-pdf-gmp
11025 install-pdf-gmp: \
11026 configure-gmp \
11027 pdf-gmp
11028 @[ -f ./gmp/Makefile ] || exit 0; \
11029 r=`${PWD_COMMAND}`; export r; \
11030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11031 $(HOST_EXPORTS) \
11032 for flag in $(EXTRA_HOST_FLAGS) ; do \
11033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11034 done; \
11035 echo "Doing install-pdf in gmp" ; \
11036 (cd $(HOST_SUBDIR)/gmp && \
11037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11039 "RANLIB=$${RANLIB}" \
11040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11041 install-pdf) \
11042 || exit 1
11044 @endif gmp
11046 .PHONY: maybe-install-html-gmp install-html-gmp
11047 maybe-install-html-gmp:
11048 @if gmp
11049 maybe-install-html-gmp: install-html-gmp
11051 install-html-gmp: \
11052 configure-gmp \
11053 html-gmp
11054 @[ -f ./gmp/Makefile ] || exit 0; \
11055 r=`${PWD_COMMAND}`; export r; \
11056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11057 $(HOST_EXPORTS) \
11058 for flag in $(EXTRA_HOST_FLAGS) ; do \
11059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11060 done; \
11061 echo "Doing install-html in gmp" ; \
11062 (cd $(HOST_SUBDIR)/gmp && \
11063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11065 "RANLIB=$${RANLIB}" \
11066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11067 install-html) \
11068 || exit 1
11070 @endif gmp
11072 .PHONY: maybe-installcheck-gmp installcheck-gmp
11073 maybe-installcheck-gmp:
11074 @if gmp
11075 maybe-installcheck-gmp: installcheck-gmp
11077 installcheck-gmp: \
11078 configure-gmp
11079 @[ -f ./gmp/Makefile ] || exit 0; \
11080 r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082 $(HOST_EXPORTS) \
11083 for flag in $(EXTRA_HOST_FLAGS) ; do \
11084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11085 done; \
11086 echo "Doing installcheck in gmp" ; \
11087 (cd $(HOST_SUBDIR)/gmp && \
11088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090 "RANLIB=$${RANLIB}" \
11091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11092 installcheck) \
11093 || exit 1
11095 @endif gmp
11097 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11098 maybe-mostlyclean-gmp:
11099 @if gmp
11100 maybe-mostlyclean-gmp: mostlyclean-gmp
11102 mostlyclean-gmp:
11103 @[ -f ./gmp/Makefile ] || exit 0; \
11104 r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 $(HOST_EXPORTS) \
11107 for flag in $(EXTRA_HOST_FLAGS) ; do \
11108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 done; \
11110 echo "Doing mostlyclean in gmp" ; \
11111 (cd $(HOST_SUBDIR)/gmp && \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11114 "RANLIB=$${RANLIB}" \
11115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11116 mostlyclean) \
11117 || exit 1
11119 @endif gmp
11121 .PHONY: maybe-clean-gmp clean-gmp
11122 maybe-clean-gmp:
11123 @if gmp
11124 maybe-clean-gmp: clean-gmp
11126 clean-gmp:
11127 @[ -f ./gmp/Makefile ] || exit 0; \
11128 r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 $(HOST_EXPORTS) \
11131 for flag in $(EXTRA_HOST_FLAGS) ; do \
11132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11133 done; \
11134 echo "Doing clean in gmp" ; \
11135 (cd $(HOST_SUBDIR)/gmp && \
11136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11138 "RANLIB=$${RANLIB}" \
11139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11140 clean) \
11141 || exit 1
11143 @endif gmp
11145 .PHONY: maybe-distclean-gmp distclean-gmp
11146 maybe-distclean-gmp:
11147 @if gmp
11148 maybe-distclean-gmp: distclean-gmp
11150 distclean-gmp:
11151 @[ -f ./gmp/Makefile ] || exit 0; \
11152 r=`${PWD_COMMAND}`; export r; \
11153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11154 $(HOST_EXPORTS) \
11155 for flag in $(EXTRA_HOST_FLAGS) ; do \
11156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11157 done; \
11158 echo "Doing distclean in gmp" ; \
11159 (cd $(HOST_SUBDIR)/gmp && \
11160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11162 "RANLIB=$${RANLIB}" \
11163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11164 distclean) \
11165 || exit 1
11167 @endif gmp
11169 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11170 maybe-maintainer-clean-gmp:
11171 @if gmp
11172 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11174 maintainer-clean-gmp:
11175 @[ -f ./gmp/Makefile ] || exit 0; \
11176 r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 for flag in $(EXTRA_HOST_FLAGS) ; do \
11180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11181 done; \
11182 echo "Doing maintainer-clean in gmp" ; \
11183 (cd $(HOST_SUBDIR)/gmp && \
11184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11186 "RANLIB=$${RANLIB}" \
11187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11188 maintainer-clean) \
11189 || exit 1
11191 @endif gmp
11195 .PHONY: configure-mpfr maybe-configure-mpfr
11196 maybe-configure-mpfr:
11197 @if gcc-bootstrap
11198 configure-mpfr: stage_current
11199 @endif gcc-bootstrap
11200 @if mpfr
11201 maybe-configure-mpfr: configure-mpfr
11202 configure-mpfr:
11203 @r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11207 $(HOST_EXPORTS) \
11208 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11209 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11210 case $(srcdir) in \
11211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11212 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11214 esac; \
11215 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11216 libsrcdir="$$s/mpfr"; \
11217 $(SHELL) $${libsrcdir}/configure \
11218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11219 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11220 || exit 1
11221 @endif mpfr
11225 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11226 maybe-configure-stage1-mpfr:
11227 @if mpfr-bootstrap
11228 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11229 configure-stage1-mpfr:
11230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11232 @r=`${PWD_COMMAND}`; export r; \
11233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11234 TFLAGS="$(STAGE1_TFLAGS)"; \
11235 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11236 $(HOST_EXPORTS) \
11237 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11238 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11239 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11240 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11242 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11243 case $(srcdir) in \
11244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11245 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11247 esac; \
11248 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11249 libsrcdir="$$s/mpfr"; \
11250 $(SHELL) $${libsrcdir}/configure \
11251 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11252 --target=${target_alias} $${srcdiroption} \
11253 $(STAGE1_CONFIGURE_FLAGS) \
11254 --disable-shared @extra_mpfr_configure_flags@
11255 @endif mpfr-bootstrap
11257 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11258 maybe-configure-stage2-mpfr:
11259 @if mpfr-bootstrap
11260 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11261 configure-stage2-mpfr:
11262 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11264 @r=`${PWD_COMMAND}`; export r; \
11265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11266 TFLAGS="$(STAGE2_TFLAGS)"; \
11267 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11268 $(HOST_EXPORTS) \
11269 $(POSTSTAGE1_HOST_EXPORTS) \
11270 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11271 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11272 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11273 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11275 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11276 case $(srcdir) in \
11277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11278 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11280 esac; \
11281 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11282 libsrcdir="$$s/mpfr"; \
11283 $(SHELL) $${libsrcdir}/configure \
11284 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11285 --target=${target_alias} $${srcdiroption} \
11286 --with-build-libsubdir=$(HOST_SUBDIR) \
11287 $(STAGE2_CONFIGURE_FLAGS) \
11288 --disable-shared @extra_mpfr_configure_flags@
11289 @endif mpfr-bootstrap
11291 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11292 maybe-configure-stage3-mpfr:
11293 @if mpfr-bootstrap
11294 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11295 configure-stage3-mpfr:
11296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11298 @r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 TFLAGS="$(STAGE3_TFLAGS)"; \
11301 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11302 $(HOST_EXPORTS) \
11303 $(POSTSTAGE1_HOST_EXPORTS) \
11304 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11305 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11306 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11307 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11309 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11310 case $(srcdir) in \
11311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11312 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11314 esac; \
11315 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11316 libsrcdir="$$s/mpfr"; \
11317 $(SHELL) $${libsrcdir}/configure \
11318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11319 --target=${target_alias} $${srcdiroption} \
11320 --with-build-libsubdir=$(HOST_SUBDIR) \
11321 $(STAGE3_CONFIGURE_FLAGS) \
11322 --disable-shared @extra_mpfr_configure_flags@
11323 @endif mpfr-bootstrap
11325 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11326 maybe-configure-stage4-mpfr:
11327 @if mpfr-bootstrap
11328 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11329 configure-stage4-mpfr:
11330 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11332 @r=`${PWD_COMMAND}`; export r; \
11333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11334 TFLAGS="$(STAGE4_TFLAGS)"; \
11335 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11336 $(HOST_EXPORTS) \
11337 $(POSTSTAGE1_HOST_EXPORTS) \
11338 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11339 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11340 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11341 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11343 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11344 case $(srcdir) in \
11345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11346 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11348 esac; \
11349 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11350 libsrcdir="$$s/mpfr"; \
11351 $(SHELL) $${libsrcdir}/configure \
11352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11353 --target=${target_alias} $${srcdiroption} \
11354 --with-build-libsubdir=$(HOST_SUBDIR) \
11355 $(STAGE4_CONFIGURE_FLAGS) \
11356 --disable-shared @extra_mpfr_configure_flags@
11357 @endif mpfr-bootstrap
11359 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11360 maybe-configure-stageprofile-mpfr:
11361 @if mpfr-bootstrap
11362 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11363 configure-stageprofile-mpfr:
11364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11366 @r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11369 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11370 $(HOST_EXPORTS) \
11371 $(POSTSTAGE1_HOST_EXPORTS) \
11372 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11373 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11374 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11375 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11377 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11378 case $(srcdir) in \
11379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11380 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11382 esac; \
11383 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11384 libsrcdir="$$s/mpfr"; \
11385 $(SHELL) $${libsrcdir}/configure \
11386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11387 --target=${target_alias} $${srcdiroption} \
11388 --with-build-libsubdir=$(HOST_SUBDIR) \
11389 $(STAGEprofile_CONFIGURE_FLAGS) \
11390 --disable-shared @extra_mpfr_configure_flags@
11391 @endif mpfr-bootstrap
11393 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11394 maybe-configure-stagefeedback-mpfr:
11395 @if mpfr-bootstrap
11396 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11397 configure-stagefeedback-mpfr:
11398 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11400 @r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11403 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11404 $(HOST_EXPORTS) \
11405 $(POSTSTAGE1_HOST_EXPORTS) \
11406 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11407 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11408 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11409 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11411 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11412 case $(srcdir) in \
11413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11414 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11416 esac; \
11417 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11418 libsrcdir="$$s/mpfr"; \
11419 $(SHELL) $${libsrcdir}/configure \
11420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11421 --target=${target_alias} $${srcdiroption} \
11422 --with-build-libsubdir=$(HOST_SUBDIR) \
11423 $(STAGEfeedback_CONFIGURE_FLAGS) \
11424 --disable-shared @extra_mpfr_configure_flags@
11425 @endif mpfr-bootstrap
11431 .PHONY: all-mpfr maybe-all-mpfr
11432 maybe-all-mpfr:
11433 @if gcc-bootstrap
11434 all-mpfr: stage_current
11435 @endif gcc-bootstrap
11436 @if mpfr
11437 TARGET-mpfr=all
11438 maybe-all-mpfr: all-mpfr
11439 all-mpfr: configure-mpfr
11440 @r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 $(HOST_EXPORTS) \
11443 (cd $(HOST_SUBDIR)/mpfr && \
11444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11445 $(TARGET-mpfr))
11446 @endif mpfr
11450 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11451 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11452 maybe-all-stage1-mpfr:
11453 maybe-clean-stage1-mpfr:
11454 @if mpfr-bootstrap
11455 maybe-all-stage1-mpfr: all-stage1-mpfr
11456 all-stage1: all-stage1-mpfr
11457 TARGET-stage1-mpfr = $(TARGET-mpfr)
11458 all-stage1-mpfr: configure-stage1-mpfr
11459 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11460 @r=`${PWD_COMMAND}`; export r; \
11461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11462 TFLAGS="$(STAGE1_TFLAGS)"; \
11463 $(HOST_EXPORTS) \
11464 cd $(HOST_SUBDIR)/mpfr && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11466 CFLAGS="$(STAGE1_CFLAGS)" \
11467 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11468 LIBCFLAGS="$(LIBCFLAGS)" \
11469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11472 $(EXTRA_HOST_FLAGS) \
11473 TFLAGS="$(STAGE1_TFLAGS)" \
11474 $(TARGET-stage1-mpfr)
11476 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11477 clean-stage1: clean-stage1-mpfr
11478 clean-stage1-mpfr:
11479 @if [ $(current_stage) = stage1 ]; then \
11480 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11481 else \
11482 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11483 $(MAKE) stage1-start; \
11484 fi; \
11485 cd $(HOST_SUBDIR)/mpfr && \
11486 $(MAKE) $(EXTRA_HOST_FLAGS) \
11487 clean
11488 @endif mpfr-bootstrap
11491 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11492 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11493 maybe-all-stage2-mpfr:
11494 maybe-clean-stage2-mpfr:
11495 @if mpfr-bootstrap
11496 maybe-all-stage2-mpfr: all-stage2-mpfr
11497 all-stage2: all-stage2-mpfr
11498 TARGET-stage2-mpfr = $(TARGET-mpfr)
11499 all-stage2-mpfr: configure-stage2-mpfr
11500 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11501 @r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 TFLAGS="$(STAGE2_TFLAGS)"; \
11504 $(HOST_EXPORTS) \
11505 $(POSTSTAGE1_HOST_EXPORTS) \
11506 cd $(HOST_SUBDIR)/mpfr && \
11507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11508 CFLAGS="$(STAGE2_CFLAGS)" \
11509 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11510 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11514 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11515 TFLAGS="$(STAGE2_TFLAGS)" \
11516 $(TARGET-stage2-mpfr)
11518 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11519 clean-stage2: clean-stage2-mpfr
11520 clean-stage2-mpfr:
11521 @if [ $(current_stage) = stage2 ]; then \
11522 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11523 else \
11524 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11525 $(MAKE) stage2-start; \
11526 fi; \
11527 cd $(HOST_SUBDIR)/mpfr && \
11528 $(MAKE) $(EXTRA_HOST_FLAGS) \
11529 $(POSTSTAGE1_FLAGS_TO_PASS) \
11530 clean
11531 @endif mpfr-bootstrap
11534 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11535 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11536 maybe-all-stage3-mpfr:
11537 maybe-clean-stage3-mpfr:
11538 @if mpfr-bootstrap
11539 maybe-all-stage3-mpfr: all-stage3-mpfr
11540 all-stage3: all-stage3-mpfr
11541 TARGET-stage3-mpfr = $(TARGET-mpfr)
11542 all-stage3-mpfr: configure-stage3-mpfr
11543 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11544 @r=`${PWD_COMMAND}`; export r; \
11545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11546 TFLAGS="$(STAGE3_TFLAGS)"; \
11547 $(HOST_EXPORTS) \
11548 $(POSTSTAGE1_HOST_EXPORTS) \
11549 cd $(HOST_SUBDIR)/mpfr && \
11550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11551 CFLAGS="$(STAGE3_CFLAGS)" \
11552 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11553 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11558 TFLAGS="$(STAGE3_TFLAGS)" \
11559 $(TARGET-stage3-mpfr)
11561 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11562 clean-stage3: clean-stage3-mpfr
11563 clean-stage3-mpfr:
11564 @if [ $(current_stage) = stage3 ]; then \
11565 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11566 else \
11567 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11568 $(MAKE) stage3-start; \
11569 fi; \
11570 cd $(HOST_SUBDIR)/mpfr && \
11571 $(MAKE) $(EXTRA_HOST_FLAGS) \
11572 $(POSTSTAGE1_FLAGS_TO_PASS) \
11573 clean
11574 @endif mpfr-bootstrap
11577 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11578 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11579 maybe-all-stage4-mpfr:
11580 maybe-clean-stage4-mpfr:
11581 @if mpfr-bootstrap
11582 maybe-all-stage4-mpfr: all-stage4-mpfr
11583 all-stage4: all-stage4-mpfr
11584 TARGET-stage4-mpfr = $(TARGET-mpfr)
11585 all-stage4-mpfr: configure-stage4-mpfr
11586 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 TFLAGS="$(STAGE4_TFLAGS)"; \
11590 $(HOST_EXPORTS) \
11591 $(POSTSTAGE1_HOST_EXPORTS) \
11592 cd $(HOST_SUBDIR)/mpfr && \
11593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11594 CFLAGS="$(STAGE4_CFLAGS)" \
11595 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11596 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11601 TFLAGS="$(STAGE4_TFLAGS)" \
11602 $(TARGET-stage4-mpfr)
11604 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11605 clean-stage4: clean-stage4-mpfr
11606 clean-stage4-mpfr:
11607 @if [ $(current_stage) = stage4 ]; then \
11608 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11609 else \
11610 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11611 $(MAKE) stage4-start; \
11612 fi; \
11613 cd $(HOST_SUBDIR)/mpfr && \
11614 $(MAKE) $(EXTRA_HOST_FLAGS) \
11615 $(POSTSTAGE1_FLAGS_TO_PASS) \
11616 clean
11617 @endif mpfr-bootstrap
11620 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11621 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11622 maybe-all-stageprofile-mpfr:
11623 maybe-clean-stageprofile-mpfr:
11624 @if mpfr-bootstrap
11625 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11626 all-stageprofile: all-stageprofile-mpfr
11627 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11628 all-stageprofile-mpfr: configure-stageprofile-mpfr
11629 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11630 @r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11633 $(HOST_EXPORTS) \
11634 $(POSTSTAGE1_HOST_EXPORTS) \
11635 cd $(HOST_SUBDIR)/mpfr && \
11636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11637 CFLAGS="$(STAGEprofile_CFLAGS)" \
11638 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11639 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11643 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11644 TFLAGS="$(STAGEprofile_TFLAGS)" \
11645 $(TARGET-stageprofile-mpfr)
11647 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11648 clean-stageprofile: clean-stageprofile-mpfr
11649 clean-stageprofile-mpfr:
11650 @if [ $(current_stage) = stageprofile ]; then \
11651 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11652 else \
11653 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11654 $(MAKE) stageprofile-start; \
11655 fi; \
11656 cd $(HOST_SUBDIR)/mpfr && \
11657 $(MAKE) $(EXTRA_HOST_FLAGS) \
11658 $(POSTSTAGE1_FLAGS_TO_PASS) \
11659 clean
11660 @endif mpfr-bootstrap
11663 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11664 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11665 maybe-all-stagefeedback-mpfr:
11666 maybe-clean-stagefeedback-mpfr:
11667 @if mpfr-bootstrap
11668 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11669 all-stagefeedback: all-stagefeedback-mpfr
11670 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11671 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11673 @r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11676 $(HOST_EXPORTS) \
11677 $(POSTSTAGE1_HOST_EXPORTS) \
11678 cd $(HOST_SUBDIR)/mpfr && \
11679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11680 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11681 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11682 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11686 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11687 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11688 $(TARGET-stagefeedback-mpfr)
11690 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11691 clean-stagefeedback: clean-stagefeedback-mpfr
11692 clean-stagefeedback-mpfr:
11693 @if [ $(current_stage) = stagefeedback ]; then \
11694 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11695 else \
11696 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11697 $(MAKE) stagefeedback-start; \
11698 fi; \
11699 cd $(HOST_SUBDIR)/mpfr && \
11700 $(MAKE) $(EXTRA_HOST_FLAGS) \
11701 $(POSTSTAGE1_FLAGS_TO_PASS) \
11702 clean
11703 @endif mpfr-bootstrap
11709 .PHONY: check-mpfr maybe-check-mpfr
11710 maybe-check-mpfr:
11711 @if mpfr
11712 maybe-check-mpfr: check-mpfr
11714 check-mpfr:
11715 @: $(MAKE); $(unstage)
11716 @r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11718 $(HOST_EXPORTS) \
11719 (cd $(HOST_SUBDIR)/mpfr && \
11720 $(MAKE) $(FLAGS_TO_PASS) check)
11722 @endif mpfr
11724 .PHONY: install-mpfr maybe-install-mpfr
11725 maybe-install-mpfr:
11726 @if mpfr
11727 maybe-install-mpfr: install-mpfr
11729 install-mpfr:
11731 @endif mpfr
11733 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11734 maybe-install-strip-mpfr:
11735 @if mpfr
11736 maybe-install-strip-mpfr: install-strip-mpfr
11738 install-strip-mpfr:
11740 @endif mpfr
11742 # Other targets (info, dvi, pdf, etc.)
11744 .PHONY: maybe-info-mpfr info-mpfr
11745 maybe-info-mpfr:
11746 @if mpfr
11747 maybe-info-mpfr: info-mpfr
11749 info-mpfr: \
11750 configure-mpfr
11751 @[ -f ./mpfr/Makefile ] || exit 0; \
11752 r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 for flag in $(EXTRA_HOST_FLAGS) ; do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 echo "Doing info in mpfr" ; \
11759 (cd $(HOST_SUBDIR)/mpfr && \
11760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11762 "RANLIB=$${RANLIB}" \
11763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11764 info) \
11765 || exit 1
11767 @endif mpfr
11769 .PHONY: maybe-dvi-mpfr dvi-mpfr
11770 maybe-dvi-mpfr:
11771 @if mpfr
11772 maybe-dvi-mpfr: dvi-mpfr
11774 dvi-mpfr: \
11775 configure-mpfr
11776 @[ -f ./mpfr/Makefile ] || exit 0; \
11777 r=`${PWD_COMMAND}`; export r; \
11778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11779 $(HOST_EXPORTS) \
11780 for flag in $(EXTRA_HOST_FLAGS) ; do \
11781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11782 done; \
11783 echo "Doing dvi in mpfr" ; \
11784 (cd $(HOST_SUBDIR)/mpfr && \
11785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11787 "RANLIB=$${RANLIB}" \
11788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11789 dvi) \
11790 || exit 1
11792 @endif mpfr
11794 .PHONY: maybe-pdf-mpfr pdf-mpfr
11795 maybe-pdf-mpfr:
11796 @if mpfr
11797 maybe-pdf-mpfr: pdf-mpfr
11799 pdf-mpfr: \
11800 configure-mpfr
11801 @[ -f ./mpfr/Makefile ] || exit 0; \
11802 r=`${PWD_COMMAND}`; export r; \
11803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11804 $(HOST_EXPORTS) \
11805 for flag in $(EXTRA_HOST_FLAGS) ; do \
11806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11807 done; \
11808 echo "Doing pdf in mpfr" ; \
11809 (cd $(HOST_SUBDIR)/mpfr && \
11810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11812 "RANLIB=$${RANLIB}" \
11813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11814 pdf) \
11815 || exit 1
11817 @endif mpfr
11819 .PHONY: maybe-html-mpfr html-mpfr
11820 maybe-html-mpfr:
11821 @if mpfr
11822 maybe-html-mpfr: html-mpfr
11824 html-mpfr: \
11825 configure-mpfr
11826 @[ -f ./mpfr/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 $(HOST_EXPORTS) \
11830 for flag in $(EXTRA_HOST_FLAGS) ; do \
11831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11832 done; \
11833 echo "Doing html in mpfr" ; \
11834 (cd $(HOST_SUBDIR)/mpfr && \
11835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11837 "RANLIB=$${RANLIB}" \
11838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11839 html) \
11840 || exit 1
11842 @endif mpfr
11844 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11845 maybe-TAGS-mpfr:
11846 @if mpfr
11847 maybe-TAGS-mpfr: TAGS-mpfr
11849 TAGS-mpfr: \
11850 configure-mpfr
11851 @[ -f ./mpfr/Makefile ] || exit 0; \
11852 r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 $(HOST_EXPORTS) \
11855 for flag in $(EXTRA_HOST_FLAGS) ; do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 done; \
11858 echo "Doing TAGS in mpfr" ; \
11859 (cd $(HOST_SUBDIR)/mpfr && \
11860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11862 "RANLIB=$${RANLIB}" \
11863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11864 TAGS) \
11865 || exit 1
11867 @endif mpfr
11869 .PHONY: maybe-install-info-mpfr install-info-mpfr
11870 maybe-install-info-mpfr:
11871 @if mpfr
11872 maybe-install-info-mpfr: install-info-mpfr
11874 install-info-mpfr: \
11875 configure-mpfr \
11876 info-mpfr
11877 @[ -f ./mpfr/Makefile ] || exit 0; \
11878 r=`${PWD_COMMAND}`; export r; \
11879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11880 $(HOST_EXPORTS) \
11881 for flag in $(EXTRA_HOST_FLAGS) ; do \
11882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11883 done; \
11884 echo "Doing install-info in mpfr" ; \
11885 (cd $(HOST_SUBDIR)/mpfr && \
11886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11888 "RANLIB=$${RANLIB}" \
11889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11890 install-info) \
11891 || exit 1
11893 @endif mpfr
11895 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11896 maybe-install-pdf-mpfr:
11897 @if mpfr
11898 maybe-install-pdf-mpfr: install-pdf-mpfr
11900 install-pdf-mpfr: \
11901 configure-mpfr \
11902 pdf-mpfr
11903 @[ -f ./mpfr/Makefile ] || exit 0; \
11904 r=`${PWD_COMMAND}`; export r; \
11905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11906 $(HOST_EXPORTS) \
11907 for flag in $(EXTRA_HOST_FLAGS) ; do \
11908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11909 done; \
11910 echo "Doing install-pdf in mpfr" ; \
11911 (cd $(HOST_SUBDIR)/mpfr && \
11912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11914 "RANLIB=$${RANLIB}" \
11915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11916 install-pdf) \
11917 || exit 1
11919 @endif mpfr
11921 .PHONY: maybe-install-html-mpfr install-html-mpfr
11922 maybe-install-html-mpfr:
11923 @if mpfr
11924 maybe-install-html-mpfr: install-html-mpfr
11926 install-html-mpfr: \
11927 configure-mpfr \
11928 html-mpfr
11929 @[ -f ./mpfr/Makefile ] || exit 0; \
11930 r=`${PWD_COMMAND}`; export r; \
11931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11932 $(HOST_EXPORTS) \
11933 for flag in $(EXTRA_HOST_FLAGS) ; do \
11934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11935 done; \
11936 echo "Doing install-html in mpfr" ; \
11937 (cd $(HOST_SUBDIR)/mpfr && \
11938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11940 "RANLIB=$${RANLIB}" \
11941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11942 install-html) \
11943 || exit 1
11945 @endif mpfr
11947 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11948 maybe-installcheck-mpfr:
11949 @if mpfr
11950 maybe-installcheck-mpfr: installcheck-mpfr
11952 installcheck-mpfr: \
11953 configure-mpfr
11954 @[ -f ./mpfr/Makefile ] || exit 0; \
11955 r=`${PWD_COMMAND}`; export r; \
11956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11957 $(HOST_EXPORTS) \
11958 for flag in $(EXTRA_HOST_FLAGS) ; do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11960 done; \
11961 echo "Doing installcheck in mpfr" ; \
11962 (cd $(HOST_SUBDIR)/mpfr && \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11967 installcheck) \
11968 || exit 1
11970 @endif mpfr
11972 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
11973 maybe-mostlyclean-mpfr:
11974 @if mpfr
11975 maybe-mostlyclean-mpfr: mostlyclean-mpfr
11977 mostlyclean-mpfr:
11978 @[ -f ./mpfr/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing mostlyclean in mpfr" ; \
11986 (cd $(HOST_SUBDIR)/mpfr && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11991 mostlyclean) \
11992 || exit 1
11994 @endif mpfr
11996 .PHONY: maybe-clean-mpfr clean-mpfr
11997 maybe-clean-mpfr:
11998 @if mpfr
11999 maybe-clean-mpfr: clean-mpfr
12001 clean-mpfr:
12002 @[ -f ./mpfr/Makefile ] || exit 0; \
12003 r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing clean in mpfr" ; \
12010 (cd $(HOST_SUBDIR)/mpfr && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12015 clean) \
12016 || exit 1
12018 @endif mpfr
12020 .PHONY: maybe-distclean-mpfr distclean-mpfr
12021 maybe-distclean-mpfr:
12022 @if mpfr
12023 maybe-distclean-mpfr: distclean-mpfr
12025 distclean-mpfr:
12026 @[ -f ./mpfr/Makefile ] || exit 0; \
12027 r=`${PWD_COMMAND}`; export r; \
12028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 $(HOST_EXPORTS) \
12030 for flag in $(EXTRA_HOST_FLAGS) ; do \
12031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12032 done; \
12033 echo "Doing distclean in mpfr" ; \
12034 (cd $(HOST_SUBDIR)/mpfr && \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12037 "RANLIB=$${RANLIB}" \
12038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12039 distclean) \
12040 || exit 1
12042 @endif mpfr
12044 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12045 maybe-maintainer-clean-mpfr:
12046 @if mpfr
12047 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12049 maintainer-clean-mpfr:
12050 @[ -f ./mpfr/Makefile ] || exit 0; \
12051 r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 $(HOST_EXPORTS) \
12054 for flag in $(EXTRA_HOST_FLAGS) ; do \
12055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12056 done; \
12057 echo "Doing maintainer-clean in mpfr" ; \
12058 (cd $(HOST_SUBDIR)/mpfr && \
12059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12061 "RANLIB=$${RANLIB}" \
12062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12063 maintainer-clean) \
12064 || exit 1
12066 @endif mpfr
12070 .PHONY: configure-mpc maybe-configure-mpc
12071 maybe-configure-mpc:
12072 @if gcc-bootstrap
12073 configure-mpc: stage_current
12074 @endif gcc-bootstrap
12075 @if mpc
12076 maybe-configure-mpc: configure-mpc
12077 configure-mpc:
12078 @r=`${PWD_COMMAND}`; export r; \
12079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12082 $(HOST_EXPORTS) \
12083 echo Configuring in $(HOST_SUBDIR)/mpc; \
12084 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12085 case $(srcdir) in \
12086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12087 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12089 esac; \
12090 srcdiroption="--srcdir=$${topdir}/mpc"; \
12091 libsrcdir="$$s/mpc"; \
12092 $(SHELL) $${libsrcdir}/configure \
12093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12094 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12095 || exit 1
12096 @endif mpc
12100 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12101 maybe-configure-stage1-mpc:
12102 @if mpc-bootstrap
12103 maybe-configure-stage1-mpc: configure-stage1-mpc
12104 configure-stage1-mpc:
12105 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12106 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12107 @r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 TFLAGS="$(STAGE1_TFLAGS)"; \
12110 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12111 $(HOST_EXPORTS) \
12112 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12113 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12114 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12115 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12117 cd $(HOST_SUBDIR)/mpc || exit 1; \
12118 case $(srcdir) in \
12119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12120 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12122 esac; \
12123 srcdiroption="--srcdir=$${topdir}/mpc"; \
12124 libsrcdir="$$s/mpc"; \
12125 $(SHELL) $${libsrcdir}/configure \
12126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12127 --target=${target_alias} $${srcdiroption} \
12128 $(STAGE1_CONFIGURE_FLAGS) \
12129 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12130 @endif mpc-bootstrap
12132 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12133 maybe-configure-stage2-mpc:
12134 @if mpc-bootstrap
12135 maybe-configure-stage2-mpc: configure-stage2-mpc
12136 configure-stage2-mpc:
12137 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12139 @r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 TFLAGS="$(STAGE2_TFLAGS)"; \
12142 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12143 $(HOST_EXPORTS) \
12144 $(POSTSTAGE1_HOST_EXPORTS) \
12145 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12146 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12147 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12148 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12150 cd $(HOST_SUBDIR)/mpc || exit 1; \
12151 case $(srcdir) in \
12152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12153 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12155 esac; \
12156 srcdiroption="--srcdir=$${topdir}/mpc"; \
12157 libsrcdir="$$s/mpc"; \
12158 $(SHELL) $${libsrcdir}/configure \
12159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12160 --target=${target_alias} $${srcdiroption} \
12161 --with-build-libsubdir=$(HOST_SUBDIR) \
12162 $(STAGE2_CONFIGURE_FLAGS) \
12163 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12164 @endif mpc-bootstrap
12166 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12167 maybe-configure-stage3-mpc:
12168 @if mpc-bootstrap
12169 maybe-configure-stage3-mpc: configure-stage3-mpc
12170 configure-stage3-mpc:
12171 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12173 @r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12175 TFLAGS="$(STAGE3_TFLAGS)"; \
12176 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12177 $(HOST_EXPORTS) \
12178 $(POSTSTAGE1_HOST_EXPORTS) \
12179 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12180 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12181 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12182 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12184 cd $(HOST_SUBDIR)/mpc || exit 1; \
12185 case $(srcdir) in \
12186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12187 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12189 esac; \
12190 srcdiroption="--srcdir=$${topdir}/mpc"; \
12191 libsrcdir="$$s/mpc"; \
12192 $(SHELL) $${libsrcdir}/configure \
12193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12194 --target=${target_alias} $${srcdiroption} \
12195 --with-build-libsubdir=$(HOST_SUBDIR) \
12196 $(STAGE3_CONFIGURE_FLAGS) \
12197 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12198 @endif mpc-bootstrap
12200 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12201 maybe-configure-stage4-mpc:
12202 @if mpc-bootstrap
12203 maybe-configure-stage4-mpc: configure-stage4-mpc
12204 configure-stage4-mpc:
12205 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12207 @r=`${PWD_COMMAND}`; export r; \
12208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209 TFLAGS="$(STAGE4_TFLAGS)"; \
12210 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12211 $(HOST_EXPORTS) \
12212 $(POSTSTAGE1_HOST_EXPORTS) \
12213 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12214 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12215 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12216 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12218 cd $(HOST_SUBDIR)/mpc || exit 1; \
12219 case $(srcdir) in \
12220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12221 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12223 esac; \
12224 srcdiroption="--srcdir=$${topdir}/mpc"; \
12225 libsrcdir="$$s/mpc"; \
12226 $(SHELL) $${libsrcdir}/configure \
12227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12228 --target=${target_alias} $${srcdiroption} \
12229 --with-build-libsubdir=$(HOST_SUBDIR) \
12230 $(STAGE4_CONFIGURE_FLAGS) \
12231 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12232 @endif mpc-bootstrap
12234 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12235 maybe-configure-stageprofile-mpc:
12236 @if mpc-bootstrap
12237 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12238 configure-stageprofile-mpc:
12239 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12241 @r=`${PWD_COMMAND}`; export r; \
12242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12244 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12245 $(HOST_EXPORTS) \
12246 $(POSTSTAGE1_HOST_EXPORTS) \
12247 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12248 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12249 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12250 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12252 cd $(HOST_SUBDIR)/mpc || exit 1; \
12253 case $(srcdir) in \
12254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12255 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12257 esac; \
12258 srcdiroption="--srcdir=$${topdir}/mpc"; \
12259 libsrcdir="$$s/mpc"; \
12260 $(SHELL) $${libsrcdir}/configure \
12261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12262 --target=${target_alias} $${srcdiroption} \
12263 --with-build-libsubdir=$(HOST_SUBDIR) \
12264 $(STAGEprofile_CONFIGURE_FLAGS) \
12265 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12266 @endif mpc-bootstrap
12268 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12269 maybe-configure-stagefeedback-mpc:
12270 @if mpc-bootstrap
12271 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12272 configure-stagefeedback-mpc:
12273 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12275 @r=`${PWD_COMMAND}`; export r; \
12276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12278 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12279 $(HOST_EXPORTS) \
12280 $(POSTSTAGE1_HOST_EXPORTS) \
12281 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12282 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12283 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12284 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12286 cd $(HOST_SUBDIR)/mpc || exit 1; \
12287 case $(srcdir) in \
12288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12289 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12291 esac; \
12292 srcdiroption="--srcdir=$${topdir}/mpc"; \
12293 libsrcdir="$$s/mpc"; \
12294 $(SHELL) $${libsrcdir}/configure \
12295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12296 --target=${target_alias} $${srcdiroption} \
12297 --with-build-libsubdir=$(HOST_SUBDIR) \
12298 $(STAGEfeedback_CONFIGURE_FLAGS) \
12299 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12300 @endif mpc-bootstrap
12306 .PHONY: all-mpc maybe-all-mpc
12307 maybe-all-mpc:
12308 @if gcc-bootstrap
12309 all-mpc: stage_current
12310 @endif gcc-bootstrap
12311 @if mpc
12312 TARGET-mpc=all
12313 maybe-all-mpc: all-mpc
12314 all-mpc: configure-mpc
12315 @r=`${PWD_COMMAND}`; export r; \
12316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 $(HOST_EXPORTS) \
12318 (cd $(HOST_SUBDIR)/mpc && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12320 $(TARGET-mpc))
12321 @endif mpc
12325 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12326 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12327 maybe-all-stage1-mpc:
12328 maybe-clean-stage1-mpc:
12329 @if mpc-bootstrap
12330 maybe-all-stage1-mpc: all-stage1-mpc
12331 all-stage1: all-stage1-mpc
12332 TARGET-stage1-mpc = $(TARGET-mpc)
12333 all-stage1-mpc: configure-stage1-mpc
12334 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12335 @r=`${PWD_COMMAND}`; export r; \
12336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12337 TFLAGS="$(STAGE1_TFLAGS)"; \
12338 $(HOST_EXPORTS) \
12339 cd $(HOST_SUBDIR)/mpc && \
12340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12341 CFLAGS="$(STAGE1_CFLAGS)" \
12342 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12343 LIBCFLAGS="$(LIBCFLAGS)" \
12344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12347 $(EXTRA_HOST_FLAGS) \
12348 TFLAGS="$(STAGE1_TFLAGS)" \
12349 $(TARGET-stage1-mpc)
12351 maybe-clean-stage1-mpc: clean-stage1-mpc
12352 clean-stage1: clean-stage1-mpc
12353 clean-stage1-mpc:
12354 @if [ $(current_stage) = stage1 ]; then \
12355 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12356 else \
12357 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12358 $(MAKE) stage1-start; \
12359 fi; \
12360 cd $(HOST_SUBDIR)/mpc && \
12361 $(MAKE) $(EXTRA_HOST_FLAGS) \
12362 clean
12363 @endif mpc-bootstrap
12366 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12367 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12368 maybe-all-stage2-mpc:
12369 maybe-clean-stage2-mpc:
12370 @if mpc-bootstrap
12371 maybe-all-stage2-mpc: all-stage2-mpc
12372 all-stage2: all-stage2-mpc
12373 TARGET-stage2-mpc = $(TARGET-mpc)
12374 all-stage2-mpc: configure-stage2-mpc
12375 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12376 @r=`${PWD_COMMAND}`; export r; \
12377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12378 TFLAGS="$(STAGE2_TFLAGS)"; \
12379 $(HOST_EXPORTS) \
12380 $(POSTSTAGE1_HOST_EXPORTS) \
12381 cd $(HOST_SUBDIR)/mpc && \
12382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12383 CFLAGS="$(STAGE2_CFLAGS)" \
12384 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12385 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12390 TFLAGS="$(STAGE2_TFLAGS)" \
12391 $(TARGET-stage2-mpc)
12393 maybe-clean-stage2-mpc: clean-stage2-mpc
12394 clean-stage2: clean-stage2-mpc
12395 clean-stage2-mpc:
12396 @if [ $(current_stage) = stage2 ]; then \
12397 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12398 else \
12399 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12400 $(MAKE) stage2-start; \
12401 fi; \
12402 cd $(HOST_SUBDIR)/mpc && \
12403 $(MAKE) $(EXTRA_HOST_FLAGS) \
12404 $(POSTSTAGE1_FLAGS_TO_PASS) \
12405 clean
12406 @endif mpc-bootstrap
12409 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12410 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12411 maybe-all-stage3-mpc:
12412 maybe-clean-stage3-mpc:
12413 @if mpc-bootstrap
12414 maybe-all-stage3-mpc: all-stage3-mpc
12415 all-stage3: all-stage3-mpc
12416 TARGET-stage3-mpc = $(TARGET-mpc)
12417 all-stage3-mpc: configure-stage3-mpc
12418 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12419 @r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 TFLAGS="$(STAGE3_TFLAGS)"; \
12422 $(HOST_EXPORTS) \
12423 $(POSTSTAGE1_HOST_EXPORTS) \
12424 cd $(HOST_SUBDIR)/mpc && \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12426 CFLAGS="$(STAGE3_CFLAGS)" \
12427 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12428 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12433 TFLAGS="$(STAGE3_TFLAGS)" \
12434 $(TARGET-stage3-mpc)
12436 maybe-clean-stage3-mpc: clean-stage3-mpc
12437 clean-stage3: clean-stage3-mpc
12438 clean-stage3-mpc:
12439 @if [ $(current_stage) = stage3 ]; then \
12440 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12441 else \
12442 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12443 $(MAKE) stage3-start; \
12444 fi; \
12445 cd $(HOST_SUBDIR)/mpc && \
12446 $(MAKE) $(EXTRA_HOST_FLAGS) \
12447 $(POSTSTAGE1_FLAGS_TO_PASS) \
12448 clean
12449 @endif mpc-bootstrap
12452 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12453 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12454 maybe-all-stage4-mpc:
12455 maybe-clean-stage4-mpc:
12456 @if mpc-bootstrap
12457 maybe-all-stage4-mpc: all-stage4-mpc
12458 all-stage4: all-stage4-mpc
12459 TARGET-stage4-mpc = $(TARGET-mpc)
12460 all-stage4-mpc: configure-stage4-mpc
12461 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12462 @r=`${PWD_COMMAND}`; export r; \
12463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12464 TFLAGS="$(STAGE4_TFLAGS)"; \
12465 $(HOST_EXPORTS) \
12466 $(POSTSTAGE1_HOST_EXPORTS) \
12467 cd $(HOST_SUBDIR)/mpc && \
12468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12469 CFLAGS="$(STAGE4_CFLAGS)" \
12470 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12471 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12476 TFLAGS="$(STAGE4_TFLAGS)" \
12477 $(TARGET-stage4-mpc)
12479 maybe-clean-stage4-mpc: clean-stage4-mpc
12480 clean-stage4: clean-stage4-mpc
12481 clean-stage4-mpc:
12482 @if [ $(current_stage) = stage4 ]; then \
12483 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12484 else \
12485 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12486 $(MAKE) stage4-start; \
12487 fi; \
12488 cd $(HOST_SUBDIR)/mpc && \
12489 $(MAKE) $(EXTRA_HOST_FLAGS) \
12490 $(POSTSTAGE1_FLAGS_TO_PASS) \
12491 clean
12492 @endif mpc-bootstrap
12495 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12496 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12497 maybe-all-stageprofile-mpc:
12498 maybe-clean-stageprofile-mpc:
12499 @if mpc-bootstrap
12500 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12501 all-stageprofile: all-stageprofile-mpc
12502 TARGET-stageprofile-mpc = $(TARGET-mpc)
12503 all-stageprofile-mpc: configure-stageprofile-mpc
12504 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12505 @r=`${PWD_COMMAND}`; export r; \
12506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12508 $(HOST_EXPORTS) \
12509 $(POSTSTAGE1_HOST_EXPORTS) \
12510 cd $(HOST_SUBDIR)/mpc && \
12511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12512 CFLAGS="$(STAGEprofile_CFLAGS)" \
12513 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12514 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12519 TFLAGS="$(STAGEprofile_TFLAGS)" \
12520 $(TARGET-stageprofile-mpc)
12522 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12523 clean-stageprofile: clean-stageprofile-mpc
12524 clean-stageprofile-mpc:
12525 @if [ $(current_stage) = stageprofile ]; then \
12526 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12527 else \
12528 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12529 $(MAKE) stageprofile-start; \
12530 fi; \
12531 cd $(HOST_SUBDIR)/mpc && \
12532 $(MAKE) $(EXTRA_HOST_FLAGS) \
12533 $(POSTSTAGE1_FLAGS_TO_PASS) \
12534 clean
12535 @endif mpc-bootstrap
12538 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12539 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12540 maybe-all-stagefeedback-mpc:
12541 maybe-clean-stagefeedback-mpc:
12542 @if mpc-bootstrap
12543 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12544 all-stagefeedback: all-stagefeedback-mpc
12545 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12546 all-stagefeedback-mpc: configure-stagefeedback-mpc
12547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12548 @r=`${PWD_COMMAND}`; export r; \
12549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12550 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12551 $(HOST_EXPORTS) \
12552 $(POSTSTAGE1_HOST_EXPORTS) \
12553 cd $(HOST_SUBDIR)/mpc && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12555 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12556 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12557 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12562 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12563 $(TARGET-stagefeedback-mpc)
12565 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12566 clean-stagefeedback: clean-stagefeedback-mpc
12567 clean-stagefeedback-mpc:
12568 @if [ $(current_stage) = stagefeedback ]; then \
12569 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12570 else \
12571 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12572 $(MAKE) stagefeedback-start; \
12573 fi; \
12574 cd $(HOST_SUBDIR)/mpc && \
12575 $(MAKE) $(EXTRA_HOST_FLAGS) \
12576 $(POSTSTAGE1_FLAGS_TO_PASS) \
12577 clean
12578 @endif mpc-bootstrap
12584 .PHONY: check-mpc maybe-check-mpc
12585 maybe-check-mpc:
12586 @if mpc
12587 maybe-check-mpc: check-mpc
12589 check-mpc:
12590 @: $(MAKE); $(unstage)
12591 @r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 $(HOST_EXPORTS) \
12594 (cd $(HOST_SUBDIR)/mpc && \
12595 $(MAKE) $(FLAGS_TO_PASS) check)
12597 @endif mpc
12599 .PHONY: install-mpc maybe-install-mpc
12600 maybe-install-mpc:
12601 @if mpc
12602 maybe-install-mpc: install-mpc
12604 install-mpc:
12606 @endif mpc
12608 .PHONY: install-strip-mpc maybe-install-strip-mpc
12609 maybe-install-strip-mpc:
12610 @if mpc
12611 maybe-install-strip-mpc: install-strip-mpc
12613 install-strip-mpc:
12615 @endif mpc
12617 # Other targets (info, dvi, pdf, etc.)
12619 .PHONY: maybe-info-mpc info-mpc
12620 maybe-info-mpc:
12621 @if mpc
12622 maybe-info-mpc: info-mpc
12624 info-mpc: \
12625 configure-mpc
12626 @[ -f ./mpc/Makefile ] || exit 0; \
12627 r=`${PWD_COMMAND}`; export r; \
12628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12629 $(HOST_EXPORTS) \
12630 for flag in $(EXTRA_HOST_FLAGS) ; do \
12631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12632 done; \
12633 echo "Doing info in mpc" ; \
12634 (cd $(HOST_SUBDIR)/mpc && \
12635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12637 "RANLIB=$${RANLIB}" \
12638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12639 info) \
12640 || exit 1
12642 @endif mpc
12644 .PHONY: maybe-dvi-mpc dvi-mpc
12645 maybe-dvi-mpc:
12646 @if mpc
12647 maybe-dvi-mpc: dvi-mpc
12649 dvi-mpc: \
12650 configure-mpc
12651 @[ -f ./mpc/Makefile ] || exit 0; \
12652 r=`${PWD_COMMAND}`; export r; \
12653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 $(HOST_EXPORTS) \
12655 for flag in $(EXTRA_HOST_FLAGS) ; do \
12656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12657 done; \
12658 echo "Doing dvi in mpc" ; \
12659 (cd $(HOST_SUBDIR)/mpc && \
12660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12662 "RANLIB=$${RANLIB}" \
12663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12664 dvi) \
12665 || exit 1
12667 @endif mpc
12669 .PHONY: maybe-pdf-mpc pdf-mpc
12670 maybe-pdf-mpc:
12671 @if mpc
12672 maybe-pdf-mpc: pdf-mpc
12674 pdf-mpc: \
12675 configure-mpc
12676 @[ -f ./mpc/Makefile ] || exit 0; \
12677 r=`${PWD_COMMAND}`; export r; \
12678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12679 $(HOST_EXPORTS) \
12680 for flag in $(EXTRA_HOST_FLAGS) ; do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 done; \
12683 echo "Doing pdf in mpc" ; \
12684 (cd $(HOST_SUBDIR)/mpc && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12689 pdf) \
12690 || exit 1
12692 @endif mpc
12694 .PHONY: maybe-html-mpc html-mpc
12695 maybe-html-mpc:
12696 @if mpc
12697 maybe-html-mpc: html-mpc
12699 html-mpc: \
12700 configure-mpc
12701 @[ -f ./mpc/Makefile ] || exit 0; \
12702 r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 $(HOST_EXPORTS) \
12705 for flag in $(EXTRA_HOST_FLAGS) ; do \
12706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12707 done; \
12708 echo "Doing html in mpc" ; \
12709 (cd $(HOST_SUBDIR)/mpc && \
12710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12712 "RANLIB=$${RANLIB}" \
12713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12714 html) \
12715 || exit 1
12717 @endif mpc
12719 .PHONY: maybe-TAGS-mpc TAGS-mpc
12720 maybe-TAGS-mpc:
12721 @if mpc
12722 maybe-TAGS-mpc: TAGS-mpc
12724 TAGS-mpc: \
12725 configure-mpc
12726 @[ -f ./mpc/Makefile ] || exit 0; \
12727 r=`${PWD_COMMAND}`; export r; \
12728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12729 $(HOST_EXPORTS) \
12730 for flag in $(EXTRA_HOST_FLAGS) ; do \
12731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12732 done; \
12733 echo "Doing TAGS in mpc" ; \
12734 (cd $(HOST_SUBDIR)/mpc && \
12735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12737 "RANLIB=$${RANLIB}" \
12738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12739 TAGS) \
12740 || exit 1
12742 @endif mpc
12744 .PHONY: maybe-install-info-mpc install-info-mpc
12745 maybe-install-info-mpc:
12746 @if mpc
12747 maybe-install-info-mpc: install-info-mpc
12749 install-info-mpc: \
12750 configure-mpc \
12751 info-mpc
12752 @[ -f ./mpc/Makefile ] || exit 0; \
12753 r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 for flag in $(EXTRA_HOST_FLAGS) ; do \
12757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12758 done; \
12759 echo "Doing install-info in mpc" ; \
12760 (cd $(HOST_SUBDIR)/mpc && \
12761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12763 "RANLIB=$${RANLIB}" \
12764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12765 install-info) \
12766 || exit 1
12768 @endif mpc
12770 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12771 maybe-install-pdf-mpc:
12772 @if mpc
12773 maybe-install-pdf-mpc: install-pdf-mpc
12775 install-pdf-mpc: \
12776 configure-mpc \
12777 pdf-mpc
12778 @[ -f ./mpc/Makefile ] || exit 0; \
12779 r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 $(HOST_EXPORTS) \
12782 for flag in $(EXTRA_HOST_FLAGS) ; do \
12783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12784 done; \
12785 echo "Doing install-pdf in mpc" ; \
12786 (cd $(HOST_SUBDIR)/mpc && \
12787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12789 "RANLIB=$${RANLIB}" \
12790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12791 install-pdf) \
12792 || exit 1
12794 @endif mpc
12796 .PHONY: maybe-install-html-mpc install-html-mpc
12797 maybe-install-html-mpc:
12798 @if mpc
12799 maybe-install-html-mpc: install-html-mpc
12801 install-html-mpc: \
12802 configure-mpc \
12803 html-mpc
12804 @[ -f ./mpc/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 $(HOST_EXPORTS) \
12808 for flag in $(EXTRA_HOST_FLAGS) ; do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12810 done; \
12811 echo "Doing install-html in mpc" ; \
12812 (cd $(HOST_SUBDIR)/mpc && \
12813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12815 "RANLIB=$${RANLIB}" \
12816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12817 install-html) \
12818 || exit 1
12820 @endif mpc
12822 .PHONY: maybe-installcheck-mpc installcheck-mpc
12823 maybe-installcheck-mpc:
12824 @if mpc
12825 maybe-installcheck-mpc: installcheck-mpc
12827 installcheck-mpc: \
12828 configure-mpc
12829 @[ -f ./mpc/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 $(HOST_EXPORTS) \
12833 for flag in $(EXTRA_HOST_FLAGS) ; do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835 done; \
12836 echo "Doing installcheck in mpc" ; \
12837 (cd $(HOST_SUBDIR)/mpc && \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12842 installcheck) \
12843 || exit 1
12845 @endif mpc
12847 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12848 maybe-mostlyclean-mpc:
12849 @if mpc
12850 maybe-mostlyclean-mpc: mostlyclean-mpc
12852 mostlyclean-mpc:
12853 @[ -f ./mpc/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(HOST_EXPORTS) \
12857 for flag in $(EXTRA_HOST_FLAGS) ; do \
12858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12859 done; \
12860 echo "Doing mostlyclean in mpc" ; \
12861 (cd $(HOST_SUBDIR)/mpc && \
12862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12864 "RANLIB=$${RANLIB}" \
12865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12866 mostlyclean) \
12867 || exit 1
12869 @endif mpc
12871 .PHONY: maybe-clean-mpc clean-mpc
12872 maybe-clean-mpc:
12873 @if mpc
12874 maybe-clean-mpc: clean-mpc
12876 clean-mpc:
12877 @[ -f ./mpc/Makefile ] || exit 0; \
12878 r=`${PWD_COMMAND}`; export r; \
12879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12880 $(HOST_EXPORTS) \
12881 for flag in $(EXTRA_HOST_FLAGS) ; do \
12882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12883 done; \
12884 echo "Doing clean in mpc" ; \
12885 (cd $(HOST_SUBDIR)/mpc && \
12886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12888 "RANLIB=$${RANLIB}" \
12889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12890 clean) \
12891 || exit 1
12893 @endif mpc
12895 .PHONY: maybe-distclean-mpc distclean-mpc
12896 maybe-distclean-mpc:
12897 @if mpc
12898 maybe-distclean-mpc: distclean-mpc
12900 distclean-mpc:
12901 @[ -f ./mpc/Makefile ] || exit 0; \
12902 r=`${PWD_COMMAND}`; export r; \
12903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 $(HOST_EXPORTS) \
12905 for flag in $(EXTRA_HOST_FLAGS) ; do \
12906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12907 done; \
12908 echo "Doing distclean in mpc" ; \
12909 (cd $(HOST_SUBDIR)/mpc && \
12910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12912 "RANLIB=$${RANLIB}" \
12913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12914 distclean) \
12915 || exit 1
12917 @endif mpc
12919 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12920 maybe-maintainer-clean-mpc:
12921 @if mpc
12922 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12924 maintainer-clean-mpc:
12925 @[ -f ./mpc/Makefile ] || exit 0; \
12926 r=`${PWD_COMMAND}`; export r; \
12927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12928 $(HOST_EXPORTS) \
12929 for flag in $(EXTRA_HOST_FLAGS) ; do \
12930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12931 done; \
12932 echo "Doing maintainer-clean in mpc" ; \
12933 (cd $(HOST_SUBDIR)/mpc && \
12934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12936 "RANLIB=$${RANLIB}" \
12937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12938 maintainer-clean) \
12939 || exit 1
12941 @endif mpc
12945 .PHONY: configure-ppl maybe-configure-ppl
12946 maybe-configure-ppl:
12947 @if gcc-bootstrap
12948 configure-ppl: stage_current
12949 @endif gcc-bootstrap
12950 @if ppl
12951 maybe-configure-ppl: configure-ppl
12952 configure-ppl:
12953 @r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
12956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
12957 $(HOST_EXPORTS) \
12958 echo Configuring in $(HOST_SUBDIR)/ppl; \
12959 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
12960 case $(srcdir) in \
12961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12962 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
12963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12964 esac; \
12965 srcdiroption="--srcdir=$${topdir}/ppl"; \
12966 libsrcdir="$$s/ppl"; \
12967 $(SHELL) $${libsrcdir}/configure \
12968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12969 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
12970 || exit 1
12971 @endif ppl
12975 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
12976 maybe-configure-stage1-ppl:
12977 @if ppl-bootstrap
12978 maybe-configure-stage1-ppl: configure-stage1-ppl
12979 configure-stage1-ppl:
12980 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
12982 @r=`${PWD_COMMAND}`; export r; \
12983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12984 TFLAGS="$(STAGE1_TFLAGS)"; \
12985 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
12986 $(HOST_EXPORTS) \
12987 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12988 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12989 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12990 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
12991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
12992 cd $(HOST_SUBDIR)/ppl || exit 1; \
12993 case $(srcdir) in \
12994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12995 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
12996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12997 esac; \
12998 srcdiroption="--srcdir=$${topdir}/ppl"; \
12999 libsrcdir="$$s/ppl"; \
13000 $(SHELL) $${libsrcdir}/configure \
13001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13002 --target=${target_alias} $${srcdiroption} \
13003 $(STAGE1_CONFIGURE_FLAGS) \
13004 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13005 @endif ppl-bootstrap
13007 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13008 maybe-configure-stage2-ppl:
13009 @if ppl-bootstrap
13010 maybe-configure-stage2-ppl: configure-stage2-ppl
13011 configure-stage2-ppl:
13012 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13014 @r=`${PWD_COMMAND}`; export r; \
13015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13016 TFLAGS="$(STAGE2_TFLAGS)"; \
13017 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13018 $(HOST_EXPORTS) \
13019 $(POSTSTAGE1_HOST_EXPORTS) \
13020 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13021 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13022 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13023 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13025 cd $(HOST_SUBDIR)/ppl || exit 1; \
13026 case $(srcdir) in \
13027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13028 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13030 esac; \
13031 srcdiroption="--srcdir=$${topdir}/ppl"; \
13032 libsrcdir="$$s/ppl"; \
13033 $(SHELL) $${libsrcdir}/configure \
13034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13035 --target=${target_alias} $${srcdiroption} \
13036 --with-build-libsubdir=$(HOST_SUBDIR) \
13037 $(STAGE2_CONFIGURE_FLAGS) \
13038 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13039 @endif ppl-bootstrap
13041 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13042 maybe-configure-stage3-ppl:
13043 @if ppl-bootstrap
13044 maybe-configure-stage3-ppl: configure-stage3-ppl
13045 configure-stage3-ppl:
13046 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13048 @r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 TFLAGS="$(STAGE3_TFLAGS)"; \
13051 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13052 $(HOST_EXPORTS) \
13053 $(POSTSTAGE1_HOST_EXPORTS) \
13054 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13055 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13056 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13057 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13059 cd $(HOST_SUBDIR)/ppl || exit 1; \
13060 case $(srcdir) in \
13061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13062 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13064 esac; \
13065 srcdiroption="--srcdir=$${topdir}/ppl"; \
13066 libsrcdir="$$s/ppl"; \
13067 $(SHELL) $${libsrcdir}/configure \
13068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13069 --target=${target_alias} $${srcdiroption} \
13070 --with-build-libsubdir=$(HOST_SUBDIR) \
13071 $(STAGE3_CONFIGURE_FLAGS) \
13072 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13073 @endif ppl-bootstrap
13075 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13076 maybe-configure-stage4-ppl:
13077 @if ppl-bootstrap
13078 maybe-configure-stage4-ppl: configure-stage4-ppl
13079 configure-stage4-ppl:
13080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13081 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13082 @r=`${PWD_COMMAND}`; export r; \
13083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13084 TFLAGS="$(STAGE4_TFLAGS)"; \
13085 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13086 $(HOST_EXPORTS) \
13087 $(POSTSTAGE1_HOST_EXPORTS) \
13088 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13089 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13090 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13091 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13093 cd $(HOST_SUBDIR)/ppl || exit 1; \
13094 case $(srcdir) in \
13095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13096 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13098 esac; \
13099 srcdiroption="--srcdir=$${topdir}/ppl"; \
13100 libsrcdir="$$s/ppl"; \
13101 $(SHELL) $${libsrcdir}/configure \
13102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13103 --target=${target_alias} $${srcdiroption} \
13104 --with-build-libsubdir=$(HOST_SUBDIR) \
13105 $(STAGE4_CONFIGURE_FLAGS) \
13106 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13107 @endif ppl-bootstrap
13109 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13110 maybe-configure-stageprofile-ppl:
13111 @if ppl-bootstrap
13112 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13113 configure-stageprofile-ppl:
13114 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13116 @r=`${PWD_COMMAND}`; export r; \
13117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13118 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13119 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13120 $(HOST_EXPORTS) \
13121 $(POSTSTAGE1_HOST_EXPORTS) \
13122 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13123 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13124 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13125 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13127 cd $(HOST_SUBDIR)/ppl || exit 1; \
13128 case $(srcdir) in \
13129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13130 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13132 esac; \
13133 srcdiroption="--srcdir=$${topdir}/ppl"; \
13134 libsrcdir="$$s/ppl"; \
13135 $(SHELL) $${libsrcdir}/configure \
13136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13137 --target=${target_alias} $${srcdiroption} \
13138 --with-build-libsubdir=$(HOST_SUBDIR) \
13139 $(STAGEprofile_CONFIGURE_FLAGS) \
13140 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13141 @endif ppl-bootstrap
13143 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13144 maybe-configure-stagefeedback-ppl:
13145 @if ppl-bootstrap
13146 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13147 configure-stagefeedback-ppl:
13148 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13150 @r=`${PWD_COMMAND}`; export r; \
13151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13152 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13153 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13154 $(HOST_EXPORTS) \
13155 $(POSTSTAGE1_HOST_EXPORTS) \
13156 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13157 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13158 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13159 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13161 cd $(HOST_SUBDIR)/ppl || exit 1; \
13162 case $(srcdir) in \
13163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13164 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13166 esac; \
13167 srcdiroption="--srcdir=$${topdir}/ppl"; \
13168 libsrcdir="$$s/ppl"; \
13169 $(SHELL) $${libsrcdir}/configure \
13170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13171 --target=${target_alias} $${srcdiroption} \
13172 --with-build-libsubdir=$(HOST_SUBDIR) \
13173 $(STAGEfeedback_CONFIGURE_FLAGS) \
13174 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13175 @endif ppl-bootstrap
13181 .PHONY: all-ppl maybe-all-ppl
13182 maybe-all-ppl:
13183 @if gcc-bootstrap
13184 all-ppl: stage_current
13185 @endif gcc-bootstrap
13186 @if ppl
13187 TARGET-ppl=all
13188 maybe-all-ppl: all-ppl
13189 all-ppl: configure-ppl
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 $(HOST_EXPORTS) \
13193 (cd $(HOST_SUBDIR)/ppl && \
13194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13195 $(TARGET-ppl))
13196 @endif ppl
13200 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13201 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13202 maybe-all-stage1-ppl:
13203 maybe-clean-stage1-ppl:
13204 @if ppl-bootstrap
13205 maybe-all-stage1-ppl: all-stage1-ppl
13206 all-stage1: all-stage1-ppl
13207 TARGET-stage1-ppl = $(TARGET-ppl)
13208 all-stage1-ppl: configure-stage1-ppl
13209 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13210 @r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212 TFLAGS="$(STAGE1_TFLAGS)"; \
13213 $(HOST_EXPORTS) \
13214 cd $(HOST_SUBDIR)/ppl && \
13215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13216 CFLAGS="$(STAGE1_CFLAGS)" \
13217 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13218 LIBCFLAGS="$(LIBCFLAGS)" \
13219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13222 $(EXTRA_HOST_FLAGS) \
13223 TFLAGS="$(STAGE1_TFLAGS)" \
13224 $(TARGET-stage1-ppl)
13226 maybe-clean-stage1-ppl: clean-stage1-ppl
13227 clean-stage1: clean-stage1-ppl
13228 clean-stage1-ppl:
13229 @if [ $(current_stage) = stage1 ]; then \
13230 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13231 else \
13232 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13233 $(MAKE) stage1-start; \
13234 fi; \
13235 cd $(HOST_SUBDIR)/ppl && \
13236 $(MAKE) $(EXTRA_HOST_FLAGS) \
13237 clean
13238 @endif ppl-bootstrap
13241 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13242 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13243 maybe-all-stage2-ppl:
13244 maybe-clean-stage2-ppl:
13245 @if ppl-bootstrap
13246 maybe-all-stage2-ppl: all-stage2-ppl
13247 all-stage2: all-stage2-ppl
13248 TARGET-stage2-ppl = $(TARGET-ppl)
13249 all-stage2-ppl: configure-stage2-ppl
13250 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13251 @r=`${PWD_COMMAND}`; export r; \
13252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13253 TFLAGS="$(STAGE2_TFLAGS)"; \
13254 $(HOST_EXPORTS) \
13255 $(POSTSTAGE1_HOST_EXPORTS) \
13256 cd $(HOST_SUBDIR)/ppl && \
13257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13258 CFLAGS="$(STAGE2_CFLAGS)" \
13259 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13260 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13265 TFLAGS="$(STAGE2_TFLAGS)" \
13266 $(TARGET-stage2-ppl)
13268 maybe-clean-stage2-ppl: clean-stage2-ppl
13269 clean-stage2: clean-stage2-ppl
13270 clean-stage2-ppl:
13271 @if [ $(current_stage) = stage2 ]; then \
13272 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13273 else \
13274 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13275 $(MAKE) stage2-start; \
13276 fi; \
13277 cd $(HOST_SUBDIR)/ppl && \
13278 $(MAKE) $(EXTRA_HOST_FLAGS) \
13279 $(POSTSTAGE1_FLAGS_TO_PASS) \
13280 clean
13281 @endif ppl-bootstrap
13284 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13285 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13286 maybe-all-stage3-ppl:
13287 maybe-clean-stage3-ppl:
13288 @if ppl-bootstrap
13289 maybe-all-stage3-ppl: all-stage3-ppl
13290 all-stage3: all-stage3-ppl
13291 TARGET-stage3-ppl = $(TARGET-ppl)
13292 all-stage3-ppl: configure-stage3-ppl
13293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13294 @r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 TFLAGS="$(STAGE3_TFLAGS)"; \
13297 $(HOST_EXPORTS) \
13298 $(POSTSTAGE1_HOST_EXPORTS) \
13299 cd $(HOST_SUBDIR)/ppl && \
13300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13301 CFLAGS="$(STAGE3_CFLAGS)" \
13302 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13303 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13308 TFLAGS="$(STAGE3_TFLAGS)" \
13309 $(TARGET-stage3-ppl)
13311 maybe-clean-stage3-ppl: clean-stage3-ppl
13312 clean-stage3: clean-stage3-ppl
13313 clean-stage3-ppl:
13314 @if [ $(current_stage) = stage3 ]; then \
13315 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13316 else \
13317 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13318 $(MAKE) stage3-start; \
13319 fi; \
13320 cd $(HOST_SUBDIR)/ppl && \
13321 $(MAKE) $(EXTRA_HOST_FLAGS) \
13322 $(POSTSTAGE1_FLAGS_TO_PASS) \
13323 clean
13324 @endif ppl-bootstrap
13327 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13328 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13329 maybe-all-stage4-ppl:
13330 maybe-clean-stage4-ppl:
13331 @if ppl-bootstrap
13332 maybe-all-stage4-ppl: all-stage4-ppl
13333 all-stage4: all-stage4-ppl
13334 TARGET-stage4-ppl = $(TARGET-ppl)
13335 all-stage4-ppl: configure-stage4-ppl
13336 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13337 @r=`${PWD_COMMAND}`; export r; \
13338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13339 TFLAGS="$(STAGE4_TFLAGS)"; \
13340 $(HOST_EXPORTS) \
13341 $(POSTSTAGE1_HOST_EXPORTS) \
13342 cd $(HOST_SUBDIR)/ppl && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13344 CFLAGS="$(STAGE4_CFLAGS)" \
13345 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13346 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13351 TFLAGS="$(STAGE4_TFLAGS)" \
13352 $(TARGET-stage4-ppl)
13354 maybe-clean-stage4-ppl: clean-stage4-ppl
13355 clean-stage4: clean-stage4-ppl
13356 clean-stage4-ppl:
13357 @if [ $(current_stage) = stage4 ]; then \
13358 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13359 else \
13360 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13361 $(MAKE) stage4-start; \
13362 fi; \
13363 cd $(HOST_SUBDIR)/ppl && \
13364 $(MAKE) $(EXTRA_HOST_FLAGS) \
13365 $(POSTSTAGE1_FLAGS_TO_PASS) \
13366 clean
13367 @endif ppl-bootstrap
13370 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13371 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13372 maybe-all-stageprofile-ppl:
13373 maybe-clean-stageprofile-ppl:
13374 @if ppl-bootstrap
13375 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13376 all-stageprofile: all-stageprofile-ppl
13377 TARGET-stageprofile-ppl = $(TARGET-ppl)
13378 all-stageprofile-ppl: configure-stageprofile-ppl
13379 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13380 @r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13382 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13383 $(HOST_EXPORTS) \
13384 $(POSTSTAGE1_HOST_EXPORTS) \
13385 cd $(HOST_SUBDIR)/ppl && \
13386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13387 CFLAGS="$(STAGEprofile_CFLAGS)" \
13388 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13389 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13394 TFLAGS="$(STAGEprofile_TFLAGS)" \
13395 $(TARGET-stageprofile-ppl)
13397 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13398 clean-stageprofile: clean-stageprofile-ppl
13399 clean-stageprofile-ppl:
13400 @if [ $(current_stage) = stageprofile ]; then \
13401 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13402 else \
13403 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13404 $(MAKE) stageprofile-start; \
13405 fi; \
13406 cd $(HOST_SUBDIR)/ppl && \
13407 $(MAKE) $(EXTRA_HOST_FLAGS) \
13408 $(POSTSTAGE1_FLAGS_TO_PASS) \
13409 clean
13410 @endif ppl-bootstrap
13413 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13414 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13415 maybe-all-stagefeedback-ppl:
13416 maybe-clean-stagefeedback-ppl:
13417 @if ppl-bootstrap
13418 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13419 all-stagefeedback: all-stagefeedback-ppl
13420 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13421 all-stagefeedback-ppl: configure-stagefeedback-ppl
13422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13423 @r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13426 $(HOST_EXPORTS) \
13427 $(POSTSTAGE1_HOST_EXPORTS) \
13428 cd $(HOST_SUBDIR)/ppl && \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13430 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13431 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13432 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13437 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13438 $(TARGET-stagefeedback-ppl)
13440 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13441 clean-stagefeedback: clean-stagefeedback-ppl
13442 clean-stagefeedback-ppl:
13443 @if [ $(current_stage) = stagefeedback ]; then \
13444 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13445 else \
13446 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13447 $(MAKE) stagefeedback-start; \
13448 fi; \
13449 cd $(HOST_SUBDIR)/ppl && \
13450 $(MAKE) $(EXTRA_HOST_FLAGS) \
13451 $(POSTSTAGE1_FLAGS_TO_PASS) \
13452 clean
13453 @endif ppl-bootstrap
13459 .PHONY: check-ppl maybe-check-ppl
13460 maybe-check-ppl:
13461 @if ppl
13462 maybe-check-ppl: check-ppl
13464 check-ppl:
13465 @: $(MAKE); $(unstage)
13466 @r=`${PWD_COMMAND}`; export r; \
13467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13468 $(HOST_EXPORTS) \
13469 (cd $(HOST_SUBDIR)/ppl && \
13470 $(MAKE) $(FLAGS_TO_PASS) check)
13472 @endif ppl
13474 .PHONY: install-ppl maybe-install-ppl
13475 maybe-install-ppl:
13476 @if ppl
13477 maybe-install-ppl: install-ppl
13479 install-ppl:
13481 @endif ppl
13483 .PHONY: install-strip-ppl maybe-install-strip-ppl
13484 maybe-install-strip-ppl:
13485 @if ppl
13486 maybe-install-strip-ppl: install-strip-ppl
13488 install-strip-ppl:
13490 @endif ppl
13492 # Other targets (info, dvi, pdf, etc.)
13494 .PHONY: maybe-info-ppl info-ppl
13495 maybe-info-ppl:
13496 @if ppl
13497 maybe-info-ppl: info-ppl
13499 info-ppl: \
13500 configure-ppl
13501 @[ -f ./ppl/Makefile ] || exit 0; \
13502 r=`${PWD_COMMAND}`; export r; \
13503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13504 $(HOST_EXPORTS) \
13505 for flag in $(EXTRA_HOST_FLAGS) ; do \
13506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13507 done; \
13508 echo "Doing info in ppl" ; \
13509 (cd $(HOST_SUBDIR)/ppl && \
13510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13512 "RANLIB=$${RANLIB}" \
13513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13514 info) \
13515 || exit 1
13517 @endif ppl
13519 .PHONY: maybe-dvi-ppl dvi-ppl
13520 maybe-dvi-ppl:
13521 @if ppl
13522 maybe-dvi-ppl: dvi-ppl
13524 dvi-ppl: \
13525 configure-ppl
13526 @[ -f ./ppl/Makefile ] || exit 0; \
13527 r=`${PWD_COMMAND}`; export r; \
13528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS) ; do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing dvi in ppl" ; \
13534 (cd $(HOST_SUBDIR)/ppl && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13539 dvi) \
13540 || exit 1
13542 @endif ppl
13544 .PHONY: maybe-pdf-ppl pdf-ppl
13545 maybe-pdf-ppl:
13546 @if ppl
13547 maybe-pdf-ppl: pdf-ppl
13549 pdf-ppl: \
13550 configure-ppl
13551 @[ -f ./ppl/Makefile ] || exit 0; \
13552 r=`${PWD_COMMAND}`; export r; \
13553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 $(HOST_EXPORTS) \
13555 for flag in $(EXTRA_HOST_FLAGS) ; do \
13556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13557 done; \
13558 echo "Doing pdf in ppl" ; \
13559 (cd $(HOST_SUBDIR)/ppl && \
13560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13562 "RANLIB=$${RANLIB}" \
13563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13564 pdf) \
13565 || exit 1
13567 @endif ppl
13569 .PHONY: maybe-html-ppl html-ppl
13570 maybe-html-ppl:
13571 @if ppl
13572 maybe-html-ppl: html-ppl
13574 html-ppl: \
13575 configure-ppl
13576 @[ -f ./ppl/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(HOST_EXPORTS) \
13580 for flag in $(EXTRA_HOST_FLAGS) ; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 echo "Doing html in ppl" ; \
13584 (cd $(HOST_SUBDIR)/ppl && \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13589 html) \
13590 || exit 1
13592 @endif ppl
13594 .PHONY: maybe-TAGS-ppl TAGS-ppl
13595 maybe-TAGS-ppl:
13596 @if ppl
13597 maybe-TAGS-ppl: TAGS-ppl
13599 TAGS-ppl: \
13600 configure-ppl
13601 @[ -f ./ppl/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 for flag in $(EXTRA_HOST_FLAGS) ; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607 done; \
13608 echo "Doing TAGS in ppl" ; \
13609 (cd $(HOST_SUBDIR)/ppl && \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13614 TAGS) \
13615 || exit 1
13617 @endif ppl
13619 .PHONY: maybe-install-info-ppl install-info-ppl
13620 maybe-install-info-ppl:
13621 @if ppl
13622 maybe-install-info-ppl: install-info-ppl
13624 install-info-ppl: \
13625 configure-ppl \
13626 info-ppl
13627 @[ -f ./ppl/Makefile ] || exit 0; \
13628 r=`${PWD_COMMAND}`; export r; \
13629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630 $(HOST_EXPORTS) \
13631 for flag in $(EXTRA_HOST_FLAGS) ; do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 done; \
13634 echo "Doing install-info in ppl" ; \
13635 (cd $(HOST_SUBDIR)/ppl && \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13640 install-info) \
13641 || exit 1
13643 @endif ppl
13645 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13646 maybe-install-pdf-ppl:
13647 @if ppl
13648 maybe-install-pdf-ppl: install-pdf-ppl
13650 install-pdf-ppl: \
13651 configure-ppl \
13652 pdf-ppl
13653 @[ -f ./ppl/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing install-pdf in ppl" ; \
13661 (cd $(HOST_SUBDIR)/ppl && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13666 install-pdf) \
13667 || exit 1
13669 @endif ppl
13671 .PHONY: maybe-install-html-ppl install-html-ppl
13672 maybe-install-html-ppl:
13673 @if ppl
13674 maybe-install-html-ppl: install-html-ppl
13676 install-html-ppl: \
13677 configure-ppl \
13678 html-ppl
13679 @[ -f ./ppl/Makefile ] || exit 0; \
13680 r=`${PWD_COMMAND}`; export r; \
13681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 $(HOST_EXPORTS) \
13683 for flag in $(EXTRA_HOST_FLAGS) ; do \
13684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685 done; \
13686 echo "Doing install-html in ppl" ; \
13687 (cd $(HOST_SUBDIR)/ppl && \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13690 "RANLIB=$${RANLIB}" \
13691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13692 install-html) \
13693 || exit 1
13695 @endif ppl
13697 .PHONY: maybe-installcheck-ppl installcheck-ppl
13698 maybe-installcheck-ppl:
13699 @if ppl
13700 maybe-installcheck-ppl: installcheck-ppl
13702 installcheck-ppl: \
13703 configure-ppl
13704 @[ -f ./ppl/Makefile ] || exit 0; \
13705 r=`${PWD_COMMAND}`; export r; \
13706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 $(HOST_EXPORTS) \
13708 for flag in $(EXTRA_HOST_FLAGS) ; do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 done; \
13711 echo "Doing installcheck in ppl" ; \
13712 (cd $(HOST_SUBDIR)/ppl && \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13717 installcheck) \
13718 || exit 1
13720 @endif ppl
13722 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13723 maybe-mostlyclean-ppl:
13724 @if ppl
13725 maybe-mostlyclean-ppl: mostlyclean-ppl
13727 mostlyclean-ppl:
13728 @[ -f ./ppl/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing mostlyclean in ppl" ; \
13736 (cd $(HOST_SUBDIR)/ppl && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13741 mostlyclean) \
13742 || exit 1
13744 @endif ppl
13746 .PHONY: maybe-clean-ppl clean-ppl
13747 maybe-clean-ppl:
13748 @if ppl
13749 maybe-clean-ppl: clean-ppl
13751 clean-ppl:
13752 @[ -f ./ppl/Makefile ] || exit 0; \
13753 r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 $(HOST_EXPORTS) \
13756 for flag in $(EXTRA_HOST_FLAGS) ; do \
13757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13758 done; \
13759 echo "Doing clean in ppl" ; \
13760 (cd $(HOST_SUBDIR)/ppl && \
13761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13763 "RANLIB=$${RANLIB}" \
13764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13765 clean) \
13766 || exit 1
13768 @endif ppl
13770 .PHONY: maybe-distclean-ppl distclean-ppl
13771 maybe-distclean-ppl:
13772 @if ppl
13773 maybe-distclean-ppl: distclean-ppl
13775 distclean-ppl:
13776 @[ -f ./ppl/Makefile ] || exit 0; \
13777 r=`${PWD_COMMAND}`; export r; \
13778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13779 $(HOST_EXPORTS) \
13780 for flag in $(EXTRA_HOST_FLAGS) ; do \
13781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13782 done; \
13783 echo "Doing distclean in ppl" ; \
13784 (cd $(HOST_SUBDIR)/ppl && \
13785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13787 "RANLIB=$${RANLIB}" \
13788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13789 distclean) \
13790 || exit 1
13792 @endif ppl
13794 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13795 maybe-maintainer-clean-ppl:
13796 @if ppl
13797 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13799 maintainer-clean-ppl:
13800 @[ -f ./ppl/Makefile ] || exit 0; \
13801 r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 $(HOST_EXPORTS) \
13804 for flag in $(EXTRA_HOST_FLAGS) ; do \
13805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13806 done; \
13807 echo "Doing maintainer-clean in ppl" ; \
13808 (cd $(HOST_SUBDIR)/ppl && \
13809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13811 "RANLIB=$${RANLIB}" \
13812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13813 maintainer-clean) \
13814 || exit 1
13816 @endif ppl
13820 .PHONY: configure-cloog maybe-configure-cloog
13821 maybe-configure-cloog:
13822 @if gcc-bootstrap
13823 configure-cloog: stage_current
13824 @endif gcc-bootstrap
13825 @if cloog
13826 maybe-configure-cloog: configure-cloog
13827 configure-cloog:
13828 @r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13832 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13833 echo Configuring in $(HOST_SUBDIR)/cloog; \
13834 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13835 case $(srcdir) in \
13836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13837 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13839 esac; \
13840 srcdiroption="--srcdir=$${topdir}/cloog"; \
13841 libsrcdir="$$s/cloog"; \
13842 $(SHELL) $${libsrcdir}/configure \
13843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13844 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \
13845 || exit 1
13846 @endif cloog
13850 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13851 maybe-configure-stage1-cloog:
13852 @if cloog-bootstrap
13853 maybe-configure-stage1-cloog: configure-stage1-cloog
13854 configure-stage1-cloog:
13855 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13857 @r=`${PWD_COMMAND}`; export r; \
13858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13859 TFLAGS="$(STAGE1_TFLAGS)"; \
13860 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13861 $(HOST_EXPORTS) \
13862 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13863 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13864 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13865 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13867 cd $(HOST_SUBDIR)/cloog || exit 1; \
13868 case $(srcdir) in \
13869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13870 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13872 esac; \
13873 srcdiroption="--srcdir=$${topdir}/cloog"; \
13874 libsrcdir="$$s/cloog"; \
13875 $(SHELL) $${libsrcdir}/configure \
13876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13877 --target=${target_alias} $${srcdiroption} \
13878 $(STAGE1_CONFIGURE_FLAGS) \
13879 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13880 @endif cloog-bootstrap
13882 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13883 maybe-configure-stage2-cloog:
13884 @if cloog-bootstrap
13885 maybe-configure-stage2-cloog: configure-stage2-cloog
13886 configure-stage2-cloog:
13887 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13889 @r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 TFLAGS="$(STAGE2_TFLAGS)"; \
13892 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13893 $(HOST_EXPORTS) \
13894 $(POSTSTAGE1_HOST_EXPORTS) \
13895 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13896 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13897 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13898 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13900 cd $(HOST_SUBDIR)/cloog || exit 1; \
13901 case $(srcdir) in \
13902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13903 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13905 esac; \
13906 srcdiroption="--srcdir=$${topdir}/cloog"; \
13907 libsrcdir="$$s/cloog"; \
13908 $(SHELL) $${libsrcdir}/configure \
13909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13910 --target=${target_alias} $${srcdiroption} \
13911 --with-build-libsubdir=$(HOST_SUBDIR) \
13912 $(STAGE2_CONFIGURE_FLAGS) \
13913 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13914 @endif cloog-bootstrap
13916 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13917 maybe-configure-stage3-cloog:
13918 @if cloog-bootstrap
13919 maybe-configure-stage3-cloog: configure-stage3-cloog
13920 configure-stage3-cloog:
13921 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13923 @r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 TFLAGS="$(STAGE3_TFLAGS)"; \
13926 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13927 $(HOST_EXPORTS) \
13928 $(POSTSTAGE1_HOST_EXPORTS) \
13929 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13930 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13931 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13932 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13934 cd $(HOST_SUBDIR)/cloog || exit 1; \
13935 case $(srcdir) in \
13936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13937 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13939 esac; \
13940 srcdiroption="--srcdir=$${topdir}/cloog"; \
13941 libsrcdir="$$s/cloog"; \
13942 $(SHELL) $${libsrcdir}/configure \
13943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13944 --target=${target_alias} $${srcdiroption} \
13945 --with-build-libsubdir=$(HOST_SUBDIR) \
13946 $(STAGE3_CONFIGURE_FLAGS) \
13947 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13948 @endif cloog-bootstrap
13950 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13951 maybe-configure-stage4-cloog:
13952 @if cloog-bootstrap
13953 maybe-configure-stage4-cloog: configure-stage4-cloog
13954 configure-stage4-cloog:
13955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13957 @r=`${PWD_COMMAND}`; export r; \
13958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13959 TFLAGS="$(STAGE4_TFLAGS)"; \
13960 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13961 $(HOST_EXPORTS) \
13962 $(POSTSTAGE1_HOST_EXPORTS) \
13963 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13964 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13965 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13966 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13968 cd $(HOST_SUBDIR)/cloog || exit 1; \
13969 case $(srcdir) in \
13970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13971 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13973 esac; \
13974 srcdiroption="--srcdir=$${topdir}/cloog"; \
13975 libsrcdir="$$s/cloog"; \
13976 $(SHELL) $${libsrcdir}/configure \
13977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13978 --target=${target_alias} $${srcdiroption} \
13979 --with-build-libsubdir=$(HOST_SUBDIR) \
13980 $(STAGE4_CONFIGURE_FLAGS) \
13981 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13982 @endif cloog-bootstrap
13984 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
13985 maybe-configure-stageprofile-cloog:
13986 @if cloog-bootstrap
13987 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
13988 configure-stageprofile-cloog:
13989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13991 @r=`${PWD_COMMAND}`; export r; \
13992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13993 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13994 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13995 $(HOST_EXPORTS) \
13996 $(POSTSTAGE1_HOST_EXPORTS) \
13997 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13999 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14000 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14002 cd $(HOST_SUBDIR)/cloog || exit 1; \
14003 case $(srcdir) in \
14004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14005 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14007 esac; \
14008 srcdiroption="--srcdir=$${topdir}/cloog"; \
14009 libsrcdir="$$s/cloog"; \
14010 $(SHELL) $${libsrcdir}/configure \
14011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14012 --target=${target_alias} $${srcdiroption} \
14013 --with-build-libsubdir=$(HOST_SUBDIR) \
14014 $(STAGEprofile_CONFIGURE_FLAGS) \
14015 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14016 @endif cloog-bootstrap
14018 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14019 maybe-configure-stagefeedback-cloog:
14020 @if cloog-bootstrap
14021 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14022 configure-stagefeedback-cloog:
14023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14025 @r=`${PWD_COMMAND}`; export r; \
14026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14027 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14028 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14029 $(HOST_EXPORTS) \
14030 $(POSTSTAGE1_HOST_EXPORTS) \
14031 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14032 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14033 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14034 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14036 cd $(HOST_SUBDIR)/cloog || exit 1; \
14037 case $(srcdir) in \
14038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14039 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14041 esac; \
14042 srcdiroption="--srcdir=$${topdir}/cloog"; \
14043 libsrcdir="$$s/cloog"; \
14044 $(SHELL) $${libsrcdir}/configure \
14045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14046 --target=${target_alias} $${srcdiroption} \
14047 --with-build-libsubdir=$(HOST_SUBDIR) \
14048 $(STAGEfeedback_CONFIGURE_FLAGS) \
14049 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14050 @endif cloog-bootstrap
14056 .PHONY: all-cloog maybe-all-cloog
14057 maybe-all-cloog:
14058 @if gcc-bootstrap
14059 all-cloog: stage_current
14060 @endif gcc-bootstrap
14061 @if cloog
14062 TARGET-cloog=all
14063 maybe-all-cloog: all-cloog
14064 all-cloog: configure-cloog
14065 @r=`${PWD_COMMAND}`; export r; \
14066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14067 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14068 (cd $(HOST_SUBDIR)/cloog && \
14069 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14070 $(TARGET-cloog))
14071 @endif cloog
14075 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14076 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14077 maybe-all-stage1-cloog:
14078 maybe-clean-stage1-cloog:
14079 @if cloog-bootstrap
14080 maybe-all-stage1-cloog: all-stage1-cloog
14081 all-stage1: all-stage1-cloog
14082 TARGET-stage1-cloog = $(TARGET-cloog)
14083 all-stage1-cloog: configure-stage1-cloog
14084 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14085 @r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 TFLAGS="$(STAGE1_TFLAGS)"; \
14088 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14089 cd $(HOST_SUBDIR)/cloog && \
14090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14091 CFLAGS="$(STAGE1_CFLAGS)" \
14092 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14093 LIBCFLAGS="$(LIBCFLAGS)" \
14094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14097 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14098 TFLAGS="$(STAGE1_TFLAGS)" \
14099 $(TARGET-stage1-cloog)
14101 maybe-clean-stage1-cloog: clean-stage1-cloog
14102 clean-stage1: clean-stage1-cloog
14103 clean-stage1-cloog:
14104 @if [ $(current_stage) = stage1 ]; then \
14105 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14106 else \
14107 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14108 $(MAKE) stage1-start; \
14109 fi; \
14110 cd $(HOST_SUBDIR)/cloog && \
14111 $(MAKE) $(EXTRA_HOST_FLAGS) \
14112 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14113 @endif cloog-bootstrap
14116 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14117 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14118 maybe-all-stage2-cloog:
14119 maybe-clean-stage2-cloog:
14120 @if cloog-bootstrap
14121 maybe-all-stage2-cloog: all-stage2-cloog
14122 all-stage2: all-stage2-cloog
14123 TARGET-stage2-cloog = $(TARGET-cloog)
14124 all-stage2-cloog: configure-stage2-cloog
14125 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14126 @r=`${PWD_COMMAND}`; export r; \
14127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14128 TFLAGS="$(STAGE2_TFLAGS)"; \
14129 $(HOST_EXPORTS) \
14130 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14131 cd $(HOST_SUBDIR)/cloog && \
14132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14133 CFLAGS="$(STAGE2_CFLAGS)" \
14134 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14135 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14140 TFLAGS="$(STAGE2_TFLAGS)" \
14141 $(TARGET-stage2-cloog)
14143 maybe-clean-stage2-cloog: clean-stage2-cloog
14144 clean-stage2: clean-stage2-cloog
14145 clean-stage2-cloog:
14146 @if [ $(current_stage) = stage2 ]; then \
14147 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14148 else \
14149 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14150 $(MAKE) stage2-start; \
14151 fi; \
14152 cd $(HOST_SUBDIR)/cloog && \
14153 $(MAKE) $(EXTRA_HOST_FLAGS) \
14154 $(POSTSTAGE1_FLAGS_TO_PASS) \
14155 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14156 @endif cloog-bootstrap
14159 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14160 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14161 maybe-all-stage3-cloog:
14162 maybe-clean-stage3-cloog:
14163 @if cloog-bootstrap
14164 maybe-all-stage3-cloog: all-stage3-cloog
14165 all-stage3: all-stage3-cloog
14166 TARGET-stage3-cloog = $(TARGET-cloog)
14167 all-stage3-cloog: configure-stage3-cloog
14168 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14169 @r=`${PWD_COMMAND}`; export r; \
14170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14171 TFLAGS="$(STAGE3_TFLAGS)"; \
14172 $(HOST_EXPORTS) \
14173 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14174 cd $(HOST_SUBDIR)/cloog && \
14175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14176 CFLAGS="$(STAGE3_CFLAGS)" \
14177 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14178 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14183 TFLAGS="$(STAGE3_TFLAGS)" \
14184 $(TARGET-stage3-cloog)
14186 maybe-clean-stage3-cloog: clean-stage3-cloog
14187 clean-stage3: clean-stage3-cloog
14188 clean-stage3-cloog:
14189 @if [ $(current_stage) = stage3 ]; then \
14190 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14191 else \
14192 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14193 $(MAKE) stage3-start; \
14194 fi; \
14195 cd $(HOST_SUBDIR)/cloog && \
14196 $(MAKE) $(EXTRA_HOST_FLAGS) \
14197 $(POSTSTAGE1_FLAGS_TO_PASS) \
14198 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14199 @endif cloog-bootstrap
14202 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14203 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14204 maybe-all-stage4-cloog:
14205 maybe-clean-stage4-cloog:
14206 @if cloog-bootstrap
14207 maybe-all-stage4-cloog: all-stage4-cloog
14208 all-stage4: all-stage4-cloog
14209 TARGET-stage4-cloog = $(TARGET-cloog)
14210 all-stage4-cloog: configure-stage4-cloog
14211 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14212 @r=`${PWD_COMMAND}`; export r; \
14213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 TFLAGS="$(STAGE4_TFLAGS)"; \
14215 $(HOST_EXPORTS) \
14216 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14217 cd $(HOST_SUBDIR)/cloog && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14219 CFLAGS="$(STAGE4_CFLAGS)" \
14220 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14221 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14226 TFLAGS="$(STAGE4_TFLAGS)" \
14227 $(TARGET-stage4-cloog)
14229 maybe-clean-stage4-cloog: clean-stage4-cloog
14230 clean-stage4: clean-stage4-cloog
14231 clean-stage4-cloog:
14232 @if [ $(current_stage) = stage4 ]; then \
14233 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14234 else \
14235 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14236 $(MAKE) stage4-start; \
14237 fi; \
14238 cd $(HOST_SUBDIR)/cloog && \
14239 $(MAKE) $(EXTRA_HOST_FLAGS) \
14240 $(POSTSTAGE1_FLAGS_TO_PASS) \
14241 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14242 @endif cloog-bootstrap
14245 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14246 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14247 maybe-all-stageprofile-cloog:
14248 maybe-clean-stageprofile-cloog:
14249 @if cloog-bootstrap
14250 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14251 all-stageprofile: all-stageprofile-cloog
14252 TARGET-stageprofile-cloog = $(TARGET-cloog)
14253 all-stageprofile-cloog: configure-stageprofile-cloog
14254 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14255 @r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14258 $(HOST_EXPORTS) \
14259 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14260 cd $(HOST_SUBDIR)/cloog && \
14261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14262 CFLAGS="$(STAGEprofile_CFLAGS)" \
14263 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14264 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14269 TFLAGS="$(STAGEprofile_TFLAGS)" \
14270 $(TARGET-stageprofile-cloog)
14272 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14273 clean-stageprofile: clean-stageprofile-cloog
14274 clean-stageprofile-cloog:
14275 @if [ $(current_stage) = stageprofile ]; then \
14276 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14277 else \
14278 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14279 $(MAKE) stageprofile-start; \
14280 fi; \
14281 cd $(HOST_SUBDIR)/cloog && \
14282 $(MAKE) $(EXTRA_HOST_FLAGS) \
14283 $(POSTSTAGE1_FLAGS_TO_PASS) \
14284 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14285 @endif cloog-bootstrap
14288 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14289 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14290 maybe-all-stagefeedback-cloog:
14291 maybe-clean-stagefeedback-cloog:
14292 @if cloog-bootstrap
14293 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14294 all-stagefeedback: all-stagefeedback-cloog
14295 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14296 all-stagefeedback-cloog: configure-stagefeedback-cloog
14297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14298 @r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14301 $(HOST_EXPORTS) \
14302 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14303 cd $(HOST_SUBDIR)/cloog && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14305 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14306 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14307 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14312 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14313 $(TARGET-stagefeedback-cloog)
14315 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14316 clean-stagefeedback: clean-stagefeedback-cloog
14317 clean-stagefeedback-cloog:
14318 @if [ $(current_stage) = stagefeedback ]; then \
14319 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14320 else \
14321 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14322 $(MAKE) stagefeedback-start; \
14323 fi; \
14324 cd $(HOST_SUBDIR)/cloog && \
14325 $(MAKE) $(EXTRA_HOST_FLAGS) \
14326 $(POSTSTAGE1_FLAGS_TO_PASS) \
14327 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14328 @endif cloog-bootstrap
14334 .PHONY: check-cloog maybe-check-cloog
14335 maybe-check-cloog:
14336 @if cloog
14337 maybe-check-cloog: check-cloog
14339 check-cloog:
14340 @: $(MAKE); $(unstage)
14341 @r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 $(HOST_EXPORTS) \
14344 (cd $(HOST_SUBDIR)/cloog && \
14345 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14347 @endif cloog
14349 .PHONY: install-cloog maybe-install-cloog
14350 maybe-install-cloog:
14351 @if cloog
14352 maybe-install-cloog: install-cloog
14354 install-cloog:
14356 @endif cloog
14358 .PHONY: install-strip-cloog maybe-install-strip-cloog
14359 maybe-install-strip-cloog:
14360 @if cloog
14361 maybe-install-strip-cloog: install-strip-cloog
14363 install-strip-cloog:
14365 @endif cloog
14367 # Other targets (info, dvi, pdf, etc.)
14369 .PHONY: maybe-info-cloog info-cloog
14370 maybe-info-cloog:
14371 @if cloog
14372 maybe-info-cloog: info-cloog
14374 info-cloog: \
14375 configure-cloog
14376 @[ -f ./cloog/Makefile ] || exit 0; \
14377 r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 $(HOST_EXPORTS) \
14380 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14382 done; \
14383 echo "Doing info in cloog" ; \
14384 (cd $(HOST_SUBDIR)/cloog && \
14385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14387 "RANLIB=$${RANLIB}" \
14388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14389 info) \
14390 || exit 1
14392 @endif cloog
14394 .PHONY: maybe-dvi-cloog dvi-cloog
14395 maybe-dvi-cloog:
14396 @if cloog
14397 maybe-dvi-cloog: dvi-cloog
14399 dvi-cloog: \
14400 configure-cloog
14401 @[ -f ./cloog/Makefile ] || exit 0; \
14402 r=`${PWD_COMMAND}`; export r; \
14403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14404 $(HOST_EXPORTS) \
14405 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14407 done; \
14408 echo "Doing dvi in cloog" ; \
14409 (cd $(HOST_SUBDIR)/cloog && \
14410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14412 "RANLIB=$${RANLIB}" \
14413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14414 dvi) \
14415 || exit 1
14417 @endif cloog
14419 .PHONY: maybe-pdf-cloog pdf-cloog
14420 maybe-pdf-cloog:
14421 @if cloog
14422 maybe-pdf-cloog: pdf-cloog
14424 pdf-cloog: \
14425 configure-cloog
14426 @[ -f ./cloog/Makefile ] || exit 0; \
14427 r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14429 $(HOST_EXPORTS) \
14430 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14432 done; \
14433 echo "Doing pdf in cloog" ; \
14434 (cd $(HOST_SUBDIR)/cloog && \
14435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14437 "RANLIB=$${RANLIB}" \
14438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14439 pdf) \
14440 || exit 1
14442 @endif cloog
14444 .PHONY: maybe-html-cloog html-cloog
14445 maybe-html-cloog:
14446 @if cloog
14447 maybe-html-cloog: html-cloog
14449 html-cloog: \
14450 configure-cloog
14451 @[ -f ./cloog/Makefile ] || exit 0; \
14452 r=`${PWD_COMMAND}`; export r; \
14453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14454 $(HOST_EXPORTS) \
14455 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457 done; \
14458 echo "Doing html in cloog" ; \
14459 (cd $(HOST_SUBDIR)/cloog && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14464 html) \
14465 || exit 1
14467 @endif cloog
14469 .PHONY: maybe-TAGS-cloog TAGS-cloog
14470 maybe-TAGS-cloog:
14471 @if cloog
14472 maybe-TAGS-cloog: TAGS-cloog
14474 TAGS-cloog: \
14475 configure-cloog
14476 @[ -f ./cloog/Makefile ] || exit 0; \
14477 r=`${PWD_COMMAND}`; export r; \
14478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14479 $(HOST_EXPORTS) \
14480 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14482 done; \
14483 echo "Doing TAGS in cloog" ; \
14484 (cd $(HOST_SUBDIR)/cloog && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14489 TAGS) \
14490 || exit 1
14492 @endif cloog
14494 .PHONY: maybe-install-info-cloog install-info-cloog
14495 maybe-install-info-cloog:
14496 @if cloog
14497 maybe-install-info-cloog: install-info-cloog
14499 install-info-cloog: \
14500 configure-cloog \
14501 info-cloog
14502 @[ -f ./cloog/Makefile ] || exit 0; \
14503 r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 $(HOST_EXPORTS) \
14506 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14508 done; \
14509 echo "Doing install-info in cloog" ; \
14510 (cd $(HOST_SUBDIR)/cloog && \
14511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14513 "RANLIB=$${RANLIB}" \
14514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14515 install-info) \
14516 || exit 1
14518 @endif cloog
14520 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14521 maybe-install-pdf-cloog:
14522 @if cloog
14523 maybe-install-pdf-cloog: install-pdf-cloog
14525 install-pdf-cloog: \
14526 configure-cloog \
14527 pdf-cloog
14528 @[ -f ./cloog/Makefile ] || exit 0; \
14529 r=`${PWD_COMMAND}`; export r; \
14530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14531 $(HOST_EXPORTS) \
14532 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14534 done; \
14535 echo "Doing install-pdf in cloog" ; \
14536 (cd $(HOST_SUBDIR)/cloog && \
14537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14539 "RANLIB=$${RANLIB}" \
14540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14541 install-pdf) \
14542 || exit 1
14544 @endif cloog
14546 .PHONY: maybe-install-html-cloog install-html-cloog
14547 maybe-install-html-cloog:
14548 @if cloog
14549 maybe-install-html-cloog: install-html-cloog
14551 install-html-cloog: \
14552 configure-cloog \
14553 html-cloog
14554 @[ -f ./cloog/Makefile ] || exit 0; \
14555 r=`${PWD_COMMAND}`; export r; \
14556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 $(HOST_EXPORTS) \
14558 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14560 done; \
14561 echo "Doing install-html in cloog" ; \
14562 (cd $(HOST_SUBDIR)/cloog && \
14563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14565 "RANLIB=$${RANLIB}" \
14566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14567 install-html) \
14568 || exit 1
14570 @endif cloog
14572 .PHONY: maybe-installcheck-cloog installcheck-cloog
14573 maybe-installcheck-cloog:
14574 @if cloog
14575 maybe-installcheck-cloog: installcheck-cloog
14577 installcheck-cloog: \
14578 configure-cloog
14579 @[ -f ./cloog/Makefile ] || exit 0; \
14580 r=`${PWD_COMMAND}`; export r; \
14581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14582 $(HOST_EXPORTS) \
14583 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14585 done; \
14586 echo "Doing installcheck in cloog" ; \
14587 (cd $(HOST_SUBDIR)/cloog && \
14588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14590 "RANLIB=$${RANLIB}" \
14591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14592 installcheck) \
14593 || exit 1
14595 @endif cloog
14597 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14598 maybe-mostlyclean-cloog:
14599 @if cloog
14600 maybe-mostlyclean-cloog: mostlyclean-cloog
14602 mostlyclean-cloog:
14603 @[ -f ./cloog/Makefile ] || exit 0; \
14604 r=`${PWD_COMMAND}`; export r; \
14605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14606 $(HOST_EXPORTS) \
14607 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14609 done; \
14610 echo "Doing mostlyclean in cloog" ; \
14611 (cd $(HOST_SUBDIR)/cloog && \
14612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14614 "RANLIB=$${RANLIB}" \
14615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14616 mostlyclean) \
14617 || exit 1
14619 @endif cloog
14621 .PHONY: maybe-clean-cloog clean-cloog
14622 maybe-clean-cloog:
14623 @if cloog
14624 maybe-clean-cloog: clean-cloog
14626 clean-cloog:
14627 @[ -f ./cloog/Makefile ] || exit 0; \
14628 r=`${PWD_COMMAND}`; export r; \
14629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14630 $(HOST_EXPORTS) \
14631 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14633 done; \
14634 echo "Doing clean in cloog" ; \
14635 (cd $(HOST_SUBDIR)/cloog && \
14636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14638 "RANLIB=$${RANLIB}" \
14639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14640 clean) \
14641 || exit 1
14643 @endif cloog
14645 .PHONY: maybe-distclean-cloog distclean-cloog
14646 maybe-distclean-cloog:
14647 @if cloog
14648 maybe-distclean-cloog: distclean-cloog
14650 distclean-cloog:
14651 @[ -f ./cloog/Makefile ] || exit 0; \
14652 r=`${PWD_COMMAND}`; export r; \
14653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 $(HOST_EXPORTS) \
14655 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 done; \
14658 echo "Doing distclean in cloog" ; \
14659 (cd $(HOST_SUBDIR)/cloog && \
14660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14662 "RANLIB=$${RANLIB}" \
14663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14664 distclean) \
14665 || exit 1
14667 @endif cloog
14669 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14670 maybe-maintainer-clean-cloog:
14671 @if cloog
14672 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14674 maintainer-clean-cloog:
14675 @[ -f ./cloog/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing maintainer-clean in cloog" ; \
14683 (cd $(HOST_SUBDIR)/cloog && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14688 maintainer-clean) \
14689 || exit 1
14691 @endif cloog
14695 .PHONY: configure-libelf maybe-configure-libelf
14696 maybe-configure-libelf:
14697 @if gcc-bootstrap
14698 configure-libelf: stage_current
14699 @endif gcc-bootstrap
14700 @if libelf
14701 maybe-configure-libelf: configure-libelf
14702 configure-libelf:
14703 @r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14707 $(HOST_EXPORTS) \
14708 echo Configuring in $(HOST_SUBDIR)/libelf; \
14709 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14710 case $(srcdir) in \
14711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14712 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14714 esac; \
14715 srcdiroption="--srcdir=$${topdir}/libelf"; \
14716 libsrcdir="$$s/libelf"; \
14717 $(SHELL) $${libsrcdir}/configure \
14718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14719 --target=${target_alias} $${srcdiroption} --disable-shared \
14720 || exit 1
14721 @endif libelf
14725 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14726 maybe-configure-stage1-libelf:
14727 @if libelf-bootstrap
14728 maybe-configure-stage1-libelf: configure-stage1-libelf
14729 configure-stage1-libelf:
14730 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14732 @r=`${PWD_COMMAND}`; export r; \
14733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14734 TFLAGS="$(STAGE1_TFLAGS)"; \
14735 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14736 $(HOST_EXPORTS) \
14737 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14738 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14739 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14740 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14742 cd $(HOST_SUBDIR)/libelf || exit 1; \
14743 case $(srcdir) in \
14744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14745 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14747 esac; \
14748 srcdiroption="--srcdir=$${topdir}/libelf"; \
14749 libsrcdir="$$s/libelf"; \
14750 $(SHELL) $${libsrcdir}/configure \
14751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14752 --target=${target_alias} $${srcdiroption} \
14753 $(STAGE1_CONFIGURE_FLAGS) \
14754 --disable-shared
14755 @endif libelf-bootstrap
14757 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14758 maybe-configure-stage2-libelf:
14759 @if libelf-bootstrap
14760 maybe-configure-stage2-libelf: configure-stage2-libelf
14761 configure-stage2-libelf:
14762 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14764 @r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 TFLAGS="$(STAGE2_TFLAGS)"; \
14767 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14768 $(HOST_EXPORTS) \
14769 $(POSTSTAGE1_HOST_EXPORTS) \
14770 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14771 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14772 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14773 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14775 cd $(HOST_SUBDIR)/libelf || exit 1; \
14776 case $(srcdir) in \
14777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14778 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14780 esac; \
14781 srcdiroption="--srcdir=$${topdir}/libelf"; \
14782 libsrcdir="$$s/libelf"; \
14783 $(SHELL) $${libsrcdir}/configure \
14784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14785 --target=${target_alias} $${srcdiroption} \
14786 --with-build-libsubdir=$(HOST_SUBDIR) \
14787 $(STAGE2_CONFIGURE_FLAGS) \
14788 --disable-shared
14789 @endif libelf-bootstrap
14791 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14792 maybe-configure-stage3-libelf:
14793 @if libelf-bootstrap
14794 maybe-configure-stage3-libelf: configure-stage3-libelf
14795 configure-stage3-libelf:
14796 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 TFLAGS="$(STAGE3_TFLAGS)"; \
14801 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14802 $(HOST_EXPORTS) \
14803 $(POSTSTAGE1_HOST_EXPORTS) \
14804 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14805 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14806 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14807 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14809 cd $(HOST_SUBDIR)/libelf || exit 1; \
14810 case $(srcdir) in \
14811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14812 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14814 esac; \
14815 srcdiroption="--srcdir=$${topdir}/libelf"; \
14816 libsrcdir="$$s/libelf"; \
14817 $(SHELL) $${libsrcdir}/configure \
14818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14819 --target=${target_alias} $${srcdiroption} \
14820 --with-build-libsubdir=$(HOST_SUBDIR) \
14821 $(STAGE3_CONFIGURE_FLAGS) \
14822 --disable-shared
14823 @endif libelf-bootstrap
14825 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14826 maybe-configure-stage4-libelf:
14827 @if libelf-bootstrap
14828 maybe-configure-stage4-libelf: configure-stage4-libelf
14829 configure-stage4-libelf:
14830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14832 @r=`${PWD_COMMAND}`; export r; \
14833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14834 TFLAGS="$(STAGE4_TFLAGS)"; \
14835 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14836 $(HOST_EXPORTS) \
14837 $(POSTSTAGE1_HOST_EXPORTS) \
14838 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14839 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14840 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14841 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14843 cd $(HOST_SUBDIR)/libelf || exit 1; \
14844 case $(srcdir) in \
14845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14846 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14848 esac; \
14849 srcdiroption="--srcdir=$${topdir}/libelf"; \
14850 libsrcdir="$$s/libelf"; \
14851 $(SHELL) $${libsrcdir}/configure \
14852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14853 --target=${target_alias} $${srcdiroption} \
14854 --with-build-libsubdir=$(HOST_SUBDIR) \
14855 $(STAGE4_CONFIGURE_FLAGS) \
14856 --disable-shared
14857 @endif libelf-bootstrap
14859 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14860 maybe-configure-stageprofile-libelf:
14861 @if libelf-bootstrap
14862 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14863 configure-stageprofile-libelf:
14864 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14866 @r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14869 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14870 $(HOST_EXPORTS) \
14871 $(POSTSTAGE1_HOST_EXPORTS) \
14872 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14873 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14874 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14875 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14877 cd $(HOST_SUBDIR)/libelf || exit 1; \
14878 case $(srcdir) in \
14879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14880 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14882 esac; \
14883 srcdiroption="--srcdir=$${topdir}/libelf"; \
14884 libsrcdir="$$s/libelf"; \
14885 $(SHELL) $${libsrcdir}/configure \
14886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14887 --target=${target_alias} $${srcdiroption} \
14888 --with-build-libsubdir=$(HOST_SUBDIR) \
14889 $(STAGEprofile_CONFIGURE_FLAGS) \
14890 --disable-shared
14891 @endif libelf-bootstrap
14893 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14894 maybe-configure-stagefeedback-libelf:
14895 @if libelf-bootstrap
14896 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14897 configure-stagefeedback-libelf:
14898 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14900 @r=`${PWD_COMMAND}`; export r; \
14901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14902 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14903 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14904 $(HOST_EXPORTS) \
14905 $(POSTSTAGE1_HOST_EXPORTS) \
14906 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14907 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14908 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14909 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14911 cd $(HOST_SUBDIR)/libelf || exit 1; \
14912 case $(srcdir) in \
14913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14914 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14916 esac; \
14917 srcdiroption="--srcdir=$${topdir}/libelf"; \
14918 libsrcdir="$$s/libelf"; \
14919 $(SHELL) $${libsrcdir}/configure \
14920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14921 --target=${target_alias} $${srcdiroption} \
14922 --with-build-libsubdir=$(HOST_SUBDIR) \
14923 $(STAGEfeedback_CONFIGURE_FLAGS) \
14924 --disable-shared
14925 @endif libelf-bootstrap
14931 .PHONY: all-libelf maybe-all-libelf
14932 maybe-all-libelf:
14933 @if gcc-bootstrap
14934 all-libelf: stage_current
14935 @endif gcc-bootstrap
14936 @if libelf
14937 TARGET-libelf=all
14938 maybe-all-libelf: all-libelf
14939 all-libelf: configure-libelf
14940 @r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942 $(HOST_EXPORTS) \
14943 (cd $(HOST_SUBDIR)/libelf && \
14944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14945 $(TARGET-libelf))
14946 @endif libelf
14950 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14951 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14952 maybe-all-stage1-libelf:
14953 maybe-clean-stage1-libelf:
14954 @if libelf-bootstrap
14955 maybe-all-stage1-libelf: all-stage1-libelf
14956 all-stage1: all-stage1-libelf
14957 TARGET-stage1-libelf = $(TARGET-libelf)
14958 all-stage1-libelf: configure-stage1-libelf
14959 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14960 @r=`${PWD_COMMAND}`; export r; \
14961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14962 TFLAGS="$(STAGE1_TFLAGS)"; \
14963 $(HOST_EXPORTS) \
14964 cd $(HOST_SUBDIR)/libelf && \
14965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14966 CFLAGS="$(STAGE1_CFLAGS)" \
14967 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14968 LIBCFLAGS="$(LIBCFLAGS)" \
14969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14972 $(EXTRA_HOST_FLAGS) \
14973 TFLAGS="$(STAGE1_TFLAGS)" \
14974 $(TARGET-stage1-libelf)
14976 maybe-clean-stage1-libelf: clean-stage1-libelf
14977 clean-stage1: clean-stage1-libelf
14978 clean-stage1-libelf:
14979 @if [ $(current_stage) = stage1 ]; then \
14980 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14981 else \
14982 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14983 $(MAKE) stage1-start; \
14984 fi; \
14985 cd $(HOST_SUBDIR)/libelf && \
14986 $(MAKE) $(EXTRA_HOST_FLAGS) \
14987 clean
14988 @endif libelf-bootstrap
14991 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14992 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14993 maybe-all-stage2-libelf:
14994 maybe-clean-stage2-libelf:
14995 @if libelf-bootstrap
14996 maybe-all-stage2-libelf: all-stage2-libelf
14997 all-stage2: all-stage2-libelf
14998 TARGET-stage2-libelf = $(TARGET-libelf)
14999 all-stage2-libelf: configure-stage2-libelf
15000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15001 @r=`${PWD_COMMAND}`; export r; \
15002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003 TFLAGS="$(STAGE2_TFLAGS)"; \
15004 $(HOST_EXPORTS) \
15005 $(POSTSTAGE1_HOST_EXPORTS) \
15006 cd $(HOST_SUBDIR)/libelf && \
15007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15008 CFLAGS="$(STAGE2_CFLAGS)" \
15009 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15010 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15015 TFLAGS="$(STAGE2_TFLAGS)" \
15016 $(TARGET-stage2-libelf)
15018 maybe-clean-stage2-libelf: clean-stage2-libelf
15019 clean-stage2: clean-stage2-libelf
15020 clean-stage2-libelf:
15021 @if [ $(current_stage) = stage2 ]; then \
15022 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15023 else \
15024 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15025 $(MAKE) stage2-start; \
15026 fi; \
15027 cd $(HOST_SUBDIR)/libelf && \
15028 $(MAKE) $(EXTRA_HOST_FLAGS) \
15029 $(POSTSTAGE1_FLAGS_TO_PASS) \
15030 clean
15031 @endif libelf-bootstrap
15034 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15035 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15036 maybe-all-stage3-libelf:
15037 maybe-clean-stage3-libelf:
15038 @if libelf-bootstrap
15039 maybe-all-stage3-libelf: all-stage3-libelf
15040 all-stage3: all-stage3-libelf
15041 TARGET-stage3-libelf = $(TARGET-libelf)
15042 all-stage3-libelf: configure-stage3-libelf
15043 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15044 @r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 TFLAGS="$(STAGE3_TFLAGS)"; \
15047 $(HOST_EXPORTS) \
15048 $(POSTSTAGE1_HOST_EXPORTS) \
15049 cd $(HOST_SUBDIR)/libelf && \
15050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15051 CFLAGS="$(STAGE3_CFLAGS)" \
15052 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15053 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15058 TFLAGS="$(STAGE3_TFLAGS)" \
15059 $(TARGET-stage3-libelf)
15061 maybe-clean-stage3-libelf: clean-stage3-libelf
15062 clean-stage3: clean-stage3-libelf
15063 clean-stage3-libelf:
15064 @if [ $(current_stage) = stage3 ]; then \
15065 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15066 else \
15067 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15068 $(MAKE) stage3-start; \
15069 fi; \
15070 cd $(HOST_SUBDIR)/libelf && \
15071 $(MAKE) $(EXTRA_HOST_FLAGS) \
15072 $(POSTSTAGE1_FLAGS_TO_PASS) \
15073 clean
15074 @endif libelf-bootstrap
15077 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15078 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15079 maybe-all-stage4-libelf:
15080 maybe-clean-stage4-libelf:
15081 @if libelf-bootstrap
15082 maybe-all-stage4-libelf: all-stage4-libelf
15083 all-stage4: all-stage4-libelf
15084 TARGET-stage4-libelf = $(TARGET-libelf)
15085 all-stage4-libelf: configure-stage4-libelf
15086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15087 @r=`${PWD_COMMAND}`; export r; \
15088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15089 TFLAGS="$(STAGE4_TFLAGS)"; \
15090 $(HOST_EXPORTS) \
15091 $(POSTSTAGE1_HOST_EXPORTS) \
15092 cd $(HOST_SUBDIR)/libelf && \
15093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15094 CFLAGS="$(STAGE4_CFLAGS)" \
15095 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15096 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15101 TFLAGS="$(STAGE4_TFLAGS)" \
15102 $(TARGET-stage4-libelf)
15104 maybe-clean-stage4-libelf: clean-stage4-libelf
15105 clean-stage4: clean-stage4-libelf
15106 clean-stage4-libelf:
15107 @if [ $(current_stage) = stage4 ]; then \
15108 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15109 else \
15110 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15111 $(MAKE) stage4-start; \
15112 fi; \
15113 cd $(HOST_SUBDIR)/libelf && \
15114 $(MAKE) $(EXTRA_HOST_FLAGS) \
15115 $(POSTSTAGE1_FLAGS_TO_PASS) \
15116 clean
15117 @endif libelf-bootstrap
15120 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15121 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15122 maybe-all-stageprofile-libelf:
15123 maybe-clean-stageprofile-libelf:
15124 @if libelf-bootstrap
15125 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15126 all-stageprofile: all-stageprofile-libelf
15127 TARGET-stageprofile-libelf = $(TARGET-libelf)
15128 all-stageprofile-libelf: configure-stageprofile-libelf
15129 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15130 @r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15133 $(HOST_EXPORTS) \
15134 $(POSTSTAGE1_HOST_EXPORTS) \
15135 cd $(HOST_SUBDIR)/libelf && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15137 CFLAGS="$(STAGEprofile_CFLAGS)" \
15138 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15139 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15144 TFLAGS="$(STAGEprofile_TFLAGS)" \
15145 $(TARGET-stageprofile-libelf)
15147 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15148 clean-stageprofile: clean-stageprofile-libelf
15149 clean-stageprofile-libelf:
15150 @if [ $(current_stage) = stageprofile ]; then \
15151 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15152 else \
15153 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15154 $(MAKE) stageprofile-start; \
15155 fi; \
15156 cd $(HOST_SUBDIR)/libelf && \
15157 $(MAKE) $(EXTRA_HOST_FLAGS) \
15158 $(POSTSTAGE1_FLAGS_TO_PASS) \
15159 clean
15160 @endif libelf-bootstrap
15163 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15164 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15165 maybe-all-stagefeedback-libelf:
15166 maybe-clean-stagefeedback-libelf:
15167 @if libelf-bootstrap
15168 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15169 all-stagefeedback: all-stagefeedback-libelf
15170 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15171 all-stagefeedback-libelf: configure-stagefeedback-libelf
15172 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15176 $(HOST_EXPORTS) \
15177 $(POSTSTAGE1_HOST_EXPORTS) \
15178 cd $(HOST_SUBDIR)/libelf && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15180 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15181 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15182 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15187 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15188 $(TARGET-stagefeedback-libelf)
15190 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15191 clean-stagefeedback: clean-stagefeedback-libelf
15192 clean-stagefeedback-libelf:
15193 @if [ $(current_stage) = stagefeedback ]; then \
15194 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15195 else \
15196 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15197 $(MAKE) stagefeedback-start; \
15198 fi; \
15199 cd $(HOST_SUBDIR)/libelf && \
15200 $(MAKE) $(EXTRA_HOST_FLAGS) \
15201 $(POSTSTAGE1_FLAGS_TO_PASS) \
15202 clean
15203 @endif libelf-bootstrap
15209 .PHONY: check-libelf maybe-check-libelf
15210 maybe-check-libelf:
15211 @if libelf
15212 maybe-check-libelf: check-libelf
15214 check-libelf:
15215 @: $(MAKE); $(unstage)
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 (cd $(HOST_SUBDIR)/libelf && \
15220 $(MAKE) $(FLAGS_TO_PASS) check)
15222 @endif libelf
15224 .PHONY: install-libelf maybe-install-libelf
15225 maybe-install-libelf:
15226 @if libelf
15227 maybe-install-libelf: install-libelf
15229 install-libelf:
15231 @endif libelf
15233 .PHONY: install-strip-libelf maybe-install-strip-libelf
15234 maybe-install-strip-libelf:
15235 @if libelf
15236 maybe-install-strip-libelf: install-strip-libelf
15238 install-strip-libelf:
15240 @endif libelf
15242 # Other targets (info, dvi, pdf, etc.)
15244 .PHONY: maybe-info-libelf info-libelf
15245 maybe-info-libelf:
15246 @if libelf
15247 maybe-info-libelf: info-libelf
15249 info-libelf: \
15250 configure-libelf
15251 @[ -f ./libelf/Makefile ] || exit 0; \
15252 r=`${PWD_COMMAND}`; export r; \
15253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15254 $(HOST_EXPORTS) \
15255 for flag in $(EXTRA_HOST_FLAGS) ; do \
15256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15257 done; \
15258 echo "Doing info in libelf" ; \
15259 (cd $(HOST_SUBDIR)/libelf && \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15264 info) \
15265 || exit 1
15267 @endif libelf
15269 .PHONY: maybe-dvi-libelf dvi-libelf
15270 maybe-dvi-libelf:
15271 @if libelf
15272 maybe-dvi-libelf: dvi-libelf
15274 dvi-libelf: \
15275 configure-libelf
15276 @[ -f ./libelf/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 for flag in $(EXTRA_HOST_FLAGS) ; do \
15281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282 done; \
15283 echo "Doing dvi in libelf" ; \
15284 (cd $(HOST_SUBDIR)/libelf && \
15285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287 "RANLIB=$${RANLIB}" \
15288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15289 dvi) \
15290 || exit 1
15292 @endif libelf
15294 .PHONY: maybe-pdf-libelf pdf-libelf
15295 maybe-pdf-libelf:
15296 @if libelf
15297 maybe-pdf-libelf: pdf-libelf
15299 pdf-libelf: \
15300 configure-libelf
15301 @[ -f ./libelf/Makefile ] || exit 0; \
15302 r=`${PWD_COMMAND}`; export r; \
15303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304 $(HOST_EXPORTS) \
15305 for flag in $(EXTRA_HOST_FLAGS) ; do \
15306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 done; \
15308 echo "Doing pdf in libelf" ; \
15309 (cd $(HOST_SUBDIR)/libelf && \
15310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15312 "RANLIB=$${RANLIB}" \
15313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15314 pdf) \
15315 || exit 1
15317 @endif libelf
15319 .PHONY: maybe-html-libelf html-libelf
15320 maybe-html-libelf:
15321 @if libelf
15322 maybe-html-libelf: html-libelf
15324 html-libelf: \
15325 configure-libelf
15326 @[ -f ./libelf/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(HOST_EXPORTS) \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15332 done; \
15333 echo "Doing html in libelf" ; \
15334 (cd $(HOST_SUBDIR)/libelf && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15339 html) \
15340 || exit 1
15342 @endif libelf
15344 .PHONY: maybe-TAGS-libelf TAGS-libelf
15345 maybe-TAGS-libelf:
15346 @if libelf
15347 maybe-TAGS-libelf: TAGS-libelf
15349 TAGS-libelf: \
15350 configure-libelf
15351 @[ -f ./libelf/Makefile ] || exit 0; \
15352 r=`${PWD_COMMAND}`; export r; \
15353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 $(HOST_EXPORTS) \
15355 for flag in $(EXTRA_HOST_FLAGS) ; do \
15356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15357 done; \
15358 echo "Doing TAGS in libelf" ; \
15359 (cd $(HOST_SUBDIR)/libelf && \
15360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15362 "RANLIB=$${RANLIB}" \
15363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15364 TAGS) \
15365 || exit 1
15367 @endif libelf
15369 .PHONY: maybe-install-info-libelf install-info-libelf
15370 maybe-install-info-libelf:
15371 @if libelf
15372 maybe-install-info-libelf: install-info-libelf
15374 install-info-libelf: \
15375 configure-libelf \
15376 info-libelf
15377 @[ -f ./libelf/Makefile ] || exit 0; \
15378 r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 $(HOST_EXPORTS) \
15381 for flag in $(EXTRA_HOST_FLAGS) ; do \
15382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15383 done; \
15384 echo "Doing install-info in libelf" ; \
15385 (cd $(HOST_SUBDIR)/libelf && \
15386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15388 "RANLIB=$${RANLIB}" \
15389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15390 install-info) \
15391 || exit 1
15393 @endif libelf
15395 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15396 maybe-install-pdf-libelf:
15397 @if libelf
15398 maybe-install-pdf-libelf: install-pdf-libelf
15400 install-pdf-libelf: \
15401 configure-libelf \
15402 pdf-libelf
15403 @[ -f ./libelf/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15406 $(HOST_EXPORTS) \
15407 for flag in $(EXTRA_HOST_FLAGS) ; do \
15408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15409 done; \
15410 echo "Doing install-pdf in libelf" ; \
15411 (cd $(HOST_SUBDIR)/libelf && \
15412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15414 "RANLIB=$${RANLIB}" \
15415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15416 install-pdf) \
15417 || exit 1
15419 @endif libelf
15421 .PHONY: maybe-install-html-libelf install-html-libelf
15422 maybe-install-html-libelf:
15423 @if libelf
15424 maybe-install-html-libelf: install-html-libelf
15426 install-html-libelf: \
15427 configure-libelf \
15428 html-libelf
15429 @[ -f ./libelf/Makefile ] || exit 0; \
15430 r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15432 $(HOST_EXPORTS) \
15433 for flag in $(EXTRA_HOST_FLAGS) ; do \
15434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15435 done; \
15436 echo "Doing install-html in libelf" ; \
15437 (cd $(HOST_SUBDIR)/libelf && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15440 "RANLIB=$${RANLIB}" \
15441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15442 install-html) \
15443 || exit 1
15445 @endif libelf
15447 .PHONY: maybe-installcheck-libelf installcheck-libelf
15448 maybe-installcheck-libelf:
15449 @if libelf
15450 maybe-installcheck-libelf: installcheck-libelf
15452 installcheck-libelf: \
15453 configure-libelf
15454 @[ -f ./libelf/Makefile ] || exit 0; \
15455 r=`${PWD_COMMAND}`; export r; \
15456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15457 $(HOST_EXPORTS) \
15458 for flag in $(EXTRA_HOST_FLAGS) ; do \
15459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15460 done; \
15461 echo "Doing installcheck in libelf" ; \
15462 (cd $(HOST_SUBDIR)/libelf && \
15463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15465 "RANLIB=$${RANLIB}" \
15466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15467 installcheck) \
15468 || exit 1
15470 @endif libelf
15472 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15473 maybe-mostlyclean-libelf:
15474 @if libelf
15475 maybe-mostlyclean-libelf: mostlyclean-libelf
15477 mostlyclean-libelf:
15478 @[ -f ./libelf/Makefile ] || exit 0; \
15479 r=`${PWD_COMMAND}`; export r; \
15480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15481 $(HOST_EXPORTS) \
15482 for flag in $(EXTRA_HOST_FLAGS) ; do \
15483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15484 done; \
15485 echo "Doing mostlyclean in libelf" ; \
15486 (cd $(HOST_SUBDIR)/libelf && \
15487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15489 "RANLIB=$${RANLIB}" \
15490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15491 mostlyclean) \
15492 || exit 1
15494 @endif libelf
15496 .PHONY: maybe-clean-libelf clean-libelf
15497 maybe-clean-libelf:
15498 @if libelf
15499 maybe-clean-libelf: clean-libelf
15501 clean-libelf:
15502 @[ -f ./libelf/Makefile ] || exit 0; \
15503 r=`${PWD_COMMAND}`; export r; \
15504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15505 $(HOST_EXPORTS) \
15506 for flag in $(EXTRA_HOST_FLAGS) ; do \
15507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15508 done; \
15509 echo "Doing clean in libelf" ; \
15510 (cd $(HOST_SUBDIR)/libelf && \
15511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15513 "RANLIB=$${RANLIB}" \
15514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15515 clean) \
15516 || exit 1
15518 @endif libelf
15520 .PHONY: maybe-distclean-libelf distclean-libelf
15521 maybe-distclean-libelf:
15522 @if libelf
15523 maybe-distclean-libelf: distclean-libelf
15525 distclean-libelf:
15526 @[ -f ./libelf/Makefile ] || exit 0; \
15527 r=`${PWD_COMMAND}`; export r; \
15528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15529 $(HOST_EXPORTS) \
15530 for flag in $(EXTRA_HOST_FLAGS) ; do \
15531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15532 done; \
15533 echo "Doing distclean in libelf" ; \
15534 (cd $(HOST_SUBDIR)/libelf && \
15535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15537 "RANLIB=$${RANLIB}" \
15538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15539 distclean) \
15540 || exit 1
15542 @endif libelf
15544 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15545 maybe-maintainer-clean-libelf:
15546 @if libelf
15547 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15549 maintainer-clean-libelf:
15550 @[ -f ./libelf/Makefile ] || exit 0; \
15551 r=`${PWD_COMMAND}`; export r; \
15552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15553 $(HOST_EXPORTS) \
15554 for flag in $(EXTRA_HOST_FLAGS) ; do \
15555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15556 done; \
15557 echo "Doing maintainer-clean in libelf" ; \
15558 (cd $(HOST_SUBDIR)/libelf && \
15559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15561 "RANLIB=$${RANLIB}" \
15562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15563 maintainer-clean) \
15564 || exit 1
15566 @endif libelf
15570 .PHONY: configure-gold maybe-configure-gold
15571 maybe-configure-gold:
15572 @if gcc-bootstrap
15573 configure-gold: stage_current
15574 @endif gcc-bootstrap
15575 @if gold
15576 maybe-configure-gold: configure-gold
15577 configure-gold:
15578 @r=`${PWD_COMMAND}`; export r; \
15579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15582 $(HOST_EXPORTS) \
15583 echo Configuring in $(HOST_SUBDIR)/gold; \
15584 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15585 case $(srcdir) in \
15586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15587 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15589 esac; \
15590 srcdiroption="--srcdir=$${topdir}/gold"; \
15591 libsrcdir="$$s/gold"; \
15592 $(SHELL) $${libsrcdir}/configure \
15593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15594 --target=${target_alias} $${srcdiroption} \
15595 || exit 1
15596 @endif gold
15600 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15601 maybe-configure-stage1-gold:
15602 @if gold-bootstrap
15603 maybe-configure-stage1-gold: configure-stage1-gold
15604 configure-stage1-gold:
15605 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15607 @r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 TFLAGS="$(STAGE1_TFLAGS)"; \
15610 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15611 $(HOST_EXPORTS) \
15612 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15613 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15614 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15615 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15617 cd $(HOST_SUBDIR)/gold || exit 1; \
15618 case $(srcdir) in \
15619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15620 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15622 esac; \
15623 srcdiroption="--srcdir=$${topdir}/gold"; \
15624 libsrcdir="$$s/gold"; \
15625 $(SHELL) $${libsrcdir}/configure \
15626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15627 --target=${target_alias} $${srcdiroption} \
15628 $(STAGE1_CONFIGURE_FLAGS)
15629 @endif gold-bootstrap
15631 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15632 maybe-configure-stage2-gold:
15633 @if gold-bootstrap
15634 maybe-configure-stage2-gold: configure-stage2-gold
15635 configure-stage2-gold:
15636 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15638 @r=`${PWD_COMMAND}`; export r; \
15639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 TFLAGS="$(STAGE2_TFLAGS)"; \
15641 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15642 $(HOST_EXPORTS) \
15643 $(POSTSTAGE1_HOST_EXPORTS) \
15644 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15645 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15646 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15647 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15649 cd $(HOST_SUBDIR)/gold || exit 1; \
15650 case $(srcdir) in \
15651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15652 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15654 esac; \
15655 srcdiroption="--srcdir=$${topdir}/gold"; \
15656 libsrcdir="$$s/gold"; \
15657 $(SHELL) $${libsrcdir}/configure \
15658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15659 --target=${target_alias} $${srcdiroption} \
15660 --with-build-libsubdir=$(HOST_SUBDIR) \
15661 $(STAGE2_CONFIGURE_FLAGS)
15662 @endif gold-bootstrap
15664 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15665 maybe-configure-stage3-gold:
15666 @if gold-bootstrap
15667 maybe-configure-stage3-gold: configure-stage3-gold
15668 configure-stage3-gold:
15669 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15671 @r=`${PWD_COMMAND}`; export r; \
15672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15673 TFLAGS="$(STAGE3_TFLAGS)"; \
15674 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15675 $(HOST_EXPORTS) \
15676 $(POSTSTAGE1_HOST_EXPORTS) \
15677 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15678 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15679 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15680 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15682 cd $(HOST_SUBDIR)/gold || exit 1; \
15683 case $(srcdir) in \
15684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15685 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15687 esac; \
15688 srcdiroption="--srcdir=$${topdir}/gold"; \
15689 libsrcdir="$$s/gold"; \
15690 $(SHELL) $${libsrcdir}/configure \
15691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15692 --target=${target_alias} $${srcdiroption} \
15693 --with-build-libsubdir=$(HOST_SUBDIR) \
15694 $(STAGE3_CONFIGURE_FLAGS)
15695 @endif gold-bootstrap
15697 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15698 maybe-configure-stage4-gold:
15699 @if gold-bootstrap
15700 maybe-configure-stage4-gold: configure-stage4-gold
15701 configure-stage4-gold:
15702 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15704 @r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15706 TFLAGS="$(STAGE4_TFLAGS)"; \
15707 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15708 $(HOST_EXPORTS) \
15709 $(POSTSTAGE1_HOST_EXPORTS) \
15710 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15711 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15712 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15713 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15715 cd $(HOST_SUBDIR)/gold || exit 1; \
15716 case $(srcdir) in \
15717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15718 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15720 esac; \
15721 srcdiroption="--srcdir=$${topdir}/gold"; \
15722 libsrcdir="$$s/gold"; \
15723 $(SHELL) $${libsrcdir}/configure \
15724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15725 --target=${target_alias} $${srcdiroption} \
15726 --with-build-libsubdir=$(HOST_SUBDIR) \
15727 $(STAGE4_CONFIGURE_FLAGS)
15728 @endif gold-bootstrap
15730 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15731 maybe-configure-stageprofile-gold:
15732 @if gold-bootstrap
15733 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15734 configure-stageprofile-gold:
15735 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15737 @r=`${PWD_COMMAND}`; export r; \
15738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15739 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15740 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15741 $(HOST_EXPORTS) \
15742 $(POSTSTAGE1_HOST_EXPORTS) \
15743 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15744 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15745 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15746 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15748 cd $(HOST_SUBDIR)/gold || exit 1; \
15749 case $(srcdir) in \
15750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15751 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15753 esac; \
15754 srcdiroption="--srcdir=$${topdir}/gold"; \
15755 libsrcdir="$$s/gold"; \
15756 $(SHELL) $${libsrcdir}/configure \
15757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15758 --target=${target_alias} $${srcdiroption} \
15759 --with-build-libsubdir=$(HOST_SUBDIR) \
15760 $(STAGEprofile_CONFIGURE_FLAGS)
15761 @endif gold-bootstrap
15763 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15764 maybe-configure-stagefeedback-gold:
15765 @if gold-bootstrap
15766 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15767 configure-stagefeedback-gold:
15768 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15770 @r=`${PWD_COMMAND}`; export r; \
15771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15772 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15773 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15774 $(HOST_EXPORTS) \
15775 $(POSTSTAGE1_HOST_EXPORTS) \
15776 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15777 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15778 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15779 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15781 cd $(HOST_SUBDIR)/gold || exit 1; \
15782 case $(srcdir) in \
15783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15784 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15786 esac; \
15787 srcdiroption="--srcdir=$${topdir}/gold"; \
15788 libsrcdir="$$s/gold"; \
15789 $(SHELL) $${libsrcdir}/configure \
15790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15791 --target=${target_alias} $${srcdiroption} \
15792 --with-build-libsubdir=$(HOST_SUBDIR) \
15793 $(STAGEfeedback_CONFIGURE_FLAGS)
15794 @endif gold-bootstrap
15800 .PHONY: all-gold maybe-all-gold
15801 maybe-all-gold:
15802 @if gcc-bootstrap
15803 all-gold: stage_current
15804 @endif gcc-bootstrap
15805 @if gold
15806 TARGET-gold=all
15807 maybe-all-gold: all-gold
15808 all-gold: configure-gold
15809 @r=`${PWD_COMMAND}`; export r; \
15810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811 $(HOST_EXPORTS) \
15812 (cd $(HOST_SUBDIR)/gold && \
15813 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15814 $(TARGET-gold))
15815 @endif gold
15819 .PHONY: all-stage1-gold maybe-all-stage1-gold
15820 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15821 maybe-all-stage1-gold:
15822 maybe-clean-stage1-gold:
15823 @if gold-bootstrap
15824 maybe-all-stage1-gold: all-stage1-gold
15825 all-stage1: all-stage1-gold
15826 TARGET-stage1-gold = $(TARGET-gold)
15827 all-stage1-gold: configure-stage1-gold
15828 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15829 @r=`${PWD_COMMAND}`; export r; \
15830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15831 TFLAGS="$(STAGE1_TFLAGS)"; \
15832 $(HOST_EXPORTS) \
15833 cd $(HOST_SUBDIR)/gold && \
15834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15835 CFLAGS="$(STAGE1_CFLAGS)" \
15836 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15837 LIBCFLAGS="$(LIBCFLAGS)" \
15838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15841 $(EXTRA_HOST_FLAGS) \
15842 TFLAGS="$(STAGE1_TFLAGS)" \
15843 $(TARGET-stage1-gold)
15845 maybe-clean-stage1-gold: clean-stage1-gold
15846 clean-stage1: clean-stage1-gold
15847 clean-stage1-gold:
15848 @if [ $(current_stage) = stage1 ]; then \
15849 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15850 else \
15851 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15852 $(MAKE) stage1-start; \
15853 fi; \
15854 cd $(HOST_SUBDIR)/gold && \
15855 $(MAKE) $(EXTRA_HOST_FLAGS) \
15856 clean
15857 @endif gold-bootstrap
15860 .PHONY: all-stage2-gold maybe-all-stage2-gold
15861 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15862 maybe-all-stage2-gold:
15863 maybe-clean-stage2-gold:
15864 @if gold-bootstrap
15865 maybe-all-stage2-gold: all-stage2-gold
15866 all-stage2: all-stage2-gold
15867 TARGET-stage2-gold = $(TARGET-gold)
15868 all-stage2-gold: configure-stage2-gold
15869 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15870 @r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 TFLAGS="$(STAGE2_TFLAGS)"; \
15873 $(HOST_EXPORTS) \
15874 $(POSTSTAGE1_HOST_EXPORTS) \
15875 cd $(HOST_SUBDIR)/gold && \
15876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15877 CFLAGS="$(STAGE2_CFLAGS)" \
15878 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15879 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15880 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15881 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15882 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15883 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15884 TFLAGS="$(STAGE2_TFLAGS)" \
15885 $(TARGET-stage2-gold)
15887 maybe-clean-stage2-gold: clean-stage2-gold
15888 clean-stage2: clean-stage2-gold
15889 clean-stage2-gold:
15890 @if [ $(current_stage) = stage2 ]; then \
15891 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15892 else \
15893 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15894 $(MAKE) stage2-start; \
15895 fi; \
15896 cd $(HOST_SUBDIR)/gold && \
15897 $(MAKE) $(EXTRA_HOST_FLAGS) \
15898 $(POSTSTAGE1_FLAGS_TO_PASS) \
15899 clean
15900 @endif gold-bootstrap
15903 .PHONY: all-stage3-gold maybe-all-stage3-gold
15904 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15905 maybe-all-stage3-gold:
15906 maybe-clean-stage3-gold:
15907 @if gold-bootstrap
15908 maybe-all-stage3-gold: all-stage3-gold
15909 all-stage3: all-stage3-gold
15910 TARGET-stage3-gold = $(TARGET-gold)
15911 all-stage3-gold: configure-stage3-gold
15912 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15913 @r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15915 TFLAGS="$(STAGE3_TFLAGS)"; \
15916 $(HOST_EXPORTS) \
15917 $(POSTSTAGE1_HOST_EXPORTS) \
15918 cd $(HOST_SUBDIR)/gold && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15920 CFLAGS="$(STAGE3_CFLAGS)" \
15921 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15922 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15926 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15927 TFLAGS="$(STAGE3_TFLAGS)" \
15928 $(TARGET-stage3-gold)
15930 maybe-clean-stage3-gold: clean-stage3-gold
15931 clean-stage3: clean-stage3-gold
15932 clean-stage3-gold:
15933 @if [ $(current_stage) = stage3 ]; then \
15934 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15935 else \
15936 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15937 $(MAKE) stage3-start; \
15938 fi; \
15939 cd $(HOST_SUBDIR)/gold && \
15940 $(MAKE) $(EXTRA_HOST_FLAGS) \
15941 $(POSTSTAGE1_FLAGS_TO_PASS) \
15942 clean
15943 @endif gold-bootstrap
15946 .PHONY: all-stage4-gold maybe-all-stage4-gold
15947 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15948 maybe-all-stage4-gold:
15949 maybe-clean-stage4-gold:
15950 @if gold-bootstrap
15951 maybe-all-stage4-gold: all-stage4-gold
15952 all-stage4: all-stage4-gold
15953 TARGET-stage4-gold = $(TARGET-gold)
15954 all-stage4-gold: configure-stage4-gold
15955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15956 @r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 TFLAGS="$(STAGE4_TFLAGS)"; \
15959 $(HOST_EXPORTS) \
15960 $(POSTSTAGE1_HOST_EXPORTS) \
15961 cd $(HOST_SUBDIR)/gold && \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15963 CFLAGS="$(STAGE4_CFLAGS)" \
15964 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15965 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15970 TFLAGS="$(STAGE4_TFLAGS)" \
15971 $(TARGET-stage4-gold)
15973 maybe-clean-stage4-gold: clean-stage4-gold
15974 clean-stage4: clean-stage4-gold
15975 clean-stage4-gold:
15976 @if [ $(current_stage) = stage4 ]; then \
15977 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15978 else \
15979 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15980 $(MAKE) stage4-start; \
15981 fi; \
15982 cd $(HOST_SUBDIR)/gold && \
15983 $(MAKE) $(EXTRA_HOST_FLAGS) \
15984 $(POSTSTAGE1_FLAGS_TO_PASS) \
15985 clean
15986 @endif gold-bootstrap
15989 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15990 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15991 maybe-all-stageprofile-gold:
15992 maybe-clean-stageprofile-gold:
15993 @if gold-bootstrap
15994 maybe-all-stageprofile-gold: all-stageprofile-gold
15995 all-stageprofile: all-stageprofile-gold
15996 TARGET-stageprofile-gold = $(TARGET-gold)
15997 all-stageprofile-gold: configure-stageprofile-gold
15998 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15999 @r=`${PWD_COMMAND}`; export r; \
16000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16001 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16002 $(HOST_EXPORTS) \
16003 $(POSTSTAGE1_HOST_EXPORTS) \
16004 cd $(HOST_SUBDIR)/gold && \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16006 CFLAGS="$(STAGEprofile_CFLAGS)" \
16007 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16008 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16013 TFLAGS="$(STAGEprofile_TFLAGS)" \
16014 $(TARGET-stageprofile-gold)
16016 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16017 clean-stageprofile: clean-stageprofile-gold
16018 clean-stageprofile-gold:
16019 @if [ $(current_stage) = stageprofile ]; then \
16020 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16021 else \
16022 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16023 $(MAKE) stageprofile-start; \
16024 fi; \
16025 cd $(HOST_SUBDIR)/gold && \
16026 $(MAKE) $(EXTRA_HOST_FLAGS) \
16027 $(POSTSTAGE1_FLAGS_TO_PASS) \
16028 clean
16029 @endif gold-bootstrap
16032 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16033 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16034 maybe-all-stagefeedback-gold:
16035 maybe-clean-stagefeedback-gold:
16036 @if gold-bootstrap
16037 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16038 all-stagefeedback: all-stagefeedback-gold
16039 TARGET-stagefeedback-gold = $(TARGET-gold)
16040 all-stagefeedback-gold: configure-stagefeedback-gold
16041 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16042 @r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16045 $(HOST_EXPORTS) \
16046 $(POSTSTAGE1_HOST_EXPORTS) \
16047 cd $(HOST_SUBDIR)/gold && \
16048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16049 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16050 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16051 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16056 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16057 $(TARGET-stagefeedback-gold)
16059 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16060 clean-stagefeedback: clean-stagefeedback-gold
16061 clean-stagefeedback-gold:
16062 @if [ $(current_stage) = stagefeedback ]; then \
16063 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16064 else \
16065 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16066 $(MAKE) stagefeedback-start; \
16067 fi; \
16068 cd $(HOST_SUBDIR)/gold && \
16069 $(MAKE) $(EXTRA_HOST_FLAGS) \
16070 $(POSTSTAGE1_FLAGS_TO_PASS) \
16071 clean
16072 @endif gold-bootstrap
16078 .PHONY: check-gold maybe-check-gold
16079 maybe-check-gold:
16080 @if gold
16081 maybe-check-gold: check-gold
16083 check-gold:
16084 @: $(MAKE); $(unstage)
16085 @r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087 $(HOST_EXPORTS) \
16088 (cd $(HOST_SUBDIR)/gold && \
16089 $(MAKE) $(FLAGS_TO_PASS) check)
16091 @endif gold
16093 .PHONY: install-gold maybe-install-gold
16094 maybe-install-gold:
16095 @if gold
16096 maybe-install-gold: install-gold
16098 install-gold: installdirs
16099 @: $(MAKE); $(unstage)
16100 @r=`${PWD_COMMAND}`; export r; \
16101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16102 $(HOST_EXPORTS) \
16103 (cd $(HOST_SUBDIR)/gold && \
16104 $(MAKE) $(FLAGS_TO_PASS) install)
16106 @endif gold
16108 .PHONY: install-strip-gold maybe-install-strip-gold
16109 maybe-install-strip-gold:
16110 @if gold
16111 maybe-install-strip-gold: install-strip-gold
16113 install-strip-gold: installdirs
16114 @: $(MAKE); $(unstage)
16115 @r=`${PWD_COMMAND}`; export r; \
16116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 $(HOST_EXPORTS) \
16118 (cd $(HOST_SUBDIR)/gold && \
16119 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16121 @endif gold
16123 # Other targets (info, dvi, pdf, etc.)
16125 .PHONY: maybe-info-gold info-gold
16126 maybe-info-gold:
16127 @if gold
16128 maybe-info-gold: info-gold
16130 info-gold: \
16131 configure-gold
16132 @[ -f ./gold/Makefile ] || exit 0; \
16133 r=`${PWD_COMMAND}`; export r; \
16134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 $(HOST_EXPORTS) \
16136 for flag in $(EXTRA_HOST_FLAGS) ; do \
16137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16138 done; \
16139 echo "Doing info in gold" ; \
16140 (cd $(HOST_SUBDIR)/gold && \
16141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16143 "RANLIB=$${RANLIB}" \
16144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16145 info) \
16146 || exit 1
16148 @endif gold
16150 .PHONY: maybe-dvi-gold dvi-gold
16151 maybe-dvi-gold:
16152 @if gold
16153 maybe-dvi-gold: dvi-gold
16155 dvi-gold: \
16156 configure-gold
16157 @[ -f ./gold/Makefile ] || exit 0; \
16158 r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(HOST_EXPORTS) \
16161 for flag in $(EXTRA_HOST_FLAGS) ; do \
16162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16163 done; \
16164 echo "Doing dvi in gold" ; \
16165 (cd $(HOST_SUBDIR)/gold && \
16166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16168 "RANLIB=$${RANLIB}" \
16169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16170 dvi) \
16171 || exit 1
16173 @endif gold
16175 .PHONY: maybe-pdf-gold pdf-gold
16176 maybe-pdf-gold:
16177 @if gold
16178 maybe-pdf-gold: pdf-gold
16180 pdf-gold: \
16181 configure-gold
16182 @[ -f ./gold/Makefile ] || exit 0; \
16183 r=`${PWD_COMMAND}`; export r; \
16184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16185 $(HOST_EXPORTS) \
16186 for flag in $(EXTRA_HOST_FLAGS) ; do \
16187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16188 done; \
16189 echo "Doing pdf in gold" ; \
16190 (cd $(HOST_SUBDIR)/gold && \
16191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16193 "RANLIB=$${RANLIB}" \
16194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16195 pdf) \
16196 || exit 1
16198 @endif gold
16200 .PHONY: maybe-html-gold html-gold
16201 maybe-html-gold:
16202 @if gold
16203 maybe-html-gold: html-gold
16205 html-gold: \
16206 configure-gold
16207 @[ -f ./gold/Makefile ] || exit 0; \
16208 r=`${PWD_COMMAND}`; export r; \
16209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16210 $(HOST_EXPORTS) \
16211 for flag in $(EXTRA_HOST_FLAGS) ; do \
16212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16213 done; \
16214 echo "Doing html in gold" ; \
16215 (cd $(HOST_SUBDIR)/gold && \
16216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16218 "RANLIB=$${RANLIB}" \
16219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16220 html) \
16221 || exit 1
16223 @endif gold
16225 .PHONY: maybe-TAGS-gold TAGS-gold
16226 maybe-TAGS-gold:
16227 @if gold
16228 maybe-TAGS-gold: TAGS-gold
16230 TAGS-gold: \
16231 configure-gold
16232 @[ -f ./gold/Makefile ] || exit 0; \
16233 r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 $(HOST_EXPORTS) \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 done; \
16239 echo "Doing TAGS in gold" ; \
16240 (cd $(HOST_SUBDIR)/gold && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16245 TAGS) \
16246 || exit 1
16248 @endif gold
16250 .PHONY: maybe-install-info-gold install-info-gold
16251 maybe-install-info-gold:
16252 @if gold
16253 maybe-install-info-gold: install-info-gold
16255 install-info-gold: \
16256 configure-gold \
16257 info-gold
16258 @[ -f ./gold/Makefile ] || exit 0; \
16259 r=`${PWD_COMMAND}`; export r; \
16260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16261 $(HOST_EXPORTS) \
16262 for flag in $(EXTRA_HOST_FLAGS) ; do \
16263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16264 done; \
16265 echo "Doing install-info in gold" ; \
16266 (cd $(HOST_SUBDIR)/gold && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16269 "RANLIB=$${RANLIB}" \
16270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16271 install-info) \
16272 || exit 1
16274 @endif gold
16276 .PHONY: maybe-install-pdf-gold install-pdf-gold
16277 maybe-install-pdf-gold:
16278 @if gold
16279 maybe-install-pdf-gold: install-pdf-gold
16281 install-pdf-gold: \
16282 configure-gold \
16283 pdf-gold
16284 @[ -f ./gold/Makefile ] || exit 0; \
16285 r=`${PWD_COMMAND}`; export r; \
16286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16287 $(HOST_EXPORTS) \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16290 done; \
16291 echo "Doing install-pdf in gold" ; \
16292 (cd $(HOST_SUBDIR)/gold && \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16297 install-pdf) \
16298 || exit 1
16300 @endif gold
16302 .PHONY: maybe-install-html-gold install-html-gold
16303 maybe-install-html-gold:
16304 @if gold
16305 maybe-install-html-gold: install-html-gold
16307 install-html-gold: \
16308 configure-gold \
16309 html-gold
16310 @[ -f ./gold/Makefile ] || exit 0; \
16311 r=`${PWD_COMMAND}`; export r; \
16312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16313 $(HOST_EXPORTS) \
16314 for flag in $(EXTRA_HOST_FLAGS) ; do \
16315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16316 done; \
16317 echo "Doing install-html in gold" ; \
16318 (cd $(HOST_SUBDIR)/gold && \
16319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16321 "RANLIB=$${RANLIB}" \
16322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16323 install-html) \
16324 || exit 1
16326 @endif gold
16328 .PHONY: maybe-installcheck-gold installcheck-gold
16329 maybe-installcheck-gold:
16330 @if gold
16331 maybe-installcheck-gold: installcheck-gold
16333 installcheck-gold: \
16334 configure-gold
16335 @[ -f ./gold/Makefile ] || exit 0; \
16336 r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 $(HOST_EXPORTS) \
16339 for flag in $(EXTRA_HOST_FLAGS) ; do \
16340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16341 done; \
16342 echo "Doing installcheck in gold" ; \
16343 (cd $(HOST_SUBDIR)/gold && \
16344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16346 "RANLIB=$${RANLIB}" \
16347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16348 installcheck) \
16349 || exit 1
16351 @endif gold
16353 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16354 maybe-mostlyclean-gold:
16355 @if gold
16356 maybe-mostlyclean-gold: mostlyclean-gold
16358 mostlyclean-gold:
16359 @[ -f ./gold/Makefile ] || exit 0; \
16360 r=`${PWD_COMMAND}`; export r; \
16361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16362 $(HOST_EXPORTS) \
16363 for flag in $(EXTRA_HOST_FLAGS) ; do \
16364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16365 done; \
16366 echo "Doing mostlyclean in gold" ; \
16367 (cd $(HOST_SUBDIR)/gold && \
16368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370 "RANLIB=$${RANLIB}" \
16371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16372 mostlyclean) \
16373 || exit 1
16375 @endif gold
16377 .PHONY: maybe-clean-gold clean-gold
16378 maybe-clean-gold:
16379 @if gold
16380 maybe-clean-gold: clean-gold
16382 clean-gold:
16383 @[ -f ./gold/Makefile ] || exit 0; \
16384 r=`${PWD_COMMAND}`; export r; \
16385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16386 $(HOST_EXPORTS) \
16387 for flag in $(EXTRA_HOST_FLAGS) ; do \
16388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16389 done; \
16390 echo "Doing clean in gold" ; \
16391 (cd $(HOST_SUBDIR)/gold && \
16392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16394 "RANLIB=$${RANLIB}" \
16395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16396 clean) \
16397 || exit 1
16399 @endif gold
16401 .PHONY: maybe-distclean-gold distclean-gold
16402 maybe-distclean-gold:
16403 @if gold
16404 maybe-distclean-gold: distclean-gold
16406 distclean-gold:
16407 @[ -f ./gold/Makefile ] || exit 0; \
16408 r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 for flag in $(EXTRA_HOST_FLAGS) ; do \
16412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16413 done; \
16414 echo "Doing distclean in gold" ; \
16415 (cd $(HOST_SUBDIR)/gold && \
16416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16418 "RANLIB=$${RANLIB}" \
16419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16420 distclean) \
16421 || exit 1
16423 @endif gold
16425 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16426 maybe-maintainer-clean-gold:
16427 @if gold
16428 maybe-maintainer-clean-gold: maintainer-clean-gold
16430 maintainer-clean-gold:
16431 @[ -f ./gold/Makefile ] || exit 0; \
16432 r=`${PWD_COMMAND}`; export r; \
16433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16434 $(HOST_EXPORTS) \
16435 for flag in $(EXTRA_HOST_FLAGS) ; do \
16436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16437 done; \
16438 echo "Doing maintainer-clean in gold" ; \
16439 (cd $(HOST_SUBDIR)/gold && \
16440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16442 "RANLIB=$${RANLIB}" \
16443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16444 maintainer-clean) \
16445 || exit 1
16447 @endif gold
16451 .PHONY: configure-gprof maybe-configure-gprof
16452 maybe-configure-gprof:
16453 @if gcc-bootstrap
16454 configure-gprof: stage_current
16455 @endif gcc-bootstrap
16456 @if gprof
16457 maybe-configure-gprof: configure-gprof
16458 configure-gprof:
16459 @: $(MAKE); $(unstage)
16460 @r=`${PWD_COMMAND}`; export r; \
16461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16462 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16464 $(HOST_EXPORTS) \
16465 echo Configuring in $(HOST_SUBDIR)/gprof; \
16466 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16467 case $(srcdir) in \
16468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16469 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16471 esac; \
16472 srcdiroption="--srcdir=$${topdir}/gprof"; \
16473 libsrcdir="$$s/gprof"; \
16474 $(SHELL) $${libsrcdir}/configure \
16475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16476 --target=${target_alias} $${srcdiroption} \
16477 || exit 1
16478 @endif gprof
16484 .PHONY: all-gprof maybe-all-gprof
16485 maybe-all-gprof:
16486 @if gcc-bootstrap
16487 all-gprof: stage_current
16488 @endif gcc-bootstrap
16489 @if gprof
16490 TARGET-gprof=all
16491 maybe-all-gprof: all-gprof
16492 all-gprof: configure-gprof
16493 @: $(MAKE); $(unstage)
16494 @r=`${PWD_COMMAND}`; export r; \
16495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16496 $(HOST_EXPORTS) \
16497 (cd $(HOST_SUBDIR)/gprof && \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16499 $(TARGET-gprof))
16500 @endif gprof
16505 .PHONY: check-gprof maybe-check-gprof
16506 maybe-check-gprof:
16507 @if gprof
16508 maybe-check-gprof: check-gprof
16510 check-gprof:
16511 @: $(MAKE); $(unstage)
16512 @r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(HOST_EXPORTS) \
16515 (cd $(HOST_SUBDIR)/gprof && \
16516 $(MAKE) $(FLAGS_TO_PASS) check)
16518 @endif gprof
16520 .PHONY: install-gprof maybe-install-gprof
16521 maybe-install-gprof:
16522 @if gprof
16523 maybe-install-gprof: install-gprof
16525 install-gprof: installdirs
16526 @: $(MAKE); $(unstage)
16527 @r=`${PWD_COMMAND}`; export r; \
16528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16529 $(HOST_EXPORTS) \
16530 (cd $(HOST_SUBDIR)/gprof && \
16531 $(MAKE) $(FLAGS_TO_PASS) install)
16533 @endif gprof
16535 .PHONY: install-strip-gprof maybe-install-strip-gprof
16536 maybe-install-strip-gprof:
16537 @if gprof
16538 maybe-install-strip-gprof: install-strip-gprof
16540 install-strip-gprof: installdirs
16541 @: $(MAKE); $(unstage)
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 $(HOST_EXPORTS) \
16545 (cd $(HOST_SUBDIR)/gprof && \
16546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16548 @endif gprof
16550 # Other targets (info, dvi, pdf, etc.)
16552 .PHONY: maybe-info-gprof info-gprof
16553 maybe-info-gprof:
16554 @if gprof
16555 maybe-info-gprof: info-gprof
16557 info-gprof: \
16558 configure-gprof
16559 @: $(MAKE); $(unstage)
16560 @[ -f ./gprof/Makefile ] || exit 0; \
16561 r=`${PWD_COMMAND}`; export r; \
16562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16563 $(HOST_EXPORTS) \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing info in gprof" ; \
16568 (cd $(HOST_SUBDIR)/gprof && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16573 info) \
16574 || exit 1
16576 @endif gprof
16578 .PHONY: maybe-dvi-gprof dvi-gprof
16579 maybe-dvi-gprof:
16580 @if gprof
16581 maybe-dvi-gprof: dvi-gprof
16583 dvi-gprof: \
16584 configure-gprof
16585 @: $(MAKE); $(unstage)
16586 @[ -f ./gprof/Makefile ] || exit 0; \
16587 r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing dvi in gprof" ; \
16594 (cd $(HOST_SUBDIR)/gprof && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16599 dvi) \
16600 || exit 1
16602 @endif gprof
16604 .PHONY: maybe-pdf-gprof pdf-gprof
16605 maybe-pdf-gprof:
16606 @if gprof
16607 maybe-pdf-gprof: pdf-gprof
16609 pdf-gprof: \
16610 configure-gprof
16611 @: $(MAKE); $(unstage)
16612 @[ -f ./gprof/Makefile ] || exit 0; \
16613 r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing pdf in gprof" ; \
16620 (cd $(HOST_SUBDIR)/gprof && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16625 pdf) \
16626 || exit 1
16628 @endif gprof
16630 .PHONY: maybe-html-gprof html-gprof
16631 maybe-html-gprof:
16632 @if gprof
16633 maybe-html-gprof: html-gprof
16635 html-gprof: \
16636 configure-gprof
16637 @: $(MAKE); $(unstage)
16638 @[ -f ./gprof/Makefile ] || exit 0; \
16639 r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 $(HOST_EXPORTS) \
16642 for flag in $(EXTRA_HOST_FLAGS) ; do \
16643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16644 done; \
16645 echo "Doing html in gprof" ; \
16646 (cd $(HOST_SUBDIR)/gprof && \
16647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16649 "RANLIB=$${RANLIB}" \
16650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16651 html) \
16652 || exit 1
16654 @endif gprof
16656 .PHONY: maybe-TAGS-gprof TAGS-gprof
16657 maybe-TAGS-gprof:
16658 @if gprof
16659 maybe-TAGS-gprof: TAGS-gprof
16661 TAGS-gprof: \
16662 configure-gprof
16663 @: $(MAKE); $(unstage)
16664 @[ -f ./gprof/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16667 $(HOST_EXPORTS) \
16668 for flag in $(EXTRA_HOST_FLAGS) ; do \
16669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16670 done; \
16671 echo "Doing TAGS in gprof" ; \
16672 (cd $(HOST_SUBDIR)/gprof && \
16673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16675 "RANLIB=$${RANLIB}" \
16676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16677 TAGS) \
16678 || exit 1
16680 @endif gprof
16682 .PHONY: maybe-install-info-gprof install-info-gprof
16683 maybe-install-info-gprof:
16684 @if gprof
16685 maybe-install-info-gprof: install-info-gprof
16687 install-info-gprof: \
16688 configure-gprof \
16689 info-gprof
16690 @: $(MAKE); $(unstage)
16691 @[ -f ./gprof/Makefile ] || exit 0; \
16692 r=`${PWD_COMMAND}`; export r; \
16693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16694 $(HOST_EXPORTS) \
16695 for flag in $(EXTRA_HOST_FLAGS) ; do \
16696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16697 done; \
16698 echo "Doing install-info in gprof" ; \
16699 (cd $(HOST_SUBDIR)/gprof && \
16700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16702 "RANLIB=$${RANLIB}" \
16703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16704 install-info) \
16705 || exit 1
16707 @endif gprof
16709 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16710 maybe-install-pdf-gprof:
16711 @if gprof
16712 maybe-install-pdf-gprof: install-pdf-gprof
16714 install-pdf-gprof: \
16715 configure-gprof \
16716 pdf-gprof
16717 @: $(MAKE); $(unstage)
16718 @[ -f ./gprof/Makefile ] || exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16721 $(HOST_EXPORTS) \
16722 for flag in $(EXTRA_HOST_FLAGS) ; do \
16723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16724 done; \
16725 echo "Doing install-pdf in gprof" ; \
16726 (cd $(HOST_SUBDIR)/gprof && \
16727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16729 "RANLIB=$${RANLIB}" \
16730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16731 install-pdf) \
16732 || exit 1
16734 @endif gprof
16736 .PHONY: maybe-install-html-gprof install-html-gprof
16737 maybe-install-html-gprof:
16738 @if gprof
16739 maybe-install-html-gprof: install-html-gprof
16741 install-html-gprof: \
16742 configure-gprof \
16743 html-gprof
16744 @: $(MAKE); $(unstage)
16745 @[ -f ./gprof/Makefile ] || exit 0; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 $(HOST_EXPORTS) \
16749 for flag in $(EXTRA_HOST_FLAGS) ; do \
16750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16751 done; \
16752 echo "Doing install-html in gprof" ; \
16753 (cd $(HOST_SUBDIR)/gprof && \
16754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16756 "RANLIB=$${RANLIB}" \
16757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16758 install-html) \
16759 || exit 1
16761 @endif gprof
16763 .PHONY: maybe-installcheck-gprof installcheck-gprof
16764 maybe-installcheck-gprof:
16765 @if gprof
16766 maybe-installcheck-gprof: installcheck-gprof
16768 installcheck-gprof: \
16769 configure-gprof
16770 @: $(MAKE); $(unstage)
16771 @[ -f ./gprof/Makefile ] || exit 0; \
16772 r=`${PWD_COMMAND}`; export r; \
16773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16774 $(HOST_EXPORTS) \
16775 for flag in $(EXTRA_HOST_FLAGS) ; do \
16776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16777 done; \
16778 echo "Doing installcheck in gprof" ; \
16779 (cd $(HOST_SUBDIR)/gprof && \
16780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16782 "RANLIB=$${RANLIB}" \
16783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16784 installcheck) \
16785 || exit 1
16787 @endif gprof
16789 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16790 maybe-mostlyclean-gprof:
16791 @if gprof
16792 maybe-mostlyclean-gprof: mostlyclean-gprof
16794 mostlyclean-gprof:
16795 @: $(MAKE); $(unstage)
16796 @[ -f ./gprof/Makefile ] || exit 0; \
16797 r=`${PWD_COMMAND}`; export r; \
16798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16799 $(HOST_EXPORTS) \
16800 for flag in $(EXTRA_HOST_FLAGS) ; do \
16801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16802 done; \
16803 echo "Doing mostlyclean in gprof" ; \
16804 (cd $(HOST_SUBDIR)/gprof && \
16805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16807 "RANLIB=$${RANLIB}" \
16808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16809 mostlyclean) \
16810 || exit 1
16812 @endif gprof
16814 .PHONY: maybe-clean-gprof clean-gprof
16815 maybe-clean-gprof:
16816 @if gprof
16817 maybe-clean-gprof: clean-gprof
16819 clean-gprof:
16820 @: $(MAKE); $(unstage)
16821 @[ -f ./gprof/Makefile ] || exit 0; \
16822 r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(HOST_EXPORTS) \
16825 for flag in $(EXTRA_HOST_FLAGS) ; do \
16826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16827 done; \
16828 echo "Doing clean in gprof" ; \
16829 (cd $(HOST_SUBDIR)/gprof && \
16830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16832 "RANLIB=$${RANLIB}" \
16833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16834 clean) \
16835 || exit 1
16837 @endif gprof
16839 .PHONY: maybe-distclean-gprof distclean-gprof
16840 maybe-distclean-gprof:
16841 @if gprof
16842 maybe-distclean-gprof: distclean-gprof
16844 distclean-gprof:
16845 @: $(MAKE); $(unstage)
16846 @[ -f ./gprof/Makefile ] || exit 0; \
16847 r=`${PWD_COMMAND}`; export r; \
16848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16849 $(HOST_EXPORTS) \
16850 for flag in $(EXTRA_HOST_FLAGS) ; do \
16851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16852 done; \
16853 echo "Doing distclean in gprof" ; \
16854 (cd $(HOST_SUBDIR)/gprof && \
16855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16857 "RANLIB=$${RANLIB}" \
16858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16859 distclean) \
16860 || exit 1
16862 @endif gprof
16864 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16865 maybe-maintainer-clean-gprof:
16866 @if gprof
16867 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16869 maintainer-clean-gprof:
16870 @: $(MAKE); $(unstage)
16871 @[ -f ./gprof/Makefile ] || exit 0; \
16872 r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(HOST_EXPORTS) \
16875 for flag in $(EXTRA_HOST_FLAGS) ; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 done; \
16878 echo "Doing maintainer-clean in gprof" ; \
16879 (cd $(HOST_SUBDIR)/gprof && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16884 maintainer-clean) \
16885 || exit 1
16887 @endif gprof
16891 .PHONY: configure-intl maybe-configure-intl
16892 maybe-configure-intl:
16893 @if gcc-bootstrap
16894 configure-intl: stage_current
16895 @endif gcc-bootstrap
16896 @if intl
16897 maybe-configure-intl: configure-intl
16898 configure-intl:
16899 @r=`${PWD_COMMAND}`; export r; \
16900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16903 $(HOST_EXPORTS) \
16904 echo Configuring in $(HOST_SUBDIR)/intl; \
16905 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16906 case $(srcdir) in \
16907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16908 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16910 esac; \
16911 srcdiroption="--srcdir=$${topdir}/intl"; \
16912 libsrcdir="$$s/intl"; \
16913 $(SHELL) $${libsrcdir}/configure \
16914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16915 --target=${target_alias} $${srcdiroption} \
16916 || exit 1
16917 @endif intl
16921 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16922 maybe-configure-stage1-intl:
16923 @if intl-bootstrap
16924 maybe-configure-stage1-intl: configure-stage1-intl
16925 configure-stage1-intl:
16926 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16928 @r=`${PWD_COMMAND}`; export r; \
16929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16930 TFLAGS="$(STAGE1_TFLAGS)"; \
16931 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16932 $(HOST_EXPORTS) \
16933 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16934 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16935 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16936 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16938 cd $(HOST_SUBDIR)/intl || exit 1; \
16939 case $(srcdir) in \
16940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16941 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16943 esac; \
16944 srcdiroption="--srcdir=$${topdir}/intl"; \
16945 libsrcdir="$$s/intl"; \
16946 $(SHELL) $${libsrcdir}/configure \
16947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16948 --target=${target_alias} $${srcdiroption} \
16949 $(STAGE1_CONFIGURE_FLAGS)
16950 @endif intl-bootstrap
16952 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16953 maybe-configure-stage2-intl:
16954 @if intl-bootstrap
16955 maybe-configure-stage2-intl: configure-stage2-intl
16956 configure-stage2-intl:
16957 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16959 @r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 TFLAGS="$(STAGE2_TFLAGS)"; \
16962 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16963 $(HOST_EXPORTS) \
16964 $(POSTSTAGE1_HOST_EXPORTS) \
16965 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16966 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16967 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16968 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16970 cd $(HOST_SUBDIR)/intl || exit 1; \
16971 case $(srcdir) in \
16972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16973 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16975 esac; \
16976 srcdiroption="--srcdir=$${topdir}/intl"; \
16977 libsrcdir="$$s/intl"; \
16978 $(SHELL) $${libsrcdir}/configure \
16979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16980 --target=${target_alias} $${srcdiroption} \
16981 --with-build-libsubdir=$(HOST_SUBDIR) \
16982 $(STAGE2_CONFIGURE_FLAGS)
16983 @endif intl-bootstrap
16985 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16986 maybe-configure-stage3-intl:
16987 @if intl-bootstrap
16988 maybe-configure-stage3-intl: configure-stage3-intl
16989 configure-stage3-intl:
16990 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16991 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16992 @r=`${PWD_COMMAND}`; export r; \
16993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16994 TFLAGS="$(STAGE3_TFLAGS)"; \
16995 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16996 $(HOST_EXPORTS) \
16997 $(POSTSTAGE1_HOST_EXPORTS) \
16998 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16999 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17000 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17001 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17003 cd $(HOST_SUBDIR)/intl || exit 1; \
17004 case $(srcdir) in \
17005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17006 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17008 esac; \
17009 srcdiroption="--srcdir=$${topdir}/intl"; \
17010 libsrcdir="$$s/intl"; \
17011 $(SHELL) $${libsrcdir}/configure \
17012 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17013 --target=${target_alias} $${srcdiroption} \
17014 --with-build-libsubdir=$(HOST_SUBDIR) \
17015 $(STAGE3_CONFIGURE_FLAGS)
17016 @endif intl-bootstrap
17018 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17019 maybe-configure-stage4-intl:
17020 @if intl-bootstrap
17021 maybe-configure-stage4-intl: configure-stage4-intl
17022 configure-stage4-intl:
17023 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17025 @r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17027 TFLAGS="$(STAGE4_TFLAGS)"; \
17028 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17029 $(HOST_EXPORTS) \
17030 $(POSTSTAGE1_HOST_EXPORTS) \
17031 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17032 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17033 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17034 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17036 cd $(HOST_SUBDIR)/intl || exit 1; \
17037 case $(srcdir) in \
17038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17039 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17041 esac; \
17042 srcdiroption="--srcdir=$${topdir}/intl"; \
17043 libsrcdir="$$s/intl"; \
17044 $(SHELL) $${libsrcdir}/configure \
17045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17046 --target=${target_alias} $${srcdiroption} \
17047 --with-build-libsubdir=$(HOST_SUBDIR) \
17048 $(STAGE4_CONFIGURE_FLAGS)
17049 @endif intl-bootstrap
17051 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17052 maybe-configure-stageprofile-intl:
17053 @if intl-bootstrap
17054 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17055 configure-stageprofile-intl:
17056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17058 @r=`${PWD_COMMAND}`; export r; \
17059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17060 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17061 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17062 $(HOST_EXPORTS) \
17063 $(POSTSTAGE1_HOST_EXPORTS) \
17064 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17065 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17066 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17067 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17069 cd $(HOST_SUBDIR)/intl || exit 1; \
17070 case $(srcdir) in \
17071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17072 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17074 esac; \
17075 srcdiroption="--srcdir=$${topdir}/intl"; \
17076 libsrcdir="$$s/intl"; \
17077 $(SHELL) $${libsrcdir}/configure \
17078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17079 --target=${target_alias} $${srcdiroption} \
17080 --with-build-libsubdir=$(HOST_SUBDIR) \
17081 $(STAGEprofile_CONFIGURE_FLAGS)
17082 @endif intl-bootstrap
17084 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17085 maybe-configure-stagefeedback-intl:
17086 @if intl-bootstrap
17087 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17088 configure-stagefeedback-intl:
17089 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17091 @r=`${PWD_COMMAND}`; export r; \
17092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17093 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17094 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17095 $(HOST_EXPORTS) \
17096 $(POSTSTAGE1_HOST_EXPORTS) \
17097 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17098 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17099 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17100 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17102 cd $(HOST_SUBDIR)/intl || exit 1; \
17103 case $(srcdir) in \
17104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17105 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17107 esac; \
17108 srcdiroption="--srcdir=$${topdir}/intl"; \
17109 libsrcdir="$$s/intl"; \
17110 $(SHELL) $${libsrcdir}/configure \
17111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17112 --target=${target_alias} $${srcdiroption} \
17113 --with-build-libsubdir=$(HOST_SUBDIR) \
17114 $(STAGEfeedback_CONFIGURE_FLAGS)
17115 @endif intl-bootstrap
17121 .PHONY: all-intl maybe-all-intl
17122 maybe-all-intl:
17123 @if gcc-bootstrap
17124 all-intl: stage_current
17125 @endif gcc-bootstrap
17126 @if intl
17127 TARGET-intl=all
17128 maybe-all-intl: all-intl
17129 all-intl: configure-intl
17130 @r=`${PWD_COMMAND}`; export r; \
17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132 $(HOST_EXPORTS) \
17133 (cd $(HOST_SUBDIR)/intl && \
17134 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17135 $(TARGET-intl))
17136 @endif intl
17140 .PHONY: all-stage1-intl maybe-all-stage1-intl
17141 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17142 maybe-all-stage1-intl:
17143 maybe-clean-stage1-intl:
17144 @if intl-bootstrap
17145 maybe-all-stage1-intl: all-stage1-intl
17146 all-stage1: all-stage1-intl
17147 TARGET-stage1-intl = $(TARGET-intl)
17148 all-stage1-intl: configure-stage1-intl
17149 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17150 @r=`${PWD_COMMAND}`; export r; \
17151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17152 TFLAGS="$(STAGE1_TFLAGS)"; \
17153 $(HOST_EXPORTS) \
17154 cd $(HOST_SUBDIR)/intl && \
17155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17156 CFLAGS="$(STAGE1_CFLAGS)" \
17157 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17158 LIBCFLAGS="$(LIBCFLAGS)" \
17159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17162 $(EXTRA_HOST_FLAGS) \
17163 TFLAGS="$(STAGE1_TFLAGS)" \
17164 $(TARGET-stage1-intl)
17166 maybe-clean-stage1-intl: clean-stage1-intl
17167 clean-stage1: clean-stage1-intl
17168 clean-stage1-intl:
17169 @if [ $(current_stage) = stage1 ]; then \
17170 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17171 else \
17172 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17173 $(MAKE) stage1-start; \
17174 fi; \
17175 cd $(HOST_SUBDIR)/intl && \
17176 $(MAKE) $(EXTRA_HOST_FLAGS) \
17177 clean
17178 @endif intl-bootstrap
17181 .PHONY: all-stage2-intl maybe-all-stage2-intl
17182 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17183 maybe-all-stage2-intl:
17184 maybe-clean-stage2-intl:
17185 @if intl-bootstrap
17186 maybe-all-stage2-intl: all-stage2-intl
17187 all-stage2: all-stage2-intl
17188 TARGET-stage2-intl = $(TARGET-intl)
17189 all-stage2-intl: configure-stage2-intl
17190 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17191 @r=`${PWD_COMMAND}`; export r; \
17192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17193 TFLAGS="$(STAGE2_TFLAGS)"; \
17194 $(HOST_EXPORTS) \
17195 $(POSTSTAGE1_HOST_EXPORTS) \
17196 cd $(HOST_SUBDIR)/intl && \
17197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17198 CFLAGS="$(STAGE2_CFLAGS)" \
17199 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17200 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17205 TFLAGS="$(STAGE2_TFLAGS)" \
17206 $(TARGET-stage2-intl)
17208 maybe-clean-stage2-intl: clean-stage2-intl
17209 clean-stage2: clean-stage2-intl
17210 clean-stage2-intl:
17211 @if [ $(current_stage) = stage2 ]; then \
17212 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17213 else \
17214 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17215 $(MAKE) stage2-start; \
17216 fi; \
17217 cd $(HOST_SUBDIR)/intl && \
17218 $(MAKE) $(EXTRA_HOST_FLAGS) \
17219 $(POSTSTAGE1_FLAGS_TO_PASS) \
17220 clean
17221 @endif intl-bootstrap
17224 .PHONY: all-stage3-intl maybe-all-stage3-intl
17225 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17226 maybe-all-stage3-intl:
17227 maybe-clean-stage3-intl:
17228 @if intl-bootstrap
17229 maybe-all-stage3-intl: all-stage3-intl
17230 all-stage3: all-stage3-intl
17231 TARGET-stage3-intl = $(TARGET-intl)
17232 all-stage3-intl: configure-stage3-intl
17233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17234 @r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236 TFLAGS="$(STAGE3_TFLAGS)"; \
17237 $(HOST_EXPORTS) \
17238 $(POSTSTAGE1_HOST_EXPORTS) \
17239 cd $(HOST_SUBDIR)/intl && \
17240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17241 CFLAGS="$(STAGE3_CFLAGS)" \
17242 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17243 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17248 TFLAGS="$(STAGE3_TFLAGS)" \
17249 $(TARGET-stage3-intl)
17251 maybe-clean-stage3-intl: clean-stage3-intl
17252 clean-stage3: clean-stage3-intl
17253 clean-stage3-intl:
17254 @if [ $(current_stage) = stage3 ]; then \
17255 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17256 else \
17257 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17258 $(MAKE) stage3-start; \
17259 fi; \
17260 cd $(HOST_SUBDIR)/intl && \
17261 $(MAKE) $(EXTRA_HOST_FLAGS) \
17262 $(POSTSTAGE1_FLAGS_TO_PASS) \
17263 clean
17264 @endif intl-bootstrap
17267 .PHONY: all-stage4-intl maybe-all-stage4-intl
17268 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17269 maybe-all-stage4-intl:
17270 maybe-clean-stage4-intl:
17271 @if intl-bootstrap
17272 maybe-all-stage4-intl: all-stage4-intl
17273 all-stage4: all-stage4-intl
17274 TARGET-stage4-intl = $(TARGET-intl)
17275 all-stage4-intl: configure-stage4-intl
17276 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17277 @r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 TFLAGS="$(STAGE4_TFLAGS)"; \
17280 $(HOST_EXPORTS) \
17281 $(POSTSTAGE1_HOST_EXPORTS) \
17282 cd $(HOST_SUBDIR)/intl && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17284 CFLAGS="$(STAGE4_CFLAGS)" \
17285 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17286 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17291 TFLAGS="$(STAGE4_TFLAGS)" \
17292 $(TARGET-stage4-intl)
17294 maybe-clean-stage4-intl: clean-stage4-intl
17295 clean-stage4: clean-stage4-intl
17296 clean-stage4-intl:
17297 @if [ $(current_stage) = stage4 ]; then \
17298 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17299 else \
17300 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17301 $(MAKE) stage4-start; \
17302 fi; \
17303 cd $(HOST_SUBDIR)/intl && \
17304 $(MAKE) $(EXTRA_HOST_FLAGS) \
17305 $(POSTSTAGE1_FLAGS_TO_PASS) \
17306 clean
17307 @endif intl-bootstrap
17310 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17311 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17312 maybe-all-stageprofile-intl:
17313 maybe-clean-stageprofile-intl:
17314 @if intl-bootstrap
17315 maybe-all-stageprofile-intl: all-stageprofile-intl
17316 all-stageprofile: all-stageprofile-intl
17317 TARGET-stageprofile-intl = $(TARGET-intl)
17318 all-stageprofile-intl: configure-stageprofile-intl
17319 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17320 @r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17323 $(HOST_EXPORTS) \
17324 $(POSTSTAGE1_HOST_EXPORTS) \
17325 cd $(HOST_SUBDIR)/intl && \
17326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17327 CFLAGS="$(STAGEprofile_CFLAGS)" \
17328 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17329 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17334 TFLAGS="$(STAGEprofile_TFLAGS)" \
17335 $(TARGET-stageprofile-intl)
17337 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17338 clean-stageprofile: clean-stageprofile-intl
17339 clean-stageprofile-intl:
17340 @if [ $(current_stage) = stageprofile ]; then \
17341 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17342 else \
17343 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17344 $(MAKE) stageprofile-start; \
17345 fi; \
17346 cd $(HOST_SUBDIR)/intl && \
17347 $(MAKE) $(EXTRA_HOST_FLAGS) \
17348 $(POSTSTAGE1_FLAGS_TO_PASS) \
17349 clean
17350 @endif intl-bootstrap
17353 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17354 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17355 maybe-all-stagefeedback-intl:
17356 maybe-clean-stagefeedback-intl:
17357 @if intl-bootstrap
17358 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17359 all-stagefeedback: all-stagefeedback-intl
17360 TARGET-stagefeedback-intl = $(TARGET-intl)
17361 all-stagefeedback-intl: configure-stagefeedback-intl
17362 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17363 @r=`${PWD_COMMAND}`; export r; \
17364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17365 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17366 $(HOST_EXPORTS) \
17367 $(POSTSTAGE1_HOST_EXPORTS) \
17368 cd $(HOST_SUBDIR)/intl && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17370 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17371 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17372 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17377 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17378 $(TARGET-stagefeedback-intl)
17380 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17381 clean-stagefeedback: clean-stagefeedback-intl
17382 clean-stagefeedback-intl:
17383 @if [ $(current_stage) = stagefeedback ]; then \
17384 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17385 else \
17386 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17387 $(MAKE) stagefeedback-start; \
17388 fi; \
17389 cd $(HOST_SUBDIR)/intl && \
17390 $(MAKE) $(EXTRA_HOST_FLAGS) \
17391 $(POSTSTAGE1_FLAGS_TO_PASS) \
17392 clean
17393 @endif intl-bootstrap
17399 .PHONY: check-intl maybe-check-intl
17400 maybe-check-intl:
17401 @if intl
17402 maybe-check-intl: check-intl
17404 check-intl:
17405 @: $(MAKE); $(unstage)
17406 @r=`${PWD_COMMAND}`; export r; \
17407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408 $(HOST_EXPORTS) \
17409 (cd $(HOST_SUBDIR)/intl && \
17410 $(MAKE) $(FLAGS_TO_PASS) check)
17412 @endif intl
17414 .PHONY: install-intl maybe-install-intl
17415 maybe-install-intl:
17416 @if intl
17417 maybe-install-intl: install-intl
17419 install-intl: installdirs
17420 @: $(MAKE); $(unstage)
17421 @r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 (cd $(HOST_SUBDIR)/intl && \
17425 $(MAKE) $(FLAGS_TO_PASS) install)
17427 @endif intl
17429 .PHONY: install-strip-intl maybe-install-strip-intl
17430 maybe-install-strip-intl:
17431 @if intl
17432 maybe-install-strip-intl: install-strip-intl
17434 install-strip-intl: installdirs
17435 @: $(MAKE); $(unstage)
17436 @r=`${PWD_COMMAND}`; export r; \
17437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17438 $(HOST_EXPORTS) \
17439 (cd $(HOST_SUBDIR)/intl && \
17440 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17442 @endif intl
17444 # Other targets (info, dvi, pdf, etc.)
17446 .PHONY: maybe-info-intl info-intl
17447 maybe-info-intl:
17448 @if intl
17449 maybe-info-intl: info-intl
17451 info-intl: \
17452 configure-intl
17453 @[ -f ./intl/Makefile ] || exit 0; \
17454 r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456 $(HOST_EXPORTS) \
17457 for flag in $(EXTRA_HOST_FLAGS) ; do \
17458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17459 done; \
17460 echo "Doing info in intl" ; \
17461 (cd $(HOST_SUBDIR)/intl && \
17462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17464 "RANLIB=$${RANLIB}" \
17465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17466 info) \
17467 || exit 1
17469 @endif intl
17471 .PHONY: maybe-dvi-intl dvi-intl
17472 maybe-dvi-intl:
17473 @if intl
17474 maybe-dvi-intl: dvi-intl
17476 dvi-intl: \
17477 configure-intl
17478 @[ -f ./intl/Makefile ] || exit 0; \
17479 r=`${PWD_COMMAND}`; export r; \
17480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17481 $(HOST_EXPORTS) \
17482 for flag in $(EXTRA_HOST_FLAGS) ; do \
17483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17484 done; \
17485 echo "Doing dvi in intl" ; \
17486 (cd $(HOST_SUBDIR)/intl && \
17487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17489 "RANLIB=$${RANLIB}" \
17490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17491 dvi) \
17492 || exit 1
17494 @endif intl
17496 .PHONY: maybe-pdf-intl pdf-intl
17497 maybe-pdf-intl:
17498 @if intl
17499 maybe-pdf-intl: pdf-intl
17501 pdf-intl: \
17502 configure-intl
17503 @[ -f ./intl/Makefile ] || exit 0; \
17504 r=`${PWD_COMMAND}`; export r; \
17505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17506 $(HOST_EXPORTS) \
17507 for flag in $(EXTRA_HOST_FLAGS) ; do \
17508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17509 done; \
17510 echo "Doing pdf in intl" ; \
17511 (cd $(HOST_SUBDIR)/intl && \
17512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17514 "RANLIB=$${RANLIB}" \
17515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17516 pdf) \
17517 || exit 1
17519 @endif intl
17521 .PHONY: maybe-html-intl html-intl
17522 maybe-html-intl:
17523 @if intl
17524 maybe-html-intl: html-intl
17526 html-intl: \
17527 configure-intl
17528 @[ -f ./intl/Makefile ] || exit 0; \
17529 r=`${PWD_COMMAND}`; export r; \
17530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17531 $(HOST_EXPORTS) \
17532 for flag in $(EXTRA_HOST_FLAGS) ; do \
17533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17534 done; \
17535 echo "Doing html in intl" ; \
17536 (cd $(HOST_SUBDIR)/intl && \
17537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17539 "RANLIB=$${RANLIB}" \
17540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17541 html) \
17542 || exit 1
17544 @endif intl
17546 .PHONY: maybe-TAGS-intl TAGS-intl
17547 maybe-TAGS-intl:
17548 @if intl
17549 maybe-TAGS-intl: TAGS-intl
17551 TAGS-intl: \
17552 configure-intl
17553 @[ -f ./intl/Makefile ] || exit 0; \
17554 r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 $(HOST_EXPORTS) \
17557 for flag in $(EXTRA_HOST_FLAGS) ; do \
17558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 done; \
17560 echo "Doing TAGS in intl" ; \
17561 (cd $(HOST_SUBDIR)/intl && \
17562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17564 "RANLIB=$${RANLIB}" \
17565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17566 TAGS) \
17567 || exit 1
17569 @endif intl
17571 .PHONY: maybe-install-info-intl install-info-intl
17572 maybe-install-info-intl:
17573 @if intl
17574 maybe-install-info-intl: install-info-intl
17576 install-info-intl: \
17577 configure-intl \
17578 info-intl
17579 @[ -f ./intl/Makefile ] || exit 0; \
17580 r=`${PWD_COMMAND}`; export r; \
17581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17582 $(HOST_EXPORTS) \
17583 for flag in $(EXTRA_HOST_FLAGS) ; do \
17584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17585 done; \
17586 echo "Doing install-info in intl" ; \
17587 (cd $(HOST_SUBDIR)/intl && \
17588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17590 "RANLIB=$${RANLIB}" \
17591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17592 install-info) \
17593 || exit 1
17595 @endif intl
17597 .PHONY: maybe-install-pdf-intl install-pdf-intl
17598 maybe-install-pdf-intl:
17599 @if intl
17600 maybe-install-pdf-intl: install-pdf-intl
17602 install-pdf-intl: \
17603 configure-intl \
17604 pdf-intl
17605 @[ -f ./intl/Makefile ] || exit 0; \
17606 r=`${PWD_COMMAND}`; export r; \
17607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17608 $(HOST_EXPORTS) \
17609 for flag in $(EXTRA_HOST_FLAGS) ; do \
17610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17611 done; \
17612 echo "Doing install-pdf in intl" ; \
17613 (cd $(HOST_SUBDIR)/intl && \
17614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17616 "RANLIB=$${RANLIB}" \
17617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17618 install-pdf) \
17619 || exit 1
17621 @endif intl
17623 .PHONY: maybe-install-html-intl install-html-intl
17624 maybe-install-html-intl:
17625 @if intl
17626 maybe-install-html-intl: install-html-intl
17628 install-html-intl: \
17629 configure-intl \
17630 html-intl
17631 @[ -f ./intl/Makefile ] || exit 0; \
17632 r=`${PWD_COMMAND}`; export r; \
17633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17634 $(HOST_EXPORTS) \
17635 for flag in $(EXTRA_HOST_FLAGS) ; do \
17636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17637 done; \
17638 echo "Doing install-html in intl" ; \
17639 (cd $(HOST_SUBDIR)/intl && \
17640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17642 "RANLIB=$${RANLIB}" \
17643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17644 install-html) \
17645 || exit 1
17647 @endif intl
17649 .PHONY: maybe-installcheck-intl installcheck-intl
17650 maybe-installcheck-intl:
17651 @if intl
17652 maybe-installcheck-intl: installcheck-intl
17654 installcheck-intl: \
17655 configure-intl
17656 @[ -f ./intl/Makefile ] || exit 0; \
17657 r=`${PWD_COMMAND}`; export r; \
17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 $(HOST_EXPORTS) \
17660 for flag in $(EXTRA_HOST_FLAGS) ; do \
17661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17662 done; \
17663 echo "Doing installcheck in intl" ; \
17664 (cd $(HOST_SUBDIR)/intl && \
17665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17667 "RANLIB=$${RANLIB}" \
17668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17669 installcheck) \
17670 || exit 1
17672 @endif intl
17674 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17675 maybe-mostlyclean-intl:
17676 @if intl
17677 maybe-mostlyclean-intl: mostlyclean-intl
17679 mostlyclean-intl:
17680 @[ -f ./intl/Makefile ] || exit 0; \
17681 r=`${PWD_COMMAND}`; export r; \
17682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17683 $(HOST_EXPORTS) \
17684 for flag in $(EXTRA_HOST_FLAGS) ; do \
17685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17686 done; \
17687 echo "Doing mostlyclean in intl" ; \
17688 (cd $(HOST_SUBDIR)/intl && \
17689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17691 "RANLIB=$${RANLIB}" \
17692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17693 mostlyclean) \
17694 || exit 1
17696 @endif intl
17698 .PHONY: maybe-clean-intl clean-intl
17699 maybe-clean-intl:
17700 @if intl
17701 maybe-clean-intl: clean-intl
17703 clean-intl:
17704 @[ -f ./intl/Makefile ] || exit 0; \
17705 r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17707 $(HOST_EXPORTS) \
17708 for flag in $(EXTRA_HOST_FLAGS) ; do \
17709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17710 done; \
17711 echo "Doing clean in intl" ; \
17712 (cd $(HOST_SUBDIR)/intl && \
17713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17715 "RANLIB=$${RANLIB}" \
17716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17717 clean) \
17718 || exit 1
17720 @endif intl
17722 .PHONY: maybe-distclean-intl distclean-intl
17723 maybe-distclean-intl:
17724 @if intl
17725 maybe-distclean-intl: distclean-intl
17727 distclean-intl:
17728 @[ -f ./intl/Makefile ] || exit 0; \
17729 r=`${PWD_COMMAND}`; export r; \
17730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17731 $(HOST_EXPORTS) \
17732 for flag in $(EXTRA_HOST_FLAGS) ; do \
17733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17734 done; \
17735 echo "Doing distclean in intl" ; \
17736 (cd $(HOST_SUBDIR)/intl && \
17737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17739 "RANLIB=$${RANLIB}" \
17740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17741 distclean) \
17742 || exit 1
17744 @endif intl
17746 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17747 maybe-maintainer-clean-intl:
17748 @if intl
17749 maybe-maintainer-clean-intl: maintainer-clean-intl
17751 maintainer-clean-intl:
17752 @[ -f ./intl/Makefile ] || exit 0; \
17753 r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 $(HOST_EXPORTS) \
17756 for flag in $(EXTRA_HOST_FLAGS) ; do \
17757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17758 done; \
17759 echo "Doing maintainer-clean in intl" ; \
17760 (cd $(HOST_SUBDIR)/intl && \
17761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17763 "RANLIB=$${RANLIB}" \
17764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17765 maintainer-clean) \
17766 || exit 1
17768 @endif intl
17772 .PHONY: configure-tcl maybe-configure-tcl
17773 maybe-configure-tcl:
17774 @if gcc-bootstrap
17775 configure-tcl: stage_current
17776 @endif gcc-bootstrap
17777 @if tcl
17778 maybe-configure-tcl: configure-tcl
17779 configure-tcl:
17780 @: $(MAKE); $(unstage)
17781 @r=`${PWD_COMMAND}`; export r; \
17782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17783 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17785 $(HOST_EXPORTS) \
17786 echo Configuring in $(HOST_SUBDIR)/tcl; \
17787 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17788 case $(srcdir) in \
17789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17790 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17792 esac; \
17793 srcdiroption="--srcdir=$${topdir}/tcl"; \
17794 libsrcdir="$$s/tcl"; \
17795 $(SHELL) $${libsrcdir}/configure \
17796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17797 --target=${target_alias} $${srcdiroption} \
17798 || exit 1
17799 @endif tcl
17805 .PHONY: all-tcl maybe-all-tcl
17806 maybe-all-tcl:
17807 @if gcc-bootstrap
17808 all-tcl: stage_current
17809 @endif gcc-bootstrap
17810 @if tcl
17811 TARGET-tcl=all
17812 maybe-all-tcl: all-tcl
17813 all-tcl: configure-tcl
17814 @: $(MAKE); $(unstage)
17815 @r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17817 $(HOST_EXPORTS) \
17818 (cd $(HOST_SUBDIR)/tcl && \
17819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17820 $(TARGET-tcl))
17821 @endif tcl
17826 .PHONY: check-tcl maybe-check-tcl
17827 maybe-check-tcl:
17828 @if tcl
17829 maybe-check-tcl: check-tcl
17831 check-tcl:
17832 @: $(MAKE); $(unstage)
17833 @r=`${PWD_COMMAND}`; export r; \
17834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17835 $(HOST_EXPORTS) \
17836 (cd $(HOST_SUBDIR)/tcl && \
17837 $(MAKE) $(FLAGS_TO_PASS) check)
17839 @endif tcl
17841 .PHONY: install-tcl maybe-install-tcl
17842 maybe-install-tcl:
17843 @if tcl
17844 maybe-install-tcl: install-tcl
17846 install-tcl: installdirs
17847 @: $(MAKE); $(unstage)
17848 @r=`${PWD_COMMAND}`; export r; \
17849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17850 $(HOST_EXPORTS) \
17851 (cd $(HOST_SUBDIR)/tcl && \
17852 $(MAKE) $(FLAGS_TO_PASS) install)
17854 @endif tcl
17856 .PHONY: install-strip-tcl maybe-install-strip-tcl
17857 maybe-install-strip-tcl:
17858 @if tcl
17859 maybe-install-strip-tcl: install-strip-tcl
17861 install-strip-tcl: installdirs
17862 @: $(MAKE); $(unstage)
17863 @r=`${PWD_COMMAND}`; export r; \
17864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17865 $(HOST_EXPORTS) \
17866 (cd $(HOST_SUBDIR)/tcl && \
17867 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17869 @endif tcl
17871 # Other targets (info, dvi, pdf, etc.)
17873 .PHONY: maybe-info-tcl info-tcl
17874 maybe-info-tcl:
17875 @if tcl
17876 maybe-info-tcl: info-tcl
17878 info-tcl: \
17879 configure-tcl
17880 @: $(MAKE); $(unstage)
17881 @[ -f ./tcl/Makefile ] || exit 0; \
17882 r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884 $(HOST_EXPORTS) \
17885 for flag in $(EXTRA_HOST_FLAGS) ; do \
17886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17887 done; \
17888 echo "Doing info in tcl" ; \
17889 (cd $(HOST_SUBDIR)/tcl && \
17890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17892 "RANLIB=$${RANLIB}" \
17893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17894 info) \
17895 || exit 1
17897 @endif tcl
17899 .PHONY: maybe-dvi-tcl dvi-tcl
17900 maybe-dvi-tcl:
17901 @if tcl
17902 maybe-dvi-tcl: dvi-tcl
17904 dvi-tcl: \
17905 configure-tcl
17906 @: $(MAKE); $(unstage)
17907 @[ -f ./tcl/Makefile ] || exit 0; \
17908 r=`${PWD_COMMAND}`; export r; \
17909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17910 $(HOST_EXPORTS) \
17911 for flag in $(EXTRA_HOST_FLAGS) ; do \
17912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17913 done; \
17914 echo "Doing dvi in tcl" ; \
17915 (cd $(HOST_SUBDIR)/tcl && \
17916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17918 "RANLIB=$${RANLIB}" \
17919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17920 dvi) \
17921 || exit 1
17923 @endif tcl
17925 .PHONY: maybe-pdf-tcl pdf-tcl
17926 maybe-pdf-tcl:
17927 @if tcl
17928 maybe-pdf-tcl: pdf-tcl
17930 pdf-tcl: \
17931 configure-tcl
17932 @: $(MAKE); $(unstage)
17933 @[ -f ./tcl/Makefile ] || exit 0; \
17934 r=`${PWD_COMMAND}`; export r; \
17935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17936 $(HOST_EXPORTS) \
17937 for flag in $(EXTRA_HOST_FLAGS) ; do \
17938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17939 done; \
17940 echo "Doing pdf in tcl" ; \
17941 (cd $(HOST_SUBDIR)/tcl && \
17942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17944 "RANLIB=$${RANLIB}" \
17945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17946 pdf) \
17947 || exit 1
17949 @endif tcl
17951 .PHONY: maybe-html-tcl html-tcl
17952 maybe-html-tcl:
17953 @if tcl
17954 maybe-html-tcl: html-tcl
17956 html-tcl: \
17957 configure-tcl
17958 @: $(MAKE); $(unstage)
17959 @[ -f ./tcl/Makefile ] || exit 0; \
17960 r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 $(HOST_EXPORTS) \
17963 for flag in $(EXTRA_HOST_FLAGS) ; do \
17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17965 done; \
17966 echo "Doing html in tcl" ; \
17967 (cd $(HOST_SUBDIR)/tcl && \
17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17970 "RANLIB=$${RANLIB}" \
17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17972 html) \
17973 || exit 1
17975 @endif tcl
17977 .PHONY: maybe-TAGS-tcl TAGS-tcl
17978 maybe-TAGS-tcl:
17979 @if tcl
17980 maybe-TAGS-tcl: TAGS-tcl
17982 TAGS-tcl: \
17983 configure-tcl
17984 @: $(MAKE); $(unstage)
17985 @[ -f ./tcl/Makefile ] || exit 0; \
17986 r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 $(HOST_EXPORTS) \
17989 for flag in $(EXTRA_HOST_FLAGS) ; do \
17990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17991 done; \
17992 echo "Doing TAGS in tcl" ; \
17993 (cd $(HOST_SUBDIR)/tcl && \
17994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17996 "RANLIB=$${RANLIB}" \
17997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17998 TAGS) \
17999 || exit 1
18001 @endif tcl
18003 .PHONY: maybe-install-info-tcl install-info-tcl
18004 maybe-install-info-tcl:
18005 @if tcl
18006 maybe-install-info-tcl: install-info-tcl
18008 install-info-tcl: \
18009 configure-tcl \
18010 info-tcl
18011 @: $(MAKE); $(unstage)
18012 @[ -f ./tcl/Makefile ] || exit 0; \
18013 r=`${PWD_COMMAND}`; export r; \
18014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18015 $(HOST_EXPORTS) \
18016 for flag in $(EXTRA_HOST_FLAGS) ; do \
18017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18018 done; \
18019 echo "Doing install-info in tcl" ; \
18020 (cd $(HOST_SUBDIR)/tcl && \
18021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18023 "RANLIB=$${RANLIB}" \
18024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18025 install-info) \
18026 || exit 1
18028 @endif tcl
18030 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18031 maybe-install-pdf-tcl:
18032 @if tcl
18033 maybe-install-pdf-tcl: install-pdf-tcl
18035 install-pdf-tcl: \
18036 configure-tcl \
18037 pdf-tcl
18038 @: $(MAKE); $(unstage)
18039 @[ -f ./tcl/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 for flag in $(EXTRA_HOST_FLAGS) ; do \
18044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 done; \
18046 echo "Doing install-pdf in tcl" ; \
18047 (cd $(HOST_SUBDIR)/tcl && \
18048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18050 "RANLIB=$${RANLIB}" \
18051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18052 install-pdf) \
18053 || exit 1
18055 @endif tcl
18057 .PHONY: maybe-install-html-tcl install-html-tcl
18058 maybe-install-html-tcl:
18059 @if tcl
18060 maybe-install-html-tcl: install-html-tcl
18062 install-html-tcl: \
18063 configure-tcl \
18064 html-tcl
18065 @: $(MAKE); $(unstage)
18066 @[ -f ./tcl/Makefile ] || exit 0; \
18067 r=`${PWD_COMMAND}`; export r; \
18068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18069 $(HOST_EXPORTS) \
18070 for flag in $(EXTRA_HOST_FLAGS) ; do \
18071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18072 done; \
18073 echo "Doing install-html in tcl" ; \
18074 (cd $(HOST_SUBDIR)/tcl && \
18075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18077 "RANLIB=$${RANLIB}" \
18078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18079 install-html) \
18080 || exit 1
18082 @endif tcl
18084 .PHONY: maybe-installcheck-tcl installcheck-tcl
18085 maybe-installcheck-tcl:
18086 @if tcl
18087 maybe-installcheck-tcl: installcheck-tcl
18089 installcheck-tcl: \
18090 configure-tcl
18091 @: $(MAKE); $(unstage)
18092 @[ -f ./tcl/Makefile ] || exit 0; \
18093 r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS) ; do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing installcheck in tcl" ; \
18100 (cd $(HOST_SUBDIR)/tcl && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18105 installcheck) \
18106 || exit 1
18108 @endif tcl
18110 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18111 maybe-mostlyclean-tcl:
18112 @if tcl
18113 maybe-mostlyclean-tcl: mostlyclean-tcl
18115 # tcl doesn't support mostlyclean.
18116 mostlyclean-tcl:
18118 @endif tcl
18120 .PHONY: maybe-clean-tcl clean-tcl
18121 maybe-clean-tcl:
18122 @if tcl
18123 maybe-clean-tcl: clean-tcl
18125 clean-tcl:
18126 @: $(MAKE); $(unstage)
18127 @[ -f ./tcl/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 $(HOST_EXPORTS) \
18131 for flag in $(EXTRA_HOST_FLAGS) ; do \
18132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18133 done; \
18134 echo "Doing clean in tcl" ; \
18135 (cd $(HOST_SUBDIR)/tcl && \
18136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18138 "RANLIB=$${RANLIB}" \
18139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18140 clean) \
18141 || exit 1
18143 @endif tcl
18145 .PHONY: maybe-distclean-tcl distclean-tcl
18146 maybe-distclean-tcl:
18147 @if tcl
18148 maybe-distclean-tcl: distclean-tcl
18150 distclean-tcl:
18151 @: $(MAKE); $(unstage)
18152 @[ -f ./tcl/Makefile ] || exit 0; \
18153 r=`${PWD_COMMAND}`; export r; \
18154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18155 $(HOST_EXPORTS) \
18156 for flag in $(EXTRA_HOST_FLAGS) ; do \
18157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18158 done; \
18159 echo "Doing distclean in tcl" ; \
18160 (cd $(HOST_SUBDIR)/tcl && \
18161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18163 "RANLIB=$${RANLIB}" \
18164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18165 distclean) \
18166 || exit 1
18168 @endif tcl
18170 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18171 maybe-maintainer-clean-tcl:
18172 @if tcl
18173 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18175 maintainer-clean-tcl:
18176 @: $(MAKE); $(unstage)
18177 @[ -f ./tcl/Makefile ] || exit 0; \
18178 r=`${PWD_COMMAND}`; export r; \
18179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18180 $(HOST_EXPORTS) \
18181 for flag in $(EXTRA_HOST_FLAGS) ; do \
18182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18183 done; \
18184 echo "Doing maintainer-clean in tcl" ; \
18185 (cd $(HOST_SUBDIR)/tcl && \
18186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18188 "RANLIB=$${RANLIB}" \
18189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18190 maintainer-clean) \
18191 || exit 1
18193 @endif tcl
18197 .PHONY: configure-itcl maybe-configure-itcl
18198 maybe-configure-itcl:
18199 @if gcc-bootstrap
18200 configure-itcl: stage_current
18201 @endif gcc-bootstrap
18202 @if itcl
18203 maybe-configure-itcl: configure-itcl
18204 configure-itcl:
18205 @: $(MAKE); $(unstage)
18206 @r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18210 $(HOST_EXPORTS) \
18211 echo Configuring in $(HOST_SUBDIR)/itcl; \
18212 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18213 case $(srcdir) in \
18214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18215 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18217 esac; \
18218 srcdiroption="--srcdir=$${topdir}/itcl"; \
18219 libsrcdir="$$s/itcl"; \
18220 $(SHELL) $${libsrcdir}/configure \
18221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18222 --target=${target_alias} $${srcdiroption} \
18223 || exit 1
18224 @endif itcl
18230 .PHONY: all-itcl maybe-all-itcl
18231 maybe-all-itcl:
18232 @if gcc-bootstrap
18233 all-itcl: stage_current
18234 @endif gcc-bootstrap
18235 @if itcl
18236 TARGET-itcl=all
18237 maybe-all-itcl: all-itcl
18238 all-itcl: configure-itcl
18239 @: $(MAKE); $(unstage)
18240 @r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 $(HOST_EXPORTS) \
18243 (cd $(HOST_SUBDIR)/itcl && \
18244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18245 $(TARGET-itcl))
18246 @endif itcl
18251 .PHONY: check-itcl maybe-check-itcl
18252 maybe-check-itcl:
18253 @if itcl
18254 maybe-check-itcl: check-itcl
18256 check-itcl:
18257 @: $(MAKE); $(unstage)
18258 @r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(HOST_EXPORTS) \
18261 (cd $(HOST_SUBDIR)/itcl && \
18262 $(MAKE) $(FLAGS_TO_PASS) check)
18264 @endif itcl
18266 .PHONY: install-itcl maybe-install-itcl
18267 maybe-install-itcl:
18268 @if itcl
18269 maybe-install-itcl: install-itcl
18271 install-itcl: installdirs
18272 @: $(MAKE); $(unstage)
18273 @r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18275 $(HOST_EXPORTS) \
18276 (cd $(HOST_SUBDIR)/itcl && \
18277 $(MAKE) $(FLAGS_TO_PASS) install)
18279 @endif itcl
18281 .PHONY: install-strip-itcl maybe-install-strip-itcl
18282 maybe-install-strip-itcl:
18283 @if itcl
18284 maybe-install-strip-itcl: install-strip-itcl
18286 install-strip-itcl: installdirs
18287 @: $(MAKE); $(unstage)
18288 @r=`${PWD_COMMAND}`; export r; \
18289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18290 $(HOST_EXPORTS) \
18291 (cd $(HOST_SUBDIR)/itcl && \
18292 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18294 @endif itcl
18296 # Other targets (info, dvi, pdf, etc.)
18298 .PHONY: maybe-info-itcl info-itcl
18299 maybe-info-itcl:
18300 @if itcl
18301 maybe-info-itcl: info-itcl
18303 info-itcl: \
18304 configure-itcl
18305 @: $(MAKE); $(unstage)
18306 @[ -f ./itcl/Makefile ] || exit 0; \
18307 r=`${PWD_COMMAND}`; export r; \
18308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18309 $(HOST_EXPORTS) \
18310 for flag in $(EXTRA_HOST_FLAGS) ; do \
18311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18312 done; \
18313 echo "Doing info in itcl" ; \
18314 (cd $(HOST_SUBDIR)/itcl && \
18315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18317 "RANLIB=$${RANLIB}" \
18318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18319 info) \
18320 || exit 1
18322 @endif itcl
18324 .PHONY: maybe-dvi-itcl dvi-itcl
18325 maybe-dvi-itcl:
18326 @if itcl
18327 maybe-dvi-itcl: dvi-itcl
18329 dvi-itcl: \
18330 configure-itcl
18331 @: $(MAKE); $(unstage)
18332 @[ -f ./itcl/Makefile ] || exit 0; \
18333 r=`${PWD_COMMAND}`; export r; \
18334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18335 $(HOST_EXPORTS) \
18336 for flag in $(EXTRA_HOST_FLAGS) ; do \
18337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18338 done; \
18339 echo "Doing dvi in itcl" ; \
18340 (cd $(HOST_SUBDIR)/itcl && \
18341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18343 "RANLIB=$${RANLIB}" \
18344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18345 dvi) \
18346 || exit 1
18348 @endif itcl
18350 .PHONY: maybe-pdf-itcl pdf-itcl
18351 maybe-pdf-itcl:
18352 @if itcl
18353 maybe-pdf-itcl: pdf-itcl
18355 pdf-itcl: \
18356 configure-itcl
18357 @: $(MAKE); $(unstage)
18358 @[ -f ./itcl/Makefile ] || exit 0; \
18359 r=`${PWD_COMMAND}`; export r; \
18360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18361 $(HOST_EXPORTS) \
18362 for flag in $(EXTRA_HOST_FLAGS) ; do \
18363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18364 done; \
18365 echo "Doing pdf in itcl" ; \
18366 (cd $(HOST_SUBDIR)/itcl && \
18367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18369 "RANLIB=$${RANLIB}" \
18370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18371 pdf) \
18372 || exit 1
18374 @endif itcl
18376 .PHONY: maybe-html-itcl html-itcl
18377 maybe-html-itcl:
18378 @if itcl
18379 maybe-html-itcl: html-itcl
18381 html-itcl: \
18382 configure-itcl
18383 @: $(MAKE); $(unstage)
18384 @[ -f ./itcl/Makefile ] || exit 0; \
18385 r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 for flag in $(EXTRA_HOST_FLAGS) ; do \
18389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18390 done; \
18391 echo "Doing html in itcl" ; \
18392 (cd $(HOST_SUBDIR)/itcl && \
18393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18395 "RANLIB=$${RANLIB}" \
18396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18397 html) \
18398 || exit 1
18400 @endif itcl
18402 .PHONY: maybe-TAGS-itcl TAGS-itcl
18403 maybe-TAGS-itcl:
18404 @if itcl
18405 maybe-TAGS-itcl: TAGS-itcl
18407 TAGS-itcl: \
18408 configure-itcl
18409 @: $(MAKE); $(unstage)
18410 @[ -f ./itcl/Makefile ] || exit 0; \
18411 r=`${PWD_COMMAND}`; export r; \
18412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18413 $(HOST_EXPORTS) \
18414 for flag in $(EXTRA_HOST_FLAGS) ; do \
18415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18416 done; \
18417 echo "Doing TAGS in itcl" ; \
18418 (cd $(HOST_SUBDIR)/itcl && \
18419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18421 "RANLIB=$${RANLIB}" \
18422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18423 TAGS) \
18424 || exit 1
18426 @endif itcl
18428 .PHONY: maybe-install-info-itcl install-info-itcl
18429 maybe-install-info-itcl:
18430 @if itcl
18431 maybe-install-info-itcl: install-info-itcl
18433 install-info-itcl: \
18434 configure-itcl \
18435 info-itcl
18436 @: $(MAKE); $(unstage)
18437 @[ -f ./itcl/Makefile ] || exit 0; \
18438 r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 $(HOST_EXPORTS) \
18441 for flag in $(EXTRA_HOST_FLAGS) ; do \
18442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18443 done; \
18444 echo "Doing install-info in itcl" ; \
18445 (cd $(HOST_SUBDIR)/itcl && \
18446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18448 "RANLIB=$${RANLIB}" \
18449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18450 install-info) \
18451 || exit 1
18453 @endif itcl
18455 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18456 maybe-install-pdf-itcl:
18457 @if itcl
18458 maybe-install-pdf-itcl: install-pdf-itcl
18460 install-pdf-itcl: \
18461 configure-itcl \
18462 pdf-itcl
18463 @: $(MAKE); $(unstage)
18464 @[ -f ./itcl/Makefile ] || exit 0; \
18465 r=`${PWD_COMMAND}`; export r; \
18466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467 $(HOST_EXPORTS) \
18468 for flag in $(EXTRA_HOST_FLAGS) ; do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470 done; \
18471 echo "Doing install-pdf in itcl" ; \
18472 (cd $(HOST_SUBDIR)/itcl && \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18477 install-pdf) \
18478 || exit 1
18480 @endif itcl
18482 .PHONY: maybe-install-html-itcl install-html-itcl
18483 maybe-install-html-itcl:
18484 @if itcl
18485 maybe-install-html-itcl: install-html-itcl
18487 install-html-itcl: \
18488 configure-itcl \
18489 html-itcl
18490 @: $(MAKE); $(unstage)
18491 @[ -f ./itcl/Makefile ] || exit 0; \
18492 r=`${PWD_COMMAND}`; export r; \
18493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18494 $(HOST_EXPORTS) \
18495 for flag in $(EXTRA_HOST_FLAGS) ; do \
18496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18497 done; \
18498 echo "Doing install-html in itcl" ; \
18499 (cd $(HOST_SUBDIR)/itcl && \
18500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18502 "RANLIB=$${RANLIB}" \
18503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18504 install-html) \
18505 || exit 1
18507 @endif itcl
18509 .PHONY: maybe-installcheck-itcl installcheck-itcl
18510 maybe-installcheck-itcl:
18511 @if itcl
18512 maybe-installcheck-itcl: installcheck-itcl
18514 installcheck-itcl: \
18515 configure-itcl
18516 @: $(MAKE); $(unstage)
18517 @[ -f ./itcl/Makefile ] || exit 0; \
18518 r=`${PWD_COMMAND}`; export r; \
18519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 $(HOST_EXPORTS) \
18521 for flag in $(EXTRA_HOST_FLAGS) ; do \
18522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18523 done; \
18524 echo "Doing installcheck in itcl" ; \
18525 (cd $(HOST_SUBDIR)/itcl && \
18526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18528 "RANLIB=$${RANLIB}" \
18529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18530 installcheck) \
18531 || exit 1
18533 @endif itcl
18535 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18536 maybe-mostlyclean-itcl:
18537 @if itcl
18538 maybe-mostlyclean-itcl: mostlyclean-itcl
18540 mostlyclean-itcl:
18541 @: $(MAKE); $(unstage)
18542 @[ -f ./itcl/Makefile ] || exit 0; \
18543 r=`${PWD_COMMAND}`; export r; \
18544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18545 $(HOST_EXPORTS) \
18546 for flag in $(EXTRA_HOST_FLAGS) ; do \
18547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18548 done; \
18549 echo "Doing mostlyclean in itcl" ; \
18550 (cd $(HOST_SUBDIR)/itcl && \
18551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18553 "RANLIB=$${RANLIB}" \
18554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18555 mostlyclean) \
18556 || exit 1
18558 @endif itcl
18560 .PHONY: maybe-clean-itcl clean-itcl
18561 maybe-clean-itcl:
18562 @if itcl
18563 maybe-clean-itcl: clean-itcl
18565 clean-itcl:
18566 @: $(MAKE); $(unstage)
18567 @[ -f ./itcl/Makefile ] || exit 0; \
18568 r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18570 $(HOST_EXPORTS) \
18571 for flag in $(EXTRA_HOST_FLAGS) ; do \
18572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18573 done; \
18574 echo "Doing clean in itcl" ; \
18575 (cd $(HOST_SUBDIR)/itcl && \
18576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18578 "RANLIB=$${RANLIB}" \
18579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18580 clean) \
18581 || exit 1
18583 @endif itcl
18585 .PHONY: maybe-distclean-itcl distclean-itcl
18586 maybe-distclean-itcl:
18587 @if itcl
18588 maybe-distclean-itcl: distclean-itcl
18590 distclean-itcl:
18591 @: $(MAKE); $(unstage)
18592 @[ -f ./itcl/Makefile ] || exit 0; \
18593 r=`${PWD_COMMAND}`; export r; \
18594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18595 $(HOST_EXPORTS) \
18596 for flag in $(EXTRA_HOST_FLAGS) ; do \
18597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18598 done; \
18599 echo "Doing distclean in itcl" ; \
18600 (cd $(HOST_SUBDIR)/itcl && \
18601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18603 "RANLIB=$${RANLIB}" \
18604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18605 distclean) \
18606 || exit 1
18608 @endif itcl
18610 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18611 maybe-maintainer-clean-itcl:
18612 @if itcl
18613 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18615 maintainer-clean-itcl:
18616 @: $(MAKE); $(unstage)
18617 @[ -f ./itcl/Makefile ] || exit 0; \
18618 r=`${PWD_COMMAND}`; export r; \
18619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18620 $(HOST_EXPORTS) \
18621 for flag in $(EXTRA_HOST_FLAGS) ; do \
18622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18623 done; \
18624 echo "Doing maintainer-clean in itcl" ; \
18625 (cd $(HOST_SUBDIR)/itcl && \
18626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18628 "RANLIB=$${RANLIB}" \
18629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18630 maintainer-clean) \
18631 || exit 1
18633 @endif itcl
18637 .PHONY: configure-ld maybe-configure-ld
18638 maybe-configure-ld:
18639 @if gcc-bootstrap
18640 configure-ld: stage_current
18641 @endif gcc-bootstrap
18642 @if ld
18643 maybe-configure-ld: configure-ld
18644 configure-ld:
18645 @r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18647 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18649 $(HOST_EXPORTS) \
18650 echo Configuring in $(HOST_SUBDIR)/ld; \
18651 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18652 case $(srcdir) in \
18653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18654 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18656 esac; \
18657 srcdiroption="--srcdir=$${topdir}/ld"; \
18658 libsrcdir="$$s/ld"; \
18659 $(SHELL) $${libsrcdir}/configure \
18660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18661 --target=${target_alias} $${srcdiroption} \
18662 || exit 1
18663 @endif ld
18667 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18668 maybe-configure-stage1-ld:
18669 @if ld-bootstrap
18670 maybe-configure-stage1-ld: configure-stage1-ld
18671 configure-stage1-ld:
18672 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18674 @r=`${PWD_COMMAND}`; export r; \
18675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18676 TFLAGS="$(STAGE1_TFLAGS)"; \
18677 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18678 $(HOST_EXPORTS) \
18679 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18680 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18681 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18682 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18684 cd $(HOST_SUBDIR)/ld || exit 1; \
18685 case $(srcdir) in \
18686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18687 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18689 esac; \
18690 srcdiroption="--srcdir=$${topdir}/ld"; \
18691 libsrcdir="$$s/ld"; \
18692 $(SHELL) $${libsrcdir}/configure \
18693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18694 --target=${target_alias} $${srcdiroption} \
18695 $(STAGE1_CONFIGURE_FLAGS)
18696 @endif ld-bootstrap
18698 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18699 maybe-configure-stage2-ld:
18700 @if ld-bootstrap
18701 maybe-configure-stage2-ld: configure-stage2-ld
18702 configure-stage2-ld:
18703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18705 @r=`${PWD_COMMAND}`; export r; \
18706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18707 TFLAGS="$(STAGE2_TFLAGS)"; \
18708 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18709 $(HOST_EXPORTS) \
18710 $(POSTSTAGE1_HOST_EXPORTS) \
18711 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18712 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18713 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18714 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18716 cd $(HOST_SUBDIR)/ld || exit 1; \
18717 case $(srcdir) in \
18718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18719 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18721 esac; \
18722 srcdiroption="--srcdir=$${topdir}/ld"; \
18723 libsrcdir="$$s/ld"; \
18724 $(SHELL) $${libsrcdir}/configure \
18725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18726 --target=${target_alias} $${srcdiroption} \
18727 --with-build-libsubdir=$(HOST_SUBDIR) \
18728 $(STAGE2_CONFIGURE_FLAGS)
18729 @endif ld-bootstrap
18731 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18732 maybe-configure-stage3-ld:
18733 @if ld-bootstrap
18734 maybe-configure-stage3-ld: configure-stage3-ld
18735 configure-stage3-ld:
18736 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18738 @r=`${PWD_COMMAND}`; export r; \
18739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18740 TFLAGS="$(STAGE3_TFLAGS)"; \
18741 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18742 $(HOST_EXPORTS) \
18743 $(POSTSTAGE1_HOST_EXPORTS) \
18744 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18745 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18746 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18747 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18749 cd $(HOST_SUBDIR)/ld || exit 1; \
18750 case $(srcdir) in \
18751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18752 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18754 esac; \
18755 srcdiroption="--srcdir=$${topdir}/ld"; \
18756 libsrcdir="$$s/ld"; \
18757 $(SHELL) $${libsrcdir}/configure \
18758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18759 --target=${target_alias} $${srcdiroption} \
18760 --with-build-libsubdir=$(HOST_SUBDIR) \
18761 $(STAGE3_CONFIGURE_FLAGS)
18762 @endif ld-bootstrap
18764 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18765 maybe-configure-stage4-ld:
18766 @if ld-bootstrap
18767 maybe-configure-stage4-ld: configure-stage4-ld
18768 configure-stage4-ld:
18769 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18771 @r=`${PWD_COMMAND}`; export r; \
18772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18773 TFLAGS="$(STAGE4_TFLAGS)"; \
18774 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18775 $(HOST_EXPORTS) \
18776 $(POSTSTAGE1_HOST_EXPORTS) \
18777 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18778 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18779 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18780 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18782 cd $(HOST_SUBDIR)/ld || exit 1; \
18783 case $(srcdir) in \
18784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18785 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18787 esac; \
18788 srcdiroption="--srcdir=$${topdir}/ld"; \
18789 libsrcdir="$$s/ld"; \
18790 $(SHELL) $${libsrcdir}/configure \
18791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18792 --target=${target_alias} $${srcdiroption} \
18793 --with-build-libsubdir=$(HOST_SUBDIR) \
18794 $(STAGE4_CONFIGURE_FLAGS)
18795 @endif ld-bootstrap
18797 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18798 maybe-configure-stageprofile-ld:
18799 @if ld-bootstrap
18800 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18801 configure-stageprofile-ld:
18802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18804 @r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18807 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18808 $(HOST_EXPORTS) \
18809 $(POSTSTAGE1_HOST_EXPORTS) \
18810 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18812 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18813 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18815 cd $(HOST_SUBDIR)/ld || exit 1; \
18816 case $(srcdir) in \
18817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18818 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18820 esac; \
18821 srcdiroption="--srcdir=$${topdir}/ld"; \
18822 libsrcdir="$$s/ld"; \
18823 $(SHELL) $${libsrcdir}/configure \
18824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18825 --target=${target_alias} $${srcdiroption} \
18826 --with-build-libsubdir=$(HOST_SUBDIR) \
18827 $(STAGEprofile_CONFIGURE_FLAGS)
18828 @endif ld-bootstrap
18830 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18831 maybe-configure-stagefeedback-ld:
18832 @if ld-bootstrap
18833 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18834 configure-stagefeedback-ld:
18835 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18837 @r=`${PWD_COMMAND}`; export r; \
18838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18839 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18840 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18841 $(HOST_EXPORTS) \
18842 $(POSTSTAGE1_HOST_EXPORTS) \
18843 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18844 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18845 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18846 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18848 cd $(HOST_SUBDIR)/ld || exit 1; \
18849 case $(srcdir) in \
18850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18851 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18853 esac; \
18854 srcdiroption="--srcdir=$${topdir}/ld"; \
18855 libsrcdir="$$s/ld"; \
18856 $(SHELL) $${libsrcdir}/configure \
18857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18858 --target=${target_alias} $${srcdiroption} \
18859 --with-build-libsubdir=$(HOST_SUBDIR) \
18860 $(STAGEfeedback_CONFIGURE_FLAGS)
18861 @endif ld-bootstrap
18867 .PHONY: all-ld maybe-all-ld
18868 maybe-all-ld:
18869 @if gcc-bootstrap
18870 all-ld: stage_current
18871 @endif gcc-bootstrap
18872 @if ld
18873 TARGET-ld=all
18874 maybe-all-ld: all-ld
18875 all-ld: configure-ld
18876 @r=`${PWD_COMMAND}`; export r; \
18877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18878 $(HOST_EXPORTS) \
18879 (cd $(HOST_SUBDIR)/ld && \
18880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18881 $(TARGET-ld))
18882 @endif ld
18886 .PHONY: all-stage1-ld maybe-all-stage1-ld
18887 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18888 maybe-all-stage1-ld:
18889 maybe-clean-stage1-ld:
18890 @if ld-bootstrap
18891 maybe-all-stage1-ld: all-stage1-ld
18892 all-stage1: all-stage1-ld
18893 TARGET-stage1-ld = $(TARGET-ld)
18894 all-stage1-ld: configure-stage1-ld
18895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18896 @r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 TFLAGS="$(STAGE1_TFLAGS)"; \
18899 $(HOST_EXPORTS) \
18900 cd $(HOST_SUBDIR)/ld && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18902 CFLAGS="$(STAGE1_CFLAGS)" \
18903 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18904 LIBCFLAGS="$(LIBCFLAGS)" \
18905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18908 $(EXTRA_HOST_FLAGS) \
18909 TFLAGS="$(STAGE1_TFLAGS)" \
18910 $(TARGET-stage1-ld)
18912 maybe-clean-stage1-ld: clean-stage1-ld
18913 clean-stage1: clean-stage1-ld
18914 clean-stage1-ld:
18915 @if [ $(current_stage) = stage1 ]; then \
18916 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18917 else \
18918 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18919 $(MAKE) stage1-start; \
18920 fi; \
18921 cd $(HOST_SUBDIR)/ld && \
18922 $(MAKE) $(EXTRA_HOST_FLAGS) \
18923 clean
18924 @endif ld-bootstrap
18927 .PHONY: all-stage2-ld maybe-all-stage2-ld
18928 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18929 maybe-all-stage2-ld:
18930 maybe-clean-stage2-ld:
18931 @if ld-bootstrap
18932 maybe-all-stage2-ld: all-stage2-ld
18933 all-stage2: all-stage2-ld
18934 TARGET-stage2-ld = $(TARGET-ld)
18935 all-stage2-ld: configure-stage2-ld
18936 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18937 @r=`${PWD_COMMAND}`; export r; \
18938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939 TFLAGS="$(STAGE2_TFLAGS)"; \
18940 $(HOST_EXPORTS) \
18941 $(POSTSTAGE1_HOST_EXPORTS) \
18942 cd $(HOST_SUBDIR)/ld && \
18943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18944 CFLAGS="$(STAGE2_CFLAGS)" \
18945 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18946 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18950 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18951 TFLAGS="$(STAGE2_TFLAGS)" \
18952 $(TARGET-stage2-ld)
18954 maybe-clean-stage2-ld: clean-stage2-ld
18955 clean-stage2: clean-stage2-ld
18956 clean-stage2-ld:
18957 @if [ $(current_stage) = stage2 ]; then \
18958 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18959 else \
18960 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18961 $(MAKE) stage2-start; \
18962 fi; \
18963 cd $(HOST_SUBDIR)/ld && \
18964 $(MAKE) $(EXTRA_HOST_FLAGS) \
18965 $(POSTSTAGE1_FLAGS_TO_PASS) \
18966 clean
18967 @endif ld-bootstrap
18970 .PHONY: all-stage3-ld maybe-all-stage3-ld
18971 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18972 maybe-all-stage3-ld:
18973 maybe-clean-stage3-ld:
18974 @if ld-bootstrap
18975 maybe-all-stage3-ld: all-stage3-ld
18976 all-stage3: all-stage3-ld
18977 TARGET-stage3-ld = $(TARGET-ld)
18978 all-stage3-ld: configure-stage3-ld
18979 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18980 @r=`${PWD_COMMAND}`; export r; \
18981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18982 TFLAGS="$(STAGE3_TFLAGS)"; \
18983 $(HOST_EXPORTS) \
18984 $(POSTSTAGE1_HOST_EXPORTS) \
18985 cd $(HOST_SUBDIR)/ld && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18987 CFLAGS="$(STAGE3_CFLAGS)" \
18988 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18989 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18993 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18994 TFLAGS="$(STAGE3_TFLAGS)" \
18995 $(TARGET-stage3-ld)
18997 maybe-clean-stage3-ld: clean-stage3-ld
18998 clean-stage3: clean-stage3-ld
18999 clean-stage3-ld:
19000 @if [ $(current_stage) = stage3 ]; then \
19001 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19002 else \
19003 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19004 $(MAKE) stage3-start; \
19005 fi; \
19006 cd $(HOST_SUBDIR)/ld && \
19007 $(MAKE) $(EXTRA_HOST_FLAGS) \
19008 $(POSTSTAGE1_FLAGS_TO_PASS) \
19009 clean
19010 @endif ld-bootstrap
19013 .PHONY: all-stage4-ld maybe-all-stage4-ld
19014 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19015 maybe-all-stage4-ld:
19016 maybe-clean-stage4-ld:
19017 @if ld-bootstrap
19018 maybe-all-stage4-ld: all-stage4-ld
19019 all-stage4: all-stage4-ld
19020 TARGET-stage4-ld = $(TARGET-ld)
19021 all-stage4-ld: configure-stage4-ld
19022 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19023 @r=`${PWD_COMMAND}`; export r; \
19024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19025 TFLAGS="$(STAGE4_TFLAGS)"; \
19026 $(HOST_EXPORTS) \
19027 $(POSTSTAGE1_HOST_EXPORTS) \
19028 cd $(HOST_SUBDIR)/ld && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19030 CFLAGS="$(STAGE4_CFLAGS)" \
19031 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19032 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19037 TFLAGS="$(STAGE4_TFLAGS)" \
19038 $(TARGET-stage4-ld)
19040 maybe-clean-stage4-ld: clean-stage4-ld
19041 clean-stage4: clean-stage4-ld
19042 clean-stage4-ld:
19043 @if [ $(current_stage) = stage4 ]; then \
19044 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19045 else \
19046 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19047 $(MAKE) stage4-start; \
19048 fi; \
19049 cd $(HOST_SUBDIR)/ld && \
19050 $(MAKE) $(EXTRA_HOST_FLAGS) \
19051 $(POSTSTAGE1_FLAGS_TO_PASS) \
19052 clean
19053 @endif ld-bootstrap
19056 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19057 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19058 maybe-all-stageprofile-ld:
19059 maybe-clean-stageprofile-ld:
19060 @if ld-bootstrap
19061 maybe-all-stageprofile-ld: all-stageprofile-ld
19062 all-stageprofile: all-stageprofile-ld
19063 TARGET-stageprofile-ld = $(TARGET-ld)
19064 all-stageprofile-ld: configure-stageprofile-ld
19065 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19066 @r=`${PWD_COMMAND}`; export r; \
19067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19068 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19069 $(HOST_EXPORTS) \
19070 $(POSTSTAGE1_HOST_EXPORTS) \
19071 cd $(HOST_SUBDIR)/ld && \
19072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19073 CFLAGS="$(STAGEprofile_CFLAGS)" \
19074 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19075 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19080 TFLAGS="$(STAGEprofile_TFLAGS)" \
19081 $(TARGET-stageprofile-ld)
19083 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19084 clean-stageprofile: clean-stageprofile-ld
19085 clean-stageprofile-ld:
19086 @if [ $(current_stage) = stageprofile ]; then \
19087 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19088 else \
19089 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19090 $(MAKE) stageprofile-start; \
19091 fi; \
19092 cd $(HOST_SUBDIR)/ld && \
19093 $(MAKE) $(EXTRA_HOST_FLAGS) \
19094 $(POSTSTAGE1_FLAGS_TO_PASS) \
19095 clean
19096 @endif ld-bootstrap
19099 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19100 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19101 maybe-all-stagefeedback-ld:
19102 maybe-clean-stagefeedback-ld:
19103 @if ld-bootstrap
19104 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19105 all-stagefeedback: all-stagefeedback-ld
19106 TARGET-stagefeedback-ld = $(TARGET-ld)
19107 all-stagefeedback-ld: configure-stagefeedback-ld
19108 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19109 @r=`${PWD_COMMAND}`; export r; \
19110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19111 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19112 $(HOST_EXPORTS) \
19113 $(POSTSTAGE1_HOST_EXPORTS) \
19114 cd $(HOST_SUBDIR)/ld && \
19115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19116 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19117 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19118 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19123 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19124 $(TARGET-stagefeedback-ld)
19126 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19127 clean-stagefeedback: clean-stagefeedback-ld
19128 clean-stagefeedback-ld:
19129 @if [ $(current_stage) = stagefeedback ]; then \
19130 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19131 else \
19132 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19133 $(MAKE) stagefeedback-start; \
19134 fi; \
19135 cd $(HOST_SUBDIR)/ld && \
19136 $(MAKE) $(EXTRA_HOST_FLAGS) \
19137 $(POSTSTAGE1_FLAGS_TO_PASS) \
19138 clean
19139 @endif ld-bootstrap
19145 .PHONY: check-ld maybe-check-ld
19146 maybe-check-ld:
19147 @if ld
19148 maybe-check-ld: check-ld
19150 check-ld:
19151 @: $(MAKE); $(unstage)
19152 @r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 $(HOST_EXPORTS) \
19155 (cd $(HOST_SUBDIR)/ld && \
19156 $(MAKE) $(FLAGS_TO_PASS) check)
19158 @endif ld
19160 .PHONY: install-ld maybe-install-ld
19161 maybe-install-ld:
19162 @if ld
19163 maybe-install-ld: install-ld
19165 install-ld: installdirs
19166 @: $(MAKE); $(unstage)
19167 @r=`${PWD_COMMAND}`; export r; \
19168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 $(HOST_EXPORTS) \
19170 (cd $(HOST_SUBDIR)/ld && \
19171 $(MAKE) $(FLAGS_TO_PASS) install)
19173 @endif ld
19175 .PHONY: install-strip-ld maybe-install-strip-ld
19176 maybe-install-strip-ld:
19177 @if ld
19178 maybe-install-strip-ld: install-strip-ld
19180 install-strip-ld: installdirs
19181 @: $(MAKE); $(unstage)
19182 @r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 $(HOST_EXPORTS) \
19185 (cd $(HOST_SUBDIR)/ld && \
19186 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19188 @endif ld
19190 # Other targets (info, dvi, pdf, etc.)
19192 .PHONY: maybe-info-ld info-ld
19193 maybe-info-ld:
19194 @if ld
19195 maybe-info-ld: info-ld
19197 info-ld: \
19198 configure-ld
19199 @[ -f ./ld/Makefile ] || exit 0; \
19200 r=`${PWD_COMMAND}`; export r; \
19201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 $(HOST_EXPORTS) \
19203 for flag in $(EXTRA_HOST_FLAGS) ; do \
19204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19205 done; \
19206 echo "Doing info in ld" ; \
19207 (cd $(HOST_SUBDIR)/ld && \
19208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19210 "RANLIB=$${RANLIB}" \
19211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19212 info) \
19213 || exit 1
19215 @endif ld
19217 .PHONY: maybe-dvi-ld dvi-ld
19218 maybe-dvi-ld:
19219 @if ld
19220 maybe-dvi-ld: dvi-ld
19222 dvi-ld: \
19223 configure-ld
19224 @[ -f ./ld/Makefile ] || exit 0; \
19225 r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 $(HOST_EXPORTS) \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 done; \
19231 echo "Doing dvi in ld" ; \
19232 (cd $(HOST_SUBDIR)/ld && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19237 dvi) \
19238 || exit 1
19240 @endif ld
19242 .PHONY: maybe-pdf-ld pdf-ld
19243 maybe-pdf-ld:
19244 @if ld
19245 maybe-pdf-ld: pdf-ld
19247 pdf-ld: \
19248 configure-ld
19249 @[ -f ./ld/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(HOST_EXPORTS) \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19255 done; \
19256 echo "Doing pdf in ld" ; \
19257 (cd $(HOST_SUBDIR)/ld && \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19262 pdf) \
19263 || exit 1
19265 @endif ld
19267 .PHONY: maybe-html-ld html-ld
19268 maybe-html-ld:
19269 @if ld
19270 maybe-html-ld: html-ld
19272 html-ld: \
19273 configure-ld
19274 @[ -f ./ld/Makefile ] || exit 0; \
19275 r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(HOST_EXPORTS) \
19278 for flag in $(EXTRA_HOST_FLAGS) ; do \
19279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19280 done; \
19281 echo "Doing html in ld" ; \
19282 (cd $(HOST_SUBDIR)/ld && \
19283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19285 "RANLIB=$${RANLIB}" \
19286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19287 html) \
19288 || exit 1
19290 @endif ld
19292 .PHONY: maybe-TAGS-ld TAGS-ld
19293 maybe-TAGS-ld:
19294 @if ld
19295 maybe-TAGS-ld: TAGS-ld
19297 TAGS-ld: \
19298 configure-ld
19299 @[ -f ./ld/Makefile ] || exit 0; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(HOST_EXPORTS) \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19305 done; \
19306 echo "Doing TAGS in ld" ; \
19307 (cd $(HOST_SUBDIR)/ld && \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19312 TAGS) \
19313 || exit 1
19315 @endif ld
19317 .PHONY: maybe-install-info-ld install-info-ld
19318 maybe-install-info-ld:
19319 @if ld
19320 maybe-install-info-ld: install-info-ld
19322 install-info-ld: \
19323 configure-ld \
19324 info-ld
19325 @[ -f ./ld/Makefile ] || exit 0; \
19326 r=`${PWD_COMMAND}`; export r; \
19327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19328 $(HOST_EXPORTS) \
19329 for flag in $(EXTRA_HOST_FLAGS) ; do \
19330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19331 done; \
19332 echo "Doing install-info in ld" ; \
19333 (cd $(HOST_SUBDIR)/ld && \
19334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19336 "RANLIB=$${RANLIB}" \
19337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19338 install-info) \
19339 || exit 1
19341 @endif ld
19343 .PHONY: maybe-install-pdf-ld install-pdf-ld
19344 maybe-install-pdf-ld:
19345 @if ld
19346 maybe-install-pdf-ld: install-pdf-ld
19348 install-pdf-ld: \
19349 configure-ld \
19350 pdf-ld
19351 @[ -f ./ld/Makefile ] || exit 0; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 $(HOST_EXPORTS) \
19355 for flag in $(EXTRA_HOST_FLAGS) ; do \
19356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19357 done; \
19358 echo "Doing install-pdf in ld" ; \
19359 (cd $(HOST_SUBDIR)/ld && \
19360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362 "RANLIB=$${RANLIB}" \
19363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19364 install-pdf) \
19365 || exit 1
19367 @endif ld
19369 .PHONY: maybe-install-html-ld install-html-ld
19370 maybe-install-html-ld:
19371 @if ld
19372 maybe-install-html-ld: install-html-ld
19374 install-html-ld: \
19375 configure-ld \
19376 html-ld
19377 @[ -f ./ld/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(HOST_EXPORTS) \
19381 for flag in $(EXTRA_HOST_FLAGS) ; do \
19382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19383 done; \
19384 echo "Doing install-html in ld" ; \
19385 (cd $(HOST_SUBDIR)/ld && \
19386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19388 "RANLIB=$${RANLIB}" \
19389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19390 install-html) \
19391 || exit 1
19393 @endif ld
19395 .PHONY: maybe-installcheck-ld installcheck-ld
19396 maybe-installcheck-ld:
19397 @if ld
19398 maybe-installcheck-ld: installcheck-ld
19400 installcheck-ld: \
19401 configure-ld
19402 @[ -f ./ld/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(HOST_EXPORTS) \
19406 for flag in $(EXTRA_HOST_FLAGS) ; do \
19407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19408 done; \
19409 echo "Doing installcheck in ld" ; \
19410 (cd $(HOST_SUBDIR)/ld && \
19411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19413 "RANLIB=$${RANLIB}" \
19414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19415 installcheck) \
19416 || exit 1
19418 @endif ld
19420 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19421 maybe-mostlyclean-ld:
19422 @if ld
19423 maybe-mostlyclean-ld: mostlyclean-ld
19425 mostlyclean-ld:
19426 @[ -f ./ld/Makefile ] || exit 0; \
19427 r=`${PWD_COMMAND}`; export r; \
19428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19429 $(HOST_EXPORTS) \
19430 for flag in $(EXTRA_HOST_FLAGS) ; do \
19431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19432 done; \
19433 echo "Doing mostlyclean in ld" ; \
19434 (cd $(HOST_SUBDIR)/ld && \
19435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19437 "RANLIB=$${RANLIB}" \
19438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19439 mostlyclean) \
19440 || exit 1
19442 @endif ld
19444 .PHONY: maybe-clean-ld clean-ld
19445 maybe-clean-ld:
19446 @if ld
19447 maybe-clean-ld: clean-ld
19449 clean-ld:
19450 @[ -f ./ld/Makefile ] || exit 0; \
19451 r=`${PWD_COMMAND}`; export r; \
19452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 $(HOST_EXPORTS) \
19454 for flag in $(EXTRA_HOST_FLAGS) ; do \
19455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19456 done; \
19457 echo "Doing clean in ld" ; \
19458 (cd $(HOST_SUBDIR)/ld && \
19459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19461 "RANLIB=$${RANLIB}" \
19462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19463 clean) \
19464 || exit 1
19466 @endif ld
19468 .PHONY: maybe-distclean-ld distclean-ld
19469 maybe-distclean-ld:
19470 @if ld
19471 maybe-distclean-ld: distclean-ld
19473 distclean-ld:
19474 @[ -f ./ld/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(HOST_EXPORTS) \
19478 for flag in $(EXTRA_HOST_FLAGS) ; do \
19479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19480 done; \
19481 echo "Doing distclean in ld" ; \
19482 (cd $(HOST_SUBDIR)/ld && \
19483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19485 "RANLIB=$${RANLIB}" \
19486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19487 distclean) \
19488 || exit 1
19490 @endif ld
19492 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19493 maybe-maintainer-clean-ld:
19494 @if ld
19495 maybe-maintainer-clean-ld: maintainer-clean-ld
19497 maintainer-clean-ld:
19498 @[ -f ./ld/Makefile ] || exit 0; \
19499 r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(HOST_EXPORTS) \
19502 for flag in $(EXTRA_HOST_FLAGS) ; do \
19503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19504 done; \
19505 echo "Doing maintainer-clean in ld" ; \
19506 (cd $(HOST_SUBDIR)/ld && \
19507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19509 "RANLIB=$${RANLIB}" \
19510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19511 maintainer-clean) \
19512 || exit 1
19514 @endif ld
19518 .PHONY: configure-libcpp maybe-configure-libcpp
19519 maybe-configure-libcpp:
19520 @if gcc-bootstrap
19521 configure-libcpp: stage_current
19522 @endif gcc-bootstrap
19523 @if libcpp
19524 maybe-configure-libcpp: configure-libcpp
19525 configure-libcpp:
19526 @r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19530 $(HOST_EXPORTS) \
19531 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19532 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19533 case $(srcdir) in \
19534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19535 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19537 esac; \
19538 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19539 libsrcdir="$$s/libcpp"; \
19540 $(SHELL) $${libsrcdir}/configure \
19541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19542 --target=${target_alias} $${srcdiroption} \
19543 || exit 1
19544 @endif libcpp
19548 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19549 maybe-configure-stage1-libcpp:
19550 @if libcpp-bootstrap
19551 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19552 configure-stage1-libcpp:
19553 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19555 @r=`${PWD_COMMAND}`; export r; \
19556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19557 TFLAGS="$(STAGE1_TFLAGS)"; \
19558 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19559 $(HOST_EXPORTS) \
19560 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19561 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19562 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19563 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19565 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19566 case $(srcdir) in \
19567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19568 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19570 esac; \
19571 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19572 libsrcdir="$$s/libcpp"; \
19573 $(SHELL) $${libsrcdir}/configure \
19574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19575 --target=${target_alias} $${srcdiroption} \
19576 $(STAGE1_CONFIGURE_FLAGS)
19577 @endif libcpp-bootstrap
19579 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19580 maybe-configure-stage2-libcpp:
19581 @if libcpp-bootstrap
19582 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19583 configure-stage2-libcpp:
19584 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19586 @r=`${PWD_COMMAND}`; export r; \
19587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19588 TFLAGS="$(STAGE2_TFLAGS)"; \
19589 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19590 $(HOST_EXPORTS) \
19591 $(POSTSTAGE1_HOST_EXPORTS) \
19592 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19593 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19594 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19595 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19597 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19598 case $(srcdir) in \
19599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19600 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19602 esac; \
19603 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19604 libsrcdir="$$s/libcpp"; \
19605 $(SHELL) $${libsrcdir}/configure \
19606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19607 --target=${target_alias} $${srcdiroption} \
19608 --with-build-libsubdir=$(HOST_SUBDIR) \
19609 $(STAGE2_CONFIGURE_FLAGS)
19610 @endif libcpp-bootstrap
19612 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19613 maybe-configure-stage3-libcpp:
19614 @if libcpp-bootstrap
19615 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19616 configure-stage3-libcpp:
19617 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19619 @r=`${PWD_COMMAND}`; export r; \
19620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621 TFLAGS="$(STAGE3_TFLAGS)"; \
19622 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19623 $(HOST_EXPORTS) \
19624 $(POSTSTAGE1_HOST_EXPORTS) \
19625 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19626 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19627 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19628 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19630 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19631 case $(srcdir) in \
19632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19633 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19635 esac; \
19636 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19637 libsrcdir="$$s/libcpp"; \
19638 $(SHELL) $${libsrcdir}/configure \
19639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19640 --target=${target_alias} $${srcdiroption} \
19641 --with-build-libsubdir=$(HOST_SUBDIR) \
19642 $(STAGE3_CONFIGURE_FLAGS)
19643 @endif libcpp-bootstrap
19645 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19646 maybe-configure-stage4-libcpp:
19647 @if libcpp-bootstrap
19648 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19649 configure-stage4-libcpp:
19650 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19652 @r=`${PWD_COMMAND}`; export r; \
19653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654 TFLAGS="$(STAGE4_TFLAGS)"; \
19655 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19656 $(HOST_EXPORTS) \
19657 $(POSTSTAGE1_HOST_EXPORTS) \
19658 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19659 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19660 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19661 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19663 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19664 case $(srcdir) in \
19665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19666 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19668 esac; \
19669 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19670 libsrcdir="$$s/libcpp"; \
19671 $(SHELL) $${libsrcdir}/configure \
19672 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19673 --target=${target_alias} $${srcdiroption} \
19674 --with-build-libsubdir=$(HOST_SUBDIR) \
19675 $(STAGE4_CONFIGURE_FLAGS)
19676 @endif libcpp-bootstrap
19678 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19679 maybe-configure-stageprofile-libcpp:
19680 @if libcpp-bootstrap
19681 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19682 configure-stageprofile-libcpp:
19683 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19685 @r=`${PWD_COMMAND}`; export r; \
19686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19687 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19688 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19689 $(HOST_EXPORTS) \
19690 $(POSTSTAGE1_HOST_EXPORTS) \
19691 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19692 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19693 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19694 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19696 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19697 case $(srcdir) in \
19698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19699 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19701 esac; \
19702 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19703 libsrcdir="$$s/libcpp"; \
19704 $(SHELL) $${libsrcdir}/configure \
19705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19706 --target=${target_alias} $${srcdiroption} \
19707 --with-build-libsubdir=$(HOST_SUBDIR) \
19708 $(STAGEprofile_CONFIGURE_FLAGS)
19709 @endif libcpp-bootstrap
19711 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19712 maybe-configure-stagefeedback-libcpp:
19713 @if libcpp-bootstrap
19714 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19715 configure-stagefeedback-libcpp:
19716 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19718 @r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19721 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19722 $(HOST_EXPORTS) \
19723 $(POSTSTAGE1_HOST_EXPORTS) \
19724 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19725 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19726 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19727 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19729 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19730 case $(srcdir) in \
19731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19732 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19734 esac; \
19735 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19736 libsrcdir="$$s/libcpp"; \
19737 $(SHELL) $${libsrcdir}/configure \
19738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19739 --target=${target_alias} $${srcdiroption} \
19740 --with-build-libsubdir=$(HOST_SUBDIR) \
19741 $(STAGEfeedback_CONFIGURE_FLAGS)
19742 @endif libcpp-bootstrap
19748 .PHONY: all-libcpp maybe-all-libcpp
19749 maybe-all-libcpp:
19750 @if gcc-bootstrap
19751 all-libcpp: stage_current
19752 @endif gcc-bootstrap
19753 @if libcpp
19754 TARGET-libcpp=all
19755 maybe-all-libcpp: all-libcpp
19756 all-libcpp: configure-libcpp
19757 @r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19759 $(HOST_EXPORTS) \
19760 (cd $(HOST_SUBDIR)/libcpp && \
19761 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19762 $(TARGET-libcpp))
19763 @endif libcpp
19767 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19768 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19769 maybe-all-stage1-libcpp:
19770 maybe-clean-stage1-libcpp:
19771 @if libcpp-bootstrap
19772 maybe-all-stage1-libcpp: all-stage1-libcpp
19773 all-stage1: all-stage1-libcpp
19774 TARGET-stage1-libcpp = $(TARGET-libcpp)
19775 all-stage1-libcpp: configure-stage1-libcpp
19776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19777 @r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19779 TFLAGS="$(STAGE1_TFLAGS)"; \
19780 $(HOST_EXPORTS) \
19781 cd $(HOST_SUBDIR)/libcpp && \
19782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19783 CFLAGS="$(STAGE1_CFLAGS)" \
19784 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19785 LIBCFLAGS="$(LIBCFLAGS)" \
19786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19789 $(EXTRA_HOST_FLAGS) \
19790 TFLAGS="$(STAGE1_TFLAGS)" \
19791 $(TARGET-stage1-libcpp)
19793 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19794 clean-stage1: clean-stage1-libcpp
19795 clean-stage1-libcpp:
19796 @if [ $(current_stage) = stage1 ]; then \
19797 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19798 else \
19799 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19800 $(MAKE) stage1-start; \
19801 fi; \
19802 cd $(HOST_SUBDIR)/libcpp && \
19803 $(MAKE) $(EXTRA_HOST_FLAGS) \
19804 clean
19805 @endif libcpp-bootstrap
19808 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19809 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19810 maybe-all-stage2-libcpp:
19811 maybe-clean-stage2-libcpp:
19812 @if libcpp-bootstrap
19813 maybe-all-stage2-libcpp: all-stage2-libcpp
19814 all-stage2: all-stage2-libcpp
19815 TARGET-stage2-libcpp = $(TARGET-libcpp)
19816 all-stage2-libcpp: configure-stage2-libcpp
19817 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19818 @r=`${PWD_COMMAND}`; export r; \
19819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19820 TFLAGS="$(STAGE2_TFLAGS)"; \
19821 $(HOST_EXPORTS) \
19822 $(POSTSTAGE1_HOST_EXPORTS) \
19823 cd $(HOST_SUBDIR)/libcpp && \
19824 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19825 CFLAGS="$(STAGE2_CFLAGS)" \
19826 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19827 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19828 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19829 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19830 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19831 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19832 TFLAGS="$(STAGE2_TFLAGS)" \
19833 $(TARGET-stage2-libcpp)
19835 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19836 clean-stage2: clean-stage2-libcpp
19837 clean-stage2-libcpp:
19838 @if [ $(current_stage) = stage2 ]; then \
19839 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19840 else \
19841 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19842 $(MAKE) stage2-start; \
19843 fi; \
19844 cd $(HOST_SUBDIR)/libcpp && \
19845 $(MAKE) $(EXTRA_HOST_FLAGS) \
19846 $(POSTSTAGE1_FLAGS_TO_PASS) \
19847 clean
19848 @endif libcpp-bootstrap
19851 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19852 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19853 maybe-all-stage3-libcpp:
19854 maybe-clean-stage3-libcpp:
19855 @if libcpp-bootstrap
19856 maybe-all-stage3-libcpp: all-stage3-libcpp
19857 all-stage3: all-stage3-libcpp
19858 TARGET-stage3-libcpp = $(TARGET-libcpp)
19859 all-stage3-libcpp: configure-stage3-libcpp
19860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19861 @r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 TFLAGS="$(STAGE3_TFLAGS)"; \
19864 $(HOST_EXPORTS) \
19865 $(POSTSTAGE1_HOST_EXPORTS) \
19866 cd $(HOST_SUBDIR)/libcpp && \
19867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19868 CFLAGS="$(STAGE3_CFLAGS)" \
19869 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19870 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19875 TFLAGS="$(STAGE3_TFLAGS)" \
19876 $(TARGET-stage3-libcpp)
19878 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19879 clean-stage3: clean-stage3-libcpp
19880 clean-stage3-libcpp:
19881 @if [ $(current_stage) = stage3 ]; then \
19882 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19883 else \
19884 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19885 $(MAKE) stage3-start; \
19886 fi; \
19887 cd $(HOST_SUBDIR)/libcpp && \
19888 $(MAKE) $(EXTRA_HOST_FLAGS) \
19889 $(POSTSTAGE1_FLAGS_TO_PASS) \
19890 clean
19891 @endif libcpp-bootstrap
19894 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19895 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19896 maybe-all-stage4-libcpp:
19897 maybe-clean-stage4-libcpp:
19898 @if libcpp-bootstrap
19899 maybe-all-stage4-libcpp: all-stage4-libcpp
19900 all-stage4: all-stage4-libcpp
19901 TARGET-stage4-libcpp = $(TARGET-libcpp)
19902 all-stage4-libcpp: configure-stage4-libcpp
19903 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19904 @r=`${PWD_COMMAND}`; export r; \
19905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 TFLAGS="$(STAGE4_TFLAGS)"; \
19907 $(HOST_EXPORTS) \
19908 $(POSTSTAGE1_HOST_EXPORTS) \
19909 cd $(HOST_SUBDIR)/libcpp && \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19911 CFLAGS="$(STAGE4_CFLAGS)" \
19912 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19913 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19918 TFLAGS="$(STAGE4_TFLAGS)" \
19919 $(TARGET-stage4-libcpp)
19921 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19922 clean-stage4: clean-stage4-libcpp
19923 clean-stage4-libcpp:
19924 @if [ $(current_stage) = stage4 ]; then \
19925 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19926 else \
19927 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19928 $(MAKE) stage4-start; \
19929 fi; \
19930 cd $(HOST_SUBDIR)/libcpp && \
19931 $(MAKE) $(EXTRA_HOST_FLAGS) \
19932 $(POSTSTAGE1_FLAGS_TO_PASS) \
19933 clean
19934 @endif libcpp-bootstrap
19937 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19938 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19939 maybe-all-stageprofile-libcpp:
19940 maybe-clean-stageprofile-libcpp:
19941 @if libcpp-bootstrap
19942 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19943 all-stageprofile: all-stageprofile-libcpp
19944 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19945 all-stageprofile-libcpp: configure-stageprofile-libcpp
19946 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19947 @r=`${PWD_COMMAND}`; export r; \
19948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19950 $(HOST_EXPORTS) \
19951 $(POSTSTAGE1_HOST_EXPORTS) \
19952 cd $(HOST_SUBDIR)/libcpp && \
19953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19954 CFLAGS="$(STAGEprofile_CFLAGS)" \
19955 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19956 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19961 TFLAGS="$(STAGEprofile_TFLAGS)" \
19962 $(TARGET-stageprofile-libcpp)
19964 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
19965 clean-stageprofile: clean-stageprofile-libcpp
19966 clean-stageprofile-libcpp:
19967 @if [ $(current_stage) = stageprofile ]; then \
19968 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19969 else \
19970 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
19971 $(MAKE) stageprofile-start; \
19972 fi; \
19973 cd $(HOST_SUBDIR)/libcpp && \
19974 $(MAKE) $(EXTRA_HOST_FLAGS) \
19975 $(POSTSTAGE1_FLAGS_TO_PASS) \
19976 clean
19977 @endif libcpp-bootstrap
19980 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
19981 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
19982 maybe-all-stagefeedback-libcpp:
19983 maybe-clean-stagefeedback-libcpp:
19984 @if libcpp-bootstrap
19985 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
19986 all-stagefeedback: all-stagefeedback-libcpp
19987 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
19988 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
19989 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19990 @r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19993 $(HOST_EXPORTS) \
19994 $(POSTSTAGE1_HOST_EXPORTS) \
19995 cd $(HOST_SUBDIR)/libcpp && \
19996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19997 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19998 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19999 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20004 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20005 $(TARGET-stagefeedback-libcpp)
20007 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20008 clean-stagefeedback: clean-stagefeedback-libcpp
20009 clean-stagefeedback-libcpp:
20010 @if [ $(current_stage) = stagefeedback ]; then \
20011 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20012 else \
20013 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20014 $(MAKE) stagefeedback-start; \
20015 fi; \
20016 cd $(HOST_SUBDIR)/libcpp && \
20017 $(MAKE) $(EXTRA_HOST_FLAGS) \
20018 $(POSTSTAGE1_FLAGS_TO_PASS) \
20019 clean
20020 @endif libcpp-bootstrap
20026 .PHONY: check-libcpp maybe-check-libcpp
20027 maybe-check-libcpp:
20028 @if libcpp
20029 maybe-check-libcpp: check-libcpp
20031 check-libcpp:
20032 @: $(MAKE); $(unstage)
20033 @r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 (cd $(HOST_SUBDIR)/libcpp && \
20037 $(MAKE) $(FLAGS_TO_PASS) check)
20039 @endif libcpp
20041 .PHONY: install-libcpp maybe-install-libcpp
20042 maybe-install-libcpp:
20043 @if libcpp
20044 maybe-install-libcpp: install-libcpp
20046 install-libcpp: installdirs
20047 @: $(MAKE); $(unstage)
20048 @r=`${PWD_COMMAND}`; export r; \
20049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050 $(HOST_EXPORTS) \
20051 (cd $(HOST_SUBDIR)/libcpp && \
20052 $(MAKE) $(FLAGS_TO_PASS) install)
20054 @endif libcpp
20056 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20057 maybe-install-strip-libcpp:
20058 @if libcpp
20059 maybe-install-strip-libcpp: install-strip-libcpp
20061 install-strip-libcpp: installdirs
20062 @: $(MAKE); $(unstage)
20063 @r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 $(HOST_EXPORTS) \
20066 (cd $(HOST_SUBDIR)/libcpp && \
20067 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20069 @endif libcpp
20071 # Other targets (info, dvi, pdf, etc.)
20073 .PHONY: maybe-info-libcpp info-libcpp
20074 maybe-info-libcpp:
20075 @if libcpp
20076 maybe-info-libcpp: info-libcpp
20078 info-libcpp: \
20079 configure-libcpp
20080 @[ -f ./libcpp/Makefile ] || exit 0; \
20081 r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 for flag in $(EXTRA_HOST_FLAGS) ; do \
20085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20086 done; \
20087 echo "Doing info in libcpp" ; \
20088 (cd $(HOST_SUBDIR)/libcpp && \
20089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20091 "RANLIB=$${RANLIB}" \
20092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20093 info) \
20094 || exit 1
20096 @endif libcpp
20098 .PHONY: maybe-dvi-libcpp dvi-libcpp
20099 maybe-dvi-libcpp:
20100 @if libcpp
20101 maybe-dvi-libcpp: dvi-libcpp
20103 dvi-libcpp: \
20104 configure-libcpp
20105 @[ -f ./libcpp/Makefile ] || exit 0; \
20106 r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(HOST_EXPORTS) \
20109 for flag in $(EXTRA_HOST_FLAGS) ; do \
20110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20111 done; \
20112 echo "Doing dvi in libcpp" ; \
20113 (cd $(HOST_SUBDIR)/libcpp && \
20114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20116 "RANLIB=$${RANLIB}" \
20117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20118 dvi) \
20119 || exit 1
20121 @endif libcpp
20123 .PHONY: maybe-pdf-libcpp pdf-libcpp
20124 maybe-pdf-libcpp:
20125 @if libcpp
20126 maybe-pdf-libcpp: pdf-libcpp
20128 pdf-libcpp: \
20129 configure-libcpp
20130 @[ -f ./libcpp/Makefile ] || exit 0; \
20131 r=`${PWD_COMMAND}`; export r; \
20132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20133 $(HOST_EXPORTS) \
20134 for flag in $(EXTRA_HOST_FLAGS) ; do \
20135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20136 done; \
20137 echo "Doing pdf in libcpp" ; \
20138 (cd $(HOST_SUBDIR)/libcpp && \
20139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20141 "RANLIB=$${RANLIB}" \
20142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20143 pdf) \
20144 || exit 1
20146 @endif libcpp
20148 .PHONY: maybe-html-libcpp html-libcpp
20149 maybe-html-libcpp:
20150 @if libcpp
20151 maybe-html-libcpp: html-libcpp
20153 html-libcpp: \
20154 configure-libcpp
20155 @[ -f ./libcpp/Makefile ] || exit 0; \
20156 r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 $(HOST_EXPORTS) \
20159 for flag in $(EXTRA_HOST_FLAGS) ; do \
20160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20161 done; \
20162 echo "Doing html in libcpp" ; \
20163 (cd $(HOST_SUBDIR)/libcpp && \
20164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20166 "RANLIB=$${RANLIB}" \
20167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20168 html) \
20169 || exit 1
20171 @endif libcpp
20173 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20174 maybe-TAGS-libcpp:
20175 @if libcpp
20176 maybe-TAGS-libcpp: TAGS-libcpp
20178 TAGS-libcpp: \
20179 configure-libcpp
20180 @[ -f ./libcpp/Makefile ] || exit 0; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(HOST_EXPORTS) \
20184 for flag in $(EXTRA_HOST_FLAGS) ; do \
20185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20186 done; \
20187 echo "Doing TAGS in libcpp" ; \
20188 (cd $(HOST_SUBDIR)/libcpp && \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191 "RANLIB=$${RANLIB}" \
20192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20193 TAGS) \
20194 || exit 1
20196 @endif libcpp
20198 .PHONY: maybe-install-info-libcpp install-info-libcpp
20199 maybe-install-info-libcpp:
20200 @if libcpp
20201 maybe-install-info-libcpp: install-info-libcpp
20203 install-info-libcpp: \
20204 configure-libcpp \
20205 info-libcpp
20206 @[ -f ./libcpp/Makefile ] || exit 0; \
20207 r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(HOST_EXPORTS) \
20210 for flag in $(EXTRA_HOST_FLAGS) ; do \
20211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20212 done; \
20213 echo "Doing install-info in libcpp" ; \
20214 (cd $(HOST_SUBDIR)/libcpp && \
20215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20217 "RANLIB=$${RANLIB}" \
20218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20219 install-info) \
20220 || exit 1
20222 @endif libcpp
20224 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20225 maybe-install-pdf-libcpp:
20226 @if libcpp
20227 maybe-install-pdf-libcpp: install-pdf-libcpp
20229 install-pdf-libcpp: \
20230 configure-libcpp \
20231 pdf-libcpp
20232 @[ -f ./libcpp/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing install-pdf in libcpp" ; \
20240 (cd $(HOST_SUBDIR)/libcpp && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20245 install-pdf) \
20246 || exit 1
20248 @endif libcpp
20250 .PHONY: maybe-install-html-libcpp install-html-libcpp
20251 maybe-install-html-libcpp:
20252 @if libcpp
20253 maybe-install-html-libcpp: install-html-libcpp
20255 install-html-libcpp: \
20256 configure-libcpp \
20257 html-libcpp
20258 @[ -f ./libcpp/Makefile ] || exit 0; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 for flag in $(EXTRA_HOST_FLAGS) ; do \
20263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20264 done; \
20265 echo "Doing install-html in libcpp" ; \
20266 (cd $(HOST_SUBDIR)/libcpp && \
20267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20269 "RANLIB=$${RANLIB}" \
20270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20271 install-html) \
20272 || exit 1
20274 @endif libcpp
20276 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20277 maybe-installcheck-libcpp:
20278 @if libcpp
20279 maybe-installcheck-libcpp: installcheck-libcpp
20281 installcheck-libcpp: \
20282 configure-libcpp
20283 @[ -f ./libcpp/Makefile ] || exit 0; \
20284 r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 $(HOST_EXPORTS) \
20287 for flag in $(EXTRA_HOST_FLAGS) ; do \
20288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20289 done; \
20290 echo "Doing installcheck in libcpp" ; \
20291 (cd $(HOST_SUBDIR)/libcpp && \
20292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20294 "RANLIB=$${RANLIB}" \
20295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20296 installcheck) \
20297 || exit 1
20299 @endif libcpp
20301 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20302 maybe-mostlyclean-libcpp:
20303 @if libcpp
20304 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20306 mostlyclean-libcpp:
20307 @[ -f ./libcpp/Makefile ] || exit 0; \
20308 r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(HOST_EXPORTS) \
20311 for flag in $(EXTRA_HOST_FLAGS) ; do \
20312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20313 done; \
20314 echo "Doing mostlyclean in libcpp" ; \
20315 (cd $(HOST_SUBDIR)/libcpp && \
20316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20318 "RANLIB=$${RANLIB}" \
20319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20320 mostlyclean) \
20321 || exit 1
20323 @endif libcpp
20325 .PHONY: maybe-clean-libcpp clean-libcpp
20326 maybe-clean-libcpp:
20327 @if libcpp
20328 maybe-clean-libcpp: clean-libcpp
20330 clean-libcpp:
20331 @[ -f ./libcpp/Makefile ] || exit 0; \
20332 r=`${PWD_COMMAND}`; export r; \
20333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20334 $(HOST_EXPORTS) \
20335 for flag in $(EXTRA_HOST_FLAGS) ; do \
20336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20337 done; \
20338 echo "Doing clean in libcpp" ; \
20339 (cd $(HOST_SUBDIR)/libcpp && \
20340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20342 "RANLIB=$${RANLIB}" \
20343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20344 clean) \
20345 || exit 1
20347 @endif libcpp
20349 .PHONY: maybe-distclean-libcpp distclean-libcpp
20350 maybe-distclean-libcpp:
20351 @if libcpp
20352 maybe-distclean-libcpp: distclean-libcpp
20354 distclean-libcpp:
20355 @[ -f ./libcpp/Makefile ] || exit 0; \
20356 r=`${PWD_COMMAND}`; export r; \
20357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20358 $(HOST_EXPORTS) \
20359 for flag in $(EXTRA_HOST_FLAGS) ; do \
20360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20361 done; \
20362 echo "Doing distclean in libcpp" ; \
20363 (cd $(HOST_SUBDIR)/libcpp && \
20364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20366 "RANLIB=$${RANLIB}" \
20367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20368 distclean) \
20369 || exit 1
20371 @endif libcpp
20373 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20374 maybe-maintainer-clean-libcpp:
20375 @if libcpp
20376 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20378 maintainer-clean-libcpp:
20379 @[ -f ./libcpp/Makefile ] || exit 0; \
20380 r=`${PWD_COMMAND}`; export r; \
20381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20382 $(HOST_EXPORTS) \
20383 for flag in $(EXTRA_HOST_FLAGS) ; do \
20384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20385 done; \
20386 echo "Doing maintainer-clean in libcpp" ; \
20387 (cd $(HOST_SUBDIR)/libcpp && \
20388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20390 "RANLIB=$${RANLIB}" \
20391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20392 maintainer-clean) \
20393 || exit 1
20395 @endif libcpp
20399 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20400 maybe-configure-libdecnumber:
20401 @if gcc-bootstrap
20402 configure-libdecnumber: stage_current
20403 @endif gcc-bootstrap
20404 @if libdecnumber
20405 maybe-configure-libdecnumber: configure-libdecnumber
20406 configure-libdecnumber:
20407 @r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20411 $(HOST_EXPORTS) \
20412 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20413 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20414 case $(srcdir) in \
20415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20416 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20418 esac; \
20419 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20420 libsrcdir="$$s/libdecnumber"; \
20421 $(SHELL) $${libsrcdir}/configure \
20422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20423 --target=${target_alias} $${srcdiroption} \
20424 || exit 1
20425 @endif libdecnumber
20429 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20430 maybe-configure-stage1-libdecnumber:
20431 @if libdecnumber-bootstrap
20432 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20433 configure-stage1-libdecnumber:
20434 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20436 @r=`${PWD_COMMAND}`; export r; \
20437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20438 TFLAGS="$(STAGE1_TFLAGS)"; \
20439 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20440 $(HOST_EXPORTS) \
20441 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20442 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20443 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20444 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20446 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20447 case $(srcdir) in \
20448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20449 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20451 esac; \
20452 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20453 libsrcdir="$$s/libdecnumber"; \
20454 $(SHELL) $${libsrcdir}/configure \
20455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20456 --target=${target_alias} $${srcdiroption} \
20457 $(STAGE1_CONFIGURE_FLAGS)
20458 @endif libdecnumber-bootstrap
20460 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20461 maybe-configure-stage2-libdecnumber:
20462 @if libdecnumber-bootstrap
20463 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20464 configure-stage2-libdecnumber:
20465 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20467 @r=`${PWD_COMMAND}`; export r; \
20468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469 TFLAGS="$(STAGE2_TFLAGS)"; \
20470 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20471 $(HOST_EXPORTS) \
20472 $(POSTSTAGE1_HOST_EXPORTS) \
20473 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20474 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20475 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20476 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20478 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20479 case $(srcdir) in \
20480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20481 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20483 esac; \
20484 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20485 libsrcdir="$$s/libdecnumber"; \
20486 $(SHELL) $${libsrcdir}/configure \
20487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20488 --target=${target_alias} $${srcdiroption} \
20489 --with-build-libsubdir=$(HOST_SUBDIR) \
20490 $(STAGE2_CONFIGURE_FLAGS)
20491 @endif libdecnumber-bootstrap
20493 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20494 maybe-configure-stage3-libdecnumber:
20495 @if libdecnumber-bootstrap
20496 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20497 configure-stage3-libdecnumber:
20498 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20500 @r=`${PWD_COMMAND}`; export r; \
20501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20502 TFLAGS="$(STAGE3_TFLAGS)"; \
20503 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20504 $(HOST_EXPORTS) \
20505 $(POSTSTAGE1_HOST_EXPORTS) \
20506 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20507 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20508 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20509 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20511 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20512 case $(srcdir) in \
20513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20514 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20516 esac; \
20517 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20518 libsrcdir="$$s/libdecnumber"; \
20519 $(SHELL) $${libsrcdir}/configure \
20520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20521 --target=${target_alias} $${srcdiroption} \
20522 --with-build-libsubdir=$(HOST_SUBDIR) \
20523 $(STAGE3_CONFIGURE_FLAGS)
20524 @endif libdecnumber-bootstrap
20526 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20527 maybe-configure-stage4-libdecnumber:
20528 @if libdecnumber-bootstrap
20529 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20530 configure-stage4-libdecnumber:
20531 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 TFLAGS="$(STAGE4_TFLAGS)"; \
20536 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20537 $(HOST_EXPORTS) \
20538 $(POSTSTAGE1_HOST_EXPORTS) \
20539 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20540 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20541 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20542 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20544 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20545 case $(srcdir) in \
20546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20547 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20549 esac; \
20550 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20551 libsrcdir="$$s/libdecnumber"; \
20552 $(SHELL) $${libsrcdir}/configure \
20553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20554 --target=${target_alias} $${srcdiroption} \
20555 --with-build-libsubdir=$(HOST_SUBDIR) \
20556 $(STAGE4_CONFIGURE_FLAGS)
20557 @endif libdecnumber-bootstrap
20559 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20560 maybe-configure-stageprofile-libdecnumber:
20561 @if libdecnumber-bootstrap
20562 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20563 configure-stageprofile-libdecnumber:
20564 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20566 @r=`${PWD_COMMAND}`; export r; \
20567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20569 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20570 $(HOST_EXPORTS) \
20571 $(POSTSTAGE1_HOST_EXPORTS) \
20572 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20573 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20574 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20575 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20577 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20578 case $(srcdir) in \
20579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20580 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20582 esac; \
20583 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20584 libsrcdir="$$s/libdecnumber"; \
20585 $(SHELL) $${libsrcdir}/configure \
20586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20587 --target=${target_alias} $${srcdiroption} \
20588 --with-build-libsubdir=$(HOST_SUBDIR) \
20589 $(STAGEprofile_CONFIGURE_FLAGS)
20590 @endif libdecnumber-bootstrap
20592 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20593 maybe-configure-stagefeedback-libdecnumber:
20594 @if libdecnumber-bootstrap
20595 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20596 configure-stagefeedback-libdecnumber:
20597 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20598 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20599 @r=`${PWD_COMMAND}`; export r; \
20600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20601 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20602 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20603 $(HOST_EXPORTS) \
20604 $(POSTSTAGE1_HOST_EXPORTS) \
20605 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20606 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20607 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20608 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20610 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20611 case $(srcdir) in \
20612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20613 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20615 esac; \
20616 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20617 libsrcdir="$$s/libdecnumber"; \
20618 $(SHELL) $${libsrcdir}/configure \
20619 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20620 --target=${target_alias} $${srcdiroption} \
20621 --with-build-libsubdir=$(HOST_SUBDIR) \
20622 $(STAGEfeedback_CONFIGURE_FLAGS)
20623 @endif libdecnumber-bootstrap
20629 .PHONY: all-libdecnumber maybe-all-libdecnumber
20630 maybe-all-libdecnumber:
20631 @if gcc-bootstrap
20632 all-libdecnumber: stage_current
20633 @endif gcc-bootstrap
20634 @if libdecnumber
20635 TARGET-libdecnumber=all
20636 maybe-all-libdecnumber: all-libdecnumber
20637 all-libdecnumber: configure-libdecnumber
20638 @r=`${PWD_COMMAND}`; export r; \
20639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20640 $(HOST_EXPORTS) \
20641 (cd $(HOST_SUBDIR)/libdecnumber && \
20642 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20643 $(TARGET-libdecnumber))
20644 @endif libdecnumber
20648 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20649 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20650 maybe-all-stage1-libdecnumber:
20651 maybe-clean-stage1-libdecnumber:
20652 @if libdecnumber-bootstrap
20653 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20654 all-stage1: all-stage1-libdecnumber
20655 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20656 all-stage1-libdecnumber: configure-stage1-libdecnumber
20657 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20658 @r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660 TFLAGS="$(STAGE1_TFLAGS)"; \
20661 $(HOST_EXPORTS) \
20662 cd $(HOST_SUBDIR)/libdecnumber && \
20663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20664 CFLAGS="$(STAGE1_CFLAGS)" \
20665 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20666 LIBCFLAGS="$(LIBCFLAGS)" \
20667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20670 $(EXTRA_HOST_FLAGS) \
20671 TFLAGS="$(STAGE1_TFLAGS)" \
20672 $(TARGET-stage1-libdecnumber)
20674 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20675 clean-stage1: clean-stage1-libdecnumber
20676 clean-stage1-libdecnumber:
20677 @if [ $(current_stage) = stage1 ]; then \
20678 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20679 else \
20680 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20681 $(MAKE) stage1-start; \
20682 fi; \
20683 cd $(HOST_SUBDIR)/libdecnumber && \
20684 $(MAKE) $(EXTRA_HOST_FLAGS) \
20685 clean
20686 @endif libdecnumber-bootstrap
20689 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20690 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20691 maybe-all-stage2-libdecnumber:
20692 maybe-clean-stage2-libdecnumber:
20693 @if libdecnumber-bootstrap
20694 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20695 all-stage2: all-stage2-libdecnumber
20696 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20697 all-stage2-libdecnumber: configure-stage2-libdecnumber
20698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20699 @r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 TFLAGS="$(STAGE2_TFLAGS)"; \
20702 $(HOST_EXPORTS) \
20703 $(POSTSTAGE1_HOST_EXPORTS) \
20704 cd $(HOST_SUBDIR)/libdecnumber && \
20705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20706 CFLAGS="$(STAGE2_CFLAGS)" \
20707 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20708 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20713 TFLAGS="$(STAGE2_TFLAGS)" \
20714 $(TARGET-stage2-libdecnumber)
20716 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20717 clean-stage2: clean-stage2-libdecnumber
20718 clean-stage2-libdecnumber:
20719 @if [ $(current_stage) = stage2 ]; then \
20720 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20721 else \
20722 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20723 $(MAKE) stage2-start; \
20724 fi; \
20725 cd $(HOST_SUBDIR)/libdecnumber && \
20726 $(MAKE) $(EXTRA_HOST_FLAGS) \
20727 $(POSTSTAGE1_FLAGS_TO_PASS) \
20728 clean
20729 @endif libdecnumber-bootstrap
20732 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20733 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20734 maybe-all-stage3-libdecnumber:
20735 maybe-clean-stage3-libdecnumber:
20736 @if libdecnumber-bootstrap
20737 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20738 all-stage3: all-stage3-libdecnumber
20739 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20740 all-stage3-libdecnumber: configure-stage3-libdecnumber
20741 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20742 @r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744 TFLAGS="$(STAGE3_TFLAGS)"; \
20745 $(HOST_EXPORTS) \
20746 $(POSTSTAGE1_HOST_EXPORTS) \
20747 cd $(HOST_SUBDIR)/libdecnumber && \
20748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20749 CFLAGS="$(STAGE3_CFLAGS)" \
20750 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20751 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20756 TFLAGS="$(STAGE3_TFLAGS)" \
20757 $(TARGET-stage3-libdecnumber)
20759 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20760 clean-stage3: clean-stage3-libdecnumber
20761 clean-stage3-libdecnumber:
20762 @if [ $(current_stage) = stage3 ]; then \
20763 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20764 else \
20765 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20766 $(MAKE) stage3-start; \
20767 fi; \
20768 cd $(HOST_SUBDIR)/libdecnumber && \
20769 $(MAKE) $(EXTRA_HOST_FLAGS) \
20770 $(POSTSTAGE1_FLAGS_TO_PASS) \
20771 clean
20772 @endif libdecnumber-bootstrap
20775 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20776 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20777 maybe-all-stage4-libdecnumber:
20778 maybe-clean-stage4-libdecnumber:
20779 @if libdecnumber-bootstrap
20780 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20781 all-stage4: all-stage4-libdecnumber
20782 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20783 all-stage4-libdecnumber: configure-stage4-libdecnumber
20784 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20785 @r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 TFLAGS="$(STAGE4_TFLAGS)"; \
20788 $(HOST_EXPORTS) \
20789 $(POSTSTAGE1_HOST_EXPORTS) \
20790 cd $(HOST_SUBDIR)/libdecnumber && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20792 CFLAGS="$(STAGE4_CFLAGS)" \
20793 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20794 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20799 TFLAGS="$(STAGE4_TFLAGS)" \
20800 $(TARGET-stage4-libdecnumber)
20802 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20803 clean-stage4: clean-stage4-libdecnumber
20804 clean-stage4-libdecnumber:
20805 @if [ $(current_stage) = stage4 ]; then \
20806 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20807 else \
20808 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20809 $(MAKE) stage4-start; \
20810 fi; \
20811 cd $(HOST_SUBDIR)/libdecnumber && \
20812 $(MAKE) $(EXTRA_HOST_FLAGS) \
20813 $(POSTSTAGE1_FLAGS_TO_PASS) \
20814 clean
20815 @endif libdecnumber-bootstrap
20818 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20819 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20820 maybe-all-stageprofile-libdecnumber:
20821 maybe-clean-stageprofile-libdecnumber:
20822 @if libdecnumber-bootstrap
20823 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20824 all-stageprofile: all-stageprofile-libdecnumber
20825 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20826 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20827 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20828 @r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20831 $(HOST_EXPORTS) \
20832 $(POSTSTAGE1_HOST_EXPORTS) \
20833 cd $(HOST_SUBDIR)/libdecnumber && \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20835 CFLAGS="$(STAGEprofile_CFLAGS)" \
20836 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20837 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20842 TFLAGS="$(STAGEprofile_TFLAGS)" \
20843 $(TARGET-stageprofile-libdecnumber)
20845 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20846 clean-stageprofile: clean-stageprofile-libdecnumber
20847 clean-stageprofile-libdecnumber:
20848 @if [ $(current_stage) = stageprofile ]; then \
20849 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20850 else \
20851 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20852 $(MAKE) stageprofile-start; \
20853 fi; \
20854 cd $(HOST_SUBDIR)/libdecnumber && \
20855 $(MAKE) $(EXTRA_HOST_FLAGS) \
20856 $(POSTSTAGE1_FLAGS_TO_PASS) \
20857 clean
20858 @endif libdecnumber-bootstrap
20861 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20862 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20863 maybe-all-stagefeedback-libdecnumber:
20864 maybe-clean-stagefeedback-libdecnumber:
20865 @if libdecnumber-bootstrap
20866 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20867 all-stagefeedback: all-stagefeedback-libdecnumber
20868 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20869 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20870 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20871 @r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20874 $(HOST_EXPORTS) \
20875 $(POSTSTAGE1_HOST_EXPORTS) \
20876 cd $(HOST_SUBDIR)/libdecnumber && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20878 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20879 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20880 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20885 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20886 $(TARGET-stagefeedback-libdecnumber)
20888 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20889 clean-stagefeedback: clean-stagefeedback-libdecnumber
20890 clean-stagefeedback-libdecnumber:
20891 @if [ $(current_stage) = stagefeedback ]; then \
20892 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20893 else \
20894 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20895 $(MAKE) stagefeedback-start; \
20896 fi; \
20897 cd $(HOST_SUBDIR)/libdecnumber && \
20898 $(MAKE) $(EXTRA_HOST_FLAGS) \
20899 $(POSTSTAGE1_FLAGS_TO_PASS) \
20900 clean
20901 @endif libdecnumber-bootstrap
20907 .PHONY: check-libdecnumber maybe-check-libdecnumber
20908 maybe-check-libdecnumber:
20909 @if libdecnumber
20910 maybe-check-libdecnumber: check-libdecnumber
20912 check-libdecnumber:
20913 @: $(MAKE); $(unstage)
20914 @r=`${PWD_COMMAND}`; export r; \
20915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20916 $(HOST_EXPORTS) \
20917 (cd $(HOST_SUBDIR)/libdecnumber && \
20918 $(MAKE) $(FLAGS_TO_PASS) check)
20920 @endif libdecnumber
20922 .PHONY: install-libdecnumber maybe-install-libdecnumber
20923 maybe-install-libdecnumber:
20924 @if libdecnumber
20925 maybe-install-libdecnumber: install-libdecnumber
20927 install-libdecnumber: installdirs
20928 @: $(MAKE); $(unstage)
20929 @r=`${PWD_COMMAND}`; export r; \
20930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20931 $(HOST_EXPORTS) \
20932 (cd $(HOST_SUBDIR)/libdecnumber && \
20933 $(MAKE) $(FLAGS_TO_PASS) install)
20935 @endif libdecnumber
20937 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20938 maybe-install-strip-libdecnumber:
20939 @if libdecnumber
20940 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20942 install-strip-libdecnumber: installdirs
20943 @: $(MAKE); $(unstage)
20944 @r=`${PWD_COMMAND}`; export r; \
20945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20946 $(HOST_EXPORTS) \
20947 (cd $(HOST_SUBDIR)/libdecnumber && \
20948 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20950 @endif libdecnumber
20952 # Other targets (info, dvi, pdf, etc.)
20954 .PHONY: maybe-info-libdecnumber info-libdecnumber
20955 maybe-info-libdecnumber:
20956 @if libdecnumber
20957 maybe-info-libdecnumber: info-libdecnumber
20959 info-libdecnumber: \
20960 configure-libdecnumber
20961 @[ -f ./libdecnumber/Makefile ] || exit 0; \
20962 r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(HOST_EXPORTS) \
20965 for flag in $(EXTRA_HOST_FLAGS) ; do \
20966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20967 done; \
20968 echo "Doing info in libdecnumber" ; \
20969 (cd $(HOST_SUBDIR)/libdecnumber && \
20970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20972 "RANLIB=$${RANLIB}" \
20973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20974 info) \
20975 || exit 1
20977 @endif libdecnumber
20979 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
20980 maybe-dvi-libdecnumber:
20981 @if libdecnumber
20982 maybe-dvi-libdecnumber: dvi-libdecnumber
20984 dvi-libdecnumber: \
20985 configure-libdecnumber
20986 @[ -f ./libdecnumber/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(HOST_EXPORTS) \
20990 for flag in $(EXTRA_HOST_FLAGS) ; do \
20991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20992 done; \
20993 echo "Doing dvi in libdecnumber" ; \
20994 (cd $(HOST_SUBDIR)/libdecnumber && \
20995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20997 "RANLIB=$${RANLIB}" \
20998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20999 dvi) \
21000 || exit 1
21002 @endif libdecnumber
21004 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21005 maybe-pdf-libdecnumber:
21006 @if libdecnumber
21007 maybe-pdf-libdecnumber: pdf-libdecnumber
21009 pdf-libdecnumber: \
21010 configure-libdecnumber
21011 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(HOST_EXPORTS) \
21015 for flag in $(EXTRA_HOST_FLAGS) ; do \
21016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21017 done; \
21018 echo "Doing pdf in libdecnumber" ; \
21019 (cd $(HOST_SUBDIR)/libdecnumber && \
21020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21022 "RANLIB=$${RANLIB}" \
21023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21024 pdf) \
21025 || exit 1
21027 @endif libdecnumber
21029 .PHONY: maybe-html-libdecnumber html-libdecnumber
21030 maybe-html-libdecnumber:
21031 @if libdecnumber
21032 maybe-html-libdecnumber: html-libdecnumber
21034 html-libdecnumber: \
21035 configure-libdecnumber
21036 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(HOST_EXPORTS) \
21040 for flag in $(EXTRA_HOST_FLAGS) ; do \
21041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21042 done; \
21043 echo "Doing html in libdecnumber" ; \
21044 (cd $(HOST_SUBDIR)/libdecnumber && \
21045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21047 "RANLIB=$${RANLIB}" \
21048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21049 html) \
21050 || exit 1
21052 @endif libdecnumber
21054 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21055 maybe-TAGS-libdecnumber:
21056 @if libdecnumber
21057 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21059 TAGS-libdecnumber: \
21060 configure-libdecnumber
21061 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21062 r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21064 $(HOST_EXPORTS) \
21065 for flag in $(EXTRA_HOST_FLAGS) ; do \
21066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21067 done; \
21068 echo "Doing TAGS in libdecnumber" ; \
21069 (cd $(HOST_SUBDIR)/libdecnumber && \
21070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21072 "RANLIB=$${RANLIB}" \
21073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21074 TAGS) \
21075 || exit 1
21077 @endif libdecnumber
21079 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21080 maybe-install-info-libdecnumber:
21081 @if libdecnumber
21082 maybe-install-info-libdecnumber: install-info-libdecnumber
21084 install-info-libdecnumber: \
21085 configure-libdecnumber \
21086 info-libdecnumber
21087 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21088 r=`${PWD_COMMAND}`; export r; \
21089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21090 $(HOST_EXPORTS) \
21091 for flag in $(EXTRA_HOST_FLAGS) ; do \
21092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21093 done; \
21094 echo "Doing install-info in libdecnumber" ; \
21095 (cd $(HOST_SUBDIR)/libdecnumber && \
21096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21098 "RANLIB=$${RANLIB}" \
21099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21100 install-info) \
21101 || exit 1
21103 @endif libdecnumber
21105 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21106 maybe-install-pdf-libdecnumber:
21107 @if libdecnumber
21108 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21110 install-pdf-libdecnumber: \
21111 configure-libdecnumber \
21112 pdf-libdecnumber
21113 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21114 r=`${PWD_COMMAND}`; export r; \
21115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21116 $(HOST_EXPORTS) \
21117 for flag in $(EXTRA_HOST_FLAGS) ; do \
21118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21119 done; \
21120 echo "Doing install-pdf in libdecnumber" ; \
21121 (cd $(HOST_SUBDIR)/libdecnumber && \
21122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21124 "RANLIB=$${RANLIB}" \
21125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21126 install-pdf) \
21127 || exit 1
21129 @endif libdecnumber
21131 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21132 maybe-install-html-libdecnumber:
21133 @if libdecnumber
21134 maybe-install-html-libdecnumber: install-html-libdecnumber
21136 install-html-libdecnumber: \
21137 configure-libdecnumber \
21138 html-libdecnumber
21139 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21140 r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 $(HOST_EXPORTS) \
21143 for flag in $(EXTRA_HOST_FLAGS) ; do \
21144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21145 done; \
21146 echo "Doing install-html in libdecnumber" ; \
21147 (cd $(HOST_SUBDIR)/libdecnumber && \
21148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21150 "RANLIB=$${RANLIB}" \
21151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21152 install-html) \
21153 || exit 1
21155 @endif libdecnumber
21157 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21158 maybe-installcheck-libdecnumber:
21159 @if libdecnumber
21160 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21162 installcheck-libdecnumber: \
21163 configure-libdecnumber
21164 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21165 r=`${PWD_COMMAND}`; export r; \
21166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21167 $(HOST_EXPORTS) \
21168 for flag in $(EXTRA_HOST_FLAGS) ; do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21170 done; \
21171 echo "Doing installcheck in libdecnumber" ; \
21172 (cd $(HOST_SUBDIR)/libdecnumber && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21177 installcheck) \
21178 || exit 1
21180 @endif libdecnumber
21182 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21183 maybe-mostlyclean-libdecnumber:
21184 @if libdecnumber
21185 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21187 mostlyclean-libdecnumber:
21188 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21189 r=`${PWD_COMMAND}`; export r; \
21190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21191 $(HOST_EXPORTS) \
21192 for flag in $(EXTRA_HOST_FLAGS) ; do \
21193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21194 done; \
21195 echo "Doing mostlyclean in libdecnumber" ; \
21196 (cd $(HOST_SUBDIR)/libdecnumber && \
21197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21199 "RANLIB=$${RANLIB}" \
21200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21201 mostlyclean) \
21202 || exit 1
21204 @endif libdecnumber
21206 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21207 maybe-clean-libdecnumber:
21208 @if libdecnumber
21209 maybe-clean-libdecnumber: clean-libdecnumber
21211 clean-libdecnumber:
21212 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21213 r=`${PWD_COMMAND}`; export r; \
21214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21215 $(HOST_EXPORTS) \
21216 for flag in $(EXTRA_HOST_FLAGS) ; do \
21217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21218 done; \
21219 echo "Doing clean in libdecnumber" ; \
21220 (cd $(HOST_SUBDIR)/libdecnumber && \
21221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21223 "RANLIB=$${RANLIB}" \
21224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21225 clean) \
21226 || exit 1
21228 @endif libdecnumber
21230 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21231 maybe-distclean-libdecnumber:
21232 @if libdecnumber
21233 maybe-distclean-libdecnumber: distclean-libdecnumber
21235 distclean-libdecnumber:
21236 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21237 r=`${PWD_COMMAND}`; export r; \
21238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21239 $(HOST_EXPORTS) \
21240 for flag in $(EXTRA_HOST_FLAGS) ; do \
21241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21242 done; \
21243 echo "Doing distclean in libdecnumber" ; \
21244 (cd $(HOST_SUBDIR)/libdecnumber && \
21245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21247 "RANLIB=$${RANLIB}" \
21248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21249 distclean) \
21250 || exit 1
21252 @endif libdecnumber
21254 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21255 maybe-maintainer-clean-libdecnumber:
21256 @if libdecnumber
21257 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21259 maintainer-clean-libdecnumber:
21260 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21261 r=`${PWD_COMMAND}`; export r; \
21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21263 $(HOST_EXPORTS) \
21264 for flag in $(EXTRA_HOST_FLAGS) ; do \
21265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21266 done; \
21267 echo "Doing maintainer-clean in libdecnumber" ; \
21268 (cd $(HOST_SUBDIR)/libdecnumber && \
21269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21271 "RANLIB=$${RANLIB}" \
21272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21273 maintainer-clean) \
21274 || exit 1
21276 @endif libdecnumber
21280 .PHONY: configure-libgui maybe-configure-libgui
21281 maybe-configure-libgui:
21282 @if gcc-bootstrap
21283 configure-libgui: stage_current
21284 @endif gcc-bootstrap
21285 @if libgui
21286 maybe-configure-libgui: configure-libgui
21287 configure-libgui:
21288 @: $(MAKE); $(unstage)
21289 @r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21293 $(HOST_EXPORTS) \
21294 echo Configuring in $(HOST_SUBDIR)/libgui; \
21295 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21296 case $(srcdir) in \
21297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21298 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21300 esac; \
21301 srcdiroption="--srcdir=$${topdir}/libgui"; \
21302 libsrcdir="$$s/libgui"; \
21303 $(SHELL) $${libsrcdir}/configure \
21304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21305 --target=${target_alias} $${srcdiroption} \
21306 || exit 1
21307 @endif libgui
21313 .PHONY: all-libgui maybe-all-libgui
21314 maybe-all-libgui:
21315 @if gcc-bootstrap
21316 all-libgui: stage_current
21317 @endif gcc-bootstrap
21318 @if libgui
21319 TARGET-libgui=all
21320 maybe-all-libgui: all-libgui
21321 all-libgui: configure-libgui
21322 @: $(MAKE); $(unstage)
21323 @r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 (cd $(HOST_SUBDIR)/libgui && \
21327 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21328 $(TARGET-libgui))
21329 @endif libgui
21334 .PHONY: check-libgui maybe-check-libgui
21335 maybe-check-libgui:
21336 @if libgui
21337 maybe-check-libgui: check-libgui
21339 check-libgui:
21340 @: $(MAKE); $(unstage)
21341 @r=`${PWD_COMMAND}`; export r; \
21342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21343 $(HOST_EXPORTS) \
21344 (cd $(HOST_SUBDIR)/libgui && \
21345 $(MAKE) $(FLAGS_TO_PASS) check)
21347 @endif libgui
21349 .PHONY: install-libgui maybe-install-libgui
21350 maybe-install-libgui:
21351 @if libgui
21352 maybe-install-libgui: install-libgui
21354 install-libgui: installdirs
21355 @: $(MAKE); $(unstage)
21356 @r=`${PWD_COMMAND}`; export r; \
21357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21358 $(HOST_EXPORTS) \
21359 (cd $(HOST_SUBDIR)/libgui && \
21360 $(MAKE) $(FLAGS_TO_PASS) install)
21362 @endif libgui
21364 .PHONY: install-strip-libgui maybe-install-strip-libgui
21365 maybe-install-strip-libgui:
21366 @if libgui
21367 maybe-install-strip-libgui: install-strip-libgui
21369 install-strip-libgui: installdirs
21370 @: $(MAKE); $(unstage)
21371 @r=`${PWD_COMMAND}`; export r; \
21372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21373 $(HOST_EXPORTS) \
21374 (cd $(HOST_SUBDIR)/libgui && \
21375 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21377 @endif libgui
21379 # Other targets (info, dvi, pdf, etc.)
21381 .PHONY: maybe-info-libgui info-libgui
21382 maybe-info-libgui:
21383 @if libgui
21384 maybe-info-libgui: info-libgui
21386 info-libgui: \
21387 configure-libgui
21388 @: $(MAKE); $(unstage)
21389 @[ -f ./libgui/Makefile ] || exit 0; \
21390 r=`${PWD_COMMAND}`; export r; \
21391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21392 $(HOST_EXPORTS) \
21393 for flag in $(EXTRA_HOST_FLAGS) ; do \
21394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21395 done; \
21396 echo "Doing info in libgui" ; \
21397 (cd $(HOST_SUBDIR)/libgui && \
21398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21400 "RANLIB=$${RANLIB}" \
21401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21402 info) \
21403 || exit 1
21405 @endif libgui
21407 .PHONY: maybe-dvi-libgui dvi-libgui
21408 maybe-dvi-libgui:
21409 @if libgui
21410 maybe-dvi-libgui: dvi-libgui
21412 dvi-libgui: \
21413 configure-libgui
21414 @: $(MAKE); $(unstage)
21415 @[ -f ./libgui/Makefile ] || exit 0; \
21416 r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418 $(HOST_EXPORTS) \
21419 for flag in $(EXTRA_HOST_FLAGS) ; do \
21420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21421 done; \
21422 echo "Doing dvi in libgui" ; \
21423 (cd $(HOST_SUBDIR)/libgui && \
21424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21426 "RANLIB=$${RANLIB}" \
21427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21428 dvi) \
21429 || exit 1
21431 @endif libgui
21433 .PHONY: maybe-pdf-libgui pdf-libgui
21434 maybe-pdf-libgui:
21435 @if libgui
21436 maybe-pdf-libgui: pdf-libgui
21438 pdf-libgui: \
21439 configure-libgui
21440 @: $(MAKE); $(unstage)
21441 @[ -f ./libgui/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444 $(HOST_EXPORTS) \
21445 for flag in $(EXTRA_HOST_FLAGS) ; do \
21446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21447 done; \
21448 echo "Doing pdf in libgui" ; \
21449 (cd $(HOST_SUBDIR)/libgui && \
21450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21452 "RANLIB=$${RANLIB}" \
21453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21454 pdf) \
21455 || exit 1
21457 @endif libgui
21459 .PHONY: maybe-html-libgui html-libgui
21460 maybe-html-libgui:
21461 @if libgui
21462 maybe-html-libgui: html-libgui
21464 html-libgui: \
21465 configure-libgui
21466 @: $(MAKE); $(unstage)
21467 @[ -f ./libgui/Makefile ] || exit 0; \
21468 r=`${PWD_COMMAND}`; export r; \
21469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21470 $(HOST_EXPORTS) \
21471 for flag in $(EXTRA_HOST_FLAGS) ; do \
21472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21473 done; \
21474 echo "Doing html in libgui" ; \
21475 (cd $(HOST_SUBDIR)/libgui && \
21476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21478 "RANLIB=$${RANLIB}" \
21479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21480 html) \
21481 || exit 1
21483 @endif libgui
21485 .PHONY: maybe-TAGS-libgui TAGS-libgui
21486 maybe-TAGS-libgui:
21487 @if libgui
21488 maybe-TAGS-libgui: TAGS-libgui
21490 TAGS-libgui: \
21491 configure-libgui
21492 @: $(MAKE); $(unstage)
21493 @[ -f ./libgui/Makefile ] || exit 0; \
21494 r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21496 $(HOST_EXPORTS) \
21497 for flag in $(EXTRA_HOST_FLAGS) ; do \
21498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21499 done; \
21500 echo "Doing TAGS in libgui" ; \
21501 (cd $(HOST_SUBDIR)/libgui && \
21502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21504 "RANLIB=$${RANLIB}" \
21505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21506 TAGS) \
21507 || exit 1
21509 @endif libgui
21511 .PHONY: maybe-install-info-libgui install-info-libgui
21512 maybe-install-info-libgui:
21513 @if libgui
21514 maybe-install-info-libgui: install-info-libgui
21516 install-info-libgui: \
21517 configure-libgui \
21518 info-libgui
21519 @: $(MAKE); $(unstage)
21520 @[ -f ./libgui/Makefile ] || exit 0; \
21521 r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 $(HOST_EXPORTS) \
21524 for flag in $(EXTRA_HOST_FLAGS) ; do \
21525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21526 done; \
21527 echo "Doing install-info in libgui" ; \
21528 (cd $(HOST_SUBDIR)/libgui && \
21529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21531 "RANLIB=$${RANLIB}" \
21532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21533 install-info) \
21534 || exit 1
21536 @endif libgui
21538 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21539 maybe-install-pdf-libgui:
21540 @if libgui
21541 maybe-install-pdf-libgui: install-pdf-libgui
21543 install-pdf-libgui: \
21544 configure-libgui \
21545 pdf-libgui
21546 @: $(MAKE); $(unstage)
21547 @[ -f ./libgui/Makefile ] || exit 0; \
21548 r=`${PWD_COMMAND}`; export r; \
21549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21550 $(HOST_EXPORTS) \
21551 for flag in $(EXTRA_HOST_FLAGS) ; do \
21552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21553 done; \
21554 echo "Doing install-pdf in libgui" ; \
21555 (cd $(HOST_SUBDIR)/libgui && \
21556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558 "RANLIB=$${RANLIB}" \
21559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21560 install-pdf) \
21561 || exit 1
21563 @endif libgui
21565 .PHONY: maybe-install-html-libgui install-html-libgui
21566 maybe-install-html-libgui:
21567 @if libgui
21568 maybe-install-html-libgui: install-html-libgui
21570 install-html-libgui: \
21571 configure-libgui \
21572 html-libgui
21573 @: $(MAKE); $(unstage)
21574 @[ -f ./libgui/Makefile ] || exit 0; \
21575 r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(HOST_EXPORTS) \
21578 for flag in $(EXTRA_HOST_FLAGS) ; do \
21579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21580 done; \
21581 echo "Doing install-html in libgui" ; \
21582 (cd $(HOST_SUBDIR)/libgui && \
21583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21585 "RANLIB=$${RANLIB}" \
21586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21587 install-html) \
21588 || exit 1
21590 @endif libgui
21592 .PHONY: maybe-installcheck-libgui installcheck-libgui
21593 maybe-installcheck-libgui:
21594 @if libgui
21595 maybe-installcheck-libgui: installcheck-libgui
21597 installcheck-libgui: \
21598 configure-libgui
21599 @: $(MAKE); $(unstage)
21600 @[ -f ./libgui/Makefile ] || exit 0; \
21601 r=`${PWD_COMMAND}`; export r; \
21602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21603 $(HOST_EXPORTS) \
21604 for flag in $(EXTRA_HOST_FLAGS) ; do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21606 done; \
21607 echo "Doing installcheck in libgui" ; \
21608 (cd $(HOST_SUBDIR)/libgui && \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21613 installcheck) \
21614 || exit 1
21616 @endif libgui
21618 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21619 maybe-mostlyclean-libgui:
21620 @if libgui
21621 maybe-mostlyclean-libgui: mostlyclean-libgui
21623 mostlyclean-libgui:
21624 @: $(MAKE); $(unstage)
21625 @[ -f ./libgui/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(HOST_EXPORTS) \
21629 for flag in $(EXTRA_HOST_FLAGS) ; do \
21630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21631 done; \
21632 echo "Doing mostlyclean in libgui" ; \
21633 (cd $(HOST_SUBDIR)/libgui && \
21634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21636 "RANLIB=$${RANLIB}" \
21637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21638 mostlyclean) \
21639 || exit 1
21641 @endif libgui
21643 .PHONY: maybe-clean-libgui clean-libgui
21644 maybe-clean-libgui:
21645 @if libgui
21646 maybe-clean-libgui: clean-libgui
21648 clean-libgui:
21649 @: $(MAKE); $(unstage)
21650 @[ -f ./libgui/Makefile ] || exit 0; \
21651 r=`${PWD_COMMAND}`; export r; \
21652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21653 $(HOST_EXPORTS) \
21654 for flag in $(EXTRA_HOST_FLAGS) ; do \
21655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21656 done; \
21657 echo "Doing clean in libgui" ; \
21658 (cd $(HOST_SUBDIR)/libgui && \
21659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21661 "RANLIB=$${RANLIB}" \
21662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21663 clean) \
21664 || exit 1
21666 @endif libgui
21668 .PHONY: maybe-distclean-libgui distclean-libgui
21669 maybe-distclean-libgui:
21670 @if libgui
21671 maybe-distclean-libgui: distclean-libgui
21673 distclean-libgui:
21674 @: $(MAKE); $(unstage)
21675 @[ -f ./libgui/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 for flag in $(EXTRA_HOST_FLAGS) ; do \
21680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 done; \
21682 echo "Doing distclean in libgui" ; \
21683 (cd $(HOST_SUBDIR)/libgui && \
21684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686 "RANLIB=$${RANLIB}" \
21687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21688 distclean) \
21689 || exit 1
21691 @endif libgui
21693 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21694 maybe-maintainer-clean-libgui:
21695 @if libgui
21696 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21698 maintainer-clean-libgui:
21699 @: $(MAKE); $(unstage)
21700 @[ -f ./libgui/Makefile ] || exit 0; \
21701 r=`${PWD_COMMAND}`; export r; \
21702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703 $(HOST_EXPORTS) \
21704 for flag in $(EXTRA_HOST_FLAGS) ; do \
21705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21706 done; \
21707 echo "Doing maintainer-clean in libgui" ; \
21708 (cd $(HOST_SUBDIR)/libgui && \
21709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711 "RANLIB=$${RANLIB}" \
21712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21713 maintainer-clean) \
21714 || exit 1
21716 @endif libgui
21720 .PHONY: configure-libiberty maybe-configure-libiberty
21721 maybe-configure-libiberty:
21722 @if gcc-bootstrap
21723 configure-libiberty: stage_current
21724 @endif gcc-bootstrap
21725 @if libiberty
21726 maybe-configure-libiberty: configure-libiberty
21727 configure-libiberty:
21728 @r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21732 $(HOST_EXPORTS) \
21733 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21734 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21735 case $(srcdir) in \
21736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21737 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21739 esac; \
21740 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21741 libsrcdir="$$s/libiberty"; \
21742 $(SHELL) $${libsrcdir}/configure \
21743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21744 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21745 || exit 1
21746 @endif libiberty
21750 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21751 maybe-configure-stage1-libiberty:
21752 @if libiberty-bootstrap
21753 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21754 configure-stage1-libiberty:
21755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21757 @r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 TFLAGS="$(STAGE1_TFLAGS)"; \
21760 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21761 $(HOST_EXPORTS) \
21762 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21763 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21764 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21765 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21767 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21768 case $(srcdir) in \
21769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21770 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21772 esac; \
21773 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21774 libsrcdir="$$s/libiberty"; \
21775 $(SHELL) $${libsrcdir}/configure \
21776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21777 --target=${target_alias} $${srcdiroption} \
21778 $(STAGE1_CONFIGURE_FLAGS) \
21779 @extra_host_libiberty_configure_flags@
21780 @endif libiberty-bootstrap
21782 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21783 maybe-configure-stage2-libiberty:
21784 @if libiberty-bootstrap
21785 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21786 configure-stage2-libiberty:
21787 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21789 @r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 TFLAGS="$(STAGE2_TFLAGS)"; \
21792 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21793 $(HOST_EXPORTS) \
21794 $(POSTSTAGE1_HOST_EXPORTS) \
21795 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21796 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21797 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21798 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21800 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21801 case $(srcdir) in \
21802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21803 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21805 esac; \
21806 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21807 libsrcdir="$$s/libiberty"; \
21808 $(SHELL) $${libsrcdir}/configure \
21809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21810 --target=${target_alias} $${srcdiroption} \
21811 --with-build-libsubdir=$(HOST_SUBDIR) \
21812 $(STAGE2_CONFIGURE_FLAGS) \
21813 @extra_host_libiberty_configure_flags@
21814 @endif libiberty-bootstrap
21816 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21817 maybe-configure-stage3-libiberty:
21818 @if libiberty-bootstrap
21819 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21820 configure-stage3-libiberty:
21821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21823 @r=`${PWD_COMMAND}`; export r; \
21824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21825 TFLAGS="$(STAGE3_TFLAGS)"; \
21826 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21827 $(HOST_EXPORTS) \
21828 $(POSTSTAGE1_HOST_EXPORTS) \
21829 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21830 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21831 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21832 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21834 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21835 case $(srcdir) in \
21836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21837 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21839 esac; \
21840 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21841 libsrcdir="$$s/libiberty"; \
21842 $(SHELL) $${libsrcdir}/configure \
21843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21844 --target=${target_alias} $${srcdiroption} \
21845 --with-build-libsubdir=$(HOST_SUBDIR) \
21846 $(STAGE3_CONFIGURE_FLAGS) \
21847 @extra_host_libiberty_configure_flags@
21848 @endif libiberty-bootstrap
21850 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21851 maybe-configure-stage4-libiberty:
21852 @if libiberty-bootstrap
21853 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21854 configure-stage4-libiberty:
21855 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21857 @r=`${PWD_COMMAND}`; export r; \
21858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21859 TFLAGS="$(STAGE4_TFLAGS)"; \
21860 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21861 $(HOST_EXPORTS) \
21862 $(POSTSTAGE1_HOST_EXPORTS) \
21863 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21864 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21865 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21866 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21868 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21869 case $(srcdir) in \
21870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21871 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21873 esac; \
21874 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21875 libsrcdir="$$s/libiberty"; \
21876 $(SHELL) $${libsrcdir}/configure \
21877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21878 --target=${target_alias} $${srcdiroption} \
21879 --with-build-libsubdir=$(HOST_SUBDIR) \
21880 $(STAGE4_CONFIGURE_FLAGS) \
21881 @extra_host_libiberty_configure_flags@
21882 @endif libiberty-bootstrap
21884 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21885 maybe-configure-stageprofile-libiberty:
21886 @if libiberty-bootstrap
21887 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21888 configure-stageprofile-libiberty:
21889 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21891 @r=`${PWD_COMMAND}`; export r; \
21892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21893 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21894 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21895 $(HOST_EXPORTS) \
21896 $(POSTSTAGE1_HOST_EXPORTS) \
21897 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21898 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21899 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21900 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21902 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21903 case $(srcdir) in \
21904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21905 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21907 esac; \
21908 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21909 libsrcdir="$$s/libiberty"; \
21910 $(SHELL) $${libsrcdir}/configure \
21911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21912 --target=${target_alias} $${srcdiroption} \
21913 --with-build-libsubdir=$(HOST_SUBDIR) \
21914 $(STAGEprofile_CONFIGURE_FLAGS) \
21915 @extra_host_libiberty_configure_flags@
21916 @endif libiberty-bootstrap
21918 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21919 maybe-configure-stagefeedback-libiberty:
21920 @if libiberty-bootstrap
21921 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21922 configure-stagefeedback-libiberty:
21923 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21925 @r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21928 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21929 $(HOST_EXPORTS) \
21930 $(POSTSTAGE1_HOST_EXPORTS) \
21931 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21932 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21933 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21934 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21936 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21937 case $(srcdir) in \
21938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21939 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21941 esac; \
21942 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21943 libsrcdir="$$s/libiberty"; \
21944 $(SHELL) $${libsrcdir}/configure \
21945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21946 --target=${target_alias} $${srcdiroption} \
21947 --with-build-libsubdir=$(HOST_SUBDIR) \
21948 $(STAGEfeedback_CONFIGURE_FLAGS) \
21949 @extra_host_libiberty_configure_flags@
21950 @endif libiberty-bootstrap
21956 .PHONY: all-libiberty maybe-all-libiberty
21957 maybe-all-libiberty:
21958 @if gcc-bootstrap
21959 all-libiberty: stage_current
21960 @endif gcc-bootstrap
21961 @if libiberty
21962 TARGET-libiberty=all
21963 maybe-all-libiberty: all-libiberty
21964 all-libiberty: configure-libiberty
21965 @r=`${PWD_COMMAND}`; export r; \
21966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 $(HOST_EXPORTS) \
21968 (cd $(HOST_SUBDIR)/libiberty && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21970 $(TARGET-libiberty))
21971 @endif libiberty
21975 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
21976 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
21977 maybe-all-stage1-libiberty:
21978 maybe-clean-stage1-libiberty:
21979 @if libiberty-bootstrap
21980 maybe-all-stage1-libiberty: all-stage1-libiberty
21981 all-stage1: all-stage1-libiberty
21982 TARGET-stage1-libiberty = $(TARGET-libiberty)
21983 all-stage1-libiberty: configure-stage1-libiberty
21984 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21985 @r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987 TFLAGS="$(STAGE1_TFLAGS)"; \
21988 $(HOST_EXPORTS) \
21989 cd $(HOST_SUBDIR)/libiberty && \
21990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21991 CFLAGS="$(STAGE1_CFLAGS)" \
21992 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21993 LIBCFLAGS="$(LIBCFLAGS)" \
21994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21997 $(EXTRA_HOST_FLAGS) \
21998 TFLAGS="$(STAGE1_TFLAGS)" \
21999 $(TARGET-stage1-libiberty)
22001 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22002 clean-stage1: clean-stage1-libiberty
22003 clean-stage1-libiberty:
22004 @if [ $(current_stage) = stage1 ]; then \
22005 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22006 else \
22007 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22008 $(MAKE) stage1-start; \
22009 fi; \
22010 cd $(HOST_SUBDIR)/libiberty && \
22011 $(MAKE) $(EXTRA_HOST_FLAGS) \
22012 clean
22013 @endif libiberty-bootstrap
22016 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22017 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22018 maybe-all-stage2-libiberty:
22019 maybe-clean-stage2-libiberty:
22020 @if libiberty-bootstrap
22021 maybe-all-stage2-libiberty: all-stage2-libiberty
22022 all-stage2: all-stage2-libiberty
22023 TARGET-stage2-libiberty = $(TARGET-libiberty)
22024 all-stage2-libiberty: configure-stage2-libiberty
22025 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22026 @r=`${PWD_COMMAND}`; export r; \
22027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22028 TFLAGS="$(STAGE2_TFLAGS)"; \
22029 $(HOST_EXPORTS) \
22030 $(POSTSTAGE1_HOST_EXPORTS) \
22031 cd $(HOST_SUBDIR)/libiberty && \
22032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22033 CFLAGS="$(STAGE2_CFLAGS)" \
22034 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22035 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22040 TFLAGS="$(STAGE2_TFLAGS)" \
22041 $(TARGET-stage2-libiberty)
22043 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22044 clean-stage2: clean-stage2-libiberty
22045 clean-stage2-libiberty:
22046 @if [ $(current_stage) = stage2 ]; then \
22047 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22048 else \
22049 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22050 $(MAKE) stage2-start; \
22051 fi; \
22052 cd $(HOST_SUBDIR)/libiberty && \
22053 $(MAKE) $(EXTRA_HOST_FLAGS) \
22054 $(POSTSTAGE1_FLAGS_TO_PASS) \
22055 clean
22056 @endif libiberty-bootstrap
22059 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22060 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22061 maybe-all-stage3-libiberty:
22062 maybe-clean-stage3-libiberty:
22063 @if libiberty-bootstrap
22064 maybe-all-stage3-libiberty: all-stage3-libiberty
22065 all-stage3: all-stage3-libiberty
22066 TARGET-stage3-libiberty = $(TARGET-libiberty)
22067 all-stage3-libiberty: configure-stage3-libiberty
22068 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22069 @r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 TFLAGS="$(STAGE3_TFLAGS)"; \
22072 $(HOST_EXPORTS) \
22073 $(POSTSTAGE1_HOST_EXPORTS) \
22074 cd $(HOST_SUBDIR)/libiberty && \
22075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22076 CFLAGS="$(STAGE3_CFLAGS)" \
22077 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22078 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22083 TFLAGS="$(STAGE3_TFLAGS)" \
22084 $(TARGET-stage3-libiberty)
22086 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22087 clean-stage3: clean-stage3-libiberty
22088 clean-stage3-libiberty:
22089 @if [ $(current_stage) = stage3 ]; then \
22090 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22091 else \
22092 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22093 $(MAKE) stage3-start; \
22094 fi; \
22095 cd $(HOST_SUBDIR)/libiberty && \
22096 $(MAKE) $(EXTRA_HOST_FLAGS) \
22097 $(POSTSTAGE1_FLAGS_TO_PASS) \
22098 clean
22099 @endif libiberty-bootstrap
22102 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22103 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22104 maybe-all-stage4-libiberty:
22105 maybe-clean-stage4-libiberty:
22106 @if libiberty-bootstrap
22107 maybe-all-stage4-libiberty: all-stage4-libiberty
22108 all-stage4: all-stage4-libiberty
22109 TARGET-stage4-libiberty = $(TARGET-libiberty)
22110 all-stage4-libiberty: configure-stage4-libiberty
22111 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22112 @r=`${PWD_COMMAND}`; export r; \
22113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 TFLAGS="$(STAGE4_TFLAGS)"; \
22115 $(HOST_EXPORTS) \
22116 $(POSTSTAGE1_HOST_EXPORTS) \
22117 cd $(HOST_SUBDIR)/libiberty && \
22118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22119 CFLAGS="$(STAGE4_CFLAGS)" \
22120 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22121 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22126 TFLAGS="$(STAGE4_TFLAGS)" \
22127 $(TARGET-stage4-libiberty)
22129 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22130 clean-stage4: clean-stage4-libiberty
22131 clean-stage4-libiberty:
22132 @if [ $(current_stage) = stage4 ]; then \
22133 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22134 else \
22135 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22136 $(MAKE) stage4-start; \
22137 fi; \
22138 cd $(HOST_SUBDIR)/libiberty && \
22139 $(MAKE) $(EXTRA_HOST_FLAGS) \
22140 $(POSTSTAGE1_FLAGS_TO_PASS) \
22141 clean
22142 @endif libiberty-bootstrap
22145 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22146 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22147 maybe-all-stageprofile-libiberty:
22148 maybe-clean-stageprofile-libiberty:
22149 @if libiberty-bootstrap
22150 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22151 all-stageprofile: all-stageprofile-libiberty
22152 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22153 all-stageprofile-libiberty: configure-stageprofile-libiberty
22154 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22158 $(HOST_EXPORTS) \
22159 $(POSTSTAGE1_HOST_EXPORTS) \
22160 cd $(HOST_SUBDIR)/libiberty && \
22161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22162 CFLAGS="$(STAGEprofile_CFLAGS)" \
22163 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22164 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22169 TFLAGS="$(STAGEprofile_TFLAGS)" \
22170 $(TARGET-stageprofile-libiberty)
22172 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22173 clean-stageprofile: clean-stageprofile-libiberty
22174 clean-stageprofile-libiberty:
22175 @if [ $(current_stage) = stageprofile ]; then \
22176 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22177 else \
22178 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22179 $(MAKE) stageprofile-start; \
22180 fi; \
22181 cd $(HOST_SUBDIR)/libiberty && \
22182 $(MAKE) $(EXTRA_HOST_FLAGS) \
22183 $(POSTSTAGE1_FLAGS_TO_PASS) \
22184 clean
22185 @endif libiberty-bootstrap
22188 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22189 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22190 maybe-all-stagefeedback-libiberty:
22191 maybe-clean-stagefeedback-libiberty:
22192 @if libiberty-bootstrap
22193 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22194 all-stagefeedback: all-stagefeedback-libiberty
22195 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22196 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22197 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22198 @r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22201 $(HOST_EXPORTS) \
22202 $(POSTSTAGE1_HOST_EXPORTS) \
22203 cd $(HOST_SUBDIR)/libiberty && \
22204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22205 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22206 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22207 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22212 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22213 $(TARGET-stagefeedback-libiberty)
22215 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22216 clean-stagefeedback: clean-stagefeedback-libiberty
22217 clean-stagefeedback-libiberty:
22218 @if [ $(current_stage) = stagefeedback ]; then \
22219 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22220 else \
22221 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22222 $(MAKE) stagefeedback-start; \
22223 fi; \
22224 cd $(HOST_SUBDIR)/libiberty && \
22225 $(MAKE) $(EXTRA_HOST_FLAGS) \
22226 $(POSTSTAGE1_FLAGS_TO_PASS) \
22227 clean
22228 @endif libiberty-bootstrap
22234 .PHONY: check-libiberty maybe-check-libiberty
22235 maybe-check-libiberty:
22236 @if libiberty
22237 maybe-check-libiberty: check-libiberty
22239 check-libiberty:
22240 @: $(MAKE); $(unstage)
22241 @r=`${PWD_COMMAND}`; export r; \
22242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22243 $(HOST_EXPORTS) \
22244 (cd $(HOST_SUBDIR)/libiberty && \
22245 $(MAKE) $(FLAGS_TO_PASS) check)
22247 @endif libiberty
22249 .PHONY: install-libiberty maybe-install-libiberty
22250 maybe-install-libiberty:
22251 @if libiberty
22252 maybe-install-libiberty: install-libiberty
22254 install-libiberty: installdirs
22255 @: $(MAKE); $(unstage)
22256 @r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 $(HOST_EXPORTS) \
22259 (cd $(HOST_SUBDIR)/libiberty && \
22260 $(MAKE) $(FLAGS_TO_PASS) install)
22262 @endif libiberty
22264 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22265 maybe-install-strip-libiberty:
22266 @if libiberty
22267 maybe-install-strip-libiberty: install-strip-libiberty
22269 install-strip-libiberty: installdirs
22270 @: $(MAKE); $(unstage)
22271 @r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(HOST_EXPORTS) \
22274 (cd $(HOST_SUBDIR)/libiberty && \
22275 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22277 @endif libiberty
22279 # Other targets (info, dvi, pdf, etc.)
22281 .PHONY: maybe-info-libiberty info-libiberty
22282 maybe-info-libiberty:
22283 @if libiberty
22284 maybe-info-libiberty: info-libiberty
22286 info-libiberty: \
22287 configure-libiberty
22288 @[ -f ./libiberty/Makefile ] || exit 0; \
22289 r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 for flag in $(EXTRA_HOST_FLAGS) ; do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 done; \
22295 echo "Doing info in libiberty" ; \
22296 (cd $(HOST_SUBDIR)/libiberty && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22301 info) \
22302 || exit 1
22304 @endif libiberty
22306 .PHONY: maybe-dvi-libiberty dvi-libiberty
22307 maybe-dvi-libiberty:
22308 @if libiberty
22309 maybe-dvi-libiberty: dvi-libiberty
22311 dvi-libiberty: \
22312 configure-libiberty
22313 @[ -f ./libiberty/Makefile ] || exit 0; \
22314 r=`${PWD_COMMAND}`; export r; \
22315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22316 $(HOST_EXPORTS) \
22317 for flag in $(EXTRA_HOST_FLAGS) ; do \
22318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22319 done; \
22320 echo "Doing dvi in libiberty" ; \
22321 (cd $(HOST_SUBDIR)/libiberty && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22326 dvi) \
22327 || exit 1
22329 @endif libiberty
22331 .PHONY: maybe-pdf-libiberty pdf-libiberty
22332 maybe-pdf-libiberty:
22333 @if libiberty
22334 maybe-pdf-libiberty: pdf-libiberty
22336 pdf-libiberty: \
22337 configure-libiberty
22338 @[ -f ./libiberty/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing pdf in libiberty" ; \
22346 (cd $(HOST_SUBDIR)/libiberty && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22351 pdf) \
22352 || exit 1
22354 @endif libiberty
22356 .PHONY: maybe-html-libiberty html-libiberty
22357 maybe-html-libiberty:
22358 @if libiberty
22359 maybe-html-libiberty: html-libiberty
22361 html-libiberty: \
22362 configure-libiberty
22363 @[ -f ./libiberty/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 $(HOST_EXPORTS) \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 done; \
22370 echo "Doing html in libiberty" ; \
22371 (cd $(HOST_SUBDIR)/libiberty && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22376 html) \
22377 || exit 1
22379 @endif libiberty
22381 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22382 maybe-TAGS-libiberty:
22383 @if libiberty
22384 maybe-TAGS-libiberty: TAGS-libiberty
22386 TAGS-libiberty: \
22387 configure-libiberty
22388 @[ -f ./libiberty/Makefile ] || exit 0; \
22389 r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 $(HOST_EXPORTS) \
22392 for flag in $(EXTRA_HOST_FLAGS) ; do \
22393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22394 done; \
22395 echo "Doing TAGS in libiberty" ; \
22396 (cd $(HOST_SUBDIR)/libiberty && \
22397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22399 "RANLIB=$${RANLIB}" \
22400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22401 TAGS) \
22402 || exit 1
22404 @endif libiberty
22406 .PHONY: maybe-install-info-libiberty install-info-libiberty
22407 maybe-install-info-libiberty:
22408 @if libiberty
22409 maybe-install-info-libiberty: install-info-libiberty
22411 install-info-libiberty: \
22412 configure-libiberty \
22413 info-libiberty
22414 @[ -f ./libiberty/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing install-info in libiberty" ; \
22422 (cd $(HOST_SUBDIR)/libiberty && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22427 install-info) \
22428 || exit 1
22430 @endif libiberty
22432 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22433 maybe-install-pdf-libiberty:
22434 @if libiberty
22435 maybe-install-pdf-libiberty: install-pdf-libiberty
22437 install-pdf-libiberty: \
22438 configure-libiberty \
22439 pdf-libiberty
22440 @[ -f ./libiberty/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing install-pdf in libiberty" ; \
22448 (cd $(HOST_SUBDIR)/libiberty && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22453 install-pdf) \
22454 || exit 1
22456 @endif libiberty
22458 .PHONY: maybe-install-html-libiberty install-html-libiberty
22459 maybe-install-html-libiberty:
22460 @if libiberty
22461 maybe-install-html-libiberty: install-html-libiberty
22463 install-html-libiberty: \
22464 configure-libiberty \
22465 html-libiberty
22466 @[ -f ./libiberty/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing install-html in libiberty" ; \
22474 (cd $(HOST_SUBDIR)/libiberty && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22479 install-html) \
22480 || exit 1
22482 @endif libiberty
22484 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22485 maybe-installcheck-libiberty:
22486 @if libiberty
22487 maybe-installcheck-libiberty: installcheck-libiberty
22489 installcheck-libiberty: \
22490 configure-libiberty
22491 @[ -f ./libiberty/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing installcheck in libiberty" ; \
22499 (cd $(HOST_SUBDIR)/libiberty && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22504 installcheck) \
22505 || exit 1
22507 @endif libiberty
22509 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22510 maybe-mostlyclean-libiberty:
22511 @if libiberty
22512 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22514 mostlyclean-libiberty:
22515 @[ -f ./libiberty/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing mostlyclean in libiberty" ; \
22523 (cd $(HOST_SUBDIR)/libiberty && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 mostlyclean) \
22529 || exit 1
22531 @endif libiberty
22533 .PHONY: maybe-clean-libiberty clean-libiberty
22534 maybe-clean-libiberty:
22535 @if libiberty
22536 maybe-clean-libiberty: clean-libiberty
22538 clean-libiberty:
22539 @[ -f ./libiberty/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 clean in libiberty" ; \
22547 (cd $(HOST_SUBDIR)/libiberty && \
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 clean) \
22553 || exit 1
22555 @endif libiberty
22557 .PHONY: maybe-distclean-libiberty distclean-libiberty
22558 maybe-distclean-libiberty:
22559 @if libiberty
22560 maybe-distclean-libiberty: distclean-libiberty
22562 distclean-libiberty:
22563 @[ -f ./libiberty/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 distclean in libiberty" ; \
22571 (cd $(HOST_SUBDIR)/libiberty && \
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 distclean) \
22577 || exit 1
22579 @endif libiberty
22581 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22582 maybe-maintainer-clean-libiberty:
22583 @if libiberty
22584 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22586 maintainer-clean-libiberty:
22587 @[ -f ./libiberty/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 maintainer-clean in libiberty" ; \
22595 (cd $(HOST_SUBDIR)/libiberty && \
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 maintainer-clean) \
22601 || exit 1
22603 @endif libiberty
22607 .PHONY: configure-libiconv maybe-configure-libiconv
22608 maybe-configure-libiconv:
22609 @if gcc-bootstrap
22610 configure-libiconv: stage_current
22611 @endif gcc-bootstrap
22612 @if libiconv
22613 maybe-configure-libiconv: configure-libiconv
22614 configure-libiconv:
22615 @: $(MAKE); $(unstage)
22616 @r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22620 $(HOST_EXPORTS) \
22621 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22622 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22623 case $(srcdir) in \
22624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22625 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22627 esac; \
22628 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22629 libsrcdir="$$s/libiconv"; \
22630 $(SHELL) $${libsrcdir}/configure \
22631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22632 --target=${target_alias} $${srcdiroption} --disable-shared \
22633 || exit 1
22634 @endif libiconv
22640 .PHONY: all-libiconv maybe-all-libiconv
22641 maybe-all-libiconv:
22642 @if gcc-bootstrap
22643 all-libiconv: stage_current
22644 @endif gcc-bootstrap
22645 @if libiconv
22646 TARGET-libiconv=all
22647 maybe-all-libiconv: all-libiconv
22648 all-libiconv: configure-libiconv
22649 @: $(MAKE); $(unstage)
22650 @r=`${PWD_COMMAND}`; export r; \
22651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22652 $(HOST_EXPORTS) \
22653 (cd $(HOST_SUBDIR)/libiconv && \
22654 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22655 $(TARGET-libiconv))
22656 @endif libiconv
22661 .PHONY: check-libiconv maybe-check-libiconv
22662 maybe-check-libiconv:
22663 @if libiconv
22664 maybe-check-libiconv: check-libiconv
22666 check-libiconv:
22667 @: $(MAKE); $(unstage)
22668 @r=`${PWD_COMMAND}`; export r; \
22669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22670 $(HOST_EXPORTS) \
22671 (cd $(HOST_SUBDIR)/libiconv && \
22672 $(MAKE) $(FLAGS_TO_PASS) check)
22674 @endif libiconv
22676 .PHONY: install-libiconv maybe-install-libiconv
22677 maybe-install-libiconv:
22678 @if libiconv
22679 maybe-install-libiconv: install-libiconv
22681 install-libiconv:
22683 @endif libiconv
22685 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22686 maybe-install-strip-libiconv:
22687 @if libiconv
22688 maybe-install-strip-libiconv: install-strip-libiconv
22690 install-strip-libiconv:
22692 @endif libiconv
22694 # Other targets (info, dvi, pdf, etc.)
22696 .PHONY: maybe-info-libiconv info-libiconv
22697 maybe-info-libiconv:
22698 @if libiconv
22699 maybe-info-libiconv: info-libiconv
22701 info-libiconv: \
22702 configure-libiconv
22703 @: $(MAKE); $(unstage)
22704 @[ -f ./libiconv/Makefile ] || exit 0; \
22705 r=`${PWD_COMMAND}`; export r; \
22706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22707 $(HOST_EXPORTS) \
22708 for flag in $(EXTRA_HOST_FLAGS) ; do \
22709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22710 done; \
22711 echo "Doing info in libiconv" ; \
22712 (cd $(HOST_SUBDIR)/libiconv && \
22713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22715 "RANLIB=$${RANLIB}" \
22716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22717 info) \
22718 || exit 1
22720 @endif libiconv
22722 .PHONY: maybe-dvi-libiconv dvi-libiconv
22723 maybe-dvi-libiconv:
22724 @if libiconv
22725 maybe-dvi-libiconv: dvi-libiconv
22727 dvi-libiconv: \
22728 configure-libiconv
22729 @: $(MAKE); $(unstage)
22730 @[ -f ./libiconv/Makefile ] || exit 0; \
22731 r=`${PWD_COMMAND}`; export r; \
22732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22733 $(HOST_EXPORTS) \
22734 for flag in $(EXTRA_HOST_FLAGS) ; do \
22735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22736 done; \
22737 echo "Doing dvi in libiconv" ; \
22738 (cd $(HOST_SUBDIR)/libiconv && \
22739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22741 "RANLIB=$${RANLIB}" \
22742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22743 dvi) \
22744 || exit 1
22746 @endif libiconv
22748 .PHONY: maybe-pdf-libiconv pdf-libiconv
22749 maybe-pdf-libiconv:
22750 @if libiconv
22751 maybe-pdf-libiconv: pdf-libiconv
22753 pdf-libiconv: \
22754 configure-libiconv
22755 @: $(MAKE); $(unstage)
22756 @[ -f ./libiconv/Makefile ] || exit 0; \
22757 r=`${PWD_COMMAND}`; export r; \
22758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22759 $(HOST_EXPORTS) \
22760 for flag in $(EXTRA_HOST_FLAGS) ; do \
22761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22762 done; \
22763 echo "Doing pdf in libiconv" ; \
22764 (cd $(HOST_SUBDIR)/libiconv && \
22765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22767 "RANLIB=$${RANLIB}" \
22768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22769 pdf) \
22770 || exit 1
22772 @endif libiconv
22774 .PHONY: maybe-html-libiconv html-libiconv
22775 maybe-html-libiconv:
22776 @if libiconv
22777 maybe-html-libiconv: html-libiconv
22779 html-libiconv: \
22780 configure-libiconv
22781 @: $(MAKE); $(unstage)
22782 @[ -f ./libiconv/Makefile ] || exit 0; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 $(HOST_EXPORTS) \
22786 for flag in $(EXTRA_HOST_FLAGS) ; do \
22787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22788 done; \
22789 echo "Doing html in libiconv" ; \
22790 (cd $(HOST_SUBDIR)/libiconv && \
22791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793 "RANLIB=$${RANLIB}" \
22794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22795 html) \
22796 || exit 1
22798 @endif libiconv
22800 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22801 maybe-TAGS-libiconv:
22802 @if libiconv
22803 maybe-TAGS-libiconv: TAGS-libiconv
22805 TAGS-libiconv: \
22806 configure-libiconv
22807 @: $(MAKE); $(unstage)
22808 @[ -f ./libiconv/Makefile ] || exit 0; \
22809 r=`${PWD_COMMAND}`; export r; \
22810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 $(HOST_EXPORTS) \
22812 for flag in $(EXTRA_HOST_FLAGS) ; do \
22813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22814 done; \
22815 echo "Doing TAGS in libiconv" ; \
22816 (cd $(HOST_SUBDIR)/libiconv && \
22817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22819 "RANLIB=$${RANLIB}" \
22820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22821 TAGS) \
22822 || exit 1
22824 @endif libiconv
22826 .PHONY: maybe-install-info-libiconv install-info-libiconv
22827 maybe-install-info-libiconv:
22828 @if libiconv
22829 maybe-install-info-libiconv: install-info-libiconv
22831 # libiconv doesn't support install-info.
22832 install-info-libiconv:
22834 @endif libiconv
22836 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22837 maybe-install-pdf-libiconv:
22838 @if libiconv
22839 maybe-install-pdf-libiconv: install-pdf-libiconv
22841 # libiconv doesn't support install-pdf.
22842 install-pdf-libiconv:
22844 @endif libiconv
22846 .PHONY: maybe-install-html-libiconv install-html-libiconv
22847 maybe-install-html-libiconv:
22848 @if libiconv
22849 maybe-install-html-libiconv: install-html-libiconv
22851 # libiconv doesn't support install-html.
22852 install-html-libiconv:
22854 @endif libiconv
22856 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22857 maybe-installcheck-libiconv:
22858 @if libiconv
22859 maybe-installcheck-libiconv: installcheck-libiconv
22861 installcheck-libiconv: \
22862 configure-libiconv
22863 @: $(MAKE); $(unstage)
22864 @[ -f ./libiconv/Makefile ] || exit 0; \
22865 r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(HOST_EXPORTS) \
22868 for flag in $(EXTRA_HOST_FLAGS) ; do \
22869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22870 done; \
22871 echo "Doing installcheck in libiconv" ; \
22872 (cd $(HOST_SUBDIR)/libiconv && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22875 "RANLIB=$${RANLIB}" \
22876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22877 installcheck) \
22878 || exit 1
22880 @endif libiconv
22882 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22883 maybe-mostlyclean-libiconv:
22884 @if libiconv
22885 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22887 mostlyclean-libiconv:
22888 @: $(MAKE); $(unstage)
22889 @[ -f ./libiconv/Makefile ] || exit 0; \
22890 r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 $(HOST_EXPORTS) \
22893 for flag in $(EXTRA_HOST_FLAGS) ; do \
22894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22895 done; \
22896 echo "Doing mostlyclean in libiconv" ; \
22897 (cd $(HOST_SUBDIR)/libiconv && \
22898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22900 "RANLIB=$${RANLIB}" \
22901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22902 mostlyclean) \
22903 || exit 1
22905 @endif libiconv
22907 .PHONY: maybe-clean-libiconv clean-libiconv
22908 maybe-clean-libiconv:
22909 @if libiconv
22910 maybe-clean-libiconv: clean-libiconv
22912 clean-libiconv:
22913 @: $(MAKE); $(unstage)
22914 @[ -f ./libiconv/Makefile ] || exit 0; \
22915 r=`${PWD_COMMAND}`; export r; \
22916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917 $(HOST_EXPORTS) \
22918 for flag in $(EXTRA_HOST_FLAGS) ; do \
22919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22920 done; \
22921 echo "Doing clean in libiconv" ; \
22922 (cd $(HOST_SUBDIR)/libiconv && \
22923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22925 "RANLIB=$${RANLIB}" \
22926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22927 clean) \
22928 || exit 1
22930 @endif libiconv
22932 .PHONY: maybe-distclean-libiconv distclean-libiconv
22933 maybe-distclean-libiconv:
22934 @if libiconv
22935 maybe-distclean-libiconv: distclean-libiconv
22937 distclean-libiconv:
22938 @: $(MAKE); $(unstage)
22939 @[ -f ./libiconv/Makefile ] || exit 0; \
22940 r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 $(HOST_EXPORTS) \
22943 for flag in $(EXTRA_HOST_FLAGS) ; do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945 done; \
22946 echo "Doing distclean in libiconv" ; \
22947 (cd $(HOST_SUBDIR)/libiconv && \
22948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22950 "RANLIB=$${RANLIB}" \
22951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22952 distclean) \
22953 || exit 1
22955 @endif libiconv
22957 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
22958 maybe-maintainer-clean-libiconv:
22959 @if libiconv
22960 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
22962 maintainer-clean-libiconv:
22963 @: $(MAKE); $(unstage)
22964 @[ -f ./libiconv/Makefile ] || exit 0; \
22965 r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 $(HOST_EXPORTS) \
22968 for flag in $(EXTRA_HOST_FLAGS) ; do \
22969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22970 done; \
22971 echo "Doing maintainer-clean in libiconv" ; \
22972 (cd $(HOST_SUBDIR)/libiconv && \
22973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22975 "RANLIB=$${RANLIB}" \
22976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22977 maintainer-clean) \
22978 || exit 1
22980 @endif libiconv
22984 .PHONY: configure-m4 maybe-configure-m4
22985 maybe-configure-m4:
22986 @if gcc-bootstrap
22987 configure-m4: stage_current
22988 @endif gcc-bootstrap
22989 @if m4
22990 maybe-configure-m4: configure-m4
22991 configure-m4:
22992 @: $(MAKE); $(unstage)
22993 @r=`${PWD_COMMAND}`; export r; \
22994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22995 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
22996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
22997 $(HOST_EXPORTS) \
22998 echo Configuring in $(HOST_SUBDIR)/m4; \
22999 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23000 case $(srcdir) in \
23001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23002 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23004 esac; \
23005 srcdiroption="--srcdir=$${topdir}/m4"; \
23006 libsrcdir="$$s/m4"; \
23007 $(SHELL) $${libsrcdir}/configure \
23008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23009 --target=${target_alias} $${srcdiroption} \
23010 || exit 1
23011 @endif m4
23017 .PHONY: all-m4 maybe-all-m4
23018 maybe-all-m4:
23019 @if gcc-bootstrap
23020 all-m4: stage_current
23021 @endif gcc-bootstrap
23022 @if m4
23023 TARGET-m4=all
23024 maybe-all-m4: all-m4
23025 all-m4: configure-m4
23026 @: $(MAKE); $(unstage)
23027 @r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(HOST_EXPORTS) \
23030 (cd $(HOST_SUBDIR)/m4 && \
23031 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23032 $(TARGET-m4))
23033 @endif m4
23038 .PHONY: check-m4 maybe-check-m4
23039 maybe-check-m4:
23040 @if m4
23041 maybe-check-m4: check-m4
23043 check-m4:
23044 @: $(MAKE); $(unstage)
23045 @r=`${PWD_COMMAND}`; export r; \
23046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23047 $(HOST_EXPORTS) \
23048 (cd $(HOST_SUBDIR)/m4 && \
23049 $(MAKE) $(FLAGS_TO_PASS) check)
23051 @endif m4
23053 .PHONY: install-m4 maybe-install-m4
23054 maybe-install-m4:
23055 @if m4
23056 maybe-install-m4: install-m4
23058 install-m4: installdirs
23059 @: $(MAKE); $(unstage)
23060 @r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 $(HOST_EXPORTS) \
23063 (cd $(HOST_SUBDIR)/m4 && \
23064 $(MAKE) $(FLAGS_TO_PASS) install)
23066 @endif m4
23068 .PHONY: install-strip-m4 maybe-install-strip-m4
23069 maybe-install-strip-m4:
23070 @if m4
23071 maybe-install-strip-m4: install-strip-m4
23073 install-strip-m4: installdirs
23074 @: $(MAKE); $(unstage)
23075 @r=`${PWD_COMMAND}`; export r; \
23076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(HOST_EXPORTS) \
23078 (cd $(HOST_SUBDIR)/m4 && \
23079 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23081 @endif m4
23083 # Other targets (info, dvi, pdf, etc.)
23085 .PHONY: maybe-info-m4 info-m4
23086 maybe-info-m4:
23087 @if m4
23088 maybe-info-m4: info-m4
23090 info-m4: \
23091 configure-m4
23092 @: $(MAKE); $(unstage)
23093 @[ -f ./m4/Makefile ] || exit 0; \
23094 r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23096 $(HOST_EXPORTS) \
23097 for flag in $(EXTRA_HOST_FLAGS) ; do \
23098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23099 done; \
23100 echo "Doing info in m4" ; \
23101 (cd $(HOST_SUBDIR)/m4 && \
23102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23104 "RANLIB=$${RANLIB}" \
23105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23106 info) \
23107 || exit 1
23109 @endif m4
23111 .PHONY: maybe-dvi-m4 dvi-m4
23112 maybe-dvi-m4:
23113 @if m4
23114 maybe-dvi-m4: dvi-m4
23116 dvi-m4: \
23117 configure-m4
23118 @: $(MAKE); $(unstage)
23119 @[ -f ./m4/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(HOST_EXPORTS) \
23123 for flag in $(EXTRA_HOST_FLAGS) ; do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 echo "Doing dvi in m4" ; \
23127 (cd $(HOST_SUBDIR)/m4 && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23132 dvi) \
23133 || exit 1
23135 @endif m4
23137 .PHONY: maybe-pdf-m4 pdf-m4
23138 maybe-pdf-m4:
23139 @if m4
23140 maybe-pdf-m4: pdf-m4
23142 pdf-m4: \
23143 configure-m4
23144 @: $(MAKE); $(unstage)
23145 @[ -f ./m4/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 $(HOST_EXPORTS) \
23149 for flag in $(EXTRA_HOST_FLAGS) ; do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 done; \
23152 echo "Doing pdf in m4" ; \
23153 (cd $(HOST_SUBDIR)/m4 && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23158 pdf) \
23159 || exit 1
23161 @endif m4
23163 .PHONY: maybe-html-m4 html-m4
23164 maybe-html-m4:
23165 @if m4
23166 maybe-html-m4: html-m4
23168 html-m4: \
23169 configure-m4
23170 @: $(MAKE); $(unstage)
23171 @[ -f ./m4/Makefile ] || exit 0; \
23172 r=`${PWD_COMMAND}`; export r; \
23173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23174 $(HOST_EXPORTS) \
23175 for flag in $(EXTRA_HOST_FLAGS) ; do \
23176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23177 done; \
23178 echo "Doing html in m4" ; \
23179 (cd $(HOST_SUBDIR)/m4 && \
23180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23182 "RANLIB=$${RANLIB}" \
23183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23184 html) \
23185 || exit 1
23187 @endif m4
23189 .PHONY: maybe-TAGS-m4 TAGS-m4
23190 maybe-TAGS-m4:
23191 @if m4
23192 maybe-TAGS-m4: TAGS-m4
23194 TAGS-m4: \
23195 configure-m4
23196 @: $(MAKE); $(unstage)
23197 @[ -f ./m4/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(HOST_EXPORTS) \
23201 for flag in $(EXTRA_HOST_FLAGS) ; do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 echo "Doing TAGS in m4" ; \
23205 (cd $(HOST_SUBDIR)/m4 && \
23206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208 "RANLIB=$${RANLIB}" \
23209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23210 TAGS) \
23211 || exit 1
23213 @endif m4
23215 .PHONY: maybe-install-info-m4 install-info-m4
23216 maybe-install-info-m4:
23217 @if m4
23218 maybe-install-info-m4: install-info-m4
23220 install-info-m4: \
23221 configure-m4 \
23222 info-m4
23223 @: $(MAKE); $(unstage)
23224 @[ -f ./m4/Makefile ] || exit 0; \
23225 r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23227 $(HOST_EXPORTS) \
23228 for flag in $(EXTRA_HOST_FLAGS) ; do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23230 done; \
23231 echo "Doing install-info in m4" ; \
23232 (cd $(HOST_SUBDIR)/m4 && \
23233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23235 "RANLIB=$${RANLIB}" \
23236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23237 install-info) \
23238 || exit 1
23240 @endif m4
23242 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23243 maybe-install-pdf-m4:
23244 @if m4
23245 maybe-install-pdf-m4: install-pdf-m4
23247 install-pdf-m4: \
23248 configure-m4 \
23249 pdf-m4
23250 @: $(MAKE); $(unstage)
23251 @[ -f ./m4/Makefile ] || exit 0; \
23252 r=`${PWD_COMMAND}`; export r; \
23253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23254 $(HOST_EXPORTS) \
23255 for flag in $(EXTRA_HOST_FLAGS) ; do \
23256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23257 done; \
23258 echo "Doing install-pdf in m4" ; \
23259 (cd $(HOST_SUBDIR)/m4 && \
23260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23262 "RANLIB=$${RANLIB}" \
23263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23264 install-pdf) \
23265 || exit 1
23267 @endif m4
23269 .PHONY: maybe-install-html-m4 install-html-m4
23270 maybe-install-html-m4:
23271 @if m4
23272 maybe-install-html-m4: install-html-m4
23274 install-html-m4: \
23275 configure-m4 \
23276 html-m4
23277 @: $(MAKE); $(unstage)
23278 @[ -f ./m4/Makefile ] || exit 0; \
23279 r=`${PWD_COMMAND}`; export r; \
23280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23281 $(HOST_EXPORTS) \
23282 for flag in $(EXTRA_HOST_FLAGS) ; do \
23283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23284 done; \
23285 echo "Doing install-html in m4" ; \
23286 (cd $(HOST_SUBDIR)/m4 && \
23287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23289 "RANLIB=$${RANLIB}" \
23290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23291 install-html) \
23292 || exit 1
23294 @endif m4
23296 .PHONY: maybe-installcheck-m4 installcheck-m4
23297 maybe-installcheck-m4:
23298 @if m4
23299 maybe-installcheck-m4: installcheck-m4
23301 installcheck-m4: \
23302 configure-m4
23303 @: $(MAKE); $(unstage)
23304 @[ -f ./m4/Makefile ] || exit 0; \
23305 r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 $(HOST_EXPORTS) \
23308 for flag in $(EXTRA_HOST_FLAGS) ; do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310 done; \
23311 echo "Doing installcheck in m4" ; \
23312 (cd $(HOST_SUBDIR)/m4 && \
23313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315 "RANLIB=$${RANLIB}" \
23316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23317 installcheck) \
23318 || exit 1
23320 @endif m4
23322 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23323 maybe-mostlyclean-m4:
23324 @if m4
23325 maybe-mostlyclean-m4: mostlyclean-m4
23327 mostlyclean-m4:
23328 @: $(MAKE); $(unstage)
23329 @[ -f ./m4/Makefile ] || exit 0; \
23330 r=`${PWD_COMMAND}`; export r; \
23331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 $(HOST_EXPORTS) \
23333 for flag in $(EXTRA_HOST_FLAGS) ; do \
23334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23335 done; \
23336 echo "Doing mostlyclean in m4" ; \
23337 (cd $(HOST_SUBDIR)/m4 && \
23338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23340 "RANLIB=$${RANLIB}" \
23341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23342 mostlyclean) \
23343 || exit 1
23345 @endif m4
23347 .PHONY: maybe-clean-m4 clean-m4
23348 maybe-clean-m4:
23349 @if m4
23350 maybe-clean-m4: clean-m4
23352 clean-m4:
23353 @: $(MAKE); $(unstage)
23354 @[ -f ./m4/Makefile ] || exit 0; \
23355 r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(HOST_EXPORTS) \
23358 for flag in $(EXTRA_HOST_FLAGS) ; do \
23359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23360 done; \
23361 echo "Doing clean in m4" ; \
23362 (cd $(HOST_SUBDIR)/m4 && \
23363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23365 "RANLIB=$${RANLIB}" \
23366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23367 clean) \
23368 || exit 1
23370 @endif m4
23372 .PHONY: maybe-distclean-m4 distclean-m4
23373 maybe-distclean-m4:
23374 @if m4
23375 maybe-distclean-m4: distclean-m4
23377 distclean-m4:
23378 @: $(MAKE); $(unstage)
23379 @[ -f ./m4/Makefile ] || exit 0; \
23380 r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(HOST_EXPORTS) \
23383 for flag in $(EXTRA_HOST_FLAGS) ; do \
23384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23385 done; \
23386 echo "Doing distclean in m4" ; \
23387 (cd $(HOST_SUBDIR)/m4 && \
23388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23390 "RANLIB=$${RANLIB}" \
23391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23392 distclean) \
23393 || exit 1
23395 @endif m4
23397 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23398 maybe-maintainer-clean-m4:
23399 @if m4
23400 maybe-maintainer-clean-m4: maintainer-clean-m4
23402 maintainer-clean-m4:
23403 @: $(MAKE); $(unstage)
23404 @[ -f ./m4/Makefile ] || exit 0; \
23405 r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 $(HOST_EXPORTS) \
23408 for flag in $(EXTRA_HOST_FLAGS) ; do \
23409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23410 done; \
23411 echo "Doing maintainer-clean in m4" ; \
23412 (cd $(HOST_SUBDIR)/m4 && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23415 "RANLIB=$${RANLIB}" \
23416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23417 maintainer-clean) \
23418 || exit 1
23420 @endif m4
23424 .PHONY: configure-readline maybe-configure-readline
23425 maybe-configure-readline:
23426 @if gcc-bootstrap
23427 configure-readline: stage_current
23428 @endif gcc-bootstrap
23429 @if readline
23430 maybe-configure-readline: configure-readline
23431 configure-readline:
23432 @: $(MAKE); $(unstage)
23433 @r=`${PWD_COMMAND}`; export r; \
23434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23435 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23437 $(HOST_EXPORTS) \
23438 echo Configuring in $(HOST_SUBDIR)/readline; \
23439 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23440 case $(srcdir) in \
23441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23442 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23444 esac; \
23445 srcdiroption="--srcdir=$${topdir}/readline"; \
23446 libsrcdir="$$s/readline"; \
23447 $(SHELL) $${libsrcdir}/configure \
23448 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23449 --target=${target_alias} $${srcdiroption} \
23450 || exit 1
23451 @endif readline
23457 .PHONY: all-readline maybe-all-readline
23458 maybe-all-readline:
23459 @if gcc-bootstrap
23460 all-readline: stage_current
23461 @endif gcc-bootstrap
23462 @if readline
23463 TARGET-readline=all
23464 maybe-all-readline: all-readline
23465 all-readline: configure-readline
23466 @: $(MAKE); $(unstage)
23467 @r=`${PWD_COMMAND}`; export r; \
23468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23469 $(HOST_EXPORTS) \
23470 (cd $(HOST_SUBDIR)/readline && \
23471 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23472 $(TARGET-readline))
23473 @endif readline
23478 .PHONY: check-readline maybe-check-readline
23479 maybe-check-readline:
23480 @if readline
23481 maybe-check-readline: check-readline
23483 check-readline:
23484 @: $(MAKE); $(unstage)
23485 @r=`${PWD_COMMAND}`; export r; \
23486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23487 $(HOST_EXPORTS) \
23488 (cd $(HOST_SUBDIR)/readline && \
23489 $(MAKE) $(FLAGS_TO_PASS) check)
23491 @endif readline
23493 .PHONY: install-readline maybe-install-readline
23494 maybe-install-readline:
23495 @if readline
23496 maybe-install-readline: install-readline
23498 install-readline: installdirs
23499 @: $(MAKE); $(unstage)
23500 @r=`${PWD_COMMAND}`; export r; \
23501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23502 $(HOST_EXPORTS) \
23503 (cd $(HOST_SUBDIR)/readline && \
23504 $(MAKE) $(FLAGS_TO_PASS) install)
23506 @endif readline
23508 .PHONY: install-strip-readline maybe-install-strip-readline
23509 maybe-install-strip-readline:
23510 @if readline
23511 maybe-install-strip-readline: install-strip-readline
23513 install-strip-readline: installdirs
23514 @: $(MAKE); $(unstage)
23515 @r=`${PWD_COMMAND}`; export r; \
23516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23517 $(HOST_EXPORTS) \
23518 (cd $(HOST_SUBDIR)/readline && \
23519 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23521 @endif readline
23523 # Other targets (info, dvi, pdf, etc.)
23525 .PHONY: maybe-info-readline info-readline
23526 maybe-info-readline:
23527 @if readline
23528 maybe-info-readline: info-readline
23530 info-readline: \
23531 configure-readline
23532 @: $(MAKE); $(unstage)
23533 @[ -f ./readline/Makefile ] || exit 0; \
23534 r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23536 $(HOST_EXPORTS) \
23537 for flag in $(EXTRA_HOST_FLAGS) ; do \
23538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539 done; \
23540 echo "Doing info in readline" ; \
23541 (cd $(HOST_SUBDIR)/readline && \
23542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23544 "RANLIB=$${RANLIB}" \
23545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23546 info) \
23547 || exit 1
23549 @endif readline
23551 .PHONY: maybe-dvi-readline dvi-readline
23552 maybe-dvi-readline:
23553 @if readline
23554 maybe-dvi-readline: dvi-readline
23556 dvi-readline: \
23557 configure-readline
23558 @: $(MAKE); $(unstage)
23559 @[ -f ./readline/Makefile ] || exit 0; \
23560 r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 $(HOST_EXPORTS) \
23563 for flag in $(EXTRA_HOST_FLAGS) ; do \
23564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565 done; \
23566 echo "Doing dvi in readline" ; \
23567 (cd $(HOST_SUBDIR)/readline && \
23568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23570 "RANLIB=$${RANLIB}" \
23571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23572 dvi) \
23573 || exit 1
23575 @endif readline
23577 .PHONY: maybe-pdf-readline pdf-readline
23578 maybe-pdf-readline:
23579 @if readline
23580 maybe-pdf-readline: pdf-readline
23582 pdf-readline: \
23583 configure-readline
23584 @: $(MAKE); $(unstage)
23585 @[ -f ./readline/Makefile ] || exit 0; \
23586 r=`${PWD_COMMAND}`; export r; \
23587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23588 $(HOST_EXPORTS) \
23589 for flag in $(EXTRA_HOST_FLAGS) ; do \
23590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23591 done; \
23592 echo "Doing pdf in readline" ; \
23593 (cd $(HOST_SUBDIR)/readline && \
23594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23596 "RANLIB=$${RANLIB}" \
23597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23598 pdf) \
23599 || exit 1
23601 @endif readline
23603 .PHONY: maybe-html-readline html-readline
23604 maybe-html-readline:
23605 @if readline
23606 maybe-html-readline: html-readline
23608 html-readline: \
23609 configure-readline
23610 @: $(MAKE); $(unstage)
23611 @[ -f ./readline/Makefile ] || exit 0; \
23612 r=`${PWD_COMMAND}`; export r; \
23613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(HOST_EXPORTS) \
23615 for flag in $(EXTRA_HOST_FLAGS) ; do \
23616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23617 done; \
23618 echo "Doing html in readline" ; \
23619 (cd $(HOST_SUBDIR)/readline && \
23620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23622 "RANLIB=$${RANLIB}" \
23623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23624 html) \
23625 || exit 1
23627 @endif readline
23629 .PHONY: maybe-TAGS-readline TAGS-readline
23630 maybe-TAGS-readline:
23631 @if readline
23632 maybe-TAGS-readline: TAGS-readline
23634 TAGS-readline: \
23635 configure-readline
23636 @: $(MAKE); $(unstage)
23637 @[ -f ./readline/Makefile ] || exit 0; \
23638 r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(HOST_EXPORTS) \
23641 for flag in $(EXTRA_HOST_FLAGS) ; do \
23642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23643 done; \
23644 echo "Doing TAGS in readline" ; \
23645 (cd $(HOST_SUBDIR)/readline && \
23646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23648 "RANLIB=$${RANLIB}" \
23649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23650 TAGS) \
23651 || exit 1
23653 @endif readline
23655 .PHONY: maybe-install-info-readline install-info-readline
23656 maybe-install-info-readline:
23657 @if readline
23658 maybe-install-info-readline: install-info-readline
23660 install-info-readline: \
23661 configure-readline \
23662 info-readline
23663 @: $(MAKE); $(unstage)
23664 @[ -f ./readline/Makefile ] || exit 0; \
23665 r=`${PWD_COMMAND}`; export r; \
23666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23667 $(HOST_EXPORTS) \
23668 for flag in $(EXTRA_HOST_FLAGS) ; do \
23669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23670 done; \
23671 echo "Doing install-info in readline" ; \
23672 (cd $(HOST_SUBDIR)/readline && \
23673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23675 "RANLIB=$${RANLIB}" \
23676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23677 install-info) \
23678 || exit 1
23680 @endif readline
23682 .PHONY: maybe-install-pdf-readline install-pdf-readline
23683 maybe-install-pdf-readline:
23684 @if readline
23685 maybe-install-pdf-readline: install-pdf-readline
23687 install-pdf-readline: \
23688 configure-readline \
23689 pdf-readline
23690 @: $(MAKE); $(unstage)
23691 @[ -f ./readline/Makefile ] || exit 0; \
23692 r=`${PWD_COMMAND}`; export r; \
23693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23694 $(HOST_EXPORTS) \
23695 for flag in $(EXTRA_HOST_FLAGS) ; do \
23696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23697 done; \
23698 echo "Doing install-pdf in readline" ; \
23699 (cd $(HOST_SUBDIR)/readline && \
23700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23702 "RANLIB=$${RANLIB}" \
23703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23704 install-pdf) \
23705 || exit 1
23707 @endif readline
23709 .PHONY: maybe-install-html-readline install-html-readline
23710 maybe-install-html-readline:
23711 @if readline
23712 maybe-install-html-readline: install-html-readline
23714 install-html-readline: \
23715 configure-readline \
23716 html-readline
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./readline/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing install-html in readline" ; \
23726 (cd $(HOST_SUBDIR)/readline && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23731 install-html) \
23732 || exit 1
23734 @endif readline
23736 .PHONY: maybe-installcheck-readline installcheck-readline
23737 maybe-installcheck-readline:
23738 @if readline
23739 maybe-installcheck-readline: installcheck-readline
23741 installcheck-readline: \
23742 configure-readline
23743 @: $(MAKE); $(unstage)
23744 @[ -f ./readline/Makefile ] || exit 0; \
23745 r=`${PWD_COMMAND}`; export r; \
23746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23747 $(HOST_EXPORTS) \
23748 for flag in $(EXTRA_HOST_FLAGS) ; do \
23749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23750 done; \
23751 echo "Doing installcheck in readline" ; \
23752 (cd $(HOST_SUBDIR)/readline && \
23753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23755 "RANLIB=$${RANLIB}" \
23756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23757 installcheck) \
23758 || exit 1
23760 @endif readline
23762 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23763 maybe-mostlyclean-readline:
23764 @if readline
23765 maybe-mostlyclean-readline: mostlyclean-readline
23767 mostlyclean-readline:
23768 @: $(MAKE); $(unstage)
23769 @[ -f ./readline/Makefile ] || exit 0; \
23770 r=`${PWD_COMMAND}`; export r; \
23771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23772 $(HOST_EXPORTS) \
23773 for flag in $(EXTRA_HOST_FLAGS) ; do \
23774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23775 done; \
23776 echo "Doing mostlyclean in readline" ; \
23777 (cd $(HOST_SUBDIR)/readline && \
23778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23780 "RANLIB=$${RANLIB}" \
23781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23782 mostlyclean) \
23783 || exit 1
23785 @endif readline
23787 .PHONY: maybe-clean-readline clean-readline
23788 maybe-clean-readline:
23789 @if readline
23790 maybe-clean-readline: clean-readline
23792 clean-readline:
23793 @: $(MAKE); $(unstage)
23794 @[ -f ./readline/Makefile ] || exit 0; \
23795 r=`${PWD_COMMAND}`; export r; \
23796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23797 $(HOST_EXPORTS) \
23798 for flag in $(EXTRA_HOST_FLAGS) ; do \
23799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23800 done; \
23801 echo "Doing clean in readline" ; \
23802 (cd $(HOST_SUBDIR)/readline && \
23803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23805 "RANLIB=$${RANLIB}" \
23806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23807 clean) \
23808 || exit 1
23810 @endif readline
23812 .PHONY: maybe-distclean-readline distclean-readline
23813 maybe-distclean-readline:
23814 @if readline
23815 maybe-distclean-readline: distclean-readline
23817 distclean-readline:
23818 @: $(MAKE); $(unstage)
23819 @[ -f ./readline/Makefile ] || exit 0; \
23820 r=`${PWD_COMMAND}`; export r; \
23821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23822 $(HOST_EXPORTS) \
23823 for flag in $(EXTRA_HOST_FLAGS) ; do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23825 done; \
23826 echo "Doing distclean in readline" ; \
23827 (cd $(HOST_SUBDIR)/readline && \
23828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23830 "RANLIB=$${RANLIB}" \
23831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23832 distclean) \
23833 || exit 1
23835 @endif readline
23837 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23838 maybe-maintainer-clean-readline:
23839 @if readline
23840 maybe-maintainer-clean-readline: maintainer-clean-readline
23842 maintainer-clean-readline:
23843 @: $(MAKE); $(unstage)
23844 @[ -f ./readline/Makefile ] || exit 0; \
23845 r=`${PWD_COMMAND}`; export r; \
23846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23847 $(HOST_EXPORTS) \
23848 for flag in $(EXTRA_HOST_FLAGS) ; do \
23849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23850 done; \
23851 echo "Doing maintainer-clean in readline" ; \
23852 (cd $(HOST_SUBDIR)/readline && \
23853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23855 "RANLIB=$${RANLIB}" \
23856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23857 maintainer-clean) \
23858 || exit 1
23860 @endif readline
23864 .PHONY: configure-sid maybe-configure-sid
23865 maybe-configure-sid:
23866 @if gcc-bootstrap
23867 configure-sid: stage_current
23868 @endif gcc-bootstrap
23869 @if sid
23870 maybe-configure-sid: configure-sid
23871 configure-sid:
23872 @: $(MAKE); $(unstage)
23873 @r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23875 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23877 $(HOST_EXPORTS) \
23878 echo Configuring in $(HOST_SUBDIR)/sid; \
23879 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23880 case $(srcdir) in \
23881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23882 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23884 esac; \
23885 srcdiroption="--srcdir=$${topdir}/sid"; \
23886 libsrcdir="$$s/sid"; \
23887 $(SHELL) $${libsrcdir}/configure \
23888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23889 --target=${target_alias} $${srcdiroption} \
23890 || exit 1
23891 @endif sid
23897 .PHONY: all-sid maybe-all-sid
23898 maybe-all-sid:
23899 @if gcc-bootstrap
23900 all-sid: stage_current
23901 @endif gcc-bootstrap
23902 @if sid
23903 TARGET-sid=all
23904 maybe-all-sid: all-sid
23905 all-sid: configure-sid
23906 @: $(MAKE); $(unstage)
23907 @r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 (cd $(HOST_SUBDIR)/sid && \
23911 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23912 $(TARGET-sid))
23913 @endif sid
23918 .PHONY: check-sid maybe-check-sid
23919 maybe-check-sid:
23920 @if sid
23921 maybe-check-sid: check-sid
23923 check-sid:
23924 @: $(MAKE); $(unstage)
23925 @r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 $(HOST_EXPORTS) \
23928 (cd $(HOST_SUBDIR)/sid && \
23929 $(MAKE) $(FLAGS_TO_PASS) check)
23931 @endif sid
23933 .PHONY: install-sid maybe-install-sid
23934 maybe-install-sid:
23935 @if sid
23936 maybe-install-sid: install-sid
23938 install-sid: installdirs
23939 @: $(MAKE); $(unstage)
23940 @r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 $(HOST_EXPORTS) \
23943 (cd $(HOST_SUBDIR)/sid && \
23944 $(MAKE) $(FLAGS_TO_PASS) install)
23946 @endif sid
23948 .PHONY: install-strip-sid maybe-install-strip-sid
23949 maybe-install-strip-sid:
23950 @if sid
23951 maybe-install-strip-sid: install-strip-sid
23953 install-strip-sid: installdirs
23954 @: $(MAKE); $(unstage)
23955 @r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 $(HOST_EXPORTS) \
23958 (cd $(HOST_SUBDIR)/sid && \
23959 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23961 @endif sid
23963 # Other targets (info, dvi, pdf, etc.)
23965 .PHONY: maybe-info-sid info-sid
23966 maybe-info-sid:
23967 @if sid
23968 maybe-info-sid: info-sid
23970 info-sid: \
23971 configure-sid
23972 @: $(MAKE); $(unstage)
23973 @[ -f ./sid/Makefile ] || exit 0; \
23974 r=`${PWD_COMMAND}`; export r; \
23975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23976 $(HOST_EXPORTS) \
23977 for flag in $(EXTRA_HOST_FLAGS) ; do \
23978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23979 done; \
23980 echo "Doing info in sid" ; \
23981 (cd $(HOST_SUBDIR)/sid && \
23982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23984 "RANLIB=$${RANLIB}" \
23985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23986 info) \
23987 || exit 1
23989 @endif sid
23991 .PHONY: maybe-dvi-sid dvi-sid
23992 maybe-dvi-sid:
23993 @if sid
23994 maybe-dvi-sid: dvi-sid
23996 dvi-sid: \
23997 configure-sid
23998 @: $(MAKE); $(unstage)
23999 @[ -f ./sid/Makefile ] || exit 0; \
24000 r=`${PWD_COMMAND}`; export r; \
24001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24002 $(HOST_EXPORTS) \
24003 for flag in $(EXTRA_HOST_FLAGS) ; do \
24004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24005 done; \
24006 echo "Doing dvi in sid" ; \
24007 (cd $(HOST_SUBDIR)/sid && \
24008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24010 "RANLIB=$${RANLIB}" \
24011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24012 dvi) \
24013 || exit 1
24015 @endif sid
24017 .PHONY: maybe-pdf-sid pdf-sid
24018 maybe-pdf-sid:
24019 @if sid
24020 maybe-pdf-sid: pdf-sid
24022 pdf-sid: \
24023 configure-sid
24024 @: $(MAKE); $(unstage)
24025 @[ -f ./sid/Makefile ] || exit 0; \
24026 r=`${PWD_COMMAND}`; export r; \
24027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24028 $(HOST_EXPORTS) \
24029 for flag in $(EXTRA_HOST_FLAGS) ; do \
24030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24031 done; \
24032 echo "Doing pdf in sid" ; \
24033 (cd $(HOST_SUBDIR)/sid && \
24034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24036 "RANLIB=$${RANLIB}" \
24037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24038 pdf) \
24039 || exit 1
24041 @endif sid
24043 .PHONY: maybe-html-sid html-sid
24044 maybe-html-sid:
24045 @if sid
24046 maybe-html-sid: html-sid
24048 html-sid: \
24049 configure-sid
24050 @: $(MAKE); $(unstage)
24051 @[ -f ./sid/Makefile ] || exit 0; \
24052 r=`${PWD_COMMAND}`; export r; \
24053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24054 $(HOST_EXPORTS) \
24055 for flag in $(EXTRA_HOST_FLAGS) ; do \
24056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24057 done; \
24058 echo "Doing html in sid" ; \
24059 (cd $(HOST_SUBDIR)/sid && \
24060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24062 "RANLIB=$${RANLIB}" \
24063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24064 html) \
24065 || exit 1
24067 @endif sid
24069 .PHONY: maybe-TAGS-sid TAGS-sid
24070 maybe-TAGS-sid:
24071 @if sid
24072 maybe-TAGS-sid: TAGS-sid
24074 TAGS-sid: \
24075 configure-sid
24076 @: $(MAKE); $(unstage)
24077 @[ -f ./sid/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) ; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing TAGS in sid" ; \
24085 (cd $(HOST_SUBDIR)/sid && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24090 TAGS) \
24091 || exit 1
24093 @endif sid
24095 .PHONY: maybe-install-info-sid install-info-sid
24096 maybe-install-info-sid:
24097 @if sid
24098 maybe-install-info-sid: install-info-sid
24100 install-info-sid: \
24101 configure-sid \
24102 info-sid
24103 @: $(MAKE); $(unstage)
24104 @[ -f ./sid/Makefile ] || exit 0; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 for flag in $(EXTRA_HOST_FLAGS) ; do \
24109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24110 done; \
24111 echo "Doing install-info in sid" ; \
24112 (cd $(HOST_SUBDIR)/sid && \
24113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24115 "RANLIB=$${RANLIB}" \
24116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24117 install-info) \
24118 || exit 1
24120 @endif sid
24122 .PHONY: maybe-install-pdf-sid install-pdf-sid
24123 maybe-install-pdf-sid:
24124 @if sid
24125 maybe-install-pdf-sid: install-pdf-sid
24127 install-pdf-sid: \
24128 configure-sid \
24129 pdf-sid
24130 @: $(MAKE); $(unstage)
24131 @[ -f ./sid/Makefile ] || exit 0; \
24132 r=`${PWD_COMMAND}`; export r; \
24133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24134 $(HOST_EXPORTS) \
24135 for flag in $(EXTRA_HOST_FLAGS) ; do \
24136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24137 done; \
24138 echo "Doing install-pdf in sid" ; \
24139 (cd $(HOST_SUBDIR)/sid && \
24140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24142 "RANLIB=$${RANLIB}" \
24143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24144 install-pdf) \
24145 || exit 1
24147 @endif sid
24149 .PHONY: maybe-install-html-sid install-html-sid
24150 maybe-install-html-sid:
24151 @if sid
24152 maybe-install-html-sid: install-html-sid
24154 install-html-sid: \
24155 configure-sid \
24156 html-sid
24157 @: $(MAKE); $(unstage)
24158 @[ -f ./sid/Makefile ] || exit 0; \
24159 r=`${PWD_COMMAND}`; export r; \
24160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24161 $(HOST_EXPORTS) \
24162 for flag in $(EXTRA_HOST_FLAGS) ; do \
24163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24164 done; \
24165 echo "Doing install-html in sid" ; \
24166 (cd $(HOST_SUBDIR)/sid && \
24167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24169 "RANLIB=$${RANLIB}" \
24170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24171 install-html) \
24172 || exit 1
24174 @endif sid
24176 .PHONY: maybe-installcheck-sid installcheck-sid
24177 maybe-installcheck-sid:
24178 @if sid
24179 maybe-installcheck-sid: installcheck-sid
24181 installcheck-sid: \
24182 configure-sid
24183 @: $(MAKE); $(unstage)
24184 @[ -f ./sid/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(HOST_EXPORTS) \
24188 for flag in $(EXTRA_HOST_FLAGS) ; do \
24189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24190 done; \
24191 echo "Doing installcheck in sid" ; \
24192 (cd $(HOST_SUBDIR)/sid && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24195 "RANLIB=$${RANLIB}" \
24196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24197 installcheck) \
24198 || exit 1
24200 @endif sid
24202 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24203 maybe-mostlyclean-sid:
24204 @if sid
24205 maybe-mostlyclean-sid: mostlyclean-sid
24207 mostlyclean-sid:
24208 @: $(MAKE); $(unstage)
24209 @[ -f ./sid/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(HOST_EXPORTS) \
24213 for flag in $(EXTRA_HOST_FLAGS) ; do \
24214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24215 done; \
24216 echo "Doing mostlyclean in sid" ; \
24217 (cd $(HOST_SUBDIR)/sid && \
24218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24220 "RANLIB=$${RANLIB}" \
24221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24222 mostlyclean) \
24223 || exit 1
24225 @endif sid
24227 .PHONY: maybe-clean-sid clean-sid
24228 maybe-clean-sid:
24229 @if sid
24230 maybe-clean-sid: clean-sid
24232 clean-sid:
24233 @: $(MAKE); $(unstage)
24234 @[ -f ./sid/Makefile ] || exit 0; \
24235 r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 $(HOST_EXPORTS) \
24238 for flag in $(EXTRA_HOST_FLAGS) ; do \
24239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24240 done; \
24241 echo "Doing clean in sid" ; \
24242 (cd $(HOST_SUBDIR)/sid && \
24243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24245 "RANLIB=$${RANLIB}" \
24246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24247 clean) \
24248 || exit 1
24250 @endif sid
24252 .PHONY: maybe-distclean-sid distclean-sid
24253 maybe-distclean-sid:
24254 @if sid
24255 maybe-distclean-sid: distclean-sid
24257 distclean-sid:
24258 @: $(MAKE); $(unstage)
24259 @[ -f ./sid/Makefile ] || exit 0; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(HOST_EXPORTS) \
24263 for flag in $(EXTRA_HOST_FLAGS) ; do \
24264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24265 done; \
24266 echo "Doing distclean in sid" ; \
24267 (cd $(HOST_SUBDIR)/sid && \
24268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24270 "RANLIB=$${RANLIB}" \
24271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24272 distclean) \
24273 || exit 1
24275 @endif sid
24277 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24278 maybe-maintainer-clean-sid:
24279 @if sid
24280 maybe-maintainer-clean-sid: maintainer-clean-sid
24282 maintainer-clean-sid:
24283 @: $(MAKE); $(unstage)
24284 @[ -f ./sid/Makefile ] || exit 0; \
24285 r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(HOST_EXPORTS) \
24288 for flag in $(EXTRA_HOST_FLAGS) ; do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 echo "Doing maintainer-clean in sid" ; \
24292 (cd $(HOST_SUBDIR)/sid && \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24295 "RANLIB=$${RANLIB}" \
24296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24297 maintainer-clean) \
24298 || exit 1
24300 @endif sid
24304 .PHONY: configure-sim maybe-configure-sim
24305 maybe-configure-sim:
24306 @if gcc-bootstrap
24307 configure-sim: stage_current
24308 @endif gcc-bootstrap
24309 @if sim
24310 maybe-configure-sim: configure-sim
24311 configure-sim:
24312 @: $(MAKE); $(unstage)
24313 @r=`${PWD_COMMAND}`; export r; \
24314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24315 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24317 $(HOST_EXPORTS) \
24318 echo Configuring in $(HOST_SUBDIR)/sim; \
24319 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24320 case $(srcdir) in \
24321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24322 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24324 esac; \
24325 srcdiroption="--srcdir=$${topdir}/sim"; \
24326 libsrcdir="$$s/sim"; \
24327 $(SHELL) $${libsrcdir}/configure \
24328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24329 --target=${target_alias} $${srcdiroption} \
24330 || exit 1
24331 @endif sim
24337 .PHONY: all-sim maybe-all-sim
24338 maybe-all-sim:
24339 @if gcc-bootstrap
24340 all-sim: stage_current
24341 @endif gcc-bootstrap
24342 @if sim
24343 TARGET-sim=all
24344 maybe-all-sim: all-sim
24345 all-sim: configure-sim
24346 @: $(MAKE); $(unstage)
24347 @r=`${PWD_COMMAND}`; export r; \
24348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24349 $(HOST_EXPORTS) \
24350 (cd $(HOST_SUBDIR)/sim && \
24351 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24352 $(TARGET-sim))
24353 @endif sim
24358 .PHONY: check-sim maybe-check-sim
24359 maybe-check-sim:
24360 @if sim
24361 maybe-check-sim: check-sim
24363 check-sim:
24364 @: $(MAKE); $(unstage)
24365 @r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(HOST_EXPORTS) \
24368 (cd $(HOST_SUBDIR)/sim && \
24369 $(MAKE) $(FLAGS_TO_PASS) check)
24371 @endif sim
24373 .PHONY: install-sim maybe-install-sim
24374 maybe-install-sim:
24375 @if sim
24376 maybe-install-sim: install-sim
24378 install-sim: installdirs
24379 @: $(MAKE); $(unstage)
24380 @r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(HOST_EXPORTS) \
24383 (cd $(HOST_SUBDIR)/sim && \
24384 $(MAKE) $(FLAGS_TO_PASS) install)
24386 @endif sim
24388 .PHONY: install-strip-sim maybe-install-strip-sim
24389 maybe-install-strip-sim:
24390 @if sim
24391 maybe-install-strip-sim: install-strip-sim
24393 install-strip-sim: installdirs
24394 @: $(MAKE); $(unstage)
24395 @r=`${PWD_COMMAND}`; export r; \
24396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24397 $(HOST_EXPORTS) \
24398 (cd $(HOST_SUBDIR)/sim && \
24399 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24401 @endif sim
24403 # Other targets (info, dvi, pdf, etc.)
24405 .PHONY: maybe-info-sim info-sim
24406 maybe-info-sim:
24407 @if sim
24408 maybe-info-sim: info-sim
24410 info-sim: \
24411 configure-sim
24412 @: $(MAKE); $(unstage)
24413 @[ -f ./sim/Makefile ] || exit 0; \
24414 r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 $(HOST_EXPORTS) \
24417 for flag in $(EXTRA_HOST_FLAGS) ; do \
24418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24419 done; \
24420 echo "Doing info in sim" ; \
24421 (cd $(HOST_SUBDIR)/sim && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24426 info) \
24427 || exit 1
24429 @endif sim
24431 .PHONY: maybe-dvi-sim dvi-sim
24432 maybe-dvi-sim:
24433 @if sim
24434 maybe-dvi-sim: dvi-sim
24436 dvi-sim: \
24437 configure-sim
24438 @: $(MAKE); $(unstage)
24439 @[ -f ./sim/Makefile ] || exit 0; \
24440 r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(HOST_EXPORTS) \
24443 for flag in $(EXTRA_HOST_FLAGS) ; do \
24444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24445 done; \
24446 echo "Doing dvi in sim" ; \
24447 (cd $(HOST_SUBDIR)/sim && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24450 "RANLIB=$${RANLIB}" \
24451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24452 dvi) \
24453 || exit 1
24455 @endif sim
24457 .PHONY: maybe-pdf-sim pdf-sim
24458 maybe-pdf-sim:
24459 @if sim
24460 maybe-pdf-sim: pdf-sim
24462 pdf-sim: \
24463 configure-sim
24464 @: $(MAKE); $(unstage)
24465 @[ -f ./sim/Makefile ] || exit 0; \
24466 r=`${PWD_COMMAND}`; export r; \
24467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24468 $(HOST_EXPORTS) \
24469 for flag in $(EXTRA_HOST_FLAGS) ; do \
24470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24471 done; \
24472 echo "Doing pdf in sim" ; \
24473 (cd $(HOST_SUBDIR)/sim && \
24474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24476 "RANLIB=$${RANLIB}" \
24477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24478 pdf) \
24479 || exit 1
24481 @endif sim
24483 .PHONY: maybe-html-sim html-sim
24484 maybe-html-sim:
24485 @if sim
24486 maybe-html-sim: html-sim
24488 html-sim: \
24489 configure-sim
24490 @: $(MAKE); $(unstage)
24491 @[ -f ./sim/Makefile ] || exit 0; \
24492 r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 $(HOST_EXPORTS) \
24495 for flag in $(EXTRA_HOST_FLAGS) ; do \
24496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24497 done; \
24498 echo "Doing html in sim" ; \
24499 (cd $(HOST_SUBDIR)/sim && \
24500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24502 "RANLIB=$${RANLIB}" \
24503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24504 html) \
24505 || exit 1
24507 @endif sim
24509 .PHONY: maybe-TAGS-sim TAGS-sim
24510 maybe-TAGS-sim:
24511 @if sim
24512 maybe-TAGS-sim: TAGS-sim
24514 TAGS-sim: \
24515 configure-sim
24516 @: $(MAKE); $(unstage)
24517 @[ -f ./sim/Makefile ] || exit 0; \
24518 r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 $(HOST_EXPORTS) \
24521 for flag in $(EXTRA_HOST_FLAGS) ; do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24523 done; \
24524 echo "Doing TAGS in sim" ; \
24525 (cd $(HOST_SUBDIR)/sim && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24530 TAGS) \
24531 || exit 1
24533 @endif sim
24535 .PHONY: maybe-install-info-sim install-info-sim
24536 maybe-install-info-sim:
24537 @if sim
24538 maybe-install-info-sim: install-info-sim
24540 install-info-sim: \
24541 configure-sim \
24542 info-sim
24543 @: $(MAKE); $(unstage)
24544 @[ -f ./sim/Makefile ] || exit 0; \
24545 r=`${PWD_COMMAND}`; export r; \
24546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24547 $(HOST_EXPORTS) \
24548 for flag in $(EXTRA_HOST_FLAGS) ; do \
24549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24550 done; \
24551 echo "Doing install-info in sim" ; \
24552 (cd $(HOST_SUBDIR)/sim && \
24553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24555 "RANLIB=$${RANLIB}" \
24556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24557 install-info) \
24558 || exit 1
24560 @endif sim
24562 .PHONY: maybe-install-pdf-sim install-pdf-sim
24563 maybe-install-pdf-sim:
24564 @if sim
24565 maybe-install-pdf-sim: install-pdf-sim
24567 install-pdf-sim: \
24568 configure-sim \
24569 pdf-sim
24570 @: $(MAKE); $(unstage)
24571 @[ -f ./sim/Makefile ] || exit 0; \
24572 r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 for flag in $(EXTRA_HOST_FLAGS) ; do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 echo "Doing install-pdf in sim" ; \
24579 (cd $(HOST_SUBDIR)/sim && \
24580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24582 "RANLIB=$${RANLIB}" \
24583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24584 install-pdf) \
24585 || exit 1
24587 @endif sim
24589 .PHONY: maybe-install-html-sim install-html-sim
24590 maybe-install-html-sim:
24591 @if sim
24592 maybe-install-html-sim: install-html-sim
24594 install-html-sim: \
24595 configure-sim \
24596 html-sim
24597 @: $(MAKE); $(unstage)
24598 @[ -f ./sim/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(HOST_EXPORTS) \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24604 done; \
24605 echo "Doing install-html in sim" ; \
24606 (cd $(HOST_SUBDIR)/sim && \
24607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24609 "RANLIB=$${RANLIB}" \
24610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24611 install-html) \
24612 || exit 1
24614 @endif sim
24616 .PHONY: maybe-installcheck-sim installcheck-sim
24617 maybe-installcheck-sim:
24618 @if sim
24619 maybe-installcheck-sim: installcheck-sim
24621 installcheck-sim: \
24622 configure-sim
24623 @: $(MAKE); $(unstage)
24624 @[ -f ./sim/Makefile ] || exit 0; \
24625 r=`${PWD_COMMAND}`; export r; \
24626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24627 $(HOST_EXPORTS) \
24628 for flag in $(EXTRA_HOST_FLAGS) ; do \
24629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24630 done; \
24631 echo "Doing installcheck in sim" ; \
24632 (cd $(HOST_SUBDIR)/sim && \
24633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24635 "RANLIB=$${RANLIB}" \
24636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24637 installcheck) \
24638 || exit 1
24640 @endif sim
24642 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24643 maybe-mostlyclean-sim:
24644 @if sim
24645 maybe-mostlyclean-sim: mostlyclean-sim
24647 mostlyclean-sim:
24648 @: $(MAKE); $(unstage)
24649 @[ -f ./sim/Makefile ] || exit 0; \
24650 r=`${PWD_COMMAND}`; export r; \
24651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24652 $(HOST_EXPORTS) \
24653 for flag in $(EXTRA_HOST_FLAGS) ; do \
24654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24655 done; \
24656 echo "Doing mostlyclean in sim" ; \
24657 (cd $(HOST_SUBDIR)/sim && \
24658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24660 "RANLIB=$${RANLIB}" \
24661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24662 mostlyclean) \
24663 || exit 1
24665 @endif sim
24667 .PHONY: maybe-clean-sim clean-sim
24668 maybe-clean-sim:
24669 @if sim
24670 maybe-clean-sim: clean-sim
24672 clean-sim:
24673 @: $(MAKE); $(unstage)
24674 @[ -f ./sim/Makefile ] || exit 0; \
24675 r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 for flag in $(EXTRA_HOST_FLAGS) ; do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 echo "Doing clean in sim" ; \
24682 (cd $(HOST_SUBDIR)/sim && \
24683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24685 "RANLIB=$${RANLIB}" \
24686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24687 clean) \
24688 || exit 1
24690 @endif sim
24692 .PHONY: maybe-distclean-sim distclean-sim
24693 maybe-distclean-sim:
24694 @if sim
24695 maybe-distclean-sim: distclean-sim
24697 distclean-sim:
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./sim/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing distclean in sim" ; \
24707 (cd $(HOST_SUBDIR)/sim && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24712 distclean) \
24713 || exit 1
24715 @endif sim
24717 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24718 maybe-maintainer-clean-sim:
24719 @if sim
24720 maybe-maintainer-clean-sim: maintainer-clean-sim
24722 maintainer-clean-sim:
24723 @: $(MAKE); $(unstage)
24724 @[ -f ./sim/Makefile ] || exit 0; \
24725 r=`${PWD_COMMAND}`; export r; \
24726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24727 $(HOST_EXPORTS) \
24728 for flag in $(EXTRA_HOST_FLAGS) ; do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 echo "Doing maintainer-clean in sim" ; \
24732 (cd $(HOST_SUBDIR)/sim && \
24733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24735 "RANLIB=$${RANLIB}" \
24736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24737 maintainer-clean) \
24738 || exit 1
24740 @endif sim
24744 .PHONY: configure-texinfo maybe-configure-texinfo
24745 maybe-configure-texinfo:
24746 @if gcc-bootstrap
24747 configure-texinfo: stage_current
24748 @endif gcc-bootstrap
24749 @if texinfo
24750 maybe-configure-texinfo: configure-texinfo
24751 configure-texinfo:
24752 @: $(MAKE); $(unstage)
24753 @r=`${PWD_COMMAND}`; export r; \
24754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24755 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24757 $(HOST_EXPORTS) \
24758 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24759 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24760 case $(srcdir) in \
24761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24762 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24764 esac; \
24765 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24766 libsrcdir="$$s/texinfo"; \
24767 $(SHELL) $${libsrcdir}/configure \
24768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24769 --target=${target_alias} $${srcdiroption} \
24770 || exit 1
24771 @endif texinfo
24777 .PHONY: all-texinfo maybe-all-texinfo
24778 maybe-all-texinfo:
24779 @if gcc-bootstrap
24780 all-texinfo: stage_current
24781 @endif gcc-bootstrap
24782 @if texinfo
24783 TARGET-texinfo=all
24784 maybe-all-texinfo: all-texinfo
24785 all-texinfo: configure-texinfo
24786 @: $(MAKE); $(unstage)
24787 @r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(HOST_EXPORTS) \
24790 (cd $(HOST_SUBDIR)/texinfo && \
24791 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24792 $(TARGET-texinfo))
24793 @endif texinfo
24798 .PHONY: check-texinfo maybe-check-texinfo
24799 maybe-check-texinfo:
24800 @if texinfo
24801 maybe-check-texinfo: check-texinfo
24803 check-texinfo:
24804 @: $(MAKE); $(unstage)
24805 @r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(HOST_EXPORTS) \
24808 (cd $(HOST_SUBDIR)/texinfo && \
24809 $(MAKE) $(FLAGS_TO_PASS) check)
24811 @endif texinfo
24813 .PHONY: install-texinfo maybe-install-texinfo
24814 maybe-install-texinfo:
24815 @if texinfo
24816 maybe-install-texinfo: install-texinfo
24818 install-texinfo:
24820 @endif texinfo
24822 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24823 maybe-install-strip-texinfo:
24824 @if texinfo
24825 maybe-install-strip-texinfo: install-strip-texinfo
24827 install-strip-texinfo:
24829 @endif texinfo
24831 # Other targets (info, dvi, pdf, etc.)
24833 .PHONY: maybe-info-texinfo info-texinfo
24834 maybe-info-texinfo:
24835 @if texinfo
24836 maybe-info-texinfo: info-texinfo
24838 info-texinfo: \
24839 configure-texinfo
24840 @: $(MAKE); $(unstage)
24841 @[ -f ./texinfo/Makefile ] || exit 0; \
24842 r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 $(HOST_EXPORTS) \
24845 for flag in $(EXTRA_HOST_FLAGS) ; do \
24846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24847 done; \
24848 echo "Doing info in texinfo" ; \
24849 (cd $(HOST_SUBDIR)/texinfo && \
24850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24852 "RANLIB=$${RANLIB}" \
24853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24854 info) \
24855 || exit 1
24857 @endif texinfo
24859 .PHONY: maybe-dvi-texinfo dvi-texinfo
24860 maybe-dvi-texinfo:
24861 @if texinfo
24862 maybe-dvi-texinfo: dvi-texinfo
24864 dvi-texinfo: \
24865 configure-texinfo
24866 @: $(MAKE); $(unstage)
24867 @[ -f ./texinfo/Makefile ] || exit 0; \
24868 r=`${PWD_COMMAND}`; export r; \
24869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24870 $(HOST_EXPORTS) \
24871 for flag in $(EXTRA_HOST_FLAGS) ; do \
24872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24873 done; \
24874 echo "Doing dvi in texinfo" ; \
24875 (cd $(HOST_SUBDIR)/texinfo && \
24876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24878 "RANLIB=$${RANLIB}" \
24879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24880 dvi) \
24881 || exit 1
24883 @endif texinfo
24885 .PHONY: maybe-pdf-texinfo pdf-texinfo
24886 maybe-pdf-texinfo:
24887 @if texinfo
24888 maybe-pdf-texinfo: pdf-texinfo
24890 pdf-texinfo: \
24891 configure-texinfo
24892 @: $(MAKE); $(unstage)
24893 @[ -f ./texinfo/Makefile ] || exit 0; \
24894 r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24896 $(HOST_EXPORTS) \
24897 for flag in $(EXTRA_HOST_FLAGS) ; do \
24898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24899 done; \
24900 echo "Doing pdf in texinfo" ; \
24901 (cd $(HOST_SUBDIR)/texinfo && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24904 "RANLIB=$${RANLIB}" \
24905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24906 pdf) \
24907 || exit 1
24909 @endif texinfo
24911 .PHONY: maybe-html-texinfo html-texinfo
24912 maybe-html-texinfo:
24913 @if texinfo
24914 maybe-html-texinfo: html-texinfo
24916 html-texinfo: \
24917 configure-texinfo
24918 @: $(MAKE); $(unstage)
24919 @[ -f ./texinfo/Makefile ] || exit 0; \
24920 r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(HOST_EXPORTS) \
24923 for flag in $(EXTRA_HOST_FLAGS) ; do \
24924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24925 done; \
24926 echo "Doing html in texinfo" ; \
24927 (cd $(HOST_SUBDIR)/texinfo && \
24928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24930 "RANLIB=$${RANLIB}" \
24931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24932 html) \
24933 || exit 1
24935 @endif texinfo
24937 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24938 maybe-TAGS-texinfo:
24939 @if texinfo
24940 maybe-TAGS-texinfo: TAGS-texinfo
24942 TAGS-texinfo: \
24943 configure-texinfo
24944 @: $(MAKE); $(unstage)
24945 @[ -f ./texinfo/Makefile ] || exit 0; \
24946 r=`${PWD_COMMAND}`; export r; \
24947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24948 $(HOST_EXPORTS) \
24949 for flag in $(EXTRA_HOST_FLAGS) ; do \
24950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24951 done; \
24952 echo "Doing TAGS in texinfo" ; \
24953 (cd $(HOST_SUBDIR)/texinfo && \
24954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24956 "RANLIB=$${RANLIB}" \
24957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24958 TAGS) \
24959 || exit 1
24961 @endif texinfo
24963 .PHONY: maybe-install-info-texinfo install-info-texinfo
24964 maybe-install-info-texinfo:
24965 @if texinfo
24966 maybe-install-info-texinfo: install-info-texinfo
24968 install-info-texinfo: \
24969 configure-texinfo \
24970 info-texinfo
24971 @: $(MAKE); $(unstage)
24972 @[ -f ./texinfo/Makefile ] || exit 0; \
24973 r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 for flag in $(EXTRA_HOST_FLAGS) ; do \
24977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24978 done; \
24979 echo "Doing install-info in texinfo" ; \
24980 (cd $(HOST_SUBDIR)/texinfo && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24985 install-info) \
24986 || exit 1
24988 @endif texinfo
24990 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
24991 maybe-install-pdf-texinfo:
24992 @if texinfo
24993 maybe-install-pdf-texinfo: install-pdf-texinfo
24995 install-pdf-texinfo: \
24996 configure-texinfo \
24997 pdf-texinfo
24998 @: $(MAKE); $(unstage)
24999 @[ -f ./texinfo/Makefile ] || exit 0; \
25000 r=`${PWD_COMMAND}`; export r; \
25001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25002 $(HOST_EXPORTS) \
25003 for flag in $(EXTRA_HOST_FLAGS) ; do \
25004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25005 done; \
25006 echo "Doing install-pdf in texinfo" ; \
25007 (cd $(HOST_SUBDIR)/texinfo && \
25008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25010 "RANLIB=$${RANLIB}" \
25011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25012 install-pdf) \
25013 || exit 1
25015 @endif texinfo
25017 .PHONY: maybe-install-html-texinfo install-html-texinfo
25018 maybe-install-html-texinfo:
25019 @if texinfo
25020 maybe-install-html-texinfo: install-html-texinfo
25022 install-html-texinfo: \
25023 configure-texinfo \
25024 html-texinfo
25025 @: $(MAKE); $(unstage)
25026 @[ -f ./texinfo/Makefile ] || exit 0; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(HOST_EXPORTS) \
25030 for flag in $(EXTRA_HOST_FLAGS) ; do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032 done; \
25033 echo "Doing install-html in texinfo" ; \
25034 (cd $(HOST_SUBDIR)/texinfo && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25039 install-html) \
25040 || exit 1
25042 @endif texinfo
25044 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25045 maybe-installcheck-texinfo:
25046 @if texinfo
25047 maybe-installcheck-texinfo: installcheck-texinfo
25049 installcheck-texinfo: \
25050 configure-texinfo
25051 @: $(MAKE); $(unstage)
25052 @[ -f ./texinfo/Makefile ] || exit 0; \
25053 r=`${PWD_COMMAND}`; export r; \
25054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 $(HOST_EXPORTS) \
25056 for flag in $(EXTRA_HOST_FLAGS) ; do \
25057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25058 done; \
25059 echo "Doing installcheck in texinfo" ; \
25060 (cd $(HOST_SUBDIR)/texinfo && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25065 installcheck) \
25066 || exit 1
25068 @endif texinfo
25070 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25071 maybe-mostlyclean-texinfo:
25072 @if texinfo
25073 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25075 mostlyclean-texinfo:
25076 @: $(MAKE); $(unstage)
25077 @[ -f ./texinfo/Makefile ] || exit 0; \
25078 r=`${PWD_COMMAND}`; export r; \
25079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25080 $(HOST_EXPORTS) \
25081 for flag in $(EXTRA_HOST_FLAGS) ; do \
25082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25083 done; \
25084 echo "Doing mostlyclean in texinfo" ; \
25085 (cd $(HOST_SUBDIR)/texinfo && \
25086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25088 "RANLIB=$${RANLIB}" \
25089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25090 mostlyclean) \
25091 || exit 1
25093 @endif texinfo
25095 .PHONY: maybe-clean-texinfo clean-texinfo
25096 maybe-clean-texinfo:
25097 @if texinfo
25098 maybe-clean-texinfo: clean-texinfo
25100 clean-texinfo:
25101 @: $(MAKE); $(unstage)
25102 @[ -f ./texinfo/Makefile ] || exit 0; \
25103 r=`${PWD_COMMAND}`; export r; \
25104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25105 $(HOST_EXPORTS) \
25106 for flag in $(EXTRA_HOST_FLAGS) ; do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 echo "Doing clean in texinfo" ; \
25110 (cd $(HOST_SUBDIR)/texinfo && \
25111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25113 "RANLIB=$${RANLIB}" \
25114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25115 clean) \
25116 || exit 1
25118 @endif texinfo
25120 .PHONY: maybe-distclean-texinfo distclean-texinfo
25121 maybe-distclean-texinfo:
25122 @if texinfo
25123 maybe-distclean-texinfo: distclean-texinfo
25125 distclean-texinfo:
25126 @: $(MAKE); $(unstage)
25127 @[ -f ./texinfo/Makefile ] || exit 0; \
25128 r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 $(HOST_EXPORTS) \
25131 for flag in $(EXTRA_HOST_FLAGS) ; do \
25132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 done; \
25134 echo "Doing distclean in texinfo" ; \
25135 (cd $(HOST_SUBDIR)/texinfo && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25140 distclean) \
25141 || exit 1
25143 @endif texinfo
25145 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25146 maybe-maintainer-clean-texinfo:
25147 @if texinfo
25148 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25150 maintainer-clean-texinfo:
25151 @: $(MAKE); $(unstage)
25152 @[ -f ./texinfo/Makefile ] || exit 0; \
25153 r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(HOST_EXPORTS) \
25156 for flag in $(EXTRA_HOST_FLAGS) ; do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 done; \
25159 echo "Doing maintainer-clean in texinfo" ; \
25160 (cd $(HOST_SUBDIR)/texinfo && \
25161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25163 "RANLIB=$${RANLIB}" \
25164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25165 maintainer-clean) \
25166 || exit 1
25168 @endif texinfo
25172 .PHONY: configure-zlib maybe-configure-zlib
25173 maybe-configure-zlib:
25174 @if gcc-bootstrap
25175 configure-zlib: stage_current
25176 @endif gcc-bootstrap
25177 @if zlib
25178 maybe-configure-zlib: configure-zlib
25179 configure-zlib:
25180 @r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25184 $(HOST_EXPORTS) \
25185 echo Configuring in $(HOST_SUBDIR)/zlib; \
25186 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25187 case $(srcdir) in \
25188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25189 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25191 esac; \
25192 srcdiroption="--srcdir=$${topdir}/zlib"; \
25193 libsrcdir="$$s/zlib"; \
25194 $(SHELL) $${libsrcdir}/configure \
25195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25196 --target=${target_alias} $${srcdiroption} \
25197 || exit 1
25198 @endif zlib
25202 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25203 maybe-configure-stage1-zlib:
25204 @if zlib-bootstrap
25205 maybe-configure-stage1-zlib: configure-stage1-zlib
25206 configure-stage1-zlib:
25207 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25209 @r=`${PWD_COMMAND}`; export r; \
25210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25211 TFLAGS="$(STAGE1_TFLAGS)"; \
25212 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25213 $(HOST_EXPORTS) \
25214 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25215 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25216 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25217 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25219 cd $(HOST_SUBDIR)/zlib || exit 1; \
25220 case $(srcdir) in \
25221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25222 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25224 esac; \
25225 srcdiroption="--srcdir=$${topdir}/zlib"; \
25226 libsrcdir="$$s/zlib"; \
25227 $(SHELL) $${libsrcdir}/configure \
25228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25229 --target=${target_alias} $${srcdiroption} \
25230 $(STAGE1_CONFIGURE_FLAGS)
25231 @endif zlib-bootstrap
25233 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25234 maybe-configure-stage2-zlib:
25235 @if zlib-bootstrap
25236 maybe-configure-stage2-zlib: configure-stage2-zlib
25237 configure-stage2-zlib:
25238 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25240 @r=`${PWD_COMMAND}`; export r; \
25241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25242 TFLAGS="$(STAGE2_TFLAGS)"; \
25243 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25244 $(HOST_EXPORTS) \
25245 $(POSTSTAGE1_HOST_EXPORTS) \
25246 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25247 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25248 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25249 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25251 cd $(HOST_SUBDIR)/zlib || exit 1; \
25252 case $(srcdir) in \
25253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25254 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25256 esac; \
25257 srcdiroption="--srcdir=$${topdir}/zlib"; \
25258 libsrcdir="$$s/zlib"; \
25259 $(SHELL) $${libsrcdir}/configure \
25260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25261 --target=${target_alias} $${srcdiroption} \
25262 --with-build-libsubdir=$(HOST_SUBDIR) \
25263 $(STAGE2_CONFIGURE_FLAGS)
25264 @endif zlib-bootstrap
25266 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25267 maybe-configure-stage3-zlib:
25268 @if zlib-bootstrap
25269 maybe-configure-stage3-zlib: configure-stage3-zlib
25270 configure-stage3-zlib:
25271 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25273 @r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25275 TFLAGS="$(STAGE3_TFLAGS)"; \
25276 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25277 $(HOST_EXPORTS) \
25278 $(POSTSTAGE1_HOST_EXPORTS) \
25279 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25280 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25281 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25282 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25284 cd $(HOST_SUBDIR)/zlib || exit 1; \
25285 case $(srcdir) in \
25286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25287 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25289 esac; \
25290 srcdiroption="--srcdir=$${topdir}/zlib"; \
25291 libsrcdir="$$s/zlib"; \
25292 $(SHELL) $${libsrcdir}/configure \
25293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25294 --target=${target_alias} $${srcdiroption} \
25295 --with-build-libsubdir=$(HOST_SUBDIR) \
25296 $(STAGE3_CONFIGURE_FLAGS)
25297 @endif zlib-bootstrap
25299 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25300 maybe-configure-stage4-zlib:
25301 @if zlib-bootstrap
25302 maybe-configure-stage4-zlib: configure-stage4-zlib
25303 configure-stage4-zlib:
25304 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25306 @r=`${PWD_COMMAND}`; export r; \
25307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25308 TFLAGS="$(STAGE4_TFLAGS)"; \
25309 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25310 $(HOST_EXPORTS) \
25311 $(POSTSTAGE1_HOST_EXPORTS) \
25312 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25313 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25314 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25315 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25317 cd $(HOST_SUBDIR)/zlib || exit 1; \
25318 case $(srcdir) in \
25319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25320 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25322 esac; \
25323 srcdiroption="--srcdir=$${topdir}/zlib"; \
25324 libsrcdir="$$s/zlib"; \
25325 $(SHELL) $${libsrcdir}/configure \
25326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25327 --target=${target_alias} $${srcdiroption} \
25328 --with-build-libsubdir=$(HOST_SUBDIR) \
25329 $(STAGE4_CONFIGURE_FLAGS)
25330 @endif zlib-bootstrap
25332 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25333 maybe-configure-stageprofile-zlib:
25334 @if zlib-bootstrap
25335 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25336 configure-stageprofile-zlib:
25337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25339 @r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25342 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25343 $(HOST_EXPORTS) \
25344 $(POSTSTAGE1_HOST_EXPORTS) \
25345 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25346 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25347 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25348 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25350 cd $(HOST_SUBDIR)/zlib || exit 1; \
25351 case $(srcdir) in \
25352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25353 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25355 esac; \
25356 srcdiroption="--srcdir=$${topdir}/zlib"; \
25357 libsrcdir="$$s/zlib"; \
25358 $(SHELL) $${libsrcdir}/configure \
25359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25360 --target=${target_alias} $${srcdiroption} \
25361 --with-build-libsubdir=$(HOST_SUBDIR) \
25362 $(STAGEprofile_CONFIGURE_FLAGS)
25363 @endif zlib-bootstrap
25365 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25366 maybe-configure-stagefeedback-zlib:
25367 @if zlib-bootstrap
25368 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25369 configure-stagefeedback-zlib:
25370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25372 @r=`${PWD_COMMAND}`; export r; \
25373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25374 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25375 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25376 $(HOST_EXPORTS) \
25377 $(POSTSTAGE1_HOST_EXPORTS) \
25378 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25379 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25380 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25381 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25383 cd $(HOST_SUBDIR)/zlib || exit 1; \
25384 case $(srcdir) in \
25385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25386 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25388 esac; \
25389 srcdiroption="--srcdir=$${topdir}/zlib"; \
25390 libsrcdir="$$s/zlib"; \
25391 $(SHELL) $${libsrcdir}/configure \
25392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25393 --target=${target_alias} $${srcdiroption} \
25394 --with-build-libsubdir=$(HOST_SUBDIR) \
25395 $(STAGEfeedback_CONFIGURE_FLAGS)
25396 @endif zlib-bootstrap
25402 .PHONY: all-zlib maybe-all-zlib
25403 maybe-all-zlib:
25404 @if gcc-bootstrap
25405 all-zlib: stage_current
25406 @endif gcc-bootstrap
25407 @if zlib
25408 TARGET-zlib=all
25409 maybe-all-zlib: all-zlib
25410 all-zlib: configure-zlib
25411 @r=`${PWD_COMMAND}`; export r; \
25412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25413 $(HOST_EXPORTS) \
25414 (cd $(HOST_SUBDIR)/zlib && \
25415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25416 $(TARGET-zlib))
25417 @endif zlib
25421 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25422 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25423 maybe-all-stage1-zlib:
25424 maybe-clean-stage1-zlib:
25425 @if zlib-bootstrap
25426 maybe-all-stage1-zlib: all-stage1-zlib
25427 all-stage1: all-stage1-zlib
25428 TARGET-stage1-zlib = $(TARGET-zlib)
25429 all-stage1-zlib: configure-stage1-zlib
25430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25431 @r=`${PWD_COMMAND}`; export r; \
25432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25433 TFLAGS="$(STAGE1_TFLAGS)"; \
25434 $(HOST_EXPORTS) \
25435 cd $(HOST_SUBDIR)/zlib && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25437 CFLAGS="$(STAGE1_CFLAGS)" \
25438 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25439 LIBCFLAGS="$(LIBCFLAGS)" \
25440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25443 $(EXTRA_HOST_FLAGS) \
25444 TFLAGS="$(STAGE1_TFLAGS)" \
25445 $(TARGET-stage1-zlib)
25447 maybe-clean-stage1-zlib: clean-stage1-zlib
25448 clean-stage1: clean-stage1-zlib
25449 clean-stage1-zlib:
25450 @if [ $(current_stage) = stage1 ]; then \
25451 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25452 else \
25453 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25454 $(MAKE) stage1-start; \
25455 fi; \
25456 cd $(HOST_SUBDIR)/zlib && \
25457 $(MAKE) $(EXTRA_HOST_FLAGS) \
25458 clean
25459 @endif zlib-bootstrap
25462 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25463 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25464 maybe-all-stage2-zlib:
25465 maybe-clean-stage2-zlib:
25466 @if zlib-bootstrap
25467 maybe-all-stage2-zlib: all-stage2-zlib
25468 all-stage2: all-stage2-zlib
25469 TARGET-stage2-zlib = $(TARGET-zlib)
25470 all-stage2-zlib: configure-stage2-zlib
25471 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25472 @r=`${PWD_COMMAND}`; export r; \
25473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25474 TFLAGS="$(STAGE2_TFLAGS)"; \
25475 $(HOST_EXPORTS) \
25476 $(POSTSTAGE1_HOST_EXPORTS) \
25477 cd $(HOST_SUBDIR)/zlib && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25479 CFLAGS="$(STAGE2_CFLAGS)" \
25480 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25481 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25486 TFLAGS="$(STAGE2_TFLAGS)" \
25487 $(TARGET-stage2-zlib)
25489 maybe-clean-stage2-zlib: clean-stage2-zlib
25490 clean-stage2: clean-stage2-zlib
25491 clean-stage2-zlib:
25492 @if [ $(current_stage) = stage2 ]; then \
25493 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25494 else \
25495 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25496 $(MAKE) stage2-start; \
25497 fi; \
25498 cd $(HOST_SUBDIR)/zlib && \
25499 $(MAKE) $(EXTRA_HOST_FLAGS) \
25500 $(POSTSTAGE1_FLAGS_TO_PASS) \
25501 clean
25502 @endif zlib-bootstrap
25505 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25506 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25507 maybe-all-stage3-zlib:
25508 maybe-clean-stage3-zlib:
25509 @if zlib-bootstrap
25510 maybe-all-stage3-zlib: all-stage3-zlib
25511 all-stage3: all-stage3-zlib
25512 TARGET-stage3-zlib = $(TARGET-zlib)
25513 all-stage3-zlib: configure-stage3-zlib
25514 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25515 @r=`${PWD_COMMAND}`; export r; \
25516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25517 TFLAGS="$(STAGE3_TFLAGS)"; \
25518 $(HOST_EXPORTS) \
25519 $(POSTSTAGE1_HOST_EXPORTS) \
25520 cd $(HOST_SUBDIR)/zlib && \
25521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25522 CFLAGS="$(STAGE3_CFLAGS)" \
25523 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25524 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25529 TFLAGS="$(STAGE3_TFLAGS)" \
25530 $(TARGET-stage3-zlib)
25532 maybe-clean-stage3-zlib: clean-stage3-zlib
25533 clean-stage3: clean-stage3-zlib
25534 clean-stage3-zlib:
25535 @if [ $(current_stage) = stage3 ]; then \
25536 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25537 else \
25538 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25539 $(MAKE) stage3-start; \
25540 fi; \
25541 cd $(HOST_SUBDIR)/zlib && \
25542 $(MAKE) $(EXTRA_HOST_FLAGS) \
25543 $(POSTSTAGE1_FLAGS_TO_PASS) \
25544 clean
25545 @endif zlib-bootstrap
25548 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25549 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25550 maybe-all-stage4-zlib:
25551 maybe-clean-stage4-zlib:
25552 @if zlib-bootstrap
25553 maybe-all-stage4-zlib: all-stage4-zlib
25554 all-stage4: all-stage4-zlib
25555 TARGET-stage4-zlib = $(TARGET-zlib)
25556 all-stage4-zlib: configure-stage4-zlib
25557 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25558 @r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 TFLAGS="$(STAGE4_TFLAGS)"; \
25561 $(HOST_EXPORTS) \
25562 $(POSTSTAGE1_HOST_EXPORTS) \
25563 cd $(HOST_SUBDIR)/zlib && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25565 CFLAGS="$(STAGE4_CFLAGS)" \
25566 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25567 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25572 TFLAGS="$(STAGE4_TFLAGS)" \
25573 $(TARGET-stage4-zlib)
25575 maybe-clean-stage4-zlib: clean-stage4-zlib
25576 clean-stage4: clean-stage4-zlib
25577 clean-stage4-zlib:
25578 @if [ $(current_stage) = stage4 ]; then \
25579 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25580 else \
25581 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25582 $(MAKE) stage4-start; \
25583 fi; \
25584 cd $(HOST_SUBDIR)/zlib && \
25585 $(MAKE) $(EXTRA_HOST_FLAGS) \
25586 $(POSTSTAGE1_FLAGS_TO_PASS) \
25587 clean
25588 @endif zlib-bootstrap
25591 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25592 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25593 maybe-all-stageprofile-zlib:
25594 maybe-clean-stageprofile-zlib:
25595 @if zlib-bootstrap
25596 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25597 all-stageprofile: all-stageprofile-zlib
25598 TARGET-stageprofile-zlib = $(TARGET-zlib)
25599 all-stageprofile-zlib: configure-stageprofile-zlib
25600 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25601 @r=`${PWD_COMMAND}`; export r; \
25602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25603 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25604 $(HOST_EXPORTS) \
25605 $(POSTSTAGE1_HOST_EXPORTS) \
25606 cd $(HOST_SUBDIR)/zlib && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25608 CFLAGS="$(STAGEprofile_CFLAGS)" \
25609 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25610 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25615 TFLAGS="$(STAGEprofile_TFLAGS)" \
25616 $(TARGET-stageprofile-zlib)
25618 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25619 clean-stageprofile: clean-stageprofile-zlib
25620 clean-stageprofile-zlib:
25621 @if [ $(current_stage) = stageprofile ]; then \
25622 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25623 else \
25624 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25625 $(MAKE) stageprofile-start; \
25626 fi; \
25627 cd $(HOST_SUBDIR)/zlib && \
25628 $(MAKE) $(EXTRA_HOST_FLAGS) \
25629 $(POSTSTAGE1_FLAGS_TO_PASS) \
25630 clean
25631 @endif zlib-bootstrap
25634 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25635 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25636 maybe-all-stagefeedback-zlib:
25637 maybe-clean-stagefeedback-zlib:
25638 @if zlib-bootstrap
25639 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25640 all-stagefeedback: all-stagefeedback-zlib
25641 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25642 all-stagefeedback-zlib: configure-stagefeedback-zlib
25643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25644 @r=`${PWD_COMMAND}`; export r; \
25645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25647 $(HOST_EXPORTS) \
25648 $(POSTSTAGE1_HOST_EXPORTS) \
25649 cd $(HOST_SUBDIR)/zlib && \
25650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25651 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25652 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25653 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25658 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25659 $(TARGET-stagefeedback-zlib)
25661 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25662 clean-stagefeedback: clean-stagefeedback-zlib
25663 clean-stagefeedback-zlib:
25664 @if [ $(current_stage) = stagefeedback ]; then \
25665 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25666 else \
25667 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25668 $(MAKE) stagefeedback-start; \
25669 fi; \
25670 cd $(HOST_SUBDIR)/zlib && \
25671 $(MAKE) $(EXTRA_HOST_FLAGS) \
25672 $(POSTSTAGE1_FLAGS_TO_PASS) \
25673 clean
25674 @endif zlib-bootstrap
25680 .PHONY: check-zlib maybe-check-zlib
25681 maybe-check-zlib:
25682 @if zlib
25683 maybe-check-zlib: check-zlib
25685 check-zlib:
25687 @endif zlib
25689 .PHONY: install-zlib maybe-install-zlib
25690 maybe-install-zlib:
25691 @if zlib
25692 maybe-install-zlib: install-zlib
25694 install-zlib:
25696 @endif zlib
25698 .PHONY: install-strip-zlib maybe-install-strip-zlib
25699 maybe-install-strip-zlib:
25700 @if zlib
25701 maybe-install-strip-zlib: install-strip-zlib
25703 install-strip-zlib:
25705 @endif zlib
25707 # Other targets (info, dvi, pdf, etc.)
25709 .PHONY: maybe-info-zlib info-zlib
25710 maybe-info-zlib:
25711 @if zlib
25712 maybe-info-zlib: info-zlib
25714 info-zlib: \
25715 configure-zlib
25716 @[ -f ./zlib/Makefile ] || exit 0; \
25717 r=`${PWD_COMMAND}`; export r; \
25718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25719 $(HOST_EXPORTS) \
25720 for flag in $(EXTRA_HOST_FLAGS) ; do \
25721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25722 done; \
25723 echo "Doing info in zlib" ; \
25724 (cd $(HOST_SUBDIR)/zlib && \
25725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25727 "RANLIB=$${RANLIB}" \
25728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25729 info) \
25730 || exit 1
25732 @endif zlib
25734 .PHONY: maybe-dvi-zlib dvi-zlib
25735 maybe-dvi-zlib:
25736 @if zlib
25737 maybe-dvi-zlib: dvi-zlib
25739 dvi-zlib: \
25740 configure-zlib
25741 @[ -f ./zlib/Makefile ] || exit 0; \
25742 r=`${PWD_COMMAND}`; export r; \
25743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25744 $(HOST_EXPORTS) \
25745 for flag in $(EXTRA_HOST_FLAGS) ; do \
25746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25747 done; \
25748 echo "Doing dvi in zlib" ; \
25749 (cd $(HOST_SUBDIR)/zlib && \
25750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25752 "RANLIB=$${RANLIB}" \
25753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25754 dvi) \
25755 || exit 1
25757 @endif zlib
25759 .PHONY: maybe-pdf-zlib pdf-zlib
25760 maybe-pdf-zlib:
25761 @if zlib
25762 maybe-pdf-zlib: pdf-zlib
25764 pdf-zlib: \
25765 configure-zlib
25766 @[ -f ./zlib/Makefile ] || exit 0; \
25767 r=`${PWD_COMMAND}`; export r; \
25768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25769 $(HOST_EXPORTS) \
25770 for flag in $(EXTRA_HOST_FLAGS) ; do \
25771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25772 done; \
25773 echo "Doing pdf in zlib" ; \
25774 (cd $(HOST_SUBDIR)/zlib && \
25775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25777 "RANLIB=$${RANLIB}" \
25778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25779 pdf) \
25780 || exit 1
25782 @endif zlib
25784 .PHONY: maybe-html-zlib html-zlib
25785 maybe-html-zlib:
25786 @if zlib
25787 maybe-html-zlib: html-zlib
25789 html-zlib: \
25790 configure-zlib
25791 @[ -f ./zlib/Makefile ] || exit 0; \
25792 r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(HOST_EXPORTS) \
25795 for flag in $(EXTRA_HOST_FLAGS) ; do \
25796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25797 done; \
25798 echo "Doing html in zlib" ; \
25799 (cd $(HOST_SUBDIR)/zlib && \
25800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25802 "RANLIB=$${RANLIB}" \
25803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25804 html) \
25805 || exit 1
25807 @endif zlib
25809 .PHONY: maybe-TAGS-zlib TAGS-zlib
25810 maybe-TAGS-zlib:
25811 @if zlib
25812 maybe-TAGS-zlib: TAGS-zlib
25814 TAGS-zlib: \
25815 configure-zlib
25816 @[ -f ./zlib/Makefile ] || exit 0; \
25817 r=`${PWD_COMMAND}`; export r; \
25818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(HOST_EXPORTS) \
25820 for flag in $(EXTRA_HOST_FLAGS) ; do \
25821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25822 done; \
25823 echo "Doing TAGS in zlib" ; \
25824 (cd $(HOST_SUBDIR)/zlib && \
25825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25827 "RANLIB=$${RANLIB}" \
25828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25829 TAGS) \
25830 || exit 1
25832 @endif zlib
25834 .PHONY: maybe-install-info-zlib install-info-zlib
25835 maybe-install-info-zlib:
25836 @if zlib
25837 maybe-install-info-zlib: install-info-zlib
25839 install-info-zlib: \
25840 configure-zlib \
25841 info-zlib
25842 @[ -f ./zlib/Makefile ] || exit 0; \
25843 r=`${PWD_COMMAND}`; export r; \
25844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25845 $(HOST_EXPORTS) \
25846 for flag in $(EXTRA_HOST_FLAGS) ; do \
25847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25848 done; \
25849 echo "Doing install-info in zlib" ; \
25850 (cd $(HOST_SUBDIR)/zlib && \
25851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25853 "RANLIB=$${RANLIB}" \
25854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25855 install-info) \
25856 || exit 1
25858 @endif zlib
25860 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25861 maybe-install-pdf-zlib:
25862 @if zlib
25863 maybe-install-pdf-zlib: install-pdf-zlib
25865 install-pdf-zlib: \
25866 configure-zlib \
25867 pdf-zlib
25868 @[ -f ./zlib/Makefile ] || exit 0; \
25869 r=`${PWD_COMMAND}`; export r; \
25870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(HOST_EXPORTS) \
25872 for flag in $(EXTRA_HOST_FLAGS) ; do \
25873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25874 done; \
25875 echo "Doing install-pdf in zlib" ; \
25876 (cd $(HOST_SUBDIR)/zlib && \
25877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25879 "RANLIB=$${RANLIB}" \
25880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25881 install-pdf) \
25882 || exit 1
25884 @endif zlib
25886 .PHONY: maybe-install-html-zlib install-html-zlib
25887 maybe-install-html-zlib:
25888 @if zlib
25889 maybe-install-html-zlib: install-html-zlib
25891 install-html-zlib: \
25892 configure-zlib \
25893 html-zlib
25894 @[ -f ./zlib/Makefile ] || exit 0; \
25895 r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 $(HOST_EXPORTS) \
25898 for flag in $(EXTRA_HOST_FLAGS) ; do \
25899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25900 done; \
25901 echo "Doing install-html in zlib" ; \
25902 (cd $(HOST_SUBDIR)/zlib && \
25903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25905 "RANLIB=$${RANLIB}" \
25906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25907 install-html) \
25908 || exit 1
25910 @endif zlib
25912 .PHONY: maybe-installcheck-zlib installcheck-zlib
25913 maybe-installcheck-zlib:
25914 @if zlib
25915 maybe-installcheck-zlib: installcheck-zlib
25917 installcheck-zlib: \
25918 configure-zlib
25919 @[ -f ./zlib/Makefile ] || exit 0; \
25920 r=`${PWD_COMMAND}`; export r; \
25921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25922 $(HOST_EXPORTS) \
25923 for flag in $(EXTRA_HOST_FLAGS) ; do \
25924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25925 done; \
25926 echo "Doing installcheck in zlib" ; \
25927 (cd $(HOST_SUBDIR)/zlib && \
25928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25930 "RANLIB=$${RANLIB}" \
25931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25932 installcheck) \
25933 || exit 1
25935 @endif zlib
25937 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25938 maybe-mostlyclean-zlib:
25939 @if zlib
25940 maybe-mostlyclean-zlib: mostlyclean-zlib
25942 mostlyclean-zlib:
25943 @[ -f ./zlib/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 mostlyclean in zlib" ; \
25951 (cd $(HOST_SUBDIR)/zlib && \
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 mostlyclean) \
25957 || exit 1
25959 @endif zlib
25961 .PHONY: maybe-clean-zlib clean-zlib
25962 maybe-clean-zlib:
25963 @if zlib
25964 maybe-clean-zlib: clean-zlib
25966 clean-zlib:
25967 @[ -f ./zlib/Makefile ] || exit 0; \
25968 r=`${PWD_COMMAND}`; export r; \
25969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25970 $(HOST_EXPORTS) \
25971 for flag in $(EXTRA_HOST_FLAGS) ; do \
25972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25973 done; \
25974 echo "Doing clean in zlib" ; \
25975 (cd $(HOST_SUBDIR)/zlib && \
25976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25978 "RANLIB=$${RANLIB}" \
25979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25980 clean) \
25981 || exit 1
25983 @endif zlib
25985 .PHONY: maybe-distclean-zlib distclean-zlib
25986 maybe-distclean-zlib:
25987 @if zlib
25988 maybe-distclean-zlib: distclean-zlib
25990 distclean-zlib:
25991 @[ -f ./zlib/Makefile ] || exit 0; \
25992 r=`${PWD_COMMAND}`; export r; \
25993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25994 $(HOST_EXPORTS) \
25995 for flag in $(EXTRA_HOST_FLAGS) ; do \
25996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25997 done; \
25998 echo "Doing distclean in zlib" ; \
25999 (cd $(HOST_SUBDIR)/zlib && \
26000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26002 "RANLIB=$${RANLIB}" \
26003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26004 distclean) \
26005 || exit 1
26007 @endif zlib
26009 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26010 maybe-maintainer-clean-zlib:
26011 @if zlib
26012 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26014 maintainer-clean-zlib:
26015 @[ -f ./zlib/Makefile ] || exit 0; \
26016 r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 $(HOST_EXPORTS) \
26019 for flag in $(EXTRA_HOST_FLAGS) ; do \
26020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26021 done; \
26022 echo "Doing maintainer-clean in zlib" ; \
26023 (cd $(HOST_SUBDIR)/zlib && \
26024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26026 "RANLIB=$${RANLIB}" \
26027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26028 maintainer-clean) \
26029 || exit 1
26031 @endif zlib
26035 .PHONY: configure-gdb maybe-configure-gdb
26036 maybe-configure-gdb:
26037 @if gcc-bootstrap
26038 configure-gdb: stage_current
26039 @endif gcc-bootstrap
26040 @if gdb
26041 maybe-configure-gdb: configure-gdb
26042 configure-gdb:
26043 @: $(MAKE); $(unstage)
26044 @r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26048 $(HOST_EXPORTS) \
26049 echo Configuring in $(HOST_SUBDIR)/gdb; \
26050 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26051 case $(srcdir) in \
26052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26053 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26055 esac; \
26056 srcdiroption="--srcdir=$${topdir}/gdb"; \
26057 libsrcdir="$$s/gdb"; \
26058 $(SHELL) $${libsrcdir}/configure \
26059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26060 --target=${target_alias} $${srcdiroption} \
26061 || exit 1
26062 @endif gdb
26068 .PHONY: all-gdb maybe-all-gdb
26069 maybe-all-gdb:
26070 @if gcc-bootstrap
26071 all-gdb: stage_current
26072 @endif gcc-bootstrap
26073 @if gdb
26074 TARGET-gdb=all
26075 maybe-all-gdb: all-gdb
26076 all-gdb: configure-gdb
26077 @: $(MAKE); $(unstage)
26078 @r=`${PWD_COMMAND}`; export r; \
26079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26080 $(HOST_EXPORTS) \
26081 (cd $(HOST_SUBDIR)/gdb && \
26082 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26083 $(TARGET-gdb))
26084 @endif gdb
26089 .PHONY: check-gdb maybe-check-gdb
26090 maybe-check-gdb:
26091 @if gdb
26092 maybe-check-gdb: check-gdb
26094 check-gdb:
26095 @: $(MAKE); $(unstage)
26096 @r=`${PWD_COMMAND}`; export r; \
26097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26098 $(HOST_EXPORTS) \
26099 (cd $(HOST_SUBDIR)/gdb && \
26100 $(MAKE) $(FLAGS_TO_PASS) check)
26102 @endif gdb
26104 .PHONY: install-gdb maybe-install-gdb
26105 maybe-install-gdb:
26106 @if gdb
26107 maybe-install-gdb: install-gdb
26109 install-gdb: installdirs
26110 @: $(MAKE); $(unstage)
26111 @r=`${PWD_COMMAND}`; export r; \
26112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113 $(HOST_EXPORTS) \
26114 (cd $(HOST_SUBDIR)/gdb && \
26115 $(MAKE) $(FLAGS_TO_PASS) install)
26117 @endif gdb
26119 .PHONY: install-strip-gdb maybe-install-strip-gdb
26120 maybe-install-strip-gdb:
26121 @if gdb
26122 maybe-install-strip-gdb: install-strip-gdb
26124 install-strip-gdb: installdirs
26125 @: $(MAKE); $(unstage)
26126 @r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(HOST_EXPORTS) \
26129 (cd $(HOST_SUBDIR)/gdb && \
26130 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26132 @endif gdb
26134 # Other targets (info, dvi, pdf, etc.)
26136 .PHONY: maybe-info-gdb info-gdb
26137 maybe-info-gdb:
26138 @if gdb
26139 maybe-info-gdb: info-gdb
26141 info-gdb: \
26142 configure-gdb
26143 @: $(MAKE); $(unstage)
26144 @[ -f ./gdb/Makefile ] || exit 0; \
26145 r=`${PWD_COMMAND}`; export r; \
26146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26147 $(HOST_EXPORTS) \
26148 for flag in $(EXTRA_HOST_FLAGS) ; do \
26149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26150 done; \
26151 echo "Doing info in gdb" ; \
26152 (cd $(HOST_SUBDIR)/gdb && \
26153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26155 "RANLIB=$${RANLIB}" \
26156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26157 info) \
26158 || exit 1
26160 @endif gdb
26162 .PHONY: maybe-dvi-gdb dvi-gdb
26163 maybe-dvi-gdb:
26164 @if gdb
26165 maybe-dvi-gdb: dvi-gdb
26167 dvi-gdb: \
26168 configure-gdb
26169 @: $(MAKE); $(unstage)
26170 @[ -f ./gdb/Makefile ] || exit 0; \
26171 r=`${PWD_COMMAND}`; export r; \
26172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26173 $(HOST_EXPORTS) \
26174 for flag in $(EXTRA_HOST_FLAGS) ; do \
26175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26176 done; \
26177 echo "Doing dvi in gdb" ; \
26178 (cd $(HOST_SUBDIR)/gdb && \
26179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26181 "RANLIB=$${RANLIB}" \
26182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26183 dvi) \
26184 || exit 1
26186 @endif gdb
26188 .PHONY: maybe-pdf-gdb pdf-gdb
26189 maybe-pdf-gdb:
26190 @if gdb
26191 maybe-pdf-gdb: pdf-gdb
26193 pdf-gdb: \
26194 configure-gdb
26195 @: $(MAKE); $(unstage)
26196 @[ -f ./gdb/Makefile ] || exit 0; \
26197 r=`${PWD_COMMAND}`; export r; \
26198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26199 $(HOST_EXPORTS) \
26200 for flag in $(EXTRA_HOST_FLAGS) ; do \
26201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26202 done; \
26203 echo "Doing pdf in gdb" ; \
26204 (cd $(HOST_SUBDIR)/gdb && \
26205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26207 "RANLIB=$${RANLIB}" \
26208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26209 pdf) \
26210 || exit 1
26212 @endif gdb
26214 .PHONY: maybe-html-gdb html-gdb
26215 maybe-html-gdb:
26216 @if gdb
26217 maybe-html-gdb: html-gdb
26219 html-gdb: \
26220 configure-gdb
26221 @: $(MAKE); $(unstage)
26222 @[ -f ./gdb/Makefile ] || exit 0; \
26223 r=`${PWD_COMMAND}`; export r; \
26224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26225 $(HOST_EXPORTS) \
26226 for flag in $(EXTRA_HOST_FLAGS) ; do \
26227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26228 done; \
26229 echo "Doing html in gdb" ; \
26230 (cd $(HOST_SUBDIR)/gdb && \
26231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26233 "RANLIB=$${RANLIB}" \
26234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26235 html) \
26236 || exit 1
26238 @endif gdb
26240 .PHONY: maybe-TAGS-gdb TAGS-gdb
26241 maybe-TAGS-gdb:
26242 @if gdb
26243 maybe-TAGS-gdb: TAGS-gdb
26245 TAGS-gdb: \
26246 configure-gdb
26247 @: $(MAKE); $(unstage)
26248 @[ -f ./gdb/Makefile ] || exit 0; \
26249 r=`${PWD_COMMAND}`; export r; \
26250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26251 $(HOST_EXPORTS) \
26252 for flag in $(EXTRA_HOST_FLAGS) ; do \
26253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26254 done; \
26255 echo "Doing TAGS in gdb" ; \
26256 (cd $(HOST_SUBDIR)/gdb && \
26257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26259 "RANLIB=$${RANLIB}" \
26260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26261 TAGS) \
26262 || exit 1
26264 @endif gdb
26266 .PHONY: maybe-install-info-gdb install-info-gdb
26267 maybe-install-info-gdb:
26268 @if gdb
26269 maybe-install-info-gdb: install-info-gdb
26271 install-info-gdb: \
26272 configure-gdb \
26273 info-gdb
26274 @: $(MAKE); $(unstage)
26275 @[ -f ./gdb/Makefile ] || exit 0; \
26276 r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 $(HOST_EXPORTS) \
26279 for flag in $(EXTRA_HOST_FLAGS) ; do \
26280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26281 done; \
26282 echo "Doing install-info in gdb" ; \
26283 (cd $(HOST_SUBDIR)/gdb && \
26284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26286 "RANLIB=$${RANLIB}" \
26287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26288 install-info) \
26289 || exit 1
26291 @endif gdb
26293 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26294 maybe-install-pdf-gdb:
26295 @if gdb
26296 maybe-install-pdf-gdb: install-pdf-gdb
26298 install-pdf-gdb: \
26299 configure-gdb \
26300 pdf-gdb
26301 @: $(MAKE); $(unstage)
26302 @[ -f ./gdb/Makefile ] || exit 0; \
26303 r=`${PWD_COMMAND}`; export r; \
26304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26305 $(HOST_EXPORTS) \
26306 for flag in $(EXTRA_HOST_FLAGS) ; do \
26307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26308 done; \
26309 echo "Doing install-pdf in gdb" ; \
26310 (cd $(HOST_SUBDIR)/gdb && \
26311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26313 "RANLIB=$${RANLIB}" \
26314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26315 install-pdf) \
26316 || exit 1
26318 @endif gdb
26320 .PHONY: maybe-install-html-gdb install-html-gdb
26321 maybe-install-html-gdb:
26322 @if gdb
26323 maybe-install-html-gdb: install-html-gdb
26325 install-html-gdb: \
26326 configure-gdb \
26327 html-gdb
26328 @: $(MAKE); $(unstage)
26329 @[ -f ./gdb/Makefile ] || exit 0; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(HOST_EXPORTS) \
26333 for flag in $(EXTRA_HOST_FLAGS) ; do \
26334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26335 done; \
26336 echo "Doing install-html in gdb" ; \
26337 (cd $(HOST_SUBDIR)/gdb && \
26338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26340 "RANLIB=$${RANLIB}" \
26341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26342 install-html) \
26343 || exit 1
26345 @endif gdb
26347 .PHONY: maybe-installcheck-gdb installcheck-gdb
26348 maybe-installcheck-gdb:
26349 @if gdb
26350 maybe-installcheck-gdb: installcheck-gdb
26352 installcheck-gdb: \
26353 configure-gdb
26354 @: $(MAKE); $(unstage)
26355 @[ -f ./gdb/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing installcheck in gdb" ; \
26363 (cd $(HOST_SUBDIR)/gdb && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26368 installcheck) \
26369 || exit 1
26371 @endif gdb
26373 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26374 maybe-mostlyclean-gdb:
26375 @if gdb
26376 maybe-mostlyclean-gdb: mostlyclean-gdb
26378 mostlyclean-gdb:
26379 @: $(MAKE); $(unstage)
26380 @[ -f ./gdb/Makefile ] || exit 0; \
26381 r=`${PWD_COMMAND}`; export r; \
26382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26383 $(HOST_EXPORTS) \
26384 for flag in $(EXTRA_HOST_FLAGS) ; do \
26385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26386 done; \
26387 echo "Doing mostlyclean in gdb" ; \
26388 (cd $(HOST_SUBDIR)/gdb && \
26389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26391 "RANLIB=$${RANLIB}" \
26392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26393 mostlyclean) \
26394 || exit 1
26396 @endif gdb
26398 .PHONY: maybe-clean-gdb clean-gdb
26399 maybe-clean-gdb:
26400 @if gdb
26401 maybe-clean-gdb: clean-gdb
26403 clean-gdb:
26404 @: $(MAKE); $(unstage)
26405 @[ -f ./gdb/Makefile ] || exit 0; \
26406 r=`${PWD_COMMAND}`; export r; \
26407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26408 $(HOST_EXPORTS) \
26409 for flag in $(EXTRA_HOST_FLAGS) ; do \
26410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26411 done; \
26412 echo "Doing clean in gdb" ; \
26413 (cd $(HOST_SUBDIR)/gdb && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26418 clean) \
26419 || exit 1
26421 @endif gdb
26423 .PHONY: maybe-distclean-gdb distclean-gdb
26424 maybe-distclean-gdb:
26425 @if gdb
26426 maybe-distclean-gdb: distclean-gdb
26428 distclean-gdb:
26429 @: $(MAKE); $(unstage)
26430 @[ -f ./gdb/Makefile ] || exit 0; \
26431 r=`${PWD_COMMAND}`; export r; \
26432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26433 $(HOST_EXPORTS) \
26434 for flag in $(EXTRA_HOST_FLAGS) ; do \
26435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26436 done; \
26437 echo "Doing distclean in gdb" ; \
26438 (cd $(HOST_SUBDIR)/gdb && \
26439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26441 "RANLIB=$${RANLIB}" \
26442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26443 distclean) \
26444 || exit 1
26446 @endif gdb
26448 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26449 maybe-maintainer-clean-gdb:
26450 @if gdb
26451 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26453 maintainer-clean-gdb:
26454 @: $(MAKE); $(unstage)
26455 @[ -f ./gdb/Makefile ] || exit 0; \
26456 r=`${PWD_COMMAND}`; export r; \
26457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26458 $(HOST_EXPORTS) \
26459 for flag in $(EXTRA_HOST_FLAGS) ; do \
26460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26461 done; \
26462 echo "Doing maintainer-clean in gdb" ; \
26463 (cd $(HOST_SUBDIR)/gdb && \
26464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26466 "RANLIB=$${RANLIB}" \
26467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26468 maintainer-clean) \
26469 || exit 1
26471 @endif gdb
26475 .PHONY: configure-expect maybe-configure-expect
26476 maybe-configure-expect:
26477 @if gcc-bootstrap
26478 configure-expect: stage_current
26479 @endif gcc-bootstrap
26480 @if expect
26481 maybe-configure-expect: configure-expect
26482 configure-expect:
26483 @: $(MAKE); $(unstage)
26484 @r=`${PWD_COMMAND}`; export r; \
26485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26486 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26488 $(HOST_EXPORTS) \
26489 echo Configuring in $(HOST_SUBDIR)/expect; \
26490 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26491 case $(srcdir) in \
26492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26493 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26495 esac; \
26496 srcdiroption="--srcdir=$${topdir}/expect"; \
26497 libsrcdir="$$s/expect"; \
26498 $(SHELL) $${libsrcdir}/configure \
26499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26500 --target=${target_alias} $${srcdiroption} \
26501 || exit 1
26502 @endif expect
26508 .PHONY: all-expect maybe-all-expect
26509 maybe-all-expect:
26510 @if gcc-bootstrap
26511 all-expect: stage_current
26512 @endif gcc-bootstrap
26513 @if expect
26514 TARGET-expect=all
26515 maybe-all-expect: all-expect
26516 all-expect: configure-expect
26517 @: $(MAKE); $(unstage)
26518 @r=`${PWD_COMMAND}`; export r; \
26519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26520 $(HOST_EXPORTS) \
26521 (cd $(HOST_SUBDIR)/expect && \
26522 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26523 $(TARGET-expect))
26524 @endif expect
26529 .PHONY: check-expect maybe-check-expect
26530 maybe-check-expect:
26531 @if expect
26532 maybe-check-expect: check-expect
26534 check-expect:
26535 @: $(MAKE); $(unstage)
26536 @r=`${PWD_COMMAND}`; export r; \
26537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26538 $(HOST_EXPORTS) \
26539 (cd $(HOST_SUBDIR)/expect && \
26540 $(MAKE) $(FLAGS_TO_PASS) check)
26542 @endif expect
26544 .PHONY: install-expect maybe-install-expect
26545 maybe-install-expect:
26546 @if expect
26547 maybe-install-expect: install-expect
26549 install-expect: installdirs
26550 @: $(MAKE); $(unstage)
26551 @r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(HOST_EXPORTS) \
26554 (cd $(HOST_SUBDIR)/expect && \
26555 $(MAKE) $(FLAGS_TO_PASS) install)
26557 @endif expect
26559 .PHONY: install-strip-expect maybe-install-strip-expect
26560 maybe-install-strip-expect:
26561 @if expect
26562 maybe-install-strip-expect: install-strip-expect
26564 install-strip-expect: installdirs
26565 @: $(MAKE); $(unstage)
26566 @r=`${PWD_COMMAND}`; export r; \
26567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26568 $(HOST_EXPORTS) \
26569 (cd $(HOST_SUBDIR)/expect && \
26570 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26572 @endif expect
26574 # Other targets (info, dvi, pdf, etc.)
26576 .PHONY: maybe-info-expect info-expect
26577 maybe-info-expect:
26578 @if expect
26579 maybe-info-expect: info-expect
26581 info-expect: \
26582 configure-expect
26583 @: $(MAKE); $(unstage)
26584 @[ -f ./expect/Makefile ] || exit 0; \
26585 r=`${PWD_COMMAND}`; export r; \
26586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26587 $(HOST_EXPORTS) \
26588 for flag in $(EXTRA_HOST_FLAGS) ; do \
26589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26590 done; \
26591 echo "Doing info in expect" ; \
26592 (cd $(HOST_SUBDIR)/expect && \
26593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26595 "RANLIB=$${RANLIB}" \
26596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26597 info) \
26598 || exit 1
26600 @endif expect
26602 .PHONY: maybe-dvi-expect dvi-expect
26603 maybe-dvi-expect:
26604 @if expect
26605 maybe-dvi-expect: dvi-expect
26607 dvi-expect: \
26608 configure-expect
26609 @: $(MAKE); $(unstage)
26610 @[ -f ./expect/Makefile ] || exit 0; \
26611 r=`${PWD_COMMAND}`; export r; \
26612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26613 $(HOST_EXPORTS) \
26614 for flag in $(EXTRA_HOST_FLAGS) ; do \
26615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26616 done; \
26617 echo "Doing dvi in expect" ; \
26618 (cd $(HOST_SUBDIR)/expect && \
26619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26621 "RANLIB=$${RANLIB}" \
26622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26623 dvi) \
26624 || exit 1
26626 @endif expect
26628 .PHONY: maybe-pdf-expect pdf-expect
26629 maybe-pdf-expect:
26630 @if expect
26631 maybe-pdf-expect: pdf-expect
26633 pdf-expect: \
26634 configure-expect
26635 @: $(MAKE); $(unstage)
26636 @[ -f ./expect/Makefile ] || exit 0; \
26637 r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(HOST_EXPORTS) \
26640 for flag in $(EXTRA_HOST_FLAGS) ; do \
26641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26642 done; \
26643 echo "Doing pdf in expect" ; \
26644 (cd $(HOST_SUBDIR)/expect && \
26645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26647 "RANLIB=$${RANLIB}" \
26648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26649 pdf) \
26650 || exit 1
26652 @endif expect
26654 .PHONY: maybe-html-expect html-expect
26655 maybe-html-expect:
26656 @if expect
26657 maybe-html-expect: html-expect
26659 html-expect: \
26660 configure-expect
26661 @: $(MAKE); $(unstage)
26662 @[ -f ./expect/Makefile ] || exit 0; \
26663 r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(HOST_EXPORTS) \
26666 for flag in $(EXTRA_HOST_FLAGS) ; do \
26667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26668 done; \
26669 echo "Doing html in expect" ; \
26670 (cd $(HOST_SUBDIR)/expect && \
26671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26673 "RANLIB=$${RANLIB}" \
26674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26675 html) \
26676 || exit 1
26678 @endif expect
26680 .PHONY: maybe-TAGS-expect TAGS-expect
26681 maybe-TAGS-expect:
26682 @if expect
26683 maybe-TAGS-expect: TAGS-expect
26685 TAGS-expect: \
26686 configure-expect
26687 @: $(MAKE); $(unstage)
26688 @[ -f ./expect/Makefile ] || exit 0; \
26689 r=`${PWD_COMMAND}`; export r; \
26690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26691 $(HOST_EXPORTS) \
26692 for flag in $(EXTRA_HOST_FLAGS) ; do \
26693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26694 done; \
26695 echo "Doing TAGS in expect" ; \
26696 (cd $(HOST_SUBDIR)/expect && \
26697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26699 "RANLIB=$${RANLIB}" \
26700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26701 TAGS) \
26702 || exit 1
26704 @endif expect
26706 .PHONY: maybe-install-info-expect install-info-expect
26707 maybe-install-info-expect:
26708 @if expect
26709 maybe-install-info-expect: install-info-expect
26711 install-info-expect: \
26712 configure-expect \
26713 info-expect
26714 @: $(MAKE); $(unstage)
26715 @[ -f ./expect/Makefile ] || exit 0; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 for flag in $(EXTRA_HOST_FLAGS) ; do \
26720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26721 done; \
26722 echo "Doing install-info in expect" ; \
26723 (cd $(HOST_SUBDIR)/expect && \
26724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26726 "RANLIB=$${RANLIB}" \
26727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26728 install-info) \
26729 || exit 1
26731 @endif expect
26733 .PHONY: maybe-install-pdf-expect install-pdf-expect
26734 maybe-install-pdf-expect:
26735 @if expect
26736 maybe-install-pdf-expect: install-pdf-expect
26738 install-pdf-expect: \
26739 configure-expect \
26740 pdf-expect
26741 @: $(MAKE); $(unstage)
26742 @[ -f ./expect/Makefile ] || exit 0; \
26743 r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 $(HOST_EXPORTS) \
26746 for flag in $(EXTRA_HOST_FLAGS) ; do \
26747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26748 done; \
26749 echo "Doing install-pdf in expect" ; \
26750 (cd $(HOST_SUBDIR)/expect && \
26751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26753 "RANLIB=$${RANLIB}" \
26754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26755 install-pdf) \
26756 || exit 1
26758 @endif expect
26760 .PHONY: maybe-install-html-expect install-html-expect
26761 maybe-install-html-expect:
26762 @if expect
26763 maybe-install-html-expect: install-html-expect
26765 install-html-expect: \
26766 configure-expect \
26767 html-expect
26768 @: $(MAKE); $(unstage)
26769 @[ -f ./expect/Makefile ] || exit 0; \
26770 r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 for flag in $(EXTRA_HOST_FLAGS) ; do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 echo "Doing install-html in expect" ; \
26777 (cd $(HOST_SUBDIR)/expect && \
26778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26780 "RANLIB=$${RANLIB}" \
26781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26782 install-html) \
26783 || exit 1
26785 @endif expect
26787 .PHONY: maybe-installcheck-expect installcheck-expect
26788 maybe-installcheck-expect:
26789 @if expect
26790 maybe-installcheck-expect: installcheck-expect
26792 installcheck-expect: \
26793 configure-expect
26794 @: $(MAKE); $(unstage)
26795 @[ -f ./expect/Makefile ] || exit 0; \
26796 r=`${PWD_COMMAND}`; export r; \
26797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26798 $(HOST_EXPORTS) \
26799 for flag in $(EXTRA_HOST_FLAGS) ; do \
26800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26801 done; \
26802 echo "Doing installcheck in expect" ; \
26803 (cd $(HOST_SUBDIR)/expect && \
26804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26806 "RANLIB=$${RANLIB}" \
26807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26808 installcheck) \
26809 || exit 1
26811 @endif expect
26813 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26814 maybe-mostlyclean-expect:
26815 @if expect
26816 maybe-mostlyclean-expect: mostlyclean-expect
26818 mostlyclean-expect:
26819 @: $(MAKE); $(unstage)
26820 @[ -f ./expect/Makefile ] || exit 0; \
26821 r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 $(HOST_EXPORTS) \
26824 for flag in $(EXTRA_HOST_FLAGS) ; do \
26825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26826 done; \
26827 echo "Doing mostlyclean in expect" ; \
26828 (cd $(HOST_SUBDIR)/expect && \
26829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26831 "RANLIB=$${RANLIB}" \
26832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26833 mostlyclean) \
26834 || exit 1
26836 @endif expect
26838 .PHONY: maybe-clean-expect clean-expect
26839 maybe-clean-expect:
26840 @if expect
26841 maybe-clean-expect: clean-expect
26843 clean-expect:
26844 @: $(MAKE); $(unstage)
26845 @[ -f ./expect/Makefile ] || exit 0; \
26846 r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 $(HOST_EXPORTS) \
26849 for flag in $(EXTRA_HOST_FLAGS) ; do \
26850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26851 done; \
26852 echo "Doing clean in expect" ; \
26853 (cd $(HOST_SUBDIR)/expect && \
26854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26856 "RANLIB=$${RANLIB}" \
26857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26858 clean) \
26859 || exit 1
26861 @endif expect
26863 .PHONY: maybe-distclean-expect distclean-expect
26864 maybe-distclean-expect:
26865 @if expect
26866 maybe-distclean-expect: distclean-expect
26868 distclean-expect:
26869 @: $(MAKE); $(unstage)
26870 @[ -f ./expect/Makefile ] || exit 0; \
26871 r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(HOST_EXPORTS) \
26874 for flag in $(EXTRA_HOST_FLAGS) ; do \
26875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26876 done; \
26877 echo "Doing distclean in expect" ; \
26878 (cd $(HOST_SUBDIR)/expect && \
26879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26881 "RANLIB=$${RANLIB}" \
26882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26883 distclean) \
26884 || exit 1
26886 @endif expect
26888 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26889 maybe-maintainer-clean-expect:
26890 @if expect
26891 maybe-maintainer-clean-expect: maintainer-clean-expect
26893 maintainer-clean-expect:
26894 @: $(MAKE); $(unstage)
26895 @[ -f ./expect/Makefile ] || exit 0; \
26896 r=`${PWD_COMMAND}`; export r; \
26897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26898 $(HOST_EXPORTS) \
26899 for flag in $(EXTRA_HOST_FLAGS) ; do \
26900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26901 done; \
26902 echo "Doing maintainer-clean in expect" ; \
26903 (cd $(HOST_SUBDIR)/expect && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26906 "RANLIB=$${RANLIB}" \
26907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26908 maintainer-clean) \
26909 || exit 1
26911 @endif expect
26915 .PHONY: configure-guile maybe-configure-guile
26916 maybe-configure-guile:
26917 @if gcc-bootstrap
26918 configure-guile: stage_current
26919 @endif gcc-bootstrap
26920 @if guile
26921 maybe-configure-guile: configure-guile
26922 configure-guile:
26923 @: $(MAKE); $(unstage)
26924 @r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26928 $(HOST_EXPORTS) \
26929 echo Configuring in $(HOST_SUBDIR)/guile; \
26930 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26931 case $(srcdir) in \
26932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26933 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26935 esac; \
26936 srcdiroption="--srcdir=$${topdir}/guile"; \
26937 libsrcdir="$$s/guile"; \
26938 $(SHELL) $${libsrcdir}/configure \
26939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26940 --target=${target_alias} $${srcdiroption} \
26941 || exit 1
26942 @endif guile
26948 .PHONY: all-guile maybe-all-guile
26949 maybe-all-guile:
26950 @if gcc-bootstrap
26951 all-guile: stage_current
26952 @endif gcc-bootstrap
26953 @if guile
26954 TARGET-guile=all
26955 maybe-all-guile: all-guile
26956 all-guile: configure-guile
26957 @: $(MAKE); $(unstage)
26958 @r=`${PWD_COMMAND}`; export r; \
26959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26960 $(HOST_EXPORTS) \
26961 (cd $(HOST_SUBDIR)/guile && \
26962 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26963 $(TARGET-guile))
26964 @endif guile
26969 .PHONY: check-guile maybe-check-guile
26970 maybe-check-guile:
26971 @if guile
26972 maybe-check-guile: check-guile
26974 check-guile:
26975 @: $(MAKE); $(unstage)
26976 @r=`${PWD_COMMAND}`; export r; \
26977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26978 $(HOST_EXPORTS) \
26979 (cd $(HOST_SUBDIR)/guile && \
26980 $(MAKE) $(FLAGS_TO_PASS) check)
26982 @endif guile
26984 .PHONY: install-guile maybe-install-guile
26985 maybe-install-guile:
26986 @if guile
26987 maybe-install-guile: install-guile
26989 install-guile: installdirs
26990 @: $(MAKE); $(unstage)
26991 @r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(HOST_EXPORTS) \
26994 (cd $(HOST_SUBDIR)/guile && \
26995 $(MAKE) $(FLAGS_TO_PASS) install)
26997 @endif guile
26999 .PHONY: install-strip-guile maybe-install-strip-guile
27000 maybe-install-strip-guile:
27001 @if guile
27002 maybe-install-strip-guile: install-strip-guile
27004 install-strip-guile: installdirs
27005 @: $(MAKE); $(unstage)
27006 @r=`${PWD_COMMAND}`; export r; \
27007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27008 $(HOST_EXPORTS) \
27009 (cd $(HOST_SUBDIR)/guile && \
27010 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27012 @endif guile
27014 # Other targets (info, dvi, pdf, etc.)
27016 .PHONY: maybe-info-guile info-guile
27017 maybe-info-guile:
27018 @if guile
27019 maybe-info-guile: info-guile
27021 info-guile: \
27022 configure-guile
27023 @: $(MAKE); $(unstage)
27024 @[ -f ./guile/Makefile ] || exit 0; \
27025 r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 $(HOST_EXPORTS) \
27028 for flag in $(EXTRA_HOST_FLAGS) ; do \
27029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27030 done; \
27031 echo "Doing info in guile" ; \
27032 (cd $(HOST_SUBDIR)/guile && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27037 info) \
27038 || exit 1
27040 @endif guile
27042 .PHONY: maybe-dvi-guile dvi-guile
27043 maybe-dvi-guile:
27044 @if guile
27045 maybe-dvi-guile: dvi-guile
27047 dvi-guile: \
27048 configure-guile
27049 @: $(MAKE); $(unstage)
27050 @[ -f ./guile/Makefile ] || exit 0; \
27051 r=`${PWD_COMMAND}`; export r; \
27052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27053 $(HOST_EXPORTS) \
27054 for flag in $(EXTRA_HOST_FLAGS) ; do \
27055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27056 done; \
27057 echo "Doing dvi in guile" ; \
27058 (cd $(HOST_SUBDIR)/guile && \
27059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27061 "RANLIB=$${RANLIB}" \
27062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27063 dvi) \
27064 || exit 1
27066 @endif guile
27068 .PHONY: maybe-pdf-guile pdf-guile
27069 maybe-pdf-guile:
27070 @if guile
27071 maybe-pdf-guile: pdf-guile
27073 pdf-guile: \
27074 configure-guile
27075 @: $(MAKE); $(unstage)
27076 @[ -f ./guile/Makefile ] || exit 0; \
27077 r=`${PWD_COMMAND}`; export r; \
27078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 $(HOST_EXPORTS) \
27080 for flag in $(EXTRA_HOST_FLAGS) ; do \
27081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27082 done; \
27083 echo "Doing pdf in guile" ; \
27084 (cd $(HOST_SUBDIR)/guile && \
27085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27087 "RANLIB=$${RANLIB}" \
27088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27089 pdf) \
27090 || exit 1
27092 @endif guile
27094 .PHONY: maybe-html-guile html-guile
27095 maybe-html-guile:
27096 @if guile
27097 maybe-html-guile: html-guile
27099 html-guile: \
27100 configure-guile
27101 @: $(MAKE); $(unstage)
27102 @[ -f ./guile/Makefile ] || exit 0; \
27103 r=`${PWD_COMMAND}`; export r; \
27104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27105 $(HOST_EXPORTS) \
27106 for flag in $(EXTRA_HOST_FLAGS) ; do \
27107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27108 done; \
27109 echo "Doing html in guile" ; \
27110 (cd $(HOST_SUBDIR)/guile && \
27111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27113 "RANLIB=$${RANLIB}" \
27114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27115 html) \
27116 || exit 1
27118 @endif guile
27120 .PHONY: maybe-TAGS-guile TAGS-guile
27121 maybe-TAGS-guile:
27122 @if guile
27123 maybe-TAGS-guile: TAGS-guile
27125 TAGS-guile: \
27126 configure-guile
27127 @: $(MAKE); $(unstage)
27128 @[ -f ./guile/Makefile ] || exit 0; \
27129 r=`${PWD_COMMAND}`; export r; \
27130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27131 $(HOST_EXPORTS) \
27132 for flag in $(EXTRA_HOST_FLAGS) ; do \
27133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27134 done; \
27135 echo "Doing TAGS in guile" ; \
27136 (cd $(HOST_SUBDIR)/guile && \
27137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27139 "RANLIB=$${RANLIB}" \
27140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27141 TAGS) \
27142 || exit 1
27144 @endif guile
27146 .PHONY: maybe-install-info-guile install-info-guile
27147 maybe-install-info-guile:
27148 @if guile
27149 maybe-install-info-guile: install-info-guile
27151 install-info-guile: \
27152 configure-guile \
27153 info-guile
27154 @: $(MAKE); $(unstage)
27155 @[ -f ./guile/Makefile ] || exit 0; \
27156 r=`${PWD_COMMAND}`; export r; \
27157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27158 $(HOST_EXPORTS) \
27159 for flag in $(EXTRA_HOST_FLAGS) ; do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27161 done; \
27162 echo "Doing install-info in guile" ; \
27163 (cd $(HOST_SUBDIR)/guile && \
27164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27166 "RANLIB=$${RANLIB}" \
27167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27168 install-info) \
27169 || exit 1
27171 @endif guile
27173 .PHONY: maybe-install-pdf-guile install-pdf-guile
27174 maybe-install-pdf-guile:
27175 @if guile
27176 maybe-install-pdf-guile: install-pdf-guile
27178 install-pdf-guile: \
27179 configure-guile \
27180 pdf-guile
27181 @: $(MAKE); $(unstage)
27182 @[ -f ./guile/Makefile ] || exit 0; \
27183 r=`${PWD_COMMAND}`; export r; \
27184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27185 $(HOST_EXPORTS) \
27186 for flag in $(EXTRA_HOST_FLAGS) ; do \
27187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27188 done; \
27189 echo "Doing install-pdf in guile" ; \
27190 (cd $(HOST_SUBDIR)/guile && \
27191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27193 "RANLIB=$${RANLIB}" \
27194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27195 install-pdf) \
27196 || exit 1
27198 @endif guile
27200 .PHONY: maybe-install-html-guile install-html-guile
27201 maybe-install-html-guile:
27202 @if guile
27203 maybe-install-html-guile: install-html-guile
27205 install-html-guile: \
27206 configure-guile \
27207 html-guile
27208 @: $(MAKE); $(unstage)
27209 @[ -f ./guile/Makefile ] || exit 0; \
27210 r=`${PWD_COMMAND}`; export r; \
27211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27212 $(HOST_EXPORTS) \
27213 for flag in $(EXTRA_HOST_FLAGS) ; do \
27214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27215 done; \
27216 echo "Doing install-html in guile" ; \
27217 (cd $(HOST_SUBDIR)/guile && \
27218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27220 "RANLIB=$${RANLIB}" \
27221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27222 install-html) \
27223 || exit 1
27225 @endif guile
27227 .PHONY: maybe-installcheck-guile installcheck-guile
27228 maybe-installcheck-guile:
27229 @if guile
27230 maybe-installcheck-guile: installcheck-guile
27232 installcheck-guile: \
27233 configure-guile
27234 @: $(MAKE); $(unstage)
27235 @[ -f ./guile/Makefile ] || exit 0; \
27236 r=`${PWD_COMMAND}`; export r; \
27237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27238 $(HOST_EXPORTS) \
27239 for flag in $(EXTRA_HOST_FLAGS) ; do \
27240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27241 done; \
27242 echo "Doing installcheck in guile" ; \
27243 (cd $(HOST_SUBDIR)/guile && \
27244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27246 "RANLIB=$${RANLIB}" \
27247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27248 installcheck) \
27249 || exit 1
27251 @endif guile
27253 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27254 maybe-mostlyclean-guile:
27255 @if guile
27256 maybe-mostlyclean-guile: mostlyclean-guile
27258 mostlyclean-guile:
27259 @: $(MAKE); $(unstage)
27260 @[ -f ./guile/Makefile ] || exit 0; \
27261 r=`${PWD_COMMAND}`; export r; \
27262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27263 $(HOST_EXPORTS) \
27264 for flag in $(EXTRA_HOST_FLAGS) ; do \
27265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27266 done; \
27267 echo "Doing mostlyclean in guile" ; \
27268 (cd $(HOST_SUBDIR)/guile && \
27269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27271 "RANLIB=$${RANLIB}" \
27272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27273 mostlyclean) \
27274 || exit 1
27276 @endif guile
27278 .PHONY: maybe-clean-guile clean-guile
27279 maybe-clean-guile:
27280 @if guile
27281 maybe-clean-guile: clean-guile
27283 clean-guile:
27284 @: $(MAKE); $(unstage)
27285 @[ -f ./guile/Makefile ] || exit 0; \
27286 r=`${PWD_COMMAND}`; export r; \
27287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27288 $(HOST_EXPORTS) \
27289 for flag in $(EXTRA_HOST_FLAGS) ; do \
27290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27291 done; \
27292 echo "Doing clean in guile" ; \
27293 (cd $(HOST_SUBDIR)/guile && \
27294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27296 "RANLIB=$${RANLIB}" \
27297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27298 clean) \
27299 || exit 1
27301 @endif guile
27303 .PHONY: maybe-distclean-guile distclean-guile
27304 maybe-distclean-guile:
27305 @if guile
27306 maybe-distclean-guile: distclean-guile
27308 distclean-guile:
27309 @: $(MAKE); $(unstage)
27310 @[ -f ./guile/Makefile ] || exit 0; \
27311 r=`${PWD_COMMAND}`; export r; \
27312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27313 $(HOST_EXPORTS) \
27314 for flag in $(EXTRA_HOST_FLAGS) ; do \
27315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27316 done; \
27317 echo "Doing distclean in guile" ; \
27318 (cd $(HOST_SUBDIR)/guile && \
27319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27321 "RANLIB=$${RANLIB}" \
27322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27323 distclean) \
27324 || exit 1
27326 @endif guile
27328 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27329 maybe-maintainer-clean-guile:
27330 @if guile
27331 maybe-maintainer-clean-guile: maintainer-clean-guile
27333 maintainer-clean-guile:
27334 @: $(MAKE); $(unstage)
27335 @[ -f ./guile/Makefile ] || exit 0; \
27336 r=`${PWD_COMMAND}`; export r; \
27337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 $(HOST_EXPORTS) \
27339 for flag in $(EXTRA_HOST_FLAGS) ; do \
27340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27341 done; \
27342 echo "Doing maintainer-clean in guile" ; \
27343 (cd $(HOST_SUBDIR)/guile && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27346 "RANLIB=$${RANLIB}" \
27347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27348 maintainer-clean) \
27349 || exit 1
27351 @endif guile
27355 .PHONY: configure-tk maybe-configure-tk
27356 maybe-configure-tk:
27357 @if gcc-bootstrap
27358 configure-tk: stage_current
27359 @endif gcc-bootstrap
27360 @if tk
27361 maybe-configure-tk: configure-tk
27362 configure-tk:
27363 @: $(MAKE); $(unstage)
27364 @r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27368 $(HOST_EXPORTS) \
27369 echo Configuring in $(HOST_SUBDIR)/tk; \
27370 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27371 case $(srcdir) in \
27372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27373 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27375 esac; \
27376 srcdiroption="--srcdir=$${topdir}/tk"; \
27377 libsrcdir="$$s/tk"; \
27378 $(SHELL) $${libsrcdir}/configure \
27379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27380 --target=${target_alias} $${srcdiroption} \
27381 || exit 1
27382 @endif tk
27388 .PHONY: all-tk maybe-all-tk
27389 maybe-all-tk:
27390 @if gcc-bootstrap
27391 all-tk: stage_current
27392 @endif gcc-bootstrap
27393 @if tk
27394 TARGET-tk=all
27395 maybe-all-tk: all-tk
27396 all-tk: configure-tk
27397 @: $(MAKE); $(unstage)
27398 @r=`${PWD_COMMAND}`; export r; \
27399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27400 $(HOST_EXPORTS) \
27401 (cd $(HOST_SUBDIR)/tk && \
27402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27403 $(TARGET-tk))
27404 @endif tk
27409 .PHONY: check-tk maybe-check-tk
27410 maybe-check-tk:
27411 @if tk
27412 maybe-check-tk: check-tk
27414 check-tk:
27415 @: $(MAKE); $(unstage)
27416 @r=`${PWD_COMMAND}`; export r; \
27417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27418 $(HOST_EXPORTS) \
27419 (cd $(HOST_SUBDIR)/tk && \
27420 $(MAKE) $(FLAGS_TO_PASS) check)
27422 @endif tk
27424 .PHONY: install-tk maybe-install-tk
27425 maybe-install-tk:
27426 @if tk
27427 maybe-install-tk: install-tk
27429 install-tk: installdirs
27430 @: $(MAKE); $(unstage)
27431 @r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(HOST_EXPORTS) \
27434 (cd $(HOST_SUBDIR)/tk && \
27435 $(MAKE) $(FLAGS_TO_PASS) install)
27437 @endif tk
27439 .PHONY: install-strip-tk maybe-install-strip-tk
27440 maybe-install-strip-tk:
27441 @if tk
27442 maybe-install-strip-tk: install-strip-tk
27444 install-strip-tk: installdirs
27445 @: $(MAKE); $(unstage)
27446 @r=`${PWD_COMMAND}`; export r; \
27447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27448 $(HOST_EXPORTS) \
27449 (cd $(HOST_SUBDIR)/tk && \
27450 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27452 @endif tk
27454 # Other targets (info, dvi, pdf, etc.)
27456 .PHONY: maybe-info-tk info-tk
27457 maybe-info-tk:
27458 @if tk
27459 maybe-info-tk: info-tk
27461 info-tk: \
27462 configure-tk
27463 @: $(MAKE); $(unstage)
27464 @[ -f ./tk/Makefile ] || exit 0; \
27465 r=`${PWD_COMMAND}`; export r; \
27466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 $(HOST_EXPORTS) \
27468 for flag in $(EXTRA_HOST_FLAGS) ; do \
27469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27470 done; \
27471 echo "Doing info in tk" ; \
27472 (cd $(HOST_SUBDIR)/tk && \
27473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27475 "RANLIB=$${RANLIB}" \
27476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27477 info) \
27478 || exit 1
27480 @endif tk
27482 .PHONY: maybe-dvi-tk dvi-tk
27483 maybe-dvi-tk:
27484 @if tk
27485 maybe-dvi-tk: dvi-tk
27487 dvi-tk: \
27488 configure-tk
27489 @: $(MAKE); $(unstage)
27490 @[ -f ./tk/Makefile ] || exit 0; \
27491 r=`${PWD_COMMAND}`; export r; \
27492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27493 $(HOST_EXPORTS) \
27494 for flag in $(EXTRA_HOST_FLAGS) ; do \
27495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27496 done; \
27497 echo "Doing dvi in tk" ; \
27498 (cd $(HOST_SUBDIR)/tk && \
27499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27501 "RANLIB=$${RANLIB}" \
27502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27503 dvi) \
27504 || exit 1
27506 @endif tk
27508 .PHONY: maybe-pdf-tk pdf-tk
27509 maybe-pdf-tk:
27510 @if tk
27511 maybe-pdf-tk: pdf-tk
27513 pdf-tk: \
27514 configure-tk
27515 @: $(MAKE); $(unstage)
27516 @[ -f ./tk/Makefile ] || exit 0; \
27517 r=`${PWD_COMMAND}`; export r; \
27518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27519 $(HOST_EXPORTS) \
27520 for flag in $(EXTRA_HOST_FLAGS) ; do \
27521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522 done; \
27523 echo "Doing pdf in tk" ; \
27524 (cd $(HOST_SUBDIR)/tk && \
27525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27527 "RANLIB=$${RANLIB}" \
27528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27529 pdf) \
27530 || exit 1
27532 @endif tk
27534 .PHONY: maybe-html-tk html-tk
27535 maybe-html-tk:
27536 @if tk
27537 maybe-html-tk: html-tk
27539 html-tk: \
27540 configure-tk
27541 @: $(MAKE); $(unstage)
27542 @[ -f ./tk/Makefile ] || exit 0; \
27543 r=`${PWD_COMMAND}`; export r; \
27544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27545 $(HOST_EXPORTS) \
27546 for flag in $(EXTRA_HOST_FLAGS) ; do \
27547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27548 done; \
27549 echo "Doing html in tk" ; \
27550 (cd $(HOST_SUBDIR)/tk && \
27551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27553 "RANLIB=$${RANLIB}" \
27554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27555 html) \
27556 || exit 1
27558 @endif tk
27560 .PHONY: maybe-TAGS-tk TAGS-tk
27561 maybe-TAGS-tk:
27562 @if tk
27563 maybe-TAGS-tk: TAGS-tk
27565 TAGS-tk: \
27566 configure-tk
27567 @: $(MAKE); $(unstage)
27568 @[ -f ./tk/Makefile ] || exit 0; \
27569 r=`${PWD_COMMAND}`; export r; \
27570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27571 $(HOST_EXPORTS) \
27572 for flag in $(EXTRA_HOST_FLAGS) ; do \
27573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27574 done; \
27575 echo "Doing TAGS in tk" ; \
27576 (cd $(HOST_SUBDIR)/tk && \
27577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27579 "RANLIB=$${RANLIB}" \
27580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27581 TAGS) \
27582 || exit 1
27584 @endif tk
27586 .PHONY: maybe-install-info-tk install-info-tk
27587 maybe-install-info-tk:
27588 @if tk
27589 maybe-install-info-tk: install-info-tk
27591 install-info-tk: \
27592 configure-tk \
27593 info-tk
27594 @: $(MAKE); $(unstage)
27595 @[ -f ./tk/Makefile ] || exit 0; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(HOST_EXPORTS) \
27599 for flag in $(EXTRA_HOST_FLAGS) ; do \
27600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27601 done; \
27602 echo "Doing install-info in tk" ; \
27603 (cd $(HOST_SUBDIR)/tk && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27608 install-info) \
27609 || exit 1
27611 @endif tk
27613 .PHONY: maybe-install-pdf-tk install-pdf-tk
27614 maybe-install-pdf-tk:
27615 @if tk
27616 maybe-install-pdf-tk: install-pdf-tk
27618 install-pdf-tk: \
27619 configure-tk \
27620 pdf-tk
27621 @: $(MAKE); $(unstage)
27622 @[ -f ./tk/Makefile ] || exit 0; \
27623 r=`${PWD_COMMAND}`; export r; \
27624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27625 $(HOST_EXPORTS) \
27626 for flag in $(EXTRA_HOST_FLAGS) ; do \
27627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27628 done; \
27629 echo "Doing install-pdf in tk" ; \
27630 (cd $(HOST_SUBDIR)/tk && \
27631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27633 "RANLIB=$${RANLIB}" \
27634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27635 install-pdf) \
27636 || exit 1
27638 @endif tk
27640 .PHONY: maybe-install-html-tk install-html-tk
27641 maybe-install-html-tk:
27642 @if tk
27643 maybe-install-html-tk: install-html-tk
27645 install-html-tk: \
27646 configure-tk \
27647 html-tk
27648 @: $(MAKE); $(unstage)
27649 @[ -f ./tk/Makefile ] || exit 0; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(HOST_EXPORTS) \
27653 for flag in $(EXTRA_HOST_FLAGS) ; do \
27654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27655 done; \
27656 echo "Doing install-html in tk" ; \
27657 (cd $(HOST_SUBDIR)/tk && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27662 install-html) \
27663 || exit 1
27665 @endif tk
27667 .PHONY: maybe-installcheck-tk installcheck-tk
27668 maybe-installcheck-tk:
27669 @if tk
27670 maybe-installcheck-tk: installcheck-tk
27672 installcheck-tk: \
27673 configure-tk
27674 @: $(MAKE); $(unstage)
27675 @[ -f ./tk/Makefile ] || exit 0; \
27676 r=`${PWD_COMMAND}`; export r; \
27677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27678 $(HOST_EXPORTS) \
27679 for flag in $(EXTRA_HOST_FLAGS) ; do \
27680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27681 done; \
27682 echo "Doing installcheck in tk" ; \
27683 (cd $(HOST_SUBDIR)/tk && \
27684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27686 "RANLIB=$${RANLIB}" \
27687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27688 installcheck) \
27689 || exit 1
27691 @endif tk
27693 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27694 maybe-mostlyclean-tk:
27695 @if tk
27696 maybe-mostlyclean-tk: mostlyclean-tk
27698 mostlyclean-tk:
27699 @: $(MAKE); $(unstage)
27700 @[ -f ./tk/Makefile ] || exit 0; \
27701 r=`${PWD_COMMAND}`; export r; \
27702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27703 $(HOST_EXPORTS) \
27704 for flag in $(EXTRA_HOST_FLAGS) ; do \
27705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27706 done; \
27707 echo "Doing mostlyclean in tk" ; \
27708 (cd $(HOST_SUBDIR)/tk && \
27709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27711 "RANLIB=$${RANLIB}" \
27712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27713 mostlyclean) \
27714 || exit 1
27716 @endif tk
27718 .PHONY: maybe-clean-tk clean-tk
27719 maybe-clean-tk:
27720 @if tk
27721 maybe-clean-tk: clean-tk
27723 clean-tk:
27724 @: $(MAKE); $(unstage)
27725 @[ -f ./tk/Makefile ] || exit 0; \
27726 r=`${PWD_COMMAND}`; export r; \
27727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27728 $(HOST_EXPORTS) \
27729 for flag in $(EXTRA_HOST_FLAGS) ; do \
27730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27731 done; \
27732 echo "Doing clean in tk" ; \
27733 (cd $(HOST_SUBDIR)/tk && \
27734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27736 "RANLIB=$${RANLIB}" \
27737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27738 clean) \
27739 || exit 1
27741 @endif tk
27743 .PHONY: maybe-distclean-tk distclean-tk
27744 maybe-distclean-tk:
27745 @if tk
27746 maybe-distclean-tk: distclean-tk
27748 distclean-tk:
27749 @: $(MAKE); $(unstage)
27750 @[ -f ./tk/Makefile ] || exit 0; \
27751 r=`${PWD_COMMAND}`; export r; \
27752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27753 $(HOST_EXPORTS) \
27754 for flag in $(EXTRA_HOST_FLAGS) ; do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 echo "Doing distclean in tk" ; \
27758 (cd $(HOST_SUBDIR)/tk && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27763 distclean) \
27764 || exit 1
27766 @endif tk
27768 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27769 maybe-maintainer-clean-tk:
27770 @if tk
27771 maybe-maintainer-clean-tk: maintainer-clean-tk
27773 maintainer-clean-tk:
27774 @: $(MAKE); $(unstage)
27775 @[ -f ./tk/Makefile ] || exit 0; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(HOST_EXPORTS) \
27779 for flag in $(EXTRA_HOST_FLAGS) ; do \
27780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 done; \
27782 echo "Doing maintainer-clean in tk" ; \
27783 (cd $(HOST_SUBDIR)/tk && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27788 maintainer-clean) \
27789 || exit 1
27791 @endif tk
27795 .PHONY: configure-libtermcap maybe-configure-libtermcap
27796 maybe-configure-libtermcap:
27797 @if gcc-bootstrap
27798 configure-libtermcap: stage_current
27799 @endif gcc-bootstrap
27800 @if libtermcap
27801 maybe-configure-libtermcap: configure-libtermcap
27802 configure-libtermcap:
27803 @: $(MAKE); $(unstage)
27804 @r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27808 $(HOST_EXPORTS) \
27809 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27810 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27811 case $(srcdir) in \
27812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27813 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27815 esac; \
27816 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27817 libsrcdir="$$s/libtermcap"; \
27818 $(SHELL) $${libsrcdir}/configure \
27819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27820 --target=${target_alias} $${srcdiroption} \
27821 || exit 1
27822 @endif libtermcap
27828 .PHONY: all-libtermcap maybe-all-libtermcap
27829 maybe-all-libtermcap:
27830 @if gcc-bootstrap
27831 all-libtermcap: stage_current
27832 @endif gcc-bootstrap
27833 @if libtermcap
27834 TARGET-libtermcap=all
27835 maybe-all-libtermcap: all-libtermcap
27836 all-libtermcap: configure-libtermcap
27837 @: $(MAKE); $(unstage)
27838 @r=`${PWD_COMMAND}`; export r; \
27839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27840 $(HOST_EXPORTS) \
27841 (cd $(HOST_SUBDIR)/libtermcap && \
27842 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27843 $(TARGET-libtermcap))
27844 @endif libtermcap
27849 .PHONY: check-libtermcap maybe-check-libtermcap
27850 maybe-check-libtermcap:
27851 @if libtermcap
27852 maybe-check-libtermcap: check-libtermcap
27854 check-libtermcap:
27856 @endif libtermcap
27858 .PHONY: install-libtermcap maybe-install-libtermcap
27859 maybe-install-libtermcap:
27860 @if libtermcap
27861 maybe-install-libtermcap: install-libtermcap
27863 install-libtermcap: installdirs
27864 @: $(MAKE); $(unstage)
27865 @r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 $(HOST_EXPORTS) \
27868 (cd $(HOST_SUBDIR)/libtermcap && \
27869 $(MAKE) $(FLAGS_TO_PASS) install)
27871 @endif libtermcap
27873 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27874 maybe-install-strip-libtermcap:
27875 @if libtermcap
27876 maybe-install-strip-libtermcap: install-strip-libtermcap
27878 install-strip-libtermcap: installdirs
27879 @: $(MAKE); $(unstage)
27880 @r=`${PWD_COMMAND}`; export r; \
27881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882 $(HOST_EXPORTS) \
27883 (cd $(HOST_SUBDIR)/libtermcap && \
27884 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27886 @endif libtermcap
27888 # Other targets (info, dvi, pdf, etc.)
27890 .PHONY: maybe-info-libtermcap info-libtermcap
27891 maybe-info-libtermcap:
27892 @if libtermcap
27893 maybe-info-libtermcap: info-libtermcap
27895 info-libtermcap: \
27896 configure-libtermcap
27897 @: $(MAKE); $(unstage)
27898 @[ -f ./libtermcap/Makefile ] || exit 0; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 $(HOST_EXPORTS) \
27902 for flag in $(EXTRA_HOST_FLAGS) ; do \
27903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27904 done; \
27905 echo "Doing info in libtermcap" ; \
27906 (cd $(HOST_SUBDIR)/libtermcap && \
27907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27909 "RANLIB=$${RANLIB}" \
27910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27911 info) \
27912 || exit 1
27914 @endif libtermcap
27916 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27917 maybe-dvi-libtermcap:
27918 @if libtermcap
27919 maybe-dvi-libtermcap: dvi-libtermcap
27921 dvi-libtermcap: \
27922 configure-libtermcap
27923 @: $(MAKE); $(unstage)
27924 @[ -f ./libtermcap/Makefile ] || exit 0; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 for flag in $(EXTRA_HOST_FLAGS) ; do \
27929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27930 done; \
27931 echo "Doing dvi in libtermcap" ; \
27932 (cd $(HOST_SUBDIR)/libtermcap && \
27933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27935 "RANLIB=$${RANLIB}" \
27936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27937 dvi) \
27938 || exit 1
27940 @endif libtermcap
27942 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27943 maybe-pdf-libtermcap:
27944 @if libtermcap
27945 maybe-pdf-libtermcap: pdf-libtermcap
27947 pdf-libtermcap: \
27948 configure-libtermcap
27949 @: $(MAKE); $(unstage)
27950 @[ -f ./libtermcap/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(HOST_EXPORTS) \
27954 for flag in $(EXTRA_HOST_FLAGS) ; do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27956 done; \
27957 echo "Doing pdf in libtermcap" ; \
27958 (cd $(HOST_SUBDIR)/libtermcap && \
27959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27961 "RANLIB=$${RANLIB}" \
27962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27963 pdf) \
27964 || exit 1
27966 @endif libtermcap
27968 .PHONY: maybe-html-libtermcap html-libtermcap
27969 maybe-html-libtermcap:
27970 @if libtermcap
27971 maybe-html-libtermcap: html-libtermcap
27973 html-libtermcap: \
27974 configure-libtermcap
27975 @: $(MAKE); $(unstage)
27976 @[ -f ./libtermcap/Makefile ] || exit 0; \
27977 r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 $(HOST_EXPORTS) \
27980 for flag in $(EXTRA_HOST_FLAGS) ; do \
27981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27982 done; \
27983 echo "Doing html in libtermcap" ; \
27984 (cd $(HOST_SUBDIR)/libtermcap && \
27985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27987 "RANLIB=$${RANLIB}" \
27988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27989 html) \
27990 || exit 1
27992 @endif libtermcap
27994 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
27995 maybe-TAGS-libtermcap:
27996 @if libtermcap
27997 maybe-TAGS-libtermcap: TAGS-libtermcap
27999 TAGS-libtermcap: \
28000 configure-libtermcap
28001 @: $(MAKE); $(unstage)
28002 @[ -f ./libtermcap/Makefile ] || exit 0; \
28003 r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(HOST_EXPORTS) \
28006 for flag in $(EXTRA_HOST_FLAGS) ; do \
28007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28008 done; \
28009 echo "Doing TAGS in libtermcap" ; \
28010 (cd $(HOST_SUBDIR)/libtermcap && \
28011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28013 "RANLIB=$${RANLIB}" \
28014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28015 TAGS) \
28016 || exit 1
28018 @endif libtermcap
28020 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28021 maybe-install-info-libtermcap:
28022 @if libtermcap
28023 maybe-install-info-libtermcap: install-info-libtermcap
28025 install-info-libtermcap: \
28026 configure-libtermcap \
28027 info-libtermcap
28028 @: $(MAKE); $(unstage)
28029 @[ -f ./libtermcap/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing install-info in libtermcap" ; \
28037 (cd $(HOST_SUBDIR)/libtermcap && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 install-info) \
28043 || exit 1
28045 @endif libtermcap
28047 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28048 maybe-install-pdf-libtermcap:
28049 @if libtermcap
28050 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28052 install-pdf-libtermcap: \
28053 configure-libtermcap \
28054 pdf-libtermcap
28055 @: $(MAKE); $(unstage)
28056 @[ -f ./libtermcap/Makefile ] || exit 0; \
28057 r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(HOST_EXPORTS) \
28060 for flag in $(EXTRA_HOST_FLAGS) ; do \
28061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28062 done; \
28063 echo "Doing install-pdf in libtermcap" ; \
28064 (cd $(HOST_SUBDIR)/libtermcap && \
28065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28067 "RANLIB=$${RANLIB}" \
28068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28069 install-pdf) \
28070 || exit 1
28072 @endif libtermcap
28074 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28075 maybe-install-html-libtermcap:
28076 @if libtermcap
28077 maybe-install-html-libtermcap: install-html-libtermcap
28079 install-html-libtermcap: \
28080 configure-libtermcap \
28081 html-libtermcap
28082 @: $(MAKE); $(unstage)
28083 @[ -f ./libtermcap/Makefile ] || exit 0; \
28084 r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 for flag in $(EXTRA_HOST_FLAGS) ; do \
28088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28089 done; \
28090 echo "Doing install-html in libtermcap" ; \
28091 (cd $(HOST_SUBDIR)/libtermcap && \
28092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28094 "RANLIB=$${RANLIB}" \
28095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28096 install-html) \
28097 || exit 1
28099 @endif libtermcap
28101 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28102 maybe-installcheck-libtermcap:
28103 @if libtermcap
28104 maybe-installcheck-libtermcap: installcheck-libtermcap
28106 installcheck-libtermcap: \
28107 configure-libtermcap
28108 @: $(MAKE); $(unstage)
28109 @[ -f ./libtermcap/Makefile ] || exit 0; \
28110 r=`${PWD_COMMAND}`; export r; \
28111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28112 $(HOST_EXPORTS) \
28113 for flag in $(EXTRA_HOST_FLAGS) ; do \
28114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28115 done; \
28116 echo "Doing installcheck in libtermcap" ; \
28117 (cd $(HOST_SUBDIR)/libtermcap && \
28118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28120 "RANLIB=$${RANLIB}" \
28121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28122 installcheck) \
28123 || exit 1
28125 @endif libtermcap
28127 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28128 maybe-mostlyclean-libtermcap:
28129 @if libtermcap
28130 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28132 # libtermcap doesn't support mostlyclean.
28133 mostlyclean-libtermcap:
28135 @endif libtermcap
28137 .PHONY: maybe-clean-libtermcap clean-libtermcap
28138 maybe-clean-libtermcap:
28139 @if libtermcap
28140 maybe-clean-libtermcap: clean-libtermcap
28142 # libtermcap doesn't support clean.
28143 clean-libtermcap:
28145 @endif libtermcap
28147 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28148 maybe-distclean-libtermcap:
28149 @if libtermcap
28150 maybe-distclean-libtermcap: distclean-libtermcap
28152 # libtermcap doesn't support distclean.
28153 distclean-libtermcap:
28155 @endif libtermcap
28157 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28158 maybe-maintainer-clean-libtermcap:
28159 @if libtermcap
28160 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28162 # libtermcap doesn't support maintainer-clean.
28163 maintainer-clean-libtermcap:
28165 @endif libtermcap
28169 .PHONY: configure-utils maybe-configure-utils
28170 maybe-configure-utils:
28171 @if gcc-bootstrap
28172 configure-utils: stage_current
28173 @endif gcc-bootstrap
28174 @if utils
28175 maybe-configure-utils: configure-utils
28176 configure-utils:
28177 @: $(MAKE); $(unstage)
28178 @r=`${PWD_COMMAND}`; export r; \
28179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28180 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28182 $(HOST_EXPORTS) \
28183 echo Configuring in $(HOST_SUBDIR)/utils; \
28184 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28185 case $(srcdir) in \
28186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28187 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28189 esac; \
28190 srcdiroption="--srcdir=$${topdir}/utils"; \
28191 libsrcdir="$$s/utils"; \
28192 $(SHELL) $${libsrcdir}/configure \
28193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28194 --target=${target_alias} $${srcdiroption} \
28195 || exit 1
28196 @endif utils
28202 .PHONY: all-utils maybe-all-utils
28203 maybe-all-utils:
28204 @if gcc-bootstrap
28205 all-utils: stage_current
28206 @endif gcc-bootstrap
28207 @if utils
28208 TARGET-utils=all
28209 maybe-all-utils: all-utils
28210 all-utils: configure-utils
28211 @: $(MAKE); $(unstage)
28212 @r=`${PWD_COMMAND}`; export r; \
28213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28214 $(HOST_EXPORTS) \
28215 (cd $(HOST_SUBDIR)/utils && \
28216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28217 $(TARGET-utils))
28218 @endif utils
28223 .PHONY: check-utils maybe-check-utils
28224 maybe-check-utils:
28225 @if utils
28226 maybe-check-utils: check-utils
28228 check-utils:
28230 @endif utils
28232 .PHONY: install-utils maybe-install-utils
28233 maybe-install-utils:
28234 @if utils
28235 maybe-install-utils: install-utils
28237 install-utils: installdirs
28238 @: $(MAKE); $(unstage)
28239 @r=`${PWD_COMMAND}`; export r; \
28240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28241 $(HOST_EXPORTS) \
28242 (cd $(HOST_SUBDIR)/utils && \
28243 $(MAKE) $(FLAGS_TO_PASS) install)
28245 @endif utils
28247 .PHONY: install-strip-utils maybe-install-strip-utils
28248 maybe-install-strip-utils:
28249 @if utils
28250 maybe-install-strip-utils: install-strip-utils
28252 install-strip-utils: installdirs
28253 @: $(MAKE); $(unstage)
28254 @r=`${PWD_COMMAND}`; export r; \
28255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28256 $(HOST_EXPORTS) \
28257 (cd $(HOST_SUBDIR)/utils && \
28258 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28260 @endif utils
28262 # Other targets (info, dvi, pdf, etc.)
28264 .PHONY: maybe-info-utils info-utils
28265 maybe-info-utils:
28266 @if utils
28267 maybe-info-utils: info-utils
28269 info-utils: \
28270 configure-utils
28271 @: $(MAKE); $(unstage)
28272 @[ -f ./utils/Makefile ] || exit 0; \
28273 r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 $(HOST_EXPORTS) \
28276 for flag in $(EXTRA_HOST_FLAGS) ; do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 echo "Doing info in utils" ; \
28280 (cd $(HOST_SUBDIR)/utils && \
28281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28283 "RANLIB=$${RANLIB}" \
28284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28285 info) \
28286 || exit 1
28288 @endif utils
28290 .PHONY: maybe-dvi-utils dvi-utils
28291 maybe-dvi-utils:
28292 @if utils
28293 maybe-dvi-utils: dvi-utils
28295 dvi-utils: \
28296 configure-utils
28297 @: $(MAKE); $(unstage)
28298 @[ -f ./utils/Makefile ] || exit 0; \
28299 r=`${PWD_COMMAND}`; export r; \
28300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28301 $(HOST_EXPORTS) \
28302 for flag in $(EXTRA_HOST_FLAGS) ; do \
28303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28304 done; \
28305 echo "Doing dvi in utils" ; \
28306 (cd $(HOST_SUBDIR)/utils && \
28307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28309 "RANLIB=$${RANLIB}" \
28310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28311 dvi) \
28312 || exit 1
28314 @endif utils
28316 .PHONY: maybe-pdf-utils pdf-utils
28317 maybe-pdf-utils:
28318 @if utils
28319 maybe-pdf-utils: pdf-utils
28321 pdf-utils: \
28322 configure-utils
28323 @: $(MAKE); $(unstage)
28324 @[ -f ./utils/Makefile ] || exit 0; \
28325 r=`${PWD_COMMAND}`; export r; \
28326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28327 $(HOST_EXPORTS) \
28328 for flag in $(EXTRA_HOST_FLAGS) ; do \
28329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28330 done; \
28331 echo "Doing pdf in utils" ; \
28332 (cd $(HOST_SUBDIR)/utils && \
28333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28335 "RANLIB=$${RANLIB}" \
28336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28337 pdf) \
28338 || exit 1
28340 @endif utils
28342 .PHONY: maybe-html-utils html-utils
28343 maybe-html-utils:
28344 @if utils
28345 maybe-html-utils: html-utils
28347 html-utils: \
28348 configure-utils
28349 @: $(MAKE); $(unstage)
28350 @[ -f ./utils/Makefile ] || exit 0; \
28351 r=`${PWD_COMMAND}`; export r; \
28352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28353 $(HOST_EXPORTS) \
28354 for flag in $(EXTRA_HOST_FLAGS) ; do \
28355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28356 done; \
28357 echo "Doing html in utils" ; \
28358 (cd $(HOST_SUBDIR)/utils && \
28359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28361 "RANLIB=$${RANLIB}" \
28362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28363 html) \
28364 || exit 1
28366 @endif utils
28368 .PHONY: maybe-TAGS-utils TAGS-utils
28369 maybe-TAGS-utils:
28370 @if utils
28371 maybe-TAGS-utils: TAGS-utils
28373 TAGS-utils: \
28374 configure-utils
28375 @: $(MAKE); $(unstage)
28376 @[ -f ./utils/Makefile ] || exit 0; \
28377 r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 for flag in $(EXTRA_HOST_FLAGS) ; do \
28381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28382 done; \
28383 echo "Doing TAGS in utils" ; \
28384 (cd $(HOST_SUBDIR)/utils && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28387 "RANLIB=$${RANLIB}" \
28388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28389 TAGS) \
28390 || exit 1
28392 @endif utils
28394 .PHONY: maybe-install-info-utils install-info-utils
28395 maybe-install-info-utils:
28396 @if utils
28397 maybe-install-info-utils: install-info-utils
28399 install-info-utils: \
28400 configure-utils \
28401 info-utils
28402 @: $(MAKE); $(unstage)
28403 @[ -f ./utils/Makefile ] || exit 0; \
28404 r=`${PWD_COMMAND}`; export r; \
28405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28406 $(HOST_EXPORTS) \
28407 for flag in $(EXTRA_HOST_FLAGS) ; do \
28408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28409 done; \
28410 echo "Doing install-info in utils" ; \
28411 (cd $(HOST_SUBDIR)/utils && \
28412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28414 "RANLIB=$${RANLIB}" \
28415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28416 install-info) \
28417 || exit 1
28419 @endif utils
28421 .PHONY: maybe-install-pdf-utils install-pdf-utils
28422 maybe-install-pdf-utils:
28423 @if utils
28424 maybe-install-pdf-utils: install-pdf-utils
28426 install-pdf-utils: \
28427 configure-utils \
28428 pdf-utils
28429 @: $(MAKE); $(unstage)
28430 @[ -f ./utils/Makefile ] || exit 0; \
28431 r=`${PWD_COMMAND}`; export r; \
28432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28433 $(HOST_EXPORTS) \
28434 for flag in $(EXTRA_HOST_FLAGS) ; do \
28435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28436 done; \
28437 echo "Doing install-pdf in utils" ; \
28438 (cd $(HOST_SUBDIR)/utils && \
28439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28441 "RANLIB=$${RANLIB}" \
28442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28443 install-pdf) \
28444 || exit 1
28446 @endif utils
28448 .PHONY: maybe-install-html-utils install-html-utils
28449 maybe-install-html-utils:
28450 @if utils
28451 maybe-install-html-utils: install-html-utils
28453 install-html-utils: \
28454 configure-utils \
28455 html-utils
28456 @: $(MAKE); $(unstage)
28457 @[ -f ./utils/Makefile ] || exit 0; \
28458 r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(HOST_EXPORTS) \
28461 for flag in $(EXTRA_HOST_FLAGS) ; do \
28462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28463 done; \
28464 echo "Doing install-html in utils" ; \
28465 (cd $(HOST_SUBDIR)/utils && \
28466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28468 "RANLIB=$${RANLIB}" \
28469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28470 install-html) \
28471 || exit 1
28473 @endif utils
28475 .PHONY: maybe-installcheck-utils installcheck-utils
28476 maybe-installcheck-utils:
28477 @if utils
28478 maybe-installcheck-utils: installcheck-utils
28480 installcheck-utils: \
28481 configure-utils
28482 @: $(MAKE); $(unstage)
28483 @[ -f ./utils/Makefile ] || exit 0; \
28484 r=`${PWD_COMMAND}`; export r; \
28485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28486 $(HOST_EXPORTS) \
28487 for flag in $(EXTRA_HOST_FLAGS) ; do \
28488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28489 done; \
28490 echo "Doing installcheck in utils" ; \
28491 (cd $(HOST_SUBDIR)/utils && \
28492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28494 "RANLIB=$${RANLIB}" \
28495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28496 installcheck) \
28497 || exit 1
28499 @endif utils
28501 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28502 maybe-mostlyclean-utils:
28503 @if utils
28504 maybe-mostlyclean-utils: mostlyclean-utils
28506 mostlyclean-utils:
28507 @: $(MAKE); $(unstage)
28508 @[ -f ./utils/Makefile ] || exit 0; \
28509 r=`${PWD_COMMAND}`; export r; \
28510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28511 $(HOST_EXPORTS) \
28512 for flag in $(EXTRA_HOST_FLAGS) ; do \
28513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28514 done; \
28515 echo "Doing mostlyclean in utils" ; \
28516 (cd $(HOST_SUBDIR)/utils && \
28517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28519 "RANLIB=$${RANLIB}" \
28520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28521 mostlyclean) \
28522 || exit 1
28524 @endif utils
28526 .PHONY: maybe-clean-utils clean-utils
28527 maybe-clean-utils:
28528 @if utils
28529 maybe-clean-utils: clean-utils
28531 clean-utils:
28532 @: $(MAKE); $(unstage)
28533 @[ -f ./utils/Makefile ] || exit 0; \
28534 r=`${PWD_COMMAND}`; export r; \
28535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28536 $(HOST_EXPORTS) \
28537 for flag in $(EXTRA_HOST_FLAGS) ; do \
28538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28539 done; \
28540 echo "Doing clean in utils" ; \
28541 (cd $(HOST_SUBDIR)/utils && \
28542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28544 "RANLIB=$${RANLIB}" \
28545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28546 clean) \
28547 || exit 1
28549 @endif utils
28551 .PHONY: maybe-distclean-utils distclean-utils
28552 maybe-distclean-utils:
28553 @if utils
28554 maybe-distclean-utils: distclean-utils
28556 distclean-utils:
28557 @: $(MAKE); $(unstage)
28558 @[ -f ./utils/Makefile ] || exit 0; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 for flag in $(EXTRA_HOST_FLAGS) ; do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 echo "Doing distclean in utils" ; \
28566 (cd $(HOST_SUBDIR)/utils && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28571 distclean) \
28572 || exit 1
28574 @endif utils
28576 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28577 maybe-maintainer-clean-utils:
28578 @if utils
28579 maybe-maintainer-clean-utils: maintainer-clean-utils
28581 maintainer-clean-utils:
28582 @: $(MAKE); $(unstage)
28583 @[ -f ./utils/Makefile ] || exit 0; \
28584 r=`${PWD_COMMAND}`; export r; \
28585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28586 $(HOST_EXPORTS) \
28587 for flag in $(EXTRA_HOST_FLAGS) ; do \
28588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28589 done; \
28590 echo "Doing maintainer-clean in utils" ; \
28591 (cd $(HOST_SUBDIR)/utils && \
28592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28594 "RANLIB=$${RANLIB}" \
28595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28596 maintainer-clean) \
28597 || exit 1
28599 @endif utils
28603 .PHONY: configure-gnattools maybe-configure-gnattools
28604 maybe-configure-gnattools:
28605 @if gcc-bootstrap
28606 configure-gnattools: stage_current
28607 @endif gcc-bootstrap
28608 @if gnattools
28609 maybe-configure-gnattools: configure-gnattools
28610 configure-gnattools:
28611 @: $(MAKE); $(unstage)
28612 @r=`${PWD_COMMAND}`; export r; \
28613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28614 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28616 $(HOST_EXPORTS) \
28617 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28618 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28619 case $(srcdir) in \
28620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28621 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28623 esac; \
28624 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28625 libsrcdir="$$s/gnattools"; \
28626 $(SHELL) $${libsrcdir}/configure \
28627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28628 --target=${target_alias} $${srcdiroption} \
28629 || exit 1
28630 @endif gnattools
28636 .PHONY: all-gnattools maybe-all-gnattools
28637 maybe-all-gnattools:
28638 @if gcc-bootstrap
28639 all-gnattools: stage_current
28640 @endif gcc-bootstrap
28641 @if gnattools
28642 TARGET-gnattools=all
28643 maybe-all-gnattools: all-gnattools
28644 all-gnattools: configure-gnattools
28645 @: $(MAKE); $(unstage)
28646 @r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(HOST_EXPORTS) \
28649 (cd $(HOST_SUBDIR)/gnattools && \
28650 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28651 $(TARGET-gnattools))
28652 @endif gnattools
28657 .PHONY: check-gnattools maybe-check-gnattools
28658 maybe-check-gnattools:
28659 @if gnattools
28660 maybe-check-gnattools: check-gnattools
28662 check-gnattools:
28663 @: $(MAKE); $(unstage)
28664 @r=`${PWD_COMMAND}`; export r; \
28665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28666 $(HOST_EXPORTS) \
28667 (cd $(HOST_SUBDIR)/gnattools && \
28668 $(MAKE) $(FLAGS_TO_PASS) check)
28670 @endif gnattools
28672 .PHONY: install-gnattools maybe-install-gnattools
28673 maybe-install-gnattools:
28674 @if gnattools
28675 maybe-install-gnattools: install-gnattools
28677 install-gnattools: installdirs
28678 @: $(MAKE); $(unstage)
28679 @r=`${PWD_COMMAND}`; export r; \
28680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28681 $(HOST_EXPORTS) \
28682 (cd $(HOST_SUBDIR)/gnattools && \
28683 $(MAKE) $(FLAGS_TO_PASS) install)
28685 @endif gnattools
28687 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28688 maybe-install-strip-gnattools:
28689 @if gnattools
28690 maybe-install-strip-gnattools: install-strip-gnattools
28692 install-strip-gnattools: installdirs
28693 @: $(MAKE); $(unstage)
28694 @r=`${PWD_COMMAND}`; export r; \
28695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28696 $(HOST_EXPORTS) \
28697 (cd $(HOST_SUBDIR)/gnattools && \
28698 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28700 @endif gnattools
28702 # Other targets (info, dvi, pdf, etc.)
28704 .PHONY: maybe-info-gnattools info-gnattools
28705 maybe-info-gnattools:
28706 @if gnattools
28707 maybe-info-gnattools: info-gnattools
28709 info-gnattools: \
28710 configure-gnattools
28711 @: $(MAKE); $(unstage)
28712 @[ -f ./gnattools/Makefile ] || exit 0; \
28713 r=`${PWD_COMMAND}`; export r; \
28714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28715 $(HOST_EXPORTS) \
28716 for flag in $(EXTRA_HOST_FLAGS) ; do \
28717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28718 done; \
28719 echo "Doing info in gnattools" ; \
28720 (cd $(HOST_SUBDIR)/gnattools && \
28721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28723 "RANLIB=$${RANLIB}" \
28724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28725 info) \
28726 || exit 1
28728 @endif gnattools
28730 .PHONY: maybe-dvi-gnattools dvi-gnattools
28731 maybe-dvi-gnattools:
28732 @if gnattools
28733 maybe-dvi-gnattools: dvi-gnattools
28735 dvi-gnattools: \
28736 configure-gnattools
28737 @: $(MAKE); $(unstage)
28738 @[ -f ./gnattools/Makefile ] || exit 0; \
28739 r=`${PWD_COMMAND}`; export r; \
28740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28741 $(HOST_EXPORTS) \
28742 for flag in $(EXTRA_HOST_FLAGS) ; do \
28743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28744 done; \
28745 echo "Doing dvi in gnattools" ; \
28746 (cd $(HOST_SUBDIR)/gnattools && \
28747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28749 "RANLIB=$${RANLIB}" \
28750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28751 dvi) \
28752 || exit 1
28754 @endif gnattools
28756 .PHONY: maybe-pdf-gnattools pdf-gnattools
28757 maybe-pdf-gnattools:
28758 @if gnattools
28759 maybe-pdf-gnattools: pdf-gnattools
28761 pdf-gnattools: \
28762 configure-gnattools
28763 @: $(MAKE); $(unstage)
28764 @[ -f ./gnattools/Makefile ] || exit 0; \
28765 r=`${PWD_COMMAND}`; export r; \
28766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28767 $(HOST_EXPORTS) \
28768 for flag in $(EXTRA_HOST_FLAGS) ; do \
28769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28770 done; \
28771 echo "Doing pdf in gnattools" ; \
28772 (cd $(HOST_SUBDIR)/gnattools && \
28773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28775 "RANLIB=$${RANLIB}" \
28776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28777 pdf) \
28778 || exit 1
28780 @endif gnattools
28782 .PHONY: maybe-html-gnattools html-gnattools
28783 maybe-html-gnattools:
28784 @if gnattools
28785 maybe-html-gnattools: html-gnattools
28787 html-gnattools: \
28788 configure-gnattools
28789 @: $(MAKE); $(unstage)
28790 @[ -f ./gnattools/Makefile ] || exit 0; \
28791 r=`${PWD_COMMAND}`; export r; \
28792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28793 $(HOST_EXPORTS) \
28794 for flag in $(EXTRA_HOST_FLAGS) ; do \
28795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28796 done; \
28797 echo "Doing html in gnattools" ; \
28798 (cd $(HOST_SUBDIR)/gnattools && \
28799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28801 "RANLIB=$${RANLIB}" \
28802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28803 html) \
28804 || exit 1
28806 @endif gnattools
28808 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28809 maybe-TAGS-gnattools:
28810 @if gnattools
28811 maybe-TAGS-gnattools: TAGS-gnattools
28813 TAGS-gnattools: \
28814 configure-gnattools
28815 @: $(MAKE); $(unstage)
28816 @[ -f ./gnattools/Makefile ] || exit 0; \
28817 r=`${PWD_COMMAND}`; export r; \
28818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28819 $(HOST_EXPORTS) \
28820 for flag in $(EXTRA_HOST_FLAGS) ; do \
28821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28822 done; \
28823 echo "Doing TAGS in gnattools" ; \
28824 (cd $(HOST_SUBDIR)/gnattools && \
28825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28827 "RANLIB=$${RANLIB}" \
28828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28829 TAGS) \
28830 || exit 1
28832 @endif gnattools
28834 .PHONY: maybe-install-info-gnattools install-info-gnattools
28835 maybe-install-info-gnattools:
28836 @if gnattools
28837 maybe-install-info-gnattools: install-info-gnattools
28839 install-info-gnattools: \
28840 configure-gnattools \
28841 info-gnattools
28842 @: $(MAKE); $(unstage)
28843 @[ -f ./gnattools/Makefile ] || exit 0; \
28844 r=`${PWD_COMMAND}`; export r; \
28845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28846 $(HOST_EXPORTS) \
28847 for flag in $(EXTRA_HOST_FLAGS) ; do \
28848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28849 done; \
28850 echo "Doing install-info in gnattools" ; \
28851 (cd $(HOST_SUBDIR)/gnattools && \
28852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28854 "RANLIB=$${RANLIB}" \
28855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28856 install-info) \
28857 || exit 1
28859 @endif gnattools
28861 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28862 maybe-install-pdf-gnattools:
28863 @if gnattools
28864 maybe-install-pdf-gnattools: install-pdf-gnattools
28866 install-pdf-gnattools: \
28867 configure-gnattools \
28868 pdf-gnattools
28869 @: $(MAKE); $(unstage)
28870 @[ -f ./gnattools/Makefile ] || exit 0; \
28871 r=`${PWD_COMMAND}`; export r; \
28872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28873 $(HOST_EXPORTS) \
28874 for flag in $(EXTRA_HOST_FLAGS) ; do \
28875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28876 done; \
28877 echo "Doing install-pdf in gnattools" ; \
28878 (cd $(HOST_SUBDIR)/gnattools && \
28879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28881 "RANLIB=$${RANLIB}" \
28882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28883 install-pdf) \
28884 || exit 1
28886 @endif gnattools
28888 .PHONY: maybe-install-html-gnattools install-html-gnattools
28889 maybe-install-html-gnattools:
28890 @if gnattools
28891 maybe-install-html-gnattools: install-html-gnattools
28893 install-html-gnattools: \
28894 configure-gnattools \
28895 html-gnattools
28896 @: $(MAKE); $(unstage)
28897 @[ -f ./gnattools/Makefile ] || exit 0; \
28898 r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 $(HOST_EXPORTS) \
28901 for flag in $(EXTRA_HOST_FLAGS) ; do \
28902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28903 done; \
28904 echo "Doing install-html in gnattools" ; \
28905 (cd $(HOST_SUBDIR)/gnattools && \
28906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28908 "RANLIB=$${RANLIB}" \
28909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28910 install-html) \
28911 || exit 1
28913 @endif gnattools
28915 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28916 maybe-installcheck-gnattools:
28917 @if gnattools
28918 maybe-installcheck-gnattools: installcheck-gnattools
28920 installcheck-gnattools: \
28921 configure-gnattools
28922 @: $(MAKE); $(unstage)
28923 @[ -f ./gnattools/Makefile ] || exit 0; \
28924 r=`${PWD_COMMAND}`; export r; \
28925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28926 $(HOST_EXPORTS) \
28927 for flag in $(EXTRA_HOST_FLAGS) ; do \
28928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28929 done; \
28930 echo "Doing installcheck in gnattools" ; \
28931 (cd $(HOST_SUBDIR)/gnattools && \
28932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28934 "RANLIB=$${RANLIB}" \
28935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28936 installcheck) \
28937 || exit 1
28939 @endif gnattools
28941 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28942 maybe-mostlyclean-gnattools:
28943 @if gnattools
28944 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28946 mostlyclean-gnattools:
28947 @: $(MAKE); $(unstage)
28948 @[ -f ./gnattools/Makefile ] || exit 0; \
28949 r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 for flag in $(EXTRA_HOST_FLAGS) ; do \
28953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28954 done; \
28955 echo "Doing mostlyclean in gnattools" ; \
28956 (cd $(HOST_SUBDIR)/gnattools && \
28957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28959 "RANLIB=$${RANLIB}" \
28960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28961 mostlyclean) \
28962 || exit 1
28964 @endif gnattools
28966 .PHONY: maybe-clean-gnattools clean-gnattools
28967 maybe-clean-gnattools:
28968 @if gnattools
28969 maybe-clean-gnattools: clean-gnattools
28971 clean-gnattools:
28972 @: $(MAKE); $(unstage)
28973 @[ -f ./gnattools/Makefile ] || exit 0; \
28974 r=`${PWD_COMMAND}`; export r; \
28975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28976 $(HOST_EXPORTS) \
28977 for flag in $(EXTRA_HOST_FLAGS) ; do \
28978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28979 done; \
28980 echo "Doing clean in gnattools" ; \
28981 (cd $(HOST_SUBDIR)/gnattools && \
28982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28984 "RANLIB=$${RANLIB}" \
28985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28986 clean) \
28987 || exit 1
28989 @endif gnattools
28991 .PHONY: maybe-distclean-gnattools distclean-gnattools
28992 maybe-distclean-gnattools:
28993 @if gnattools
28994 maybe-distclean-gnattools: distclean-gnattools
28996 distclean-gnattools:
28997 @: $(MAKE); $(unstage)
28998 @[ -f ./gnattools/Makefile ] || exit 0; \
28999 r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 for flag in $(EXTRA_HOST_FLAGS) ; do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 echo "Doing distclean in gnattools" ; \
29006 (cd $(HOST_SUBDIR)/gnattools && \
29007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29009 "RANLIB=$${RANLIB}" \
29010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29011 distclean) \
29012 || exit 1
29014 @endif gnattools
29016 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29017 maybe-maintainer-clean-gnattools:
29018 @if gnattools
29019 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29021 maintainer-clean-gnattools:
29022 @: $(MAKE); $(unstage)
29023 @[ -f ./gnattools/Makefile ] || exit 0; \
29024 r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 $(HOST_EXPORTS) \
29027 for flag in $(EXTRA_HOST_FLAGS) ; do \
29028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29029 done; \
29030 echo "Doing maintainer-clean in gnattools" ; \
29031 (cd $(HOST_SUBDIR)/gnattools && \
29032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29034 "RANLIB=$${RANLIB}" \
29035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29036 maintainer-clean) \
29037 || exit 1
29039 @endif gnattools
29043 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29044 maybe-configure-lto-plugin:
29045 @if gcc-bootstrap
29046 configure-lto-plugin: stage_current
29047 @endif gcc-bootstrap
29048 @if lto-plugin
29049 maybe-configure-lto-plugin: configure-lto-plugin
29050 configure-lto-plugin:
29051 @r=`${PWD_COMMAND}`; export r; \
29052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29053 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29055 $(HOST_EXPORTS) \
29056 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29057 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29058 case $(srcdir) in \
29059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29060 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29062 esac; \
29063 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29064 libsrcdir="$$s/lto-plugin"; \
29065 $(SHELL) $${libsrcdir}/configure \
29066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29067 --target=${target_alias} $${srcdiroption} --enable-shared \
29068 || exit 1
29069 @endif lto-plugin
29073 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29074 maybe-configure-stage1-lto-plugin:
29075 @if lto-plugin-bootstrap
29076 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29077 configure-stage1-lto-plugin:
29078 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29080 @r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29082 TFLAGS="$(STAGE1_TFLAGS)"; \
29083 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29084 $(HOST_EXPORTS) \
29085 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29086 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29087 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29088 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29090 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29091 case $(srcdir) in \
29092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29093 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29095 esac; \
29096 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29097 libsrcdir="$$s/lto-plugin"; \
29098 $(SHELL) $${libsrcdir}/configure \
29099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29100 --target=${target_alias} $${srcdiroption} \
29101 $(STAGE1_CONFIGURE_FLAGS) \
29102 --enable-shared
29103 @endif lto-plugin-bootstrap
29105 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29106 maybe-configure-stage2-lto-plugin:
29107 @if lto-plugin-bootstrap
29108 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29109 configure-stage2-lto-plugin:
29110 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29112 @r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 TFLAGS="$(STAGE2_TFLAGS)"; \
29115 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29116 $(HOST_EXPORTS) \
29117 $(POSTSTAGE1_HOST_EXPORTS) \
29118 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29119 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29120 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29121 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29123 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29124 case $(srcdir) in \
29125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29126 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29128 esac; \
29129 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29130 libsrcdir="$$s/lto-plugin"; \
29131 $(SHELL) $${libsrcdir}/configure \
29132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29133 --target=${target_alias} $${srcdiroption} \
29134 --with-build-libsubdir=$(HOST_SUBDIR) \
29135 $(STAGE2_CONFIGURE_FLAGS) \
29136 --enable-shared
29137 @endif lto-plugin-bootstrap
29139 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29140 maybe-configure-stage3-lto-plugin:
29141 @if lto-plugin-bootstrap
29142 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29143 configure-stage3-lto-plugin:
29144 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29146 @r=`${PWD_COMMAND}`; export r; \
29147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29148 TFLAGS="$(STAGE3_TFLAGS)"; \
29149 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29150 $(HOST_EXPORTS) \
29151 $(POSTSTAGE1_HOST_EXPORTS) \
29152 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29153 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29154 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29155 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29157 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29158 case $(srcdir) in \
29159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29160 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29162 esac; \
29163 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29164 libsrcdir="$$s/lto-plugin"; \
29165 $(SHELL) $${libsrcdir}/configure \
29166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29167 --target=${target_alias} $${srcdiroption} \
29168 --with-build-libsubdir=$(HOST_SUBDIR) \
29169 $(STAGE3_CONFIGURE_FLAGS) \
29170 --enable-shared
29171 @endif lto-plugin-bootstrap
29173 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29174 maybe-configure-stage4-lto-plugin:
29175 @if lto-plugin-bootstrap
29176 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29177 configure-stage4-lto-plugin:
29178 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29180 @r=`${PWD_COMMAND}`; export r; \
29181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29182 TFLAGS="$(STAGE4_TFLAGS)"; \
29183 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29184 $(HOST_EXPORTS) \
29185 $(POSTSTAGE1_HOST_EXPORTS) \
29186 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29187 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29188 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29189 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29191 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29192 case $(srcdir) in \
29193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29194 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29196 esac; \
29197 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29198 libsrcdir="$$s/lto-plugin"; \
29199 $(SHELL) $${libsrcdir}/configure \
29200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29201 --target=${target_alias} $${srcdiroption} \
29202 --with-build-libsubdir=$(HOST_SUBDIR) \
29203 $(STAGE4_CONFIGURE_FLAGS) \
29204 --enable-shared
29205 @endif lto-plugin-bootstrap
29207 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29208 maybe-configure-stageprofile-lto-plugin:
29209 @if lto-plugin-bootstrap
29210 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29211 configure-stageprofile-lto-plugin:
29212 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29214 @r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29217 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29218 $(HOST_EXPORTS) \
29219 $(POSTSTAGE1_HOST_EXPORTS) \
29220 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29221 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29222 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29223 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29225 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29226 case $(srcdir) in \
29227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29228 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29230 esac; \
29231 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29232 libsrcdir="$$s/lto-plugin"; \
29233 $(SHELL) $${libsrcdir}/configure \
29234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29235 --target=${target_alias} $${srcdiroption} \
29236 --with-build-libsubdir=$(HOST_SUBDIR) \
29237 $(STAGEprofile_CONFIGURE_FLAGS) \
29238 --enable-shared
29239 @endif lto-plugin-bootstrap
29241 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29242 maybe-configure-stagefeedback-lto-plugin:
29243 @if lto-plugin-bootstrap
29244 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29245 configure-stagefeedback-lto-plugin:
29246 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29248 @r=`${PWD_COMMAND}`; export r; \
29249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29251 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29252 $(HOST_EXPORTS) \
29253 $(POSTSTAGE1_HOST_EXPORTS) \
29254 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29255 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29256 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29257 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29259 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29260 case $(srcdir) in \
29261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29262 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29264 esac; \
29265 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29266 libsrcdir="$$s/lto-plugin"; \
29267 $(SHELL) $${libsrcdir}/configure \
29268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29269 --target=${target_alias} $${srcdiroption} \
29270 --with-build-libsubdir=$(HOST_SUBDIR) \
29271 $(STAGEfeedback_CONFIGURE_FLAGS) \
29272 --enable-shared
29273 @endif lto-plugin-bootstrap
29279 .PHONY: all-lto-plugin maybe-all-lto-plugin
29280 maybe-all-lto-plugin:
29281 @if gcc-bootstrap
29282 all-lto-plugin: stage_current
29283 @endif gcc-bootstrap
29284 @if lto-plugin
29285 TARGET-lto-plugin=all
29286 maybe-all-lto-plugin: all-lto-plugin
29287 all-lto-plugin: configure-lto-plugin
29288 @r=`${PWD_COMMAND}`; export r; \
29289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29290 $(HOST_EXPORTS) \
29291 (cd $(HOST_SUBDIR)/lto-plugin && \
29292 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29293 $(TARGET-lto-plugin))
29294 @endif lto-plugin
29298 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29299 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29300 maybe-all-stage1-lto-plugin:
29301 maybe-clean-stage1-lto-plugin:
29302 @if lto-plugin-bootstrap
29303 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29304 all-stage1: all-stage1-lto-plugin
29305 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29306 all-stage1-lto-plugin: configure-stage1-lto-plugin
29307 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29308 @r=`${PWD_COMMAND}`; export r; \
29309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29310 TFLAGS="$(STAGE1_TFLAGS)"; \
29311 $(HOST_EXPORTS) \
29312 cd $(HOST_SUBDIR)/lto-plugin && \
29313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29314 CFLAGS="$(STAGE1_CFLAGS)" \
29315 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29316 LIBCFLAGS="$(LIBCFLAGS)" \
29317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29320 $(EXTRA_HOST_FLAGS) \
29321 TFLAGS="$(STAGE1_TFLAGS)" \
29322 $(TARGET-stage1-lto-plugin)
29324 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29325 clean-stage1: clean-stage1-lto-plugin
29326 clean-stage1-lto-plugin:
29327 @if [ $(current_stage) = stage1 ]; then \
29328 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29329 else \
29330 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29331 $(MAKE) stage1-start; \
29332 fi; \
29333 cd $(HOST_SUBDIR)/lto-plugin && \
29334 $(MAKE) $(EXTRA_HOST_FLAGS) \
29335 clean
29336 @endif lto-plugin-bootstrap
29339 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29340 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29341 maybe-all-stage2-lto-plugin:
29342 maybe-clean-stage2-lto-plugin:
29343 @if lto-plugin-bootstrap
29344 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29345 all-stage2: all-stage2-lto-plugin
29346 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29347 all-stage2-lto-plugin: configure-stage2-lto-plugin
29348 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29349 @r=`${PWD_COMMAND}`; export r; \
29350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29351 TFLAGS="$(STAGE2_TFLAGS)"; \
29352 $(HOST_EXPORTS) \
29353 $(POSTSTAGE1_HOST_EXPORTS) \
29354 cd $(HOST_SUBDIR)/lto-plugin && \
29355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29356 CFLAGS="$(STAGE2_CFLAGS)" \
29357 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29358 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29363 TFLAGS="$(STAGE2_TFLAGS)" \
29364 $(TARGET-stage2-lto-plugin)
29366 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29367 clean-stage2: clean-stage2-lto-plugin
29368 clean-stage2-lto-plugin:
29369 @if [ $(current_stage) = stage2 ]; then \
29370 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29371 else \
29372 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29373 $(MAKE) stage2-start; \
29374 fi; \
29375 cd $(HOST_SUBDIR)/lto-plugin && \
29376 $(MAKE) $(EXTRA_HOST_FLAGS) \
29377 $(POSTSTAGE1_FLAGS_TO_PASS) \
29378 clean
29379 @endif lto-plugin-bootstrap
29382 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29383 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29384 maybe-all-stage3-lto-plugin:
29385 maybe-clean-stage3-lto-plugin:
29386 @if lto-plugin-bootstrap
29387 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29388 all-stage3: all-stage3-lto-plugin
29389 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29390 all-stage3-lto-plugin: configure-stage3-lto-plugin
29391 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29392 @r=`${PWD_COMMAND}`; export r; \
29393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29394 TFLAGS="$(STAGE3_TFLAGS)"; \
29395 $(HOST_EXPORTS) \
29396 $(POSTSTAGE1_HOST_EXPORTS) \
29397 cd $(HOST_SUBDIR)/lto-plugin && \
29398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29399 CFLAGS="$(STAGE3_CFLAGS)" \
29400 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29401 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29406 TFLAGS="$(STAGE3_TFLAGS)" \
29407 $(TARGET-stage3-lto-plugin)
29409 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29410 clean-stage3: clean-stage3-lto-plugin
29411 clean-stage3-lto-plugin:
29412 @if [ $(current_stage) = stage3 ]; then \
29413 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29414 else \
29415 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29416 $(MAKE) stage3-start; \
29417 fi; \
29418 cd $(HOST_SUBDIR)/lto-plugin && \
29419 $(MAKE) $(EXTRA_HOST_FLAGS) \
29420 $(POSTSTAGE1_FLAGS_TO_PASS) \
29421 clean
29422 @endif lto-plugin-bootstrap
29425 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29426 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29427 maybe-all-stage4-lto-plugin:
29428 maybe-clean-stage4-lto-plugin:
29429 @if lto-plugin-bootstrap
29430 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29431 all-stage4: all-stage4-lto-plugin
29432 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29433 all-stage4-lto-plugin: configure-stage4-lto-plugin
29434 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29435 @r=`${PWD_COMMAND}`; export r; \
29436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29437 TFLAGS="$(STAGE4_TFLAGS)"; \
29438 $(HOST_EXPORTS) \
29439 $(POSTSTAGE1_HOST_EXPORTS) \
29440 cd $(HOST_SUBDIR)/lto-plugin && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29442 CFLAGS="$(STAGE4_CFLAGS)" \
29443 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29444 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29449 TFLAGS="$(STAGE4_TFLAGS)" \
29450 $(TARGET-stage4-lto-plugin)
29452 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29453 clean-stage4: clean-stage4-lto-plugin
29454 clean-stage4-lto-plugin:
29455 @if [ $(current_stage) = stage4 ]; then \
29456 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29457 else \
29458 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29459 $(MAKE) stage4-start; \
29460 fi; \
29461 cd $(HOST_SUBDIR)/lto-plugin && \
29462 $(MAKE) $(EXTRA_HOST_FLAGS) \
29463 $(POSTSTAGE1_FLAGS_TO_PASS) \
29464 clean
29465 @endif lto-plugin-bootstrap
29468 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29469 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29470 maybe-all-stageprofile-lto-plugin:
29471 maybe-clean-stageprofile-lto-plugin:
29472 @if lto-plugin-bootstrap
29473 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29474 all-stageprofile: all-stageprofile-lto-plugin
29475 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29476 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29477 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29478 @r=`${PWD_COMMAND}`; export r; \
29479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29481 $(HOST_EXPORTS) \
29482 $(POSTSTAGE1_HOST_EXPORTS) \
29483 cd $(HOST_SUBDIR)/lto-plugin && \
29484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29485 CFLAGS="$(STAGEprofile_CFLAGS)" \
29486 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29487 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29492 TFLAGS="$(STAGEprofile_TFLAGS)" \
29493 $(TARGET-stageprofile-lto-plugin)
29495 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29496 clean-stageprofile: clean-stageprofile-lto-plugin
29497 clean-stageprofile-lto-plugin:
29498 @if [ $(current_stage) = stageprofile ]; then \
29499 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29500 else \
29501 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29502 $(MAKE) stageprofile-start; \
29503 fi; \
29504 cd $(HOST_SUBDIR)/lto-plugin && \
29505 $(MAKE) $(EXTRA_HOST_FLAGS) \
29506 $(POSTSTAGE1_FLAGS_TO_PASS) \
29507 clean
29508 @endif lto-plugin-bootstrap
29511 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29512 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29513 maybe-all-stagefeedback-lto-plugin:
29514 maybe-clean-stagefeedback-lto-plugin:
29515 @if lto-plugin-bootstrap
29516 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29517 all-stagefeedback: all-stagefeedback-lto-plugin
29518 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29519 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29520 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29521 @r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29524 $(HOST_EXPORTS) \
29525 $(POSTSTAGE1_HOST_EXPORTS) \
29526 cd $(HOST_SUBDIR)/lto-plugin && \
29527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29528 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29529 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29530 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29534 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29535 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29536 $(TARGET-stagefeedback-lto-plugin)
29538 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29539 clean-stagefeedback: clean-stagefeedback-lto-plugin
29540 clean-stagefeedback-lto-plugin:
29541 @if [ $(current_stage) = stagefeedback ]; then \
29542 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29543 else \
29544 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29545 $(MAKE) stagefeedback-start; \
29546 fi; \
29547 cd $(HOST_SUBDIR)/lto-plugin && \
29548 $(MAKE) $(EXTRA_HOST_FLAGS) \
29549 $(POSTSTAGE1_FLAGS_TO_PASS) \
29550 clean
29551 @endif lto-plugin-bootstrap
29557 .PHONY: check-lto-plugin maybe-check-lto-plugin
29558 maybe-check-lto-plugin:
29559 @if lto-plugin
29560 maybe-check-lto-plugin: check-lto-plugin
29562 check-lto-plugin:
29563 @: $(MAKE); $(unstage)
29564 @r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(HOST_EXPORTS) \
29567 (cd $(HOST_SUBDIR)/lto-plugin && \
29568 $(MAKE) $(FLAGS_TO_PASS) check)
29570 @endif lto-plugin
29572 .PHONY: install-lto-plugin maybe-install-lto-plugin
29573 maybe-install-lto-plugin:
29574 @if lto-plugin
29575 maybe-install-lto-plugin: install-lto-plugin
29577 install-lto-plugin: installdirs
29578 @: $(MAKE); $(unstage)
29579 @r=`${PWD_COMMAND}`; export r; \
29580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29581 $(HOST_EXPORTS) \
29582 (cd $(HOST_SUBDIR)/lto-plugin && \
29583 $(MAKE) $(FLAGS_TO_PASS) install)
29585 @endif lto-plugin
29587 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29588 maybe-install-strip-lto-plugin:
29589 @if lto-plugin
29590 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29592 install-strip-lto-plugin: installdirs
29593 @: $(MAKE); $(unstage)
29594 @r=`${PWD_COMMAND}`; export r; \
29595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29596 $(HOST_EXPORTS) \
29597 (cd $(HOST_SUBDIR)/lto-plugin && \
29598 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29600 @endif lto-plugin
29602 # Other targets (info, dvi, pdf, etc.)
29604 .PHONY: maybe-info-lto-plugin info-lto-plugin
29605 maybe-info-lto-plugin:
29606 @if lto-plugin
29607 maybe-info-lto-plugin: info-lto-plugin
29609 info-lto-plugin: \
29610 configure-lto-plugin
29611 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29612 r=`${PWD_COMMAND}`; export r; \
29613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29614 $(HOST_EXPORTS) \
29615 for flag in $(EXTRA_HOST_FLAGS) ; do \
29616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29617 done; \
29618 echo "Doing info in lto-plugin" ; \
29619 (cd $(HOST_SUBDIR)/lto-plugin && \
29620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29622 "RANLIB=$${RANLIB}" \
29623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29624 info) \
29625 || exit 1
29627 @endif lto-plugin
29629 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29630 maybe-dvi-lto-plugin:
29631 @if lto-plugin
29632 maybe-dvi-lto-plugin: dvi-lto-plugin
29634 dvi-lto-plugin: \
29635 configure-lto-plugin
29636 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 for flag in $(EXTRA_HOST_FLAGS) ; do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 echo "Doing dvi in lto-plugin" ; \
29644 (cd $(HOST_SUBDIR)/lto-plugin && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29649 dvi) \
29650 || exit 1
29652 @endif lto-plugin
29654 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29655 maybe-pdf-lto-plugin:
29656 @if lto-plugin
29657 maybe-pdf-lto-plugin: pdf-lto-plugin
29659 pdf-lto-plugin: \
29660 configure-lto-plugin
29661 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29662 r=`${PWD_COMMAND}`; export r; \
29663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29664 $(HOST_EXPORTS) \
29665 for flag in $(EXTRA_HOST_FLAGS) ; do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29667 done; \
29668 echo "Doing pdf in lto-plugin" ; \
29669 (cd $(HOST_SUBDIR)/lto-plugin && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29674 pdf) \
29675 || exit 1
29677 @endif lto-plugin
29679 .PHONY: maybe-html-lto-plugin html-lto-plugin
29680 maybe-html-lto-plugin:
29681 @if lto-plugin
29682 maybe-html-lto-plugin: html-lto-plugin
29684 html-lto-plugin: \
29685 configure-lto-plugin
29686 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29687 r=`${PWD_COMMAND}`; export r; \
29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29689 $(HOST_EXPORTS) \
29690 for flag in $(EXTRA_HOST_FLAGS) ; do \
29691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29692 done; \
29693 echo "Doing html in lto-plugin" ; \
29694 (cd $(HOST_SUBDIR)/lto-plugin && \
29695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29697 "RANLIB=$${RANLIB}" \
29698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29699 html) \
29700 || exit 1
29702 @endif lto-plugin
29704 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29705 maybe-TAGS-lto-plugin:
29706 @if lto-plugin
29707 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29709 TAGS-lto-plugin: \
29710 configure-lto-plugin
29711 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29712 r=`${PWD_COMMAND}`; export r; \
29713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29714 $(HOST_EXPORTS) \
29715 for flag in $(EXTRA_HOST_FLAGS) ; do \
29716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29717 done; \
29718 echo "Doing TAGS in lto-plugin" ; \
29719 (cd $(HOST_SUBDIR)/lto-plugin && \
29720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29722 "RANLIB=$${RANLIB}" \
29723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29724 TAGS) \
29725 || exit 1
29727 @endif lto-plugin
29729 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29730 maybe-install-info-lto-plugin:
29731 @if lto-plugin
29732 maybe-install-info-lto-plugin: install-info-lto-plugin
29734 install-info-lto-plugin: \
29735 configure-lto-plugin \
29736 info-lto-plugin
29737 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29738 r=`${PWD_COMMAND}`; export r; \
29739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29740 $(HOST_EXPORTS) \
29741 for flag in $(EXTRA_HOST_FLAGS) ; do \
29742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29743 done; \
29744 echo "Doing install-info in lto-plugin" ; \
29745 (cd $(HOST_SUBDIR)/lto-plugin && \
29746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29748 "RANLIB=$${RANLIB}" \
29749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29750 install-info) \
29751 || exit 1
29753 @endif lto-plugin
29755 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29756 maybe-install-pdf-lto-plugin:
29757 @if lto-plugin
29758 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29760 install-pdf-lto-plugin: \
29761 configure-lto-plugin \
29762 pdf-lto-plugin
29763 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29764 r=`${PWD_COMMAND}`; export r; \
29765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29766 $(HOST_EXPORTS) \
29767 for flag in $(EXTRA_HOST_FLAGS) ; do \
29768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29769 done; \
29770 echo "Doing install-pdf in lto-plugin" ; \
29771 (cd $(HOST_SUBDIR)/lto-plugin && \
29772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29774 "RANLIB=$${RANLIB}" \
29775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29776 install-pdf) \
29777 || exit 1
29779 @endif lto-plugin
29781 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29782 maybe-install-html-lto-plugin:
29783 @if lto-plugin
29784 maybe-install-html-lto-plugin: install-html-lto-plugin
29786 install-html-lto-plugin: \
29787 configure-lto-plugin \
29788 html-lto-plugin
29789 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29790 r=`${PWD_COMMAND}`; export r; \
29791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29792 $(HOST_EXPORTS) \
29793 for flag in $(EXTRA_HOST_FLAGS) ; do \
29794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29795 done; \
29796 echo "Doing install-html in lto-plugin" ; \
29797 (cd $(HOST_SUBDIR)/lto-plugin && \
29798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29800 "RANLIB=$${RANLIB}" \
29801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29802 install-html) \
29803 || exit 1
29805 @endif lto-plugin
29807 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29808 maybe-installcheck-lto-plugin:
29809 @if lto-plugin
29810 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29812 installcheck-lto-plugin: \
29813 configure-lto-plugin
29814 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29815 r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 $(HOST_EXPORTS) \
29818 for flag in $(EXTRA_HOST_FLAGS) ; do \
29819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29820 done; \
29821 echo "Doing installcheck in lto-plugin" ; \
29822 (cd $(HOST_SUBDIR)/lto-plugin && \
29823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29825 "RANLIB=$${RANLIB}" \
29826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29827 installcheck) \
29828 || exit 1
29830 @endif lto-plugin
29832 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29833 maybe-mostlyclean-lto-plugin:
29834 @if lto-plugin
29835 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29837 mostlyclean-lto-plugin:
29838 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29839 r=`${PWD_COMMAND}`; export r; \
29840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29841 $(HOST_EXPORTS) \
29842 for flag in $(EXTRA_HOST_FLAGS) ; do \
29843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29844 done; \
29845 echo "Doing mostlyclean in lto-plugin" ; \
29846 (cd $(HOST_SUBDIR)/lto-plugin && \
29847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29849 "RANLIB=$${RANLIB}" \
29850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29851 mostlyclean) \
29852 || exit 1
29854 @endif lto-plugin
29856 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29857 maybe-clean-lto-plugin:
29858 @if lto-plugin
29859 maybe-clean-lto-plugin: clean-lto-plugin
29861 clean-lto-plugin:
29862 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29863 r=`${PWD_COMMAND}`; export r; \
29864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29865 $(HOST_EXPORTS) \
29866 for flag in $(EXTRA_HOST_FLAGS) ; do \
29867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29868 done; \
29869 echo "Doing clean in lto-plugin" ; \
29870 (cd $(HOST_SUBDIR)/lto-plugin && \
29871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29873 "RANLIB=$${RANLIB}" \
29874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29875 clean) \
29876 || exit 1
29878 @endif lto-plugin
29880 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29881 maybe-distclean-lto-plugin:
29882 @if lto-plugin
29883 maybe-distclean-lto-plugin: distclean-lto-plugin
29885 distclean-lto-plugin:
29886 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29887 r=`${PWD_COMMAND}`; export r; \
29888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29889 $(HOST_EXPORTS) \
29890 for flag in $(EXTRA_HOST_FLAGS) ; do \
29891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29892 done; \
29893 echo "Doing distclean in lto-plugin" ; \
29894 (cd $(HOST_SUBDIR)/lto-plugin && \
29895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29897 "RANLIB=$${RANLIB}" \
29898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29899 distclean) \
29900 || exit 1
29902 @endif lto-plugin
29904 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29905 maybe-maintainer-clean-lto-plugin:
29906 @if lto-plugin
29907 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29909 maintainer-clean-lto-plugin:
29910 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29911 r=`${PWD_COMMAND}`; export r; \
29912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29913 $(HOST_EXPORTS) \
29914 for flag in $(EXTRA_HOST_FLAGS) ; do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29916 done; \
29917 echo "Doing maintainer-clean in lto-plugin" ; \
29918 (cd $(HOST_SUBDIR)/lto-plugin && \
29919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29921 "RANLIB=$${RANLIB}" \
29922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29923 maintainer-clean) \
29924 || exit 1
29926 @endif lto-plugin
29930 # ---------------------------------------
29931 # Modules which run on the target machine
29932 # ---------------------------------------
29937 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29938 maybe-configure-target-libstdc++-v3:
29939 @if gcc-bootstrap
29940 configure-target-libstdc++-v3: stage_current
29941 @endif gcc-bootstrap
29942 @if target-libstdc++-v3
29943 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29944 configure-target-libstdc++-v3:
29945 @r=`${PWD_COMMAND}`; export r; \
29946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29947 echo "Checking multilib configuration for libstdc++-v3..."; \
29948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29950 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29951 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29952 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29953 else \
29954 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29955 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29956 fi; \
29957 else \
29958 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29959 fi; \
29960 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29962 $(RAW_CXX_TARGET_EXPORTS) \
29963 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29964 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29965 case $(srcdir) in \
29966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29967 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29969 esac; \
29970 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29971 libsrcdir="$$s/libstdc++-v3"; \
29972 rm -f no-such-file || : ; \
29973 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29974 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
29975 --target=${target_alias} $${srcdiroption} \
29976 || exit 1
29977 @endif target-libstdc++-v3
29981 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
29982 maybe-configure-stage1-target-libstdc++-v3:
29983 @if target-libstdc++-v3-bootstrap
29984 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
29985 configure-stage1-target-libstdc++-v3:
29986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29987 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
29988 @r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 TFLAGS="$(STAGE1_TFLAGS)"; \
29991 echo "Checking multilib configuration for libstdc++-v3..."; \
29992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29993 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29994 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29995 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29996 else \
29997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29998 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29999 fi; \
30000 else \
30001 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30002 fi; \
30003 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30004 $(RAW_CXX_TARGET_EXPORTS) \
30005 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30006 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30007 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30008 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30010 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30011 case $(srcdir) in \
30012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30013 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30015 esac; \
30016 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30017 libsrcdir="$$s/libstdc++-v3"; \
30018 $(SHELL) $${libsrcdir}/configure \
30019 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30020 --target=${target_alias} $${srcdiroption} \
30021 $(STAGE1_CONFIGURE_FLAGS)
30022 @endif target-libstdc++-v3-bootstrap
30024 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30025 maybe-configure-stage2-target-libstdc++-v3:
30026 @if target-libstdc++-v3-bootstrap
30027 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30028 configure-stage2-target-libstdc++-v3:
30029 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30030 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30031 @r=`${PWD_COMMAND}`; export r; \
30032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30033 TFLAGS="$(STAGE2_TFLAGS)"; \
30034 echo "Checking multilib configuration for libstdc++-v3..."; \
30035 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30036 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30037 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30038 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30039 else \
30040 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30041 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30042 fi; \
30043 else \
30044 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30045 fi; \
30046 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30047 $(RAW_CXX_TARGET_EXPORTS) \
30049 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30050 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30051 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30052 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30054 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30055 case $(srcdir) in \
30056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30057 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30059 esac; \
30060 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30061 libsrcdir="$$s/libstdc++-v3"; \
30062 $(SHELL) $${libsrcdir}/configure \
30063 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30064 --target=${target_alias} $${srcdiroption} \
30065 --with-build-libsubdir=$(HOST_SUBDIR) \
30066 $(STAGE2_CONFIGURE_FLAGS)
30067 @endif target-libstdc++-v3-bootstrap
30069 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30070 maybe-configure-stage3-target-libstdc++-v3:
30071 @if target-libstdc++-v3-bootstrap
30072 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30073 configure-stage3-target-libstdc++-v3:
30074 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30075 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30076 @r=`${PWD_COMMAND}`; export r; \
30077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30078 TFLAGS="$(STAGE3_TFLAGS)"; \
30079 echo "Checking multilib configuration for libstdc++-v3..."; \
30080 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30081 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30082 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30083 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30084 else \
30085 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30086 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30087 fi; \
30088 else \
30089 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30090 fi; \
30091 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30092 $(RAW_CXX_TARGET_EXPORTS) \
30094 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30095 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30096 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30097 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30098 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30099 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30100 case $(srcdir) in \
30101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30102 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30104 esac; \
30105 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30106 libsrcdir="$$s/libstdc++-v3"; \
30107 $(SHELL) $${libsrcdir}/configure \
30108 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30109 --target=${target_alias} $${srcdiroption} \
30110 --with-build-libsubdir=$(HOST_SUBDIR) \
30111 $(STAGE3_CONFIGURE_FLAGS)
30112 @endif target-libstdc++-v3-bootstrap
30114 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30115 maybe-configure-stage4-target-libstdc++-v3:
30116 @if target-libstdc++-v3-bootstrap
30117 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30118 configure-stage4-target-libstdc++-v3:
30119 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30120 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30121 @r=`${PWD_COMMAND}`; export r; \
30122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30123 TFLAGS="$(STAGE4_TFLAGS)"; \
30124 echo "Checking multilib configuration for libstdc++-v3..."; \
30125 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30126 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30127 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30128 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30129 else \
30130 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30131 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30132 fi; \
30133 else \
30134 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30135 fi; \
30136 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30137 $(RAW_CXX_TARGET_EXPORTS) \
30139 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30140 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30141 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30142 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30144 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30145 case $(srcdir) in \
30146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30147 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30149 esac; \
30150 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30151 libsrcdir="$$s/libstdc++-v3"; \
30152 $(SHELL) $${libsrcdir}/configure \
30153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30154 --target=${target_alias} $${srcdiroption} \
30155 --with-build-libsubdir=$(HOST_SUBDIR) \
30156 $(STAGE4_CONFIGURE_FLAGS)
30157 @endif target-libstdc++-v3-bootstrap
30159 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30160 maybe-configure-stageprofile-target-libstdc++-v3:
30161 @if target-libstdc++-v3-bootstrap
30162 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30163 configure-stageprofile-target-libstdc++-v3:
30164 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30165 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30166 @r=`${PWD_COMMAND}`; export r; \
30167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30168 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30169 echo "Checking multilib configuration for libstdc++-v3..."; \
30170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30171 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30172 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30173 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30174 else \
30175 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30176 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30177 fi; \
30178 else \
30179 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30180 fi; \
30181 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30182 $(RAW_CXX_TARGET_EXPORTS) \
30184 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30185 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30186 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30187 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30189 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30190 case $(srcdir) in \
30191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30192 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30194 esac; \
30195 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30196 libsrcdir="$$s/libstdc++-v3"; \
30197 $(SHELL) $${libsrcdir}/configure \
30198 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30199 --target=${target_alias} $${srcdiroption} \
30200 --with-build-libsubdir=$(HOST_SUBDIR) \
30201 $(STAGEprofile_CONFIGURE_FLAGS)
30202 @endif target-libstdc++-v3-bootstrap
30204 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30205 maybe-configure-stagefeedback-target-libstdc++-v3:
30206 @if target-libstdc++-v3-bootstrap
30207 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30208 configure-stagefeedback-target-libstdc++-v3:
30209 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30210 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30211 @r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30214 echo "Checking multilib configuration for libstdc++-v3..."; \
30215 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30216 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30217 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30218 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30219 else \
30220 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30221 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30222 fi; \
30223 else \
30224 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30225 fi; \
30226 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30227 $(RAW_CXX_TARGET_EXPORTS) \
30229 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30230 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30231 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30232 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30233 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30234 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30235 case $(srcdir) in \
30236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30237 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30239 esac; \
30240 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30241 libsrcdir="$$s/libstdc++-v3"; \
30242 $(SHELL) $${libsrcdir}/configure \
30243 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30244 --target=${target_alias} $${srcdiroption} \
30245 --with-build-libsubdir=$(HOST_SUBDIR) \
30246 $(STAGEfeedback_CONFIGURE_FLAGS)
30247 @endif target-libstdc++-v3-bootstrap
30253 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30254 maybe-all-target-libstdc++-v3:
30255 @if gcc-bootstrap
30256 all-target-libstdc++-v3: stage_current
30257 @endif gcc-bootstrap
30258 @if target-libstdc++-v3
30259 TARGET-target-libstdc++-v3=all
30260 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30261 all-target-libstdc++-v3: configure-target-libstdc++-v3
30262 @r=`${PWD_COMMAND}`; export r; \
30263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30264 $(RAW_CXX_TARGET_EXPORTS) \
30265 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30266 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30267 $(TARGET-target-libstdc++-v3))
30268 @endif target-libstdc++-v3
30272 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30273 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30274 maybe-all-stage1-target-libstdc++-v3:
30275 maybe-clean-stage1-target-libstdc++-v3:
30276 @if target-libstdc++-v3-bootstrap
30277 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30278 all-stage1: all-stage1-target-libstdc++-v3
30279 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30280 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30281 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30282 @r=`${PWD_COMMAND}`; export r; \
30283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30284 TFLAGS="$(STAGE1_TFLAGS)"; \
30285 $(RAW_CXX_TARGET_EXPORTS) \
30286 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30288 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30294 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30295 TFLAGS="$(STAGE1_TFLAGS)" \
30296 $(TARGET-stage1-target-libstdc++-v3)
30298 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30299 clean-stage1: clean-stage1-target-libstdc++-v3
30300 clean-stage1-target-libstdc++-v3:
30301 @if [ $(current_stage) = stage1 ]; then \
30302 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30303 else \
30304 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30305 $(MAKE) stage1-start; \
30306 fi; \
30307 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30308 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30309 clean
30310 @endif target-libstdc++-v3-bootstrap
30313 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30314 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30315 maybe-all-stage2-target-libstdc++-v3:
30316 maybe-clean-stage2-target-libstdc++-v3:
30317 @if target-libstdc++-v3-bootstrap
30318 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30319 all-stage2: all-stage2-target-libstdc++-v3
30320 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30321 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30322 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30323 @r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 TFLAGS="$(STAGE2_TFLAGS)"; \
30326 $(RAW_CXX_TARGET_EXPORTS) \
30328 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30330 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30331 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30332 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30336 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30337 TFLAGS="$(STAGE2_TFLAGS)" \
30338 $(TARGET-stage2-target-libstdc++-v3)
30340 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30341 clean-stage2: clean-stage2-target-libstdc++-v3
30342 clean-stage2-target-libstdc++-v3:
30343 @if [ $(current_stage) = stage2 ]; then \
30344 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30345 else \
30346 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30347 $(MAKE) stage2-start; \
30348 fi; \
30349 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30350 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30352 clean
30353 @endif target-libstdc++-v3-bootstrap
30356 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30357 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30358 maybe-all-stage3-target-libstdc++-v3:
30359 maybe-clean-stage3-target-libstdc++-v3:
30360 @if target-libstdc++-v3-bootstrap
30361 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30362 all-stage3: all-stage3-target-libstdc++-v3
30363 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30364 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30365 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30366 @r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 TFLAGS="$(STAGE3_TFLAGS)"; \
30369 $(RAW_CXX_TARGET_EXPORTS) \
30371 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30373 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30374 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30375 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30379 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30380 TFLAGS="$(STAGE3_TFLAGS)" \
30381 $(TARGET-stage3-target-libstdc++-v3)
30383 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30384 clean-stage3: clean-stage3-target-libstdc++-v3
30385 clean-stage3-target-libstdc++-v3:
30386 @if [ $(current_stage) = stage3 ]; then \
30387 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30388 else \
30389 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30390 $(MAKE) stage3-start; \
30391 fi; \
30392 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30393 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30395 clean
30396 @endif target-libstdc++-v3-bootstrap
30399 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30400 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30401 maybe-all-stage4-target-libstdc++-v3:
30402 maybe-clean-stage4-target-libstdc++-v3:
30403 @if target-libstdc++-v3-bootstrap
30404 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30405 all-stage4: all-stage4-target-libstdc++-v3
30406 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30407 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30408 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 TFLAGS="$(STAGE4_TFLAGS)"; \
30412 $(RAW_CXX_TARGET_EXPORTS) \
30414 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30416 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30417 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30418 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30422 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30423 TFLAGS="$(STAGE4_TFLAGS)" \
30424 $(TARGET-stage4-target-libstdc++-v3)
30426 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30427 clean-stage4: clean-stage4-target-libstdc++-v3
30428 clean-stage4-target-libstdc++-v3:
30429 @if [ $(current_stage) = stage4 ]; then \
30430 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30431 else \
30432 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30433 $(MAKE) stage4-start; \
30434 fi; \
30435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30436 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30438 clean
30439 @endif target-libstdc++-v3-bootstrap
30442 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30443 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30444 maybe-all-stageprofile-target-libstdc++-v3:
30445 maybe-clean-stageprofile-target-libstdc++-v3:
30446 @if target-libstdc++-v3-bootstrap
30447 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30448 all-stageprofile: all-stageprofile-target-libstdc++-v3
30449 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30450 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30451 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30452 @r=`${PWD_COMMAND}`; export r; \
30453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30454 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30455 $(RAW_CXX_TARGET_EXPORTS) \
30457 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30459 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30460 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30461 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30465 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30466 TFLAGS="$(STAGEprofile_TFLAGS)" \
30467 $(TARGET-stageprofile-target-libstdc++-v3)
30469 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30470 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30471 clean-stageprofile-target-libstdc++-v3:
30472 @if [ $(current_stage) = stageprofile ]; then \
30473 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30474 else \
30475 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30476 $(MAKE) stageprofile-start; \
30477 fi; \
30478 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30479 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30481 clean
30482 @endif target-libstdc++-v3-bootstrap
30485 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30486 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30487 maybe-all-stagefeedback-target-libstdc++-v3:
30488 maybe-clean-stagefeedback-target-libstdc++-v3:
30489 @if target-libstdc++-v3-bootstrap
30490 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30491 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30492 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30493 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30494 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30495 @r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30498 $(RAW_CXX_TARGET_EXPORTS) \
30500 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30502 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30508 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30509 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30510 $(TARGET-stagefeedback-target-libstdc++-v3)
30512 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30513 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30514 clean-stagefeedback-target-libstdc++-v3:
30515 @if [ $(current_stage) = stagefeedback ]; then \
30516 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30517 else \
30518 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30519 $(MAKE) stagefeedback-start; \
30520 fi; \
30521 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30522 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30524 clean
30525 @endif target-libstdc++-v3-bootstrap
30532 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30533 maybe-check-target-libstdc++-v3:
30534 @if target-libstdc++-v3
30535 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30537 check-target-libstdc++-v3:
30538 @: $(MAKE); $(unstage)
30539 @r=`${PWD_COMMAND}`; export r; \
30540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30541 $(RAW_CXX_TARGET_EXPORTS) \
30542 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30543 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30545 @endif target-libstdc++-v3
30547 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30548 maybe-install-target-libstdc++-v3:
30549 @if target-libstdc++-v3
30550 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30552 install-target-libstdc++-v3: installdirs
30553 @: $(MAKE); $(unstage)
30554 @r=`${PWD_COMMAND}`; export r; \
30555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30556 $(RAW_CXX_TARGET_EXPORTS) \
30557 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30558 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30560 @endif target-libstdc++-v3
30562 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30563 maybe-install-strip-target-libstdc++-v3:
30564 @if target-libstdc++-v3
30565 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30567 install-strip-target-libstdc++-v3: installdirs
30568 @: $(MAKE); $(unstage)
30569 @r=`${PWD_COMMAND}`; export r; \
30570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30571 $(RAW_CXX_TARGET_EXPORTS) \
30572 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30573 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30575 @endif target-libstdc++-v3
30577 # Other targets (info, dvi, pdf, etc.)
30579 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30580 maybe-info-target-libstdc++-v3:
30581 @if target-libstdc++-v3
30582 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30584 info-target-libstdc++-v3: \
30585 configure-target-libstdc++-v3
30586 @: $(MAKE); $(unstage)
30587 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30588 r=`${PWD_COMMAND}`; export r; \
30589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30590 $(RAW_CXX_TARGET_EXPORTS) \
30591 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30592 for flag in $(EXTRA_TARGET_FLAGS); do \
30593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30594 done; \
30595 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30598 "RANLIB=$${RANLIB}" \
30599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30600 info) \
30601 || exit 1
30603 @endif target-libstdc++-v3
30605 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30606 maybe-dvi-target-libstdc++-v3:
30607 @if target-libstdc++-v3
30608 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30610 dvi-target-libstdc++-v3: \
30611 configure-target-libstdc++-v3
30612 @: $(MAKE); $(unstage)
30613 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30614 r=`${PWD_COMMAND}`; export r; \
30615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30616 $(RAW_CXX_TARGET_EXPORTS) \
30617 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30618 for flag in $(EXTRA_TARGET_FLAGS); do \
30619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30620 done; \
30621 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30624 "RANLIB=$${RANLIB}" \
30625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30626 dvi) \
30627 || exit 1
30629 @endif target-libstdc++-v3
30631 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30632 maybe-pdf-target-libstdc++-v3:
30633 @if target-libstdc++-v3
30634 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30636 pdf-target-libstdc++-v3: \
30637 configure-target-libstdc++-v3
30638 @: $(MAKE); $(unstage)
30639 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30640 r=`${PWD_COMMAND}`; export r; \
30641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30642 $(RAW_CXX_TARGET_EXPORTS) \
30643 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30644 for flag in $(EXTRA_TARGET_FLAGS); do \
30645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30646 done; \
30647 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30650 "RANLIB=$${RANLIB}" \
30651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30652 pdf) \
30653 || exit 1
30655 @endif target-libstdc++-v3
30657 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30658 maybe-html-target-libstdc++-v3:
30659 @if target-libstdc++-v3
30660 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30662 html-target-libstdc++-v3: \
30663 configure-target-libstdc++-v3
30664 @: $(MAKE); $(unstage)
30665 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30666 r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 $(RAW_CXX_TARGET_EXPORTS) \
30669 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30670 for flag in $(EXTRA_TARGET_FLAGS); do \
30671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30672 done; \
30673 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30676 "RANLIB=$${RANLIB}" \
30677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30678 html) \
30679 || exit 1
30681 @endif target-libstdc++-v3
30683 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30684 maybe-TAGS-target-libstdc++-v3:
30685 @if target-libstdc++-v3
30686 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30688 TAGS-target-libstdc++-v3: \
30689 configure-target-libstdc++-v3
30690 @: $(MAKE); $(unstage)
30691 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30692 r=`${PWD_COMMAND}`; export r; \
30693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30694 $(RAW_CXX_TARGET_EXPORTS) \
30695 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30696 for flag in $(EXTRA_TARGET_FLAGS); do \
30697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30698 done; \
30699 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30702 "RANLIB=$${RANLIB}" \
30703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30704 TAGS) \
30705 || exit 1
30707 @endif target-libstdc++-v3
30709 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30710 maybe-install-info-target-libstdc++-v3:
30711 @if target-libstdc++-v3
30712 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30714 install-info-target-libstdc++-v3: \
30715 configure-target-libstdc++-v3 \
30716 info-target-libstdc++-v3
30717 @: $(MAKE); $(unstage)
30718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30719 r=`${PWD_COMMAND}`; export r; \
30720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30721 $(RAW_CXX_TARGET_EXPORTS) \
30722 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30723 for flag in $(EXTRA_TARGET_FLAGS); do \
30724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30725 done; \
30726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30729 "RANLIB=$${RANLIB}" \
30730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30731 install-info) \
30732 || exit 1
30734 @endif target-libstdc++-v3
30736 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30737 maybe-install-pdf-target-libstdc++-v3:
30738 @if target-libstdc++-v3
30739 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30741 install-pdf-target-libstdc++-v3: \
30742 configure-target-libstdc++-v3 \
30743 pdf-target-libstdc++-v3
30744 @: $(MAKE); $(unstage)
30745 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30746 r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(RAW_CXX_TARGET_EXPORTS) \
30749 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30750 for flag in $(EXTRA_TARGET_FLAGS); do \
30751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30752 done; \
30753 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30756 "RANLIB=$${RANLIB}" \
30757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30758 install-pdf) \
30759 || exit 1
30761 @endif target-libstdc++-v3
30763 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30764 maybe-install-html-target-libstdc++-v3:
30765 @if target-libstdc++-v3
30766 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30768 install-html-target-libstdc++-v3: \
30769 configure-target-libstdc++-v3 \
30770 html-target-libstdc++-v3
30771 @: $(MAKE); $(unstage)
30772 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30773 r=`${PWD_COMMAND}`; export r; \
30774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 $(RAW_CXX_TARGET_EXPORTS) \
30776 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30777 for flag in $(EXTRA_TARGET_FLAGS); do \
30778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30779 done; \
30780 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30783 "RANLIB=$${RANLIB}" \
30784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30785 install-html) \
30786 || exit 1
30788 @endif target-libstdc++-v3
30790 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30791 maybe-installcheck-target-libstdc++-v3:
30792 @if target-libstdc++-v3
30793 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30795 installcheck-target-libstdc++-v3: \
30796 configure-target-libstdc++-v3
30797 @: $(MAKE); $(unstage)
30798 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30799 r=`${PWD_COMMAND}`; export r; \
30800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30801 $(RAW_CXX_TARGET_EXPORTS) \
30802 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30803 for flag in $(EXTRA_TARGET_FLAGS); do \
30804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30805 done; \
30806 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30809 "RANLIB=$${RANLIB}" \
30810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30811 installcheck) \
30812 || exit 1
30814 @endif target-libstdc++-v3
30816 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30817 maybe-mostlyclean-target-libstdc++-v3:
30818 @if target-libstdc++-v3
30819 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30821 mostlyclean-target-libstdc++-v3:
30822 @: $(MAKE); $(unstage)
30823 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30824 r=`${PWD_COMMAND}`; export r; \
30825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30826 $(RAW_CXX_TARGET_EXPORTS) \
30827 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30828 for flag in $(EXTRA_TARGET_FLAGS); do \
30829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30830 done; \
30831 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30834 "RANLIB=$${RANLIB}" \
30835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30836 mostlyclean) \
30837 || exit 1
30839 @endif target-libstdc++-v3
30841 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30842 maybe-clean-target-libstdc++-v3:
30843 @if target-libstdc++-v3
30844 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30846 clean-target-libstdc++-v3:
30847 @: $(MAKE); $(unstage)
30848 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30849 r=`${PWD_COMMAND}`; export r; \
30850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30851 $(RAW_CXX_TARGET_EXPORTS) \
30852 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30853 for flag in $(EXTRA_TARGET_FLAGS); do \
30854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30855 done; \
30856 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30859 "RANLIB=$${RANLIB}" \
30860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30861 clean) \
30862 || exit 1
30864 @endif target-libstdc++-v3
30866 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30867 maybe-distclean-target-libstdc++-v3:
30868 @if target-libstdc++-v3
30869 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30871 distclean-target-libstdc++-v3:
30872 @: $(MAKE); $(unstage)
30873 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30874 r=`${PWD_COMMAND}`; export r; \
30875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30876 $(RAW_CXX_TARGET_EXPORTS) \
30877 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30878 for flag in $(EXTRA_TARGET_FLAGS); do \
30879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30880 done; \
30881 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30884 "RANLIB=$${RANLIB}" \
30885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30886 distclean) \
30887 || exit 1
30889 @endif target-libstdc++-v3
30891 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30892 maybe-maintainer-clean-target-libstdc++-v3:
30893 @if target-libstdc++-v3
30894 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30896 maintainer-clean-target-libstdc++-v3:
30897 @: $(MAKE); $(unstage)
30898 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30899 r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 $(RAW_CXX_TARGET_EXPORTS) \
30902 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30903 for flag in $(EXTRA_TARGET_FLAGS); do \
30904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30905 done; \
30906 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30909 "RANLIB=$${RANLIB}" \
30910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30911 maintainer-clean) \
30912 || exit 1
30914 @endif target-libstdc++-v3
30920 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30921 maybe-configure-target-libmudflap:
30922 @if gcc-bootstrap
30923 configure-target-libmudflap: stage_current
30924 @endif gcc-bootstrap
30925 @if target-libmudflap
30926 maybe-configure-target-libmudflap: configure-target-libmudflap
30927 configure-target-libmudflap:
30928 @: $(MAKE); $(unstage)
30929 @r=`${PWD_COMMAND}`; export r; \
30930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30931 echo "Checking multilib configuration for libmudflap..."; \
30932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30933 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30934 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30935 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30936 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30937 else \
30938 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30939 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30940 fi; \
30941 else \
30942 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30943 fi; \
30944 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30946 $(NORMAL_TARGET_EXPORTS) \
30947 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
30948 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
30949 case $(srcdir) in \
30950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30951 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
30952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30953 esac; \
30954 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
30955 libsrcdir="$$s/libmudflap"; \
30956 rm -f no-such-file || : ; \
30957 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30958 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30959 --target=${target_alias} $${srcdiroption} \
30960 || exit 1
30961 @endif target-libmudflap
30967 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
30968 maybe-all-target-libmudflap:
30969 @if gcc-bootstrap
30970 all-target-libmudflap: stage_current
30971 @endif gcc-bootstrap
30972 @if target-libmudflap
30973 TARGET-target-libmudflap=all
30974 maybe-all-target-libmudflap: all-target-libmudflap
30975 all-target-libmudflap: configure-target-libmudflap
30976 @: $(MAKE); $(unstage)
30977 @r=`${PWD_COMMAND}`; export r; \
30978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30979 $(NORMAL_TARGET_EXPORTS) \
30980 (cd $(TARGET_SUBDIR)/libmudflap && \
30981 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
30982 $(TARGET-target-libmudflap))
30983 @endif target-libmudflap
30989 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
30990 maybe-check-target-libmudflap:
30991 @if target-libmudflap
30992 maybe-check-target-libmudflap: check-target-libmudflap
30994 check-target-libmudflap:
30995 @: $(MAKE); $(unstage)
30996 @r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(NORMAL_TARGET_EXPORTS) \
30999 (cd $(TARGET_SUBDIR)/libmudflap && \
31000 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31002 @endif target-libmudflap
31004 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31005 maybe-install-target-libmudflap:
31006 @if target-libmudflap
31007 maybe-install-target-libmudflap: install-target-libmudflap
31009 install-target-libmudflap: installdirs
31010 @: $(MAKE); $(unstage)
31011 @r=`${PWD_COMMAND}`; export r; \
31012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31013 $(NORMAL_TARGET_EXPORTS) \
31014 (cd $(TARGET_SUBDIR)/libmudflap && \
31015 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31017 @endif target-libmudflap
31019 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31020 maybe-install-strip-target-libmudflap:
31021 @if target-libmudflap
31022 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31024 install-strip-target-libmudflap: installdirs
31025 @: $(MAKE); $(unstage)
31026 @r=`${PWD_COMMAND}`; export r; \
31027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31028 $(NORMAL_TARGET_EXPORTS) \
31029 (cd $(TARGET_SUBDIR)/libmudflap && \
31030 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31032 @endif target-libmudflap
31034 # Other targets (info, dvi, pdf, etc.)
31036 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31037 maybe-info-target-libmudflap:
31038 @if target-libmudflap
31039 maybe-info-target-libmudflap: info-target-libmudflap
31041 info-target-libmudflap: \
31042 configure-target-libmudflap
31043 @: $(MAKE); $(unstage)
31044 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31045 r=`${PWD_COMMAND}`; export r; \
31046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31047 $(NORMAL_TARGET_EXPORTS) \
31048 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31049 for flag in $(EXTRA_TARGET_FLAGS); do \
31050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31051 done; \
31052 (cd $(TARGET_SUBDIR)/libmudflap && \
31053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31055 "RANLIB=$${RANLIB}" \
31056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31057 info) \
31058 || exit 1
31060 @endif target-libmudflap
31062 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31063 maybe-dvi-target-libmudflap:
31064 @if target-libmudflap
31065 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31067 dvi-target-libmudflap: \
31068 configure-target-libmudflap
31069 @: $(MAKE); $(unstage)
31070 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31071 r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 $(NORMAL_TARGET_EXPORTS) \
31074 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31075 for flag in $(EXTRA_TARGET_FLAGS); do \
31076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31077 done; \
31078 (cd $(TARGET_SUBDIR)/libmudflap && \
31079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31081 "RANLIB=$${RANLIB}" \
31082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31083 dvi) \
31084 || exit 1
31086 @endif target-libmudflap
31088 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31089 maybe-pdf-target-libmudflap:
31090 @if target-libmudflap
31091 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31093 pdf-target-libmudflap: \
31094 configure-target-libmudflap
31095 @: $(MAKE); $(unstage)
31096 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31097 r=`${PWD_COMMAND}`; export r; \
31098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31099 $(NORMAL_TARGET_EXPORTS) \
31100 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31101 for flag in $(EXTRA_TARGET_FLAGS); do \
31102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31103 done; \
31104 (cd $(TARGET_SUBDIR)/libmudflap && \
31105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31107 "RANLIB=$${RANLIB}" \
31108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31109 pdf) \
31110 || exit 1
31112 @endif target-libmudflap
31114 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31115 maybe-html-target-libmudflap:
31116 @if target-libmudflap
31117 maybe-html-target-libmudflap: html-target-libmudflap
31119 html-target-libmudflap: \
31120 configure-target-libmudflap
31121 @: $(MAKE); $(unstage)
31122 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(NORMAL_TARGET_EXPORTS) \
31126 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31127 for flag in $(EXTRA_TARGET_FLAGS); do \
31128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31129 done; \
31130 (cd $(TARGET_SUBDIR)/libmudflap && \
31131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31133 "RANLIB=$${RANLIB}" \
31134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31135 html) \
31136 || exit 1
31138 @endif target-libmudflap
31140 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31141 maybe-TAGS-target-libmudflap:
31142 @if target-libmudflap
31143 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31145 TAGS-target-libmudflap: \
31146 configure-target-libmudflap
31147 @: $(MAKE); $(unstage)
31148 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31149 r=`${PWD_COMMAND}`; export r; \
31150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31151 $(NORMAL_TARGET_EXPORTS) \
31152 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31153 for flag in $(EXTRA_TARGET_FLAGS); do \
31154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31155 done; \
31156 (cd $(TARGET_SUBDIR)/libmudflap && \
31157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31159 "RANLIB=$${RANLIB}" \
31160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31161 TAGS) \
31162 || exit 1
31164 @endif target-libmudflap
31166 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31167 maybe-install-info-target-libmudflap:
31168 @if target-libmudflap
31169 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31171 install-info-target-libmudflap: \
31172 configure-target-libmudflap \
31173 info-target-libmudflap
31174 @: $(MAKE); $(unstage)
31175 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(NORMAL_TARGET_EXPORTS) \
31179 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31180 for flag in $(EXTRA_TARGET_FLAGS); do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 (cd $(TARGET_SUBDIR)/libmudflap && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 install-info) \
31189 || exit 1
31191 @endif target-libmudflap
31193 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31194 maybe-install-pdf-target-libmudflap:
31195 @if target-libmudflap
31196 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31198 install-pdf-target-libmudflap: \
31199 configure-target-libmudflap \
31200 pdf-target-libmudflap
31201 @: $(MAKE); $(unstage)
31202 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(NORMAL_TARGET_EXPORTS) \
31206 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31207 for flag in $(EXTRA_TARGET_FLAGS); do \
31208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31209 done; \
31210 (cd $(TARGET_SUBDIR)/libmudflap && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31215 install-pdf) \
31216 || exit 1
31218 @endif target-libmudflap
31220 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31221 maybe-install-html-target-libmudflap:
31222 @if target-libmudflap
31223 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31225 install-html-target-libmudflap: \
31226 configure-target-libmudflap \
31227 html-target-libmudflap
31228 @: $(MAKE); $(unstage)
31229 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31230 r=`${PWD_COMMAND}`; export r; \
31231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31232 $(NORMAL_TARGET_EXPORTS) \
31233 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31234 for flag in $(EXTRA_TARGET_FLAGS); do \
31235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31236 done; \
31237 (cd $(TARGET_SUBDIR)/libmudflap && \
31238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31240 "RANLIB=$${RANLIB}" \
31241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31242 install-html) \
31243 || exit 1
31245 @endif target-libmudflap
31247 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31248 maybe-installcheck-target-libmudflap:
31249 @if target-libmudflap
31250 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31252 installcheck-target-libmudflap: \
31253 configure-target-libmudflap
31254 @: $(MAKE); $(unstage)
31255 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31256 r=`${PWD_COMMAND}`; export r; \
31257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31258 $(NORMAL_TARGET_EXPORTS) \
31259 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31260 for flag in $(EXTRA_TARGET_FLAGS); do \
31261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31262 done; \
31263 (cd $(TARGET_SUBDIR)/libmudflap && \
31264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31266 "RANLIB=$${RANLIB}" \
31267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31268 installcheck) \
31269 || exit 1
31271 @endif target-libmudflap
31273 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31274 maybe-mostlyclean-target-libmudflap:
31275 @if target-libmudflap
31276 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31278 mostlyclean-target-libmudflap:
31279 @: $(MAKE); $(unstage)
31280 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31281 r=`${PWD_COMMAND}`; export r; \
31282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31283 $(NORMAL_TARGET_EXPORTS) \
31284 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31285 for flag in $(EXTRA_TARGET_FLAGS); do \
31286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31287 done; \
31288 (cd $(TARGET_SUBDIR)/libmudflap && \
31289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31291 "RANLIB=$${RANLIB}" \
31292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31293 mostlyclean) \
31294 || exit 1
31296 @endif target-libmudflap
31298 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31299 maybe-clean-target-libmudflap:
31300 @if target-libmudflap
31301 maybe-clean-target-libmudflap: clean-target-libmudflap
31303 clean-target-libmudflap:
31304 @: $(MAKE); $(unstage)
31305 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31306 r=`${PWD_COMMAND}`; export r; \
31307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31308 $(NORMAL_TARGET_EXPORTS) \
31309 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31310 for flag in $(EXTRA_TARGET_FLAGS); do \
31311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31312 done; \
31313 (cd $(TARGET_SUBDIR)/libmudflap && \
31314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31316 "RANLIB=$${RANLIB}" \
31317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31318 clean) \
31319 || exit 1
31321 @endif target-libmudflap
31323 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31324 maybe-distclean-target-libmudflap:
31325 @if target-libmudflap
31326 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31328 distclean-target-libmudflap:
31329 @: $(MAKE); $(unstage)
31330 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31331 r=`${PWD_COMMAND}`; export r; \
31332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31333 $(NORMAL_TARGET_EXPORTS) \
31334 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31335 for flag in $(EXTRA_TARGET_FLAGS); do \
31336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31337 done; \
31338 (cd $(TARGET_SUBDIR)/libmudflap && \
31339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31341 "RANLIB=$${RANLIB}" \
31342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31343 distclean) \
31344 || exit 1
31346 @endif target-libmudflap
31348 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31349 maybe-maintainer-clean-target-libmudflap:
31350 @if target-libmudflap
31351 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31353 maintainer-clean-target-libmudflap:
31354 @: $(MAKE); $(unstage)
31355 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31356 r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 $(NORMAL_TARGET_EXPORTS) \
31359 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31360 for flag in $(EXTRA_TARGET_FLAGS); do \
31361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31362 done; \
31363 (cd $(TARGET_SUBDIR)/libmudflap && \
31364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31366 "RANLIB=$${RANLIB}" \
31367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31368 maintainer-clean) \
31369 || exit 1
31371 @endif target-libmudflap
31377 .PHONY: configure-target-libssp maybe-configure-target-libssp
31378 maybe-configure-target-libssp:
31379 @if gcc-bootstrap
31380 configure-target-libssp: stage_current
31381 @endif gcc-bootstrap
31382 @if target-libssp
31383 maybe-configure-target-libssp: configure-target-libssp
31384 configure-target-libssp:
31385 @: $(MAKE); $(unstage)
31386 @r=`${PWD_COMMAND}`; export r; \
31387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31388 echo "Checking multilib configuration for libssp..."; \
31389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31390 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31391 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31392 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31393 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31394 else \
31395 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31396 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31397 fi; \
31398 else \
31399 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31400 fi; \
31401 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31403 $(NORMAL_TARGET_EXPORTS) \
31404 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31405 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31406 case $(srcdir) in \
31407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31408 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31410 esac; \
31411 srcdiroption="--srcdir=$${topdir}/libssp"; \
31412 libsrcdir="$$s/libssp"; \
31413 rm -f no-such-file || : ; \
31414 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31415 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31416 --target=${target_alias} $${srcdiroption} \
31417 || exit 1
31418 @endif target-libssp
31424 .PHONY: all-target-libssp maybe-all-target-libssp
31425 maybe-all-target-libssp:
31426 @if gcc-bootstrap
31427 all-target-libssp: stage_current
31428 @endif gcc-bootstrap
31429 @if target-libssp
31430 TARGET-target-libssp=all
31431 maybe-all-target-libssp: all-target-libssp
31432 all-target-libssp: configure-target-libssp
31433 @: $(MAKE); $(unstage)
31434 @r=`${PWD_COMMAND}`; export r; \
31435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31436 $(NORMAL_TARGET_EXPORTS) \
31437 (cd $(TARGET_SUBDIR)/libssp && \
31438 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31439 $(TARGET-target-libssp))
31440 @endif target-libssp
31446 .PHONY: check-target-libssp maybe-check-target-libssp
31447 maybe-check-target-libssp:
31448 @if target-libssp
31449 maybe-check-target-libssp: check-target-libssp
31451 check-target-libssp:
31452 @: $(MAKE); $(unstage)
31453 @r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(NORMAL_TARGET_EXPORTS) \
31456 (cd $(TARGET_SUBDIR)/libssp && \
31457 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31459 @endif target-libssp
31461 .PHONY: install-target-libssp maybe-install-target-libssp
31462 maybe-install-target-libssp:
31463 @if target-libssp
31464 maybe-install-target-libssp: install-target-libssp
31466 install-target-libssp: installdirs
31467 @: $(MAKE); $(unstage)
31468 @r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(NORMAL_TARGET_EXPORTS) \
31471 (cd $(TARGET_SUBDIR)/libssp && \
31472 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31474 @endif target-libssp
31476 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31477 maybe-install-strip-target-libssp:
31478 @if target-libssp
31479 maybe-install-strip-target-libssp: install-strip-target-libssp
31481 install-strip-target-libssp: installdirs
31482 @: $(MAKE); $(unstage)
31483 @r=`${PWD_COMMAND}`; export r; \
31484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31485 $(NORMAL_TARGET_EXPORTS) \
31486 (cd $(TARGET_SUBDIR)/libssp && \
31487 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31489 @endif target-libssp
31491 # Other targets (info, dvi, pdf, etc.)
31493 .PHONY: maybe-info-target-libssp info-target-libssp
31494 maybe-info-target-libssp:
31495 @if target-libssp
31496 maybe-info-target-libssp: info-target-libssp
31498 info-target-libssp: \
31499 configure-target-libssp
31500 @: $(MAKE); $(unstage)
31501 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(NORMAL_TARGET_EXPORTS) \
31505 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31506 for flag in $(EXTRA_TARGET_FLAGS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 (cd $(TARGET_SUBDIR)/libssp && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31514 info) \
31515 || exit 1
31517 @endif target-libssp
31519 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31520 maybe-dvi-target-libssp:
31521 @if target-libssp
31522 maybe-dvi-target-libssp: dvi-target-libssp
31524 dvi-target-libssp: \
31525 configure-target-libssp
31526 @: $(MAKE); $(unstage)
31527 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(NORMAL_TARGET_EXPORTS) \
31531 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31532 for flag in $(EXTRA_TARGET_FLAGS); do \
31533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31534 done; \
31535 (cd $(TARGET_SUBDIR)/libssp && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31540 dvi) \
31541 || exit 1
31543 @endif target-libssp
31545 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31546 maybe-pdf-target-libssp:
31547 @if target-libssp
31548 maybe-pdf-target-libssp: pdf-target-libssp
31550 pdf-target-libssp: \
31551 configure-target-libssp
31552 @: $(MAKE); $(unstage)
31553 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(NORMAL_TARGET_EXPORTS) \
31557 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31558 for flag in $(EXTRA_TARGET_FLAGS); do \
31559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31560 done; \
31561 (cd $(TARGET_SUBDIR)/libssp && \
31562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31564 "RANLIB=$${RANLIB}" \
31565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31566 pdf) \
31567 || exit 1
31569 @endif target-libssp
31571 .PHONY: maybe-html-target-libssp html-target-libssp
31572 maybe-html-target-libssp:
31573 @if target-libssp
31574 maybe-html-target-libssp: html-target-libssp
31576 html-target-libssp: \
31577 configure-target-libssp
31578 @: $(MAKE); $(unstage)
31579 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31580 r=`${PWD_COMMAND}`; export r; \
31581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31582 $(NORMAL_TARGET_EXPORTS) \
31583 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31584 for flag in $(EXTRA_TARGET_FLAGS); do \
31585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31586 done; \
31587 (cd $(TARGET_SUBDIR)/libssp && \
31588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31590 "RANLIB=$${RANLIB}" \
31591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31592 html) \
31593 || exit 1
31595 @endif target-libssp
31597 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31598 maybe-TAGS-target-libssp:
31599 @if target-libssp
31600 maybe-TAGS-target-libssp: TAGS-target-libssp
31602 TAGS-target-libssp: \
31603 configure-target-libssp
31604 @: $(MAKE); $(unstage)
31605 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31606 r=`${PWD_COMMAND}`; export r; \
31607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31608 $(NORMAL_TARGET_EXPORTS) \
31609 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31610 for flag in $(EXTRA_TARGET_FLAGS); do \
31611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31612 done; \
31613 (cd $(TARGET_SUBDIR)/libssp && \
31614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31616 "RANLIB=$${RANLIB}" \
31617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31618 TAGS) \
31619 || exit 1
31621 @endif target-libssp
31623 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31624 maybe-install-info-target-libssp:
31625 @if target-libssp
31626 maybe-install-info-target-libssp: install-info-target-libssp
31628 install-info-target-libssp: \
31629 configure-target-libssp \
31630 info-target-libssp
31631 @: $(MAKE); $(unstage)
31632 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31633 r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(NORMAL_TARGET_EXPORTS) \
31636 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31637 for flag in $(EXTRA_TARGET_FLAGS); do \
31638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31639 done; \
31640 (cd $(TARGET_SUBDIR)/libssp && \
31641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31643 "RANLIB=$${RANLIB}" \
31644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31645 install-info) \
31646 || exit 1
31648 @endif target-libssp
31650 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31651 maybe-install-pdf-target-libssp:
31652 @if target-libssp
31653 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31655 install-pdf-target-libssp: \
31656 configure-target-libssp \
31657 pdf-target-libssp
31658 @: $(MAKE); $(unstage)
31659 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31660 r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 $(NORMAL_TARGET_EXPORTS) \
31663 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31664 for flag in $(EXTRA_TARGET_FLAGS); do \
31665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31666 done; \
31667 (cd $(TARGET_SUBDIR)/libssp && \
31668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31670 "RANLIB=$${RANLIB}" \
31671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31672 install-pdf) \
31673 || exit 1
31675 @endif target-libssp
31677 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31678 maybe-install-html-target-libssp:
31679 @if target-libssp
31680 maybe-install-html-target-libssp: install-html-target-libssp
31682 install-html-target-libssp: \
31683 configure-target-libssp \
31684 html-target-libssp
31685 @: $(MAKE); $(unstage)
31686 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31687 r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(NORMAL_TARGET_EXPORTS) \
31690 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31691 for flag in $(EXTRA_TARGET_FLAGS); do \
31692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31693 done; \
31694 (cd $(TARGET_SUBDIR)/libssp && \
31695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31697 "RANLIB=$${RANLIB}" \
31698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31699 install-html) \
31700 || exit 1
31702 @endif target-libssp
31704 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31705 maybe-installcheck-target-libssp:
31706 @if target-libssp
31707 maybe-installcheck-target-libssp: installcheck-target-libssp
31709 installcheck-target-libssp: \
31710 configure-target-libssp
31711 @: $(MAKE); $(unstage)
31712 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(NORMAL_TARGET_EXPORTS) \
31716 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31717 for flag in $(EXTRA_TARGET_FLAGS); do \
31718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31719 done; \
31720 (cd $(TARGET_SUBDIR)/libssp && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31725 installcheck) \
31726 || exit 1
31728 @endif target-libssp
31730 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31731 maybe-mostlyclean-target-libssp:
31732 @if target-libssp
31733 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31735 mostlyclean-target-libssp:
31736 @: $(MAKE); $(unstage)
31737 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31738 r=`${PWD_COMMAND}`; export r; \
31739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31740 $(NORMAL_TARGET_EXPORTS) \
31741 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31742 for flag in $(EXTRA_TARGET_FLAGS); do \
31743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31744 done; \
31745 (cd $(TARGET_SUBDIR)/libssp && \
31746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31748 "RANLIB=$${RANLIB}" \
31749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31750 mostlyclean) \
31751 || exit 1
31753 @endif target-libssp
31755 .PHONY: maybe-clean-target-libssp clean-target-libssp
31756 maybe-clean-target-libssp:
31757 @if target-libssp
31758 maybe-clean-target-libssp: clean-target-libssp
31760 clean-target-libssp:
31761 @: $(MAKE); $(unstage)
31762 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31763 r=`${PWD_COMMAND}`; export r; \
31764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31765 $(NORMAL_TARGET_EXPORTS) \
31766 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31767 for flag in $(EXTRA_TARGET_FLAGS); do \
31768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31769 done; \
31770 (cd $(TARGET_SUBDIR)/libssp && \
31771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31773 "RANLIB=$${RANLIB}" \
31774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31775 clean) \
31776 || exit 1
31778 @endif target-libssp
31780 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31781 maybe-distclean-target-libssp:
31782 @if target-libssp
31783 maybe-distclean-target-libssp: distclean-target-libssp
31785 distclean-target-libssp:
31786 @: $(MAKE); $(unstage)
31787 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31788 r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 $(NORMAL_TARGET_EXPORTS) \
31791 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31792 for flag in $(EXTRA_TARGET_FLAGS); do \
31793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31794 done; \
31795 (cd $(TARGET_SUBDIR)/libssp && \
31796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31798 "RANLIB=$${RANLIB}" \
31799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31800 distclean) \
31801 || exit 1
31803 @endif target-libssp
31805 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31806 maybe-maintainer-clean-target-libssp:
31807 @if target-libssp
31808 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31810 maintainer-clean-target-libssp:
31811 @: $(MAKE); $(unstage)
31812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(NORMAL_TARGET_EXPORTS) \
31816 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31817 for flag in $(EXTRA_TARGET_FLAGS); do \
31818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31819 done; \
31820 (cd $(TARGET_SUBDIR)/libssp && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 maintainer-clean) \
31826 || exit 1
31828 @endif target-libssp
31834 .PHONY: configure-target-newlib maybe-configure-target-newlib
31835 maybe-configure-target-newlib:
31836 @if gcc-bootstrap
31837 configure-target-newlib: stage_current
31838 @endif gcc-bootstrap
31839 @if target-newlib
31840 maybe-configure-target-newlib: configure-target-newlib
31841 configure-target-newlib:
31842 @: $(MAKE); $(unstage)
31843 @r=`${PWD_COMMAND}`; export r; \
31844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31845 echo "Checking multilib configuration for newlib..."; \
31846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31847 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31848 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31849 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31850 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31851 else \
31852 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31853 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31854 fi; \
31855 else \
31856 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31857 fi; \
31858 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31860 $(NORMAL_TARGET_EXPORTS) \
31861 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31862 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31863 case $(srcdir) in \
31864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31865 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31867 esac; \
31868 srcdiroption="--srcdir=$${topdir}/newlib"; \
31869 libsrcdir="$$s/newlib"; \
31870 rm -f no-such-file || : ; \
31871 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31872 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31873 --target=${target_alias} $${srcdiroption} \
31874 || exit 1
31875 @endif target-newlib
31881 .PHONY: all-target-newlib maybe-all-target-newlib
31882 maybe-all-target-newlib:
31883 @if gcc-bootstrap
31884 all-target-newlib: stage_current
31885 @endif gcc-bootstrap
31886 @if target-newlib
31887 TARGET-target-newlib=all
31888 maybe-all-target-newlib: all-target-newlib
31889 all-target-newlib: configure-target-newlib
31890 @: $(MAKE); $(unstage)
31891 @r=`${PWD_COMMAND}`; export r; \
31892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31893 $(NORMAL_TARGET_EXPORTS) \
31894 (cd $(TARGET_SUBDIR)/newlib && \
31895 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31896 $(TARGET-target-newlib))
31897 @endif target-newlib
31903 .PHONY: check-target-newlib maybe-check-target-newlib
31904 maybe-check-target-newlib:
31905 @if target-newlib
31906 maybe-check-target-newlib: check-target-newlib
31908 check-target-newlib:
31909 @: $(MAKE); $(unstage)
31910 @r=`${PWD_COMMAND}`; export r; \
31911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31912 $(NORMAL_TARGET_EXPORTS) \
31913 (cd $(TARGET_SUBDIR)/newlib && \
31914 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31916 @endif target-newlib
31918 .PHONY: install-target-newlib maybe-install-target-newlib
31919 maybe-install-target-newlib:
31920 @if target-newlib
31921 maybe-install-target-newlib: install-target-newlib
31923 install-target-newlib: installdirs
31924 @: $(MAKE); $(unstage)
31925 @r=`${PWD_COMMAND}`; export r; \
31926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31927 $(NORMAL_TARGET_EXPORTS) \
31928 (cd $(TARGET_SUBDIR)/newlib && \
31929 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31931 @endif target-newlib
31933 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31934 maybe-install-strip-target-newlib:
31935 @if target-newlib
31936 maybe-install-strip-target-newlib: install-strip-target-newlib
31938 install-strip-target-newlib: installdirs
31939 @: $(MAKE); $(unstage)
31940 @r=`${PWD_COMMAND}`; export r; \
31941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31942 $(NORMAL_TARGET_EXPORTS) \
31943 (cd $(TARGET_SUBDIR)/newlib && \
31944 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31946 @endif target-newlib
31948 # Other targets (info, dvi, pdf, etc.)
31950 .PHONY: maybe-info-target-newlib info-target-newlib
31951 maybe-info-target-newlib:
31952 @if target-newlib
31953 maybe-info-target-newlib: info-target-newlib
31955 info-target-newlib: \
31956 configure-target-newlib
31957 @: $(MAKE); $(unstage)
31958 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31959 r=`${PWD_COMMAND}`; export r; \
31960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31961 $(NORMAL_TARGET_EXPORTS) \
31962 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
31963 for flag in $(EXTRA_TARGET_FLAGS); do \
31964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31965 done; \
31966 (cd $(TARGET_SUBDIR)/newlib && \
31967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31969 "RANLIB=$${RANLIB}" \
31970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31971 info) \
31972 || exit 1
31974 @endif target-newlib
31976 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
31977 maybe-dvi-target-newlib:
31978 @if target-newlib
31979 maybe-dvi-target-newlib: dvi-target-newlib
31981 dvi-target-newlib: \
31982 configure-target-newlib
31983 @: $(MAKE); $(unstage)
31984 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31985 r=`${PWD_COMMAND}`; export r; \
31986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31987 $(NORMAL_TARGET_EXPORTS) \
31988 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
31989 for flag in $(EXTRA_TARGET_FLAGS); do \
31990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31991 done; \
31992 (cd $(TARGET_SUBDIR)/newlib && \
31993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31995 "RANLIB=$${RANLIB}" \
31996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31997 dvi) \
31998 || exit 1
32000 @endif target-newlib
32002 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32003 maybe-pdf-target-newlib:
32004 @if target-newlib
32005 maybe-pdf-target-newlib: pdf-target-newlib
32007 pdf-target-newlib: \
32008 configure-target-newlib
32009 @: $(MAKE); $(unstage)
32010 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32011 r=`${PWD_COMMAND}`; export r; \
32012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32013 $(NORMAL_TARGET_EXPORTS) \
32014 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32015 for flag in $(EXTRA_TARGET_FLAGS); do \
32016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32017 done; \
32018 (cd $(TARGET_SUBDIR)/newlib && \
32019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32021 "RANLIB=$${RANLIB}" \
32022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32023 pdf) \
32024 || exit 1
32026 @endif target-newlib
32028 .PHONY: maybe-html-target-newlib html-target-newlib
32029 maybe-html-target-newlib:
32030 @if target-newlib
32031 maybe-html-target-newlib: html-target-newlib
32033 html-target-newlib: \
32034 configure-target-newlib
32035 @: $(MAKE); $(unstage)
32036 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32037 r=`${PWD_COMMAND}`; export r; \
32038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32039 $(NORMAL_TARGET_EXPORTS) \
32040 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32041 for flag in $(EXTRA_TARGET_FLAGS); do \
32042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32043 done; \
32044 (cd $(TARGET_SUBDIR)/newlib && \
32045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32047 "RANLIB=$${RANLIB}" \
32048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32049 html) \
32050 || exit 1
32052 @endif target-newlib
32054 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32055 maybe-TAGS-target-newlib:
32056 @if target-newlib
32057 maybe-TAGS-target-newlib: TAGS-target-newlib
32059 TAGS-target-newlib: \
32060 configure-target-newlib
32061 @: $(MAKE); $(unstage)
32062 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32063 r=`${PWD_COMMAND}`; export r; \
32064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32065 $(NORMAL_TARGET_EXPORTS) \
32066 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32067 for flag in $(EXTRA_TARGET_FLAGS); do \
32068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32069 done; \
32070 (cd $(TARGET_SUBDIR)/newlib && \
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 TAGS) \
32076 || exit 1
32078 @endif target-newlib
32080 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32081 maybe-install-info-target-newlib:
32082 @if target-newlib
32083 maybe-install-info-target-newlib: install-info-target-newlib
32085 install-info-target-newlib: \
32086 configure-target-newlib \
32087 info-target-newlib
32088 @: $(MAKE); $(unstage)
32089 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32090 r=`${PWD_COMMAND}`; export r; \
32091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32092 $(NORMAL_TARGET_EXPORTS) \
32093 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32094 for flag in $(EXTRA_TARGET_FLAGS); do \
32095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32096 done; \
32097 (cd $(TARGET_SUBDIR)/newlib && \
32098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32100 "RANLIB=$${RANLIB}" \
32101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32102 install-info) \
32103 || exit 1
32105 @endif target-newlib
32107 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32108 maybe-install-pdf-target-newlib:
32109 @if target-newlib
32110 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32112 install-pdf-target-newlib: \
32113 configure-target-newlib \
32114 pdf-target-newlib
32115 @: $(MAKE); $(unstage)
32116 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32117 r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(NORMAL_TARGET_EXPORTS) \
32120 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32121 for flag in $(EXTRA_TARGET_FLAGS); do \
32122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32123 done; \
32124 (cd $(TARGET_SUBDIR)/newlib && \
32125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32127 "RANLIB=$${RANLIB}" \
32128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32129 install-pdf) \
32130 || exit 1
32132 @endif target-newlib
32134 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32135 maybe-install-html-target-newlib:
32136 @if target-newlib
32137 maybe-install-html-target-newlib: install-html-target-newlib
32139 install-html-target-newlib: \
32140 configure-target-newlib \
32141 html-target-newlib
32142 @: $(MAKE); $(unstage)
32143 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(NORMAL_TARGET_EXPORTS) \
32147 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32148 for flag in $(EXTRA_TARGET_FLAGS); do \
32149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32150 done; \
32151 (cd $(TARGET_SUBDIR)/newlib && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32156 install-html) \
32157 || exit 1
32159 @endif target-newlib
32161 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32162 maybe-installcheck-target-newlib:
32163 @if target-newlib
32164 maybe-installcheck-target-newlib: installcheck-target-newlib
32166 installcheck-target-newlib: \
32167 configure-target-newlib
32168 @: $(MAKE); $(unstage)
32169 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32170 r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 $(NORMAL_TARGET_EXPORTS) \
32173 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32174 for flag in $(EXTRA_TARGET_FLAGS); do \
32175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32176 done; \
32177 (cd $(TARGET_SUBDIR)/newlib && \
32178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32180 "RANLIB=$${RANLIB}" \
32181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32182 installcheck) \
32183 || exit 1
32185 @endif target-newlib
32187 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32188 maybe-mostlyclean-target-newlib:
32189 @if target-newlib
32190 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32192 mostlyclean-target-newlib:
32193 @: $(MAKE); $(unstage)
32194 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32195 r=`${PWD_COMMAND}`; export r; \
32196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32197 $(NORMAL_TARGET_EXPORTS) \
32198 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32199 for flag in $(EXTRA_TARGET_FLAGS); do \
32200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32201 done; \
32202 (cd $(TARGET_SUBDIR)/newlib && \
32203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32205 "RANLIB=$${RANLIB}" \
32206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32207 mostlyclean) \
32208 || exit 1
32210 @endif target-newlib
32212 .PHONY: maybe-clean-target-newlib clean-target-newlib
32213 maybe-clean-target-newlib:
32214 @if target-newlib
32215 maybe-clean-target-newlib: clean-target-newlib
32217 clean-target-newlib:
32218 @: $(MAKE); $(unstage)
32219 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32220 r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(NORMAL_TARGET_EXPORTS) \
32223 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32224 for flag in $(EXTRA_TARGET_FLAGS); do \
32225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32226 done; \
32227 (cd $(TARGET_SUBDIR)/newlib && \
32228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32230 "RANLIB=$${RANLIB}" \
32231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32232 clean) \
32233 || exit 1
32235 @endif target-newlib
32237 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32238 maybe-distclean-target-newlib:
32239 @if target-newlib
32240 maybe-distclean-target-newlib: distclean-target-newlib
32242 distclean-target-newlib:
32243 @: $(MAKE); $(unstage)
32244 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(NORMAL_TARGET_EXPORTS) \
32248 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32249 for flag in $(EXTRA_TARGET_FLAGS); do \
32250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32251 done; \
32252 (cd $(TARGET_SUBDIR)/newlib && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32257 distclean) \
32258 || exit 1
32260 @endif target-newlib
32262 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32263 maybe-maintainer-clean-target-newlib:
32264 @if target-newlib
32265 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32267 maintainer-clean-target-newlib:
32268 @: $(MAKE); $(unstage)
32269 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(NORMAL_TARGET_EXPORTS) \
32273 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32274 for flag in $(EXTRA_TARGET_FLAGS); do \
32275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32276 done; \
32277 (cd $(TARGET_SUBDIR)/newlib && \
32278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32280 "RANLIB=$${RANLIB}" \
32281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32282 maintainer-clean) \
32283 || exit 1
32285 @endif target-newlib
32291 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32292 maybe-configure-target-libgcc:
32293 @if gcc-bootstrap
32294 configure-target-libgcc: stage_current
32295 @endif gcc-bootstrap
32296 @if target-libgcc
32297 maybe-configure-target-libgcc: configure-target-libgcc
32298 configure-target-libgcc:
32299 @r=`${PWD_COMMAND}`; export r; \
32300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32301 echo "Checking multilib configuration for libgcc..."; \
32302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32304 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32305 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32306 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32307 else \
32308 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32309 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32310 fi; \
32311 else \
32312 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32313 fi; \
32314 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32316 $(NORMAL_TARGET_EXPORTS) \
32317 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32318 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32319 case $(srcdir) in \
32320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32321 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32323 esac; \
32324 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32325 libsrcdir="$$s/libgcc"; \
32326 rm -f no-such-file || : ; \
32327 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32328 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32329 --target=${target_alias} $${srcdiroption} \
32330 || exit 1
32331 @endif target-libgcc
32335 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32336 maybe-configure-stage1-target-libgcc:
32337 @if target-libgcc-bootstrap
32338 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32339 configure-stage1-target-libgcc:
32340 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32341 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32342 @r=`${PWD_COMMAND}`; export r; \
32343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32344 TFLAGS="$(STAGE1_TFLAGS)"; \
32345 echo "Checking multilib configuration for libgcc..."; \
32346 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32347 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32348 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32349 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32350 else \
32351 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32352 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32353 fi; \
32354 else \
32355 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32356 fi; \
32357 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32358 $(NORMAL_TARGET_EXPORTS) \
32359 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32360 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32361 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32362 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32364 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32365 case $(srcdir) in \
32366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32367 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32369 esac; \
32370 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32371 libsrcdir="$$s/libgcc"; \
32372 $(SHELL) $${libsrcdir}/configure \
32373 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32374 --target=${target_alias} $${srcdiroption} \
32375 $(STAGE1_CONFIGURE_FLAGS)
32376 @endif target-libgcc-bootstrap
32378 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32379 maybe-configure-stage2-target-libgcc:
32380 @if target-libgcc-bootstrap
32381 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32382 configure-stage2-target-libgcc:
32383 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32384 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32385 @r=`${PWD_COMMAND}`; export r; \
32386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 TFLAGS="$(STAGE2_TFLAGS)"; \
32388 echo "Checking multilib configuration for libgcc..."; \
32389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32390 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32391 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32392 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32393 else \
32394 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32395 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32396 fi; \
32397 else \
32398 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32399 fi; \
32400 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32401 $(NORMAL_TARGET_EXPORTS) \
32403 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32405 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32406 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32408 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32409 case $(srcdir) in \
32410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32411 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32413 esac; \
32414 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32415 libsrcdir="$$s/libgcc"; \
32416 $(SHELL) $${libsrcdir}/configure \
32417 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32418 --target=${target_alias} $${srcdiroption} \
32419 --with-build-libsubdir=$(HOST_SUBDIR) \
32420 $(STAGE2_CONFIGURE_FLAGS)
32421 @endif target-libgcc-bootstrap
32423 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32424 maybe-configure-stage3-target-libgcc:
32425 @if target-libgcc-bootstrap
32426 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32427 configure-stage3-target-libgcc:
32428 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32429 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32430 @r=`${PWD_COMMAND}`; export r; \
32431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32432 TFLAGS="$(STAGE3_TFLAGS)"; \
32433 echo "Checking multilib configuration for libgcc..."; \
32434 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32435 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32436 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32437 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32438 else \
32439 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32440 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32441 fi; \
32442 else \
32443 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32444 fi; \
32445 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32446 $(NORMAL_TARGET_EXPORTS) \
32448 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32451 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32453 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32454 case $(srcdir) in \
32455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32456 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32458 esac; \
32459 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32460 libsrcdir="$$s/libgcc"; \
32461 $(SHELL) $${libsrcdir}/configure \
32462 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32463 --target=${target_alias} $${srcdiroption} \
32464 --with-build-libsubdir=$(HOST_SUBDIR) \
32465 $(STAGE3_CONFIGURE_FLAGS)
32466 @endif target-libgcc-bootstrap
32468 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32469 maybe-configure-stage4-target-libgcc:
32470 @if target-libgcc-bootstrap
32471 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32472 configure-stage4-target-libgcc:
32473 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32474 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32475 @r=`${PWD_COMMAND}`; export r; \
32476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32477 TFLAGS="$(STAGE4_TFLAGS)"; \
32478 echo "Checking multilib configuration for libgcc..."; \
32479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32480 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32481 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32482 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32483 else \
32484 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32485 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32486 fi; \
32487 else \
32488 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32489 fi; \
32490 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32491 $(NORMAL_TARGET_EXPORTS) \
32493 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32494 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32495 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32496 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32498 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32499 case $(srcdir) in \
32500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32501 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32503 esac; \
32504 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32505 libsrcdir="$$s/libgcc"; \
32506 $(SHELL) $${libsrcdir}/configure \
32507 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32508 --target=${target_alias} $${srcdiroption} \
32509 --with-build-libsubdir=$(HOST_SUBDIR) \
32510 $(STAGE4_CONFIGURE_FLAGS)
32511 @endif target-libgcc-bootstrap
32513 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32514 maybe-configure-stageprofile-target-libgcc:
32515 @if target-libgcc-bootstrap
32516 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32517 configure-stageprofile-target-libgcc:
32518 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32519 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32520 @r=`${PWD_COMMAND}`; export r; \
32521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32522 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32523 echo "Checking multilib configuration for libgcc..."; \
32524 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32525 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32526 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32527 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32528 else \
32529 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32530 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32531 fi; \
32532 else \
32533 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32534 fi; \
32535 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32536 $(NORMAL_TARGET_EXPORTS) \
32538 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32539 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32540 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32541 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32542 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32543 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32544 case $(srcdir) in \
32545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32546 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32548 esac; \
32549 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32550 libsrcdir="$$s/libgcc"; \
32551 $(SHELL) $${libsrcdir}/configure \
32552 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32553 --target=${target_alias} $${srcdiroption} \
32554 --with-build-libsubdir=$(HOST_SUBDIR) \
32555 $(STAGEprofile_CONFIGURE_FLAGS)
32556 @endif target-libgcc-bootstrap
32558 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32559 maybe-configure-stagefeedback-target-libgcc:
32560 @if target-libgcc-bootstrap
32561 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32562 configure-stagefeedback-target-libgcc:
32563 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32564 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32565 @r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32568 echo "Checking multilib configuration for libgcc..."; \
32569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32570 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32571 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32572 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32573 else \
32574 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32575 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32576 fi; \
32577 else \
32578 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32579 fi; \
32580 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32581 $(NORMAL_TARGET_EXPORTS) \
32583 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32586 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32588 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32589 case $(srcdir) in \
32590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32591 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32593 esac; \
32594 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32595 libsrcdir="$$s/libgcc"; \
32596 $(SHELL) $${libsrcdir}/configure \
32597 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32598 --target=${target_alias} $${srcdiroption} \
32599 --with-build-libsubdir=$(HOST_SUBDIR) \
32600 $(STAGEfeedback_CONFIGURE_FLAGS)
32601 @endif target-libgcc-bootstrap
32607 .PHONY: all-target-libgcc maybe-all-target-libgcc
32608 maybe-all-target-libgcc:
32609 @if gcc-bootstrap
32610 all-target-libgcc: stage_current
32611 @endif gcc-bootstrap
32612 @if target-libgcc
32613 TARGET-target-libgcc=all
32614 maybe-all-target-libgcc: all-target-libgcc
32615 all-target-libgcc: configure-target-libgcc
32616 @r=`${PWD_COMMAND}`; export r; \
32617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32618 $(NORMAL_TARGET_EXPORTS) \
32619 (cd $(TARGET_SUBDIR)/libgcc && \
32620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32621 $(TARGET-target-libgcc))
32622 @endif target-libgcc
32626 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32627 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32628 maybe-all-stage1-target-libgcc:
32629 maybe-clean-stage1-target-libgcc:
32630 @if target-libgcc-bootstrap
32631 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32632 all-stage1: all-stage1-target-libgcc
32633 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32634 all-stage1-target-libgcc: configure-stage1-target-libgcc
32635 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32636 @r=`${PWD_COMMAND}`; export r; \
32637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32638 TFLAGS="$(STAGE1_TFLAGS)"; \
32639 $(NORMAL_TARGET_EXPORTS) \
32640 cd $(TARGET_SUBDIR)/libgcc && \
32641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32642 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32643 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32644 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32648 $(EXTRA_TARGET_FLAGS) \
32649 TFLAGS="$(STAGE1_TFLAGS)" \
32650 $(TARGET-stage1-target-libgcc)
32652 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32653 clean-stage1: clean-stage1-target-libgcc
32654 clean-stage1-target-libgcc:
32655 @if [ $(current_stage) = stage1 ]; then \
32656 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32657 else \
32658 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32659 $(MAKE) stage1-start; \
32660 fi; \
32661 cd $(TARGET_SUBDIR)/libgcc && \
32662 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32663 clean
32664 @endif target-libgcc-bootstrap
32667 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32668 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32669 maybe-all-stage2-target-libgcc:
32670 maybe-clean-stage2-target-libgcc:
32671 @if target-libgcc-bootstrap
32672 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32673 all-stage2: all-stage2-target-libgcc
32674 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32675 all-stage2-target-libgcc: configure-stage2-target-libgcc
32676 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32677 @r=`${PWD_COMMAND}`; export r; \
32678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32679 TFLAGS="$(STAGE2_TFLAGS)"; \
32680 $(NORMAL_TARGET_EXPORTS) \
32682 cd $(TARGET_SUBDIR)/libgcc && \
32683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32684 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32685 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32686 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32690 $(EXTRA_TARGET_FLAGS) \
32691 TFLAGS="$(STAGE2_TFLAGS)" \
32692 $(TARGET-stage2-target-libgcc)
32694 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32695 clean-stage2: clean-stage2-target-libgcc
32696 clean-stage2-target-libgcc:
32697 @if [ $(current_stage) = stage2 ]; then \
32698 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32699 else \
32700 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32701 $(MAKE) stage2-start; \
32702 fi; \
32703 cd $(TARGET_SUBDIR)/libgcc && \
32704 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32706 clean
32707 @endif target-libgcc-bootstrap
32710 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32711 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32712 maybe-all-stage3-target-libgcc:
32713 maybe-clean-stage3-target-libgcc:
32714 @if target-libgcc-bootstrap
32715 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32716 all-stage3: all-stage3-target-libgcc
32717 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32718 all-stage3-target-libgcc: configure-stage3-target-libgcc
32719 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32720 @r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 TFLAGS="$(STAGE3_TFLAGS)"; \
32723 $(NORMAL_TARGET_EXPORTS) \
32725 cd $(TARGET_SUBDIR)/libgcc && \
32726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32727 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32733 $(EXTRA_TARGET_FLAGS) \
32734 TFLAGS="$(STAGE3_TFLAGS)" \
32735 $(TARGET-stage3-target-libgcc)
32737 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32738 clean-stage3: clean-stage3-target-libgcc
32739 clean-stage3-target-libgcc:
32740 @if [ $(current_stage) = stage3 ]; then \
32741 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32742 else \
32743 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32744 $(MAKE) stage3-start; \
32745 fi; \
32746 cd $(TARGET_SUBDIR)/libgcc && \
32747 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32749 clean
32750 @endif target-libgcc-bootstrap
32753 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32754 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32755 maybe-all-stage4-target-libgcc:
32756 maybe-clean-stage4-target-libgcc:
32757 @if target-libgcc-bootstrap
32758 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32759 all-stage4: all-stage4-target-libgcc
32760 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32761 all-stage4-target-libgcc: configure-stage4-target-libgcc
32762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32763 @r=`${PWD_COMMAND}`; export r; \
32764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32765 TFLAGS="$(STAGE4_TFLAGS)"; \
32766 $(NORMAL_TARGET_EXPORTS) \
32768 cd $(TARGET_SUBDIR)/libgcc && \
32769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32770 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32771 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32772 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32776 $(EXTRA_TARGET_FLAGS) \
32777 TFLAGS="$(STAGE4_TFLAGS)" \
32778 $(TARGET-stage4-target-libgcc)
32780 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32781 clean-stage4: clean-stage4-target-libgcc
32782 clean-stage4-target-libgcc:
32783 @if [ $(current_stage) = stage4 ]; then \
32784 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32785 else \
32786 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32787 $(MAKE) stage4-start; \
32788 fi; \
32789 cd $(TARGET_SUBDIR)/libgcc && \
32790 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32792 clean
32793 @endif target-libgcc-bootstrap
32796 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32797 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32798 maybe-all-stageprofile-target-libgcc:
32799 maybe-clean-stageprofile-target-libgcc:
32800 @if target-libgcc-bootstrap
32801 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32802 all-stageprofile: all-stageprofile-target-libgcc
32803 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32804 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32805 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32806 @r=`${PWD_COMMAND}`; export r; \
32807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32808 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32809 $(NORMAL_TARGET_EXPORTS) \
32811 cd $(TARGET_SUBDIR)/libgcc && \
32812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32819 $(EXTRA_TARGET_FLAGS) \
32820 TFLAGS="$(STAGEprofile_TFLAGS)" \
32821 $(TARGET-stageprofile-target-libgcc)
32823 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32824 clean-stageprofile: clean-stageprofile-target-libgcc
32825 clean-stageprofile-target-libgcc:
32826 @if [ $(current_stage) = stageprofile ]; then \
32827 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32828 else \
32829 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32830 $(MAKE) stageprofile-start; \
32831 fi; \
32832 cd $(TARGET_SUBDIR)/libgcc && \
32833 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32835 clean
32836 @endif target-libgcc-bootstrap
32839 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32840 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32841 maybe-all-stagefeedback-target-libgcc:
32842 maybe-clean-stagefeedback-target-libgcc:
32843 @if target-libgcc-bootstrap
32844 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32845 all-stagefeedback: all-stagefeedback-target-libgcc
32846 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32847 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32848 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32849 @r=`${PWD_COMMAND}`; export r; \
32850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32851 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32852 $(NORMAL_TARGET_EXPORTS) \
32854 cd $(TARGET_SUBDIR)/libgcc && \
32855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32856 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32857 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32858 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32859 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32860 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32861 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32862 $(EXTRA_TARGET_FLAGS) \
32863 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32864 $(TARGET-stagefeedback-target-libgcc)
32866 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32867 clean-stagefeedback: clean-stagefeedback-target-libgcc
32868 clean-stagefeedback-target-libgcc:
32869 @if [ $(current_stage) = stagefeedback ]; then \
32870 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32871 else \
32872 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32873 $(MAKE) stagefeedback-start; \
32874 fi; \
32875 cd $(TARGET_SUBDIR)/libgcc && \
32876 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32878 clean
32879 @endif target-libgcc-bootstrap
32886 .PHONY: check-target-libgcc maybe-check-target-libgcc
32887 maybe-check-target-libgcc:
32888 @if target-libgcc
32889 maybe-check-target-libgcc: check-target-libgcc
32891 # Dummy target for uncheckable module.
32892 check-target-libgcc:
32894 @endif target-libgcc
32896 .PHONY: install-target-libgcc maybe-install-target-libgcc
32897 maybe-install-target-libgcc:
32898 @if target-libgcc
32899 maybe-install-target-libgcc: install-target-libgcc
32901 install-target-libgcc: installdirs
32902 @: $(MAKE); $(unstage)
32903 @r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 $(NORMAL_TARGET_EXPORTS) \
32906 (cd $(TARGET_SUBDIR)/libgcc && \
32907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32909 @endif target-libgcc
32911 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32912 maybe-install-strip-target-libgcc:
32913 @if target-libgcc
32914 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32916 install-strip-target-libgcc: installdirs
32917 @: $(MAKE); $(unstage)
32918 @r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(NORMAL_TARGET_EXPORTS) \
32921 (cd $(TARGET_SUBDIR)/libgcc && \
32922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32924 @endif target-libgcc
32926 # Other targets (info, dvi, pdf, etc.)
32928 .PHONY: maybe-info-target-libgcc info-target-libgcc
32929 maybe-info-target-libgcc:
32930 @if target-libgcc
32931 maybe-info-target-libgcc: info-target-libgcc
32933 info-target-libgcc: \
32934 configure-target-libgcc
32935 @: $(MAKE); $(unstage)
32936 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32937 r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(NORMAL_TARGET_EXPORTS) \
32940 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32941 for flag in $(EXTRA_TARGET_FLAGS); do \
32942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32943 done; \
32944 (cd $(TARGET_SUBDIR)/libgcc && \
32945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32947 "RANLIB=$${RANLIB}" \
32948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32949 info) \
32950 || exit 1
32952 @endif target-libgcc
32954 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
32955 maybe-dvi-target-libgcc:
32956 @if target-libgcc
32957 maybe-dvi-target-libgcc: dvi-target-libgcc
32959 dvi-target-libgcc: \
32960 configure-target-libgcc
32961 @: $(MAKE); $(unstage)
32962 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32963 r=`${PWD_COMMAND}`; export r; \
32964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32965 $(NORMAL_TARGET_EXPORTS) \
32966 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
32967 for flag in $(EXTRA_TARGET_FLAGS); do \
32968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32969 done; \
32970 (cd $(TARGET_SUBDIR)/libgcc && \
32971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32973 "RANLIB=$${RANLIB}" \
32974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32975 dvi) \
32976 || exit 1
32978 @endif target-libgcc
32980 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
32981 maybe-pdf-target-libgcc:
32982 @if target-libgcc
32983 maybe-pdf-target-libgcc: pdf-target-libgcc
32985 pdf-target-libgcc: \
32986 configure-target-libgcc
32987 @: $(MAKE); $(unstage)
32988 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32989 r=`${PWD_COMMAND}`; export r; \
32990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32991 $(NORMAL_TARGET_EXPORTS) \
32992 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
32993 for flag in $(EXTRA_TARGET_FLAGS); do \
32994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32995 done; \
32996 (cd $(TARGET_SUBDIR)/libgcc && \
32997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32999 "RANLIB=$${RANLIB}" \
33000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33001 pdf) \
33002 || exit 1
33004 @endif target-libgcc
33006 .PHONY: maybe-html-target-libgcc html-target-libgcc
33007 maybe-html-target-libgcc:
33008 @if target-libgcc
33009 maybe-html-target-libgcc: html-target-libgcc
33011 html-target-libgcc: \
33012 configure-target-libgcc
33013 @: $(MAKE); $(unstage)
33014 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33015 r=`${PWD_COMMAND}`; export r; \
33016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33017 $(NORMAL_TARGET_EXPORTS) \
33018 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33019 for flag in $(EXTRA_TARGET_FLAGS); do \
33020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33021 done; \
33022 (cd $(TARGET_SUBDIR)/libgcc && \
33023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33025 "RANLIB=$${RANLIB}" \
33026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33027 html) \
33028 || exit 1
33030 @endif target-libgcc
33032 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33033 maybe-TAGS-target-libgcc:
33034 @if target-libgcc
33035 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33037 TAGS-target-libgcc: \
33038 configure-target-libgcc
33039 @: $(MAKE); $(unstage)
33040 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33041 r=`${PWD_COMMAND}`; export r; \
33042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33043 $(NORMAL_TARGET_EXPORTS) \
33044 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33045 for flag in $(EXTRA_TARGET_FLAGS); do \
33046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33047 done; \
33048 (cd $(TARGET_SUBDIR)/libgcc && \
33049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33051 "RANLIB=$${RANLIB}" \
33052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33053 TAGS) \
33054 || exit 1
33056 @endif target-libgcc
33058 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33059 maybe-install-info-target-libgcc:
33060 @if target-libgcc
33061 maybe-install-info-target-libgcc: install-info-target-libgcc
33063 install-info-target-libgcc: \
33064 configure-target-libgcc \
33065 info-target-libgcc
33066 @: $(MAKE); $(unstage)
33067 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33068 r=`${PWD_COMMAND}`; export r; \
33069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33070 $(NORMAL_TARGET_EXPORTS) \
33071 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33072 for flag in $(EXTRA_TARGET_FLAGS); do \
33073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33074 done; \
33075 (cd $(TARGET_SUBDIR)/libgcc && \
33076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33078 "RANLIB=$${RANLIB}" \
33079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33080 install-info) \
33081 || exit 1
33083 @endif target-libgcc
33085 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33086 maybe-install-pdf-target-libgcc:
33087 @if target-libgcc
33088 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33090 install-pdf-target-libgcc: \
33091 configure-target-libgcc \
33092 pdf-target-libgcc
33093 @: $(MAKE); $(unstage)
33094 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33095 r=`${PWD_COMMAND}`; export r; \
33096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33097 $(NORMAL_TARGET_EXPORTS) \
33098 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33099 for flag in $(EXTRA_TARGET_FLAGS); do \
33100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33101 done; \
33102 (cd $(TARGET_SUBDIR)/libgcc && \
33103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33105 "RANLIB=$${RANLIB}" \
33106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33107 install-pdf) \
33108 || exit 1
33110 @endif target-libgcc
33112 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33113 maybe-install-html-target-libgcc:
33114 @if target-libgcc
33115 maybe-install-html-target-libgcc: install-html-target-libgcc
33117 install-html-target-libgcc: \
33118 configure-target-libgcc \
33119 html-target-libgcc
33120 @: $(MAKE); $(unstage)
33121 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33122 r=`${PWD_COMMAND}`; export r; \
33123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33124 $(NORMAL_TARGET_EXPORTS) \
33125 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33126 for flag in $(EXTRA_TARGET_FLAGS); do \
33127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33128 done; \
33129 (cd $(TARGET_SUBDIR)/libgcc && \
33130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33132 "RANLIB=$${RANLIB}" \
33133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33134 install-html) \
33135 || exit 1
33137 @endif target-libgcc
33139 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33140 maybe-installcheck-target-libgcc:
33141 @if target-libgcc
33142 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33144 installcheck-target-libgcc: \
33145 configure-target-libgcc
33146 @: $(MAKE); $(unstage)
33147 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33148 r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 $(NORMAL_TARGET_EXPORTS) \
33151 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33152 for flag in $(EXTRA_TARGET_FLAGS); do \
33153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33154 done; \
33155 (cd $(TARGET_SUBDIR)/libgcc && \
33156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33158 "RANLIB=$${RANLIB}" \
33159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33160 installcheck) \
33161 || exit 1
33163 @endif target-libgcc
33165 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33166 maybe-mostlyclean-target-libgcc:
33167 @if target-libgcc
33168 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33170 mostlyclean-target-libgcc:
33171 @: $(MAKE); $(unstage)
33172 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33173 r=`${PWD_COMMAND}`; export r; \
33174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33175 $(NORMAL_TARGET_EXPORTS) \
33176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33177 for flag in $(EXTRA_TARGET_FLAGS); do \
33178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33179 done; \
33180 (cd $(TARGET_SUBDIR)/libgcc && \
33181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33183 "RANLIB=$${RANLIB}" \
33184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33185 mostlyclean) \
33186 || exit 1
33188 @endif target-libgcc
33190 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33191 maybe-clean-target-libgcc:
33192 @if target-libgcc
33193 maybe-clean-target-libgcc: clean-target-libgcc
33195 clean-target-libgcc:
33196 @: $(MAKE); $(unstage)
33197 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33198 r=`${PWD_COMMAND}`; export r; \
33199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33200 $(NORMAL_TARGET_EXPORTS) \
33201 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33202 for flag in $(EXTRA_TARGET_FLAGS); do \
33203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33204 done; \
33205 (cd $(TARGET_SUBDIR)/libgcc && \
33206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33208 "RANLIB=$${RANLIB}" \
33209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33210 clean) \
33211 || exit 1
33213 @endif target-libgcc
33215 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33216 maybe-distclean-target-libgcc:
33217 @if target-libgcc
33218 maybe-distclean-target-libgcc: distclean-target-libgcc
33220 distclean-target-libgcc:
33221 @: $(MAKE); $(unstage)
33222 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(NORMAL_TARGET_EXPORTS) \
33226 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33227 for flag in $(EXTRA_TARGET_FLAGS); do \
33228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33229 done; \
33230 (cd $(TARGET_SUBDIR)/libgcc && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33235 distclean) \
33236 || exit 1
33238 @endif target-libgcc
33240 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33241 maybe-maintainer-clean-target-libgcc:
33242 @if target-libgcc
33243 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33245 maintainer-clean-target-libgcc:
33246 @: $(MAKE); $(unstage)
33247 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(NORMAL_TARGET_EXPORTS) \
33251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33252 for flag in $(EXTRA_TARGET_FLAGS); do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 (cd $(TARGET_SUBDIR)/libgcc && \
33256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33258 "RANLIB=$${RANLIB}" \
33259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33260 maintainer-clean) \
33261 || exit 1
33263 @endif target-libgcc
33269 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33270 maybe-configure-target-libquadmath:
33271 @if gcc-bootstrap
33272 configure-target-libquadmath: stage_current
33273 @endif gcc-bootstrap
33274 @if target-libquadmath
33275 maybe-configure-target-libquadmath: configure-target-libquadmath
33276 configure-target-libquadmath:
33277 @: $(MAKE); $(unstage)
33278 @r=`${PWD_COMMAND}`; export r; \
33279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33280 echo "Checking multilib configuration for libquadmath..."; \
33281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33283 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33284 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33285 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33286 else \
33287 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33288 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33289 fi; \
33290 else \
33291 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33292 fi; \
33293 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33294 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33295 $(NORMAL_TARGET_EXPORTS) \
33296 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33297 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33298 case $(srcdir) in \
33299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33300 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33302 esac; \
33303 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33304 libsrcdir="$$s/libquadmath"; \
33305 rm -f no-such-file || : ; \
33306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33307 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33308 --target=${target_alias} $${srcdiroption} \
33309 || exit 1
33310 @endif target-libquadmath
33316 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33317 maybe-all-target-libquadmath:
33318 @if gcc-bootstrap
33319 all-target-libquadmath: stage_current
33320 @endif gcc-bootstrap
33321 @if target-libquadmath
33322 TARGET-target-libquadmath=all
33323 maybe-all-target-libquadmath: all-target-libquadmath
33324 all-target-libquadmath: configure-target-libquadmath
33325 @: $(MAKE); $(unstage)
33326 @r=`${PWD_COMMAND}`; export r; \
33327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33328 $(NORMAL_TARGET_EXPORTS) \
33329 (cd $(TARGET_SUBDIR)/libquadmath && \
33330 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33331 $(TARGET-target-libquadmath))
33332 @endif target-libquadmath
33338 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33339 maybe-check-target-libquadmath:
33340 @if target-libquadmath
33341 maybe-check-target-libquadmath: check-target-libquadmath
33343 check-target-libquadmath:
33344 @: $(MAKE); $(unstage)
33345 @r=`${PWD_COMMAND}`; export r; \
33346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33347 $(NORMAL_TARGET_EXPORTS) \
33348 (cd $(TARGET_SUBDIR)/libquadmath && \
33349 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33351 @endif target-libquadmath
33353 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33354 maybe-install-target-libquadmath:
33355 @if target-libquadmath
33356 maybe-install-target-libquadmath: install-target-libquadmath
33358 install-target-libquadmath: installdirs
33359 @: $(MAKE); $(unstage)
33360 @r=`${PWD_COMMAND}`; export r; \
33361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33362 $(NORMAL_TARGET_EXPORTS) \
33363 (cd $(TARGET_SUBDIR)/libquadmath && \
33364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33366 @endif target-libquadmath
33368 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33369 maybe-install-strip-target-libquadmath:
33370 @if target-libquadmath
33371 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33373 install-strip-target-libquadmath: installdirs
33374 @: $(MAKE); $(unstage)
33375 @r=`${PWD_COMMAND}`; export r; \
33376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33377 $(NORMAL_TARGET_EXPORTS) \
33378 (cd $(TARGET_SUBDIR)/libquadmath && \
33379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33381 @endif target-libquadmath
33383 # Other targets (info, dvi, pdf, etc.)
33385 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33386 maybe-info-target-libquadmath:
33387 @if target-libquadmath
33388 maybe-info-target-libquadmath: info-target-libquadmath
33390 info-target-libquadmath: \
33391 configure-target-libquadmath
33392 @: $(MAKE); $(unstage)
33393 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33394 r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(NORMAL_TARGET_EXPORTS) \
33397 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33398 for flag in $(EXTRA_TARGET_FLAGS); do \
33399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33400 done; \
33401 (cd $(TARGET_SUBDIR)/libquadmath && \
33402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33404 "RANLIB=$${RANLIB}" \
33405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33406 info) \
33407 || exit 1
33409 @endif target-libquadmath
33411 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33412 maybe-dvi-target-libquadmath:
33413 @if target-libquadmath
33414 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33416 dvi-target-libquadmath: \
33417 configure-target-libquadmath
33418 @: $(MAKE); $(unstage)
33419 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33420 r=`${PWD_COMMAND}`; export r; \
33421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33422 $(NORMAL_TARGET_EXPORTS) \
33423 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33424 for flag in $(EXTRA_TARGET_FLAGS); do \
33425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33426 done; \
33427 (cd $(TARGET_SUBDIR)/libquadmath && \
33428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33430 "RANLIB=$${RANLIB}" \
33431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33432 dvi) \
33433 || exit 1
33435 @endif target-libquadmath
33437 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33438 maybe-pdf-target-libquadmath:
33439 @if target-libquadmath
33440 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33442 pdf-target-libquadmath: \
33443 configure-target-libquadmath
33444 @: $(MAKE); $(unstage)
33445 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33446 r=`${PWD_COMMAND}`; export r; \
33447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33448 $(NORMAL_TARGET_EXPORTS) \
33449 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33450 for flag in $(EXTRA_TARGET_FLAGS); do \
33451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33452 done; \
33453 (cd $(TARGET_SUBDIR)/libquadmath && \
33454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33456 "RANLIB=$${RANLIB}" \
33457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33458 pdf) \
33459 || exit 1
33461 @endif target-libquadmath
33463 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33464 maybe-html-target-libquadmath:
33465 @if target-libquadmath
33466 maybe-html-target-libquadmath: html-target-libquadmath
33468 html-target-libquadmath: \
33469 configure-target-libquadmath
33470 @: $(MAKE); $(unstage)
33471 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33472 r=`${PWD_COMMAND}`; export r; \
33473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33474 $(NORMAL_TARGET_EXPORTS) \
33475 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33476 for flag in $(EXTRA_TARGET_FLAGS); do \
33477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33478 done; \
33479 (cd $(TARGET_SUBDIR)/libquadmath && \
33480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33482 "RANLIB=$${RANLIB}" \
33483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33484 html) \
33485 || exit 1
33487 @endif target-libquadmath
33489 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33490 maybe-TAGS-target-libquadmath:
33491 @if target-libquadmath
33492 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33494 TAGS-target-libquadmath: \
33495 configure-target-libquadmath
33496 @: $(MAKE); $(unstage)
33497 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33498 r=`${PWD_COMMAND}`; export r; \
33499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33500 $(NORMAL_TARGET_EXPORTS) \
33501 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33502 for flag in $(EXTRA_TARGET_FLAGS); do \
33503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33504 done; \
33505 (cd $(TARGET_SUBDIR)/libquadmath && \
33506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33508 "RANLIB=$${RANLIB}" \
33509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33510 TAGS) \
33511 || exit 1
33513 @endif target-libquadmath
33515 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33516 maybe-install-info-target-libquadmath:
33517 @if target-libquadmath
33518 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33520 install-info-target-libquadmath: \
33521 configure-target-libquadmath \
33522 info-target-libquadmath
33523 @: $(MAKE); $(unstage)
33524 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33525 r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 $(NORMAL_TARGET_EXPORTS) \
33528 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33529 for flag in $(EXTRA_TARGET_FLAGS); do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 (cd $(TARGET_SUBDIR)/libquadmath && \
33533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33535 "RANLIB=$${RANLIB}" \
33536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33537 install-info) \
33538 || exit 1
33540 @endif target-libquadmath
33542 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33543 maybe-install-pdf-target-libquadmath:
33544 @if target-libquadmath
33545 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33547 install-pdf-target-libquadmath: \
33548 configure-target-libquadmath \
33549 pdf-target-libquadmath
33550 @: $(MAKE); $(unstage)
33551 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33552 r=`${PWD_COMMAND}`; export r; \
33553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33554 $(NORMAL_TARGET_EXPORTS) \
33555 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33556 for flag in $(EXTRA_TARGET_FLAGS); do \
33557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33558 done; \
33559 (cd $(TARGET_SUBDIR)/libquadmath && \
33560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33562 "RANLIB=$${RANLIB}" \
33563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33564 install-pdf) \
33565 || exit 1
33567 @endif target-libquadmath
33569 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33570 maybe-install-html-target-libquadmath:
33571 @if target-libquadmath
33572 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33574 install-html-target-libquadmath: \
33575 configure-target-libquadmath \
33576 html-target-libquadmath
33577 @: $(MAKE); $(unstage)
33578 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33579 r=`${PWD_COMMAND}`; export r; \
33580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33581 $(NORMAL_TARGET_EXPORTS) \
33582 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33583 for flag in $(EXTRA_TARGET_FLAGS); do \
33584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33585 done; \
33586 (cd $(TARGET_SUBDIR)/libquadmath && \
33587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33589 "RANLIB=$${RANLIB}" \
33590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33591 install-html) \
33592 || exit 1
33594 @endif target-libquadmath
33596 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33597 maybe-installcheck-target-libquadmath:
33598 @if target-libquadmath
33599 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33601 installcheck-target-libquadmath: \
33602 configure-target-libquadmath
33603 @: $(MAKE); $(unstage)
33604 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33605 r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(NORMAL_TARGET_EXPORTS) \
33608 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33609 for flag in $(EXTRA_TARGET_FLAGS); do \
33610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33611 done; \
33612 (cd $(TARGET_SUBDIR)/libquadmath && \
33613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33615 "RANLIB=$${RANLIB}" \
33616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33617 installcheck) \
33618 || exit 1
33620 @endif target-libquadmath
33622 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33623 maybe-mostlyclean-target-libquadmath:
33624 @if target-libquadmath
33625 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33627 mostlyclean-target-libquadmath:
33628 @: $(MAKE); $(unstage)
33629 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33630 r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 $(NORMAL_TARGET_EXPORTS) \
33633 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33634 for flag in $(EXTRA_TARGET_FLAGS); do \
33635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33636 done; \
33637 (cd $(TARGET_SUBDIR)/libquadmath && \
33638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33640 "RANLIB=$${RANLIB}" \
33641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33642 mostlyclean) \
33643 || exit 1
33645 @endif target-libquadmath
33647 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33648 maybe-clean-target-libquadmath:
33649 @if target-libquadmath
33650 maybe-clean-target-libquadmath: clean-target-libquadmath
33652 clean-target-libquadmath:
33653 @: $(MAKE); $(unstage)
33654 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33655 r=`${PWD_COMMAND}`; export r; \
33656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33657 $(NORMAL_TARGET_EXPORTS) \
33658 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33659 for flag in $(EXTRA_TARGET_FLAGS); do \
33660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33661 done; \
33662 (cd $(TARGET_SUBDIR)/libquadmath && \
33663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33665 "RANLIB=$${RANLIB}" \
33666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33667 clean) \
33668 || exit 1
33670 @endif target-libquadmath
33672 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33673 maybe-distclean-target-libquadmath:
33674 @if target-libquadmath
33675 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33677 distclean-target-libquadmath:
33678 @: $(MAKE); $(unstage)
33679 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33680 r=`${PWD_COMMAND}`; export r; \
33681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33682 $(NORMAL_TARGET_EXPORTS) \
33683 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33684 for flag in $(EXTRA_TARGET_FLAGS); do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 (cd $(TARGET_SUBDIR)/libquadmath && \
33688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33690 "RANLIB=$${RANLIB}" \
33691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33692 distclean) \
33693 || exit 1
33695 @endif target-libquadmath
33697 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33698 maybe-maintainer-clean-target-libquadmath:
33699 @if target-libquadmath
33700 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33702 maintainer-clean-target-libquadmath:
33703 @: $(MAKE); $(unstage)
33704 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33705 r=`${PWD_COMMAND}`; export r; \
33706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33707 $(NORMAL_TARGET_EXPORTS) \
33708 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33709 for flag in $(EXTRA_TARGET_FLAGS); do \
33710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33711 done; \
33712 (cd $(TARGET_SUBDIR)/libquadmath && \
33713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33715 "RANLIB=$${RANLIB}" \
33716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33717 maintainer-clean) \
33718 || exit 1
33720 @endif target-libquadmath
33726 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33727 maybe-configure-target-libgfortran:
33728 @if gcc-bootstrap
33729 configure-target-libgfortran: stage_current
33730 @endif gcc-bootstrap
33731 @if target-libgfortran
33732 maybe-configure-target-libgfortran: configure-target-libgfortran
33733 configure-target-libgfortran:
33734 @: $(MAKE); $(unstage)
33735 @r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 echo "Checking multilib configuration for libgfortran..."; \
33738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33740 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33741 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33742 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33743 else \
33744 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33745 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33746 fi; \
33747 else \
33748 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33749 fi; \
33750 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33752 $(NORMAL_TARGET_EXPORTS) \
33753 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33754 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33755 case $(srcdir) in \
33756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33757 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33759 esac; \
33760 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33761 libsrcdir="$$s/libgfortran"; \
33762 rm -f no-such-file || : ; \
33763 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33764 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33765 --target=${target_alias} $${srcdiroption} \
33766 || exit 1
33767 @endif target-libgfortran
33773 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33774 maybe-all-target-libgfortran:
33775 @if gcc-bootstrap
33776 all-target-libgfortran: stage_current
33777 @endif gcc-bootstrap
33778 @if target-libgfortran
33779 TARGET-target-libgfortran=all
33780 maybe-all-target-libgfortran: all-target-libgfortran
33781 all-target-libgfortran: configure-target-libgfortran
33782 @: $(MAKE); $(unstage)
33783 @r=`${PWD_COMMAND}`; export r; \
33784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33785 $(NORMAL_TARGET_EXPORTS) \
33786 (cd $(TARGET_SUBDIR)/libgfortran && \
33787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33788 $(TARGET-target-libgfortran))
33789 @endif target-libgfortran
33795 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33796 maybe-check-target-libgfortran:
33797 @if target-libgfortran
33798 maybe-check-target-libgfortran: check-target-libgfortran
33800 check-target-libgfortran:
33801 @: $(MAKE); $(unstage)
33802 @r=`${PWD_COMMAND}`; export r; \
33803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33804 $(NORMAL_TARGET_EXPORTS) \
33805 (cd $(TARGET_SUBDIR)/libgfortran && \
33806 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33808 @endif target-libgfortran
33810 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33811 maybe-install-target-libgfortran:
33812 @if target-libgfortran
33813 maybe-install-target-libgfortran: install-target-libgfortran
33815 install-target-libgfortran: installdirs
33816 @: $(MAKE); $(unstage)
33817 @r=`${PWD_COMMAND}`; export r; \
33818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33819 $(NORMAL_TARGET_EXPORTS) \
33820 (cd $(TARGET_SUBDIR)/libgfortran && \
33821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33823 @endif target-libgfortran
33825 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33826 maybe-install-strip-target-libgfortran:
33827 @if target-libgfortran
33828 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33830 install-strip-target-libgfortran: installdirs
33831 @: $(MAKE); $(unstage)
33832 @r=`${PWD_COMMAND}`; export r; \
33833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33834 $(NORMAL_TARGET_EXPORTS) \
33835 (cd $(TARGET_SUBDIR)/libgfortran && \
33836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33838 @endif target-libgfortran
33840 # Other targets (info, dvi, pdf, etc.)
33842 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33843 maybe-info-target-libgfortran:
33844 @if target-libgfortran
33845 maybe-info-target-libgfortran: info-target-libgfortran
33847 info-target-libgfortran: \
33848 configure-target-libgfortran
33849 @: $(MAKE); $(unstage)
33850 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(NORMAL_TARGET_EXPORTS) \
33854 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33855 for flag in $(EXTRA_TARGET_FLAGS); do \
33856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33857 done; \
33858 (cd $(TARGET_SUBDIR)/libgfortran && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33863 info) \
33864 || exit 1
33866 @endif target-libgfortran
33868 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33869 maybe-dvi-target-libgfortran:
33870 @if target-libgfortran
33871 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33873 dvi-target-libgfortran: \
33874 configure-target-libgfortran
33875 @: $(MAKE); $(unstage)
33876 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33877 r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(NORMAL_TARGET_EXPORTS) \
33880 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33881 for flag in $(EXTRA_TARGET_FLAGS); do \
33882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33883 done; \
33884 (cd $(TARGET_SUBDIR)/libgfortran && \
33885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33887 "RANLIB=$${RANLIB}" \
33888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33889 dvi) \
33890 || exit 1
33892 @endif target-libgfortran
33894 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33895 maybe-pdf-target-libgfortran:
33896 @if target-libgfortran
33897 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33899 pdf-target-libgfortran: \
33900 configure-target-libgfortran
33901 @: $(MAKE); $(unstage)
33902 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33903 r=`${PWD_COMMAND}`; export r; \
33904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33905 $(NORMAL_TARGET_EXPORTS) \
33906 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33907 for flag in $(EXTRA_TARGET_FLAGS); do \
33908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33909 done; \
33910 (cd $(TARGET_SUBDIR)/libgfortran && \
33911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33913 "RANLIB=$${RANLIB}" \
33914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33915 pdf) \
33916 || exit 1
33918 @endif target-libgfortran
33920 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33921 maybe-html-target-libgfortran:
33922 @if target-libgfortran
33923 maybe-html-target-libgfortran: html-target-libgfortran
33925 html-target-libgfortran: \
33926 configure-target-libgfortran
33927 @: $(MAKE); $(unstage)
33928 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33929 r=`${PWD_COMMAND}`; export r; \
33930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33931 $(NORMAL_TARGET_EXPORTS) \
33932 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33933 for flag in $(EXTRA_TARGET_FLAGS); do \
33934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33935 done; \
33936 (cd $(TARGET_SUBDIR)/libgfortran && \
33937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33939 "RANLIB=$${RANLIB}" \
33940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33941 html) \
33942 || exit 1
33944 @endif target-libgfortran
33946 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33947 maybe-TAGS-target-libgfortran:
33948 @if target-libgfortran
33949 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33951 TAGS-target-libgfortran: \
33952 configure-target-libgfortran
33953 @: $(MAKE); $(unstage)
33954 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33955 r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 $(NORMAL_TARGET_EXPORTS) \
33958 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33959 for flag in $(EXTRA_TARGET_FLAGS); do \
33960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33961 done; \
33962 (cd $(TARGET_SUBDIR)/libgfortran && \
33963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33965 "RANLIB=$${RANLIB}" \
33966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33967 TAGS) \
33968 || exit 1
33970 @endif target-libgfortran
33972 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33973 maybe-install-info-target-libgfortran:
33974 @if target-libgfortran
33975 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33977 install-info-target-libgfortran: \
33978 configure-target-libgfortran \
33979 info-target-libgfortran
33980 @: $(MAKE); $(unstage)
33981 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33982 r=`${PWD_COMMAND}`; export r; \
33983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33984 $(NORMAL_TARGET_EXPORTS) \
33985 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
33986 for flag in $(EXTRA_TARGET_FLAGS); do \
33987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33988 done; \
33989 (cd $(TARGET_SUBDIR)/libgfortran && \
33990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33992 "RANLIB=$${RANLIB}" \
33993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33994 install-info) \
33995 || exit 1
33997 @endif target-libgfortran
33999 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34000 maybe-install-pdf-target-libgfortran:
34001 @if target-libgfortran
34002 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34004 install-pdf-target-libgfortran: \
34005 configure-target-libgfortran \
34006 pdf-target-libgfortran
34007 @: $(MAKE); $(unstage)
34008 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34009 r=`${PWD_COMMAND}`; export r; \
34010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34011 $(NORMAL_TARGET_EXPORTS) \
34012 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34013 for flag in $(EXTRA_TARGET_FLAGS); do \
34014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34015 done; \
34016 (cd $(TARGET_SUBDIR)/libgfortran && \
34017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34019 "RANLIB=$${RANLIB}" \
34020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34021 install-pdf) \
34022 || exit 1
34024 @endif target-libgfortran
34026 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34027 maybe-install-html-target-libgfortran:
34028 @if target-libgfortran
34029 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34031 install-html-target-libgfortran: \
34032 configure-target-libgfortran \
34033 html-target-libgfortran
34034 @: $(MAKE); $(unstage)
34035 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34036 r=`${PWD_COMMAND}`; export r; \
34037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34038 $(NORMAL_TARGET_EXPORTS) \
34039 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34040 for flag in $(EXTRA_TARGET_FLAGS); do \
34041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34042 done; \
34043 (cd $(TARGET_SUBDIR)/libgfortran && \
34044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34046 "RANLIB=$${RANLIB}" \
34047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34048 install-html) \
34049 || exit 1
34051 @endif target-libgfortran
34053 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34054 maybe-installcheck-target-libgfortran:
34055 @if target-libgfortran
34056 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34058 installcheck-target-libgfortran: \
34059 configure-target-libgfortran
34060 @: $(MAKE); $(unstage)
34061 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34062 r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(NORMAL_TARGET_EXPORTS) \
34065 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34066 for flag in $(EXTRA_TARGET_FLAGS); do \
34067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34068 done; \
34069 (cd $(TARGET_SUBDIR)/libgfortran && \
34070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34072 "RANLIB=$${RANLIB}" \
34073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34074 installcheck) \
34075 || exit 1
34077 @endif target-libgfortran
34079 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34080 maybe-mostlyclean-target-libgfortran:
34081 @if target-libgfortran
34082 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34084 mostlyclean-target-libgfortran:
34085 @: $(MAKE); $(unstage)
34086 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34087 r=`${PWD_COMMAND}`; export r; \
34088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34089 $(NORMAL_TARGET_EXPORTS) \
34090 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34091 for flag in $(EXTRA_TARGET_FLAGS); do \
34092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34093 done; \
34094 (cd $(TARGET_SUBDIR)/libgfortran && \
34095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34097 "RANLIB=$${RANLIB}" \
34098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34099 mostlyclean) \
34100 || exit 1
34102 @endif target-libgfortran
34104 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34105 maybe-clean-target-libgfortran:
34106 @if target-libgfortran
34107 maybe-clean-target-libgfortran: clean-target-libgfortran
34109 clean-target-libgfortran:
34110 @: $(MAKE); $(unstage)
34111 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34112 r=`${PWD_COMMAND}`; export r; \
34113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34114 $(NORMAL_TARGET_EXPORTS) \
34115 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34116 for flag in $(EXTRA_TARGET_FLAGS); do \
34117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34118 done; \
34119 (cd $(TARGET_SUBDIR)/libgfortran && \
34120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34122 "RANLIB=$${RANLIB}" \
34123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34124 clean) \
34125 || exit 1
34127 @endif target-libgfortran
34129 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34130 maybe-distclean-target-libgfortran:
34131 @if target-libgfortran
34132 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34134 distclean-target-libgfortran:
34135 @: $(MAKE); $(unstage)
34136 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34137 r=`${PWD_COMMAND}`; export r; \
34138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34139 $(NORMAL_TARGET_EXPORTS) \
34140 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34141 for flag in $(EXTRA_TARGET_FLAGS); do \
34142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34143 done; \
34144 (cd $(TARGET_SUBDIR)/libgfortran && \
34145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34147 "RANLIB=$${RANLIB}" \
34148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34149 distclean) \
34150 || exit 1
34152 @endif target-libgfortran
34154 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34155 maybe-maintainer-clean-target-libgfortran:
34156 @if target-libgfortran
34157 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34159 maintainer-clean-target-libgfortran:
34160 @: $(MAKE); $(unstage)
34161 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34162 r=`${PWD_COMMAND}`; export r; \
34163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34164 $(NORMAL_TARGET_EXPORTS) \
34165 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34166 for flag in $(EXTRA_TARGET_FLAGS); do \
34167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34168 done; \
34169 (cd $(TARGET_SUBDIR)/libgfortran && \
34170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34172 "RANLIB=$${RANLIB}" \
34173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34174 maintainer-clean) \
34175 || exit 1
34177 @endif target-libgfortran
34183 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34184 maybe-configure-target-libobjc:
34185 @if gcc-bootstrap
34186 configure-target-libobjc: stage_current
34187 @endif gcc-bootstrap
34188 @if target-libobjc
34189 maybe-configure-target-libobjc: configure-target-libobjc
34190 configure-target-libobjc:
34191 @: $(MAKE); $(unstage)
34192 @r=`${PWD_COMMAND}`; export r; \
34193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34194 echo "Checking multilib configuration for libobjc..."; \
34195 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34196 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34197 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34198 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34199 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34200 else \
34201 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34202 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34203 fi; \
34204 else \
34205 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34206 fi; \
34207 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34209 $(NORMAL_TARGET_EXPORTS) \
34210 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34211 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34212 case $(srcdir) in \
34213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34214 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34216 esac; \
34217 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34218 libsrcdir="$$s/libobjc"; \
34219 rm -f no-such-file || : ; \
34220 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34221 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34222 --target=${target_alias} $${srcdiroption} \
34223 || exit 1
34224 @endif target-libobjc
34230 .PHONY: all-target-libobjc maybe-all-target-libobjc
34231 maybe-all-target-libobjc:
34232 @if gcc-bootstrap
34233 all-target-libobjc: stage_current
34234 @endif gcc-bootstrap
34235 @if target-libobjc
34236 TARGET-target-libobjc=all
34237 maybe-all-target-libobjc: all-target-libobjc
34238 all-target-libobjc: configure-target-libobjc
34239 @: $(MAKE); $(unstage)
34240 @r=`${PWD_COMMAND}`; export r; \
34241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34242 $(NORMAL_TARGET_EXPORTS) \
34243 (cd $(TARGET_SUBDIR)/libobjc && \
34244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34245 $(TARGET-target-libobjc))
34246 @endif target-libobjc
34252 .PHONY: check-target-libobjc maybe-check-target-libobjc
34253 maybe-check-target-libobjc:
34254 @if target-libobjc
34255 maybe-check-target-libobjc: check-target-libobjc
34257 check-target-libobjc:
34258 @: $(MAKE); $(unstage)
34259 @r=`${PWD_COMMAND}`; export r; \
34260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34261 $(NORMAL_TARGET_EXPORTS) \
34262 (cd $(TARGET_SUBDIR)/libobjc && \
34263 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34265 @endif target-libobjc
34267 .PHONY: install-target-libobjc maybe-install-target-libobjc
34268 maybe-install-target-libobjc:
34269 @if target-libobjc
34270 maybe-install-target-libobjc: install-target-libobjc
34272 install-target-libobjc: installdirs
34273 @: $(MAKE); $(unstage)
34274 @r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(NORMAL_TARGET_EXPORTS) \
34277 (cd $(TARGET_SUBDIR)/libobjc && \
34278 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34280 @endif target-libobjc
34282 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34283 maybe-install-strip-target-libobjc:
34284 @if target-libobjc
34285 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34287 install-strip-target-libobjc: installdirs
34288 @: $(MAKE); $(unstage)
34289 @r=`${PWD_COMMAND}`; export r; \
34290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34291 $(NORMAL_TARGET_EXPORTS) \
34292 (cd $(TARGET_SUBDIR)/libobjc && \
34293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34295 @endif target-libobjc
34297 # Other targets (info, dvi, pdf, etc.)
34299 .PHONY: maybe-info-target-libobjc info-target-libobjc
34300 maybe-info-target-libobjc:
34301 @if target-libobjc
34302 maybe-info-target-libobjc: info-target-libobjc
34304 info-target-libobjc: \
34305 configure-target-libobjc
34306 @: $(MAKE); $(unstage)
34307 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34308 r=`${PWD_COMMAND}`; export r; \
34309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34310 $(NORMAL_TARGET_EXPORTS) \
34311 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34312 for flag in $(EXTRA_TARGET_FLAGS); do \
34313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34314 done; \
34315 (cd $(TARGET_SUBDIR)/libobjc && \
34316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34318 "RANLIB=$${RANLIB}" \
34319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34320 info) \
34321 || exit 1
34323 @endif target-libobjc
34325 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34326 maybe-dvi-target-libobjc:
34327 @if target-libobjc
34328 maybe-dvi-target-libobjc: dvi-target-libobjc
34330 dvi-target-libobjc: \
34331 configure-target-libobjc
34332 @: $(MAKE); $(unstage)
34333 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34334 r=`${PWD_COMMAND}`; export r; \
34335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34336 $(NORMAL_TARGET_EXPORTS) \
34337 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34338 for flag in $(EXTRA_TARGET_FLAGS); do \
34339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34340 done; \
34341 (cd $(TARGET_SUBDIR)/libobjc && \
34342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34344 "RANLIB=$${RANLIB}" \
34345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34346 dvi) \
34347 || exit 1
34349 @endif target-libobjc
34351 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34352 maybe-pdf-target-libobjc:
34353 @if target-libobjc
34354 maybe-pdf-target-libobjc: pdf-target-libobjc
34356 pdf-target-libobjc: \
34357 configure-target-libobjc
34358 @: $(MAKE); $(unstage)
34359 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34360 r=`${PWD_COMMAND}`; export r; \
34361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34362 $(NORMAL_TARGET_EXPORTS) \
34363 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34364 for flag in $(EXTRA_TARGET_FLAGS); do \
34365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34366 done; \
34367 (cd $(TARGET_SUBDIR)/libobjc && \
34368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34370 "RANLIB=$${RANLIB}" \
34371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34372 pdf) \
34373 || exit 1
34375 @endif target-libobjc
34377 .PHONY: maybe-html-target-libobjc html-target-libobjc
34378 maybe-html-target-libobjc:
34379 @if target-libobjc
34380 maybe-html-target-libobjc: html-target-libobjc
34382 html-target-libobjc: \
34383 configure-target-libobjc
34384 @: $(MAKE); $(unstage)
34385 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34386 r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(NORMAL_TARGET_EXPORTS) \
34389 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34390 for flag in $(EXTRA_TARGET_FLAGS); do \
34391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34392 done; \
34393 (cd $(TARGET_SUBDIR)/libobjc && \
34394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34396 "RANLIB=$${RANLIB}" \
34397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34398 html) \
34399 || exit 1
34401 @endif target-libobjc
34403 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34404 maybe-TAGS-target-libobjc:
34405 @if target-libobjc
34406 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34408 TAGS-target-libobjc: \
34409 configure-target-libobjc
34410 @: $(MAKE); $(unstage)
34411 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34412 r=`${PWD_COMMAND}`; export r; \
34413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34414 $(NORMAL_TARGET_EXPORTS) \
34415 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34416 for flag in $(EXTRA_TARGET_FLAGS); do \
34417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34418 done; \
34419 (cd $(TARGET_SUBDIR)/libobjc && \
34420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34422 "RANLIB=$${RANLIB}" \
34423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34424 TAGS) \
34425 || exit 1
34427 @endif target-libobjc
34429 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34430 maybe-install-info-target-libobjc:
34431 @if target-libobjc
34432 maybe-install-info-target-libobjc: install-info-target-libobjc
34434 install-info-target-libobjc: \
34435 configure-target-libobjc \
34436 info-target-libobjc
34437 @: $(MAKE); $(unstage)
34438 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34439 r=`${PWD_COMMAND}`; export r; \
34440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34441 $(NORMAL_TARGET_EXPORTS) \
34442 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34443 for flag in $(EXTRA_TARGET_FLAGS); do \
34444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34445 done; \
34446 (cd $(TARGET_SUBDIR)/libobjc && \
34447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34449 "RANLIB=$${RANLIB}" \
34450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34451 install-info) \
34452 || exit 1
34454 @endif target-libobjc
34456 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34457 maybe-install-pdf-target-libobjc:
34458 @if target-libobjc
34459 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34461 install-pdf-target-libobjc: \
34462 configure-target-libobjc \
34463 pdf-target-libobjc
34464 @: $(MAKE); $(unstage)
34465 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34466 r=`${PWD_COMMAND}`; export r; \
34467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34468 $(NORMAL_TARGET_EXPORTS) \
34469 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34470 for flag in $(EXTRA_TARGET_FLAGS); do \
34471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34472 done; \
34473 (cd $(TARGET_SUBDIR)/libobjc && \
34474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34476 "RANLIB=$${RANLIB}" \
34477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34478 install-pdf) \
34479 || exit 1
34481 @endif target-libobjc
34483 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34484 maybe-install-html-target-libobjc:
34485 @if target-libobjc
34486 maybe-install-html-target-libobjc: install-html-target-libobjc
34488 install-html-target-libobjc: \
34489 configure-target-libobjc \
34490 html-target-libobjc
34491 @: $(MAKE); $(unstage)
34492 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34493 r=`${PWD_COMMAND}`; export r; \
34494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34495 $(NORMAL_TARGET_EXPORTS) \
34496 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34497 for flag in $(EXTRA_TARGET_FLAGS); do \
34498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34499 done; \
34500 (cd $(TARGET_SUBDIR)/libobjc && \
34501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34503 "RANLIB=$${RANLIB}" \
34504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34505 install-html) \
34506 || exit 1
34508 @endif target-libobjc
34510 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34511 maybe-installcheck-target-libobjc:
34512 @if target-libobjc
34513 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34515 installcheck-target-libobjc: \
34516 configure-target-libobjc
34517 @: $(MAKE); $(unstage)
34518 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34519 r=`${PWD_COMMAND}`; export r; \
34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34521 $(NORMAL_TARGET_EXPORTS) \
34522 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34523 for flag in $(EXTRA_TARGET_FLAGS); do \
34524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34525 done; \
34526 (cd $(TARGET_SUBDIR)/libobjc && \
34527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34529 "RANLIB=$${RANLIB}" \
34530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34531 installcheck) \
34532 || exit 1
34534 @endif target-libobjc
34536 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34537 maybe-mostlyclean-target-libobjc:
34538 @if target-libobjc
34539 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34541 mostlyclean-target-libobjc:
34542 @: $(MAKE); $(unstage)
34543 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34544 r=`${PWD_COMMAND}`; export r; \
34545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34546 $(NORMAL_TARGET_EXPORTS) \
34547 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34548 for flag in $(EXTRA_TARGET_FLAGS); do \
34549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34550 done; \
34551 (cd $(TARGET_SUBDIR)/libobjc && \
34552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34554 "RANLIB=$${RANLIB}" \
34555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34556 mostlyclean) \
34557 || exit 1
34559 @endif target-libobjc
34561 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34562 maybe-clean-target-libobjc:
34563 @if target-libobjc
34564 maybe-clean-target-libobjc: clean-target-libobjc
34566 clean-target-libobjc:
34567 @: $(MAKE); $(unstage)
34568 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34569 r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 $(NORMAL_TARGET_EXPORTS) \
34572 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34573 for flag in $(EXTRA_TARGET_FLAGS); do \
34574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34575 done; \
34576 (cd $(TARGET_SUBDIR)/libobjc && \
34577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34579 "RANLIB=$${RANLIB}" \
34580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34581 clean) \
34582 || exit 1
34584 @endif target-libobjc
34586 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34587 maybe-distclean-target-libobjc:
34588 @if target-libobjc
34589 maybe-distclean-target-libobjc: distclean-target-libobjc
34591 distclean-target-libobjc:
34592 @: $(MAKE); $(unstage)
34593 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34594 r=`${PWD_COMMAND}`; export r; \
34595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34596 $(NORMAL_TARGET_EXPORTS) \
34597 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34598 for flag in $(EXTRA_TARGET_FLAGS); do \
34599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34600 done; \
34601 (cd $(TARGET_SUBDIR)/libobjc && \
34602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34604 "RANLIB=$${RANLIB}" \
34605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34606 distclean) \
34607 || exit 1
34609 @endif target-libobjc
34611 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34612 maybe-maintainer-clean-target-libobjc:
34613 @if target-libobjc
34614 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34616 maintainer-clean-target-libobjc:
34617 @: $(MAKE); $(unstage)
34618 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34619 r=`${PWD_COMMAND}`; export r; \
34620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34621 $(NORMAL_TARGET_EXPORTS) \
34622 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34623 for flag in $(EXTRA_TARGET_FLAGS); do \
34624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34625 done; \
34626 (cd $(TARGET_SUBDIR)/libobjc && \
34627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34629 "RANLIB=$${RANLIB}" \
34630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34631 maintainer-clean) \
34632 || exit 1
34634 @endif target-libobjc
34640 .PHONY: configure-target-libgo maybe-configure-target-libgo
34641 maybe-configure-target-libgo:
34642 @if gcc-bootstrap
34643 configure-target-libgo: stage_current
34644 @endif gcc-bootstrap
34645 @if target-libgo
34646 maybe-configure-target-libgo: configure-target-libgo
34647 configure-target-libgo:
34648 @: $(MAKE); $(unstage)
34649 @r=`${PWD_COMMAND}`; export r; \
34650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34651 echo "Checking multilib configuration for libgo..."; \
34652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34653 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34654 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34655 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34656 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34657 else \
34658 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34659 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34660 fi; \
34661 else \
34662 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34663 fi; \
34664 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34666 $(NORMAL_TARGET_EXPORTS) \
34667 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34668 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34669 case $(srcdir) in \
34670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34671 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34673 esac; \
34674 srcdiroption="--srcdir=$${topdir}/libgo"; \
34675 libsrcdir="$$s/libgo"; \
34676 rm -f no-such-file || : ; \
34677 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34678 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34679 --target=${target_alias} $${srcdiroption} \
34680 || exit 1
34681 @endif target-libgo
34687 .PHONY: all-target-libgo maybe-all-target-libgo
34688 maybe-all-target-libgo:
34689 @if gcc-bootstrap
34690 all-target-libgo: stage_current
34691 @endif gcc-bootstrap
34692 @if target-libgo
34693 TARGET-target-libgo=all
34694 maybe-all-target-libgo: all-target-libgo
34695 all-target-libgo: configure-target-libgo
34696 @: $(MAKE); $(unstage)
34697 @r=`${PWD_COMMAND}`; export r; \
34698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34699 $(NORMAL_TARGET_EXPORTS) \
34700 (cd $(TARGET_SUBDIR)/libgo && \
34701 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34702 $(TARGET-target-libgo))
34703 @endif target-libgo
34709 .PHONY: check-target-libgo maybe-check-target-libgo
34710 maybe-check-target-libgo:
34711 @if target-libgo
34712 maybe-check-target-libgo: check-target-libgo
34714 check-target-libgo:
34715 @: $(MAKE); $(unstage)
34716 @r=`${PWD_COMMAND}`; export r; \
34717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34718 $(NORMAL_TARGET_EXPORTS) \
34719 (cd $(TARGET_SUBDIR)/libgo && \
34720 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34722 @endif target-libgo
34724 .PHONY: install-target-libgo maybe-install-target-libgo
34725 maybe-install-target-libgo:
34726 @if target-libgo
34727 maybe-install-target-libgo: install-target-libgo
34729 install-target-libgo: installdirs
34730 @: $(MAKE); $(unstage)
34731 @r=`${PWD_COMMAND}`; export r; \
34732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34733 $(NORMAL_TARGET_EXPORTS) \
34734 (cd $(TARGET_SUBDIR)/libgo && \
34735 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34737 @endif target-libgo
34739 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34740 maybe-install-strip-target-libgo:
34741 @if target-libgo
34742 maybe-install-strip-target-libgo: install-strip-target-libgo
34744 install-strip-target-libgo: installdirs
34745 @: $(MAKE); $(unstage)
34746 @r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(NORMAL_TARGET_EXPORTS) \
34749 (cd $(TARGET_SUBDIR)/libgo && \
34750 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34752 @endif target-libgo
34754 # Other targets (info, dvi, pdf, etc.)
34756 .PHONY: maybe-info-target-libgo info-target-libgo
34757 maybe-info-target-libgo:
34758 @if target-libgo
34759 maybe-info-target-libgo: info-target-libgo
34761 info-target-libgo: \
34762 configure-target-libgo
34763 @: $(MAKE); $(unstage)
34764 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34765 r=`${PWD_COMMAND}`; export r; \
34766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34767 $(NORMAL_TARGET_EXPORTS) \
34768 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34769 for flag in $(EXTRA_TARGET_FLAGS); do \
34770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34771 done; \
34772 (cd $(TARGET_SUBDIR)/libgo && \
34773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34775 "RANLIB=$${RANLIB}" \
34776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34777 info) \
34778 || exit 1
34780 @endif target-libgo
34782 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34783 maybe-dvi-target-libgo:
34784 @if target-libgo
34785 maybe-dvi-target-libgo: dvi-target-libgo
34787 dvi-target-libgo: \
34788 configure-target-libgo
34789 @: $(MAKE); $(unstage)
34790 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34791 r=`${PWD_COMMAND}`; export r; \
34792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34793 $(NORMAL_TARGET_EXPORTS) \
34794 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34795 for flag in $(EXTRA_TARGET_FLAGS); do \
34796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34797 done; \
34798 (cd $(TARGET_SUBDIR)/libgo && \
34799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34801 "RANLIB=$${RANLIB}" \
34802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34803 dvi) \
34804 || exit 1
34806 @endif target-libgo
34808 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34809 maybe-pdf-target-libgo:
34810 @if target-libgo
34811 maybe-pdf-target-libgo: pdf-target-libgo
34813 pdf-target-libgo: \
34814 configure-target-libgo
34815 @: $(MAKE); $(unstage)
34816 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34817 r=`${PWD_COMMAND}`; export r; \
34818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34819 $(NORMAL_TARGET_EXPORTS) \
34820 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34821 for flag in $(EXTRA_TARGET_FLAGS); do \
34822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34823 done; \
34824 (cd $(TARGET_SUBDIR)/libgo && \
34825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34827 "RANLIB=$${RANLIB}" \
34828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34829 pdf) \
34830 || exit 1
34832 @endif target-libgo
34834 .PHONY: maybe-html-target-libgo html-target-libgo
34835 maybe-html-target-libgo:
34836 @if target-libgo
34837 maybe-html-target-libgo: html-target-libgo
34839 html-target-libgo: \
34840 configure-target-libgo
34841 @: $(MAKE); $(unstage)
34842 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34843 r=`${PWD_COMMAND}`; export r; \
34844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34845 $(NORMAL_TARGET_EXPORTS) \
34846 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34847 for flag in $(EXTRA_TARGET_FLAGS); do \
34848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34849 done; \
34850 (cd $(TARGET_SUBDIR)/libgo && \
34851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34853 "RANLIB=$${RANLIB}" \
34854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34855 html) \
34856 || exit 1
34858 @endif target-libgo
34860 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34861 maybe-TAGS-target-libgo:
34862 @if target-libgo
34863 maybe-TAGS-target-libgo: TAGS-target-libgo
34865 TAGS-target-libgo: \
34866 configure-target-libgo
34867 @: $(MAKE); $(unstage)
34868 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34869 r=`${PWD_COMMAND}`; export r; \
34870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34871 $(NORMAL_TARGET_EXPORTS) \
34872 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34873 for flag in $(EXTRA_TARGET_FLAGS); do \
34874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34875 done; \
34876 (cd $(TARGET_SUBDIR)/libgo && \
34877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34879 "RANLIB=$${RANLIB}" \
34880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34881 TAGS) \
34882 || exit 1
34884 @endif target-libgo
34886 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34887 maybe-install-info-target-libgo:
34888 @if target-libgo
34889 maybe-install-info-target-libgo: install-info-target-libgo
34891 install-info-target-libgo: \
34892 configure-target-libgo \
34893 info-target-libgo
34894 @: $(MAKE); $(unstage)
34895 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34896 r=`${PWD_COMMAND}`; export r; \
34897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34898 $(NORMAL_TARGET_EXPORTS) \
34899 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34900 for flag in $(EXTRA_TARGET_FLAGS); do \
34901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34902 done; \
34903 (cd $(TARGET_SUBDIR)/libgo && \
34904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34906 "RANLIB=$${RANLIB}" \
34907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34908 install-info) \
34909 || exit 1
34911 @endif target-libgo
34913 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34914 maybe-install-pdf-target-libgo:
34915 @if target-libgo
34916 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34918 install-pdf-target-libgo: \
34919 configure-target-libgo \
34920 pdf-target-libgo
34921 @: $(MAKE); $(unstage)
34922 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34923 r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(NORMAL_TARGET_EXPORTS) \
34926 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34927 for flag in $(EXTRA_TARGET_FLAGS); do \
34928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34929 done; \
34930 (cd $(TARGET_SUBDIR)/libgo && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34933 "RANLIB=$${RANLIB}" \
34934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34935 install-pdf) \
34936 || exit 1
34938 @endif target-libgo
34940 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34941 maybe-install-html-target-libgo:
34942 @if target-libgo
34943 maybe-install-html-target-libgo: install-html-target-libgo
34945 install-html-target-libgo: \
34946 configure-target-libgo \
34947 html-target-libgo
34948 @: $(MAKE); $(unstage)
34949 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34950 r=`${PWD_COMMAND}`; export r; \
34951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34952 $(NORMAL_TARGET_EXPORTS) \
34953 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
34954 for flag in $(EXTRA_TARGET_FLAGS); do \
34955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34956 done; \
34957 (cd $(TARGET_SUBDIR)/libgo && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34960 "RANLIB=$${RANLIB}" \
34961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34962 install-html) \
34963 || exit 1
34965 @endif target-libgo
34967 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
34968 maybe-installcheck-target-libgo:
34969 @if target-libgo
34970 maybe-installcheck-target-libgo: installcheck-target-libgo
34972 installcheck-target-libgo: \
34973 configure-target-libgo
34974 @: $(MAKE); $(unstage)
34975 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34976 r=`${PWD_COMMAND}`; export r; \
34977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34978 $(NORMAL_TARGET_EXPORTS) \
34979 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
34980 for flag in $(EXTRA_TARGET_FLAGS); do \
34981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34982 done; \
34983 (cd $(TARGET_SUBDIR)/libgo && \
34984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34986 "RANLIB=$${RANLIB}" \
34987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34988 installcheck) \
34989 || exit 1
34991 @endif target-libgo
34993 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
34994 maybe-mostlyclean-target-libgo:
34995 @if target-libgo
34996 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
34998 mostlyclean-target-libgo:
34999 @: $(MAKE); $(unstage)
35000 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35001 r=`${PWD_COMMAND}`; export r; \
35002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35003 $(NORMAL_TARGET_EXPORTS) \
35004 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35005 for flag in $(EXTRA_TARGET_FLAGS); do \
35006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35007 done; \
35008 (cd $(TARGET_SUBDIR)/libgo && \
35009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35011 "RANLIB=$${RANLIB}" \
35012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35013 mostlyclean) \
35014 || exit 1
35016 @endif target-libgo
35018 .PHONY: maybe-clean-target-libgo clean-target-libgo
35019 maybe-clean-target-libgo:
35020 @if target-libgo
35021 maybe-clean-target-libgo: clean-target-libgo
35023 clean-target-libgo:
35024 @: $(MAKE); $(unstage)
35025 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35026 r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(NORMAL_TARGET_EXPORTS) \
35029 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35030 for flag in $(EXTRA_TARGET_FLAGS); do \
35031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35032 done; \
35033 (cd $(TARGET_SUBDIR)/libgo && \
35034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35036 "RANLIB=$${RANLIB}" \
35037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35038 clean) \
35039 || exit 1
35041 @endif target-libgo
35043 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35044 maybe-distclean-target-libgo:
35045 @if target-libgo
35046 maybe-distclean-target-libgo: distclean-target-libgo
35048 distclean-target-libgo:
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/libgo && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35063 distclean) \
35064 || exit 1
35066 @endif target-libgo
35068 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35069 maybe-maintainer-clean-target-libgo:
35070 @if target-libgo
35071 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35073 maintainer-clean-target-libgo:
35074 @: $(MAKE); $(unstage)
35075 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35076 r=`${PWD_COMMAND}`; export r; \
35077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35078 $(NORMAL_TARGET_EXPORTS) \
35079 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35080 for flag in $(EXTRA_TARGET_FLAGS); do \
35081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35082 done; \
35083 (cd $(TARGET_SUBDIR)/libgo && \
35084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35086 "RANLIB=$${RANLIB}" \
35087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35088 maintainer-clean) \
35089 || exit 1
35091 @endif target-libgo
35097 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35098 maybe-configure-target-libtermcap:
35099 @if gcc-bootstrap
35100 configure-target-libtermcap: stage_current
35101 @endif gcc-bootstrap
35102 @if target-libtermcap
35103 maybe-configure-target-libtermcap: configure-target-libtermcap
35104 configure-target-libtermcap:
35105 @: $(MAKE); $(unstage)
35106 @r=`${PWD_COMMAND}`; export r; \
35107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35108 echo "Checking multilib configuration for libtermcap..."; \
35109 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35110 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35111 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35112 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35113 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35114 else \
35115 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35116 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35117 fi; \
35118 else \
35119 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35120 fi; \
35121 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35122 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35123 $(NORMAL_TARGET_EXPORTS) \
35124 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35125 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35126 case $(srcdir) in \
35127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35128 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35130 esac; \
35131 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35132 libsrcdir="$$s/libtermcap"; \
35133 rm -f no-such-file || : ; \
35134 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35135 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35136 --target=${target_alias} $${srcdiroption} \
35137 || exit 1
35138 @endif target-libtermcap
35144 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35145 maybe-all-target-libtermcap:
35146 @if gcc-bootstrap
35147 all-target-libtermcap: stage_current
35148 @endif gcc-bootstrap
35149 @if target-libtermcap
35150 TARGET-target-libtermcap=all
35151 maybe-all-target-libtermcap: all-target-libtermcap
35152 all-target-libtermcap: configure-target-libtermcap
35153 @: $(MAKE); $(unstage)
35154 @r=`${PWD_COMMAND}`; export r; \
35155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35156 $(NORMAL_TARGET_EXPORTS) \
35157 (cd $(TARGET_SUBDIR)/libtermcap && \
35158 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35159 $(TARGET-target-libtermcap))
35160 @endif target-libtermcap
35166 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35167 maybe-check-target-libtermcap:
35168 @if target-libtermcap
35169 maybe-check-target-libtermcap: check-target-libtermcap
35171 # Dummy target for uncheckable module.
35172 check-target-libtermcap:
35174 @endif target-libtermcap
35176 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35177 maybe-install-target-libtermcap:
35178 @if target-libtermcap
35179 maybe-install-target-libtermcap: install-target-libtermcap
35181 install-target-libtermcap: installdirs
35182 @: $(MAKE); $(unstage)
35183 @r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(NORMAL_TARGET_EXPORTS) \
35186 (cd $(TARGET_SUBDIR)/libtermcap && \
35187 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35189 @endif target-libtermcap
35191 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35192 maybe-install-strip-target-libtermcap:
35193 @if target-libtermcap
35194 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35196 install-strip-target-libtermcap: installdirs
35197 @: $(MAKE); $(unstage)
35198 @r=`${PWD_COMMAND}`; export r; \
35199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35200 $(NORMAL_TARGET_EXPORTS) \
35201 (cd $(TARGET_SUBDIR)/libtermcap && \
35202 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35204 @endif target-libtermcap
35206 # Other targets (info, dvi, pdf, etc.)
35208 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35209 maybe-info-target-libtermcap:
35210 @if target-libtermcap
35211 maybe-info-target-libtermcap: info-target-libtermcap
35213 info-target-libtermcap: \
35214 configure-target-libtermcap
35215 @: $(MAKE); $(unstage)
35216 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35217 r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(NORMAL_TARGET_EXPORTS) \
35220 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35221 for flag in $(EXTRA_TARGET_FLAGS); do \
35222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35223 done; \
35224 (cd $(TARGET_SUBDIR)/libtermcap && \
35225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35227 "RANLIB=$${RANLIB}" \
35228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35229 info) \
35230 || exit 1
35232 @endif target-libtermcap
35234 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35235 maybe-dvi-target-libtermcap:
35236 @if target-libtermcap
35237 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35239 dvi-target-libtermcap: \
35240 configure-target-libtermcap
35241 @: $(MAKE); $(unstage)
35242 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35243 r=`${PWD_COMMAND}`; export r; \
35244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35245 $(NORMAL_TARGET_EXPORTS) \
35246 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35247 for flag in $(EXTRA_TARGET_FLAGS); do \
35248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35249 done; \
35250 (cd $(TARGET_SUBDIR)/libtermcap && \
35251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35253 "RANLIB=$${RANLIB}" \
35254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35255 dvi) \
35256 || exit 1
35258 @endif target-libtermcap
35260 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35261 maybe-pdf-target-libtermcap:
35262 @if target-libtermcap
35263 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35265 pdf-target-libtermcap: \
35266 configure-target-libtermcap
35267 @: $(MAKE); $(unstage)
35268 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35269 r=`${PWD_COMMAND}`; export r; \
35270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35271 $(NORMAL_TARGET_EXPORTS) \
35272 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35273 for flag in $(EXTRA_TARGET_FLAGS); do \
35274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35275 done; \
35276 (cd $(TARGET_SUBDIR)/libtermcap && \
35277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35279 "RANLIB=$${RANLIB}" \
35280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35281 pdf) \
35282 || exit 1
35284 @endif target-libtermcap
35286 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35287 maybe-html-target-libtermcap:
35288 @if target-libtermcap
35289 maybe-html-target-libtermcap: html-target-libtermcap
35291 html-target-libtermcap: \
35292 configure-target-libtermcap
35293 @: $(MAKE); $(unstage)
35294 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(NORMAL_TARGET_EXPORTS) \
35298 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35299 for flag in $(EXTRA_TARGET_FLAGS); do \
35300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35301 done; \
35302 (cd $(TARGET_SUBDIR)/libtermcap && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35307 html) \
35308 || exit 1
35310 @endif target-libtermcap
35312 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35313 maybe-TAGS-target-libtermcap:
35314 @if target-libtermcap
35315 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35317 TAGS-target-libtermcap: \
35318 configure-target-libtermcap
35319 @: $(MAKE); $(unstage)
35320 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35325 for flag in $(EXTRA_TARGET_FLAGS); do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35327 done; \
35328 (cd $(TARGET_SUBDIR)/libtermcap && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35333 TAGS) \
35334 || exit 1
35336 @endif target-libtermcap
35338 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35339 maybe-install-info-target-libtermcap:
35340 @if target-libtermcap
35341 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35343 install-info-target-libtermcap: \
35344 configure-target-libtermcap \
35345 info-target-libtermcap
35346 @: $(MAKE); $(unstage)
35347 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(NORMAL_TARGET_EXPORTS) \
35351 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35352 for flag in $(EXTRA_TARGET_FLAGS); do \
35353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35354 done; \
35355 (cd $(TARGET_SUBDIR)/libtermcap && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 install-info) \
35361 || exit 1
35363 @endif target-libtermcap
35365 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35366 maybe-install-pdf-target-libtermcap:
35367 @if target-libtermcap
35368 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35370 install-pdf-target-libtermcap: \
35371 configure-target-libtermcap \
35372 pdf-target-libtermcap
35373 @: $(MAKE); $(unstage)
35374 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35375 r=`${PWD_COMMAND}`; export r; \
35376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35377 $(NORMAL_TARGET_EXPORTS) \
35378 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35379 for flag in $(EXTRA_TARGET_FLAGS); do \
35380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35381 done; \
35382 (cd $(TARGET_SUBDIR)/libtermcap && \
35383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35385 "RANLIB=$${RANLIB}" \
35386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35387 install-pdf) \
35388 || exit 1
35390 @endif target-libtermcap
35392 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35393 maybe-install-html-target-libtermcap:
35394 @if target-libtermcap
35395 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35397 install-html-target-libtermcap: \
35398 configure-target-libtermcap \
35399 html-target-libtermcap
35400 @: $(MAKE); $(unstage)
35401 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35402 r=`${PWD_COMMAND}`; export r; \
35403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35404 $(NORMAL_TARGET_EXPORTS) \
35405 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35406 for flag in $(EXTRA_TARGET_FLAGS); do \
35407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35408 done; \
35409 (cd $(TARGET_SUBDIR)/libtermcap && \
35410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35412 "RANLIB=$${RANLIB}" \
35413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35414 install-html) \
35415 || exit 1
35417 @endif target-libtermcap
35419 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35420 maybe-installcheck-target-libtermcap:
35421 @if target-libtermcap
35422 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35424 installcheck-target-libtermcap: \
35425 configure-target-libtermcap
35426 @: $(MAKE); $(unstage)
35427 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35428 r=`${PWD_COMMAND}`; export r; \
35429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35430 $(NORMAL_TARGET_EXPORTS) \
35431 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35432 for flag in $(EXTRA_TARGET_FLAGS); do \
35433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35434 done; \
35435 (cd $(TARGET_SUBDIR)/libtermcap && \
35436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35438 "RANLIB=$${RANLIB}" \
35439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35440 installcheck) \
35441 || exit 1
35443 @endif target-libtermcap
35445 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35446 maybe-mostlyclean-target-libtermcap:
35447 @if target-libtermcap
35448 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35450 # libtermcap doesn't support mostlyclean.
35451 mostlyclean-target-libtermcap:
35453 @endif target-libtermcap
35455 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35456 maybe-clean-target-libtermcap:
35457 @if target-libtermcap
35458 maybe-clean-target-libtermcap: clean-target-libtermcap
35460 # libtermcap doesn't support clean.
35461 clean-target-libtermcap:
35463 @endif target-libtermcap
35465 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35466 maybe-distclean-target-libtermcap:
35467 @if target-libtermcap
35468 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35470 # libtermcap doesn't support distclean.
35471 distclean-target-libtermcap:
35473 @endif target-libtermcap
35475 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35476 maybe-maintainer-clean-target-libtermcap:
35477 @if target-libtermcap
35478 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35480 # libtermcap doesn't support maintainer-clean.
35481 maintainer-clean-target-libtermcap:
35483 @endif target-libtermcap
35489 .PHONY: configure-target-winsup maybe-configure-target-winsup
35490 maybe-configure-target-winsup:
35491 @if gcc-bootstrap
35492 configure-target-winsup: stage_current
35493 @endif gcc-bootstrap
35494 @if target-winsup
35495 maybe-configure-target-winsup: configure-target-winsup
35496 configure-target-winsup:
35497 @: $(MAKE); $(unstage)
35498 @r=`${PWD_COMMAND}`; export r; \
35499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35500 echo "Checking multilib configuration for winsup..."; \
35501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35502 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35503 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35504 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35505 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35506 else \
35507 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35508 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35509 fi; \
35510 else \
35511 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35512 fi; \
35513 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35514 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35515 $(NORMAL_TARGET_EXPORTS) \
35516 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35517 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35518 case $(srcdir) in \
35519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35520 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35522 esac; \
35523 srcdiroption="--srcdir=$${topdir}/winsup"; \
35524 libsrcdir="$$s/winsup"; \
35525 rm -f no-such-file || : ; \
35526 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35528 --target=${target_alias} $${srcdiroption} \
35529 || exit 1
35530 @endif target-winsup
35536 .PHONY: all-target-winsup maybe-all-target-winsup
35537 maybe-all-target-winsup:
35538 @if gcc-bootstrap
35539 all-target-winsup: stage_current
35540 @endif gcc-bootstrap
35541 @if target-winsup
35542 TARGET-target-winsup=all
35543 maybe-all-target-winsup: all-target-winsup
35544 all-target-winsup: configure-target-winsup
35545 @: $(MAKE); $(unstage)
35546 @r=`${PWD_COMMAND}`; export r; \
35547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35548 $(NORMAL_TARGET_EXPORTS) \
35549 (cd $(TARGET_SUBDIR)/winsup && \
35550 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35551 $(TARGET-target-winsup))
35552 @endif target-winsup
35558 .PHONY: check-target-winsup maybe-check-target-winsup
35559 maybe-check-target-winsup:
35560 @if target-winsup
35561 maybe-check-target-winsup: check-target-winsup
35563 check-target-winsup:
35564 @: $(MAKE); $(unstage)
35565 @r=`${PWD_COMMAND}`; export r; \
35566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35567 $(NORMAL_TARGET_EXPORTS) \
35568 (cd $(TARGET_SUBDIR)/winsup && \
35569 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35571 @endif target-winsup
35573 .PHONY: install-target-winsup maybe-install-target-winsup
35574 maybe-install-target-winsup:
35575 @if target-winsup
35576 maybe-install-target-winsup: install-target-winsup
35578 install-target-winsup: installdirs
35579 @: $(MAKE); $(unstage)
35580 @r=`${PWD_COMMAND}`; export r; \
35581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35582 $(NORMAL_TARGET_EXPORTS) \
35583 (cd $(TARGET_SUBDIR)/winsup && \
35584 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35586 @endif target-winsup
35588 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35589 maybe-install-strip-target-winsup:
35590 @if target-winsup
35591 maybe-install-strip-target-winsup: install-strip-target-winsup
35593 install-strip-target-winsup: installdirs
35594 @: $(MAKE); $(unstage)
35595 @r=`${PWD_COMMAND}`; export r; \
35596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35597 $(NORMAL_TARGET_EXPORTS) \
35598 (cd $(TARGET_SUBDIR)/winsup && \
35599 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35601 @endif target-winsup
35603 # Other targets (info, dvi, pdf, etc.)
35605 .PHONY: maybe-info-target-winsup info-target-winsup
35606 maybe-info-target-winsup:
35607 @if target-winsup
35608 maybe-info-target-winsup: info-target-winsup
35610 info-target-winsup: \
35611 configure-target-winsup
35612 @: $(MAKE); $(unstage)
35613 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35614 r=`${PWD_COMMAND}`; export r; \
35615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35616 $(NORMAL_TARGET_EXPORTS) \
35617 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35618 for flag in $(EXTRA_TARGET_FLAGS); do \
35619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35620 done; \
35621 (cd $(TARGET_SUBDIR)/winsup && \
35622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35624 "RANLIB=$${RANLIB}" \
35625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35626 info) \
35627 || exit 1
35629 @endif target-winsup
35631 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35632 maybe-dvi-target-winsup:
35633 @if target-winsup
35634 maybe-dvi-target-winsup: dvi-target-winsup
35636 dvi-target-winsup: \
35637 configure-target-winsup
35638 @: $(MAKE); $(unstage)
35639 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35640 r=`${PWD_COMMAND}`; export r; \
35641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35642 $(NORMAL_TARGET_EXPORTS) \
35643 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35644 for flag in $(EXTRA_TARGET_FLAGS); do \
35645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35646 done; \
35647 (cd $(TARGET_SUBDIR)/winsup && \
35648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35650 "RANLIB=$${RANLIB}" \
35651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35652 dvi) \
35653 || exit 1
35655 @endif target-winsup
35657 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35658 maybe-pdf-target-winsup:
35659 @if target-winsup
35660 maybe-pdf-target-winsup: pdf-target-winsup
35662 pdf-target-winsup: \
35663 configure-target-winsup
35664 @: $(MAKE); $(unstage)
35665 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35666 r=`${PWD_COMMAND}`; export r; \
35667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35668 $(NORMAL_TARGET_EXPORTS) \
35669 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35670 for flag in $(EXTRA_TARGET_FLAGS); do \
35671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35672 done; \
35673 (cd $(TARGET_SUBDIR)/winsup && \
35674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35676 "RANLIB=$${RANLIB}" \
35677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35678 pdf) \
35679 || exit 1
35681 @endif target-winsup
35683 .PHONY: maybe-html-target-winsup html-target-winsup
35684 maybe-html-target-winsup:
35685 @if target-winsup
35686 maybe-html-target-winsup: html-target-winsup
35688 html-target-winsup: \
35689 configure-target-winsup
35690 @: $(MAKE); $(unstage)
35691 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35692 r=`${PWD_COMMAND}`; export r; \
35693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35694 $(NORMAL_TARGET_EXPORTS) \
35695 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35696 for flag in $(EXTRA_TARGET_FLAGS); do \
35697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35698 done; \
35699 (cd $(TARGET_SUBDIR)/winsup && \
35700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35702 "RANLIB=$${RANLIB}" \
35703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35704 html) \
35705 || exit 1
35707 @endif target-winsup
35709 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35710 maybe-TAGS-target-winsup:
35711 @if target-winsup
35712 maybe-TAGS-target-winsup: TAGS-target-winsup
35714 TAGS-target-winsup: \
35715 configure-target-winsup
35716 @: $(MAKE); $(unstage)
35717 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35718 r=`${PWD_COMMAND}`; export r; \
35719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35720 $(NORMAL_TARGET_EXPORTS) \
35721 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35722 for flag in $(EXTRA_TARGET_FLAGS); do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 (cd $(TARGET_SUBDIR)/winsup && \
35726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35728 "RANLIB=$${RANLIB}" \
35729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35730 TAGS) \
35731 || exit 1
35733 @endif target-winsup
35735 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35736 maybe-install-info-target-winsup:
35737 @if target-winsup
35738 maybe-install-info-target-winsup: install-info-target-winsup
35740 install-info-target-winsup: \
35741 configure-target-winsup \
35742 info-target-winsup
35743 @: $(MAKE); $(unstage)
35744 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35745 r=`${PWD_COMMAND}`; export r; \
35746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35747 $(NORMAL_TARGET_EXPORTS) \
35748 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35749 for flag in $(EXTRA_TARGET_FLAGS); do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 (cd $(TARGET_SUBDIR)/winsup && \
35753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35755 "RANLIB=$${RANLIB}" \
35756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35757 install-info) \
35758 || exit 1
35760 @endif target-winsup
35762 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35763 maybe-install-pdf-target-winsup:
35764 @if target-winsup
35765 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35767 install-pdf-target-winsup: \
35768 configure-target-winsup \
35769 pdf-target-winsup
35770 @: $(MAKE); $(unstage)
35771 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35772 r=`${PWD_COMMAND}`; export r; \
35773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35774 $(NORMAL_TARGET_EXPORTS) \
35775 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35776 for flag in $(EXTRA_TARGET_FLAGS); do \
35777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35778 done; \
35779 (cd $(TARGET_SUBDIR)/winsup && \
35780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35782 "RANLIB=$${RANLIB}" \
35783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35784 install-pdf) \
35785 || exit 1
35787 @endif target-winsup
35789 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35790 maybe-install-html-target-winsup:
35791 @if target-winsup
35792 maybe-install-html-target-winsup: install-html-target-winsup
35794 install-html-target-winsup: \
35795 configure-target-winsup \
35796 html-target-winsup
35797 @: $(MAKE); $(unstage)
35798 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35799 r=`${PWD_COMMAND}`; export r; \
35800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35801 $(NORMAL_TARGET_EXPORTS) \
35802 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35803 for flag in $(EXTRA_TARGET_FLAGS); do \
35804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35805 done; \
35806 (cd $(TARGET_SUBDIR)/winsup && \
35807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35809 "RANLIB=$${RANLIB}" \
35810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35811 install-html) \
35812 || exit 1
35814 @endif target-winsup
35816 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35817 maybe-installcheck-target-winsup:
35818 @if target-winsup
35819 maybe-installcheck-target-winsup: installcheck-target-winsup
35821 installcheck-target-winsup: \
35822 configure-target-winsup
35823 @: $(MAKE); $(unstage)
35824 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35825 r=`${PWD_COMMAND}`; export r; \
35826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35827 $(NORMAL_TARGET_EXPORTS) \
35828 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35829 for flag in $(EXTRA_TARGET_FLAGS); do \
35830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35831 done; \
35832 (cd $(TARGET_SUBDIR)/winsup && \
35833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35835 "RANLIB=$${RANLIB}" \
35836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35837 installcheck) \
35838 || exit 1
35840 @endif target-winsup
35842 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35843 maybe-mostlyclean-target-winsup:
35844 @if target-winsup
35845 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35847 mostlyclean-target-winsup:
35848 @: $(MAKE); $(unstage)
35849 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35850 r=`${PWD_COMMAND}`; export r; \
35851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35852 $(NORMAL_TARGET_EXPORTS) \
35853 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35854 for flag in $(EXTRA_TARGET_FLAGS); do \
35855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35856 done; \
35857 (cd $(TARGET_SUBDIR)/winsup && \
35858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35860 "RANLIB=$${RANLIB}" \
35861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35862 mostlyclean) \
35863 || exit 1
35865 @endif target-winsup
35867 .PHONY: maybe-clean-target-winsup clean-target-winsup
35868 maybe-clean-target-winsup:
35869 @if target-winsup
35870 maybe-clean-target-winsup: clean-target-winsup
35872 clean-target-winsup:
35873 @: $(MAKE); $(unstage)
35874 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35875 r=`${PWD_COMMAND}`; export r; \
35876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35877 $(NORMAL_TARGET_EXPORTS) \
35878 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35879 for flag in $(EXTRA_TARGET_FLAGS); do \
35880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35881 done; \
35882 (cd $(TARGET_SUBDIR)/winsup && \
35883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35885 "RANLIB=$${RANLIB}" \
35886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35887 clean) \
35888 || exit 1
35890 @endif target-winsup
35892 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35893 maybe-distclean-target-winsup:
35894 @if target-winsup
35895 maybe-distclean-target-winsup: distclean-target-winsup
35897 distclean-target-winsup:
35898 @: $(MAKE); $(unstage)
35899 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35900 r=`${PWD_COMMAND}`; export r; \
35901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35902 $(NORMAL_TARGET_EXPORTS) \
35903 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35904 for flag in $(EXTRA_TARGET_FLAGS); do \
35905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35906 done; \
35907 (cd $(TARGET_SUBDIR)/winsup && \
35908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35910 "RANLIB=$${RANLIB}" \
35911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35912 distclean) \
35913 || exit 1
35915 @endif target-winsup
35917 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35918 maybe-maintainer-clean-target-winsup:
35919 @if target-winsup
35920 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35922 maintainer-clean-target-winsup:
35923 @: $(MAKE); $(unstage)
35924 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35925 r=`${PWD_COMMAND}`; export r; \
35926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35927 $(NORMAL_TARGET_EXPORTS) \
35928 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35929 for flag in $(EXTRA_TARGET_FLAGS); do \
35930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35931 done; \
35932 (cd $(TARGET_SUBDIR)/winsup && \
35933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35935 "RANLIB=$${RANLIB}" \
35936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35937 maintainer-clean) \
35938 || exit 1
35940 @endif target-winsup
35946 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
35947 maybe-configure-target-libgloss:
35948 @if gcc-bootstrap
35949 configure-target-libgloss: stage_current
35950 @endif gcc-bootstrap
35951 @if target-libgloss
35952 maybe-configure-target-libgloss: configure-target-libgloss
35953 configure-target-libgloss:
35954 @: $(MAKE); $(unstage)
35955 @r=`${PWD_COMMAND}`; export r; \
35956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35957 echo "Checking multilib configuration for libgloss..."; \
35958 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35959 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
35960 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35961 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35962 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
35963 else \
35964 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
35965 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35966 fi; \
35967 else \
35968 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35969 fi; \
35970 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
35971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35972 $(NORMAL_TARGET_EXPORTS) \
35973 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
35974 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
35975 case $(srcdir) in \
35976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35977 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
35978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35979 esac; \
35980 srcdiroption="--srcdir=$${topdir}/libgloss"; \
35981 libsrcdir="$$s/libgloss"; \
35982 rm -f no-such-file || : ; \
35983 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35984 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35985 --target=${target_alias} $${srcdiroption} \
35986 || exit 1
35987 @endif target-libgloss
35993 .PHONY: all-target-libgloss maybe-all-target-libgloss
35994 maybe-all-target-libgloss:
35995 @if gcc-bootstrap
35996 all-target-libgloss: stage_current
35997 @endif gcc-bootstrap
35998 @if target-libgloss
35999 TARGET-target-libgloss=all
36000 maybe-all-target-libgloss: all-target-libgloss
36001 all-target-libgloss: configure-target-libgloss
36002 @: $(MAKE); $(unstage)
36003 @r=`${PWD_COMMAND}`; export r; \
36004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36005 $(NORMAL_TARGET_EXPORTS) \
36006 (cd $(TARGET_SUBDIR)/libgloss && \
36007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36008 $(TARGET-target-libgloss))
36009 @endif target-libgloss
36015 .PHONY: check-target-libgloss maybe-check-target-libgloss
36016 maybe-check-target-libgloss:
36017 @if target-libgloss
36018 maybe-check-target-libgloss: check-target-libgloss
36020 # Dummy target for uncheckable module.
36021 check-target-libgloss:
36023 @endif target-libgloss
36025 .PHONY: install-target-libgloss maybe-install-target-libgloss
36026 maybe-install-target-libgloss:
36027 @if target-libgloss
36028 maybe-install-target-libgloss: install-target-libgloss
36030 install-target-libgloss: installdirs
36031 @: $(MAKE); $(unstage)
36032 @r=`${PWD_COMMAND}`; export r; \
36033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36034 $(NORMAL_TARGET_EXPORTS) \
36035 (cd $(TARGET_SUBDIR)/libgloss && \
36036 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36038 @endif target-libgloss
36040 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36041 maybe-install-strip-target-libgloss:
36042 @if target-libgloss
36043 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36045 install-strip-target-libgloss: installdirs
36046 @: $(MAKE); $(unstage)
36047 @r=`${PWD_COMMAND}`; export r; \
36048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36049 $(NORMAL_TARGET_EXPORTS) \
36050 (cd $(TARGET_SUBDIR)/libgloss && \
36051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36053 @endif target-libgloss
36055 # Other targets (info, dvi, pdf, etc.)
36057 .PHONY: maybe-info-target-libgloss info-target-libgloss
36058 maybe-info-target-libgloss:
36059 @if target-libgloss
36060 maybe-info-target-libgloss: info-target-libgloss
36062 info-target-libgloss: \
36063 configure-target-libgloss
36064 @: $(MAKE); $(unstage)
36065 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36066 r=`${PWD_COMMAND}`; export r; \
36067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36068 $(NORMAL_TARGET_EXPORTS) \
36069 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36070 for flag in $(EXTRA_TARGET_FLAGS); do \
36071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36072 done; \
36073 (cd $(TARGET_SUBDIR)/libgloss && \
36074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36076 "RANLIB=$${RANLIB}" \
36077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36078 info) \
36079 || exit 1
36081 @endif target-libgloss
36083 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36084 maybe-dvi-target-libgloss:
36085 @if target-libgloss
36086 maybe-dvi-target-libgloss: dvi-target-libgloss
36088 dvi-target-libgloss: \
36089 configure-target-libgloss
36090 @: $(MAKE); $(unstage)
36091 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36092 r=`${PWD_COMMAND}`; export r; \
36093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36094 $(NORMAL_TARGET_EXPORTS) \
36095 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36096 for flag in $(EXTRA_TARGET_FLAGS); do \
36097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36098 done; \
36099 (cd $(TARGET_SUBDIR)/libgloss && \
36100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36102 "RANLIB=$${RANLIB}" \
36103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36104 dvi) \
36105 || exit 1
36107 @endif target-libgloss
36109 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36110 maybe-pdf-target-libgloss:
36111 @if target-libgloss
36112 maybe-pdf-target-libgloss: pdf-target-libgloss
36114 pdf-target-libgloss: \
36115 configure-target-libgloss
36116 @: $(MAKE); $(unstage)
36117 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36118 r=`${PWD_COMMAND}`; export r; \
36119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36120 $(NORMAL_TARGET_EXPORTS) \
36121 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36122 for flag in $(EXTRA_TARGET_FLAGS); do \
36123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36124 done; \
36125 (cd $(TARGET_SUBDIR)/libgloss && \
36126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36128 "RANLIB=$${RANLIB}" \
36129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36130 pdf) \
36131 || exit 1
36133 @endif target-libgloss
36135 .PHONY: maybe-html-target-libgloss html-target-libgloss
36136 maybe-html-target-libgloss:
36137 @if target-libgloss
36138 maybe-html-target-libgloss: html-target-libgloss
36140 html-target-libgloss: \
36141 configure-target-libgloss
36142 @: $(MAKE); $(unstage)
36143 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36144 r=`${PWD_COMMAND}`; export r; \
36145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36146 $(NORMAL_TARGET_EXPORTS) \
36147 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36148 for flag in $(EXTRA_TARGET_FLAGS); do \
36149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36150 done; \
36151 (cd $(TARGET_SUBDIR)/libgloss && \
36152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36154 "RANLIB=$${RANLIB}" \
36155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36156 html) \
36157 || exit 1
36159 @endif target-libgloss
36161 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36162 maybe-TAGS-target-libgloss:
36163 @if target-libgloss
36164 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36166 TAGS-target-libgloss: \
36167 configure-target-libgloss
36168 @: $(MAKE); $(unstage)
36169 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36170 r=`${PWD_COMMAND}`; export r; \
36171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36172 $(NORMAL_TARGET_EXPORTS) \
36173 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36174 for flag in $(EXTRA_TARGET_FLAGS); do \
36175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36176 done; \
36177 (cd $(TARGET_SUBDIR)/libgloss && \
36178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36180 "RANLIB=$${RANLIB}" \
36181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36182 TAGS) \
36183 || exit 1
36185 @endif target-libgloss
36187 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36188 maybe-install-info-target-libgloss:
36189 @if target-libgloss
36190 maybe-install-info-target-libgloss: install-info-target-libgloss
36192 install-info-target-libgloss: \
36193 configure-target-libgloss \
36194 info-target-libgloss
36195 @: $(MAKE); $(unstage)
36196 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36197 r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(NORMAL_TARGET_EXPORTS) \
36200 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36201 for flag in $(EXTRA_TARGET_FLAGS); do \
36202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36203 done; \
36204 (cd $(TARGET_SUBDIR)/libgloss && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36207 "RANLIB=$${RANLIB}" \
36208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36209 install-info) \
36210 || exit 1
36212 @endif target-libgloss
36214 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36215 maybe-install-pdf-target-libgloss:
36216 @if target-libgloss
36217 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36219 install-pdf-target-libgloss: \
36220 configure-target-libgloss \
36221 pdf-target-libgloss
36222 @: $(MAKE); $(unstage)
36223 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36224 r=`${PWD_COMMAND}`; export r; \
36225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36226 $(NORMAL_TARGET_EXPORTS) \
36227 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36228 for flag in $(EXTRA_TARGET_FLAGS); do \
36229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36230 done; \
36231 (cd $(TARGET_SUBDIR)/libgloss && \
36232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36234 "RANLIB=$${RANLIB}" \
36235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36236 install-pdf) \
36237 || exit 1
36239 @endif target-libgloss
36241 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36242 maybe-install-html-target-libgloss:
36243 @if target-libgloss
36244 maybe-install-html-target-libgloss: install-html-target-libgloss
36246 install-html-target-libgloss: \
36247 configure-target-libgloss \
36248 html-target-libgloss
36249 @: $(MAKE); $(unstage)
36250 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36251 r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(NORMAL_TARGET_EXPORTS) \
36254 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36255 for flag in $(EXTRA_TARGET_FLAGS); do \
36256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36257 done; \
36258 (cd $(TARGET_SUBDIR)/libgloss && \
36259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36261 "RANLIB=$${RANLIB}" \
36262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36263 install-html) \
36264 || exit 1
36266 @endif target-libgloss
36268 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36269 maybe-installcheck-target-libgloss:
36270 @if target-libgloss
36271 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36273 installcheck-target-libgloss: \
36274 configure-target-libgloss
36275 @: $(MAKE); $(unstage)
36276 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36277 r=`${PWD_COMMAND}`; export r; \
36278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36279 $(NORMAL_TARGET_EXPORTS) \
36280 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36281 for flag in $(EXTRA_TARGET_FLAGS); do \
36282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36283 done; \
36284 (cd $(TARGET_SUBDIR)/libgloss && \
36285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36287 "RANLIB=$${RANLIB}" \
36288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36289 installcheck) \
36290 || exit 1
36292 @endif target-libgloss
36294 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36295 maybe-mostlyclean-target-libgloss:
36296 @if target-libgloss
36297 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36299 mostlyclean-target-libgloss:
36300 @: $(MAKE); $(unstage)
36301 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36302 r=`${PWD_COMMAND}`; export r; \
36303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36304 $(NORMAL_TARGET_EXPORTS) \
36305 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36306 for flag in $(EXTRA_TARGET_FLAGS); do \
36307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36308 done; \
36309 (cd $(TARGET_SUBDIR)/libgloss && \
36310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36312 "RANLIB=$${RANLIB}" \
36313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36314 mostlyclean) \
36315 || exit 1
36317 @endif target-libgloss
36319 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36320 maybe-clean-target-libgloss:
36321 @if target-libgloss
36322 maybe-clean-target-libgloss: clean-target-libgloss
36324 clean-target-libgloss:
36325 @: $(MAKE); $(unstage)
36326 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36327 r=`${PWD_COMMAND}`; export r; \
36328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36329 $(NORMAL_TARGET_EXPORTS) \
36330 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36331 for flag in $(EXTRA_TARGET_FLAGS); do \
36332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36333 done; \
36334 (cd $(TARGET_SUBDIR)/libgloss && \
36335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36337 "RANLIB=$${RANLIB}" \
36338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36339 clean) \
36340 || exit 1
36342 @endif target-libgloss
36344 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36345 maybe-distclean-target-libgloss:
36346 @if target-libgloss
36347 maybe-distclean-target-libgloss: distclean-target-libgloss
36349 distclean-target-libgloss:
36350 @: $(MAKE); $(unstage)
36351 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36352 r=`${PWD_COMMAND}`; export r; \
36353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36354 $(NORMAL_TARGET_EXPORTS) \
36355 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36356 for flag in $(EXTRA_TARGET_FLAGS); do \
36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36358 done; \
36359 (cd $(TARGET_SUBDIR)/libgloss && \
36360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36362 "RANLIB=$${RANLIB}" \
36363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36364 distclean) \
36365 || exit 1
36367 @endif target-libgloss
36369 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36370 maybe-maintainer-clean-target-libgloss:
36371 @if target-libgloss
36372 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36374 maintainer-clean-target-libgloss:
36375 @: $(MAKE); $(unstage)
36376 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36377 r=`${PWD_COMMAND}`; export r; \
36378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36379 $(NORMAL_TARGET_EXPORTS) \
36380 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36381 for flag in $(EXTRA_TARGET_FLAGS); do \
36382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36383 done; \
36384 (cd $(TARGET_SUBDIR)/libgloss && \
36385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36387 "RANLIB=$${RANLIB}" \
36388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36389 maintainer-clean) \
36390 || exit 1
36392 @endif target-libgloss
36398 .PHONY: configure-target-libffi maybe-configure-target-libffi
36399 maybe-configure-target-libffi:
36400 @if gcc-bootstrap
36401 configure-target-libffi: stage_current
36402 @endif gcc-bootstrap
36403 @if target-libffi
36404 maybe-configure-target-libffi: configure-target-libffi
36405 configure-target-libffi:
36406 @: $(MAKE); $(unstage)
36407 @r=`${PWD_COMMAND}`; export r; \
36408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36409 echo "Checking multilib configuration for libffi..."; \
36410 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36411 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36412 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36413 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36414 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36415 else \
36416 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36417 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36418 fi; \
36419 else \
36420 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36421 fi; \
36422 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36424 $(NORMAL_TARGET_EXPORTS) \
36425 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36426 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36427 case $(srcdir) in \
36428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36429 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36431 esac; \
36432 srcdiroption="--srcdir=$${topdir}/libffi"; \
36433 libsrcdir="$$s/libffi"; \
36434 rm -f no-such-file || : ; \
36435 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36436 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36437 --target=${target_alias} $${srcdiroption} \
36438 || exit 1
36439 @endif target-libffi
36445 .PHONY: all-target-libffi maybe-all-target-libffi
36446 maybe-all-target-libffi:
36447 @if gcc-bootstrap
36448 all-target-libffi: stage_current
36449 @endif gcc-bootstrap
36450 @if target-libffi
36451 TARGET-target-libffi=all
36452 maybe-all-target-libffi: all-target-libffi
36453 all-target-libffi: configure-target-libffi
36454 @: $(MAKE); $(unstage)
36455 @r=`${PWD_COMMAND}`; export r; \
36456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36457 $(NORMAL_TARGET_EXPORTS) \
36458 (cd $(TARGET_SUBDIR)/libffi && \
36459 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36460 $(TARGET-target-libffi))
36461 @endif target-libffi
36467 .PHONY: check-target-libffi maybe-check-target-libffi
36468 maybe-check-target-libffi:
36469 @if target-libffi
36470 maybe-check-target-libffi: check-target-libffi
36472 check-target-libffi:
36473 @: $(MAKE); $(unstage)
36474 @r=`${PWD_COMMAND}`; export r; \
36475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36476 $(NORMAL_TARGET_EXPORTS) \
36477 (cd $(TARGET_SUBDIR)/libffi && \
36478 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36480 @endif target-libffi
36482 .PHONY: install-target-libffi maybe-install-target-libffi
36483 maybe-install-target-libffi:
36484 @if target-libffi
36485 maybe-install-target-libffi: install-target-libffi
36487 install-target-libffi: installdirs
36488 @: $(MAKE); $(unstage)
36489 @r=`${PWD_COMMAND}`; export r; \
36490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36491 $(NORMAL_TARGET_EXPORTS) \
36492 (cd $(TARGET_SUBDIR)/libffi && \
36493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36495 @endif target-libffi
36497 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36498 maybe-install-strip-target-libffi:
36499 @if target-libffi
36500 maybe-install-strip-target-libffi: install-strip-target-libffi
36502 install-strip-target-libffi: installdirs
36503 @: $(MAKE); $(unstage)
36504 @r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 $(NORMAL_TARGET_EXPORTS) \
36507 (cd $(TARGET_SUBDIR)/libffi && \
36508 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36510 @endif target-libffi
36512 # Other targets (info, dvi, pdf, etc.)
36514 .PHONY: maybe-info-target-libffi info-target-libffi
36515 maybe-info-target-libffi:
36516 @if target-libffi
36517 maybe-info-target-libffi: info-target-libffi
36519 info-target-libffi: \
36520 configure-target-libffi
36521 @: $(MAKE); $(unstage)
36522 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36523 r=`${PWD_COMMAND}`; export r; \
36524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36525 $(NORMAL_TARGET_EXPORTS) \
36526 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36527 for flag in $(EXTRA_TARGET_FLAGS); do \
36528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36529 done; \
36530 (cd $(TARGET_SUBDIR)/libffi && \
36531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36533 "RANLIB=$${RANLIB}" \
36534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36535 info) \
36536 || exit 1
36538 @endif target-libffi
36540 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36541 maybe-dvi-target-libffi:
36542 @if target-libffi
36543 maybe-dvi-target-libffi: dvi-target-libffi
36545 dvi-target-libffi: \
36546 configure-target-libffi
36547 @: $(MAKE); $(unstage)
36548 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36549 r=`${PWD_COMMAND}`; export r; \
36550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36551 $(NORMAL_TARGET_EXPORTS) \
36552 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36553 for flag in $(EXTRA_TARGET_FLAGS); do \
36554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36555 done; \
36556 (cd $(TARGET_SUBDIR)/libffi && \
36557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36559 "RANLIB=$${RANLIB}" \
36560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36561 dvi) \
36562 || exit 1
36564 @endif target-libffi
36566 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36567 maybe-pdf-target-libffi:
36568 @if target-libffi
36569 maybe-pdf-target-libffi: pdf-target-libffi
36571 pdf-target-libffi: \
36572 configure-target-libffi
36573 @: $(MAKE); $(unstage)
36574 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36575 r=`${PWD_COMMAND}`; export r; \
36576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36577 $(NORMAL_TARGET_EXPORTS) \
36578 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36579 for flag in $(EXTRA_TARGET_FLAGS); do \
36580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36581 done; \
36582 (cd $(TARGET_SUBDIR)/libffi && \
36583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36585 "RANLIB=$${RANLIB}" \
36586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36587 pdf) \
36588 || exit 1
36590 @endif target-libffi
36592 .PHONY: maybe-html-target-libffi html-target-libffi
36593 maybe-html-target-libffi:
36594 @if target-libffi
36595 maybe-html-target-libffi: html-target-libffi
36597 html-target-libffi: \
36598 configure-target-libffi
36599 @: $(MAKE); $(unstage)
36600 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36601 r=`${PWD_COMMAND}`; export r; \
36602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36603 $(NORMAL_TARGET_EXPORTS) \
36604 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36605 for flag in $(EXTRA_TARGET_FLAGS); do \
36606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36607 done; \
36608 (cd $(TARGET_SUBDIR)/libffi && \
36609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36611 "RANLIB=$${RANLIB}" \
36612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36613 html) \
36614 || exit 1
36616 @endif target-libffi
36618 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36619 maybe-TAGS-target-libffi:
36620 @if target-libffi
36621 maybe-TAGS-target-libffi: TAGS-target-libffi
36623 TAGS-target-libffi: \
36624 configure-target-libffi
36625 @: $(MAKE); $(unstage)
36626 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36627 r=`${PWD_COMMAND}`; export r; \
36628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36629 $(NORMAL_TARGET_EXPORTS) \
36630 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36631 for flag in $(EXTRA_TARGET_FLAGS); do \
36632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36633 done; \
36634 (cd $(TARGET_SUBDIR)/libffi && \
36635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36637 "RANLIB=$${RANLIB}" \
36638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36639 TAGS) \
36640 || exit 1
36642 @endif target-libffi
36644 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36645 maybe-install-info-target-libffi:
36646 @if target-libffi
36647 maybe-install-info-target-libffi: install-info-target-libffi
36649 install-info-target-libffi: \
36650 configure-target-libffi \
36651 info-target-libffi
36652 @: $(MAKE); $(unstage)
36653 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36654 r=`${PWD_COMMAND}`; export r; \
36655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36656 $(NORMAL_TARGET_EXPORTS) \
36657 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36658 for flag in $(EXTRA_TARGET_FLAGS); do \
36659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36660 done; \
36661 (cd $(TARGET_SUBDIR)/libffi && \
36662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36664 "RANLIB=$${RANLIB}" \
36665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36666 install-info) \
36667 || exit 1
36669 @endif target-libffi
36671 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36672 maybe-install-pdf-target-libffi:
36673 @if target-libffi
36674 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36676 install-pdf-target-libffi: \
36677 configure-target-libffi \
36678 pdf-target-libffi
36679 @: $(MAKE); $(unstage)
36680 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36681 r=`${PWD_COMMAND}`; export r; \
36682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36683 $(NORMAL_TARGET_EXPORTS) \
36684 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36685 for flag in $(EXTRA_TARGET_FLAGS); do \
36686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36687 done; \
36688 (cd $(TARGET_SUBDIR)/libffi && \
36689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36691 "RANLIB=$${RANLIB}" \
36692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36693 install-pdf) \
36694 || exit 1
36696 @endif target-libffi
36698 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36699 maybe-install-html-target-libffi:
36700 @if target-libffi
36701 maybe-install-html-target-libffi: install-html-target-libffi
36703 install-html-target-libffi: \
36704 configure-target-libffi \
36705 html-target-libffi
36706 @: $(MAKE); $(unstage)
36707 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36708 r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(NORMAL_TARGET_EXPORTS) \
36711 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36712 for flag in $(EXTRA_TARGET_FLAGS); do \
36713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36714 done; \
36715 (cd $(TARGET_SUBDIR)/libffi && \
36716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36718 "RANLIB=$${RANLIB}" \
36719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36720 install-html) \
36721 || exit 1
36723 @endif target-libffi
36725 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36726 maybe-installcheck-target-libffi:
36727 @if target-libffi
36728 maybe-installcheck-target-libffi: installcheck-target-libffi
36730 installcheck-target-libffi: \
36731 configure-target-libffi
36732 @: $(MAKE); $(unstage)
36733 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36734 r=`${PWD_COMMAND}`; export r; \
36735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36736 $(NORMAL_TARGET_EXPORTS) \
36737 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36738 for flag in $(EXTRA_TARGET_FLAGS); do \
36739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36740 done; \
36741 (cd $(TARGET_SUBDIR)/libffi && \
36742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36744 "RANLIB=$${RANLIB}" \
36745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36746 installcheck) \
36747 || exit 1
36749 @endif target-libffi
36751 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36752 maybe-mostlyclean-target-libffi:
36753 @if target-libffi
36754 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36756 mostlyclean-target-libffi:
36757 @: $(MAKE); $(unstage)
36758 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36759 r=`${PWD_COMMAND}`; export r; \
36760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36761 $(NORMAL_TARGET_EXPORTS) \
36762 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36763 for flag in $(EXTRA_TARGET_FLAGS); do \
36764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36765 done; \
36766 (cd $(TARGET_SUBDIR)/libffi && \
36767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36769 "RANLIB=$${RANLIB}" \
36770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36771 mostlyclean) \
36772 || exit 1
36774 @endif target-libffi
36776 .PHONY: maybe-clean-target-libffi clean-target-libffi
36777 maybe-clean-target-libffi:
36778 @if target-libffi
36779 maybe-clean-target-libffi: clean-target-libffi
36781 clean-target-libffi:
36782 @: $(MAKE); $(unstage)
36783 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36784 r=`${PWD_COMMAND}`; export r; \
36785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36786 $(NORMAL_TARGET_EXPORTS) \
36787 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36788 for flag in $(EXTRA_TARGET_FLAGS); do \
36789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36790 done; \
36791 (cd $(TARGET_SUBDIR)/libffi && \
36792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36794 "RANLIB=$${RANLIB}" \
36795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36796 clean) \
36797 || exit 1
36799 @endif target-libffi
36801 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36802 maybe-distclean-target-libffi:
36803 @if target-libffi
36804 maybe-distclean-target-libffi: distclean-target-libffi
36806 distclean-target-libffi:
36807 @: $(MAKE); $(unstage)
36808 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36809 r=`${PWD_COMMAND}`; export r; \
36810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36811 $(NORMAL_TARGET_EXPORTS) \
36812 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36813 for flag in $(EXTRA_TARGET_FLAGS); do \
36814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36815 done; \
36816 (cd $(TARGET_SUBDIR)/libffi && \
36817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36819 "RANLIB=$${RANLIB}" \
36820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36821 distclean) \
36822 || exit 1
36824 @endif target-libffi
36826 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36827 maybe-maintainer-clean-target-libffi:
36828 @if target-libffi
36829 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36831 maintainer-clean-target-libffi:
36832 @: $(MAKE); $(unstage)
36833 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36834 r=`${PWD_COMMAND}`; export r; \
36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36836 $(NORMAL_TARGET_EXPORTS) \
36837 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36838 for flag in $(EXTRA_TARGET_FLAGS); do \
36839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36840 done; \
36841 (cd $(TARGET_SUBDIR)/libffi && \
36842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36844 "RANLIB=$${RANLIB}" \
36845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36846 maintainer-clean) \
36847 || exit 1
36849 @endif target-libffi
36855 .PHONY: configure-target-libjava maybe-configure-target-libjava
36856 maybe-configure-target-libjava:
36857 @if gcc-bootstrap
36858 configure-target-libjava: stage_current
36859 @endif gcc-bootstrap
36860 @if target-libjava
36861 maybe-configure-target-libjava: configure-target-libjava
36862 configure-target-libjava:
36863 @: $(MAKE); $(unstage)
36864 @r=`${PWD_COMMAND}`; export r; \
36865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36866 echo "Checking multilib configuration for libjava..."; \
36867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36868 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36869 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36870 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36871 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36872 else \
36873 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36874 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36875 fi; \
36876 else \
36877 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36878 fi; \
36879 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36881 $(RAW_CXX_TARGET_EXPORTS) \
36882 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36883 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36884 case $(srcdir) in \
36885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36886 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36888 esac; \
36889 srcdiroption="--srcdir=$${topdir}/libjava"; \
36890 libsrcdir="$$s/libjava"; \
36891 rm -f no-such-file || : ; \
36892 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36893 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36894 --target=${target_alias} $${srcdiroption} \
36895 || exit 1
36896 @endif target-libjava
36902 .PHONY: all-target-libjava maybe-all-target-libjava
36903 maybe-all-target-libjava:
36904 @if gcc-bootstrap
36905 all-target-libjava: stage_current
36906 @endif gcc-bootstrap
36907 @if target-libjava
36908 TARGET-target-libjava=all
36909 maybe-all-target-libjava: all-target-libjava
36910 all-target-libjava: configure-target-libjava
36911 @: $(MAKE); $(unstage)
36912 @r=`${PWD_COMMAND}`; export r; \
36913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36914 $(RAW_CXX_TARGET_EXPORTS) \
36915 (cd $(TARGET_SUBDIR)/libjava && \
36916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36917 $(TARGET-target-libjava))
36918 @endif target-libjava
36924 .PHONY: check-target-libjava maybe-check-target-libjava
36925 maybe-check-target-libjava:
36926 @if target-libjava
36927 maybe-check-target-libjava: check-target-libjava
36929 check-target-libjava:
36930 @: $(MAKE); $(unstage)
36931 @r=`${PWD_COMMAND}`; export r; \
36932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36933 $(RAW_CXX_TARGET_EXPORTS) \
36934 (cd $(TARGET_SUBDIR)/libjava && \
36935 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36937 @endif target-libjava
36939 .PHONY: install-target-libjava maybe-install-target-libjava
36940 maybe-install-target-libjava:
36941 @if target-libjava
36942 maybe-install-target-libjava: install-target-libjava
36944 install-target-libjava: installdirs
36945 @: $(MAKE); $(unstage)
36946 @r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 $(RAW_CXX_TARGET_EXPORTS) \
36949 (cd $(TARGET_SUBDIR)/libjava && \
36950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36952 @endif target-libjava
36954 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
36955 maybe-install-strip-target-libjava:
36956 @if target-libjava
36957 maybe-install-strip-target-libjava: install-strip-target-libjava
36959 install-strip-target-libjava: installdirs
36960 @: $(MAKE); $(unstage)
36961 @r=`${PWD_COMMAND}`; export r; \
36962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36963 $(RAW_CXX_TARGET_EXPORTS) \
36964 (cd $(TARGET_SUBDIR)/libjava && \
36965 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36967 @endif target-libjava
36969 # Other targets (info, dvi, pdf, etc.)
36971 .PHONY: maybe-info-target-libjava info-target-libjava
36972 maybe-info-target-libjava:
36973 @if target-libjava
36974 maybe-info-target-libjava: info-target-libjava
36976 info-target-libjava: \
36977 configure-target-libjava
36978 @: $(MAKE); $(unstage)
36979 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36980 r=`${PWD_COMMAND}`; export r; \
36981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36982 $(RAW_CXX_TARGET_EXPORTS) \
36983 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36984 for flag in $(EXTRA_TARGET_FLAGS); do \
36985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36986 done; \
36987 (cd $(TARGET_SUBDIR)/libjava && \
36988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36990 "RANLIB=$${RANLIB}" \
36991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36992 info) \
36993 || exit 1
36995 @endif target-libjava
36997 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36998 maybe-dvi-target-libjava:
36999 @if target-libjava
37000 maybe-dvi-target-libjava: dvi-target-libjava
37002 dvi-target-libjava: \
37003 configure-target-libjava
37004 @: $(MAKE); $(unstage)
37005 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37006 r=`${PWD_COMMAND}`; export r; \
37007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37008 $(RAW_CXX_TARGET_EXPORTS) \
37009 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37010 for flag in $(EXTRA_TARGET_FLAGS); do \
37011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37012 done; \
37013 (cd $(TARGET_SUBDIR)/libjava && \
37014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37016 "RANLIB=$${RANLIB}" \
37017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37018 dvi) \
37019 || exit 1
37021 @endif target-libjava
37023 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37024 maybe-pdf-target-libjava:
37025 @if target-libjava
37026 maybe-pdf-target-libjava: pdf-target-libjava
37028 pdf-target-libjava: \
37029 configure-target-libjava
37030 @: $(MAKE); $(unstage)
37031 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37032 r=`${PWD_COMMAND}`; export r; \
37033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37034 $(RAW_CXX_TARGET_EXPORTS) \
37035 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37036 for flag in $(EXTRA_TARGET_FLAGS); do \
37037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37038 done; \
37039 (cd $(TARGET_SUBDIR)/libjava && \
37040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37042 "RANLIB=$${RANLIB}" \
37043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37044 pdf) \
37045 || exit 1
37047 @endif target-libjava
37049 .PHONY: maybe-html-target-libjava html-target-libjava
37050 maybe-html-target-libjava:
37051 @if target-libjava
37052 maybe-html-target-libjava: html-target-libjava
37054 html-target-libjava: \
37055 configure-target-libjava
37056 @: $(MAKE); $(unstage)
37057 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37058 r=`${PWD_COMMAND}`; export r; \
37059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37060 $(RAW_CXX_TARGET_EXPORTS) \
37061 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37062 for flag in $(EXTRA_TARGET_FLAGS); do \
37063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37064 done; \
37065 (cd $(TARGET_SUBDIR)/libjava && \
37066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37068 "RANLIB=$${RANLIB}" \
37069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37070 html) \
37071 || exit 1
37073 @endif target-libjava
37075 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37076 maybe-TAGS-target-libjava:
37077 @if target-libjava
37078 maybe-TAGS-target-libjava: TAGS-target-libjava
37080 TAGS-target-libjava: \
37081 configure-target-libjava
37082 @: $(MAKE); $(unstage)
37083 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37084 r=`${PWD_COMMAND}`; export r; \
37085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37086 $(RAW_CXX_TARGET_EXPORTS) \
37087 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37088 for flag in $(EXTRA_TARGET_FLAGS); do \
37089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37090 done; \
37091 (cd $(TARGET_SUBDIR)/libjava && \
37092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37094 "RANLIB=$${RANLIB}" \
37095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37096 TAGS) \
37097 || exit 1
37099 @endif target-libjava
37101 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37102 maybe-install-info-target-libjava:
37103 @if target-libjava
37104 maybe-install-info-target-libjava: install-info-target-libjava
37106 install-info-target-libjava: \
37107 configure-target-libjava \
37108 info-target-libjava
37109 @: $(MAKE); $(unstage)
37110 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37111 r=`${PWD_COMMAND}`; export r; \
37112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37113 $(RAW_CXX_TARGET_EXPORTS) \
37114 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37115 for flag in $(EXTRA_TARGET_FLAGS); do \
37116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37117 done; \
37118 (cd $(TARGET_SUBDIR)/libjava && \
37119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37121 "RANLIB=$${RANLIB}" \
37122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37123 install-info) \
37124 || exit 1
37126 @endif target-libjava
37128 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37129 maybe-install-pdf-target-libjava:
37130 @if target-libjava
37131 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37133 install-pdf-target-libjava: \
37134 configure-target-libjava \
37135 pdf-target-libjava
37136 @: $(MAKE); $(unstage)
37137 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37138 r=`${PWD_COMMAND}`; export r; \
37139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37140 $(RAW_CXX_TARGET_EXPORTS) \
37141 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37142 for flag in $(EXTRA_TARGET_FLAGS); do \
37143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37144 done; \
37145 (cd $(TARGET_SUBDIR)/libjava && \
37146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37148 "RANLIB=$${RANLIB}" \
37149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37150 install-pdf) \
37151 || exit 1
37153 @endif target-libjava
37155 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37156 maybe-install-html-target-libjava:
37157 @if target-libjava
37158 maybe-install-html-target-libjava: install-html-target-libjava
37160 install-html-target-libjava: \
37161 configure-target-libjava \
37162 html-target-libjava
37163 @: $(MAKE); $(unstage)
37164 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37165 r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 $(RAW_CXX_TARGET_EXPORTS) \
37168 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37169 for flag in $(EXTRA_TARGET_FLAGS); do \
37170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37171 done; \
37172 (cd $(TARGET_SUBDIR)/libjava && \
37173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37175 "RANLIB=$${RANLIB}" \
37176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37177 install-html) \
37178 || exit 1
37180 @endif target-libjava
37182 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37183 maybe-installcheck-target-libjava:
37184 @if target-libjava
37185 maybe-installcheck-target-libjava: installcheck-target-libjava
37187 installcheck-target-libjava: \
37188 configure-target-libjava
37189 @: $(MAKE); $(unstage)
37190 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37191 r=`${PWD_COMMAND}`; export r; \
37192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37193 $(RAW_CXX_TARGET_EXPORTS) \
37194 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37195 for flag in $(EXTRA_TARGET_FLAGS); do \
37196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37197 done; \
37198 (cd $(TARGET_SUBDIR)/libjava && \
37199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37201 "RANLIB=$${RANLIB}" \
37202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37203 installcheck) \
37204 || exit 1
37206 @endif target-libjava
37208 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37209 maybe-mostlyclean-target-libjava:
37210 @if target-libjava
37211 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37213 mostlyclean-target-libjava:
37214 @: $(MAKE); $(unstage)
37215 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37216 r=`${PWD_COMMAND}`; export r; \
37217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37218 $(RAW_CXX_TARGET_EXPORTS) \
37219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37220 for flag in $(EXTRA_TARGET_FLAGS); do \
37221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37222 done; \
37223 (cd $(TARGET_SUBDIR)/libjava && \
37224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37226 "RANLIB=$${RANLIB}" \
37227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37228 mostlyclean) \
37229 || exit 1
37231 @endif target-libjava
37233 .PHONY: maybe-clean-target-libjava clean-target-libjava
37234 maybe-clean-target-libjava:
37235 @if target-libjava
37236 maybe-clean-target-libjava: clean-target-libjava
37238 clean-target-libjava:
37239 @: $(MAKE); $(unstage)
37240 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37241 r=`${PWD_COMMAND}`; export r; \
37242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37243 $(RAW_CXX_TARGET_EXPORTS) \
37244 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37245 for flag in $(EXTRA_TARGET_FLAGS); do \
37246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37247 done; \
37248 (cd $(TARGET_SUBDIR)/libjava && \
37249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37251 "RANLIB=$${RANLIB}" \
37252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37253 clean) \
37254 || exit 1
37256 @endif target-libjava
37258 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37259 maybe-distclean-target-libjava:
37260 @if target-libjava
37261 maybe-distclean-target-libjava: distclean-target-libjava
37263 distclean-target-libjava:
37264 @: $(MAKE); $(unstage)
37265 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37266 r=`${PWD_COMMAND}`; export r; \
37267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37268 $(RAW_CXX_TARGET_EXPORTS) \
37269 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37270 for flag in $(EXTRA_TARGET_FLAGS); do \
37271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37272 done; \
37273 (cd $(TARGET_SUBDIR)/libjava && \
37274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37276 "RANLIB=$${RANLIB}" \
37277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37278 distclean) \
37279 || exit 1
37281 @endif target-libjava
37283 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37284 maybe-maintainer-clean-target-libjava:
37285 @if target-libjava
37286 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37288 maintainer-clean-target-libjava:
37289 @: $(MAKE); $(unstage)
37290 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37291 r=`${PWD_COMMAND}`; export r; \
37292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37293 $(RAW_CXX_TARGET_EXPORTS) \
37294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37295 for flag in $(EXTRA_TARGET_FLAGS); do \
37296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37297 done; \
37298 (cd $(TARGET_SUBDIR)/libjava && \
37299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37301 "RANLIB=$${RANLIB}" \
37302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37303 maintainer-clean) \
37304 || exit 1
37306 @endif target-libjava
37312 .PHONY: configure-target-zlib maybe-configure-target-zlib
37313 maybe-configure-target-zlib:
37314 @if gcc-bootstrap
37315 configure-target-zlib: stage_current
37316 @endif gcc-bootstrap
37317 @if target-zlib
37318 maybe-configure-target-zlib: configure-target-zlib
37319 configure-target-zlib:
37320 @: $(MAKE); $(unstage)
37321 @r=`${PWD_COMMAND}`; export r; \
37322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37323 echo "Checking multilib configuration for zlib..."; \
37324 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37326 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37327 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37328 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37329 else \
37330 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37331 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37332 fi; \
37333 else \
37334 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37335 fi; \
37336 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37338 $(NORMAL_TARGET_EXPORTS) \
37339 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37340 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37341 case $(srcdir) in \
37342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37343 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37345 esac; \
37346 srcdiroption="--srcdir=$${topdir}/zlib"; \
37347 libsrcdir="$$s/zlib"; \
37348 rm -f no-such-file || : ; \
37349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37350 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37351 --target=${target_alias} $${srcdiroption} \
37352 || exit 1
37353 @endif target-zlib
37359 .PHONY: all-target-zlib maybe-all-target-zlib
37360 maybe-all-target-zlib:
37361 @if gcc-bootstrap
37362 all-target-zlib: stage_current
37363 @endif gcc-bootstrap
37364 @if target-zlib
37365 TARGET-target-zlib=all
37366 maybe-all-target-zlib: all-target-zlib
37367 all-target-zlib: configure-target-zlib
37368 @: $(MAKE); $(unstage)
37369 @r=`${PWD_COMMAND}`; export r; \
37370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37371 $(NORMAL_TARGET_EXPORTS) \
37372 (cd $(TARGET_SUBDIR)/zlib && \
37373 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37374 $(TARGET-target-zlib))
37375 @endif target-zlib
37381 .PHONY: check-target-zlib maybe-check-target-zlib
37382 maybe-check-target-zlib:
37383 @if target-zlib
37384 maybe-check-target-zlib: check-target-zlib
37386 check-target-zlib:
37387 @: $(MAKE); $(unstage)
37388 @r=`${PWD_COMMAND}`; export r; \
37389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37390 $(NORMAL_TARGET_EXPORTS) \
37391 (cd $(TARGET_SUBDIR)/zlib && \
37392 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37394 @endif target-zlib
37396 .PHONY: install-target-zlib maybe-install-target-zlib
37397 maybe-install-target-zlib:
37398 @if target-zlib
37399 maybe-install-target-zlib: install-target-zlib
37401 install-target-zlib: installdirs
37402 @: $(MAKE); $(unstage)
37403 @r=`${PWD_COMMAND}`; export r; \
37404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37405 $(NORMAL_TARGET_EXPORTS) \
37406 (cd $(TARGET_SUBDIR)/zlib && \
37407 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37409 @endif target-zlib
37411 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37412 maybe-install-strip-target-zlib:
37413 @if target-zlib
37414 maybe-install-strip-target-zlib: install-strip-target-zlib
37416 install-strip-target-zlib: installdirs
37417 @: $(MAKE); $(unstage)
37418 @r=`${PWD_COMMAND}`; export r; \
37419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37420 $(NORMAL_TARGET_EXPORTS) \
37421 (cd $(TARGET_SUBDIR)/zlib && \
37422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37424 @endif target-zlib
37426 # Other targets (info, dvi, pdf, etc.)
37428 .PHONY: maybe-info-target-zlib info-target-zlib
37429 maybe-info-target-zlib:
37430 @if target-zlib
37431 maybe-info-target-zlib: info-target-zlib
37433 info-target-zlib: \
37434 configure-target-zlib
37435 @: $(MAKE); $(unstage)
37436 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37437 r=`${PWD_COMMAND}`; export r; \
37438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37439 $(NORMAL_TARGET_EXPORTS) \
37440 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 info) \
37450 || exit 1
37452 @endif target-zlib
37454 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37455 maybe-dvi-target-zlib:
37456 @if target-zlib
37457 maybe-dvi-target-zlib: dvi-target-zlib
37459 dvi-target-zlib: \
37460 configure-target-zlib
37461 @: $(MAKE); $(unstage)
37462 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37463 r=`${PWD_COMMAND}`; export r; \
37464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37465 $(NORMAL_TARGET_EXPORTS) \
37466 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37467 for flag in $(EXTRA_TARGET_FLAGS); do \
37468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37469 done; \
37470 (cd $(TARGET_SUBDIR)/zlib && \
37471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37473 "RANLIB=$${RANLIB}" \
37474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37475 dvi) \
37476 || exit 1
37478 @endif target-zlib
37480 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37481 maybe-pdf-target-zlib:
37482 @if target-zlib
37483 maybe-pdf-target-zlib: pdf-target-zlib
37485 pdf-target-zlib: \
37486 configure-target-zlib
37487 @: $(MAKE); $(unstage)
37488 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37489 r=`${PWD_COMMAND}`; export r; \
37490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37491 $(NORMAL_TARGET_EXPORTS) \
37492 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37493 for flag in $(EXTRA_TARGET_FLAGS); do \
37494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37495 done; \
37496 (cd $(TARGET_SUBDIR)/zlib && \
37497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37499 "RANLIB=$${RANLIB}" \
37500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37501 pdf) \
37502 || exit 1
37504 @endif target-zlib
37506 .PHONY: maybe-html-target-zlib html-target-zlib
37507 maybe-html-target-zlib:
37508 @if target-zlib
37509 maybe-html-target-zlib: html-target-zlib
37511 html-target-zlib: \
37512 configure-target-zlib
37513 @: $(MAKE); $(unstage)
37514 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37515 r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(NORMAL_TARGET_EXPORTS) \
37518 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37519 for flag in $(EXTRA_TARGET_FLAGS); do \
37520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37521 done; \
37522 (cd $(TARGET_SUBDIR)/zlib && \
37523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37525 "RANLIB=$${RANLIB}" \
37526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37527 html) \
37528 || exit 1
37530 @endif target-zlib
37532 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37533 maybe-TAGS-target-zlib:
37534 @if target-zlib
37535 maybe-TAGS-target-zlib: TAGS-target-zlib
37537 TAGS-target-zlib: \
37538 configure-target-zlib
37539 @: $(MAKE); $(unstage)
37540 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37541 r=`${PWD_COMMAND}`; export r; \
37542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37543 $(NORMAL_TARGET_EXPORTS) \
37544 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37545 for flag in $(EXTRA_TARGET_FLAGS); do \
37546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37547 done; \
37548 (cd $(TARGET_SUBDIR)/zlib && \
37549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37551 "RANLIB=$${RANLIB}" \
37552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37553 TAGS) \
37554 || exit 1
37556 @endif target-zlib
37558 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37559 maybe-install-info-target-zlib:
37560 @if target-zlib
37561 maybe-install-info-target-zlib: install-info-target-zlib
37563 install-info-target-zlib: \
37564 configure-target-zlib \
37565 info-target-zlib
37566 @: $(MAKE); $(unstage)
37567 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37568 r=`${PWD_COMMAND}`; export r; \
37569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37570 $(NORMAL_TARGET_EXPORTS) \
37571 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37572 for flag in $(EXTRA_TARGET_FLAGS); do \
37573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37574 done; \
37575 (cd $(TARGET_SUBDIR)/zlib && \
37576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37578 "RANLIB=$${RANLIB}" \
37579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37580 install-info) \
37581 || exit 1
37583 @endif target-zlib
37585 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37586 maybe-install-pdf-target-zlib:
37587 @if target-zlib
37588 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37590 install-pdf-target-zlib: \
37591 configure-target-zlib \
37592 pdf-target-zlib
37593 @: $(MAKE); $(unstage)
37594 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37595 r=`${PWD_COMMAND}`; export r; \
37596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37597 $(NORMAL_TARGET_EXPORTS) \
37598 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37599 for flag in $(EXTRA_TARGET_FLAGS); do \
37600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37601 done; \
37602 (cd $(TARGET_SUBDIR)/zlib && \
37603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37605 "RANLIB=$${RANLIB}" \
37606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37607 install-pdf) \
37608 || exit 1
37610 @endif target-zlib
37612 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37613 maybe-install-html-target-zlib:
37614 @if target-zlib
37615 maybe-install-html-target-zlib: install-html-target-zlib
37617 install-html-target-zlib: \
37618 configure-target-zlib \
37619 html-target-zlib
37620 @: $(MAKE); $(unstage)
37621 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37622 r=`${PWD_COMMAND}`; export r; \
37623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37624 $(NORMAL_TARGET_EXPORTS) \
37625 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37626 for flag in $(EXTRA_TARGET_FLAGS); do \
37627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37628 done; \
37629 (cd $(TARGET_SUBDIR)/zlib && \
37630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37632 "RANLIB=$${RANLIB}" \
37633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37634 install-html) \
37635 || exit 1
37637 @endif target-zlib
37639 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37640 maybe-installcheck-target-zlib:
37641 @if target-zlib
37642 maybe-installcheck-target-zlib: installcheck-target-zlib
37644 installcheck-target-zlib: \
37645 configure-target-zlib
37646 @: $(MAKE); $(unstage)
37647 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37648 r=`${PWD_COMMAND}`; export r; \
37649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37650 $(NORMAL_TARGET_EXPORTS) \
37651 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37652 for flag in $(EXTRA_TARGET_FLAGS); do \
37653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37654 done; \
37655 (cd $(TARGET_SUBDIR)/zlib && \
37656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37658 "RANLIB=$${RANLIB}" \
37659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37660 installcheck) \
37661 || exit 1
37663 @endif target-zlib
37665 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37666 maybe-mostlyclean-target-zlib:
37667 @if target-zlib
37668 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37670 mostlyclean-target-zlib:
37671 @: $(MAKE); $(unstage)
37672 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37673 r=`${PWD_COMMAND}`; export r; \
37674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37675 $(NORMAL_TARGET_EXPORTS) \
37676 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37677 for flag in $(EXTRA_TARGET_FLAGS); do \
37678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37679 done; \
37680 (cd $(TARGET_SUBDIR)/zlib && \
37681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37683 "RANLIB=$${RANLIB}" \
37684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37685 mostlyclean) \
37686 || exit 1
37688 @endif target-zlib
37690 .PHONY: maybe-clean-target-zlib clean-target-zlib
37691 maybe-clean-target-zlib:
37692 @if target-zlib
37693 maybe-clean-target-zlib: clean-target-zlib
37695 clean-target-zlib:
37696 @: $(MAKE); $(unstage)
37697 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37698 r=`${PWD_COMMAND}`; export r; \
37699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37700 $(NORMAL_TARGET_EXPORTS) \
37701 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37702 for flag in $(EXTRA_TARGET_FLAGS); do \
37703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37704 done; \
37705 (cd $(TARGET_SUBDIR)/zlib && \
37706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37708 "RANLIB=$${RANLIB}" \
37709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37710 clean) \
37711 || exit 1
37713 @endif target-zlib
37715 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37716 maybe-distclean-target-zlib:
37717 @if target-zlib
37718 maybe-distclean-target-zlib: distclean-target-zlib
37720 distclean-target-zlib:
37721 @: $(MAKE); $(unstage)
37722 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37723 r=`${PWD_COMMAND}`; export r; \
37724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37725 $(NORMAL_TARGET_EXPORTS) \
37726 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37727 for flag in $(EXTRA_TARGET_FLAGS); do \
37728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37729 done; \
37730 (cd $(TARGET_SUBDIR)/zlib && \
37731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37733 "RANLIB=$${RANLIB}" \
37734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37735 distclean) \
37736 || exit 1
37738 @endif target-zlib
37740 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37741 maybe-maintainer-clean-target-zlib:
37742 @if target-zlib
37743 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37745 maintainer-clean-target-zlib:
37746 @: $(MAKE); $(unstage)
37747 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37748 r=`${PWD_COMMAND}`; export r; \
37749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37750 $(NORMAL_TARGET_EXPORTS) \
37751 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37752 for flag in $(EXTRA_TARGET_FLAGS); do \
37753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37754 done; \
37755 (cd $(TARGET_SUBDIR)/zlib && \
37756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37758 "RANLIB=$${RANLIB}" \
37759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37760 maintainer-clean) \
37761 || exit 1
37763 @endif target-zlib
37769 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37770 maybe-configure-target-boehm-gc:
37771 @if gcc-bootstrap
37772 configure-target-boehm-gc: stage_current
37773 @endif gcc-bootstrap
37774 @if target-boehm-gc
37775 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37776 configure-target-boehm-gc:
37777 @: $(MAKE); $(unstage)
37778 @r=`${PWD_COMMAND}`; export r; \
37779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37780 echo "Checking multilib configuration for boehm-gc..."; \
37781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37783 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37784 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37785 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37786 else \
37787 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37788 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37789 fi; \
37790 else \
37791 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37792 fi; \
37793 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37795 $(NORMAL_TARGET_EXPORTS) \
37796 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37797 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37798 case $(srcdir) in \
37799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37800 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37802 esac; \
37803 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37804 libsrcdir="$$s/boehm-gc"; \
37805 rm -f no-such-file || : ; \
37806 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37808 --target=${target_alias} $${srcdiroption} \
37809 || exit 1
37810 @endif target-boehm-gc
37816 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37817 maybe-all-target-boehm-gc:
37818 @if gcc-bootstrap
37819 all-target-boehm-gc: stage_current
37820 @endif gcc-bootstrap
37821 @if target-boehm-gc
37822 TARGET-target-boehm-gc=all
37823 maybe-all-target-boehm-gc: all-target-boehm-gc
37824 all-target-boehm-gc: configure-target-boehm-gc
37825 @: $(MAKE); $(unstage)
37826 @r=`${PWD_COMMAND}`; export r; \
37827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37828 $(NORMAL_TARGET_EXPORTS) \
37829 (cd $(TARGET_SUBDIR)/boehm-gc && \
37830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37831 $(TARGET-target-boehm-gc))
37832 @endif target-boehm-gc
37838 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37839 maybe-check-target-boehm-gc:
37840 @if target-boehm-gc
37841 maybe-check-target-boehm-gc: check-target-boehm-gc
37843 check-target-boehm-gc:
37844 @: $(MAKE); $(unstage)
37845 @r=`${PWD_COMMAND}`; export r; \
37846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37847 $(NORMAL_TARGET_EXPORTS) \
37848 (cd $(TARGET_SUBDIR)/boehm-gc && \
37849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37851 @endif target-boehm-gc
37853 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37854 maybe-install-target-boehm-gc:
37855 @if target-boehm-gc
37856 maybe-install-target-boehm-gc: install-target-boehm-gc
37858 install-target-boehm-gc: installdirs
37859 @: $(MAKE); $(unstage)
37860 @r=`${PWD_COMMAND}`; export r; \
37861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37862 $(NORMAL_TARGET_EXPORTS) \
37863 (cd $(TARGET_SUBDIR)/boehm-gc && \
37864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37866 @endif target-boehm-gc
37868 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37869 maybe-install-strip-target-boehm-gc:
37870 @if target-boehm-gc
37871 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37873 install-strip-target-boehm-gc: installdirs
37874 @: $(MAKE); $(unstage)
37875 @r=`${PWD_COMMAND}`; export r; \
37876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37877 $(NORMAL_TARGET_EXPORTS) \
37878 (cd $(TARGET_SUBDIR)/boehm-gc && \
37879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37881 @endif target-boehm-gc
37883 # Other targets (info, dvi, pdf, etc.)
37885 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37886 maybe-info-target-boehm-gc:
37887 @if target-boehm-gc
37888 maybe-info-target-boehm-gc: info-target-boehm-gc
37890 info-target-boehm-gc: \
37891 configure-target-boehm-gc
37892 @: $(MAKE); $(unstage)
37893 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37894 r=`${PWD_COMMAND}`; export r; \
37895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37896 $(NORMAL_TARGET_EXPORTS) \
37897 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37898 for flag in $(EXTRA_TARGET_FLAGS); do \
37899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37900 done; \
37901 (cd $(TARGET_SUBDIR)/boehm-gc && \
37902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37904 "RANLIB=$${RANLIB}" \
37905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37906 info) \
37907 || exit 1
37909 @endif target-boehm-gc
37911 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37912 maybe-dvi-target-boehm-gc:
37913 @if target-boehm-gc
37914 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37916 dvi-target-boehm-gc: \
37917 configure-target-boehm-gc
37918 @: $(MAKE); $(unstage)
37919 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37920 r=`${PWD_COMMAND}`; export r; \
37921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37922 $(NORMAL_TARGET_EXPORTS) \
37923 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37924 for flag in $(EXTRA_TARGET_FLAGS); do \
37925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37926 done; \
37927 (cd $(TARGET_SUBDIR)/boehm-gc && \
37928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37930 "RANLIB=$${RANLIB}" \
37931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37932 dvi) \
37933 || exit 1
37935 @endif target-boehm-gc
37937 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37938 maybe-pdf-target-boehm-gc:
37939 @if target-boehm-gc
37940 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37942 pdf-target-boehm-gc: \
37943 configure-target-boehm-gc
37944 @: $(MAKE); $(unstage)
37945 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37946 r=`${PWD_COMMAND}`; export r; \
37947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37948 $(NORMAL_TARGET_EXPORTS) \
37949 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
37950 for flag in $(EXTRA_TARGET_FLAGS); do \
37951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37952 done; \
37953 (cd $(TARGET_SUBDIR)/boehm-gc && \
37954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37956 "RANLIB=$${RANLIB}" \
37957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37958 pdf) \
37959 || exit 1
37961 @endif target-boehm-gc
37963 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37964 maybe-html-target-boehm-gc:
37965 @if target-boehm-gc
37966 maybe-html-target-boehm-gc: html-target-boehm-gc
37968 html-target-boehm-gc: \
37969 configure-target-boehm-gc
37970 @: $(MAKE); $(unstage)
37971 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37972 r=`${PWD_COMMAND}`; export r; \
37973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37974 $(NORMAL_TARGET_EXPORTS) \
37975 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
37976 for flag in $(EXTRA_TARGET_FLAGS); do \
37977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37978 done; \
37979 (cd $(TARGET_SUBDIR)/boehm-gc && \
37980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37982 "RANLIB=$${RANLIB}" \
37983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37984 html) \
37985 || exit 1
37987 @endif target-boehm-gc
37989 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
37990 maybe-TAGS-target-boehm-gc:
37991 @if target-boehm-gc
37992 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
37994 TAGS-target-boehm-gc: \
37995 configure-target-boehm-gc
37996 @: $(MAKE); $(unstage)
37997 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37998 r=`${PWD_COMMAND}`; export r; \
37999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38000 $(NORMAL_TARGET_EXPORTS) \
38001 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38002 for flag in $(EXTRA_TARGET_FLAGS); do \
38003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38004 done; \
38005 (cd $(TARGET_SUBDIR)/boehm-gc && \
38006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38008 "RANLIB=$${RANLIB}" \
38009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38010 TAGS) \
38011 || exit 1
38013 @endif target-boehm-gc
38015 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38016 maybe-install-info-target-boehm-gc:
38017 @if target-boehm-gc
38018 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38020 install-info-target-boehm-gc: \
38021 configure-target-boehm-gc \
38022 info-target-boehm-gc
38023 @: $(MAKE); $(unstage)
38024 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38025 r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38029 for flag in $(EXTRA_TARGET_FLAGS); do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38031 done; \
38032 (cd $(TARGET_SUBDIR)/boehm-gc && \
38033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38035 "RANLIB=$${RANLIB}" \
38036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38037 install-info) \
38038 || exit 1
38040 @endif target-boehm-gc
38042 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38043 maybe-install-pdf-target-boehm-gc:
38044 @if target-boehm-gc
38045 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38047 install-pdf-target-boehm-gc: \
38048 configure-target-boehm-gc \
38049 pdf-target-boehm-gc
38050 @: $(MAKE); $(unstage)
38051 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38052 r=`${PWD_COMMAND}`; export r; \
38053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38054 $(NORMAL_TARGET_EXPORTS) \
38055 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38056 for flag in $(EXTRA_TARGET_FLAGS); do \
38057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38058 done; \
38059 (cd $(TARGET_SUBDIR)/boehm-gc && \
38060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38062 "RANLIB=$${RANLIB}" \
38063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38064 install-pdf) \
38065 || exit 1
38067 @endif target-boehm-gc
38069 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38070 maybe-install-html-target-boehm-gc:
38071 @if target-boehm-gc
38072 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38074 install-html-target-boehm-gc: \
38075 configure-target-boehm-gc \
38076 html-target-boehm-gc
38077 @: $(MAKE); $(unstage)
38078 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38079 r=`${PWD_COMMAND}`; export r; \
38080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38081 $(NORMAL_TARGET_EXPORTS) \
38082 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38083 for flag in $(EXTRA_TARGET_FLAGS); do \
38084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38085 done; \
38086 (cd $(TARGET_SUBDIR)/boehm-gc && \
38087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38089 "RANLIB=$${RANLIB}" \
38090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38091 install-html) \
38092 || exit 1
38094 @endif target-boehm-gc
38096 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38097 maybe-installcheck-target-boehm-gc:
38098 @if target-boehm-gc
38099 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38101 installcheck-target-boehm-gc: \
38102 configure-target-boehm-gc
38103 @: $(MAKE); $(unstage)
38104 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38105 r=`${PWD_COMMAND}`; export r; \
38106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38107 $(NORMAL_TARGET_EXPORTS) \
38108 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38109 for flag in $(EXTRA_TARGET_FLAGS); do \
38110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38111 done; \
38112 (cd $(TARGET_SUBDIR)/boehm-gc && \
38113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38115 "RANLIB=$${RANLIB}" \
38116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38117 installcheck) \
38118 || exit 1
38120 @endif target-boehm-gc
38122 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38123 maybe-mostlyclean-target-boehm-gc:
38124 @if target-boehm-gc
38125 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38127 mostlyclean-target-boehm-gc:
38128 @: $(MAKE); $(unstage)
38129 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38130 r=`${PWD_COMMAND}`; export r; \
38131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38132 $(NORMAL_TARGET_EXPORTS) \
38133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38134 for flag in $(EXTRA_TARGET_FLAGS); do \
38135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38136 done; \
38137 (cd $(TARGET_SUBDIR)/boehm-gc && \
38138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38140 "RANLIB=$${RANLIB}" \
38141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38142 mostlyclean) \
38143 || exit 1
38145 @endif target-boehm-gc
38147 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38148 maybe-clean-target-boehm-gc:
38149 @if target-boehm-gc
38150 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38152 clean-target-boehm-gc:
38153 @: $(MAKE); $(unstage)
38154 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38155 r=`${PWD_COMMAND}`; export r; \
38156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38157 $(NORMAL_TARGET_EXPORTS) \
38158 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38159 for flag in $(EXTRA_TARGET_FLAGS); do \
38160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38161 done; \
38162 (cd $(TARGET_SUBDIR)/boehm-gc && \
38163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38165 "RANLIB=$${RANLIB}" \
38166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38167 clean) \
38168 || exit 1
38170 @endif target-boehm-gc
38172 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38173 maybe-distclean-target-boehm-gc:
38174 @if target-boehm-gc
38175 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38177 distclean-target-boehm-gc:
38178 @: $(MAKE); $(unstage)
38179 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38180 r=`${PWD_COMMAND}`; export r; \
38181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38182 $(NORMAL_TARGET_EXPORTS) \
38183 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38184 for flag in $(EXTRA_TARGET_FLAGS); do \
38185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38186 done; \
38187 (cd $(TARGET_SUBDIR)/boehm-gc && \
38188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38190 "RANLIB=$${RANLIB}" \
38191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38192 distclean) \
38193 || exit 1
38195 @endif target-boehm-gc
38197 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38198 maybe-maintainer-clean-target-boehm-gc:
38199 @if target-boehm-gc
38200 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38202 maintainer-clean-target-boehm-gc:
38203 @: $(MAKE); $(unstage)
38204 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38205 r=`${PWD_COMMAND}`; export r; \
38206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38207 $(NORMAL_TARGET_EXPORTS) \
38208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38209 for flag in $(EXTRA_TARGET_FLAGS); do \
38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38211 done; \
38212 (cd $(TARGET_SUBDIR)/boehm-gc && \
38213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38215 "RANLIB=$${RANLIB}" \
38216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38217 maintainer-clean) \
38218 || exit 1
38220 @endif target-boehm-gc
38226 .PHONY: configure-target-rda maybe-configure-target-rda
38227 maybe-configure-target-rda:
38228 @if gcc-bootstrap
38229 configure-target-rda: stage_current
38230 @endif gcc-bootstrap
38231 @if target-rda
38232 maybe-configure-target-rda: configure-target-rda
38233 configure-target-rda:
38234 @: $(MAKE); $(unstage)
38235 @r=`${PWD_COMMAND}`; export r; \
38236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38237 echo "Checking multilib configuration for rda..."; \
38238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38240 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38241 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38242 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38243 else \
38244 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38245 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38246 fi; \
38247 else \
38248 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38249 fi; \
38250 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38252 $(NORMAL_TARGET_EXPORTS) \
38253 echo Configuring in $(TARGET_SUBDIR)/rda; \
38254 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38255 case $(srcdir) in \
38256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38257 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38259 esac; \
38260 srcdiroption="--srcdir=$${topdir}/rda"; \
38261 libsrcdir="$$s/rda"; \
38262 rm -f no-such-file || : ; \
38263 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38265 --target=${target_alias} $${srcdiroption} \
38266 || exit 1
38267 @endif target-rda
38273 .PHONY: all-target-rda maybe-all-target-rda
38274 maybe-all-target-rda:
38275 @if gcc-bootstrap
38276 all-target-rda: stage_current
38277 @endif gcc-bootstrap
38278 @if target-rda
38279 TARGET-target-rda=all
38280 maybe-all-target-rda: all-target-rda
38281 all-target-rda: configure-target-rda
38282 @: $(MAKE); $(unstage)
38283 @r=`${PWD_COMMAND}`; export r; \
38284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38285 $(NORMAL_TARGET_EXPORTS) \
38286 (cd $(TARGET_SUBDIR)/rda && \
38287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38288 $(TARGET-target-rda))
38289 @endif target-rda
38295 .PHONY: check-target-rda maybe-check-target-rda
38296 maybe-check-target-rda:
38297 @if target-rda
38298 maybe-check-target-rda: check-target-rda
38300 check-target-rda:
38301 @: $(MAKE); $(unstage)
38302 @r=`${PWD_COMMAND}`; export r; \
38303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38304 $(NORMAL_TARGET_EXPORTS) \
38305 (cd $(TARGET_SUBDIR)/rda && \
38306 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38308 @endif target-rda
38310 .PHONY: install-target-rda maybe-install-target-rda
38311 maybe-install-target-rda:
38312 @if target-rda
38313 maybe-install-target-rda: install-target-rda
38315 install-target-rda: installdirs
38316 @: $(MAKE); $(unstage)
38317 @r=`${PWD_COMMAND}`; export r; \
38318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38319 $(NORMAL_TARGET_EXPORTS) \
38320 (cd $(TARGET_SUBDIR)/rda && \
38321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38323 @endif target-rda
38325 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38326 maybe-install-strip-target-rda:
38327 @if target-rda
38328 maybe-install-strip-target-rda: install-strip-target-rda
38330 install-strip-target-rda: installdirs
38331 @: $(MAKE); $(unstage)
38332 @r=`${PWD_COMMAND}`; export r; \
38333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38334 $(NORMAL_TARGET_EXPORTS) \
38335 (cd $(TARGET_SUBDIR)/rda && \
38336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38338 @endif target-rda
38340 # Other targets (info, dvi, pdf, etc.)
38342 .PHONY: maybe-info-target-rda info-target-rda
38343 maybe-info-target-rda:
38344 @if target-rda
38345 maybe-info-target-rda: info-target-rda
38347 info-target-rda: \
38348 configure-target-rda
38349 @: $(MAKE); $(unstage)
38350 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38351 r=`${PWD_COMMAND}`; export r; \
38352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38353 $(NORMAL_TARGET_EXPORTS) \
38354 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38355 for flag in $(EXTRA_TARGET_FLAGS); do \
38356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38357 done; \
38358 (cd $(TARGET_SUBDIR)/rda && \
38359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38361 "RANLIB=$${RANLIB}" \
38362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38363 info) \
38364 || exit 1
38366 @endif target-rda
38368 .PHONY: maybe-dvi-target-rda dvi-target-rda
38369 maybe-dvi-target-rda:
38370 @if target-rda
38371 maybe-dvi-target-rda: dvi-target-rda
38373 dvi-target-rda: \
38374 configure-target-rda
38375 @: $(MAKE); $(unstage)
38376 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38377 r=`${PWD_COMMAND}`; export r; \
38378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38379 $(NORMAL_TARGET_EXPORTS) \
38380 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38381 for flag in $(EXTRA_TARGET_FLAGS); do \
38382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38383 done; \
38384 (cd $(TARGET_SUBDIR)/rda && \
38385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38387 "RANLIB=$${RANLIB}" \
38388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38389 dvi) \
38390 || exit 1
38392 @endif target-rda
38394 .PHONY: maybe-pdf-target-rda pdf-target-rda
38395 maybe-pdf-target-rda:
38396 @if target-rda
38397 maybe-pdf-target-rda: pdf-target-rda
38399 pdf-target-rda: \
38400 configure-target-rda
38401 @: $(MAKE); $(unstage)
38402 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38403 r=`${PWD_COMMAND}`; export r; \
38404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38405 $(NORMAL_TARGET_EXPORTS) \
38406 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38407 for flag in $(EXTRA_TARGET_FLAGS); do \
38408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38409 done; \
38410 (cd $(TARGET_SUBDIR)/rda && \
38411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38413 "RANLIB=$${RANLIB}" \
38414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38415 pdf) \
38416 || exit 1
38418 @endif target-rda
38420 .PHONY: maybe-html-target-rda html-target-rda
38421 maybe-html-target-rda:
38422 @if target-rda
38423 maybe-html-target-rda: html-target-rda
38425 html-target-rda: \
38426 configure-target-rda
38427 @: $(MAKE); $(unstage)
38428 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38429 r=`${PWD_COMMAND}`; export r; \
38430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38431 $(NORMAL_TARGET_EXPORTS) \
38432 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38433 for flag in $(EXTRA_TARGET_FLAGS); do \
38434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38435 done; \
38436 (cd $(TARGET_SUBDIR)/rda && \
38437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38439 "RANLIB=$${RANLIB}" \
38440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38441 html) \
38442 || exit 1
38444 @endif target-rda
38446 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38447 maybe-TAGS-target-rda:
38448 @if target-rda
38449 maybe-TAGS-target-rda: TAGS-target-rda
38451 TAGS-target-rda: \
38452 configure-target-rda
38453 @: $(MAKE); $(unstage)
38454 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38455 r=`${PWD_COMMAND}`; export r; \
38456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38457 $(NORMAL_TARGET_EXPORTS) \
38458 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38459 for flag in $(EXTRA_TARGET_FLAGS); do \
38460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38461 done; \
38462 (cd $(TARGET_SUBDIR)/rda && \
38463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38465 "RANLIB=$${RANLIB}" \
38466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38467 TAGS) \
38468 || exit 1
38470 @endif target-rda
38472 .PHONY: maybe-install-info-target-rda install-info-target-rda
38473 maybe-install-info-target-rda:
38474 @if target-rda
38475 maybe-install-info-target-rda: install-info-target-rda
38477 install-info-target-rda: \
38478 configure-target-rda \
38479 info-target-rda
38480 @: $(MAKE); $(unstage)
38481 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38482 r=`${PWD_COMMAND}`; export r; \
38483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38484 $(NORMAL_TARGET_EXPORTS) \
38485 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38486 for flag in $(EXTRA_TARGET_FLAGS); do \
38487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38488 done; \
38489 (cd $(TARGET_SUBDIR)/rda && \
38490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38492 "RANLIB=$${RANLIB}" \
38493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38494 install-info) \
38495 || exit 1
38497 @endif target-rda
38499 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38500 maybe-install-pdf-target-rda:
38501 @if target-rda
38502 maybe-install-pdf-target-rda: install-pdf-target-rda
38504 install-pdf-target-rda: \
38505 configure-target-rda \
38506 pdf-target-rda
38507 @: $(MAKE); $(unstage)
38508 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38509 r=`${PWD_COMMAND}`; export r; \
38510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38511 $(NORMAL_TARGET_EXPORTS) \
38512 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38513 for flag in $(EXTRA_TARGET_FLAGS); do \
38514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38515 done; \
38516 (cd $(TARGET_SUBDIR)/rda && \
38517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38519 "RANLIB=$${RANLIB}" \
38520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38521 install-pdf) \
38522 || exit 1
38524 @endif target-rda
38526 .PHONY: maybe-install-html-target-rda install-html-target-rda
38527 maybe-install-html-target-rda:
38528 @if target-rda
38529 maybe-install-html-target-rda: install-html-target-rda
38531 install-html-target-rda: \
38532 configure-target-rda \
38533 html-target-rda
38534 @: $(MAKE); $(unstage)
38535 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38536 r=`${PWD_COMMAND}`; export r; \
38537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38538 $(NORMAL_TARGET_EXPORTS) \
38539 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38540 for flag in $(EXTRA_TARGET_FLAGS); do \
38541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38542 done; \
38543 (cd $(TARGET_SUBDIR)/rda && \
38544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38546 "RANLIB=$${RANLIB}" \
38547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38548 install-html) \
38549 || exit 1
38551 @endif target-rda
38553 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38554 maybe-installcheck-target-rda:
38555 @if target-rda
38556 maybe-installcheck-target-rda: installcheck-target-rda
38558 installcheck-target-rda: \
38559 configure-target-rda
38560 @: $(MAKE); $(unstage)
38561 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38562 r=`${PWD_COMMAND}`; export r; \
38563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38564 $(NORMAL_TARGET_EXPORTS) \
38565 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38566 for flag in $(EXTRA_TARGET_FLAGS); do \
38567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38568 done; \
38569 (cd $(TARGET_SUBDIR)/rda && \
38570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38572 "RANLIB=$${RANLIB}" \
38573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38574 installcheck) \
38575 || exit 1
38577 @endif target-rda
38579 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38580 maybe-mostlyclean-target-rda:
38581 @if target-rda
38582 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38584 mostlyclean-target-rda:
38585 @: $(MAKE); $(unstage)
38586 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38587 r=`${PWD_COMMAND}`; export r; \
38588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38589 $(NORMAL_TARGET_EXPORTS) \
38590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38591 for flag in $(EXTRA_TARGET_FLAGS); do \
38592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38593 done; \
38594 (cd $(TARGET_SUBDIR)/rda && \
38595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38597 "RANLIB=$${RANLIB}" \
38598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38599 mostlyclean) \
38600 || exit 1
38602 @endif target-rda
38604 .PHONY: maybe-clean-target-rda clean-target-rda
38605 maybe-clean-target-rda:
38606 @if target-rda
38607 maybe-clean-target-rda: clean-target-rda
38609 clean-target-rda:
38610 @: $(MAKE); $(unstage)
38611 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38612 r=`${PWD_COMMAND}`; export r; \
38613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38614 $(NORMAL_TARGET_EXPORTS) \
38615 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38616 for flag in $(EXTRA_TARGET_FLAGS); do \
38617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38618 done; \
38619 (cd $(TARGET_SUBDIR)/rda && \
38620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38622 "RANLIB=$${RANLIB}" \
38623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38624 clean) \
38625 || exit 1
38627 @endif target-rda
38629 .PHONY: maybe-distclean-target-rda distclean-target-rda
38630 maybe-distclean-target-rda:
38631 @if target-rda
38632 maybe-distclean-target-rda: distclean-target-rda
38634 distclean-target-rda:
38635 @: $(MAKE); $(unstage)
38636 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38637 r=`${PWD_COMMAND}`; export r; \
38638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38639 $(NORMAL_TARGET_EXPORTS) \
38640 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38641 for flag in $(EXTRA_TARGET_FLAGS); do \
38642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38643 done; \
38644 (cd $(TARGET_SUBDIR)/rda && \
38645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38647 "RANLIB=$${RANLIB}" \
38648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38649 distclean) \
38650 || exit 1
38652 @endif target-rda
38654 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38655 maybe-maintainer-clean-target-rda:
38656 @if target-rda
38657 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38659 maintainer-clean-target-rda:
38660 @: $(MAKE); $(unstage)
38661 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38662 r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38664 $(NORMAL_TARGET_EXPORTS) \
38665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38666 for flag in $(EXTRA_TARGET_FLAGS); do \
38667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38668 done; \
38669 (cd $(TARGET_SUBDIR)/rda && \
38670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38672 "RANLIB=$${RANLIB}" \
38673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38674 maintainer-clean) \
38675 || exit 1
38677 @endif target-rda
38683 .PHONY: configure-target-libada maybe-configure-target-libada
38684 maybe-configure-target-libada:
38685 @if gcc-bootstrap
38686 configure-target-libada: stage_current
38687 @endif gcc-bootstrap
38688 @if target-libada
38689 maybe-configure-target-libada: configure-target-libada
38690 configure-target-libada:
38691 @: $(MAKE); $(unstage)
38692 @r=`${PWD_COMMAND}`; export r; \
38693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38694 echo "Checking multilib configuration for libada..."; \
38695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38697 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38698 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38699 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38700 else \
38701 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38702 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38703 fi; \
38704 else \
38705 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38706 fi; \
38707 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38709 $(NORMAL_TARGET_EXPORTS) \
38710 echo Configuring in $(TARGET_SUBDIR)/libada; \
38711 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38712 case $(srcdir) in \
38713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38714 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38716 esac; \
38717 srcdiroption="--srcdir=$${topdir}/libada"; \
38718 libsrcdir="$$s/libada"; \
38719 rm -f no-such-file || : ; \
38720 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38722 --target=${target_alias} $${srcdiroption} \
38723 || exit 1
38724 @endif target-libada
38730 .PHONY: all-target-libada maybe-all-target-libada
38731 maybe-all-target-libada:
38732 @if gcc-bootstrap
38733 all-target-libada: stage_current
38734 @endif gcc-bootstrap
38735 @if target-libada
38736 TARGET-target-libada=all
38737 maybe-all-target-libada: all-target-libada
38738 all-target-libada: configure-target-libada
38739 @: $(MAKE); $(unstage)
38740 @r=`${PWD_COMMAND}`; export r; \
38741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38742 $(NORMAL_TARGET_EXPORTS) \
38743 (cd $(TARGET_SUBDIR)/libada && \
38744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38745 $(TARGET-target-libada))
38746 @endif target-libada
38752 .PHONY: check-target-libada maybe-check-target-libada
38753 maybe-check-target-libada:
38754 @if target-libada
38755 maybe-check-target-libada: check-target-libada
38757 check-target-libada:
38758 @: $(MAKE); $(unstage)
38759 @r=`${PWD_COMMAND}`; export r; \
38760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38761 $(NORMAL_TARGET_EXPORTS) \
38762 (cd $(TARGET_SUBDIR)/libada && \
38763 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38765 @endif target-libada
38767 .PHONY: install-target-libada maybe-install-target-libada
38768 maybe-install-target-libada:
38769 @if target-libada
38770 maybe-install-target-libada: install-target-libada
38772 install-target-libada: installdirs
38773 @: $(MAKE); $(unstage)
38774 @r=`${PWD_COMMAND}`; export r; \
38775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38776 $(NORMAL_TARGET_EXPORTS) \
38777 (cd $(TARGET_SUBDIR)/libada && \
38778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38780 @endif target-libada
38782 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38783 maybe-install-strip-target-libada:
38784 @if target-libada
38785 maybe-install-strip-target-libada: install-strip-target-libada
38787 install-strip-target-libada: installdirs
38788 @: $(MAKE); $(unstage)
38789 @r=`${PWD_COMMAND}`; export r; \
38790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38791 $(NORMAL_TARGET_EXPORTS) \
38792 (cd $(TARGET_SUBDIR)/libada && \
38793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38795 @endif target-libada
38797 # Other targets (info, dvi, pdf, etc.)
38799 .PHONY: maybe-info-target-libada info-target-libada
38800 maybe-info-target-libada:
38801 @if target-libada
38802 maybe-info-target-libada: info-target-libada
38804 info-target-libada: \
38805 configure-target-libada
38806 @: $(MAKE); $(unstage)
38807 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38808 r=`${PWD_COMMAND}`; export r; \
38809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38810 $(NORMAL_TARGET_EXPORTS) \
38811 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38812 for flag in $(EXTRA_TARGET_FLAGS); do \
38813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38814 done; \
38815 (cd $(TARGET_SUBDIR)/libada && \
38816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38818 "RANLIB=$${RANLIB}" \
38819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38820 info) \
38821 || exit 1
38823 @endif target-libada
38825 .PHONY: maybe-dvi-target-libada dvi-target-libada
38826 maybe-dvi-target-libada:
38827 @if target-libada
38828 maybe-dvi-target-libada: dvi-target-libada
38830 dvi-target-libada: \
38831 configure-target-libada
38832 @: $(MAKE); $(unstage)
38833 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38834 r=`${PWD_COMMAND}`; export r; \
38835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38836 $(NORMAL_TARGET_EXPORTS) \
38837 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38838 for flag in $(EXTRA_TARGET_FLAGS); do \
38839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38840 done; \
38841 (cd $(TARGET_SUBDIR)/libada && \
38842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38844 "RANLIB=$${RANLIB}" \
38845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38846 dvi) \
38847 || exit 1
38849 @endif target-libada
38851 .PHONY: maybe-pdf-target-libada pdf-target-libada
38852 maybe-pdf-target-libada:
38853 @if target-libada
38854 maybe-pdf-target-libada: pdf-target-libada
38856 pdf-target-libada: \
38857 configure-target-libada
38858 @: $(MAKE); $(unstage)
38859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38860 r=`${PWD_COMMAND}`; export r; \
38861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38862 $(NORMAL_TARGET_EXPORTS) \
38863 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38864 for flag in $(EXTRA_TARGET_FLAGS); do \
38865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38866 done; \
38867 (cd $(TARGET_SUBDIR)/libada && \
38868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38870 "RANLIB=$${RANLIB}" \
38871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38872 pdf) \
38873 || exit 1
38875 @endif target-libada
38877 .PHONY: maybe-html-target-libada html-target-libada
38878 maybe-html-target-libada:
38879 @if target-libada
38880 maybe-html-target-libada: html-target-libada
38882 html-target-libada: \
38883 configure-target-libada
38884 @: $(MAKE); $(unstage)
38885 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38886 r=`${PWD_COMMAND}`; export r; \
38887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38888 $(NORMAL_TARGET_EXPORTS) \
38889 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38890 for flag in $(EXTRA_TARGET_FLAGS); do \
38891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38892 done; \
38893 (cd $(TARGET_SUBDIR)/libada && \
38894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38896 "RANLIB=$${RANLIB}" \
38897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38898 html) \
38899 || exit 1
38901 @endif target-libada
38903 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38904 maybe-TAGS-target-libada:
38905 @if target-libada
38906 maybe-TAGS-target-libada: TAGS-target-libada
38908 TAGS-target-libada: \
38909 configure-target-libada
38910 @: $(MAKE); $(unstage)
38911 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38912 r=`${PWD_COMMAND}`; export r; \
38913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38914 $(NORMAL_TARGET_EXPORTS) \
38915 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38916 for flag in $(EXTRA_TARGET_FLAGS); do \
38917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38918 done; \
38919 (cd $(TARGET_SUBDIR)/libada && \
38920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38922 "RANLIB=$${RANLIB}" \
38923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38924 TAGS) \
38925 || exit 1
38927 @endif target-libada
38929 .PHONY: maybe-install-info-target-libada install-info-target-libada
38930 maybe-install-info-target-libada:
38931 @if target-libada
38932 maybe-install-info-target-libada: install-info-target-libada
38934 install-info-target-libada: \
38935 configure-target-libada \
38936 info-target-libada
38937 @: $(MAKE); $(unstage)
38938 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38939 r=`${PWD_COMMAND}`; export r; \
38940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38941 $(NORMAL_TARGET_EXPORTS) \
38942 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38943 for flag in $(EXTRA_TARGET_FLAGS); do \
38944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38945 done; \
38946 (cd $(TARGET_SUBDIR)/libada && \
38947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38949 "RANLIB=$${RANLIB}" \
38950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38951 install-info) \
38952 || exit 1
38954 @endif target-libada
38956 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
38957 maybe-install-pdf-target-libada:
38958 @if target-libada
38959 maybe-install-pdf-target-libada: install-pdf-target-libada
38961 install-pdf-target-libada: \
38962 configure-target-libada \
38963 pdf-target-libada
38964 @: $(MAKE); $(unstage)
38965 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38966 r=`${PWD_COMMAND}`; export r; \
38967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38968 $(NORMAL_TARGET_EXPORTS) \
38969 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
38970 for flag in $(EXTRA_TARGET_FLAGS); do \
38971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38972 done; \
38973 (cd $(TARGET_SUBDIR)/libada && \
38974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38976 "RANLIB=$${RANLIB}" \
38977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38978 install-pdf) \
38979 || exit 1
38981 @endif target-libada
38983 .PHONY: maybe-install-html-target-libada install-html-target-libada
38984 maybe-install-html-target-libada:
38985 @if target-libada
38986 maybe-install-html-target-libada: install-html-target-libada
38988 install-html-target-libada: \
38989 configure-target-libada \
38990 html-target-libada
38991 @: $(MAKE); $(unstage)
38992 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38993 r=`${PWD_COMMAND}`; export r; \
38994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38995 $(NORMAL_TARGET_EXPORTS) \
38996 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38997 for flag in $(EXTRA_TARGET_FLAGS); do \
38998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38999 done; \
39000 (cd $(TARGET_SUBDIR)/libada && \
39001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39003 "RANLIB=$${RANLIB}" \
39004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39005 install-html) \
39006 || exit 1
39008 @endif target-libada
39010 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39011 maybe-installcheck-target-libada:
39012 @if target-libada
39013 maybe-installcheck-target-libada: installcheck-target-libada
39015 installcheck-target-libada: \
39016 configure-target-libada
39017 @: $(MAKE); $(unstage)
39018 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39019 r=`${PWD_COMMAND}`; export r; \
39020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39021 $(NORMAL_TARGET_EXPORTS) \
39022 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39023 for flag in $(EXTRA_TARGET_FLAGS); do \
39024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39025 done; \
39026 (cd $(TARGET_SUBDIR)/libada && \
39027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39029 "RANLIB=$${RANLIB}" \
39030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39031 installcheck) \
39032 || exit 1
39034 @endif target-libada
39036 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39037 maybe-mostlyclean-target-libada:
39038 @if target-libada
39039 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39041 mostlyclean-target-libada:
39042 @: $(MAKE); $(unstage)
39043 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39044 r=`${PWD_COMMAND}`; export r; \
39045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39046 $(NORMAL_TARGET_EXPORTS) \
39047 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39048 for flag in $(EXTRA_TARGET_FLAGS); do \
39049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39050 done; \
39051 (cd $(TARGET_SUBDIR)/libada && \
39052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39054 "RANLIB=$${RANLIB}" \
39055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39056 mostlyclean) \
39057 || exit 1
39059 @endif target-libada
39061 .PHONY: maybe-clean-target-libada clean-target-libada
39062 maybe-clean-target-libada:
39063 @if target-libada
39064 maybe-clean-target-libada: clean-target-libada
39066 clean-target-libada:
39067 @: $(MAKE); $(unstage)
39068 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39069 r=`${PWD_COMMAND}`; export r; \
39070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39071 $(NORMAL_TARGET_EXPORTS) \
39072 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39073 for flag in $(EXTRA_TARGET_FLAGS); do \
39074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39075 done; \
39076 (cd $(TARGET_SUBDIR)/libada && \
39077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39079 "RANLIB=$${RANLIB}" \
39080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39081 clean) \
39082 || exit 1
39084 @endif target-libada
39086 .PHONY: maybe-distclean-target-libada distclean-target-libada
39087 maybe-distclean-target-libada:
39088 @if target-libada
39089 maybe-distclean-target-libada: distclean-target-libada
39091 distclean-target-libada:
39092 @: $(MAKE); $(unstage)
39093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39094 r=`${PWD_COMMAND}`; export r; \
39095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39096 $(NORMAL_TARGET_EXPORTS) \
39097 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39098 for flag in $(EXTRA_TARGET_FLAGS); do \
39099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39100 done; \
39101 (cd $(TARGET_SUBDIR)/libada && \
39102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39104 "RANLIB=$${RANLIB}" \
39105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39106 distclean) \
39107 || exit 1
39109 @endif target-libada
39111 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39112 maybe-maintainer-clean-target-libada:
39113 @if target-libada
39114 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39116 maintainer-clean-target-libada:
39117 @: $(MAKE); $(unstage)
39118 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39119 r=`${PWD_COMMAND}`; export r; \
39120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39121 $(NORMAL_TARGET_EXPORTS) \
39122 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39123 for flag in $(EXTRA_TARGET_FLAGS); do \
39124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39125 done; \
39126 (cd $(TARGET_SUBDIR)/libada && \
39127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39129 "RANLIB=$${RANLIB}" \
39130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39131 maintainer-clean) \
39132 || exit 1
39134 @endif target-libada
39140 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39141 maybe-configure-target-libgomp:
39142 @if gcc-bootstrap
39143 configure-target-libgomp: stage_current
39144 @endif gcc-bootstrap
39145 @if target-libgomp
39146 maybe-configure-target-libgomp: configure-target-libgomp
39147 configure-target-libgomp:
39148 @r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 echo "Checking multilib configuration for libgomp..."; \
39151 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39152 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39153 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39154 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39155 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39156 else \
39157 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39158 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39159 fi; \
39160 else \
39161 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39162 fi; \
39163 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39165 $(NORMAL_TARGET_EXPORTS) \
39166 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39167 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39168 case $(srcdir) in \
39169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39170 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39172 esac; \
39173 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39174 libsrcdir="$$s/libgomp"; \
39175 rm -f no-such-file || : ; \
39176 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39177 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39178 --target=${target_alias} $${srcdiroption} \
39179 || exit 1
39180 @endif target-libgomp
39184 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39185 maybe-configure-stage1-target-libgomp:
39186 @if target-libgomp-bootstrap
39187 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39188 configure-stage1-target-libgomp:
39189 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39190 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39191 @r=`${PWD_COMMAND}`; export r; \
39192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39193 TFLAGS="$(STAGE1_TFLAGS)"; \
39194 echo "Checking multilib configuration for libgomp..."; \
39195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39196 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39197 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39198 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39199 else \
39200 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39201 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39202 fi; \
39203 else \
39204 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39205 fi; \
39206 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39207 $(NORMAL_TARGET_EXPORTS) \
39208 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39209 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39210 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39211 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39213 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39214 case $(srcdir) in \
39215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39216 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39218 esac; \
39219 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39220 libsrcdir="$$s/libgomp"; \
39221 $(SHELL) $${libsrcdir}/configure \
39222 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39223 --target=${target_alias} $${srcdiroption} \
39224 $(STAGE1_CONFIGURE_FLAGS)
39225 @endif target-libgomp-bootstrap
39227 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39228 maybe-configure-stage2-target-libgomp:
39229 @if target-libgomp-bootstrap
39230 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39231 configure-stage2-target-libgomp:
39232 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39233 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39234 @r=`${PWD_COMMAND}`; export r; \
39235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39236 TFLAGS="$(STAGE2_TFLAGS)"; \
39237 echo "Checking multilib configuration for libgomp..."; \
39238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39239 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39240 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39241 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39242 else \
39243 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39244 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39245 fi; \
39246 else \
39247 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39248 fi; \
39249 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39250 $(NORMAL_TARGET_EXPORTS) \
39252 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39255 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39257 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39258 case $(srcdir) in \
39259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39260 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39262 esac; \
39263 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39264 libsrcdir="$$s/libgomp"; \
39265 $(SHELL) $${libsrcdir}/configure \
39266 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39267 --target=${target_alias} $${srcdiroption} \
39268 --with-build-libsubdir=$(HOST_SUBDIR) \
39269 $(STAGE2_CONFIGURE_FLAGS)
39270 @endif target-libgomp-bootstrap
39272 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39273 maybe-configure-stage3-target-libgomp:
39274 @if target-libgomp-bootstrap
39275 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39276 configure-stage3-target-libgomp:
39277 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39278 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39279 @r=`${PWD_COMMAND}`; export r; \
39280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39281 TFLAGS="$(STAGE3_TFLAGS)"; \
39282 echo "Checking multilib configuration for libgomp..."; \
39283 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39284 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39285 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39286 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39287 else \
39288 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39289 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39290 fi; \
39291 else \
39292 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39293 fi; \
39294 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39295 $(NORMAL_TARGET_EXPORTS) \
39297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39300 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39302 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39303 case $(srcdir) in \
39304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39305 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39307 esac; \
39308 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39309 libsrcdir="$$s/libgomp"; \
39310 $(SHELL) $${libsrcdir}/configure \
39311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39312 --target=${target_alias} $${srcdiroption} \
39313 --with-build-libsubdir=$(HOST_SUBDIR) \
39314 $(STAGE3_CONFIGURE_FLAGS)
39315 @endif target-libgomp-bootstrap
39317 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39318 maybe-configure-stage4-target-libgomp:
39319 @if target-libgomp-bootstrap
39320 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39321 configure-stage4-target-libgomp:
39322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39324 @r=`${PWD_COMMAND}`; export r; \
39325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39326 TFLAGS="$(STAGE4_TFLAGS)"; \
39327 echo "Checking multilib configuration for libgomp..."; \
39328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39329 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39330 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39331 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39332 else \
39333 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39334 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39335 fi; \
39336 else \
39337 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39338 fi; \
39339 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39340 $(NORMAL_TARGET_EXPORTS) \
39342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39345 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39347 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39348 case $(srcdir) in \
39349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39350 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39352 esac; \
39353 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39354 libsrcdir="$$s/libgomp"; \
39355 $(SHELL) $${libsrcdir}/configure \
39356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39357 --target=${target_alias} $${srcdiroption} \
39358 --with-build-libsubdir=$(HOST_SUBDIR) \
39359 $(STAGE4_CONFIGURE_FLAGS)
39360 @endif target-libgomp-bootstrap
39362 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39363 maybe-configure-stageprofile-target-libgomp:
39364 @if target-libgomp-bootstrap
39365 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39366 configure-stageprofile-target-libgomp:
39367 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39369 @r=`${PWD_COMMAND}`; export r; \
39370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39371 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39372 echo "Checking multilib configuration for libgomp..."; \
39373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39374 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39375 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39376 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39377 else \
39378 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39379 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39380 fi; \
39381 else \
39382 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39383 fi; \
39384 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39385 $(NORMAL_TARGET_EXPORTS) \
39387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39390 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39392 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39393 case $(srcdir) in \
39394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39395 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39397 esac; \
39398 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39399 libsrcdir="$$s/libgomp"; \
39400 $(SHELL) $${libsrcdir}/configure \
39401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39402 --target=${target_alias} $${srcdiroption} \
39403 --with-build-libsubdir=$(HOST_SUBDIR) \
39404 $(STAGEprofile_CONFIGURE_FLAGS)
39405 @endif target-libgomp-bootstrap
39407 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39408 maybe-configure-stagefeedback-target-libgomp:
39409 @if target-libgomp-bootstrap
39410 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39411 configure-stagefeedback-target-libgomp:
39412 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39414 @r=`${PWD_COMMAND}`; export r; \
39415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39416 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39417 echo "Checking multilib configuration for libgomp..."; \
39418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39419 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39420 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39421 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39422 else \
39423 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39424 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39425 fi; \
39426 else \
39427 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39428 fi; \
39429 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39430 $(NORMAL_TARGET_EXPORTS) \
39432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39435 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39437 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39438 case $(srcdir) in \
39439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39440 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39442 esac; \
39443 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39444 libsrcdir="$$s/libgomp"; \
39445 $(SHELL) $${libsrcdir}/configure \
39446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39447 --target=${target_alias} $${srcdiroption} \
39448 --with-build-libsubdir=$(HOST_SUBDIR) \
39449 $(STAGEfeedback_CONFIGURE_FLAGS)
39450 @endif target-libgomp-bootstrap
39456 .PHONY: all-target-libgomp maybe-all-target-libgomp
39457 maybe-all-target-libgomp:
39458 @if gcc-bootstrap
39459 all-target-libgomp: stage_current
39460 @endif gcc-bootstrap
39461 @if target-libgomp
39462 TARGET-target-libgomp=all
39463 maybe-all-target-libgomp: all-target-libgomp
39464 all-target-libgomp: configure-target-libgomp
39465 @r=`${PWD_COMMAND}`; export r; \
39466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39467 $(NORMAL_TARGET_EXPORTS) \
39468 (cd $(TARGET_SUBDIR)/libgomp && \
39469 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39470 $(TARGET-target-libgomp))
39471 @endif target-libgomp
39475 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39476 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39477 maybe-all-stage1-target-libgomp:
39478 maybe-clean-stage1-target-libgomp:
39479 @if target-libgomp-bootstrap
39480 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39481 all-stage1: all-stage1-target-libgomp
39482 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39483 all-stage1-target-libgomp: configure-stage1-target-libgomp
39484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39485 @r=`${PWD_COMMAND}`; export r; \
39486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39487 TFLAGS="$(STAGE1_TFLAGS)"; \
39488 $(NORMAL_TARGET_EXPORTS) \
39489 cd $(TARGET_SUBDIR)/libgomp && \
39490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39491 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39493 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39497 $(EXTRA_TARGET_FLAGS) \
39498 TFLAGS="$(STAGE1_TFLAGS)" \
39499 $(TARGET-stage1-target-libgomp)
39501 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39502 clean-stage1: clean-stage1-target-libgomp
39503 clean-stage1-target-libgomp:
39504 @if [ $(current_stage) = stage1 ]; then \
39505 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39506 else \
39507 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39508 $(MAKE) stage1-start; \
39509 fi; \
39510 cd $(TARGET_SUBDIR)/libgomp && \
39511 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39512 clean
39513 @endif target-libgomp-bootstrap
39516 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39517 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39518 maybe-all-stage2-target-libgomp:
39519 maybe-clean-stage2-target-libgomp:
39520 @if target-libgomp-bootstrap
39521 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39522 all-stage2: all-stage2-target-libgomp
39523 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39524 all-stage2-target-libgomp: configure-stage2-target-libgomp
39525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39526 @r=`${PWD_COMMAND}`; export r; \
39527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39528 TFLAGS="$(STAGE2_TFLAGS)"; \
39529 $(NORMAL_TARGET_EXPORTS) \
39531 cd $(TARGET_SUBDIR)/libgomp && \
39532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39533 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39539 $(EXTRA_TARGET_FLAGS) \
39540 TFLAGS="$(STAGE2_TFLAGS)" \
39541 $(TARGET-stage2-target-libgomp)
39543 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39544 clean-stage2: clean-stage2-target-libgomp
39545 clean-stage2-target-libgomp:
39546 @if [ $(current_stage) = stage2 ]; then \
39547 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39548 else \
39549 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39550 $(MAKE) stage2-start; \
39551 fi; \
39552 cd $(TARGET_SUBDIR)/libgomp && \
39553 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39555 clean
39556 @endif target-libgomp-bootstrap
39559 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39560 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39561 maybe-all-stage3-target-libgomp:
39562 maybe-clean-stage3-target-libgomp:
39563 @if target-libgomp-bootstrap
39564 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39565 all-stage3: all-stage3-target-libgomp
39566 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39567 all-stage3-target-libgomp: configure-stage3-target-libgomp
39568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39569 @r=`${PWD_COMMAND}`; export r; \
39570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39571 TFLAGS="$(STAGE3_TFLAGS)"; \
39572 $(NORMAL_TARGET_EXPORTS) \
39574 cd $(TARGET_SUBDIR)/libgomp && \
39575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39576 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39577 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39578 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39582 $(EXTRA_TARGET_FLAGS) \
39583 TFLAGS="$(STAGE3_TFLAGS)" \
39584 $(TARGET-stage3-target-libgomp)
39586 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39587 clean-stage3: clean-stage3-target-libgomp
39588 clean-stage3-target-libgomp:
39589 @if [ $(current_stage) = stage3 ]; then \
39590 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39591 else \
39592 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39593 $(MAKE) stage3-start; \
39594 fi; \
39595 cd $(TARGET_SUBDIR)/libgomp && \
39596 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39598 clean
39599 @endif target-libgomp-bootstrap
39602 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39603 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39604 maybe-all-stage4-target-libgomp:
39605 maybe-clean-stage4-target-libgomp:
39606 @if target-libgomp-bootstrap
39607 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39608 all-stage4: all-stage4-target-libgomp
39609 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39610 all-stage4-target-libgomp: configure-stage4-target-libgomp
39611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39612 @r=`${PWD_COMMAND}`; export r; \
39613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39614 TFLAGS="$(STAGE4_TFLAGS)"; \
39615 $(NORMAL_TARGET_EXPORTS) \
39617 cd $(TARGET_SUBDIR)/libgomp && \
39618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39619 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39620 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39621 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39625 $(EXTRA_TARGET_FLAGS) \
39626 TFLAGS="$(STAGE4_TFLAGS)" \
39627 $(TARGET-stage4-target-libgomp)
39629 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39630 clean-stage4: clean-stage4-target-libgomp
39631 clean-stage4-target-libgomp:
39632 @if [ $(current_stage) = stage4 ]; then \
39633 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39634 else \
39635 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39636 $(MAKE) stage4-start; \
39637 fi; \
39638 cd $(TARGET_SUBDIR)/libgomp && \
39639 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39641 clean
39642 @endif target-libgomp-bootstrap
39645 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39646 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39647 maybe-all-stageprofile-target-libgomp:
39648 maybe-clean-stageprofile-target-libgomp:
39649 @if target-libgomp-bootstrap
39650 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39651 all-stageprofile: all-stageprofile-target-libgomp
39652 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39653 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39654 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39655 @r=`${PWD_COMMAND}`; export r; \
39656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39657 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39658 $(NORMAL_TARGET_EXPORTS) \
39660 cd $(TARGET_SUBDIR)/libgomp && \
39661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39668 $(EXTRA_TARGET_FLAGS) \
39669 TFLAGS="$(STAGEprofile_TFLAGS)" \
39670 $(TARGET-stageprofile-target-libgomp)
39672 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39673 clean-stageprofile: clean-stageprofile-target-libgomp
39674 clean-stageprofile-target-libgomp:
39675 @if [ $(current_stage) = stageprofile ]; then \
39676 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39677 else \
39678 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39679 $(MAKE) stageprofile-start; \
39680 fi; \
39681 cd $(TARGET_SUBDIR)/libgomp && \
39682 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39684 clean
39685 @endif target-libgomp-bootstrap
39688 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39689 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39690 maybe-all-stagefeedback-target-libgomp:
39691 maybe-clean-stagefeedback-target-libgomp:
39692 @if target-libgomp-bootstrap
39693 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39694 all-stagefeedback: all-stagefeedback-target-libgomp
39695 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39696 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39697 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39698 @r=`${PWD_COMMAND}`; export r; \
39699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39700 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39701 $(NORMAL_TARGET_EXPORTS) \
39703 cd $(TARGET_SUBDIR)/libgomp && \
39704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39705 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39706 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39707 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39711 $(EXTRA_TARGET_FLAGS) \
39712 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39713 $(TARGET-stagefeedback-target-libgomp)
39715 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39716 clean-stagefeedback: clean-stagefeedback-target-libgomp
39717 clean-stagefeedback-target-libgomp:
39718 @if [ $(current_stage) = stagefeedback ]; then \
39719 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39720 else \
39721 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39722 $(MAKE) stagefeedback-start; \
39723 fi; \
39724 cd $(TARGET_SUBDIR)/libgomp && \
39725 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39727 clean
39728 @endif target-libgomp-bootstrap
39735 .PHONY: check-target-libgomp maybe-check-target-libgomp
39736 maybe-check-target-libgomp:
39737 @if target-libgomp
39738 maybe-check-target-libgomp: check-target-libgomp
39740 check-target-libgomp:
39741 @: $(MAKE); $(unstage)
39742 @r=`${PWD_COMMAND}`; export r; \
39743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39744 $(NORMAL_TARGET_EXPORTS) \
39745 (cd $(TARGET_SUBDIR)/libgomp && \
39746 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39748 @endif target-libgomp
39750 .PHONY: install-target-libgomp maybe-install-target-libgomp
39751 maybe-install-target-libgomp:
39752 @if target-libgomp
39753 maybe-install-target-libgomp: install-target-libgomp
39755 install-target-libgomp: installdirs
39756 @: $(MAKE); $(unstage)
39757 @r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(NORMAL_TARGET_EXPORTS) \
39760 (cd $(TARGET_SUBDIR)/libgomp && \
39761 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39763 @endif target-libgomp
39765 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39766 maybe-install-strip-target-libgomp:
39767 @if target-libgomp
39768 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39770 install-strip-target-libgomp: installdirs
39771 @: $(MAKE); $(unstage)
39772 @r=`${PWD_COMMAND}`; export r; \
39773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39774 $(NORMAL_TARGET_EXPORTS) \
39775 (cd $(TARGET_SUBDIR)/libgomp && \
39776 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39778 @endif target-libgomp
39780 # Other targets (info, dvi, pdf, etc.)
39782 .PHONY: maybe-info-target-libgomp info-target-libgomp
39783 maybe-info-target-libgomp:
39784 @if target-libgomp
39785 maybe-info-target-libgomp: info-target-libgomp
39787 info-target-libgomp: \
39788 configure-target-libgomp
39789 @: $(MAKE); $(unstage)
39790 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39791 r=`${PWD_COMMAND}`; export r; \
39792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39793 $(NORMAL_TARGET_EXPORTS) \
39794 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39795 for flag in $(EXTRA_TARGET_FLAGS); do \
39796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39797 done; \
39798 (cd $(TARGET_SUBDIR)/libgomp && \
39799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39801 "RANLIB=$${RANLIB}" \
39802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39803 info) \
39804 || exit 1
39806 @endif target-libgomp
39808 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39809 maybe-dvi-target-libgomp:
39810 @if target-libgomp
39811 maybe-dvi-target-libgomp: dvi-target-libgomp
39813 dvi-target-libgomp: \
39814 configure-target-libgomp
39815 @: $(MAKE); $(unstage)
39816 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39817 r=`${PWD_COMMAND}`; export r; \
39818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39819 $(NORMAL_TARGET_EXPORTS) \
39820 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39821 for flag in $(EXTRA_TARGET_FLAGS); do \
39822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39823 done; \
39824 (cd $(TARGET_SUBDIR)/libgomp && \
39825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39827 "RANLIB=$${RANLIB}" \
39828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39829 dvi) \
39830 || exit 1
39832 @endif target-libgomp
39834 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39835 maybe-pdf-target-libgomp:
39836 @if target-libgomp
39837 maybe-pdf-target-libgomp: pdf-target-libgomp
39839 pdf-target-libgomp: \
39840 configure-target-libgomp
39841 @: $(MAKE); $(unstage)
39842 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39843 r=`${PWD_COMMAND}`; export r; \
39844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39845 $(NORMAL_TARGET_EXPORTS) \
39846 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39847 for flag in $(EXTRA_TARGET_FLAGS); do \
39848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39849 done; \
39850 (cd $(TARGET_SUBDIR)/libgomp && \
39851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39853 "RANLIB=$${RANLIB}" \
39854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39855 pdf) \
39856 || exit 1
39858 @endif target-libgomp
39860 .PHONY: maybe-html-target-libgomp html-target-libgomp
39861 maybe-html-target-libgomp:
39862 @if target-libgomp
39863 maybe-html-target-libgomp: html-target-libgomp
39865 html-target-libgomp: \
39866 configure-target-libgomp
39867 @: $(MAKE); $(unstage)
39868 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39869 r=`${PWD_COMMAND}`; export r; \
39870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39871 $(NORMAL_TARGET_EXPORTS) \
39872 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 html) \
39882 || exit 1
39884 @endif target-libgomp
39886 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39887 maybe-TAGS-target-libgomp:
39888 @if target-libgomp
39889 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39891 TAGS-target-libgomp: \
39892 configure-target-libgomp
39893 @: $(MAKE); $(unstage)
39894 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39895 r=`${PWD_COMMAND}`; export r; \
39896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39897 $(NORMAL_TARGET_EXPORTS) \
39898 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 TAGS) \
39908 || exit 1
39910 @endif target-libgomp
39912 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39913 maybe-install-info-target-libgomp:
39914 @if target-libgomp
39915 maybe-install-info-target-libgomp: install-info-target-libgomp
39917 install-info-target-libgomp: \
39918 configure-target-libgomp \
39919 info-target-libgomp
39920 @: $(MAKE); $(unstage)
39921 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39922 r=`${PWD_COMMAND}`; export r; \
39923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39924 $(NORMAL_TARGET_EXPORTS) \
39925 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
39926 for flag in $(EXTRA_TARGET_FLAGS); do \
39927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39928 done; \
39929 (cd $(TARGET_SUBDIR)/libgomp && \
39930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39932 "RANLIB=$${RANLIB}" \
39933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39934 install-info) \
39935 || exit 1
39937 @endif target-libgomp
39939 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39940 maybe-install-pdf-target-libgomp:
39941 @if target-libgomp
39942 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39944 install-pdf-target-libgomp: \
39945 configure-target-libgomp \
39946 pdf-target-libgomp
39947 @: $(MAKE); $(unstage)
39948 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39949 r=`${PWD_COMMAND}`; export r; \
39950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39951 $(NORMAL_TARGET_EXPORTS) \
39952 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
39953 for flag in $(EXTRA_TARGET_FLAGS); do \
39954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39955 done; \
39956 (cd $(TARGET_SUBDIR)/libgomp && \
39957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39959 "RANLIB=$${RANLIB}" \
39960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39961 install-pdf) \
39962 || exit 1
39964 @endif target-libgomp
39966 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
39967 maybe-install-html-target-libgomp:
39968 @if target-libgomp
39969 maybe-install-html-target-libgomp: install-html-target-libgomp
39971 install-html-target-libgomp: \
39972 configure-target-libgomp \
39973 html-target-libgomp
39974 @: $(MAKE); $(unstage)
39975 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39976 r=`${PWD_COMMAND}`; export r; \
39977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39978 $(NORMAL_TARGET_EXPORTS) \
39979 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
39980 for flag in $(EXTRA_TARGET_FLAGS); do \
39981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39982 done; \
39983 (cd $(TARGET_SUBDIR)/libgomp && \
39984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39986 "RANLIB=$${RANLIB}" \
39987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39988 install-html) \
39989 || exit 1
39991 @endif target-libgomp
39993 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
39994 maybe-installcheck-target-libgomp:
39995 @if target-libgomp
39996 maybe-installcheck-target-libgomp: installcheck-target-libgomp
39998 installcheck-target-libgomp: \
39999 configure-target-libgomp
40000 @: $(MAKE); $(unstage)
40001 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40002 r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(NORMAL_TARGET_EXPORTS) \
40005 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40006 for flag in $(EXTRA_TARGET_FLAGS); do \
40007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40008 done; \
40009 (cd $(TARGET_SUBDIR)/libgomp && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40012 "RANLIB=$${RANLIB}" \
40013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40014 installcheck) \
40015 || exit 1
40017 @endif target-libgomp
40019 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40020 maybe-mostlyclean-target-libgomp:
40021 @if target-libgomp
40022 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40024 mostlyclean-target-libgomp:
40025 @: $(MAKE); $(unstage)
40026 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40027 r=`${PWD_COMMAND}`; export r; \
40028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40029 $(NORMAL_TARGET_EXPORTS) \
40030 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 mostlyclean) \
40040 || exit 1
40042 @endif target-libgomp
40044 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40045 maybe-clean-target-libgomp:
40046 @if target-libgomp
40047 maybe-clean-target-libgomp: clean-target-libgomp
40049 clean-target-libgomp:
40050 @: $(MAKE); $(unstage)
40051 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40052 r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 $(NORMAL_TARGET_EXPORTS) \
40055 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40056 for flag in $(EXTRA_TARGET_FLAGS); do \
40057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40058 done; \
40059 (cd $(TARGET_SUBDIR)/libgomp && \
40060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40062 "RANLIB=$${RANLIB}" \
40063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40064 clean) \
40065 || exit 1
40067 @endif target-libgomp
40069 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40070 maybe-distclean-target-libgomp:
40071 @if target-libgomp
40072 maybe-distclean-target-libgomp: distclean-target-libgomp
40074 distclean-target-libgomp:
40075 @: $(MAKE); $(unstage)
40076 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40077 r=`${PWD_COMMAND}`; export r; \
40078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40079 $(NORMAL_TARGET_EXPORTS) \
40080 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40081 for flag in $(EXTRA_TARGET_FLAGS); do \
40082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40083 done; \
40084 (cd $(TARGET_SUBDIR)/libgomp && \
40085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40087 "RANLIB=$${RANLIB}" \
40088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40089 distclean) \
40090 || exit 1
40092 @endif target-libgomp
40094 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40095 maybe-maintainer-clean-target-libgomp:
40096 @if target-libgomp
40097 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40099 maintainer-clean-target-libgomp:
40100 @: $(MAKE); $(unstage)
40101 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40102 r=`${PWD_COMMAND}`; export r; \
40103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40104 $(NORMAL_TARGET_EXPORTS) \
40105 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40106 for flag in $(EXTRA_TARGET_FLAGS); do \
40107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40108 done; \
40109 (cd $(TARGET_SUBDIR)/libgomp && \
40110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40112 "RANLIB=$${RANLIB}" \
40113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40114 maintainer-clean) \
40115 || exit 1
40117 @endif target-libgomp
40121 # ----------
40122 # GCC module
40123 # ----------
40125 @if gcc-no-bootstrap
40126 .PHONY: cross
40127 cross: all-build all-gas all-ld
40128 @r=`${PWD_COMMAND}`; export r; \
40129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40130 $(HOST_EXPORTS) \
40131 echo "Building the C and C++ compiler"; \
40132 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
40133 @r=`${PWD_COMMAND}`; export r; \
40134 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40135 echo "Building runtime libraries"; \
40136 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
40137 @endif gcc-no-bootstrap
40139 @if gcc
40141 .PHONY: check-gcc-c check-c
40142 check-gcc-c:
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(HOST_EXPORTS) \
40146 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
40147 check-c: check-gcc-c
40149 .PHONY: check-gcc-c++ check-c++
40150 check-gcc-c++:
40151 r=`${PWD_COMMAND}`; export r; \
40152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40153 $(HOST_EXPORTS) \
40154 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
40155 check-c++: check-gcc-c++ check-target-libstdc++-v3
40157 .PHONY: check-gcc-fortran check-fortran
40158 check-gcc-fortran:
40159 r=`${PWD_COMMAND}`; export r; \
40160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40161 $(HOST_EXPORTS) \
40162 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
40163 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
40165 .PHONY: check-gcc-java check-java
40166 check-gcc-java:
40167 r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(HOST_EXPORTS) \
40170 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
40171 check-java: check-gcc-java check-target-libjava
40173 .PHONY: check-gcc-ada check-ada
40174 check-gcc-ada:
40175 r=`${PWD_COMMAND}`; export r; \
40176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40177 $(HOST_EXPORTS) \
40178 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
40179 check-ada: check-gcc-ada check-target-libada
40181 .PHONY: check-gcc-objc check-objc
40182 check-gcc-objc:
40183 r=`${PWD_COMMAND}`; export r; \
40184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40185 $(HOST_EXPORTS) \
40186 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
40187 check-objc: check-gcc-objc check-target-libobjc
40189 .PHONY: check-gcc-obj-c++ check-obj-c++
40190 check-gcc-obj-c++:
40191 r=`${PWD_COMMAND}`; export r; \
40192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40193 $(HOST_EXPORTS) \
40194 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
40195 check-obj-c++: check-gcc-obj-c++
40197 .PHONY: check-gcc-go check-go
40198 check-gcc-go:
40199 r=`${PWD_COMMAND}`; export r; \
40200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40201 $(HOST_EXPORTS) \
40202 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
40203 check-go: check-gcc-go check-target-libgo
40206 # Install the gcc headers files, but not the fixed include files,
40207 # which Cygnus is not allowed to distribute. This rule is very
40208 # dependent on the workings of the gcc Makefile.in.
40209 .PHONY: gcc-no-fixedincludes
40210 gcc-no-fixedincludes:
40211 @if [ -f ./gcc/Makefile ]; then \
40212 rm -rf gcc/tmp-include; \
40213 mv gcc/include gcc/tmp-include 2>/dev/null; \
40214 mkdir gcc/include; \
40215 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
40216 touch gcc/stmp-fixinc gcc/include/fixed; \
40217 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
40218 r=`${PWD_COMMAND}`; export r; \
40219 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40220 $(HOST_EXPORTS) \
40221 (cd ./gcc && \
40222 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
40223 rm -rf gcc/include; \
40224 mv gcc/tmp-include gcc/include 2>/dev/null; \
40225 else true; fi
40226 @endif gcc
40228 # ---------------------
40229 # GCC bootstrap support
40230 # ---------------------
40232 # We track the current stage (the one in 'gcc') in the stage_current file.
40233 # stage_last instead tracks the stage that was built last. These targets
40234 # are dummy when toplevel bootstrap is not active.
40236 # While making host and target tools, symlinks to the final stage must be
40237 # there, so $(unstage) should be run at various points. To avoid excessive
40238 # recursive invocations of make, we "inline" them using a variable. These
40239 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
40240 # to avoid warnings from the GNU Make job server.
40242 unstage = :
40243 stage = :
40244 current_stage = ""
40246 @if gcc-bootstrap
40247 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
40248 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
40249 current_stage = "`cat stage_current 2> /dev/null`"
40250 @endif gcc-bootstrap
40252 .PHONY: unstage stage
40253 unstage:
40254 @: $(MAKE); $(unstage)
40255 stage:
40256 @: $(MAKE); $(stage)
40258 # Disable commands for lean bootstrap.
40259 LEAN = false
40261 # We name the build directories for the various stages "stage1-gcc",
40262 # "stage2-gcc","stage3-gcc", etc.
40264 # Since the 'compare' process will fail (on debugging information) if any
40265 # directory names are different, we need to link the gcc directory for
40266 # the previous stage to a constant name ('prev-gcc'), and to make the name of
40267 # the build directories constant as well. For the latter, we use naked names
40268 # like 'gcc', because the scripts in that directory assume it. We use
40269 # mv on platforms where symlinks to directories do not work or are not
40270 # reliable.
40272 # 'touch' doesn't work right on some platforms.
40273 STAMP = echo timestamp >
40275 # We only want to compare .o files, so set this!
40276 objext = .o
40279 .PHONY: stage1-start stage1-end
40281 stage1-start::
40282 @: $(MAKE); $(stage); \
40283 echo stage1 > stage_current ; \
40284 echo stage1 > stage_last; \
40285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40286 @if bfd
40287 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
40288 mkdir stage1-bfd; \
40289 mv stage1-bfd bfd
40290 @endif bfd
40291 @if opcodes
40292 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
40293 mkdir stage1-opcodes; \
40294 mv stage1-opcodes opcodes
40295 @endif opcodes
40296 @if binutils
40297 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
40298 mkdir stage1-binutils; \
40299 mv stage1-binutils binutils
40300 @endif binutils
40301 @if gas
40302 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
40303 mkdir stage1-gas; \
40304 mv stage1-gas gas
40305 @endif gas
40306 @if gcc
40307 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
40308 mkdir stage1-gcc; \
40309 mv stage1-gcc gcc
40310 @endif gcc
40311 @if gmp
40312 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
40313 mkdir stage1-gmp; \
40314 mv stage1-gmp gmp
40315 @endif gmp
40316 @if mpfr
40317 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
40318 mkdir stage1-mpfr; \
40319 mv stage1-mpfr mpfr
40320 @endif mpfr
40321 @if mpc
40322 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
40323 mkdir stage1-mpc; \
40324 mv stage1-mpc mpc
40325 @endif mpc
40326 @if ppl
40327 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
40328 mkdir stage1-ppl; \
40329 mv stage1-ppl ppl
40330 @endif ppl
40331 @if cloog
40332 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
40333 mkdir stage1-cloog; \
40334 mv stage1-cloog cloog
40335 @endif cloog
40336 @if libelf
40337 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
40338 mkdir stage1-libelf; \
40339 mv stage1-libelf libelf
40340 @endif libelf
40341 @if gold
40342 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
40343 mkdir stage1-gold; \
40344 mv stage1-gold gold
40345 @endif gold
40346 @if intl
40347 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
40348 mkdir stage1-intl; \
40349 mv stage1-intl intl
40350 @endif intl
40351 @if ld
40352 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
40353 mkdir stage1-ld; \
40354 mv stage1-ld ld
40355 @endif ld
40356 @if libcpp
40357 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
40358 mkdir stage1-libcpp; \
40359 mv stage1-libcpp libcpp
40360 @endif libcpp
40361 @if libdecnumber
40362 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
40363 mkdir stage1-libdecnumber; \
40364 mv stage1-libdecnumber libdecnumber
40365 @endif libdecnumber
40366 @if libiberty
40367 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
40368 mkdir stage1-libiberty; \
40369 mv stage1-libiberty libiberty
40370 @endif libiberty
40371 @if zlib
40372 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
40373 mkdir stage1-zlib; \
40374 mv stage1-zlib zlib
40375 @endif zlib
40376 @if lto-plugin
40377 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
40378 mkdir stage1-lto-plugin; \
40379 mv stage1-lto-plugin lto-plugin
40380 @endif lto-plugin
40381 @[ -d stage1-$(TARGET_SUBDIR) ] || \
40382 mkdir stage1-$(TARGET_SUBDIR); \
40383 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
40385 stage1-end::
40386 @if bfd
40387 @if test -d $(HOST_SUBDIR)/bfd ; then \
40388 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
40390 @endif bfd
40391 @if opcodes
40392 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40393 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
40395 @endif opcodes
40396 @if binutils
40397 @if test -d $(HOST_SUBDIR)/binutils ; then \
40398 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
40400 @endif binutils
40401 @if gas
40402 @if test -d $(HOST_SUBDIR)/gas ; then \
40403 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
40405 @endif gas
40406 @if gcc
40407 @if test -d $(HOST_SUBDIR)/gcc ; then \
40408 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
40410 @endif gcc
40411 @if gmp
40412 @if test -d $(HOST_SUBDIR)/gmp ; then \
40413 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
40415 @endif gmp
40416 @if mpfr
40417 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40418 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
40420 @endif mpfr
40421 @if mpc
40422 @if test -d $(HOST_SUBDIR)/mpc ; then \
40423 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
40425 @endif mpc
40426 @if ppl
40427 @if test -d $(HOST_SUBDIR)/ppl ; then \
40428 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
40430 @endif ppl
40431 @if cloog
40432 @if test -d $(HOST_SUBDIR)/cloog ; then \
40433 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
40435 @endif cloog
40436 @if libelf
40437 @if test -d $(HOST_SUBDIR)/libelf ; then \
40438 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
40440 @endif libelf
40441 @if gold
40442 @if test -d $(HOST_SUBDIR)/gold ; then \
40443 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
40445 @endif gold
40446 @if intl
40447 @if test -d $(HOST_SUBDIR)/intl ; then \
40448 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
40450 @endif intl
40451 @if ld
40452 @if test -d $(HOST_SUBDIR)/ld ; then \
40453 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
40455 @endif ld
40456 @if libcpp
40457 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40458 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
40460 @endif libcpp
40461 @if libdecnumber
40462 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40463 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
40465 @endif libdecnumber
40466 @if libiberty
40467 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40468 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
40470 @endif libiberty
40471 @if zlib
40472 @if test -d $(HOST_SUBDIR)/zlib ; then \
40473 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
40475 @endif zlib
40476 @if lto-plugin
40477 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40478 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
40480 @endif lto-plugin
40481 @if test -d $(TARGET_SUBDIR) ; then \
40482 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
40484 rm -f stage_current
40486 # Bubble a bug fix through all the stages up to stage 1. They are
40487 # remade, but not reconfigured. The next stage (if any) will not be
40488 # reconfigured either.
40489 .PHONY: stage1-bubble
40490 stage1-bubble::
40491 @r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 if test -f stage1-lean ; then \
40494 echo Skipping rebuild of stage1 ; \
40495 else \
40496 $(MAKE) stage1-start; \
40497 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
40500 .PHONY: all-stage1 clean-stage1
40501 do-clean: clean-stage1
40503 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40504 # only possibility, but now it conflicts with no-bootstrap rules
40505 @if gcc-bootstrap
40510 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40512 .PHONY: distclean-stage1
40513 distclean-stage1::
40514 @: $(MAKE); $(stage)
40515 @test "`cat stage_last`" != stage1 || rm -f stage_last
40516 rm -rf stage1-*
40519 @endif gcc-bootstrap
40522 .PHONY: stage2-start stage2-end
40524 stage2-start::
40525 @: $(MAKE); $(stage); \
40526 echo stage2 > stage_current ; \
40527 echo stage2 > stage_last; \
40528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40529 @if bfd
40530 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
40531 mkdir stage2-bfd; \
40532 mv stage2-bfd bfd ; \
40533 mv stage1-bfd prev-bfd || test -f stage1-lean
40534 @endif bfd
40535 @if opcodes
40536 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
40537 mkdir stage2-opcodes; \
40538 mv stage2-opcodes opcodes ; \
40539 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40540 @endif opcodes
40541 @if binutils
40542 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
40543 mkdir stage2-binutils; \
40544 mv stage2-binutils binutils ; \
40545 mv stage1-binutils prev-binutils || test -f stage1-lean
40546 @endif binutils
40547 @if gas
40548 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
40549 mkdir stage2-gas; \
40550 mv stage2-gas gas ; \
40551 mv stage1-gas prev-gas || test -f stage1-lean
40552 @endif gas
40553 @if gcc
40554 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
40555 mkdir stage2-gcc; \
40556 mv stage2-gcc gcc ; \
40557 mv stage1-gcc prev-gcc || test -f stage1-lean
40558 @endif gcc
40559 @if gmp
40560 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
40561 mkdir stage2-gmp; \
40562 mv stage2-gmp gmp ; \
40563 mv stage1-gmp prev-gmp || test -f stage1-lean
40564 @endif gmp
40565 @if mpfr
40566 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
40567 mkdir stage2-mpfr; \
40568 mv stage2-mpfr mpfr ; \
40569 mv stage1-mpfr prev-mpfr || test -f stage1-lean
40570 @endif mpfr
40571 @if mpc
40572 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
40573 mkdir stage2-mpc; \
40574 mv stage2-mpc mpc ; \
40575 mv stage1-mpc prev-mpc || test -f stage1-lean
40576 @endif mpc
40577 @if ppl
40578 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
40579 mkdir stage2-ppl; \
40580 mv stage2-ppl ppl ; \
40581 mv stage1-ppl prev-ppl || test -f stage1-lean
40582 @endif ppl
40583 @if cloog
40584 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
40585 mkdir stage2-cloog; \
40586 mv stage2-cloog cloog ; \
40587 mv stage1-cloog prev-cloog || test -f stage1-lean
40588 @endif cloog
40589 @if libelf
40590 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
40591 mkdir stage2-libelf; \
40592 mv stage2-libelf libelf ; \
40593 mv stage1-libelf prev-libelf || test -f stage1-lean
40594 @endif libelf
40595 @if gold
40596 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
40597 mkdir stage2-gold; \
40598 mv stage2-gold gold ; \
40599 mv stage1-gold prev-gold || test -f stage1-lean
40600 @endif gold
40601 @if intl
40602 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
40603 mkdir stage2-intl; \
40604 mv stage2-intl intl ; \
40605 mv stage1-intl prev-intl || test -f stage1-lean
40606 @endif intl
40607 @if ld
40608 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
40609 mkdir stage2-ld; \
40610 mv stage2-ld ld ; \
40611 mv stage1-ld prev-ld || test -f stage1-lean
40612 @endif ld
40613 @if libcpp
40614 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
40615 mkdir stage2-libcpp; \
40616 mv stage2-libcpp libcpp ; \
40617 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40618 @endif libcpp
40619 @if libdecnumber
40620 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
40621 mkdir stage2-libdecnumber; \
40622 mv stage2-libdecnumber libdecnumber ; \
40623 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40624 @endif libdecnumber
40625 @if libiberty
40626 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
40627 mkdir stage2-libiberty; \
40628 mv stage2-libiberty libiberty ; \
40629 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40630 @endif libiberty
40631 @if zlib
40632 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
40633 mkdir stage2-zlib; \
40634 mv stage2-zlib zlib ; \
40635 mv stage1-zlib prev-zlib || test -f stage1-lean
40636 @endif zlib
40637 @if lto-plugin
40638 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
40639 mkdir stage2-lto-plugin; \
40640 mv stage2-lto-plugin lto-plugin ; \
40641 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
40642 @endif lto-plugin
40643 @[ -d stage2-$(TARGET_SUBDIR) ] || \
40644 mkdir stage2-$(TARGET_SUBDIR); \
40645 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40646 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40648 stage2-end::
40649 @if bfd
40650 @if test -d $(HOST_SUBDIR)/bfd ; then \
40651 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
40652 mv prev-bfd stage1-bfd ; : ; \
40654 @endif bfd
40655 @if opcodes
40656 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40657 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
40658 mv prev-opcodes stage1-opcodes ; : ; \
40660 @endif opcodes
40661 @if binutils
40662 @if test -d $(HOST_SUBDIR)/binutils ; then \
40663 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
40664 mv prev-binutils stage1-binutils ; : ; \
40666 @endif binutils
40667 @if gas
40668 @if test -d $(HOST_SUBDIR)/gas ; then \
40669 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
40670 mv prev-gas stage1-gas ; : ; \
40672 @endif gas
40673 @if gcc
40674 @if test -d $(HOST_SUBDIR)/gcc ; then \
40675 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
40676 mv prev-gcc stage1-gcc ; : ; \
40678 @endif gcc
40679 @if gmp
40680 @if test -d $(HOST_SUBDIR)/gmp ; then \
40681 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
40682 mv prev-gmp stage1-gmp ; : ; \
40684 @endif gmp
40685 @if mpfr
40686 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40687 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
40688 mv prev-mpfr stage1-mpfr ; : ; \
40690 @endif mpfr
40691 @if mpc
40692 @if test -d $(HOST_SUBDIR)/mpc ; then \
40693 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
40694 mv prev-mpc stage1-mpc ; : ; \
40696 @endif mpc
40697 @if ppl
40698 @if test -d $(HOST_SUBDIR)/ppl ; then \
40699 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
40700 mv prev-ppl stage1-ppl ; : ; \
40702 @endif ppl
40703 @if cloog
40704 @if test -d $(HOST_SUBDIR)/cloog ; then \
40705 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
40706 mv prev-cloog stage1-cloog ; : ; \
40708 @endif cloog
40709 @if libelf
40710 @if test -d $(HOST_SUBDIR)/libelf ; then \
40711 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
40712 mv prev-libelf stage1-libelf ; : ; \
40714 @endif libelf
40715 @if gold
40716 @if test -d $(HOST_SUBDIR)/gold ; then \
40717 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
40718 mv prev-gold stage1-gold ; : ; \
40720 @endif gold
40721 @if intl
40722 @if test -d $(HOST_SUBDIR)/intl ; then \
40723 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
40724 mv prev-intl stage1-intl ; : ; \
40726 @endif intl
40727 @if ld
40728 @if test -d $(HOST_SUBDIR)/ld ; then \
40729 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
40730 mv prev-ld stage1-ld ; : ; \
40732 @endif ld
40733 @if libcpp
40734 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40735 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
40736 mv prev-libcpp stage1-libcpp ; : ; \
40738 @endif libcpp
40739 @if libdecnumber
40740 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40741 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
40742 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40744 @endif libdecnumber
40745 @if libiberty
40746 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40747 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
40748 mv prev-libiberty stage1-libiberty ; : ; \
40750 @endif libiberty
40751 @if zlib
40752 @if test -d $(HOST_SUBDIR)/zlib ; then \
40753 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
40754 mv prev-zlib stage1-zlib ; : ; \
40756 @endif zlib
40757 @if lto-plugin
40758 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40759 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
40760 mv prev-lto-plugin stage1-lto-plugin ; : ; \
40762 @endif lto-plugin
40763 @if test -d $(TARGET_SUBDIR) ; then \
40764 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
40765 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40767 rm -f stage_current
40769 # Bubble a bug fix through all the stages up to stage 2. They are
40770 # remade, but not reconfigured. The next stage (if any) will not be
40771 # reconfigured either.
40772 .PHONY: stage2-bubble
40773 stage2-bubble:: stage1-bubble
40774 @r=`${PWD_COMMAND}`; export r; \
40775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40776 if test -f stage2-lean || test -f stage1-lean ; then \
40777 echo Skipping rebuild of stage2 ; \
40778 else \
40779 $(MAKE) stage2-start; \
40780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
40783 .PHONY: all-stage2 clean-stage2
40784 do-clean: clean-stage2
40786 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40787 # only possibility, but now it conflicts with no-bootstrap rules
40788 @if gcc-bootstrap
40792 .PHONY: bootstrap2 bootstrap2-lean
40793 bootstrap2:
40794 echo stage2 > stage_final
40795 @r=`${PWD_COMMAND}`; export r; \
40796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
40798 @: $(MAKE); $(unstage)
40799 @r=`${PWD_COMMAND}`; export r; \
40800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40801 TFLAGS="$(STAGE2_TFLAGS)"; \
40802 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40804 bootstrap2-lean:
40805 echo stage2 > stage_final
40806 @r=`${PWD_COMMAND}`; export r; \
40807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40808 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
40809 @: $(MAKE); $(unstage)
40810 @r=`${PWD_COMMAND}`; export r; \
40811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40812 TFLAGS="$(STAGE2_TFLAGS)"; \
40813 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40816 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40817 distclean-stage1:: distclean-stage2
40818 .PHONY: distclean-stage2
40819 distclean-stage2::
40820 @: $(MAKE); $(stage)
40821 @test "`cat stage_last`" != stage2 || rm -f stage_last
40822 rm -rf stage2-*
40825 @endif gcc-bootstrap
40828 .PHONY: stage3-start stage3-end
40830 stage3-start::
40831 @: $(MAKE); $(stage); \
40832 echo stage3 > stage_current ; \
40833 echo stage3 > stage_last; \
40834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40835 @if bfd
40836 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
40837 mkdir stage3-bfd; \
40838 mv stage3-bfd bfd ; \
40839 mv stage2-bfd prev-bfd || test -f stage2-lean
40840 @endif bfd
40841 @if opcodes
40842 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
40843 mkdir stage3-opcodes; \
40844 mv stage3-opcodes opcodes ; \
40845 mv stage2-opcodes prev-opcodes || test -f stage2-lean
40846 @endif opcodes
40847 @if binutils
40848 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
40849 mkdir stage3-binutils; \
40850 mv stage3-binutils binutils ; \
40851 mv stage2-binutils prev-binutils || test -f stage2-lean
40852 @endif binutils
40853 @if gas
40854 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
40855 mkdir stage3-gas; \
40856 mv stage3-gas gas ; \
40857 mv stage2-gas prev-gas || test -f stage2-lean
40858 @endif gas
40859 @if gcc
40860 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
40861 mkdir stage3-gcc; \
40862 mv stage3-gcc gcc ; \
40863 mv stage2-gcc prev-gcc || test -f stage2-lean
40864 @endif gcc
40865 @if gmp
40866 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
40867 mkdir stage3-gmp; \
40868 mv stage3-gmp gmp ; \
40869 mv stage2-gmp prev-gmp || test -f stage2-lean
40870 @endif gmp
40871 @if mpfr
40872 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
40873 mkdir stage3-mpfr; \
40874 mv stage3-mpfr mpfr ; \
40875 mv stage2-mpfr prev-mpfr || test -f stage2-lean
40876 @endif mpfr
40877 @if mpc
40878 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
40879 mkdir stage3-mpc; \
40880 mv stage3-mpc mpc ; \
40881 mv stage2-mpc prev-mpc || test -f stage2-lean
40882 @endif mpc
40883 @if ppl
40884 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
40885 mkdir stage3-ppl; \
40886 mv stage3-ppl ppl ; \
40887 mv stage2-ppl prev-ppl || test -f stage2-lean
40888 @endif ppl
40889 @if cloog
40890 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
40891 mkdir stage3-cloog; \
40892 mv stage3-cloog cloog ; \
40893 mv stage2-cloog prev-cloog || test -f stage2-lean
40894 @endif cloog
40895 @if libelf
40896 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
40897 mkdir stage3-libelf; \
40898 mv stage3-libelf libelf ; \
40899 mv stage2-libelf prev-libelf || test -f stage2-lean
40900 @endif libelf
40901 @if gold
40902 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
40903 mkdir stage3-gold; \
40904 mv stage3-gold gold ; \
40905 mv stage2-gold prev-gold || test -f stage2-lean
40906 @endif gold
40907 @if intl
40908 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
40909 mkdir stage3-intl; \
40910 mv stage3-intl intl ; \
40911 mv stage2-intl prev-intl || test -f stage2-lean
40912 @endif intl
40913 @if ld
40914 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
40915 mkdir stage3-ld; \
40916 mv stage3-ld ld ; \
40917 mv stage2-ld prev-ld || test -f stage2-lean
40918 @endif ld
40919 @if libcpp
40920 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
40921 mkdir stage3-libcpp; \
40922 mv stage3-libcpp libcpp ; \
40923 mv stage2-libcpp prev-libcpp || test -f stage2-lean
40924 @endif libcpp
40925 @if libdecnumber
40926 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
40927 mkdir stage3-libdecnumber; \
40928 mv stage3-libdecnumber libdecnumber ; \
40929 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
40930 @endif libdecnumber
40931 @if libiberty
40932 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
40933 mkdir stage3-libiberty; \
40934 mv stage3-libiberty libiberty ; \
40935 mv stage2-libiberty prev-libiberty || test -f stage2-lean
40936 @endif libiberty
40937 @if zlib
40938 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
40939 mkdir stage3-zlib; \
40940 mv stage3-zlib zlib ; \
40941 mv stage2-zlib prev-zlib || test -f stage2-lean
40942 @endif zlib
40943 @if lto-plugin
40944 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
40945 mkdir stage3-lto-plugin; \
40946 mv stage3-lto-plugin lto-plugin ; \
40947 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
40948 @endif lto-plugin
40949 @[ -d stage3-$(TARGET_SUBDIR) ] || \
40950 mkdir stage3-$(TARGET_SUBDIR); \
40951 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40952 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
40954 stage3-end::
40955 @if bfd
40956 @if test -d $(HOST_SUBDIR)/bfd ; then \
40957 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
40958 mv prev-bfd stage2-bfd ; : ; \
40960 @endif bfd
40961 @if opcodes
40962 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40963 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
40964 mv prev-opcodes stage2-opcodes ; : ; \
40966 @endif opcodes
40967 @if binutils
40968 @if test -d $(HOST_SUBDIR)/binutils ; then \
40969 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
40970 mv prev-binutils stage2-binutils ; : ; \
40972 @endif binutils
40973 @if gas
40974 @if test -d $(HOST_SUBDIR)/gas ; then \
40975 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
40976 mv prev-gas stage2-gas ; : ; \
40978 @endif gas
40979 @if gcc
40980 @if test -d $(HOST_SUBDIR)/gcc ; then \
40981 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
40982 mv prev-gcc stage2-gcc ; : ; \
40984 @endif gcc
40985 @if gmp
40986 @if test -d $(HOST_SUBDIR)/gmp ; then \
40987 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
40988 mv prev-gmp stage2-gmp ; : ; \
40990 @endif gmp
40991 @if mpfr
40992 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40993 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
40994 mv prev-mpfr stage2-mpfr ; : ; \
40996 @endif mpfr
40997 @if mpc
40998 @if test -d $(HOST_SUBDIR)/mpc ; then \
40999 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41000 mv prev-mpc stage2-mpc ; : ; \
41002 @endif mpc
41003 @if ppl
41004 @if test -d $(HOST_SUBDIR)/ppl ; then \
41005 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41006 mv prev-ppl stage2-ppl ; : ; \
41008 @endif ppl
41009 @if cloog
41010 @if test -d $(HOST_SUBDIR)/cloog ; then \
41011 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41012 mv prev-cloog stage2-cloog ; : ; \
41014 @endif cloog
41015 @if libelf
41016 @if test -d $(HOST_SUBDIR)/libelf ; then \
41017 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41018 mv prev-libelf stage2-libelf ; : ; \
41020 @endif libelf
41021 @if gold
41022 @if test -d $(HOST_SUBDIR)/gold ; then \
41023 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41024 mv prev-gold stage2-gold ; : ; \
41026 @endif gold
41027 @if intl
41028 @if test -d $(HOST_SUBDIR)/intl ; then \
41029 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41030 mv prev-intl stage2-intl ; : ; \
41032 @endif intl
41033 @if ld
41034 @if test -d $(HOST_SUBDIR)/ld ; then \
41035 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
41036 mv prev-ld stage2-ld ; : ; \
41038 @endif ld
41039 @if libcpp
41040 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41041 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
41042 mv prev-libcpp stage2-libcpp ; : ; \
41044 @endif libcpp
41045 @if libdecnumber
41046 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41047 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
41048 mv prev-libdecnumber stage2-libdecnumber ; : ; \
41050 @endif libdecnumber
41051 @if libiberty
41052 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41053 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
41054 mv prev-libiberty stage2-libiberty ; : ; \
41056 @endif libiberty
41057 @if zlib
41058 @if test -d $(HOST_SUBDIR)/zlib ; then \
41059 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
41060 mv prev-zlib stage2-zlib ; : ; \
41062 @endif zlib
41063 @if lto-plugin
41064 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41065 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
41066 mv prev-lto-plugin stage2-lto-plugin ; : ; \
41068 @endif lto-plugin
41069 @if test -d $(TARGET_SUBDIR) ; then \
41070 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
41071 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
41073 rm -f stage_current
41075 # Bubble a bug fix through all the stages up to stage 3. They are
41076 # remade, but not reconfigured. The next stage (if any) will not be
41077 # reconfigured either.
41078 .PHONY: stage3-bubble
41079 stage3-bubble:: stage2-bubble
41080 @r=`${PWD_COMMAND}`; export r; \
41081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41082 if test -f stage3-lean || test -f stage2-lean ; then \
41083 echo Skipping rebuild of stage3 ; \
41084 else \
41085 $(MAKE) stage3-start; \
41086 if $(LEAN); then \
41087 rm -rf stage1-* ; \
41088 $(STAMP) stage1-lean ; \
41089 fi; \
41090 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
41092 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
41094 .PHONY: all-stage3 clean-stage3
41095 do-clean: clean-stage3
41097 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41098 # only possibility, but now it conflicts with no-bootstrap rules
41099 @if gcc-bootstrap
41101 compare:
41102 @r=`${PWD_COMMAND}`; export r; \
41103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41104 if test -f stage2-lean; then \
41105 echo Cannot compare object files as stage 2 was deleted. ; \
41106 exit 0 ; \
41107 fi; \
41108 : $(MAKE); $(stage); \
41109 rm -f .bad_compare ; \
41110 echo Comparing stages 2 and 3 ; \
41111 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
41112 files=`find stage3-* -name "*$(objext)" -print | \
41113 sed -n s,^stage$$sed-,,p` ; \
41114 for file in $${files} ; do \
41115 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
41116 if test ! -f $$f1; then continue; fi; \
41117 $(do-compare) > /dev/null 2>&1; \
41118 if test $$? -eq 1; then \
41119 case $$file in \
41120 @compare_exclusions@) \
41121 echo warning: $$file differs ;; \
41122 *) \
41123 echo $$file differs >> .bad_compare ;; \
41124 esac ; \
41125 fi ; \
41126 done ; \
41127 if [ -f .bad_compare ]; then \
41128 echo "Bootstrap comparison failure!"; \
41129 cat .bad_compare; \
41130 exit 1; \
41131 else \
41132 echo Comparison successful.; \
41133 fi ; \
41134 $(STAMP) compare
41135 if $(LEAN); then \
41136 rm -rf stage2-*; \
41137 $(STAMP) stage2-lean; \
41142 .PHONY: bootstrap bootstrap-lean
41143 bootstrap:
41144 echo stage3 > stage_final
41145 @r=`${PWD_COMMAND}`; export r; \
41146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41147 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41148 @: $(MAKE); $(unstage)
41149 @r=`${PWD_COMMAND}`; export r; \
41150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41151 TFLAGS="$(STAGE3_TFLAGS)"; \
41152 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41154 bootstrap-lean:
41155 echo stage3 > stage_final
41156 @r=`${PWD_COMMAND}`; export r; \
41157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
41159 @: $(MAKE); $(unstage)
41160 @r=`${PWD_COMMAND}`; export r; \
41161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41162 TFLAGS="$(STAGE3_TFLAGS)"; \
41163 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41166 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41167 distclean-stage2:: distclean-stage3
41168 .PHONY: distclean-stage3
41169 distclean-stage3::
41170 @: $(MAKE); $(stage)
41171 @test "`cat stage_last`" != stage3 || rm -f stage_last
41172 rm -rf stage3-* compare
41175 .PHONY: cleanstrap
41176 cleanstrap: do-distclean local-clean
41177 echo stage3 > stage_final
41178 @r=`${PWD_COMMAND}`; export r; \
41179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41180 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41181 @: $(MAKE); $(unstage)
41182 @r=`${PWD_COMMAND}`; export r; \
41183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41184 TFLAGS="$(STAGE3_TFLAGS)"; \
41185 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41187 @endif gcc-bootstrap
41190 .PHONY: stage4-start stage4-end
41192 stage4-start::
41193 @: $(MAKE); $(stage); \
41194 echo stage4 > stage_current ; \
41195 echo stage4 > stage_last; \
41196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41197 @if bfd
41198 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
41199 mkdir stage4-bfd; \
41200 mv stage4-bfd bfd ; \
41201 mv stage3-bfd prev-bfd || test -f stage3-lean
41202 @endif bfd
41203 @if opcodes
41204 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
41205 mkdir stage4-opcodes; \
41206 mv stage4-opcodes opcodes ; \
41207 mv stage3-opcodes prev-opcodes || test -f stage3-lean
41208 @endif opcodes
41209 @if binutils
41210 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
41211 mkdir stage4-binutils; \
41212 mv stage4-binutils binutils ; \
41213 mv stage3-binutils prev-binutils || test -f stage3-lean
41214 @endif binutils
41215 @if gas
41216 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
41217 mkdir stage4-gas; \
41218 mv stage4-gas gas ; \
41219 mv stage3-gas prev-gas || test -f stage3-lean
41220 @endif gas
41221 @if gcc
41222 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
41223 mkdir stage4-gcc; \
41224 mv stage4-gcc gcc ; \
41225 mv stage3-gcc prev-gcc || test -f stage3-lean
41226 @endif gcc
41227 @if gmp
41228 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
41229 mkdir stage4-gmp; \
41230 mv stage4-gmp gmp ; \
41231 mv stage3-gmp prev-gmp || test -f stage3-lean
41232 @endif gmp
41233 @if mpfr
41234 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
41235 mkdir stage4-mpfr; \
41236 mv stage4-mpfr mpfr ; \
41237 mv stage3-mpfr prev-mpfr || test -f stage3-lean
41238 @endif mpfr
41239 @if mpc
41240 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
41241 mkdir stage4-mpc; \
41242 mv stage4-mpc mpc ; \
41243 mv stage3-mpc prev-mpc || test -f stage3-lean
41244 @endif mpc
41245 @if ppl
41246 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
41247 mkdir stage4-ppl; \
41248 mv stage4-ppl ppl ; \
41249 mv stage3-ppl prev-ppl || test -f stage3-lean
41250 @endif ppl
41251 @if cloog
41252 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
41253 mkdir stage4-cloog; \
41254 mv stage4-cloog cloog ; \
41255 mv stage3-cloog prev-cloog || test -f stage3-lean
41256 @endif cloog
41257 @if libelf
41258 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
41259 mkdir stage4-libelf; \
41260 mv stage4-libelf libelf ; \
41261 mv stage3-libelf prev-libelf || test -f stage3-lean
41262 @endif libelf
41263 @if gold
41264 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
41265 mkdir stage4-gold; \
41266 mv stage4-gold gold ; \
41267 mv stage3-gold prev-gold || test -f stage3-lean
41268 @endif gold
41269 @if intl
41270 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
41271 mkdir stage4-intl; \
41272 mv stage4-intl intl ; \
41273 mv stage3-intl prev-intl || test -f stage3-lean
41274 @endif intl
41275 @if ld
41276 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
41277 mkdir stage4-ld; \
41278 mv stage4-ld ld ; \
41279 mv stage3-ld prev-ld || test -f stage3-lean
41280 @endif ld
41281 @if libcpp
41282 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
41283 mkdir stage4-libcpp; \
41284 mv stage4-libcpp libcpp ; \
41285 mv stage3-libcpp prev-libcpp || test -f stage3-lean
41286 @endif libcpp
41287 @if libdecnumber
41288 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
41289 mkdir stage4-libdecnumber; \
41290 mv stage4-libdecnumber libdecnumber ; \
41291 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
41292 @endif libdecnumber
41293 @if libiberty
41294 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
41295 mkdir stage4-libiberty; \
41296 mv stage4-libiberty libiberty ; \
41297 mv stage3-libiberty prev-libiberty || test -f stage3-lean
41298 @endif libiberty
41299 @if zlib
41300 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
41301 mkdir stage4-zlib; \
41302 mv stage4-zlib zlib ; \
41303 mv stage3-zlib prev-zlib || test -f stage3-lean
41304 @endif zlib
41305 @if lto-plugin
41306 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
41307 mkdir stage4-lto-plugin; \
41308 mv stage4-lto-plugin lto-plugin ; \
41309 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
41310 @endif lto-plugin
41311 @[ -d stage4-$(TARGET_SUBDIR) ] || \
41312 mkdir stage4-$(TARGET_SUBDIR); \
41313 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41314 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
41316 stage4-end::
41317 @if bfd
41318 @if test -d $(HOST_SUBDIR)/bfd ; then \
41319 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
41320 mv prev-bfd stage3-bfd ; : ; \
41322 @endif bfd
41323 @if opcodes
41324 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41325 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
41326 mv prev-opcodes stage3-opcodes ; : ; \
41328 @endif opcodes
41329 @if binutils
41330 @if test -d $(HOST_SUBDIR)/binutils ; then \
41331 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
41332 mv prev-binutils stage3-binutils ; : ; \
41334 @endif binutils
41335 @if gas
41336 @if test -d $(HOST_SUBDIR)/gas ; then \
41337 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
41338 mv prev-gas stage3-gas ; : ; \
41340 @endif gas
41341 @if gcc
41342 @if test -d $(HOST_SUBDIR)/gcc ; then \
41343 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
41344 mv prev-gcc stage3-gcc ; : ; \
41346 @endif gcc
41347 @if gmp
41348 @if test -d $(HOST_SUBDIR)/gmp ; then \
41349 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
41350 mv prev-gmp stage3-gmp ; : ; \
41352 @endif gmp
41353 @if mpfr
41354 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41355 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
41356 mv prev-mpfr stage3-mpfr ; : ; \
41358 @endif mpfr
41359 @if mpc
41360 @if test -d $(HOST_SUBDIR)/mpc ; then \
41361 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
41362 mv prev-mpc stage3-mpc ; : ; \
41364 @endif mpc
41365 @if ppl
41366 @if test -d $(HOST_SUBDIR)/ppl ; then \
41367 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
41368 mv prev-ppl stage3-ppl ; : ; \
41370 @endif ppl
41371 @if cloog
41372 @if test -d $(HOST_SUBDIR)/cloog ; then \
41373 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
41374 mv prev-cloog stage3-cloog ; : ; \
41376 @endif cloog
41377 @if libelf
41378 @if test -d $(HOST_SUBDIR)/libelf ; then \
41379 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
41380 mv prev-libelf stage3-libelf ; : ; \
41382 @endif libelf
41383 @if gold
41384 @if test -d $(HOST_SUBDIR)/gold ; then \
41385 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
41386 mv prev-gold stage3-gold ; : ; \
41388 @endif gold
41389 @if intl
41390 @if test -d $(HOST_SUBDIR)/intl ; then \
41391 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
41392 mv prev-intl stage3-intl ; : ; \
41394 @endif intl
41395 @if ld
41396 @if test -d $(HOST_SUBDIR)/ld ; then \
41397 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
41398 mv prev-ld stage3-ld ; : ; \
41400 @endif ld
41401 @if libcpp
41402 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41403 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
41404 mv prev-libcpp stage3-libcpp ; : ; \
41406 @endif libcpp
41407 @if libdecnumber
41408 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41409 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
41410 mv prev-libdecnumber stage3-libdecnumber ; : ; \
41412 @endif libdecnumber
41413 @if libiberty
41414 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41415 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
41416 mv prev-libiberty stage3-libiberty ; : ; \
41418 @endif libiberty
41419 @if zlib
41420 @if test -d $(HOST_SUBDIR)/zlib ; then \
41421 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
41422 mv prev-zlib stage3-zlib ; : ; \
41424 @endif zlib
41425 @if lto-plugin
41426 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41427 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
41428 mv prev-lto-plugin stage3-lto-plugin ; : ; \
41430 @endif lto-plugin
41431 @if test -d $(TARGET_SUBDIR) ; then \
41432 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
41433 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
41435 rm -f stage_current
41437 # Bubble a bug fix through all the stages up to stage 4. They are
41438 # remade, but not reconfigured. The next stage (if any) will not be
41439 # reconfigured either.
41440 .PHONY: stage4-bubble
41441 stage4-bubble:: stage3-bubble
41442 @r=`${PWD_COMMAND}`; export r; \
41443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41444 if test -f stage4-lean || test -f stage3-lean ; then \
41445 echo Skipping rebuild of stage4 ; \
41446 else \
41447 $(MAKE) stage4-start; \
41448 if $(LEAN); then \
41449 rm -rf stage2-* ; \
41450 $(STAMP) stage2-lean ; \
41451 fi; \
41452 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
41454 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
41456 .PHONY: all-stage4 clean-stage4
41457 do-clean: clean-stage4
41459 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41460 # only possibility, but now it conflicts with no-bootstrap rules
41461 @if gcc-bootstrap
41463 compare3:
41464 @r=`${PWD_COMMAND}`; export r; \
41465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41466 if test -f stage3-lean; then \
41467 echo Cannot compare object files as stage 3 was deleted. ; \
41468 exit 0 ; \
41469 fi; \
41470 : $(MAKE); $(stage); \
41471 rm -f .bad_compare ; \
41472 echo Comparing stages 3 and 4 ; \
41473 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
41474 files=`find stage4-* -name "*$(objext)" -print | \
41475 sed -n s,^stage$$sed-,,p` ; \
41476 for file in $${files} ; do \
41477 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
41478 if test ! -f $$f1; then continue; fi; \
41479 $(do-compare3) > /dev/null 2>&1; \
41480 if test $$? -eq 1; then \
41481 case $$file in \
41482 @compare_exclusions@) \
41483 echo warning: $$file differs ;; \
41484 *) \
41485 echo $$file differs >> .bad_compare ;; \
41486 esac ; \
41487 fi ; \
41488 done ; \
41489 if [ -f .bad_compare ]; then \
41490 echo "Bootstrap comparison failure!"; \
41491 cat .bad_compare; \
41492 exit 1; \
41493 else \
41494 echo Comparison successful.; \
41495 fi ; \
41496 $(STAMP) compare3
41497 if $(LEAN); then \
41498 rm -rf stage3-*; \
41499 $(STAMP) stage3-lean; \
41504 .PHONY: bootstrap4 bootstrap4-lean
41505 bootstrap4:
41506 echo stage4 > stage_final
41507 @r=`${PWD_COMMAND}`; export r; \
41508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
41510 @: $(MAKE); $(unstage)
41511 @r=`${PWD_COMMAND}`; export r; \
41512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41513 TFLAGS="$(STAGE4_TFLAGS)"; \
41514 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41516 bootstrap4-lean:
41517 echo stage4 > stage_final
41518 @r=`${PWD_COMMAND}`; export r; \
41519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
41521 @: $(MAKE); $(unstage)
41522 @r=`${PWD_COMMAND}`; export r; \
41523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41524 TFLAGS="$(STAGE4_TFLAGS)"; \
41525 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41528 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41529 distclean-stage3:: distclean-stage4
41530 .PHONY: distclean-stage4
41531 distclean-stage4::
41532 @: $(MAKE); $(stage)
41533 @test "`cat stage_last`" != stage4 || rm -f stage_last
41534 rm -rf stage4-* compare3
41537 @endif gcc-bootstrap
41540 .PHONY: stageprofile-start stageprofile-end
41542 stageprofile-start::
41543 @: $(MAKE); $(stage); \
41544 echo stageprofile > stage_current ; \
41545 echo stageprofile > stage_last; \
41546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41547 @if bfd
41548 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
41549 mkdir stageprofile-bfd; \
41550 mv stageprofile-bfd bfd ; \
41551 mv stage1-bfd prev-bfd || test -f stage1-lean
41552 @endif bfd
41553 @if opcodes
41554 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
41555 mkdir stageprofile-opcodes; \
41556 mv stageprofile-opcodes opcodes ; \
41557 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41558 @endif opcodes
41559 @if binutils
41560 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
41561 mkdir stageprofile-binutils; \
41562 mv stageprofile-binutils binutils ; \
41563 mv stage1-binutils prev-binutils || test -f stage1-lean
41564 @endif binutils
41565 @if gas
41566 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
41567 mkdir stageprofile-gas; \
41568 mv stageprofile-gas gas ; \
41569 mv stage1-gas prev-gas || test -f stage1-lean
41570 @endif gas
41571 @if gcc
41572 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
41573 mkdir stageprofile-gcc; \
41574 mv stageprofile-gcc gcc ; \
41575 mv stage1-gcc prev-gcc || test -f stage1-lean
41576 @endif gcc
41577 @if gmp
41578 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
41579 mkdir stageprofile-gmp; \
41580 mv stageprofile-gmp gmp ; \
41581 mv stage1-gmp prev-gmp || test -f stage1-lean
41582 @endif gmp
41583 @if mpfr
41584 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
41585 mkdir stageprofile-mpfr; \
41586 mv stageprofile-mpfr mpfr ; \
41587 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41588 @endif mpfr
41589 @if mpc
41590 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
41591 mkdir stageprofile-mpc; \
41592 mv stageprofile-mpc mpc ; \
41593 mv stage1-mpc prev-mpc || test -f stage1-lean
41594 @endif mpc
41595 @if ppl
41596 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
41597 mkdir stageprofile-ppl; \
41598 mv stageprofile-ppl ppl ; \
41599 mv stage1-ppl prev-ppl || test -f stage1-lean
41600 @endif ppl
41601 @if cloog
41602 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
41603 mkdir stageprofile-cloog; \
41604 mv stageprofile-cloog cloog ; \
41605 mv stage1-cloog prev-cloog || test -f stage1-lean
41606 @endif cloog
41607 @if libelf
41608 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
41609 mkdir stageprofile-libelf; \
41610 mv stageprofile-libelf libelf ; \
41611 mv stage1-libelf prev-libelf || test -f stage1-lean
41612 @endif libelf
41613 @if gold
41614 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
41615 mkdir stageprofile-gold; \
41616 mv stageprofile-gold gold ; \
41617 mv stage1-gold prev-gold || test -f stage1-lean
41618 @endif gold
41619 @if intl
41620 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
41621 mkdir stageprofile-intl; \
41622 mv stageprofile-intl intl ; \
41623 mv stage1-intl prev-intl || test -f stage1-lean
41624 @endif intl
41625 @if ld
41626 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
41627 mkdir stageprofile-ld; \
41628 mv stageprofile-ld ld ; \
41629 mv stage1-ld prev-ld || test -f stage1-lean
41630 @endif ld
41631 @if libcpp
41632 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
41633 mkdir stageprofile-libcpp; \
41634 mv stageprofile-libcpp libcpp ; \
41635 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41636 @endif libcpp
41637 @if libdecnumber
41638 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
41639 mkdir stageprofile-libdecnumber; \
41640 mv stageprofile-libdecnumber libdecnumber ; \
41641 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41642 @endif libdecnumber
41643 @if libiberty
41644 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
41645 mkdir stageprofile-libiberty; \
41646 mv stageprofile-libiberty libiberty ; \
41647 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41648 @endif libiberty
41649 @if zlib
41650 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
41651 mkdir stageprofile-zlib; \
41652 mv stageprofile-zlib zlib ; \
41653 mv stage1-zlib prev-zlib || test -f stage1-lean
41654 @endif zlib
41655 @if lto-plugin
41656 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
41657 mkdir stageprofile-lto-plugin; \
41658 mv stageprofile-lto-plugin lto-plugin ; \
41659 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41660 @endif lto-plugin
41661 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
41662 mkdir stageprofile-$(TARGET_SUBDIR); \
41663 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41664 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41666 stageprofile-end::
41667 @if bfd
41668 @if test -d $(HOST_SUBDIR)/bfd ; then \
41669 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
41670 mv prev-bfd stage1-bfd ; : ; \
41672 @endif bfd
41673 @if opcodes
41674 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41675 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
41676 mv prev-opcodes stage1-opcodes ; : ; \
41678 @endif opcodes
41679 @if binutils
41680 @if test -d $(HOST_SUBDIR)/binutils ; then \
41681 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
41682 mv prev-binutils stage1-binutils ; : ; \
41684 @endif binutils
41685 @if gas
41686 @if test -d $(HOST_SUBDIR)/gas ; then \
41687 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
41688 mv prev-gas stage1-gas ; : ; \
41690 @endif gas
41691 @if gcc
41692 @if test -d $(HOST_SUBDIR)/gcc ; then \
41693 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
41694 mv prev-gcc stage1-gcc ; : ; \
41696 @endif gcc
41697 @if gmp
41698 @if test -d $(HOST_SUBDIR)/gmp ; then \
41699 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
41700 mv prev-gmp stage1-gmp ; : ; \
41702 @endif gmp
41703 @if mpfr
41704 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41705 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
41706 mv prev-mpfr stage1-mpfr ; : ; \
41708 @endif mpfr
41709 @if mpc
41710 @if test -d $(HOST_SUBDIR)/mpc ; then \
41711 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
41712 mv prev-mpc stage1-mpc ; : ; \
41714 @endif mpc
41715 @if ppl
41716 @if test -d $(HOST_SUBDIR)/ppl ; then \
41717 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
41718 mv prev-ppl stage1-ppl ; : ; \
41720 @endif ppl
41721 @if cloog
41722 @if test -d $(HOST_SUBDIR)/cloog ; then \
41723 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
41724 mv prev-cloog stage1-cloog ; : ; \
41726 @endif cloog
41727 @if libelf
41728 @if test -d $(HOST_SUBDIR)/libelf ; then \
41729 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
41730 mv prev-libelf stage1-libelf ; : ; \
41732 @endif libelf
41733 @if gold
41734 @if test -d $(HOST_SUBDIR)/gold ; then \
41735 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
41736 mv prev-gold stage1-gold ; : ; \
41738 @endif gold
41739 @if intl
41740 @if test -d $(HOST_SUBDIR)/intl ; then \
41741 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
41742 mv prev-intl stage1-intl ; : ; \
41744 @endif intl
41745 @if ld
41746 @if test -d $(HOST_SUBDIR)/ld ; then \
41747 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
41748 mv prev-ld stage1-ld ; : ; \
41750 @endif ld
41751 @if libcpp
41752 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41753 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
41754 mv prev-libcpp stage1-libcpp ; : ; \
41756 @endif libcpp
41757 @if libdecnumber
41758 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41759 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
41760 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41762 @endif libdecnumber
41763 @if libiberty
41764 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41765 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
41766 mv prev-libiberty stage1-libiberty ; : ; \
41768 @endif libiberty
41769 @if zlib
41770 @if test -d $(HOST_SUBDIR)/zlib ; then \
41771 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
41772 mv prev-zlib stage1-zlib ; : ; \
41774 @endif zlib
41775 @if lto-plugin
41776 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41777 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
41778 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41780 @endif lto-plugin
41781 @if test -d $(TARGET_SUBDIR) ; then \
41782 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
41783 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41785 rm -f stage_current
41787 # Bubble a bug fix through all the stages up to stage profile. They are
41788 # remade, but not reconfigured. The next stage (if any) will not be
41789 # reconfigured either.
41790 .PHONY: stageprofile-bubble
41791 stageprofile-bubble:: stage1-bubble
41792 @r=`${PWD_COMMAND}`; export r; \
41793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41794 if test -f stageprofile-lean || test -f stage1-lean ; then \
41795 echo Skipping rebuild of stageprofile ; \
41796 else \
41797 $(MAKE) stageprofile-start; \
41798 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
41801 .PHONY: all-stageprofile clean-stageprofile
41802 do-clean: clean-stageprofile
41804 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41805 # only possibility, but now it conflicts with no-bootstrap rules
41806 @if gcc-bootstrap
41811 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41812 distclean-stage1:: distclean-stageprofile
41813 .PHONY: distclean-stageprofile
41814 distclean-stageprofile::
41815 @: $(MAKE); $(stage)
41816 @test "`cat stage_last`" != stageprofile || rm -f stage_last
41817 rm -rf stageprofile-*
41820 @endif gcc-bootstrap
41823 .PHONY: stagefeedback-start stagefeedback-end
41825 stagefeedback-start::
41826 @: $(MAKE); $(stage); \
41827 echo stagefeedback > stage_current ; \
41828 echo stagefeedback > stage_last; \
41829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41830 @if bfd
41831 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
41832 mkdir stagefeedback-bfd; \
41833 mv stagefeedback-bfd bfd ; \
41834 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
41835 @endif bfd
41836 @if opcodes
41837 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
41838 mkdir stagefeedback-opcodes; \
41839 mv stagefeedback-opcodes opcodes ; \
41840 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
41841 @endif opcodes
41842 @if binutils
41843 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
41844 mkdir stagefeedback-binutils; \
41845 mv stagefeedback-binutils binutils ; \
41846 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
41847 @endif binutils
41848 @if gas
41849 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
41850 mkdir stagefeedback-gas; \
41851 mv stagefeedback-gas gas ; \
41852 mv stageprofile-gas prev-gas || test -f stageprofile-lean
41853 @endif gas
41854 @if gcc
41855 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
41856 mkdir stagefeedback-gcc; \
41857 mv stagefeedback-gcc gcc ; \
41858 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
41859 @endif gcc
41860 @if gmp
41861 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
41862 mkdir stagefeedback-gmp; \
41863 mv stagefeedback-gmp gmp ; \
41864 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
41865 @endif gmp
41866 @if mpfr
41867 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
41868 mkdir stagefeedback-mpfr; \
41869 mv stagefeedback-mpfr mpfr ; \
41870 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
41871 @endif mpfr
41872 @if mpc
41873 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
41874 mkdir stagefeedback-mpc; \
41875 mv stagefeedback-mpc mpc ; \
41876 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
41877 @endif mpc
41878 @if ppl
41879 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
41880 mkdir stagefeedback-ppl; \
41881 mv stagefeedback-ppl ppl ; \
41882 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
41883 @endif ppl
41884 @if cloog
41885 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
41886 mkdir stagefeedback-cloog; \
41887 mv stagefeedback-cloog cloog ; \
41888 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
41889 @endif cloog
41890 @if libelf
41891 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
41892 mkdir stagefeedback-libelf; \
41893 mv stagefeedback-libelf libelf ; \
41894 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
41895 @endif libelf
41896 @if gold
41897 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
41898 mkdir stagefeedback-gold; \
41899 mv stagefeedback-gold gold ; \
41900 mv stageprofile-gold prev-gold || test -f stageprofile-lean
41901 @endif gold
41902 @if intl
41903 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
41904 mkdir stagefeedback-intl; \
41905 mv stagefeedback-intl intl ; \
41906 mv stageprofile-intl prev-intl || test -f stageprofile-lean
41907 @endif intl
41908 @if ld
41909 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
41910 mkdir stagefeedback-ld; \
41911 mv stagefeedback-ld ld ; \
41912 mv stageprofile-ld prev-ld || test -f stageprofile-lean
41913 @endif ld
41914 @if libcpp
41915 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
41916 mkdir stagefeedback-libcpp; \
41917 mv stagefeedback-libcpp libcpp ; \
41918 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
41919 @endif libcpp
41920 @if libdecnumber
41921 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
41922 mkdir stagefeedback-libdecnumber; \
41923 mv stagefeedback-libdecnumber libdecnumber ; \
41924 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
41925 @endif libdecnumber
41926 @if libiberty
41927 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
41928 mkdir stagefeedback-libiberty; \
41929 mv stagefeedback-libiberty libiberty ; \
41930 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
41931 @endif libiberty
41932 @if zlib
41933 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
41934 mkdir stagefeedback-zlib; \
41935 mv stagefeedback-zlib zlib ; \
41936 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
41937 @endif zlib
41938 @if lto-plugin
41939 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
41940 mkdir stagefeedback-lto-plugin; \
41941 mv stagefeedback-lto-plugin lto-plugin ; \
41942 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
41943 @endif lto-plugin
41944 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
41945 mkdir stagefeedback-$(TARGET_SUBDIR); \
41946 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41947 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
41949 stagefeedback-end::
41950 @if bfd
41951 @if test -d $(HOST_SUBDIR)/bfd ; then \
41952 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
41953 mv prev-bfd stageprofile-bfd ; : ; \
41955 @endif bfd
41956 @if opcodes
41957 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41958 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
41959 mv prev-opcodes stageprofile-opcodes ; : ; \
41961 @endif opcodes
41962 @if binutils
41963 @if test -d $(HOST_SUBDIR)/binutils ; then \
41964 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
41965 mv prev-binutils stageprofile-binutils ; : ; \
41967 @endif binutils
41968 @if gas
41969 @if test -d $(HOST_SUBDIR)/gas ; then \
41970 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
41971 mv prev-gas stageprofile-gas ; : ; \
41973 @endif gas
41974 @if gcc
41975 @if test -d $(HOST_SUBDIR)/gcc ; then \
41976 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
41977 mv prev-gcc stageprofile-gcc ; : ; \
41979 @endif gcc
41980 @if gmp
41981 @if test -d $(HOST_SUBDIR)/gmp ; then \
41982 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
41983 mv prev-gmp stageprofile-gmp ; : ; \
41985 @endif gmp
41986 @if mpfr
41987 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41988 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
41989 mv prev-mpfr stageprofile-mpfr ; : ; \
41991 @endif mpfr
41992 @if mpc
41993 @if test -d $(HOST_SUBDIR)/mpc ; then \
41994 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
41995 mv prev-mpc stageprofile-mpc ; : ; \
41997 @endif mpc
41998 @if ppl
41999 @if test -d $(HOST_SUBDIR)/ppl ; then \
42000 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42001 mv prev-ppl stageprofile-ppl ; : ; \
42003 @endif ppl
42004 @if cloog
42005 @if test -d $(HOST_SUBDIR)/cloog ; then \
42006 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42007 mv prev-cloog stageprofile-cloog ; : ; \
42009 @endif cloog
42010 @if libelf
42011 @if test -d $(HOST_SUBDIR)/libelf ; then \
42012 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42013 mv prev-libelf stageprofile-libelf ; : ; \
42015 @endif libelf
42016 @if gold
42017 @if test -d $(HOST_SUBDIR)/gold ; then \
42018 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42019 mv prev-gold stageprofile-gold ; : ; \
42021 @endif gold
42022 @if intl
42023 @if test -d $(HOST_SUBDIR)/intl ; then \
42024 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42025 mv prev-intl stageprofile-intl ; : ; \
42027 @endif intl
42028 @if ld
42029 @if test -d $(HOST_SUBDIR)/ld ; then \
42030 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42031 mv prev-ld stageprofile-ld ; : ; \
42033 @endif ld
42034 @if libcpp
42035 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42036 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42037 mv prev-libcpp stageprofile-libcpp ; : ; \
42039 @endif libcpp
42040 @if libdecnumber
42041 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42042 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42043 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42045 @endif libdecnumber
42046 @if libiberty
42047 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42048 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42049 mv prev-libiberty stageprofile-libiberty ; : ; \
42051 @endif libiberty
42052 @if zlib
42053 @if test -d $(HOST_SUBDIR)/zlib ; then \
42054 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42055 mv prev-zlib stageprofile-zlib ; : ; \
42057 @endif zlib
42058 @if lto-plugin
42059 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42060 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
42061 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
42063 @endif lto-plugin
42064 @if test -d $(TARGET_SUBDIR) ; then \
42065 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42066 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42068 rm -f stage_current
42070 # Bubble a bug fix through all the stages up to stage feedback. They are
42071 # remade, but not reconfigured. The next stage (if any) will not be
42072 # reconfigured either.
42073 .PHONY: stagefeedback-bubble
42074 stagefeedback-bubble:: stageprofile-bubble
42075 @r=`${PWD_COMMAND}`; export r; \
42076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42077 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42078 echo Skipping rebuild of stagefeedback ; \
42079 else \
42080 $(MAKE) stagefeedback-start; \
42081 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42084 .PHONY: all-stagefeedback clean-stagefeedback
42085 do-clean: clean-stagefeedback
42087 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42088 # only possibility, but now it conflicts with no-bootstrap rules
42089 @if gcc-bootstrap
42093 .PHONY: profiledbootstrap profiledbootstrap-lean
42094 profiledbootstrap:
42095 echo stagefeedback > stage_final
42096 @r=`${PWD_COMMAND}`; export r; \
42097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42099 @: $(MAKE); $(unstage)
42100 @r=`${PWD_COMMAND}`; export r; \
42101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42103 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42105 profiledbootstrap-lean:
42106 echo stagefeedback > stage_final
42107 @r=`${PWD_COMMAND}`; export r; \
42108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42109 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42110 @: $(MAKE); $(unstage)
42111 @r=`${PWD_COMMAND}`; export r; \
42112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42113 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42114 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42117 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42118 distclean-stageprofile:: distclean-stagefeedback
42119 .PHONY: distclean-stagefeedback
42120 distclean-stagefeedback::
42121 @: $(MAKE); $(stage)
42122 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
42123 rm -rf stagefeedback-*
42126 @endif gcc-bootstrap
42130 stageprofile-end::
42131 $(MAKE) distclean-stagefeedback
42133 stagefeedback-start::
42134 @r=`${PWD_COMMAND}`; export r; \
42135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42136 for i in prev-*; do \
42137 j=`echo $$i | sed s/^prev-//` ; \
42138 cd $$r/$$i && \
42139 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42140 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42141 done
42143 @if gcc-bootstrap
42144 do-distclean: distclean-stage1
42146 # Provide a GCC build when we're building target libraries. This does
42147 # not work as a dependency, just as the minimum necessary to avoid errors.
42148 stage_last:
42149 @r=`${PWD_COMMAND}`; export r; \
42150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42151 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42153 # Same as unstage, but not phony and defaulting to stage1-start. We place
42154 # it in the dependency so that for example `make -j3 all-gcc' works.
42155 stage_current:
42156 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42158 .PHONY: restrap
42159 restrap::
42160 @: $(MAKE); $(stage)
42161 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42162 restrap:: all
42163 @endif gcc-bootstrap
42165 # --------------------------------------
42166 # Dependencies between different modules
42167 # --------------------------------------
42169 # Generic dependencies for target modules on host stuff, especially gcc
42170 @if gcc-bootstrap
42171 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
42172 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
42173 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
42174 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
42175 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
42176 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
42177 configure-target-libmudflap: stage_last
42178 configure-target-libssp: stage_last
42179 configure-target-newlib: stage_last
42180 configure-stage1-target-libgcc: maybe-all-stage1-gcc
42181 configure-stage2-target-libgcc: maybe-all-stage2-gcc
42182 configure-stage3-target-libgcc: maybe-all-stage3-gcc
42183 configure-stage4-target-libgcc: maybe-all-stage4-gcc
42184 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
42185 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
42186 configure-target-libquadmath: stage_last
42187 configure-target-libgfortran: stage_last
42188 configure-target-libobjc: stage_last
42189 configure-target-libgo: stage_last
42190 configure-target-libtermcap: stage_last
42191 configure-target-winsup: stage_last
42192 configure-target-libgloss: stage_last
42193 configure-target-libffi: stage_last
42194 configure-target-libjava: stage_last
42195 configure-target-zlib: stage_last
42196 configure-target-boehm-gc: stage_last
42197 configure-target-rda: stage_last
42198 configure-target-libada: stage_last
42199 configure-stage1-target-libgomp: maybe-all-stage1-gcc
42200 configure-stage2-target-libgomp: maybe-all-stage2-gcc
42201 configure-stage3-target-libgomp: maybe-all-stage3-gcc
42202 configure-stage4-target-libgomp: maybe-all-stage4-gcc
42203 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
42204 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
42205 @endif gcc-bootstrap
42207 @if gcc-no-bootstrap
42208 configure-target-libstdc++-v3: maybe-all-gcc
42209 configure-target-libmudflap: maybe-all-gcc
42210 configure-target-libssp: maybe-all-gcc
42211 configure-target-newlib: maybe-all-gcc
42212 configure-target-libgcc: maybe-all-gcc
42213 configure-target-libquadmath: maybe-all-gcc
42214 configure-target-libgfortran: maybe-all-gcc
42215 configure-target-libobjc: maybe-all-gcc
42216 configure-target-libgo: maybe-all-gcc
42217 configure-target-libtermcap: maybe-all-gcc
42218 configure-target-winsup: maybe-all-gcc
42219 configure-target-libgloss: maybe-all-gcc
42220 configure-target-libffi: maybe-all-gcc
42221 configure-target-libjava: maybe-all-gcc
42222 configure-target-zlib: maybe-all-gcc
42223 configure-target-boehm-gc: maybe-all-gcc
42224 configure-target-rda: maybe-all-gcc
42225 configure-target-libada: maybe-all-gcc
42226 configure-target-libgomp: maybe-all-gcc
42227 @endif gcc-no-bootstrap
42230 # There are two types of dependencies here: 'hard' dependencies, where one
42231 # module simply won't build without the other; and 'soft' dependencies, where
42232 # if the depended-on module is missing, the depending module will do without
42233 # or find a substitute somewhere (perhaps installed). Soft dependencies
42234 # are made here to depend on a 'maybe-' target. If you're not sure,
42235 # it's safer to use a soft dependency.
42242 # With all the machinery above in place, it is pretty easy to generate
42243 # dependencies. Host dependencies are a bit more complex because we have
42244 # to check for bootstrap/prebootstrap dependencies. To resolve
42245 # prebootstrap dependencies, prebootstrap modules are gathered in
42246 # a hash table.
42247 all-build-bison: maybe-all-build-texinfo
42248 all-build-flex: maybe-all-build-texinfo
42249 all-build-flex: maybe-all-build-bison
42250 all-build-flex: maybe-all-build-m4
42251 all-build-libiberty: maybe-all-build-texinfo
42252 all-build-m4: maybe-all-build-texinfo
42253 all-build-fixincludes: maybe-all-build-libiberty
42254 configure-gcc: maybe-configure-intl
42256 configure-stage1-gcc: maybe-configure-stage1-intl
42257 configure-stage2-gcc: maybe-configure-stage2-intl
42258 configure-stage3-gcc: maybe-configure-stage3-intl
42259 configure-stage4-gcc: maybe-configure-stage4-intl
42260 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
42261 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
42262 configure-gcc: maybe-all-lto-plugin
42264 configure-stage1-gcc: maybe-all-stage1-lto-plugin
42265 configure-stage2-gcc: maybe-all-stage2-lto-plugin
42266 configure-stage3-gcc: maybe-all-stage3-lto-plugin
42267 configure-stage4-gcc: maybe-all-stage4-lto-plugin
42268 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42269 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42270 configure-gcc: maybe-all-binutils
42272 configure-stage1-gcc: maybe-all-stage1-binutils
42273 configure-stage2-gcc: maybe-all-stage2-binutils
42274 configure-stage3-gcc: maybe-all-stage3-binutils
42275 configure-stage4-gcc: maybe-all-stage4-binutils
42276 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
42277 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
42278 configure-gcc: maybe-all-gas
42280 configure-stage1-gcc: maybe-all-stage1-gas
42281 configure-stage2-gcc: maybe-all-stage2-gas
42282 configure-stage3-gcc: maybe-all-stage3-gas
42283 configure-stage4-gcc: maybe-all-stage4-gas
42284 configure-stageprofile-gcc: maybe-all-stageprofile-gas
42285 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
42286 configure-gcc: maybe-all-ld
42288 configure-stage1-gcc: maybe-all-stage1-ld
42289 configure-stage2-gcc: maybe-all-stage2-ld
42290 configure-stage3-gcc: maybe-all-stage3-ld
42291 configure-stage4-gcc: maybe-all-stage4-ld
42292 configure-stageprofile-gcc: maybe-all-stageprofile-ld
42293 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
42294 configure-gcc: maybe-all-gold
42296 configure-stage1-gcc: maybe-all-stage1-gold
42297 configure-stage2-gcc: maybe-all-stage2-gold
42298 configure-stage3-gcc: maybe-all-stage3-gold
42299 configure-stage4-gcc: maybe-all-stage4-gold
42300 configure-stageprofile-gcc: maybe-all-stageprofile-gold
42301 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
42302 configure-gcc: maybe-all-libelf
42304 configure-stage1-gcc: maybe-all-stage1-libelf
42305 configure-stage2-gcc: maybe-all-stage2-libelf
42306 configure-stage3-gcc: maybe-all-stage3-libelf
42307 configure-stage4-gcc: maybe-all-stage4-libelf
42308 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
42309 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
42310 all-gcc: all-libiberty
42312 all-stage1-gcc: all-stage1-libiberty
42313 all-stage2-gcc: all-stage2-libiberty
42314 all-stage3-gcc: all-stage3-libiberty
42315 all-stage4-gcc: all-stage4-libiberty
42316 all-stageprofile-gcc: all-stageprofile-libiberty
42317 all-stagefeedback-gcc: all-stagefeedback-libiberty
42318 all-gcc: maybe-all-gmp
42320 all-stage1-gcc: maybe-all-stage1-gmp
42321 all-stage2-gcc: maybe-all-stage2-gmp
42322 all-stage3-gcc: maybe-all-stage3-gmp
42323 all-stage4-gcc: maybe-all-stage4-gmp
42324 all-stageprofile-gcc: maybe-all-stageprofile-gmp
42325 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
42326 all-gcc: maybe-all-intl
42328 all-stage1-gcc: maybe-all-stage1-intl
42329 all-stage2-gcc: maybe-all-stage2-intl
42330 all-stage3-gcc: maybe-all-stage3-intl
42331 all-stage4-gcc: maybe-all-stage4-intl
42332 all-stageprofile-gcc: maybe-all-stageprofile-intl
42333 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
42334 all-gcc: maybe-all-mpfr
42336 all-stage1-gcc: maybe-all-stage1-mpfr
42337 all-stage2-gcc: maybe-all-stage2-mpfr
42338 all-stage3-gcc: maybe-all-stage3-mpfr
42339 all-stage4-gcc: maybe-all-stage4-mpfr
42340 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
42341 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
42342 all-gcc: maybe-all-mpc
42344 all-stage1-gcc: maybe-all-stage1-mpc
42345 all-stage2-gcc: maybe-all-stage2-mpc
42346 all-stage3-gcc: maybe-all-stage3-mpc
42347 all-stage4-gcc: maybe-all-stage4-mpc
42348 all-stageprofile-gcc: maybe-all-stageprofile-mpc
42349 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
42350 all-gcc: maybe-all-ppl
42352 all-stage1-gcc: maybe-all-stage1-ppl
42353 all-stage2-gcc: maybe-all-stage2-ppl
42354 all-stage3-gcc: maybe-all-stage3-ppl
42355 all-stage4-gcc: maybe-all-stage4-ppl
42356 all-stageprofile-gcc: maybe-all-stageprofile-ppl
42357 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
42358 all-gcc: maybe-all-cloog
42360 all-stage1-gcc: maybe-all-stage1-cloog
42361 all-stage2-gcc: maybe-all-stage2-cloog
42362 all-stage3-gcc: maybe-all-stage3-cloog
42363 all-stage4-gcc: maybe-all-stage4-cloog
42364 all-stageprofile-gcc: maybe-all-stageprofile-cloog
42365 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
42366 all-gcc: maybe-all-build-texinfo
42368 all-stage1-gcc: maybe-all-build-texinfo
42369 all-stage2-gcc: maybe-all-build-texinfo
42370 all-stage3-gcc: maybe-all-build-texinfo
42371 all-stage4-gcc: maybe-all-build-texinfo
42372 all-stageprofile-gcc: maybe-all-build-texinfo
42373 all-stagefeedback-gcc: maybe-all-build-texinfo
42374 all-gcc: maybe-all-build-bison
42376 all-stage1-gcc: maybe-all-build-bison
42377 all-stage2-gcc: maybe-all-build-bison
42378 all-stage3-gcc: maybe-all-build-bison
42379 all-stage4-gcc: maybe-all-build-bison
42380 all-stageprofile-gcc: maybe-all-build-bison
42381 all-stagefeedback-gcc: maybe-all-build-bison
42382 all-gcc: maybe-all-build-flex
42384 all-stage1-gcc: maybe-all-build-flex
42385 all-stage2-gcc: maybe-all-build-flex
42386 all-stage3-gcc: maybe-all-build-flex
42387 all-stage4-gcc: maybe-all-build-flex
42388 all-stageprofile-gcc: maybe-all-build-flex
42389 all-stagefeedback-gcc: maybe-all-build-flex
42390 all-gcc: maybe-all-build-libiberty
42392 all-stage1-gcc: maybe-all-build-libiberty
42393 all-stage2-gcc: maybe-all-build-libiberty
42394 all-stage3-gcc: maybe-all-build-libiberty
42395 all-stage4-gcc: maybe-all-build-libiberty
42396 all-stageprofile-gcc: maybe-all-build-libiberty
42397 all-stagefeedback-gcc: maybe-all-build-libiberty
42398 all-gcc: maybe-all-build-fixincludes
42400 all-stage1-gcc: maybe-all-build-fixincludes
42401 all-stage2-gcc: maybe-all-build-fixincludes
42402 all-stage3-gcc: maybe-all-build-fixincludes
42403 all-stage4-gcc: maybe-all-build-fixincludes
42404 all-stageprofile-gcc: maybe-all-build-fixincludes
42405 all-stagefeedback-gcc: maybe-all-build-fixincludes
42406 all-gcc: maybe-all-zlib
42408 all-stage1-gcc: maybe-all-stage1-zlib
42409 all-stage2-gcc: maybe-all-stage2-zlib
42410 all-stage3-gcc: maybe-all-stage3-zlib
42411 all-stage4-gcc: maybe-all-stage4-zlib
42412 all-stageprofile-gcc: maybe-all-stageprofile-zlib
42413 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
42414 all-gcc: all-libcpp
42416 all-stage1-gcc: all-stage1-libcpp
42417 all-stage2-gcc: all-stage2-libcpp
42418 all-stage3-gcc: all-stage3-libcpp
42419 all-stage4-gcc: all-stage4-libcpp
42420 all-stageprofile-gcc: all-stageprofile-libcpp
42421 all-stagefeedback-gcc: all-stagefeedback-libcpp
42422 all-gcc: all-libdecnumber
42424 all-stage1-gcc: all-stage1-libdecnumber
42425 all-stage2-gcc: all-stage2-libdecnumber
42426 all-stage3-gcc: all-stage3-libdecnumber
42427 all-stage4-gcc: all-stage4-libdecnumber
42428 all-stageprofile-gcc: all-stageprofile-libdecnumber
42429 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
42430 all-gcc: maybe-all-libiberty
42432 all-stage1-gcc: maybe-all-stage1-libiberty
42433 all-stage2-gcc: maybe-all-stage2-libiberty
42434 all-stage3-gcc: maybe-all-stage3-libiberty
42435 all-stage4-gcc: maybe-all-stage4-libiberty
42436 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
42437 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
42438 all-gcc: maybe-all-fixincludes
42439 all-gcc: maybe-all-lto-plugin
42441 all-stage1-gcc: maybe-all-stage1-lto-plugin
42442 all-stage2-gcc: maybe-all-stage2-lto-plugin
42443 all-stage3-gcc: maybe-all-stage3-lto-plugin
42444 all-stage4-gcc: maybe-all-stage4-lto-plugin
42445 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42446 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42447 info-gcc: maybe-all-build-libiberty
42449 info-stage1-gcc: maybe-all-build-libiberty
42450 info-stage2-gcc: maybe-all-build-libiberty
42451 info-stage3-gcc: maybe-all-build-libiberty
42452 info-stage4-gcc: maybe-all-build-libiberty
42453 info-stageprofile-gcc: maybe-all-build-libiberty
42454 info-stagefeedback-gcc: maybe-all-build-libiberty
42455 dvi-gcc: maybe-all-build-libiberty
42457 dvi-stage1-gcc: maybe-all-build-libiberty
42458 dvi-stage2-gcc: maybe-all-build-libiberty
42459 dvi-stage3-gcc: maybe-all-build-libiberty
42460 dvi-stage4-gcc: maybe-all-build-libiberty
42461 dvi-stageprofile-gcc: maybe-all-build-libiberty
42462 dvi-stagefeedback-gcc: maybe-all-build-libiberty
42463 pdf-gcc: maybe-all-build-libiberty
42465 pdf-stage1-gcc: maybe-all-build-libiberty
42466 pdf-stage2-gcc: maybe-all-build-libiberty
42467 pdf-stage3-gcc: maybe-all-build-libiberty
42468 pdf-stage4-gcc: maybe-all-build-libiberty
42469 pdf-stageprofile-gcc: maybe-all-build-libiberty
42470 pdf-stagefeedback-gcc: maybe-all-build-libiberty
42471 html-gcc: maybe-all-build-libiberty
42473 html-stage1-gcc: maybe-all-build-libiberty
42474 html-stage2-gcc: maybe-all-build-libiberty
42475 html-stage3-gcc: maybe-all-build-libiberty
42476 html-stage4-gcc: maybe-all-build-libiberty
42477 html-stageprofile-gcc: maybe-all-build-libiberty
42478 html-stagefeedback-gcc: maybe-all-build-libiberty
42479 install-gcc: maybe-install-fixincludes
42480 install-gcc: maybe-install-lto-plugin
42481 install-strip-gcc: maybe-install-strip-fixincludes
42482 configure-libcpp: configure-libiberty
42484 configure-stage1-libcpp: configure-stage1-libiberty
42485 configure-stage2-libcpp: configure-stage2-libiberty
42486 configure-stage3-libcpp: configure-stage3-libiberty
42487 configure-stage4-libcpp: configure-stage4-libiberty
42488 configure-stageprofile-libcpp: configure-stageprofile-libiberty
42489 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
42490 configure-libcpp: maybe-configure-intl
42492 configure-stage1-libcpp: maybe-configure-stage1-intl
42493 configure-stage2-libcpp: maybe-configure-stage2-intl
42494 configure-stage3-libcpp: maybe-configure-stage3-intl
42495 configure-stage4-libcpp: maybe-configure-stage4-intl
42496 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
42497 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
42498 all-libcpp: all-libiberty
42500 all-stage1-libcpp: all-stage1-libiberty
42501 all-stage2-libcpp: all-stage2-libiberty
42502 all-stage3-libcpp: all-stage3-libiberty
42503 all-stage4-libcpp: all-stage4-libiberty
42504 all-stageprofile-libcpp: all-stageprofile-libiberty
42505 all-stagefeedback-libcpp: all-stagefeedback-libiberty
42506 all-libcpp: maybe-all-intl
42508 all-stage1-libcpp: maybe-all-stage1-intl
42509 all-stage2-libcpp: maybe-all-stage2-intl
42510 all-stage3-libcpp: maybe-all-stage3-intl
42511 all-stage4-libcpp: maybe-all-stage4-intl
42512 all-stageprofile-libcpp: maybe-all-stageprofile-intl
42513 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
42514 all-fixincludes: maybe-all-libiberty
42515 all-gnattools: maybe-all-target-libada
42516 all-lto-plugin: maybe-all-libiberty
42518 all-stage1-lto-plugin: maybe-all-stage1-libiberty
42519 all-stage2-lto-plugin: maybe-all-stage2-libiberty
42520 all-stage3-lto-plugin: maybe-all-stage3-libiberty
42521 all-stage4-lto-plugin: maybe-all-stage4-libiberty
42522 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
42523 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
42524 all-utils: maybe-all-libiberty
42525 configure-mpfr: maybe-all-gmp
42527 configure-stage1-mpfr: maybe-all-stage1-gmp
42528 configure-stage2-mpfr: maybe-all-stage2-gmp
42529 configure-stage3-mpfr: maybe-all-stage3-gmp
42530 configure-stage4-mpfr: maybe-all-stage4-gmp
42531 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
42532 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
42533 configure-mpc: maybe-all-mpfr
42535 configure-stage1-mpc: maybe-all-stage1-mpfr
42536 configure-stage2-mpc: maybe-all-stage2-mpfr
42537 configure-stage3-mpc: maybe-all-stage3-mpfr
42538 configure-stage4-mpc: maybe-all-stage4-mpfr
42539 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
42540 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
42541 configure-ppl: maybe-all-gmp
42543 configure-stage1-ppl: maybe-all-stage1-gmp
42544 configure-stage2-ppl: maybe-all-stage2-gmp
42545 configure-stage3-ppl: maybe-all-stage3-gmp
42546 configure-stage4-ppl: maybe-all-stage4-gmp
42547 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
42548 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
42549 configure-ppl: maybe-all-mpfr
42551 configure-stage1-ppl: maybe-all-stage1-mpfr
42552 configure-stage2-ppl: maybe-all-stage2-mpfr
42553 configure-stage3-ppl: maybe-all-stage3-mpfr
42554 configure-stage4-ppl: maybe-all-stage4-mpfr
42555 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
42556 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
42557 configure-cloog: maybe-all-ppl
42559 configure-stage1-cloog: maybe-all-stage1-ppl
42560 configure-stage2-cloog: maybe-all-stage2-ppl
42561 configure-stage3-cloog: maybe-all-stage3-ppl
42562 configure-stage4-cloog: maybe-all-stage4-ppl
42563 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
42564 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
42565 configure-gdb: maybe-all-intl
42566 configure-gdb: maybe-configure-sim
42567 configure-gdb: maybe-all-bfd
42568 configure-gdb: maybe-all-libiconv
42569 all-gdb: maybe-all-libiberty
42570 all-gdb: maybe-all-libiconv
42571 all-gdb: maybe-all-opcodes
42572 all-gdb: maybe-all-readline
42573 all-gdb: maybe-all-build-bison
42574 all-gdb: maybe-all-sim
42575 all-gdb: maybe-all-libdecnumber
42576 all-gdb: maybe-all-libtermcap
42577 configure-libgui: maybe-configure-tcl
42578 configure-libgui: maybe-configure-tk
42579 all-libgui: maybe-all-tcl
42580 all-libgui: maybe-all-tk
42581 all-libgui: maybe-all-itcl
42582 configure-bfd: configure-libiberty
42584 configure-stage1-bfd: configure-stage1-libiberty
42585 configure-stage2-bfd: configure-stage2-libiberty
42586 configure-stage3-bfd: configure-stage3-libiberty
42587 configure-stage4-bfd: configure-stage4-libiberty
42588 configure-stageprofile-bfd: configure-stageprofile-libiberty
42589 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
42590 configure-bfd: maybe-configure-intl
42592 configure-stage1-bfd: maybe-configure-stage1-intl
42593 configure-stage2-bfd: maybe-configure-stage2-intl
42594 configure-stage3-bfd: maybe-configure-stage3-intl
42595 configure-stage4-bfd: maybe-configure-stage4-intl
42596 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
42597 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
42598 all-bfd: maybe-all-libiberty
42600 all-stage1-bfd: maybe-all-stage1-libiberty
42601 all-stage2-bfd: maybe-all-stage2-libiberty
42602 all-stage3-bfd: maybe-all-stage3-libiberty
42603 all-stage4-bfd: maybe-all-stage4-libiberty
42604 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
42605 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
42606 all-bfd: maybe-all-intl
42608 all-stage1-bfd: maybe-all-stage1-intl
42609 all-stage2-bfd: maybe-all-stage2-intl
42610 all-stage3-bfd: maybe-all-stage3-intl
42611 all-stage4-bfd: maybe-all-stage4-intl
42612 all-stageprofile-bfd: maybe-all-stageprofile-intl
42613 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
42614 configure-opcodes: configure-libiberty
42616 configure-stage1-opcodes: configure-stage1-libiberty
42617 configure-stage2-opcodes: configure-stage2-libiberty
42618 configure-stage3-opcodes: configure-stage3-libiberty
42619 configure-stage4-opcodes: configure-stage4-libiberty
42620 configure-stageprofile-opcodes: configure-stageprofile-libiberty
42621 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
42622 all-opcodes: maybe-all-libiberty
42624 all-stage1-opcodes: maybe-all-stage1-libiberty
42625 all-stage2-opcodes: maybe-all-stage2-libiberty
42626 all-stage3-opcodes: maybe-all-stage3-libiberty
42627 all-stage4-opcodes: maybe-all-stage4-libiberty
42628 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42629 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42630 configure-binutils: maybe-configure-intl
42632 configure-stage1-binutils: maybe-configure-stage1-intl
42633 configure-stage2-binutils: maybe-configure-stage2-intl
42634 configure-stage3-binutils: maybe-configure-stage3-intl
42635 configure-stage4-binutils: maybe-configure-stage4-intl
42636 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
42637 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
42638 all-binutils: maybe-all-libiberty
42640 all-stage1-binutils: maybe-all-stage1-libiberty
42641 all-stage2-binutils: maybe-all-stage2-libiberty
42642 all-stage3-binutils: maybe-all-stage3-libiberty
42643 all-stage4-binutils: maybe-all-stage4-libiberty
42644 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
42645 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
42646 all-binutils: maybe-all-opcodes
42648 all-stage1-binutils: maybe-all-stage1-opcodes
42649 all-stage2-binutils: maybe-all-stage2-opcodes
42650 all-stage3-binutils: maybe-all-stage3-opcodes
42651 all-stage4-binutils: maybe-all-stage4-opcodes
42652 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
42653 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
42654 all-binutils: maybe-all-bfd
42656 all-stage1-binutils: maybe-all-stage1-bfd
42657 all-stage2-binutils: maybe-all-stage2-bfd
42658 all-stage3-binutils: maybe-all-stage3-bfd
42659 all-stage4-binutils: maybe-all-stage4-bfd
42660 all-stageprofile-binutils: maybe-all-stageprofile-bfd
42661 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
42662 all-binutils: maybe-all-build-flex
42664 all-stage1-binutils: maybe-all-build-flex
42665 all-stage2-binutils: maybe-all-build-flex
42666 all-stage3-binutils: maybe-all-build-flex
42667 all-stage4-binutils: maybe-all-build-flex
42668 all-stageprofile-binutils: maybe-all-build-flex
42669 all-stagefeedback-binutils: maybe-all-build-flex
42670 all-binutils: maybe-all-build-bison
42672 all-stage1-binutils: maybe-all-build-bison
42673 all-stage2-binutils: maybe-all-build-bison
42674 all-stage3-binutils: maybe-all-build-bison
42675 all-stage4-binutils: maybe-all-build-bison
42676 all-stageprofile-binutils: maybe-all-build-bison
42677 all-stagefeedback-binutils: maybe-all-build-bison
42678 all-binutils: maybe-all-intl
42680 all-stage1-binutils: maybe-all-stage1-intl
42681 all-stage2-binutils: maybe-all-stage2-intl
42682 all-stage3-binutils: maybe-all-stage3-intl
42683 all-stage4-binutils: maybe-all-stage4-intl
42684 all-stageprofile-binutils: maybe-all-stageprofile-intl
42685 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
42686 install-binutils: maybe-install-opcodes
42687 install-strip-binutils: maybe-install-strip-opcodes
42688 install-opcodes: maybe-install-bfd
42689 install-strip-opcodes: maybe-install-strip-bfd
42690 configure-gas: maybe-configure-intl
42692 configure-stage1-gas: maybe-configure-stage1-intl
42693 configure-stage2-gas: maybe-configure-stage2-intl
42694 configure-stage3-gas: maybe-configure-stage3-intl
42695 configure-stage4-gas: maybe-configure-stage4-intl
42696 configure-stageprofile-gas: maybe-configure-stageprofile-intl
42697 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
42698 all-gas: maybe-all-libiberty
42700 all-stage1-gas: maybe-all-stage1-libiberty
42701 all-stage2-gas: maybe-all-stage2-libiberty
42702 all-stage3-gas: maybe-all-stage3-libiberty
42703 all-stage4-gas: maybe-all-stage4-libiberty
42704 all-stageprofile-gas: maybe-all-stageprofile-libiberty
42705 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
42706 all-gas: maybe-all-opcodes
42708 all-stage1-gas: maybe-all-stage1-opcodes
42709 all-stage2-gas: maybe-all-stage2-opcodes
42710 all-stage3-gas: maybe-all-stage3-opcodes
42711 all-stage4-gas: maybe-all-stage4-opcodes
42712 all-stageprofile-gas: maybe-all-stageprofile-opcodes
42713 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
42714 all-gas: maybe-all-bfd
42716 all-stage1-gas: maybe-all-stage1-bfd
42717 all-stage2-gas: maybe-all-stage2-bfd
42718 all-stage3-gas: maybe-all-stage3-bfd
42719 all-stage4-gas: maybe-all-stage4-bfd
42720 all-stageprofile-gas: maybe-all-stageprofile-bfd
42721 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
42722 all-gas: maybe-all-intl
42724 all-stage1-gas: maybe-all-stage1-intl
42725 all-stage2-gas: maybe-all-stage2-intl
42726 all-stage3-gas: maybe-all-stage3-intl
42727 all-stage4-gas: maybe-all-stage4-intl
42728 all-stageprofile-gas: maybe-all-stageprofile-intl
42729 all-stagefeedback-gas: maybe-all-stagefeedback-intl
42730 configure-gprof: maybe-configure-intl
42731 all-gprof: maybe-all-libiberty
42732 all-gprof: maybe-all-bfd
42733 all-gprof: maybe-all-opcodes
42734 all-gprof: maybe-all-intl
42735 configure-ld: maybe-configure-intl
42737 configure-stage1-ld: maybe-configure-stage1-intl
42738 configure-stage2-ld: maybe-configure-stage2-intl
42739 configure-stage3-ld: maybe-configure-stage3-intl
42740 configure-stage4-ld: maybe-configure-stage4-intl
42741 configure-stageprofile-ld: maybe-configure-stageprofile-intl
42742 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
42743 all-ld: maybe-all-libiberty
42745 all-stage1-ld: maybe-all-stage1-libiberty
42746 all-stage2-ld: maybe-all-stage2-libiberty
42747 all-stage3-ld: maybe-all-stage3-libiberty
42748 all-stage4-ld: maybe-all-stage4-libiberty
42749 all-stageprofile-ld: maybe-all-stageprofile-libiberty
42750 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
42751 all-ld: maybe-all-bfd
42753 all-stage1-ld: maybe-all-stage1-bfd
42754 all-stage2-ld: maybe-all-stage2-bfd
42755 all-stage3-ld: maybe-all-stage3-bfd
42756 all-stage4-ld: maybe-all-stage4-bfd
42757 all-stageprofile-ld: maybe-all-stageprofile-bfd
42758 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
42759 all-ld: maybe-all-opcodes
42761 all-stage1-ld: maybe-all-stage1-opcodes
42762 all-stage2-ld: maybe-all-stage2-opcodes
42763 all-stage3-ld: maybe-all-stage3-opcodes
42764 all-stage4-ld: maybe-all-stage4-opcodes
42765 all-stageprofile-ld: maybe-all-stageprofile-opcodes
42766 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
42767 all-ld: maybe-all-build-bison
42769 all-stage1-ld: maybe-all-build-bison
42770 all-stage2-ld: maybe-all-build-bison
42771 all-stage3-ld: maybe-all-build-bison
42772 all-stage4-ld: maybe-all-build-bison
42773 all-stageprofile-ld: maybe-all-build-bison
42774 all-stagefeedback-ld: maybe-all-build-bison
42775 all-ld: maybe-all-build-flex
42777 all-stage1-ld: maybe-all-build-flex
42778 all-stage2-ld: maybe-all-build-flex
42779 all-stage3-ld: maybe-all-build-flex
42780 all-stage4-ld: maybe-all-build-flex
42781 all-stageprofile-ld: maybe-all-build-flex
42782 all-stagefeedback-ld: maybe-all-build-flex
42783 all-ld: maybe-all-intl
42785 all-stage1-ld: maybe-all-stage1-intl
42786 all-stage2-ld: maybe-all-stage2-intl
42787 all-stage3-ld: maybe-all-stage3-intl
42788 all-stage4-ld: maybe-all-stage4-intl
42789 all-stageprofile-ld: maybe-all-stageprofile-intl
42790 all-stagefeedback-ld: maybe-all-stagefeedback-intl
42791 install-ld: maybe-install-gold
42792 install-strip-ld: maybe-install-strip-gold
42793 configure-gold: maybe-configure-intl
42795 configure-stage1-gold: maybe-configure-stage1-intl
42796 configure-stage2-gold: maybe-configure-stage2-intl
42797 configure-stage3-gold: maybe-configure-stage3-intl
42798 configure-stage4-gold: maybe-configure-stage4-intl
42799 configure-stageprofile-gold: maybe-configure-stageprofile-intl
42800 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
42801 all-gold: maybe-all-libiberty
42803 all-stage1-gold: maybe-all-stage1-libiberty
42804 all-stage2-gold: maybe-all-stage2-libiberty
42805 all-stage3-gold: maybe-all-stage3-libiberty
42806 all-stage4-gold: maybe-all-stage4-libiberty
42807 all-stageprofile-gold: maybe-all-stageprofile-libiberty
42808 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
42809 all-gold: maybe-all-intl
42811 all-stage1-gold: maybe-all-stage1-intl
42812 all-stage2-gold: maybe-all-stage2-intl
42813 all-stage3-gold: maybe-all-stage3-intl
42814 all-stage4-gold: maybe-all-stage4-intl
42815 all-stageprofile-gold: maybe-all-stageprofile-intl
42816 all-stagefeedback-gold: maybe-all-stagefeedback-intl
42817 all-gold: maybe-all-bfd
42819 all-stage1-gold: maybe-all-stage1-bfd
42820 all-stage2-gold: maybe-all-stage2-bfd
42821 all-stage3-gold: maybe-all-stage3-bfd
42822 all-stage4-gold: maybe-all-stage4-bfd
42823 all-stageprofile-gold: maybe-all-stageprofile-bfd
42824 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
42825 all-gold: maybe-all-build-bison
42827 all-stage1-gold: maybe-all-build-bison
42828 all-stage2-gold: maybe-all-build-bison
42829 all-stage3-gold: maybe-all-build-bison
42830 all-stage4-gold: maybe-all-build-bison
42831 all-stageprofile-gold: maybe-all-build-bison
42832 all-stagefeedback-gold: maybe-all-build-bison
42833 check-gold: maybe-all-binutils
42835 check-stage1-gold: maybe-all-stage1-binutils
42836 check-stage2-gold: maybe-all-stage2-binutils
42837 check-stage3-gold: maybe-all-stage3-binutils
42838 check-stage4-gold: maybe-all-stage4-binutils
42839 check-stageprofile-gold: maybe-all-stageprofile-binutils
42840 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
42841 check-gold: maybe-all-gas
42843 check-stage1-gold: maybe-all-stage1-gas
42844 check-stage2-gold: maybe-all-stage2-gas
42845 check-stage3-gold: maybe-all-stage3-gas
42846 check-stage4-gold: maybe-all-stage4-gas
42847 check-stageprofile-gold: maybe-all-stageprofile-gas
42848 check-stagefeedback-gold: maybe-all-stagefeedback-gas
42849 configure-opcodes: maybe-configure-intl
42851 configure-stage1-opcodes: maybe-configure-stage1-intl
42852 configure-stage2-opcodes: maybe-configure-stage2-intl
42853 configure-stage3-opcodes: maybe-configure-stage3-intl
42854 configure-stage4-opcodes: maybe-configure-stage4-intl
42855 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
42856 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
42857 all-opcodes: maybe-all-bfd
42859 all-stage1-opcodes: maybe-all-stage1-bfd
42860 all-stage2-opcodes: maybe-all-stage2-bfd
42861 all-stage3-opcodes: maybe-all-stage3-bfd
42862 all-stage4-opcodes: maybe-all-stage4-bfd
42863 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
42864 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
42865 all-opcodes: maybe-all-libiberty
42867 all-stage1-opcodes: maybe-all-stage1-libiberty
42868 all-stage2-opcodes: maybe-all-stage2-libiberty
42869 all-stage3-opcodes: maybe-all-stage3-libiberty
42870 all-stage4-opcodes: maybe-all-stage4-libiberty
42871 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42872 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42873 all-opcodes: maybe-all-intl
42875 all-stage1-opcodes: maybe-all-stage1-intl
42876 all-stage2-opcodes: maybe-all-stage2-intl
42877 all-stage3-opcodes: maybe-all-stage3-intl
42878 all-stage4-opcodes: maybe-all-stage4-intl
42879 all-stageprofile-opcodes: maybe-all-stageprofile-intl
42880 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
42881 all-dejagnu: maybe-all-tcl
42882 all-dejagnu: maybe-all-expect
42883 all-dejagnu: maybe-all-tk
42884 configure-expect: maybe-configure-tcl
42885 configure-expect: maybe-configure-tk
42886 all-expect: maybe-all-tcl
42887 all-expect: maybe-all-tk
42888 configure-itcl: maybe-configure-tcl
42889 configure-itcl: maybe-configure-tk
42890 all-itcl: maybe-all-tcl
42891 all-itcl: maybe-all-tk
42892 install-itcl: maybe-install-tcl
42893 install-strip-itcl: maybe-install-strip-tcl
42894 configure-tk: maybe-configure-tcl
42895 all-tk: maybe-all-tcl
42896 all-sid: maybe-all-libiberty
42897 all-sid: maybe-all-bfd
42898 all-sid: maybe-all-opcodes
42899 all-sid: maybe-all-tcl
42900 all-sid: maybe-all-tk
42901 install-sid: maybe-install-tcl
42902 install-strip-sid: maybe-install-strip-tcl
42903 install-sid: maybe-install-tk
42904 install-strip-sid: maybe-install-strip-tk
42905 configure-sim: maybe-configure-intl
42906 all-sim: maybe-all-intl
42907 all-sim: maybe-all-libiberty
42908 all-sim: maybe-all-bfd
42909 all-sim: maybe-all-opcodes
42910 all-sim: maybe-all-readline
42911 all-sim: maybe-configure-gdb
42912 all-fastjar: maybe-all-zlib
42913 all-fastjar: maybe-all-build-texinfo
42914 all-fastjar: maybe-all-libiberty
42915 all-bison: maybe-all-intl
42916 all-bison: maybe-all-build-texinfo
42917 all-flex: maybe-all-build-bison
42918 all-flex: maybe-all-intl
42919 all-flex: maybe-all-m4
42920 all-flex: maybe-all-build-texinfo
42921 all-m4: maybe-all-intl
42922 all-m4: maybe-all-build-texinfo
42923 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
42924 configure-target-fastjar: maybe-configure-target-zlib
42925 all-target-fastjar: maybe-all-target-zlib
42926 configure-target-libgo: maybe-configure-target-libffi
42927 configure-target-libgo: maybe-all-target-libstdc++-v3
42928 all-target-libgo: maybe-all-target-libffi
42929 configure-target-libjava: maybe-configure-target-zlib
42930 configure-target-libjava: maybe-configure-target-boehm-gc
42931 configure-target-libjava: maybe-configure-target-libffi
42932 all-target-libjava: maybe-all-fastjar
42933 all-target-libjava: maybe-all-target-zlib
42934 all-target-libjava: maybe-all-target-boehm-gc
42935 all-target-libjava: maybe-all-target-libffi
42936 configure-target-libobjc: maybe-configure-target-boehm-gc
42937 all-target-libobjc: maybe-all-target-boehm-gc
42938 configure-target-libstdc++-v3: maybe-configure-target-libgomp
42940 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42941 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42942 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42943 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42944 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42945 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42946 all-target-libstdc++-v3: maybe-configure-target-libgomp
42948 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42949 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42950 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42951 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42952 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42953 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42954 all-target-libgloss: maybe-all-target-newlib
42955 all-target-winsup: maybe-all-target-libtermcap
42956 configure-target-newlib: maybe-all-binutils
42957 configure-target-newlib: maybe-all-ld
42958 configure-target-libgfortran: maybe-all-target-libquadmath
42961 # Dependencies for target modules on other target modules are
42962 # described by lang_env_dependencies; the defaults apply to anything
42963 # not mentioned there.
42966 @if gcc-bootstrap
42967 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
42968 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
42969 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
42970 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
42971 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
42972 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
42973 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
42974 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
42975 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
42976 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
42977 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
42978 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
42979 @endif gcc-bootstrap
42981 @if gcc-no-bootstrap
42982 configure-target-libstdc++-v3: maybe-all-target-libgcc
42983 configure-target-libmudflap: maybe-all-target-libgcc
42984 configure-target-libssp: maybe-all-target-libgcc
42985 configure-target-newlib: maybe-all-target-libgcc
42986 configure-target-libquadmath: maybe-all-target-libgcc
42987 configure-target-libgfortran: maybe-all-target-libgcc
42988 configure-target-libobjc: maybe-all-target-libgcc
42989 configure-target-libgo: maybe-all-target-libgcc
42990 configure-target-libtermcap: maybe-all-target-libgcc
42991 configure-target-winsup: maybe-all-target-libgcc
42992 configure-target-libgloss: maybe-all-target-libgcc
42993 configure-target-libffi: maybe-all-target-libgcc
42994 configure-target-libjava: maybe-all-target-libgcc
42995 configure-target-zlib: maybe-all-target-libgcc
42996 configure-target-boehm-gc: maybe-all-target-libgcc
42997 configure-target-rda: maybe-all-target-libgcc
42998 configure-target-libada: maybe-all-target-libgcc
42999 configure-target-libgomp: maybe-all-target-libgcc
43000 @endif gcc-no-bootstrap
43003 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43005 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43007 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43011 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43013 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43015 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43017 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43019 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43021 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43024 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43026 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43027 configure-target-libjava: maybe-all-target-libstdc++-v3
43029 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43031 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43033 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43035 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43037 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
43040 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43041 GDB_TK = @GDB_TK@
43042 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43043 configure-gdb: $(CONFIGURE_GDB_TK)
43044 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43045 install-gdb: $(INSTALL_GDB_TK)
43047 # Serialization dependencies. Host configures don't work well in parallel to
43048 # each other, due to contention over config.cache. Target configures and
43049 # build configures are similar.
43050 @serialization_dependencies@
43052 # --------------------------------
43053 # Regenerating top level configury
43054 # --------------------------------
43056 # Rebuilding Makefile.in, using autogen.
43057 AUTOGEN = autogen
43058 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43059 cd $(srcdir) && $(AUTOGEN) Makefile.def
43061 # Rebuilding Makefile.
43062 Makefile: $(srcdir)/Makefile.in config.status
43063 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43065 config.status: configure
43066 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43068 # Rebuilding configure.
43069 AUTOCONF = autoconf
43070 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
43071 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
43072 cd $(srcdir) && $(AUTOCONF)
43074 # ------------------------------
43075 # Special directives to GNU Make
43076 # ------------------------------
43078 # Don't pass command-line variables to submakes.
43079 .NOEXPORT:
43080 MAKEOVERRIDES=
43082 # end of Makefile.in