PR lto/48492
[official-gcc.git] / Makefile.in
blob5cc03562a076c3856a67c231ad5718b95f265663
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 =
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-libiberty \
921 maybe-configure-target-libffi \
922 maybe-configure-target-libjava \
923 maybe-configure-target-zlib \
924 maybe-configure-target-boehm-gc \
925 maybe-configure-target-rda \
926 maybe-configure-target-libada \
927 maybe-configure-target-libgomp
929 # The target built for a native non-bootstrap build.
930 .PHONY: all
931 all:
932 @if gcc-bootstrap
933 [ -f stage_final ] || echo stage3 > stage_final
934 @r=`${PWD_COMMAND}`; export r; \
935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
936 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
937 @endif gcc-bootstrap
938 @: $(MAKE); $(unstage)
939 @r=`${PWD_COMMAND}`; export r; \
940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
941 @if gcc-bootstrap
942 if [ -f stage_last ]; then \
943 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
944 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
945 else \
946 @endif gcc-bootstrap
947 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
948 @if gcc-bootstrap
950 fi \
951 @endif gcc-bootstrap
952 && :
954 .PHONY: all-build
956 all-build: maybe-all-build-libiberty
957 all-build: maybe-all-build-bison
958 all-build: maybe-all-build-flex
959 all-build: maybe-all-build-m4
960 all-build: maybe-all-build-texinfo
961 all-build: maybe-all-build-fixincludes
963 .PHONY: all-host
965 @if bfd-no-bootstrap
966 all-host: maybe-all-bfd
967 @endif bfd-no-bootstrap
968 @if opcodes-no-bootstrap
969 all-host: maybe-all-opcodes
970 @endif opcodes-no-bootstrap
971 @if binutils-no-bootstrap
972 all-host: maybe-all-binutils
973 @endif binutils-no-bootstrap
974 all-host: maybe-all-bison
975 all-host: maybe-all-cgen
976 all-host: maybe-all-dejagnu
977 all-host: maybe-all-etc
978 all-host: maybe-all-fastjar
979 all-host: maybe-all-fixincludes
980 all-host: maybe-all-flex
981 @if gas-no-bootstrap
982 all-host: maybe-all-gas
983 @endif gas-no-bootstrap
984 @if gcc-no-bootstrap
985 all-host: maybe-all-gcc
986 @endif gcc-no-bootstrap
987 @if gmp-no-bootstrap
988 all-host: maybe-all-gmp
989 @endif gmp-no-bootstrap
990 @if mpfr-no-bootstrap
991 all-host: maybe-all-mpfr
992 @endif mpfr-no-bootstrap
993 @if mpc-no-bootstrap
994 all-host: maybe-all-mpc
995 @endif mpc-no-bootstrap
996 @if ppl-no-bootstrap
997 all-host: maybe-all-ppl
998 @endif ppl-no-bootstrap
999 @if cloog-no-bootstrap
1000 all-host: maybe-all-cloog
1001 @endif cloog-no-bootstrap
1002 @if libelf-no-bootstrap
1003 all-host: maybe-all-libelf
1004 @endif libelf-no-bootstrap
1005 @if gold-no-bootstrap
1006 all-host: maybe-all-gold
1007 @endif gold-no-bootstrap
1008 all-host: maybe-all-gprof
1009 @if intl-no-bootstrap
1010 all-host: maybe-all-intl
1011 @endif intl-no-bootstrap
1012 all-host: maybe-all-tcl
1013 all-host: maybe-all-itcl
1014 @if ld-no-bootstrap
1015 all-host: maybe-all-ld
1016 @endif ld-no-bootstrap
1017 @if libcpp-no-bootstrap
1018 all-host: maybe-all-libcpp
1019 @endif libcpp-no-bootstrap
1020 @if libdecnumber-no-bootstrap
1021 all-host: maybe-all-libdecnumber
1022 @endif libdecnumber-no-bootstrap
1023 all-host: maybe-all-libgui
1024 @if libiberty-no-bootstrap
1025 all-host: maybe-all-libiberty
1026 @endif libiberty-no-bootstrap
1027 all-host: maybe-all-libiconv
1028 all-host: maybe-all-m4
1029 all-host: maybe-all-readline
1030 all-host: maybe-all-sid
1031 all-host: maybe-all-sim
1032 all-host: maybe-all-texinfo
1033 @if zlib-no-bootstrap
1034 all-host: maybe-all-zlib
1035 @endif zlib-no-bootstrap
1036 all-host: maybe-all-gdb
1037 all-host: maybe-all-expect
1038 all-host: maybe-all-guile
1039 all-host: maybe-all-tk
1040 all-host: maybe-all-libtermcap
1041 all-host: maybe-all-utils
1042 all-host: maybe-all-gnattools
1043 @if lto-plugin-no-bootstrap
1044 all-host: maybe-all-lto-plugin
1045 @endif lto-plugin-no-bootstrap
1047 .PHONY: all-target
1049 @if target-libstdc++-v3-no-bootstrap
1050 all-target: maybe-all-target-libstdc++-v3
1051 @endif target-libstdc++-v3-no-bootstrap
1052 all-target: maybe-all-target-libmudflap
1053 all-target: maybe-all-target-libssp
1054 all-target: maybe-all-target-newlib
1055 @if target-libgcc-no-bootstrap
1056 all-target: maybe-all-target-libgcc
1057 @endif target-libgcc-no-bootstrap
1058 all-target: maybe-all-target-libquadmath
1059 all-target: maybe-all-target-libgfortran
1060 all-target: maybe-all-target-libobjc
1061 all-target: maybe-all-target-libgo
1062 all-target: maybe-all-target-libtermcap
1063 all-target: maybe-all-target-winsup
1064 all-target: maybe-all-target-libgloss
1065 all-target: maybe-all-target-libiberty
1066 all-target: maybe-all-target-libffi
1067 all-target: maybe-all-target-libjava
1068 all-target: maybe-all-target-zlib
1069 all-target: maybe-all-target-boehm-gc
1070 all-target: maybe-all-target-rda
1071 all-target: maybe-all-target-libada
1072 @if target-libgomp-no-bootstrap
1073 all-target: maybe-all-target-libgomp
1074 @endif target-libgomp-no-bootstrap
1076 # Do a target for all the subdirectories. A ``make do-X'' will do a
1077 # ``make X'' in all subdirectories (because, in general, there is a
1078 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1079 # but it may do additional work as well).
1081 .PHONY: do-info
1082 do-info:
1083 @: $(MAKE); $(unstage)
1084 @r=`${PWD_COMMAND}`; export r; \
1085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1086 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1087 info-target
1090 .PHONY: info-host
1092 info-host: maybe-info-bfd
1093 info-host: maybe-info-opcodes
1094 info-host: maybe-info-binutils
1095 info-host: maybe-info-bison
1096 info-host: maybe-info-cgen
1097 info-host: maybe-info-dejagnu
1098 info-host: maybe-info-etc
1099 info-host: maybe-info-fastjar
1100 info-host: maybe-info-fixincludes
1101 info-host: maybe-info-flex
1102 info-host: maybe-info-gas
1103 info-host: maybe-info-gcc
1104 info-host: maybe-info-gmp
1105 info-host: maybe-info-mpfr
1106 info-host: maybe-info-mpc
1107 info-host: maybe-info-ppl
1108 info-host: maybe-info-cloog
1109 info-host: maybe-info-libelf
1110 info-host: maybe-info-gold
1111 info-host: maybe-info-gprof
1112 info-host: maybe-info-intl
1113 info-host: maybe-info-tcl
1114 info-host: maybe-info-itcl
1115 info-host: maybe-info-ld
1116 info-host: maybe-info-libcpp
1117 info-host: maybe-info-libdecnumber
1118 info-host: maybe-info-libgui
1119 info-host: maybe-info-libiberty
1120 info-host: maybe-info-libiconv
1121 info-host: maybe-info-m4
1122 info-host: maybe-info-readline
1123 info-host: maybe-info-sid
1124 info-host: maybe-info-sim
1125 info-host: maybe-info-texinfo
1126 info-host: maybe-info-zlib
1127 info-host: maybe-info-gdb
1128 info-host: maybe-info-expect
1129 info-host: maybe-info-guile
1130 info-host: maybe-info-tk
1131 info-host: maybe-info-libtermcap
1132 info-host: maybe-info-utils
1133 info-host: maybe-info-gnattools
1134 info-host: maybe-info-lto-plugin
1136 .PHONY: info-target
1138 info-target: maybe-info-target-libstdc++-v3
1139 info-target: maybe-info-target-libmudflap
1140 info-target: maybe-info-target-libssp
1141 info-target: maybe-info-target-newlib
1142 info-target: maybe-info-target-libgcc
1143 info-target: maybe-info-target-libquadmath
1144 info-target: maybe-info-target-libgfortran
1145 info-target: maybe-info-target-libobjc
1146 info-target: maybe-info-target-libgo
1147 info-target: maybe-info-target-libtermcap
1148 info-target: maybe-info-target-winsup
1149 info-target: maybe-info-target-libgloss
1150 info-target: maybe-info-target-libiberty
1151 info-target: maybe-info-target-libffi
1152 info-target: maybe-info-target-libjava
1153 info-target: maybe-info-target-zlib
1154 info-target: maybe-info-target-boehm-gc
1155 info-target: maybe-info-target-rda
1156 info-target: maybe-info-target-libada
1157 info-target: maybe-info-target-libgomp
1159 .PHONY: do-dvi
1160 do-dvi:
1161 @: $(MAKE); $(unstage)
1162 @r=`${PWD_COMMAND}`; export r; \
1163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1165 dvi-target
1168 .PHONY: dvi-host
1170 dvi-host: maybe-dvi-bfd
1171 dvi-host: maybe-dvi-opcodes
1172 dvi-host: maybe-dvi-binutils
1173 dvi-host: maybe-dvi-bison
1174 dvi-host: maybe-dvi-cgen
1175 dvi-host: maybe-dvi-dejagnu
1176 dvi-host: maybe-dvi-etc
1177 dvi-host: maybe-dvi-fastjar
1178 dvi-host: maybe-dvi-fixincludes
1179 dvi-host: maybe-dvi-flex
1180 dvi-host: maybe-dvi-gas
1181 dvi-host: maybe-dvi-gcc
1182 dvi-host: maybe-dvi-gmp
1183 dvi-host: maybe-dvi-mpfr
1184 dvi-host: maybe-dvi-mpc
1185 dvi-host: maybe-dvi-ppl
1186 dvi-host: maybe-dvi-cloog
1187 dvi-host: maybe-dvi-libelf
1188 dvi-host: maybe-dvi-gold
1189 dvi-host: maybe-dvi-gprof
1190 dvi-host: maybe-dvi-intl
1191 dvi-host: maybe-dvi-tcl
1192 dvi-host: maybe-dvi-itcl
1193 dvi-host: maybe-dvi-ld
1194 dvi-host: maybe-dvi-libcpp
1195 dvi-host: maybe-dvi-libdecnumber
1196 dvi-host: maybe-dvi-libgui
1197 dvi-host: maybe-dvi-libiberty
1198 dvi-host: maybe-dvi-libiconv
1199 dvi-host: maybe-dvi-m4
1200 dvi-host: maybe-dvi-readline
1201 dvi-host: maybe-dvi-sid
1202 dvi-host: maybe-dvi-sim
1203 dvi-host: maybe-dvi-texinfo
1204 dvi-host: maybe-dvi-zlib
1205 dvi-host: maybe-dvi-gdb
1206 dvi-host: maybe-dvi-expect
1207 dvi-host: maybe-dvi-guile
1208 dvi-host: maybe-dvi-tk
1209 dvi-host: maybe-dvi-libtermcap
1210 dvi-host: maybe-dvi-utils
1211 dvi-host: maybe-dvi-gnattools
1212 dvi-host: maybe-dvi-lto-plugin
1214 .PHONY: dvi-target
1216 dvi-target: maybe-dvi-target-libstdc++-v3
1217 dvi-target: maybe-dvi-target-libmudflap
1218 dvi-target: maybe-dvi-target-libssp
1219 dvi-target: maybe-dvi-target-newlib
1220 dvi-target: maybe-dvi-target-libgcc
1221 dvi-target: maybe-dvi-target-libquadmath
1222 dvi-target: maybe-dvi-target-libgfortran
1223 dvi-target: maybe-dvi-target-libobjc
1224 dvi-target: maybe-dvi-target-libgo
1225 dvi-target: maybe-dvi-target-libtermcap
1226 dvi-target: maybe-dvi-target-winsup
1227 dvi-target: maybe-dvi-target-libgloss
1228 dvi-target: maybe-dvi-target-libiberty
1229 dvi-target: maybe-dvi-target-libffi
1230 dvi-target: maybe-dvi-target-libjava
1231 dvi-target: maybe-dvi-target-zlib
1232 dvi-target: maybe-dvi-target-boehm-gc
1233 dvi-target: maybe-dvi-target-rda
1234 dvi-target: maybe-dvi-target-libada
1235 dvi-target: maybe-dvi-target-libgomp
1237 .PHONY: do-pdf
1238 do-pdf:
1239 @: $(MAKE); $(unstage)
1240 @r=`${PWD_COMMAND}`; export r; \
1241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1242 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1243 pdf-target
1246 .PHONY: pdf-host
1248 pdf-host: maybe-pdf-bfd
1249 pdf-host: maybe-pdf-opcodes
1250 pdf-host: maybe-pdf-binutils
1251 pdf-host: maybe-pdf-bison
1252 pdf-host: maybe-pdf-cgen
1253 pdf-host: maybe-pdf-dejagnu
1254 pdf-host: maybe-pdf-etc
1255 pdf-host: maybe-pdf-fastjar
1256 pdf-host: maybe-pdf-fixincludes
1257 pdf-host: maybe-pdf-flex
1258 pdf-host: maybe-pdf-gas
1259 pdf-host: maybe-pdf-gcc
1260 pdf-host: maybe-pdf-gmp
1261 pdf-host: maybe-pdf-mpfr
1262 pdf-host: maybe-pdf-mpc
1263 pdf-host: maybe-pdf-ppl
1264 pdf-host: maybe-pdf-cloog
1265 pdf-host: maybe-pdf-libelf
1266 pdf-host: maybe-pdf-gold
1267 pdf-host: maybe-pdf-gprof
1268 pdf-host: maybe-pdf-intl
1269 pdf-host: maybe-pdf-tcl
1270 pdf-host: maybe-pdf-itcl
1271 pdf-host: maybe-pdf-ld
1272 pdf-host: maybe-pdf-libcpp
1273 pdf-host: maybe-pdf-libdecnumber
1274 pdf-host: maybe-pdf-libgui
1275 pdf-host: maybe-pdf-libiberty
1276 pdf-host: maybe-pdf-libiconv
1277 pdf-host: maybe-pdf-m4
1278 pdf-host: maybe-pdf-readline
1279 pdf-host: maybe-pdf-sid
1280 pdf-host: maybe-pdf-sim
1281 pdf-host: maybe-pdf-texinfo
1282 pdf-host: maybe-pdf-zlib
1283 pdf-host: maybe-pdf-gdb
1284 pdf-host: maybe-pdf-expect
1285 pdf-host: maybe-pdf-guile
1286 pdf-host: maybe-pdf-tk
1287 pdf-host: maybe-pdf-libtermcap
1288 pdf-host: maybe-pdf-utils
1289 pdf-host: maybe-pdf-gnattools
1290 pdf-host: maybe-pdf-lto-plugin
1292 .PHONY: pdf-target
1294 pdf-target: maybe-pdf-target-libstdc++-v3
1295 pdf-target: maybe-pdf-target-libmudflap
1296 pdf-target: maybe-pdf-target-libssp
1297 pdf-target: maybe-pdf-target-newlib
1298 pdf-target: maybe-pdf-target-libgcc
1299 pdf-target: maybe-pdf-target-libquadmath
1300 pdf-target: maybe-pdf-target-libgfortran
1301 pdf-target: maybe-pdf-target-libobjc
1302 pdf-target: maybe-pdf-target-libgo
1303 pdf-target: maybe-pdf-target-libtermcap
1304 pdf-target: maybe-pdf-target-winsup
1305 pdf-target: maybe-pdf-target-libgloss
1306 pdf-target: maybe-pdf-target-libiberty
1307 pdf-target: maybe-pdf-target-libffi
1308 pdf-target: maybe-pdf-target-libjava
1309 pdf-target: maybe-pdf-target-zlib
1310 pdf-target: maybe-pdf-target-boehm-gc
1311 pdf-target: maybe-pdf-target-rda
1312 pdf-target: maybe-pdf-target-libada
1313 pdf-target: maybe-pdf-target-libgomp
1315 .PHONY: do-html
1316 do-html:
1317 @: $(MAKE); $(unstage)
1318 @r=`${PWD_COMMAND}`; export r; \
1319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1320 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1321 html-target
1324 .PHONY: html-host
1326 html-host: maybe-html-bfd
1327 html-host: maybe-html-opcodes
1328 html-host: maybe-html-binutils
1329 html-host: maybe-html-bison
1330 html-host: maybe-html-cgen
1331 html-host: maybe-html-dejagnu
1332 html-host: maybe-html-etc
1333 html-host: maybe-html-fastjar
1334 html-host: maybe-html-fixincludes
1335 html-host: maybe-html-flex
1336 html-host: maybe-html-gas
1337 html-host: maybe-html-gcc
1338 html-host: maybe-html-gmp
1339 html-host: maybe-html-mpfr
1340 html-host: maybe-html-mpc
1341 html-host: maybe-html-ppl
1342 html-host: maybe-html-cloog
1343 html-host: maybe-html-libelf
1344 html-host: maybe-html-gold
1345 html-host: maybe-html-gprof
1346 html-host: maybe-html-intl
1347 html-host: maybe-html-tcl
1348 html-host: maybe-html-itcl
1349 html-host: maybe-html-ld
1350 html-host: maybe-html-libcpp
1351 html-host: maybe-html-libdecnumber
1352 html-host: maybe-html-libgui
1353 html-host: maybe-html-libiberty
1354 html-host: maybe-html-libiconv
1355 html-host: maybe-html-m4
1356 html-host: maybe-html-readline
1357 html-host: maybe-html-sid
1358 html-host: maybe-html-sim
1359 html-host: maybe-html-texinfo
1360 html-host: maybe-html-zlib
1361 html-host: maybe-html-gdb
1362 html-host: maybe-html-expect
1363 html-host: maybe-html-guile
1364 html-host: maybe-html-tk
1365 html-host: maybe-html-libtermcap
1366 html-host: maybe-html-utils
1367 html-host: maybe-html-gnattools
1368 html-host: maybe-html-lto-plugin
1370 .PHONY: html-target
1372 html-target: maybe-html-target-libstdc++-v3
1373 html-target: maybe-html-target-libmudflap
1374 html-target: maybe-html-target-libssp
1375 html-target: maybe-html-target-newlib
1376 html-target: maybe-html-target-libgcc
1377 html-target: maybe-html-target-libquadmath
1378 html-target: maybe-html-target-libgfortran
1379 html-target: maybe-html-target-libobjc
1380 html-target: maybe-html-target-libgo
1381 html-target: maybe-html-target-libtermcap
1382 html-target: maybe-html-target-winsup
1383 html-target: maybe-html-target-libgloss
1384 html-target: maybe-html-target-libiberty
1385 html-target: maybe-html-target-libffi
1386 html-target: maybe-html-target-libjava
1387 html-target: maybe-html-target-zlib
1388 html-target: maybe-html-target-boehm-gc
1389 html-target: maybe-html-target-rda
1390 html-target: maybe-html-target-libada
1391 html-target: maybe-html-target-libgomp
1393 .PHONY: do-TAGS
1394 do-TAGS:
1395 @: $(MAKE); $(unstage)
1396 @r=`${PWD_COMMAND}`; export r; \
1397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1398 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1399 TAGS-target
1402 .PHONY: TAGS-host
1404 TAGS-host: maybe-TAGS-bfd
1405 TAGS-host: maybe-TAGS-opcodes
1406 TAGS-host: maybe-TAGS-binutils
1407 TAGS-host: maybe-TAGS-bison
1408 TAGS-host: maybe-TAGS-cgen
1409 TAGS-host: maybe-TAGS-dejagnu
1410 TAGS-host: maybe-TAGS-etc
1411 TAGS-host: maybe-TAGS-fastjar
1412 TAGS-host: maybe-TAGS-fixincludes
1413 TAGS-host: maybe-TAGS-flex
1414 TAGS-host: maybe-TAGS-gas
1415 TAGS-host: maybe-TAGS-gcc
1416 TAGS-host: maybe-TAGS-gmp
1417 TAGS-host: maybe-TAGS-mpfr
1418 TAGS-host: maybe-TAGS-mpc
1419 TAGS-host: maybe-TAGS-ppl
1420 TAGS-host: maybe-TAGS-cloog
1421 TAGS-host: maybe-TAGS-libelf
1422 TAGS-host: maybe-TAGS-gold
1423 TAGS-host: maybe-TAGS-gprof
1424 TAGS-host: maybe-TAGS-intl
1425 TAGS-host: maybe-TAGS-tcl
1426 TAGS-host: maybe-TAGS-itcl
1427 TAGS-host: maybe-TAGS-ld
1428 TAGS-host: maybe-TAGS-libcpp
1429 TAGS-host: maybe-TAGS-libdecnumber
1430 TAGS-host: maybe-TAGS-libgui
1431 TAGS-host: maybe-TAGS-libiberty
1432 TAGS-host: maybe-TAGS-libiconv
1433 TAGS-host: maybe-TAGS-m4
1434 TAGS-host: maybe-TAGS-readline
1435 TAGS-host: maybe-TAGS-sid
1436 TAGS-host: maybe-TAGS-sim
1437 TAGS-host: maybe-TAGS-texinfo
1438 TAGS-host: maybe-TAGS-zlib
1439 TAGS-host: maybe-TAGS-gdb
1440 TAGS-host: maybe-TAGS-expect
1441 TAGS-host: maybe-TAGS-guile
1442 TAGS-host: maybe-TAGS-tk
1443 TAGS-host: maybe-TAGS-libtermcap
1444 TAGS-host: maybe-TAGS-utils
1445 TAGS-host: maybe-TAGS-gnattools
1446 TAGS-host: maybe-TAGS-lto-plugin
1448 .PHONY: TAGS-target
1450 TAGS-target: maybe-TAGS-target-libstdc++-v3
1451 TAGS-target: maybe-TAGS-target-libmudflap
1452 TAGS-target: maybe-TAGS-target-libssp
1453 TAGS-target: maybe-TAGS-target-newlib
1454 TAGS-target: maybe-TAGS-target-libgcc
1455 TAGS-target: maybe-TAGS-target-libquadmath
1456 TAGS-target: maybe-TAGS-target-libgfortran
1457 TAGS-target: maybe-TAGS-target-libobjc
1458 TAGS-target: maybe-TAGS-target-libgo
1459 TAGS-target: maybe-TAGS-target-libtermcap
1460 TAGS-target: maybe-TAGS-target-winsup
1461 TAGS-target: maybe-TAGS-target-libgloss
1462 TAGS-target: maybe-TAGS-target-libiberty
1463 TAGS-target: maybe-TAGS-target-libffi
1464 TAGS-target: maybe-TAGS-target-libjava
1465 TAGS-target: maybe-TAGS-target-zlib
1466 TAGS-target: maybe-TAGS-target-boehm-gc
1467 TAGS-target: maybe-TAGS-target-rda
1468 TAGS-target: maybe-TAGS-target-libada
1469 TAGS-target: maybe-TAGS-target-libgomp
1471 .PHONY: do-install-info
1472 do-install-info:
1473 @: $(MAKE); $(unstage)
1474 @r=`${PWD_COMMAND}`; export r; \
1475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1476 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1477 install-info-target
1480 .PHONY: install-info-host
1482 install-info-host: maybe-install-info-bfd
1483 install-info-host: maybe-install-info-opcodes
1484 install-info-host: maybe-install-info-binutils
1485 install-info-host: maybe-install-info-bison
1486 install-info-host: maybe-install-info-cgen
1487 install-info-host: maybe-install-info-dejagnu
1488 install-info-host: maybe-install-info-etc
1489 install-info-host: maybe-install-info-fastjar
1490 install-info-host: maybe-install-info-fixincludes
1491 install-info-host: maybe-install-info-flex
1492 install-info-host: maybe-install-info-gas
1493 install-info-host: maybe-install-info-gcc
1494 install-info-host: maybe-install-info-gmp
1495 install-info-host: maybe-install-info-mpfr
1496 install-info-host: maybe-install-info-mpc
1497 install-info-host: maybe-install-info-ppl
1498 install-info-host: maybe-install-info-cloog
1499 install-info-host: maybe-install-info-libelf
1500 install-info-host: maybe-install-info-gold
1501 install-info-host: maybe-install-info-gprof
1502 install-info-host: maybe-install-info-intl
1503 install-info-host: maybe-install-info-tcl
1504 install-info-host: maybe-install-info-itcl
1505 install-info-host: maybe-install-info-ld
1506 install-info-host: maybe-install-info-libcpp
1507 install-info-host: maybe-install-info-libdecnumber
1508 install-info-host: maybe-install-info-libgui
1509 install-info-host: maybe-install-info-libiberty
1510 install-info-host: maybe-install-info-libiconv
1511 install-info-host: maybe-install-info-m4
1512 install-info-host: maybe-install-info-readline
1513 install-info-host: maybe-install-info-sid
1514 install-info-host: maybe-install-info-sim
1515 install-info-host: maybe-install-info-texinfo
1516 install-info-host: maybe-install-info-zlib
1517 install-info-host: maybe-install-info-gdb
1518 install-info-host: maybe-install-info-expect
1519 install-info-host: maybe-install-info-guile
1520 install-info-host: maybe-install-info-tk
1521 install-info-host: maybe-install-info-libtermcap
1522 install-info-host: maybe-install-info-utils
1523 install-info-host: maybe-install-info-gnattools
1524 install-info-host: maybe-install-info-lto-plugin
1526 .PHONY: install-info-target
1528 install-info-target: maybe-install-info-target-libstdc++-v3
1529 install-info-target: maybe-install-info-target-libmudflap
1530 install-info-target: maybe-install-info-target-libssp
1531 install-info-target: maybe-install-info-target-newlib
1532 install-info-target: maybe-install-info-target-libgcc
1533 install-info-target: maybe-install-info-target-libquadmath
1534 install-info-target: maybe-install-info-target-libgfortran
1535 install-info-target: maybe-install-info-target-libobjc
1536 install-info-target: maybe-install-info-target-libgo
1537 install-info-target: maybe-install-info-target-libtermcap
1538 install-info-target: maybe-install-info-target-winsup
1539 install-info-target: maybe-install-info-target-libgloss
1540 install-info-target: maybe-install-info-target-libiberty
1541 install-info-target: maybe-install-info-target-libffi
1542 install-info-target: maybe-install-info-target-libjava
1543 install-info-target: maybe-install-info-target-zlib
1544 install-info-target: maybe-install-info-target-boehm-gc
1545 install-info-target: maybe-install-info-target-rda
1546 install-info-target: maybe-install-info-target-libada
1547 install-info-target: maybe-install-info-target-libgomp
1549 .PHONY: do-install-pdf
1550 do-install-pdf:
1551 @: $(MAKE); $(unstage)
1552 @r=`${PWD_COMMAND}`; export r; \
1553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1555 install-pdf-target
1558 .PHONY: install-pdf-host
1560 install-pdf-host: maybe-install-pdf-bfd
1561 install-pdf-host: maybe-install-pdf-opcodes
1562 install-pdf-host: maybe-install-pdf-binutils
1563 install-pdf-host: maybe-install-pdf-bison
1564 install-pdf-host: maybe-install-pdf-cgen
1565 install-pdf-host: maybe-install-pdf-dejagnu
1566 install-pdf-host: maybe-install-pdf-etc
1567 install-pdf-host: maybe-install-pdf-fastjar
1568 install-pdf-host: maybe-install-pdf-fixincludes
1569 install-pdf-host: maybe-install-pdf-flex
1570 install-pdf-host: maybe-install-pdf-gas
1571 install-pdf-host: maybe-install-pdf-gcc
1572 install-pdf-host: maybe-install-pdf-gmp
1573 install-pdf-host: maybe-install-pdf-mpfr
1574 install-pdf-host: maybe-install-pdf-mpc
1575 install-pdf-host: maybe-install-pdf-ppl
1576 install-pdf-host: maybe-install-pdf-cloog
1577 install-pdf-host: maybe-install-pdf-libelf
1578 install-pdf-host: maybe-install-pdf-gold
1579 install-pdf-host: maybe-install-pdf-gprof
1580 install-pdf-host: maybe-install-pdf-intl
1581 install-pdf-host: maybe-install-pdf-tcl
1582 install-pdf-host: maybe-install-pdf-itcl
1583 install-pdf-host: maybe-install-pdf-ld
1584 install-pdf-host: maybe-install-pdf-libcpp
1585 install-pdf-host: maybe-install-pdf-libdecnumber
1586 install-pdf-host: maybe-install-pdf-libgui
1587 install-pdf-host: maybe-install-pdf-libiberty
1588 install-pdf-host: maybe-install-pdf-libiconv
1589 install-pdf-host: maybe-install-pdf-m4
1590 install-pdf-host: maybe-install-pdf-readline
1591 install-pdf-host: maybe-install-pdf-sid
1592 install-pdf-host: maybe-install-pdf-sim
1593 install-pdf-host: maybe-install-pdf-texinfo
1594 install-pdf-host: maybe-install-pdf-zlib
1595 install-pdf-host: maybe-install-pdf-gdb
1596 install-pdf-host: maybe-install-pdf-expect
1597 install-pdf-host: maybe-install-pdf-guile
1598 install-pdf-host: maybe-install-pdf-tk
1599 install-pdf-host: maybe-install-pdf-libtermcap
1600 install-pdf-host: maybe-install-pdf-utils
1601 install-pdf-host: maybe-install-pdf-gnattools
1602 install-pdf-host: maybe-install-pdf-lto-plugin
1604 .PHONY: install-pdf-target
1606 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1607 install-pdf-target: maybe-install-pdf-target-libmudflap
1608 install-pdf-target: maybe-install-pdf-target-libssp
1609 install-pdf-target: maybe-install-pdf-target-newlib
1610 install-pdf-target: maybe-install-pdf-target-libgcc
1611 install-pdf-target: maybe-install-pdf-target-libquadmath
1612 install-pdf-target: maybe-install-pdf-target-libgfortran
1613 install-pdf-target: maybe-install-pdf-target-libobjc
1614 install-pdf-target: maybe-install-pdf-target-libgo
1615 install-pdf-target: maybe-install-pdf-target-libtermcap
1616 install-pdf-target: maybe-install-pdf-target-winsup
1617 install-pdf-target: maybe-install-pdf-target-libgloss
1618 install-pdf-target: maybe-install-pdf-target-libiberty
1619 install-pdf-target: maybe-install-pdf-target-libffi
1620 install-pdf-target: maybe-install-pdf-target-libjava
1621 install-pdf-target: maybe-install-pdf-target-zlib
1622 install-pdf-target: maybe-install-pdf-target-boehm-gc
1623 install-pdf-target: maybe-install-pdf-target-rda
1624 install-pdf-target: maybe-install-pdf-target-libada
1625 install-pdf-target: maybe-install-pdf-target-libgomp
1627 .PHONY: do-install-html
1628 do-install-html:
1629 @: $(MAKE); $(unstage)
1630 @r=`${PWD_COMMAND}`; export r; \
1631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1632 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1633 install-html-target
1636 .PHONY: install-html-host
1638 install-html-host: maybe-install-html-bfd
1639 install-html-host: maybe-install-html-opcodes
1640 install-html-host: maybe-install-html-binutils
1641 install-html-host: maybe-install-html-bison
1642 install-html-host: maybe-install-html-cgen
1643 install-html-host: maybe-install-html-dejagnu
1644 install-html-host: maybe-install-html-etc
1645 install-html-host: maybe-install-html-fastjar
1646 install-html-host: maybe-install-html-fixincludes
1647 install-html-host: maybe-install-html-flex
1648 install-html-host: maybe-install-html-gas
1649 install-html-host: maybe-install-html-gcc
1650 install-html-host: maybe-install-html-gmp
1651 install-html-host: maybe-install-html-mpfr
1652 install-html-host: maybe-install-html-mpc
1653 install-html-host: maybe-install-html-ppl
1654 install-html-host: maybe-install-html-cloog
1655 install-html-host: maybe-install-html-libelf
1656 install-html-host: maybe-install-html-gold
1657 install-html-host: maybe-install-html-gprof
1658 install-html-host: maybe-install-html-intl
1659 install-html-host: maybe-install-html-tcl
1660 install-html-host: maybe-install-html-itcl
1661 install-html-host: maybe-install-html-ld
1662 install-html-host: maybe-install-html-libcpp
1663 install-html-host: maybe-install-html-libdecnumber
1664 install-html-host: maybe-install-html-libgui
1665 install-html-host: maybe-install-html-libiberty
1666 install-html-host: maybe-install-html-libiconv
1667 install-html-host: maybe-install-html-m4
1668 install-html-host: maybe-install-html-readline
1669 install-html-host: maybe-install-html-sid
1670 install-html-host: maybe-install-html-sim
1671 install-html-host: maybe-install-html-texinfo
1672 install-html-host: maybe-install-html-zlib
1673 install-html-host: maybe-install-html-gdb
1674 install-html-host: maybe-install-html-expect
1675 install-html-host: maybe-install-html-guile
1676 install-html-host: maybe-install-html-tk
1677 install-html-host: maybe-install-html-libtermcap
1678 install-html-host: maybe-install-html-utils
1679 install-html-host: maybe-install-html-gnattools
1680 install-html-host: maybe-install-html-lto-plugin
1682 .PHONY: install-html-target
1684 install-html-target: maybe-install-html-target-libstdc++-v3
1685 install-html-target: maybe-install-html-target-libmudflap
1686 install-html-target: maybe-install-html-target-libssp
1687 install-html-target: maybe-install-html-target-newlib
1688 install-html-target: maybe-install-html-target-libgcc
1689 install-html-target: maybe-install-html-target-libquadmath
1690 install-html-target: maybe-install-html-target-libgfortran
1691 install-html-target: maybe-install-html-target-libobjc
1692 install-html-target: maybe-install-html-target-libgo
1693 install-html-target: maybe-install-html-target-libtermcap
1694 install-html-target: maybe-install-html-target-winsup
1695 install-html-target: maybe-install-html-target-libgloss
1696 install-html-target: maybe-install-html-target-libiberty
1697 install-html-target: maybe-install-html-target-libffi
1698 install-html-target: maybe-install-html-target-libjava
1699 install-html-target: maybe-install-html-target-zlib
1700 install-html-target: maybe-install-html-target-boehm-gc
1701 install-html-target: maybe-install-html-target-rda
1702 install-html-target: maybe-install-html-target-libada
1703 install-html-target: maybe-install-html-target-libgomp
1705 .PHONY: do-installcheck
1706 do-installcheck:
1707 @: $(MAKE); $(unstage)
1708 @r=`${PWD_COMMAND}`; export r; \
1709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1710 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1711 installcheck-target
1714 .PHONY: installcheck-host
1716 installcheck-host: maybe-installcheck-bfd
1717 installcheck-host: maybe-installcheck-opcodes
1718 installcheck-host: maybe-installcheck-binutils
1719 installcheck-host: maybe-installcheck-bison
1720 installcheck-host: maybe-installcheck-cgen
1721 installcheck-host: maybe-installcheck-dejagnu
1722 installcheck-host: maybe-installcheck-etc
1723 installcheck-host: maybe-installcheck-fastjar
1724 installcheck-host: maybe-installcheck-fixincludes
1725 installcheck-host: maybe-installcheck-flex
1726 installcheck-host: maybe-installcheck-gas
1727 installcheck-host: maybe-installcheck-gcc
1728 installcheck-host: maybe-installcheck-gmp
1729 installcheck-host: maybe-installcheck-mpfr
1730 installcheck-host: maybe-installcheck-mpc
1731 installcheck-host: maybe-installcheck-ppl
1732 installcheck-host: maybe-installcheck-cloog
1733 installcheck-host: maybe-installcheck-libelf
1734 installcheck-host: maybe-installcheck-gold
1735 installcheck-host: maybe-installcheck-gprof
1736 installcheck-host: maybe-installcheck-intl
1737 installcheck-host: maybe-installcheck-tcl
1738 installcheck-host: maybe-installcheck-itcl
1739 installcheck-host: maybe-installcheck-ld
1740 installcheck-host: maybe-installcheck-libcpp
1741 installcheck-host: maybe-installcheck-libdecnumber
1742 installcheck-host: maybe-installcheck-libgui
1743 installcheck-host: maybe-installcheck-libiberty
1744 installcheck-host: maybe-installcheck-libiconv
1745 installcheck-host: maybe-installcheck-m4
1746 installcheck-host: maybe-installcheck-readline
1747 installcheck-host: maybe-installcheck-sid
1748 installcheck-host: maybe-installcheck-sim
1749 installcheck-host: maybe-installcheck-texinfo
1750 installcheck-host: maybe-installcheck-zlib
1751 installcheck-host: maybe-installcheck-gdb
1752 installcheck-host: maybe-installcheck-expect
1753 installcheck-host: maybe-installcheck-guile
1754 installcheck-host: maybe-installcheck-tk
1755 installcheck-host: maybe-installcheck-libtermcap
1756 installcheck-host: maybe-installcheck-utils
1757 installcheck-host: maybe-installcheck-gnattools
1758 installcheck-host: maybe-installcheck-lto-plugin
1760 .PHONY: installcheck-target
1762 installcheck-target: maybe-installcheck-target-libstdc++-v3
1763 installcheck-target: maybe-installcheck-target-libmudflap
1764 installcheck-target: maybe-installcheck-target-libssp
1765 installcheck-target: maybe-installcheck-target-newlib
1766 installcheck-target: maybe-installcheck-target-libgcc
1767 installcheck-target: maybe-installcheck-target-libquadmath
1768 installcheck-target: maybe-installcheck-target-libgfortran
1769 installcheck-target: maybe-installcheck-target-libobjc
1770 installcheck-target: maybe-installcheck-target-libgo
1771 installcheck-target: maybe-installcheck-target-libtermcap
1772 installcheck-target: maybe-installcheck-target-winsup
1773 installcheck-target: maybe-installcheck-target-libgloss
1774 installcheck-target: maybe-installcheck-target-libiberty
1775 installcheck-target: maybe-installcheck-target-libffi
1776 installcheck-target: maybe-installcheck-target-libjava
1777 installcheck-target: maybe-installcheck-target-zlib
1778 installcheck-target: maybe-installcheck-target-boehm-gc
1779 installcheck-target: maybe-installcheck-target-rda
1780 installcheck-target: maybe-installcheck-target-libada
1781 installcheck-target: maybe-installcheck-target-libgomp
1783 .PHONY: do-mostlyclean
1784 do-mostlyclean:
1785 @: $(MAKE); $(unstage)
1786 @r=`${PWD_COMMAND}`; export r; \
1787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1789 mostlyclean-target
1792 .PHONY: mostlyclean-host
1794 mostlyclean-host: maybe-mostlyclean-bfd
1795 mostlyclean-host: maybe-mostlyclean-opcodes
1796 mostlyclean-host: maybe-mostlyclean-binutils
1797 mostlyclean-host: maybe-mostlyclean-bison
1798 mostlyclean-host: maybe-mostlyclean-cgen
1799 mostlyclean-host: maybe-mostlyclean-dejagnu
1800 mostlyclean-host: maybe-mostlyclean-etc
1801 mostlyclean-host: maybe-mostlyclean-fastjar
1802 mostlyclean-host: maybe-mostlyclean-fixincludes
1803 mostlyclean-host: maybe-mostlyclean-flex
1804 mostlyclean-host: maybe-mostlyclean-gas
1805 mostlyclean-host: maybe-mostlyclean-gcc
1806 mostlyclean-host: maybe-mostlyclean-gmp
1807 mostlyclean-host: maybe-mostlyclean-mpfr
1808 mostlyclean-host: maybe-mostlyclean-mpc
1809 mostlyclean-host: maybe-mostlyclean-ppl
1810 mostlyclean-host: maybe-mostlyclean-cloog
1811 mostlyclean-host: maybe-mostlyclean-libelf
1812 mostlyclean-host: maybe-mostlyclean-gold
1813 mostlyclean-host: maybe-mostlyclean-gprof
1814 mostlyclean-host: maybe-mostlyclean-intl
1815 mostlyclean-host: maybe-mostlyclean-tcl
1816 mostlyclean-host: maybe-mostlyclean-itcl
1817 mostlyclean-host: maybe-mostlyclean-ld
1818 mostlyclean-host: maybe-mostlyclean-libcpp
1819 mostlyclean-host: maybe-mostlyclean-libdecnumber
1820 mostlyclean-host: maybe-mostlyclean-libgui
1821 mostlyclean-host: maybe-mostlyclean-libiberty
1822 mostlyclean-host: maybe-mostlyclean-libiconv
1823 mostlyclean-host: maybe-mostlyclean-m4
1824 mostlyclean-host: maybe-mostlyclean-readline
1825 mostlyclean-host: maybe-mostlyclean-sid
1826 mostlyclean-host: maybe-mostlyclean-sim
1827 mostlyclean-host: maybe-mostlyclean-texinfo
1828 mostlyclean-host: maybe-mostlyclean-zlib
1829 mostlyclean-host: maybe-mostlyclean-gdb
1830 mostlyclean-host: maybe-mostlyclean-expect
1831 mostlyclean-host: maybe-mostlyclean-guile
1832 mostlyclean-host: maybe-mostlyclean-tk
1833 mostlyclean-host: maybe-mostlyclean-libtermcap
1834 mostlyclean-host: maybe-mostlyclean-utils
1835 mostlyclean-host: maybe-mostlyclean-gnattools
1836 mostlyclean-host: maybe-mostlyclean-lto-plugin
1838 .PHONY: mostlyclean-target
1840 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1841 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1842 mostlyclean-target: maybe-mostlyclean-target-libssp
1843 mostlyclean-target: maybe-mostlyclean-target-newlib
1844 mostlyclean-target: maybe-mostlyclean-target-libgcc
1845 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1846 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1847 mostlyclean-target: maybe-mostlyclean-target-libobjc
1848 mostlyclean-target: maybe-mostlyclean-target-libgo
1849 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1850 mostlyclean-target: maybe-mostlyclean-target-winsup
1851 mostlyclean-target: maybe-mostlyclean-target-libgloss
1852 mostlyclean-target: maybe-mostlyclean-target-libiberty
1853 mostlyclean-target: maybe-mostlyclean-target-libffi
1854 mostlyclean-target: maybe-mostlyclean-target-libjava
1855 mostlyclean-target: maybe-mostlyclean-target-zlib
1856 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1857 mostlyclean-target: maybe-mostlyclean-target-rda
1858 mostlyclean-target: maybe-mostlyclean-target-libada
1859 mostlyclean-target: maybe-mostlyclean-target-libgomp
1861 .PHONY: do-clean
1862 do-clean:
1863 @: $(MAKE); $(unstage)
1864 @r=`${PWD_COMMAND}`; export r; \
1865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1866 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1867 clean-target
1870 .PHONY: clean-host
1872 clean-host: maybe-clean-bfd
1873 clean-host: maybe-clean-opcodes
1874 clean-host: maybe-clean-binutils
1875 clean-host: maybe-clean-bison
1876 clean-host: maybe-clean-cgen
1877 clean-host: maybe-clean-dejagnu
1878 clean-host: maybe-clean-etc
1879 clean-host: maybe-clean-fastjar
1880 clean-host: maybe-clean-fixincludes
1881 clean-host: maybe-clean-flex
1882 clean-host: maybe-clean-gas
1883 clean-host: maybe-clean-gcc
1884 clean-host: maybe-clean-gmp
1885 clean-host: maybe-clean-mpfr
1886 clean-host: maybe-clean-mpc
1887 clean-host: maybe-clean-ppl
1888 clean-host: maybe-clean-cloog
1889 clean-host: maybe-clean-libelf
1890 clean-host: maybe-clean-gold
1891 clean-host: maybe-clean-gprof
1892 clean-host: maybe-clean-intl
1893 clean-host: maybe-clean-tcl
1894 clean-host: maybe-clean-itcl
1895 clean-host: maybe-clean-ld
1896 clean-host: maybe-clean-libcpp
1897 clean-host: maybe-clean-libdecnumber
1898 clean-host: maybe-clean-libgui
1899 clean-host: maybe-clean-libiberty
1900 clean-host: maybe-clean-libiconv
1901 clean-host: maybe-clean-m4
1902 clean-host: maybe-clean-readline
1903 clean-host: maybe-clean-sid
1904 clean-host: maybe-clean-sim
1905 clean-host: maybe-clean-texinfo
1906 clean-host: maybe-clean-zlib
1907 clean-host: maybe-clean-gdb
1908 clean-host: maybe-clean-expect
1909 clean-host: maybe-clean-guile
1910 clean-host: maybe-clean-tk
1911 clean-host: maybe-clean-libtermcap
1912 clean-host: maybe-clean-utils
1913 clean-host: maybe-clean-gnattools
1914 clean-host: maybe-clean-lto-plugin
1916 .PHONY: clean-target
1918 clean-target: maybe-clean-target-libstdc++-v3
1919 clean-target: maybe-clean-target-libmudflap
1920 clean-target: maybe-clean-target-libssp
1921 clean-target: maybe-clean-target-newlib
1922 clean-target: maybe-clean-target-libgcc
1923 clean-target: maybe-clean-target-libquadmath
1924 clean-target: maybe-clean-target-libgfortran
1925 clean-target: maybe-clean-target-libobjc
1926 clean-target: maybe-clean-target-libgo
1927 clean-target: maybe-clean-target-libtermcap
1928 clean-target: maybe-clean-target-winsup
1929 clean-target: maybe-clean-target-libgloss
1930 clean-target: maybe-clean-target-libiberty
1931 clean-target: maybe-clean-target-libffi
1932 clean-target: maybe-clean-target-libjava
1933 clean-target: maybe-clean-target-zlib
1934 clean-target: maybe-clean-target-boehm-gc
1935 clean-target: maybe-clean-target-rda
1936 clean-target: maybe-clean-target-libada
1937 clean-target: maybe-clean-target-libgomp
1939 .PHONY: do-distclean
1940 do-distclean:
1941 @: $(MAKE); $(unstage)
1942 @r=`${PWD_COMMAND}`; export r; \
1943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1944 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1945 distclean-target
1948 .PHONY: distclean-host
1950 distclean-host: maybe-distclean-bfd
1951 distclean-host: maybe-distclean-opcodes
1952 distclean-host: maybe-distclean-binutils
1953 distclean-host: maybe-distclean-bison
1954 distclean-host: maybe-distclean-cgen
1955 distclean-host: maybe-distclean-dejagnu
1956 distclean-host: maybe-distclean-etc
1957 distclean-host: maybe-distclean-fastjar
1958 distclean-host: maybe-distclean-fixincludes
1959 distclean-host: maybe-distclean-flex
1960 distclean-host: maybe-distclean-gas
1961 distclean-host: maybe-distclean-gcc
1962 distclean-host: maybe-distclean-gmp
1963 distclean-host: maybe-distclean-mpfr
1964 distclean-host: maybe-distclean-mpc
1965 distclean-host: maybe-distclean-ppl
1966 distclean-host: maybe-distclean-cloog
1967 distclean-host: maybe-distclean-libelf
1968 distclean-host: maybe-distclean-gold
1969 distclean-host: maybe-distclean-gprof
1970 distclean-host: maybe-distclean-intl
1971 distclean-host: maybe-distclean-tcl
1972 distclean-host: maybe-distclean-itcl
1973 distclean-host: maybe-distclean-ld
1974 distclean-host: maybe-distclean-libcpp
1975 distclean-host: maybe-distclean-libdecnumber
1976 distclean-host: maybe-distclean-libgui
1977 distclean-host: maybe-distclean-libiberty
1978 distclean-host: maybe-distclean-libiconv
1979 distclean-host: maybe-distclean-m4
1980 distclean-host: maybe-distclean-readline
1981 distclean-host: maybe-distclean-sid
1982 distclean-host: maybe-distclean-sim
1983 distclean-host: maybe-distclean-texinfo
1984 distclean-host: maybe-distclean-zlib
1985 distclean-host: maybe-distclean-gdb
1986 distclean-host: maybe-distclean-expect
1987 distclean-host: maybe-distclean-guile
1988 distclean-host: maybe-distclean-tk
1989 distclean-host: maybe-distclean-libtermcap
1990 distclean-host: maybe-distclean-utils
1991 distclean-host: maybe-distclean-gnattools
1992 distclean-host: maybe-distclean-lto-plugin
1994 .PHONY: distclean-target
1996 distclean-target: maybe-distclean-target-libstdc++-v3
1997 distclean-target: maybe-distclean-target-libmudflap
1998 distclean-target: maybe-distclean-target-libssp
1999 distclean-target: maybe-distclean-target-newlib
2000 distclean-target: maybe-distclean-target-libgcc
2001 distclean-target: maybe-distclean-target-libquadmath
2002 distclean-target: maybe-distclean-target-libgfortran
2003 distclean-target: maybe-distclean-target-libobjc
2004 distclean-target: maybe-distclean-target-libgo
2005 distclean-target: maybe-distclean-target-libtermcap
2006 distclean-target: maybe-distclean-target-winsup
2007 distclean-target: maybe-distclean-target-libgloss
2008 distclean-target: maybe-distclean-target-libiberty
2009 distclean-target: maybe-distclean-target-libffi
2010 distclean-target: maybe-distclean-target-libjava
2011 distclean-target: maybe-distclean-target-zlib
2012 distclean-target: maybe-distclean-target-boehm-gc
2013 distclean-target: maybe-distclean-target-rda
2014 distclean-target: maybe-distclean-target-libada
2015 distclean-target: maybe-distclean-target-libgomp
2017 .PHONY: do-maintainer-clean
2018 do-maintainer-clean:
2019 @: $(MAKE); $(unstage)
2020 @r=`${PWD_COMMAND}`; export r; \
2021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2022 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2023 maintainer-clean-target
2026 .PHONY: maintainer-clean-host
2028 maintainer-clean-host: maybe-maintainer-clean-bfd
2029 maintainer-clean-host: maybe-maintainer-clean-opcodes
2030 maintainer-clean-host: maybe-maintainer-clean-binutils
2031 maintainer-clean-host: maybe-maintainer-clean-bison
2032 maintainer-clean-host: maybe-maintainer-clean-cgen
2033 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2034 maintainer-clean-host: maybe-maintainer-clean-etc
2035 maintainer-clean-host: maybe-maintainer-clean-fastjar
2036 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2037 maintainer-clean-host: maybe-maintainer-clean-flex
2038 maintainer-clean-host: maybe-maintainer-clean-gas
2039 maintainer-clean-host: maybe-maintainer-clean-gcc
2040 maintainer-clean-host: maybe-maintainer-clean-gmp
2041 maintainer-clean-host: maybe-maintainer-clean-mpfr
2042 maintainer-clean-host: maybe-maintainer-clean-mpc
2043 maintainer-clean-host: maybe-maintainer-clean-ppl
2044 maintainer-clean-host: maybe-maintainer-clean-cloog
2045 maintainer-clean-host: maybe-maintainer-clean-libelf
2046 maintainer-clean-host: maybe-maintainer-clean-gold
2047 maintainer-clean-host: maybe-maintainer-clean-gprof
2048 maintainer-clean-host: maybe-maintainer-clean-intl
2049 maintainer-clean-host: maybe-maintainer-clean-tcl
2050 maintainer-clean-host: maybe-maintainer-clean-itcl
2051 maintainer-clean-host: maybe-maintainer-clean-ld
2052 maintainer-clean-host: maybe-maintainer-clean-libcpp
2053 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2054 maintainer-clean-host: maybe-maintainer-clean-libgui
2055 maintainer-clean-host: maybe-maintainer-clean-libiberty
2056 maintainer-clean-host: maybe-maintainer-clean-libiconv
2057 maintainer-clean-host: maybe-maintainer-clean-m4
2058 maintainer-clean-host: maybe-maintainer-clean-readline
2059 maintainer-clean-host: maybe-maintainer-clean-sid
2060 maintainer-clean-host: maybe-maintainer-clean-sim
2061 maintainer-clean-host: maybe-maintainer-clean-texinfo
2062 maintainer-clean-host: maybe-maintainer-clean-zlib
2063 maintainer-clean-host: maybe-maintainer-clean-gdb
2064 maintainer-clean-host: maybe-maintainer-clean-expect
2065 maintainer-clean-host: maybe-maintainer-clean-guile
2066 maintainer-clean-host: maybe-maintainer-clean-tk
2067 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2068 maintainer-clean-host: maybe-maintainer-clean-utils
2069 maintainer-clean-host: maybe-maintainer-clean-gnattools
2070 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2072 .PHONY: maintainer-clean-target
2074 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2075 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2076 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2077 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2078 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2079 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2080 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2081 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2082 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2083 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2084 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2085 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2086 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2087 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2088 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2089 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2090 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2091 maintainer-clean-target: maybe-maintainer-clean-target-rda
2092 maintainer-clean-target: maybe-maintainer-clean-target-libada
2093 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2096 # Here are the targets which correspond to the do-X targets.
2098 .PHONY: info installcheck dvi pdf html
2099 .PHONY: install-info install-pdf install-html
2100 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2101 .PHONY: local-clean local-distclean local-maintainer-clean
2102 info: do-info
2103 installcheck: do-installcheck
2104 dvi: do-dvi
2105 pdf: do-pdf
2106 html: do-html
2108 # Make sure makeinfo is built before we do a `make info', if we're
2109 # in fact building texinfo.
2110 do-info: maybe-all-texinfo
2112 install-info: do-install-info dir.info
2113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2114 if [ -f dir.info ] ; then \
2115 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2116 else true ; fi
2118 install-pdf: do-install-pdf
2120 install-html: do-install-html
2122 local-clean:
2123 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2125 local-distclean:
2126 -rm -f Makefile config.status config.cache mh-frag mt-frag
2127 -rm -f maybedep.tmp serdep.tmp
2128 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2129 rm -rf $(TARGET_SUBDIR); \
2130 else true; fi
2131 -rm -rf $(BUILD_SUBDIR)
2132 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2133 rm -rf $(HOST_SUBDIR); \
2134 else true; fi
2135 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2136 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2137 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2138 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2139 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2140 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2142 local-maintainer-clean:
2143 @echo "This command is intended for maintainers to use;"
2144 @echo "it deletes files that may require special tools to rebuild."
2146 clean: do-clean local-clean
2147 mostlyclean: do-mostlyclean local-clean
2148 distclean: do-distclean local-clean local-distclean
2149 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2150 maintainer-clean: local-distclean
2151 realclean: maintainer-clean
2153 # Check target.
2155 .PHONY: check do-check
2156 check: do-check
2158 # Only include modules actually being configured and built.
2159 .PHONY: check-host
2160 check-host: \
2161 maybe-check-bfd \
2162 maybe-check-opcodes \
2163 maybe-check-binutils \
2164 maybe-check-bison \
2165 maybe-check-cgen \
2166 maybe-check-dejagnu \
2167 maybe-check-etc \
2168 maybe-check-fastjar \
2169 maybe-check-fixincludes \
2170 maybe-check-flex \
2171 maybe-check-gas \
2172 maybe-check-gcc \
2173 maybe-check-gmp \
2174 maybe-check-mpfr \
2175 maybe-check-mpc \
2176 maybe-check-ppl \
2177 maybe-check-cloog \
2178 maybe-check-libelf \
2179 maybe-check-gold \
2180 maybe-check-gprof \
2181 maybe-check-intl \
2182 maybe-check-tcl \
2183 maybe-check-itcl \
2184 maybe-check-ld \
2185 maybe-check-libcpp \
2186 maybe-check-libdecnumber \
2187 maybe-check-libgui \
2188 maybe-check-libiberty \
2189 maybe-check-libiconv \
2190 maybe-check-m4 \
2191 maybe-check-readline \
2192 maybe-check-sid \
2193 maybe-check-sim \
2194 maybe-check-texinfo \
2195 maybe-check-zlib \
2196 maybe-check-gdb \
2197 maybe-check-expect \
2198 maybe-check-guile \
2199 maybe-check-tk \
2200 maybe-check-libtermcap \
2201 maybe-check-utils \
2202 maybe-check-gnattools \
2203 maybe-check-lto-plugin
2205 .PHONY: check-target
2206 check-target: \
2207 maybe-check-target-libstdc++-v3 \
2208 maybe-check-target-libmudflap \
2209 maybe-check-target-libssp \
2210 maybe-check-target-newlib \
2211 maybe-check-target-libgcc \
2212 maybe-check-target-libquadmath \
2213 maybe-check-target-libgfortran \
2214 maybe-check-target-libobjc \
2215 maybe-check-target-libgo \
2216 maybe-check-target-libtermcap \
2217 maybe-check-target-winsup \
2218 maybe-check-target-libgloss \
2219 maybe-check-target-libiberty \
2220 maybe-check-target-libffi \
2221 maybe-check-target-libjava \
2222 maybe-check-target-zlib \
2223 maybe-check-target-boehm-gc \
2224 maybe-check-target-rda \
2225 maybe-check-target-libada \
2226 maybe-check-target-libgomp
2228 do-check:
2229 @: $(MAKE); $(unstage)
2230 @r=`${PWD_COMMAND}`; export r; \
2231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2232 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2234 # Automated reporting of test results.
2236 warning.log: build.log
2237 $(srcdir)/contrib/warn_summary build.log > $@
2239 mail-report.log:
2240 if test x'$(BOOT_CFLAGS)' != x''; then \
2241 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2242 fi; \
2243 $(srcdir)/contrib/test_summary -t >$@
2244 chmod +x $@
2245 echo If you really want to send e-mail, run ./$@ now
2247 mail-report-with-warnings.log: warning.log
2248 if test x'$(BOOT_CFLAGS)' != x''; then \
2249 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2250 fi; \
2251 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2252 chmod +x $@
2253 echo If you really want to send e-mail, run ./$@ now
2255 # Installation targets.
2257 .PHONY: install uninstall
2258 install:
2259 @: $(MAKE); $(unstage)
2260 @r=`${PWD_COMMAND}`; export r; \
2261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2262 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2264 .PHONY: install-host-nogcc
2265 install-host-nogcc: \
2266 maybe-install-bfd \
2267 maybe-install-opcodes \
2268 maybe-install-binutils \
2269 maybe-install-bison \
2270 maybe-install-cgen \
2271 maybe-install-dejagnu \
2272 maybe-install-etc \
2273 maybe-install-fastjar \
2274 maybe-install-fixincludes \
2275 maybe-install-flex \
2276 maybe-install-gas \
2277 maybe-install-gmp \
2278 maybe-install-mpfr \
2279 maybe-install-mpc \
2280 maybe-install-ppl \
2281 maybe-install-cloog \
2282 maybe-install-libelf \
2283 maybe-install-gold \
2284 maybe-install-gprof \
2285 maybe-install-intl \
2286 maybe-install-tcl \
2287 maybe-install-itcl \
2288 maybe-install-ld \
2289 maybe-install-libcpp \
2290 maybe-install-libdecnumber \
2291 maybe-install-libgui \
2292 maybe-install-libiberty \
2293 maybe-install-libiconv \
2294 maybe-install-m4 \
2295 maybe-install-readline \
2296 maybe-install-sid \
2297 maybe-install-sim \
2298 maybe-install-texinfo \
2299 maybe-install-zlib \
2300 maybe-install-gdb \
2301 maybe-install-expect \
2302 maybe-install-guile \
2303 maybe-install-tk \
2304 maybe-install-libtermcap \
2305 maybe-install-utils \
2306 maybe-install-gnattools \
2307 maybe-install-lto-plugin
2309 .PHONY: install-host
2310 install-host: \
2311 maybe-install-bfd \
2312 maybe-install-opcodes \
2313 maybe-install-binutils \
2314 maybe-install-bison \
2315 maybe-install-cgen \
2316 maybe-install-dejagnu \
2317 maybe-install-etc \
2318 maybe-install-fastjar \
2319 maybe-install-fixincludes \
2320 maybe-install-flex \
2321 maybe-install-gas \
2322 maybe-install-gcc \
2323 maybe-install-gmp \
2324 maybe-install-mpfr \
2325 maybe-install-mpc \
2326 maybe-install-ppl \
2327 maybe-install-cloog \
2328 maybe-install-libelf \
2329 maybe-install-gold \
2330 maybe-install-gprof \
2331 maybe-install-intl \
2332 maybe-install-tcl \
2333 maybe-install-itcl \
2334 maybe-install-ld \
2335 maybe-install-libcpp \
2336 maybe-install-libdecnumber \
2337 maybe-install-libgui \
2338 maybe-install-libiberty \
2339 maybe-install-libiconv \
2340 maybe-install-m4 \
2341 maybe-install-readline \
2342 maybe-install-sid \
2343 maybe-install-sim \
2344 maybe-install-texinfo \
2345 maybe-install-zlib \
2346 maybe-install-gdb \
2347 maybe-install-expect \
2348 maybe-install-guile \
2349 maybe-install-tk \
2350 maybe-install-libtermcap \
2351 maybe-install-utils \
2352 maybe-install-gnattools \
2353 maybe-install-lto-plugin
2355 .PHONY: install-target
2356 install-target: \
2357 maybe-install-target-libstdc++-v3 \
2358 maybe-install-target-libmudflap \
2359 maybe-install-target-libssp \
2360 maybe-install-target-newlib \
2361 maybe-install-target-libgcc \
2362 maybe-install-target-libquadmath \
2363 maybe-install-target-libgfortran \
2364 maybe-install-target-libobjc \
2365 maybe-install-target-libgo \
2366 maybe-install-target-libtermcap \
2367 maybe-install-target-winsup \
2368 maybe-install-target-libgloss \
2369 maybe-install-target-libiberty \
2370 maybe-install-target-libffi \
2371 maybe-install-target-libjava \
2372 maybe-install-target-zlib \
2373 maybe-install-target-boehm-gc \
2374 maybe-install-target-rda \
2375 maybe-install-target-libada \
2376 maybe-install-target-libgomp
2378 uninstall:
2379 @echo "the uninstall target is not supported in this tree"
2381 .PHONY: install.all
2382 install.all: install-no-fixedincludes
2383 @if [ -f ./gcc/Makefile ] ; then \
2384 r=`${PWD_COMMAND}` ; export r ; \
2385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2386 $(HOST_EXPORTS) \
2387 (cd ./gcc && \
2388 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2389 else \
2390 true ; \
2393 # install-no-fixedincludes is used because Cygnus can not distribute
2394 # the fixed header files.
2395 .PHONY: install-no-fixedincludes
2396 install-no-fixedincludes: installdirs install-host-nogcc \
2397 install-target gcc-no-fixedincludes
2399 .PHONY: install-strip
2400 install-strip:
2401 @: $(MAKE); $(unstage)
2402 @r=`${PWD_COMMAND}`; export r; \
2403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2404 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2406 .PHONY: install-strip-host
2407 install-strip-host: \
2408 maybe-install-strip-bfd \
2409 maybe-install-strip-opcodes \
2410 maybe-install-strip-binutils \
2411 maybe-install-strip-bison \
2412 maybe-install-strip-cgen \
2413 maybe-install-strip-dejagnu \
2414 maybe-install-strip-etc \
2415 maybe-install-strip-fastjar \
2416 maybe-install-strip-fixincludes \
2417 maybe-install-strip-flex \
2418 maybe-install-strip-gas \
2419 maybe-install-strip-gcc \
2420 maybe-install-strip-gmp \
2421 maybe-install-strip-mpfr \
2422 maybe-install-strip-mpc \
2423 maybe-install-strip-ppl \
2424 maybe-install-strip-cloog \
2425 maybe-install-strip-libelf \
2426 maybe-install-strip-gold \
2427 maybe-install-strip-gprof \
2428 maybe-install-strip-intl \
2429 maybe-install-strip-tcl \
2430 maybe-install-strip-itcl \
2431 maybe-install-strip-ld \
2432 maybe-install-strip-libcpp \
2433 maybe-install-strip-libdecnumber \
2434 maybe-install-strip-libgui \
2435 maybe-install-strip-libiberty \
2436 maybe-install-strip-libiconv \
2437 maybe-install-strip-m4 \
2438 maybe-install-strip-readline \
2439 maybe-install-strip-sid \
2440 maybe-install-strip-sim \
2441 maybe-install-strip-texinfo \
2442 maybe-install-strip-zlib \
2443 maybe-install-strip-gdb \
2444 maybe-install-strip-expect \
2445 maybe-install-strip-guile \
2446 maybe-install-strip-tk \
2447 maybe-install-strip-libtermcap \
2448 maybe-install-strip-utils \
2449 maybe-install-strip-gnattools \
2450 maybe-install-strip-lto-plugin
2452 .PHONY: install-strip-target
2453 install-strip-target: \
2454 maybe-install-strip-target-libstdc++-v3 \
2455 maybe-install-strip-target-libmudflap \
2456 maybe-install-strip-target-libssp \
2457 maybe-install-strip-target-newlib \
2458 maybe-install-strip-target-libgcc \
2459 maybe-install-strip-target-libquadmath \
2460 maybe-install-strip-target-libgfortran \
2461 maybe-install-strip-target-libobjc \
2462 maybe-install-strip-target-libgo \
2463 maybe-install-strip-target-libtermcap \
2464 maybe-install-strip-target-winsup \
2465 maybe-install-strip-target-libgloss \
2466 maybe-install-strip-target-libiberty \
2467 maybe-install-strip-target-libffi \
2468 maybe-install-strip-target-libjava \
2469 maybe-install-strip-target-zlib \
2470 maybe-install-strip-target-boehm-gc \
2471 maybe-install-strip-target-rda \
2472 maybe-install-strip-target-libada \
2473 maybe-install-strip-target-libgomp
2476 ### other supporting targets
2478 MAKEDIRS= \
2479 $(DESTDIR)$(prefix) \
2480 $(DESTDIR)$(exec_prefix)
2481 .PHONY: installdirs
2482 installdirs: mkinstalldirs
2483 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2485 dir.info: do-install-info
2486 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2487 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2488 mv -f dir.info.new dir.info ; \
2489 else true ; \
2492 dist:
2493 @echo "Building a full distribution of this tree isn't done"
2494 @echo "via 'make dist'. Check out the etc/ subdirectory"
2496 etags tags: TAGS
2498 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2499 # ability to use several tags files at once, so there is probably no need
2500 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2501 # (if we felt like it) have this Makefile write a piece of elisp which
2502 # the user could load to tell emacs19 where all the TAGS files we just
2503 # built are.
2504 TAGS: do-TAGS
2506 # ------------------------------------
2507 # Macros for configure and all targets
2508 # ------------------------------------
2514 # --------------------------------------
2515 # Modules which run on the build machine
2516 # --------------------------------------
2519 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2520 maybe-configure-build-libiberty:
2521 @if gcc-bootstrap
2522 configure-build-libiberty: stage_current
2523 @endif gcc-bootstrap
2524 @if build-libiberty
2525 maybe-configure-build-libiberty: configure-build-libiberty
2526 configure-build-libiberty:
2527 @: $(MAKE); $(unstage)
2528 @r=`${PWD_COMMAND}`; export r; \
2529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2530 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2531 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2532 $(BUILD_EXPORTS) \
2533 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2534 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2535 case $(srcdir) in \
2536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2537 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2539 esac; \
2540 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2541 libsrcdir="$$s/libiberty"; \
2542 rm -f no-such-file || : ; \
2543 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2544 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2545 --target=${target_alias} $${srcdiroption} \
2546 || exit 1
2547 @endif build-libiberty
2553 .PHONY: all-build-libiberty maybe-all-build-libiberty
2554 maybe-all-build-libiberty:
2555 @if gcc-bootstrap
2556 all-build-libiberty: stage_current
2557 @endif gcc-bootstrap
2558 @if build-libiberty
2559 TARGET-build-libiberty=all
2560 maybe-all-build-libiberty: all-build-libiberty
2561 all-build-libiberty: configure-build-libiberty
2562 @: $(MAKE); $(unstage)
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 $(BUILD_EXPORTS) \
2566 (cd $(BUILD_SUBDIR)/libiberty && \
2567 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2568 $(TARGET-build-libiberty))
2569 @endif build-libiberty
2575 .PHONY: configure-build-bison maybe-configure-build-bison
2576 maybe-configure-build-bison:
2577 @if gcc-bootstrap
2578 configure-build-bison: stage_current
2579 @endif gcc-bootstrap
2580 @if build-bison
2581 maybe-configure-build-bison: configure-build-bison
2582 configure-build-bison:
2583 @: $(MAKE); $(unstage)
2584 @r=`${PWD_COMMAND}`; export r; \
2585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2586 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2587 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2588 $(BUILD_EXPORTS) \
2589 echo Configuring in $(BUILD_SUBDIR)/bison; \
2590 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2591 case $(srcdir) in \
2592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2593 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2595 esac; \
2596 srcdiroption="--srcdir=$${topdir}/bison"; \
2597 libsrcdir="$$s/bison"; \
2598 rm -f no-such-file || : ; \
2599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2600 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2601 --target=${target_alias} $${srcdiroption} \
2602 || exit 1
2603 @endif build-bison
2609 .PHONY: all-build-bison maybe-all-build-bison
2610 maybe-all-build-bison:
2611 @if gcc-bootstrap
2612 all-build-bison: stage_current
2613 @endif gcc-bootstrap
2614 @if build-bison
2615 TARGET-build-bison=all
2616 maybe-all-build-bison: all-build-bison
2617 all-build-bison: configure-build-bison
2618 @: $(MAKE); $(unstage)
2619 @r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2621 $(BUILD_EXPORTS) \
2622 (cd $(BUILD_SUBDIR)/bison && \
2623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2624 $(TARGET-build-bison))
2625 @endif build-bison
2631 .PHONY: configure-build-flex maybe-configure-build-flex
2632 maybe-configure-build-flex:
2633 @if gcc-bootstrap
2634 configure-build-flex: stage_current
2635 @endif gcc-bootstrap
2636 @if build-flex
2637 maybe-configure-build-flex: configure-build-flex
2638 configure-build-flex:
2639 @: $(MAKE); $(unstage)
2640 @r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2642 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2643 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2644 $(BUILD_EXPORTS) \
2645 echo Configuring in $(BUILD_SUBDIR)/flex; \
2646 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2647 case $(srcdir) in \
2648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2649 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2651 esac; \
2652 srcdiroption="--srcdir=$${topdir}/flex"; \
2653 libsrcdir="$$s/flex"; \
2654 rm -f no-such-file || : ; \
2655 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2656 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2657 --target=${target_alias} $${srcdiroption} \
2658 || exit 1
2659 @endif build-flex
2665 .PHONY: all-build-flex maybe-all-build-flex
2666 maybe-all-build-flex:
2667 @if gcc-bootstrap
2668 all-build-flex: stage_current
2669 @endif gcc-bootstrap
2670 @if build-flex
2671 TARGET-build-flex=all
2672 maybe-all-build-flex: all-build-flex
2673 all-build-flex: configure-build-flex
2674 @: $(MAKE); $(unstage)
2675 @r=`${PWD_COMMAND}`; export r; \
2676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 $(BUILD_EXPORTS) \
2678 (cd $(BUILD_SUBDIR)/flex && \
2679 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2680 $(TARGET-build-flex))
2681 @endif build-flex
2687 .PHONY: configure-build-m4 maybe-configure-build-m4
2688 maybe-configure-build-m4:
2689 @if gcc-bootstrap
2690 configure-build-m4: stage_current
2691 @endif gcc-bootstrap
2692 @if build-m4
2693 maybe-configure-build-m4: configure-build-m4
2694 configure-build-m4:
2695 @: $(MAKE); $(unstage)
2696 @r=`${PWD_COMMAND}`; export r; \
2697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2698 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2699 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2700 $(BUILD_EXPORTS) \
2701 echo Configuring in $(BUILD_SUBDIR)/m4; \
2702 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2703 case $(srcdir) in \
2704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2705 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2707 esac; \
2708 srcdiroption="--srcdir=$${topdir}/m4"; \
2709 libsrcdir="$$s/m4"; \
2710 rm -f no-such-file || : ; \
2711 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2712 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2713 --target=${target_alias} $${srcdiroption} \
2714 || exit 1
2715 @endif build-m4
2721 .PHONY: all-build-m4 maybe-all-build-m4
2722 maybe-all-build-m4:
2723 @if gcc-bootstrap
2724 all-build-m4: stage_current
2725 @endif gcc-bootstrap
2726 @if build-m4
2727 TARGET-build-m4=all
2728 maybe-all-build-m4: all-build-m4
2729 all-build-m4: configure-build-m4
2730 @: $(MAKE); $(unstage)
2731 @r=`${PWD_COMMAND}`; export r; \
2732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2733 $(BUILD_EXPORTS) \
2734 (cd $(BUILD_SUBDIR)/m4 && \
2735 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2736 $(TARGET-build-m4))
2737 @endif build-m4
2743 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2744 maybe-configure-build-texinfo:
2745 @if gcc-bootstrap
2746 configure-build-texinfo: stage_current
2747 @endif gcc-bootstrap
2748 @if build-texinfo
2749 maybe-configure-build-texinfo: configure-build-texinfo
2750 configure-build-texinfo:
2751 @: $(MAKE); $(unstage)
2752 @r=`${PWD_COMMAND}`; export r; \
2753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2754 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2755 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2756 $(BUILD_EXPORTS) \
2757 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2758 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2759 case $(srcdir) in \
2760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2761 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2763 esac; \
2764 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2765 libsrcdir="$$s/texinfo"; \
2766 rm -f no-such-file || : ; \
2767 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2768 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2769 --target=${target_alias} $${srcdiroption} \
2770 || exit 1
2771 @endif build-texinfo
2777 .PHONY: all-build-texinfo maybe-all-build-texinfo
2778 maybe-all-build-texinfo:
2779 @if gcc-bootstrap
2780 all-build-texinfo: stage_current
2781 @endif gcc-bootstrap
2782 @if build-texinfo
2783 TARGET-build-texinfo=all
2784 maybe-all-build-texinfo: all-build-texinfo
2785 all-build-texinfo: configure-build-texinfo
2786 @: $(MAKE); $(unstage)
2787 @r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 $(BUILD_EXPORTS) \
2790 (cd $(BUILD_SUBDIR)/texinfo && \
2791 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2792 $(TARGET-build-texinfo))
2793 @endif build-texinfo
2799 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2800 maybe-configure-build-fixincludes:
2801 @if gcc-bootstrap
2802 configure-build-fixincludes: stage_current
2803 @endif gcc-bootstrap
2804 @if build-fixincludes
2805 maybe-configure-build-fixincludes: configure-build-fixincludes
2806 configure-build-fixincludes:
2807 @: $(MAKE); $(unstage)
2808 @r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2811 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2812 $(BUILD_EXPORTS) \
2813 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2814 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2815 case $(srcdir) in \
2816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2817 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2819 esac; \
2820 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2821 libsrcdir="$$s/fixincludes"; \
2822 rm -f no-such-file || : ; \
2823 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2824 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2825 --target=${target_alias} $${srcdiroption} \
2826 || exit 1
2827 @endif build-fixincludes
2833 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2834 maybe-all-build-fixincludes:
2835 @if gcc-bootstrap
2836 all-build-fixincludes: stage_current
2837 @endif gcc-bootstrap
2838 @if build-fixincludes
2839 TARGET-build-fixincludes=all
2840 maybe-all-build-fixincludes: all-build-fixincludes
2841 all-build-fixincludes: configure-build-fixincludes
2842 @: $(MAKE); $(unstage)
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 $(BUILD_EXPORTS) \
2846 (cd $(BUILD_SUBDIR)/fixincludes && \
2847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2848 $(TARGET-build-fixincludes))
2849 @endif build-fixincludes
2855 # --------------------------------------
2856 # Modules which run on the host machine
2857 # --------------------------------------
2860 .PHONY: configure-bfd maybe-configure-bfd
2861 maybe-configure-bfd:
2862 @if gcc-bootstrap
2863 configure-bfd: stage_current
2864 @endif gcc-bootstrap
2865 @if bfd
2866 maybe-configure-bfd: configure-bfd
2867 configure-bfd:
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2872 $(HOST_EXPORTS) \
2873 echo Configuring in $(HOST_SUBDIR)/bfd; \
2874 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2875 case $(srcdir) in \
2876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2877 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2879 esac; \
2880 srcdiroption="--srcdir=$${topdir}/bfd"; \
2881 libsrcdir="$$s/bfd"; \
2882 $(SHELL) $${libsrcdir}/configure \
2883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2884 --target=${target_alias} $${srcdiroption} \
2885 || exit 1
2886 @endif bfd
2890 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2891 maybe-configure-stage1-bfd:
2892 @if bfd-bootstrap
2893 maybe-configure-stage1-bfd: configure-stage1-bfd
2894 configure-stage1-bfd:
2895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2896 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2897 @r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 TFLAGS="$(STAGE1_TFLAGS)"; \
2900 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2901 $(HOST_EXPORTS) \
2902 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2903 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2904 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2905 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2907 cd $(HOST_SUBDIR)/bfd || exit 1; \
2908 case $(srcdir) in \
2909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2910 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2912 esac; \
2913 srcdiroption="--srcdir=$${topdir}/bfd"; \
2914 libsrcdir="$$s/bfd"; \
2915 $(SHELL) $${libsrcdir}/configure \
2916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2917 --target=${target_alias} $${srcdiroption} \
2918 $(STAGE1_CONFIGURE_FLAGS)
2919 @endif bfd-bootstrap
2921 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2922 maybe-configure-stage2-bfd:
2923 @if bfd-bootstrap
2924 maybe-configure-stage2-bfd: configure-stage2-bfd
2925 configure-stage2-bfd:
2926 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2928 @r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 TFLAGS="$(STAGE2_TFLAGS)"; \
2931 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2932 $(HOST_EXPORTS) \
2933 $(POSTSTAGE1_HOST_EXPORTS) \
2934 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2935 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2936 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2937 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2939 cd $(HOST_SUBDIR)/bfd || exit 1; \
2940 case $(srcdir) in \
2941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2942 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2944 esac; \
2945 srcdiroption="--srcdir=$${topdir}/bfd"; \
2946 libsrcdir="$$s/bfd"; \
2947 $(SHELL) $${libsrcdir}/configure \
2948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2949 --target=${target_alias} $${srcdiroption} \
2950 --with-build-libsubdir=$(HOST_SUBDIR) \
2951 $(STAGE2_CONFIGURE_FLAGS)
2952 @endif bfd-bootstrap
2954 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2955 maybe-configure-stage3-bfd:
2956 @if bfd-bootstrap
2957 maybe-configure-stage3-bfd: configure-stage3-bfd
2958 configure-stage3-bfd:
2959 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2961 @r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 TFLAGS="$(STAGE3_TFLAGS)"; \
2964 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2965 $(HOST_EXPORTS) \
2966 $(POSTSTAGE1_HOST_EXPORTS) \
2967 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
2968 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
2969 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
2970 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
2971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2972 cd $(HOST_SUBDIR)/bfd || exit 1; \
2973 case $(srcdir) in \
2974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2975 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2977 esac; \
2978 srcdiroption="--srcdir=$${topdir}/bfd"; \
2979 libsrcdir="$$s/bfd"; \
2980 $(SHELL) $${libsrcdir}/configure \
2981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2982 --target=${target_alias} $${srcdiroption} \
2983 --with-build-libsubdir=$(HOST_SUBDIR) \
2984 $(STAGE3_CONFIGURE_FLAGS)
2985 @endif bfd-bootstrap
2987 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
2988 maybe-configure-stage4-bfd:
2989 @if bfd-bootstrap
2990 maybe-configure-stage4-bfd: configure-stage4-bfd
2991 configure-stage4-bfd:
2992 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
2993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2994 @r=`${PWD_COMMAND}`; export r; \
2995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 TFLAGS="$(STAGE4_TFLAGS)"; \
2997 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2998 $(HOST_EXPORTS) \
2999 $(POSTSTAGE1_HOST_EXPORTS) \
3000 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3001 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3002 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3003 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3005 cd $(HOST_SUBDIR)/bfd || exit 1; \
3006 case $(srcdir) in \
3007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3008 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3010 esac; \
3011 srcdiroption="--srcdir=$${topdir}/bfd"; \
3012 libsrcdir="$$s/bfd"; \
3013 $(SHELL) $${libsrcdir}/configure \
3014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3015 --target=${target_alias} $${srcdiroption} \
3016 --with-build-libsubdir=$(HOST_SUBDIR) \
3017 $(STAGE4_CONFIGURE_FLAGS)
3018 @endif bfd-bootstrap
3020 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3021 maybe-configure-stageprofile-bfd:
3022 @if bfd-bootstrap
3023 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3024 configure-stageprofile-bfd:
3025 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3027 @r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3030 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3031 $(HOST_EXPORTS) \
3032 $(POSTSTAGE1_HOST_EXPORTS) \
3033 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3034 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3035 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3036 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3038 cd $(HOST_SUBDIR)/bfd || exit 1; \
3039 case $(srcdir) in \
3040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3041 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3043 esac; \
3044 srcdiroption="--srcdir=$${topdir}/bfd"; \
3045 libsrcdir="$$s/bfd"; \
3046 $(SHELL) $${libsrcdir}/configure \
3047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3048 --target=${target_alias} $${srcdiroption} \
3049 --with-build-libsubdir=$(HOST_SUBDIR) \
3050 $(STAGEprofile_CONFIGURE_FLAGS)
3051 @endif bfd-bootstrap
3053 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3054 maybe-configure-stagefeedback-bfd:
3055 @if bfd-bootstrap
3056 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3057 configure-stagefeedback-bfd:
3058 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3060 @r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3063 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3064 $(HOST_EXPORTS) \
3065 $(POSTSTAGE1_HOST_EXPORTS) \
3066 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3067 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3068 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3069 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3071 cd $(HOST_SUBDIR)/bfd || exit 1; \
3072 case $(srcdir) in \
3073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3074 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3076 esac; \
3077 srcdiroption="--srcdir=$${topdir}/bfd"; \
3078 libsrcdir="$$s/bfd"; \
3079 $(SHELL) $${libsrcdir}/configure \
3080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3081 --target=${target_alias} $${srcdiroption} \
3082 --with-build-libsubdir=$(HOST_SUBDIR) \
3083 $(STAGEfeedback_CONFIGURE_FLAGS)
3084 @endif bfd-bootstrap
3090 .PHONY: all-bfd maybe-all-bfd
3091 maybe-all-bfd:
3092 @if gcc-bootstrap
3093 all-bfd: stage_current
3094 @endif gcc-bootstrap
3095 @if bfd
3096 TARGET-bfd=all
3097 maybe-all-bfd: all-bfd
3098 all-bfd: configure-bfd
3099 @r=`${PWD_COMMAND}`; export r; \
3100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3101 $(HOST_EXPORTS) \
3102 (cd $(HOST_SUBDIR)/bfd && \
3103 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3104 $(TARGET-bfd))
3105 @endif bfd
3109 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3110 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3111 maybe-all-stage1-bfd:
3112 maybe-clean-stage1-bfd:
3113 @if bfd-bootstrap
3114 maybe-all-stage1-bfd: all-stage1-bfd
3115 all-stage1: all-stage1-bfd
3116 TARGET-stage1-bfd = $(TARGET-bfd)
3117 all-stage1-bfd: configure-stage1-bfd
3118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3119 @r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 TFLAGS="$(STAGE1_TFLAGS)"; \
3122 $(HOST_EXPORTS) \
3123 cd $(HOST_SUBDIR)/bfd && \
3124 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3125 CFLAGS="$(STAGE1_CFLAGS)" \
3126 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3127 LIBCFLAGS="$(LIBCFLAGS)" \
3128 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3129 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3130 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3131 $(EXTRA_HOST_FLAGS) \
3132 TFLAGS="$(STAGE1_TFLAGS)" \
3133 $(TARGET-stage1-bfd)
3135 maybe-clean-stage1-bfd: clean-stage1-bfd
3136 clean-stage1: clean-stage1-bfd
3137 clean-stage1-bfd:
3138 @if [ $(current_stage) = stage1 ]; then \
3139 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3140 else \
3141 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3142 $(MAKE) stage1-start; \
3143 fi; \
3144 cd $(HOST_SUBDIR)/bfd && \
3145 $(MAKE) $(EXTRA_HOST_FLAGS) \
3146 clean
3147 @endif bfd-bootstrap
3150 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3151 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3152 maybe-all-stage2-bfd:
3153 maybe-clean-stage2-bfd:
3154 @if bfd-bootstrap
3155 maybe-all-stage2-bfd: all-stage2-bfd
3156 all-stage2: all-stage2-bfd
3157 TARGET-stage2-bfd = $(TARGET-bfd)
3158 all-stage2-bfd: configure-stage2-bfd
3159 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3160 @r=`${PWD_COMMAND}`; export r; \
3161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3162 TFLAGS="$(STAGE2_TFLAGS)"; \
3163 $(HOST_EXPORTS) \
3164 $(POSTSTAGE1_HOST_EXPORTS) \
3165 cd $(HOST_SUBDIR)/bfd && \
3166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3167 CFLAGS="$(STAGE2_CFLAGS)" \
3168 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3169 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3170 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3171 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3172 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3173 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3174 TFLAGS="$(STAGE2_TFLAGS)" \
3175 $(TARGET-stage2-bfd)
3177 maybe-clean-stage2-bfd: clean-stage2-bfd
3178 clean-stage2: clean-stage2-bfd
3179 clean-stage2-bfd:
3180 @if [ $(current_stage) = stage2 ]; then \
3181 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3182 else \
3183 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3184 $(MAKE) stage2-start; \
3185 fi; \
3186 cd $(HOST_SUBDIR)/bfd && \
3187 $(MAKE) $(EXTRA_HOST_FLAGS) \
3188 $(POSTSTAGE1_FLAGS_TO_PASS) \
3189 clean
3190 @endif bfd-bootstrap
3193 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3194 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3195 maybe-all-stage3-bfd:
3196 maybe-clean-stage3-bfd:
3197 @if bfd-bootstrap
3198 maybe-all-stage3-bfd: all-stage3-bfd
3199 all-stage3: all-stage3-bfd
3200 TARGET-stage3-bfd = $(TARGET-bfd)
3201 all-stage3-bfd: configure-stage3-bfd
3202 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3203 @r=`${PWD_COMMAND}`; export r; \
3204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3205 TFLAGS="$(STAGE3_TFLAGS)"; \
3206 $(HOST_EXPORTS) \
3207 $(POSTSTAGE1_HOST_EXPORTS) \
3208 cd $(HOST_SUBDIR)/bfd && \
3209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3210 CFLAGS="$(STAGE3_CFLAGS)" \
3211 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3212 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3217 TFLAGS="$(STAGE3_TFLAGS)" \
3218 $(TARGET-stage3-bfd)
3220 maybe-clean-stage3-bfd: clean-stage3-bfd
3221 clean-stage3: clean-stage3-bfd
3222 clean-stage3-bfd:
3223 @if [ $(current_stage) = stage3 ]; then \
3224 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3225 else \
3226 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3227 $(MAKE) stage3-start; \
3228 fi; \
3229 cd $(HOST_SUBDIR)/bfd && \
3230 $(MAKE) $(EXTRA_HOST_FLAGS) \
3231 $(POSTSTAGE1_FLAGS_TO_PASS) \
3232 clean
3233 @endif bfd-bootstrap
3236 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3237 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3238 maybe-all-stage4-bfd:
3239 maybe-clean-stage4-bfd:
3240 @if bfd-bootstrap
3241 maybe-all-stage4-bfd: all-stage4-bfd
3242 all-stage4: all-stage4-bfd
3243 TARGET-stage4-bfd = $(TARGET-bfd)
3244 all-stage4-bfd: configure-stage4-bfd
3245 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3246 @r=`${PWD_COMMAND}`; export r; \
3247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248 TFLAGS="$(STAGE4_TFLAGS)"; \
3249 $(HOST_EXPORTS) \
3250 $(POSTSTAGE1_HOST_EXPORTS) \
3251 cd $(HOST_SUBDIR)/bfd && \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3253 CFLAGS="$(STAGE4_CFLAGS)" \
3254 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3255 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3260 TFLAGS="$(STAGE4_TFLAGS)" \
3261 $(TARGET-stage4-bfd)
3263 maybe-clean-stage4-bfd: clean-stage4-bfd
3264 clean-stage4: clean-stage4-bfd
3265 clean-stage4-bfd:
3266 @if [ $(current_stage) = stage4 ]; then \
3267 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3268 else \
3269 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3270 $(MAKE) stage4-start; \
3271 fi; \
3272 cd $(HOST_SUBDIR)/bfd && \
3273 $(MAKE) $(EXTRA_HOST_FLAGS) \
3274 $(POSTSTAGE1_FLAGS_TO_PASS) \
3275 clean
3276 @endif bfd-bootstrap
3279 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3280 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3281 maybe-all-stageprofile-bfd:
3282 maybe-clean-stageprofile-bfd:
3283 @if bfd-bootstrap
3284 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3285 all-stageprofile: all-stageprofile-bfd
3286 TARGET-stageprofile-bfd = $(TARGET-bfd)
3287 all-stageprofile-bfd: configure-stageprofile-bfd
3288 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3289 @r=`${PWD_COMMAND}`; export r; \
3290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3292 $(HOST_EXPORTS) \
3293 $(POSTSTAGE1_HOST_EXPORTS) \
3294 cd $(HOST_SUBDIR)/bfd && \
3295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3296 CFLAGS="$(STAGEprofile_CFLAGS)" \
3297 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3298 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3303 TFLAGS="$(STAGEprofile_TFLAGS)" \
3304 $(TARGET-stageprofile-bfd)
3306 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3307 clean-stageprofile: clean-stageprofile-bfd
3308 clean-stageprofile-bfd:
3309 @if [ $(current_stage) = stageprofile ]; then \
3310 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3311 else \
3312 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3313 $(MAKE) stageprofile-start; \
3314 fi; \
3315 cd $(HOST_SUBDIR)/bfd && \
3316 $(MAKE) $(EXTRA_HOST_FLAGS) \
3317 $(POSTSTAGE1_FLAGS_TO_PASS) \
3318 clean
3319 @endif bfd-bootstrap
3322 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3323 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3324 maybe-all-stagefeedback-bfd:
3325 maybe-clean-stagefeedback-bfd:
3326 @if bfd-bootstrap
3327 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3328 all-stagefeedback: all-stagefeedback-bfd
3329 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3330 all-stagefeedback-bfd: configure-stagefeedback-bfd
3331 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3332 @r=`${PWD_COMMAND}`; export r; \
3333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3334 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3335 $(HOST_EXPORTS) \
3336 $(POSTSTAGE1_HOST_EXPORTS) \
3337 cd $(HOST_SUBDIR)/bfd && \
3338 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3339 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3340 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3341 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3342 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3343 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3344 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3345 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3346 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3347 $(TARGET-stagefeedback-bfd)
3349 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3350 clean-stagefeedback: clean-stagefeedback-bfd
3351 clean-stagefeedback-bfd:
3352 @if [ $(current_stage) = stagefeedback ]; then \
3353 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3354 else \
3355 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3356 $(MAKE) stagefeedback-start; \
3357 fi; \
3358 cd $(HOST_SUBDIR)/bfd && \
3359 $(MAKE) $(EXTRA_HOST_FLAGS) \
3360 $(POSTSTAGE1_FLAGS_TO_PASS) \
3361 clean
3362 @endif bfd-bootstrap
3368 .PHONY: check-bfd maybe-check-bfd
3369 maybe-check-bfd:
3370 @if bfd
3371 maybe-check-bfd: check-bfd
3373 check-bfd:
3374 @: $(MAKE); $(unstage)
3375 @r=`${PWD_COMMAND}`; export r; \
3376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3377 $(HOST_EXPORTS) \
3378 (cd $(HOST_SUBDIR)/bfd && \
3379 $(MAKE) $(FLAGS_TO_PASS) check)
3381 @endif bfd
3383 .PHONY: install-bfd maybe-install-bfd
3384 maybe-install-bfd:
3385 @if bfd
3386 maybe-install-bfd: install-bfd
3388 install-bfd: installdirs
3389 @: $(MAKE); $(unstage)
3390 @r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 $(HOST_EXPORTS) \
3393 (cd $(HOST_SUBDIR)/bfd && \
3394 $(MAKE) $(FLAGS_TO_PASS) install)
3396 @endif bfd
3398 .PHONY: install-strip-bfd maybe-install-strip-bfd
3399 maybe-install-strip-bfd:
3400 @if bfd
3401 maybe-install-strip-bfd: install-strip-bfd
3403 install-strip-bfd: installdirs
3404 @: $(MAKE); $(unstage)
3405 @r=`${PWD_COMMAND}`; export r; \
3406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3407 $(HOST_EXPORTS) \
3408 (cd $(HOST_SUBDIR)/bfd && \
3409 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3411 @endif bfd
3413 # Other targets (info, dvi, pdf, etc.)
3415 .PHONY: maybe-info-bfd info-bfd
3416 maybe-info-bfd:
3417 @if bfd
3418 maybe-info-bfd: info-bfd
3420 info-bfd: \
3421 configure-bfd
3422 @[ -f ./bfd/Makefile ] || exit 0; \
3423 r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 $(HOST_EXPORTS) \
3426 for flag in $(EXTRA_HOST_FLAGS) ; do \
3427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3428 done; \
3429 echo "Doing info in bfd" ; \
3430 (cd $(HOST_SUBDIR)/bfd && \
3431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3433 "RANLIB=$${RANLIB}" \
3434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3435 info) \
3436 || exit 1
3438 @endif bfd
3440 .PHONY: maybe-dvi-bfd dvi-bfd
3441 maybe-dvi-bfd:
3442 @if bfd
3443 maybe-dvi-bfd: dvi-bfd
3445 dvi-bfd: \
3446 configure-bfd
3447 @[ -f ./bfd/Makefile ] || exit 0; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 $(HOST_EXPORTS) \
3451 for flag in $(EXTRA_HOST_FLAGS) ; do \
3452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 done; \
3454 echo "Doing dvi in bfd" ; \
3455 (cd $(HOST_SUBDIR)/bfd && \
3456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3458 "RANLIB=$${RANLIB}" \
3459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3460 dvi) \
3461 || exit 1
3463 @endif bfd
3465 .PHONY: maybe-pdf-bfd pdf-bfd
3466 maybe-pdf-bfd:
3467 @if bfd
3468 maybe-pdf-bfd: pdf-bfd
3470 pdf-bfd: \
3471 configure-bfd
3472 @[ -f ./bfd/Makefile ] || exit 0; \
3473 r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 $(HOST_EXPORTS) \
3476 for flag in $(EXTRA_HOST_FLAGS) ; do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3478 done; \
3479 echo "Doing pdf in bfd" ; \
3480 (cd $(HOST_SUBDIR)/bfd && \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3485 pdf) \
3486 || exit 1
3488 @endif bfd
3490 .PHONY: maybe-html-bfd html-bfd
3491 maybe-html-bfd:
3492 @if bfd
3493 maybe-html-bfd: html-bfd
3495 html-bfd: \
3496 configure-bfd
3497 @[ -f ./bfd/Makefile ] || exit 0; \
3498 r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(HOST_EXPORTS) \
3501 for flag in $(EXTRA_HOST_FLAGS) ; do \
3502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3503 done; \
3504 echo "Doing html in bfd" ; \
3505 (cd $(HOST_SUBDIR)/bfd && \
3506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3508 "RANLIB=$${RANLIB}" \
3509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3510 html) \
3511 || exit 1
3513 @endif bfd
3515 .PHONY: maybe-TAGS-bfd TAGS-bfd
3516 maybe-TAGS-bfd:
3517 @if bfd
3518 maybe-TAGS-bfd: TAGS-bfd
3520 TAGS-bfd: \
3521 configure-bfd
3522 @[ -f ./bfd/Makefile ] || exit 0; \
3523 r=`${PWD_COMMAND}`; export r; \
3524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 $(HOST_EXPORTS) \
3526 for flag in $(EXTRA_HOST_FLAGS) ; do \
3527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3528 done; \
3529 echo "Doing TAGS in bfd" ; \
3530 (cd $(HOST_SUBDIR)/bfd && \
3531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3533 "RANLIB=$${RANLIB}" \
3534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3535 TAGS) \
3536 || exit 1
3538 @endif bfd
3540 .PHONY: maybe-install-info-bfd install-info-bfd
3541 maybe-install-info-bfd:
3542 @if bfd
3543 maybe-install-info-bfd: install-info-bfd
3545 install-info-bfd: \
3546 configure-bfd \
3547 info-bfd
3548 @[ -f ./bfd/Makefile ] || exit 0; \
3549 r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 $(HOST_EXPORTS) \
3552 for flag in $(EXTRA_HOST_FLAGS) ; do \
3553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3554 done; \
3555 echo "Doing install-info in bfd" ; \
3556 (cd $(HOST_SUBDIR)/bfd && \
3557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3559 "RANLIB=$${RANLIB}" \
3560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3561 install-info) \
3562 || exit 1
3564 @endif bfd
3566 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3567 maybe-install-pdf-bfd:
3568 @if bfd
3569 maybe-install-pdf-bfd: install-pdf-bfd
3571 install-pdf-bfd: \
3572 configure-bfd \
3573 pdf-bfd
3574 @[ -f ./bfd/Makefile ] || exit 0; \
3575 r=`${PWD_COMMAND}`; export r; \
3576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 $(HOST_EXPORTS) \
3578 for flag in $(EXTRA_HOST_FLAGS) ; do \
3579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3580 done; \
3581 echo "Doing install-pdf in bfd" ; \
3582 (cd $(HOST_SUBDIR)/bfd && \
3583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3585 "RANLIB=$${RANLIB}" \
3586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3587 install-pdf) \
3588 || exit 1
3590 @endif bfd
3592 .PHONY: maybe-install-html-bfd install-html-bfd
3593 maybe-install-html-bfd:
3594 @if bfd
3595 maybe-install-html-bfd: install-html-bfd
3597 install-html-bfd: \
3598 configure-bfd \
3599 html-bfd
3600 @[ -f ./bfd/Makefile ] || exit 0; \
3601 r=`${PWD_COMMAND}`; export r; \
3602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 $(HOST_EXPORTS) \
3604 for flag in $(EXTRA_HOST_FLAGS) ; do \
3605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 done; \
3607 echo "Doing install-html in bfd" ; \
3608 (cd $(HOST_SUBDIR)/bfd && \
3609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3611 "RANLIB=$${RANLIB}" \
3612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3613 install-html) \
3614 || exit 1
3616 @endif bfd
3618 .PHONY: maybe-installcheck-bfd installcheck-bfd
3619 maybe-installcheck-bfd:
3620 @if bfd
3621 maybe-installcheck-bfd: installcheck-bfd
3623 installcheck-bfd: \
3624 configure-bfd
3625 @[ -f ./bfd/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 $(HOST_EXPORTS) \
3629 for flag in $(EXTRA_HOST_FLAGS) ; do \
3630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3631 done; \
3632 echo "Doing installcheck in bfd" ; \
3633 (cd $(HOST_SUBDIR)/bfd && \
3634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3636 "RANLIB=$${RANLIB}" \
3637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3638 installcheck) \
3639 || exit 1
3641 @endif bfd
3643 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3644 maybe-mostlyclean-bfd:
3645 @if bfd
3646 maybe-mostlyclean-bfd: mostlyclean-bfd
3648 mostlyclean-bfd:
3649 @[ -f ./bfd/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing mostlyclean in bfd" ; \
3657 (cd $(HOST_SUBDIR)/bfd && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3662 mostlyclean) \
3663 || exit 1
3665 @endif bfd
3667 .PHONY: maybe-clean-bfd clean-bfd
3668 maybe-clean-bfd:
3669 @if bfd
3670 maybe-clean-bfd: clean-bfd
3672 clean-bfd:
3673 @[ -f ./bfd/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 $(HOST_EXPORTS) \
3677 for flag in $(EXTRA_HOST_FLAGS) ; do \
3678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3679 done; \
3680 echo "Doing clean in bfd" ; \
3681 (cd $(HOST_SUBDIR)/bfd && \
3682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3684 "RANLIB=$${RANLIB}" \
3685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3686 clean) \
3687 || exit 1
3689 @endif bfd
3691 .PHONY: maybe-distclean-bfd distclean-bfd
3692 maybe-distclean-bfd:
3693 @if bfd
3694 maybe-distclean-bfd: distclean-bfd
3696 distclean-bfd:
3697 @[ -f ./bfd/Makefile ] || exit 0; \
3698 r=`${PWD_COMMAND}`; export r; \
3699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing distclean in bfd" ; \
3705 (cd $(HOST_SUBDIR)/bfd && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3710 distclean) \
3711 || exit 1
3713 @endif bfd
3715 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3716 maybe-maintainer-clean-bfd:
3717 @if bfd
3718 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3720 maintainer-clean-bfd:
3721 @[ -f ./bfd/Makefile ] || exit 0; \
3722 r=`${PWD_COMMAND}`; export r; \
3723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3724 $(HOST_EXPORTS) \
3725 for flag in $(EXTRA_HOST_FLAGS) ; do \
3726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3727 done; \
3728 echo "Doing maintainer-clean in bfd" ; \
3729 (cd $(HOST_SUBDIR)/bfd && \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3732 "RANLIB=$${RANLIB}" \
3733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3734 maintainer-clean) \
3735 || exit 1
3737 @endif bfd
3741 .PHONY: configure-opcodes maybe-configure-opcodes
3742 maybe-configure-opcodes:
3743 @if gcc-bootstrap
3744 configure-opcodes: stage_current
3745 @endif gcc-bootstrap
3746 @if opcodes
3747 maybe-configure-opcodes: configure-opcodes
3748 configure-opcodes:
3749 @r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3753 $(HOST_EXPORTS) \
3754 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3755 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3756 case $(srcdir) in \
3757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3758 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3760 esac; \
3761 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3762 libsrcdir="$$s/opcodes"; \
3763 $(SHELL) $${libsrcdir}/configure \
3764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3765 --target=${target_alias} $${srcdiroption} \
3766 || exit 1
3767 @endif opcodes
3771 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3772 maybe-configure-stage1-opcodes:
3773 @if opcodes-bootstrap
3774 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3775 configure-stage1-opcodes:
3776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3778 @r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780 TFLAGS="$(STAGE1_TFLAGS)"; \
3781 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3782 $(HOST_EXPORTS) \
3783 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3784 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3785 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3786 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3788 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3789 case $(srcdir) in \
3790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3791 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3793 esac; \
3794 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3795 libsrcdir="$$s/opcodes"; \
3796 $(SHELL) $${libsrcdir}/configure \
3797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3798 --target=${target_alias} $${srcdiroption} \
3799 $(STAGE1_CONFIGURE_FLAGS)
3800 @endif opcodes-bootstrap
3802 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3803 maybe-configure-stage2-opcodes:
3804 @if opcodes-bootstrap
3805 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3806 configure-stage2-opcodes:
3807 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3809 @r=`${PWD_COMMAND}`; export r; \
3810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3811 TFLAGS="$(STAGE2_TFLAGS)"; \
3812 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3813 $(HOST_EXPORTS) \
3814 $(POSTSTAGE1_HOST_EXPORTS) \
3815 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3816 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3817 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3818 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3820 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3821 case $(srcdir) in \
3822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3823 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3825 esac; \
3826 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3827 libsrcdir="$$s/opcodes"; \
3828 $(SHELL) $${libsrcdir}/configure \
3829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3830 --target=${target_alias} $${srcdiroption} \
3831 --with-build-libsubdir=$(HOST_SUBDIR) \
3832 $(STAGE2_CONFIGURE_FLAGS)
3833 @endif opcodes-bootstrap
3835 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3836 maybe-configure-stage3-opcodes:
3837 @if opcodes-bootstrap
3838 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3839 configure-stage3-opcodes:
3840 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3842 @r=`${PWD_COMMAND}`; export r; \
3843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3844 TFLAGS="$(STAGE3_TFLAGS)"; \
3845 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3846 $(HOST_EXPORTS) \
3847 $(POSTSTAGE1_HOST_EXPORTS) \
3848 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3849 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3850 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3851 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3853 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3854 case $(srcdir) in \
3855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3856 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3858 esac; \
3859 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3860 libsrcdir="$$s/opcodes"; \
3861 $(SHELL) $${libsrcdir}/configure \
3862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3863 --target=${target_alias} $${srcdiroption} \
3864 --with-build-libsubdir=$(HOST_SUBDIR) \
3865 $(STAGE3_CONFIGURE_FLAGS)
3866 @endif opcodes-bootstrap
3868 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3869 maybe-configure-stage4-opcodes:
3870 @if opcodes-bootstrap
3871 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3872 configure-stage4-opcodes:
3873 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3875 @r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 TFLAGS="$(STAGE4_TFLAGS)"; \
3878 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3879 $(HOST_EXPORTS) \
3880 $(POSTSTAGE1_HOST_EXPORTS) \
3881 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3882 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3883 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3884 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3886 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3887 case $(srcdir) in \
3888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3889 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3891 esac; \
3892 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3893 libsrcdir="$$s/opcodes"; \
3894 $(SHELL) $${libsrcdir}/configure \
3895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3896 --target=${target_alias} $${srcdiroption} \
3897 --with-build-libsubdir=$(HOST_SUBDIR) \
3898 $(STAGE4_CONFIGURE_FLAGS)
3899 @endif opcodes-bootstrap
3901 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3902 maybe-configure-stageprofile-opcodes:
3903 @if opcodes-bootstrap
3904 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3905 configure-stageprofile-opcodes:
3906 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3908 @r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3911 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3912 $(HOST_EXPORTS) \
3913 $(POSTSTAGE1_HOST_EXPORTS) \
3914 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3915 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3916 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3917 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3919 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3920 case $(srcdir) in \
3921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3922 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3924 esac; \
3925 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3926 libsrcdir="$$s/opcodes"; \
3927 $(SHELL) $${libsrcdir}/configure \
3928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3929 --target=${target_alias} $${srcdiroption} \
3930 --with-build-libsubdir=$(HOST_SUBDIR) \
3931 $(STAGEprofile_CONFIGURE_FLAGS)
3932 @endif opcodes-bootstrap
3934 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3935 maybe-configure-stagefeedback-opcodes:
3936 @if opcodes-bootstrap
3937 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3938 configure-stagefeedback-opcodes:
3939 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3941 @r=`${PWD_COMMAND}`; export r; \
3942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3943 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3944 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3945 $(HOST_EXPORTS) \
3946 $(POSTSTAGE1_HOST_EXPORTS) \
3947 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3948 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3949 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3950 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3952 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3953 case $(srcdir) in \
3954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3955 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3957 esac; \
3958 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3959 libsrcdir="$$s/opcodes"; \
3960 $(SHELL) $${libsrcdir}/configure \
3961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3962 --target=${target_alias} $${srcdiroption} \
3963 --with-build-libsubdir=$(HOST_SUBDIR) \
3964 $(STAGEfeedback_CONFIGURE_FLAGS)
3965 @endif opcodes-bootstrap
3971 .PHONY: all-opcodes maybe-all-opcodes
3972 maybe-all-opcodes:
3973 @if gcc-bootstrap
3974 all-opcodes: stage_current
3975 @endif gcc-bootstrap
3976 @if opcodes
3977 TARGET-opcodes=all
3978 maybe-all-opcodes: all-opcodes
3979 all-opcodes: configure-opcodes
3980 @r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 $(HOST_EXPORTS) \
3983 (cd $(HOST_SUBDIR)/opcodes && \
3984 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3985 $(TARGET-opcodes))
3986 @endif opcodes
3990 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
3991 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
3992 maybe-all-stage1-opcodes:
3993 maybe-clean-stage1-opcodes:
3994 @if opcodes-bootstrap
3995 maybe-all-stage1-opcodes: all-stage1-opcodes
3996 all-stage1: all-stage1-opcodes
3997 TARGET-stage1-opcodes = $(TARGET-opcodes)
3998 all-stage1-opcodes: configure-stage1-opcodes
3999 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4000 @r=`${PWD_COMMAND}`; export r; \
4001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4002 TFLAGS="$(STAGE1_TFLAGS)"; \
4003 $(HOST_EXPORTS) \
4004 cd $(HOST_SUBDIR)/opcodes && \
4005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4006 CFLAGS="$(STAGE1_CFLAGS)" \
4007 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4008 LIBCFLAGS="$(LIBCFLAGS)" \
4009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4012 $(EXTRA_HOST_FLAGS) \
4013 TFLAGS="$(STAGE1_TFLAGS)" \
4014 $(TARGET-stage1-opcodes)
4016 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4017 clean-stage1: clean-stage1-opcodes
4018 clean-stage1-opcodes:
4019 @if [ $(current_stage) = stage1 ]; then \
4020 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4021 else \
4022 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4023 $(MAKE) stage1-start; \
4024 fi; \
4025 cd $(HOST_SUBDIR)/opcodes && \
4026 $(MAKE) $(EXTRA_HOST_FLAGS) \
4027 clean
4028 @endif opcodes-bootstrap
4031 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4032 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4033 maybe-all-stage2-opcodes:
4034 maybe-clean-stage2-opcodes:
4035 @if opcodes-bootstrap
4036 maybe-all-stage2-opcodes: all-stage2-opcodes
4037 all-stage2: all-stage2-opcodes
4038 TARGET-stage2-opcodes = $(TARGET-opcodes)
4039 all-stage2-opcodes: configure-stage2-opcodes
4040 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4041 @r=`${PWD_COMMAND}`; export r; \
4042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4043 TFLAGS="$(STAGE2_TFLAGS)"; \
4044 $(HOST_EXPORTS) \
4045 $(POSTSTAGE1_HOST_EXPORTS) \
4046 cd $(HOST_SUBDIR)/opcodes && \
4047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4048 CFLAGS="$(STAGE2_CFLAGS)" \
4049 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4050 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4055 TFLAGS="$(STAGE2_TFLAGS)" \
4056 $(TARGET-stage2-opcodes)
4058 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4059 clean-stage2: clean-stage2-opcodes
4060 clean-stage2-opcodes:
4061 @if [ $(current_stage) = stage2 ]; then \
4062 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4063 else \
4064 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4065 $(MAKE) stage2-start; \
4066 fi; \
4067 cd $(HOST_SUBDIR)/opcodes && \
4068 $(MAKE) $(EXTRA_HOST_FLAGS) \
4069 $(POSTSTAGE1_FLAGS_TO_PASS) \
4070 clean
4071 @endif opcodes-bootstrap
4074 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4075 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4076 maybe-all-stage3-opcodes:
4077 maybe-clean-stage3-opcodes:
4078 @if opcodes-bootstrap
4079 maybe-all-stage3-opcodes: all-stage3-opcodes
4080 all-stage3: all-stage3-opcodes
4081 TARGET-stage3-opcodes = $(TARGET-opcodes)
4082 all-stage3-opcodes: configure-stage3-opcodes
4083 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4084 @r=`${PWD_COMMAND}`; export r; \
4085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4086 TFLAGS="$(STAGE3_TFLAGS)"; \
4087 $(HOST_EXPORTS) \
4088 $(POSTSTAGE1_HOST_EXPORTS) \
4089 cd $(HOST_SUBDIR)/opcodes && \
4090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4091 CFLAGS="$(STAGE3_CFLAGS)" \
4092 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4093 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4098 TFLAGS="$(STAGE3_TFLAGS)" \
4099 $(TARGET-stage3-opcodes)
4101 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4102 clean-stage3: clean-stage3-opcodes
4103 clean-stage3-opcodes:
4104 @if [ $(current_stage) = stage3 ]; then \
4105 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4106 else \
4107 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4108 $(MAKE) stage3-start; \
4109 fi; \
4110 cd $(HOST_SUBDIR)/opcodes && \
4111 $(MAKE) $(EXTRA_HOST_FLAGS) \
4112 $(POSTSTAGE1_FLAGS_TO_PASS) \
4113 clean
4114 @endif opcodes-bootstrap
4117 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4118 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4119 maybe-all-stage4-opcodes:
4120 maybe-clean-stage4-opcodes:
4121 @if opcodes-bootstrap
4122 maybe-all-stage4-opcodes: all-stage4-opcodes
4123 all-stage4: all-stage4-opcodes
4124 TARGET-stage4-opcodes = $(TARGET-opcodes)
4125 all-stage4-opcodes: configure-stage4-opcodes
4126 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4127 @r=`${PWD_COMMAND}`; export r; \
4128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4129 TFLAGS="$(STAGE4_TFLAGS)"; \
4130 $(HOST_EXPORTS) \
4131 $(POSTSTAGE1_HOST_EXPORTS) \
4132 cd $(HOST_SUBDIR)/opcodes && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4134 CFLAGS="$(STAGE4_CFLAGS)" \
4135 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4136 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4141 TFLAGS="$(STAGE4_TFLAGS)" \
4142 $(TARGET-stage4-opcodes)
4144 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4145 clean-stage4: clean-stage4-opcodes
4146 clean-stage4-opcodes:
4147 @if [ $(current_stage) = stage4 ]; then \
4148 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4149 else \
4150 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4151 $(MAKE) stage4-start; \
4152 fi; \
4153 cd $(HOST_SUBDIR)/opcodes && \
4154 $(MAKE) $(EXTRA_HOST_FLAGS) \
4155 $(POSTSTAGE1_FLAGS_TO_PASS) \
4156 clean
4157 @endif opcodes-bootstrap
4160 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4161 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4162 maybe-all-stageprofile-opcodes:
4163 maybe-clean-stageprofile-opcodes:
4164 @if opcodes-bootstrap
4165 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4166 all-stageprofile: all-stageprofile-opcodes
4167 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4168 all-stageprofile-opcodes: configure-stageprofile-opcodes
4169 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4170 @r=`${PWD_COMMAND}`; export r; \
4171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4173 $(HOST_EXPORTS) \
4174 $(POSTSTAGE1_HOST_EXPORTS) \
4175 cd $(HOST_SUBDIR)/opcodes && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4177 CFLAGS="$(STAGEprofile_CFLAGS)" \
4178 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4179 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4184 TFLAGS="$(STAGEprofile_TFLAGS)" \
4185 $(TARGET-stageprofile-opcodes)
4187 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4188 clean-stageprofile: clean-stageprofile-opcodes
4189 clean-stageprofile-opcodes:
4190 @if [ $(current_stage) = stageprofile ]; then \
4191 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4192 else \
4193 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4194 $(MAKE) stageprofile-start; \
4195 fi; \
4196 cd $(HOST_SUBDIR)/opcodes && \
4197 $(MAKE) $(EXTRA_HOST_FLAGS) \
4198 $(POSTSTAGE1_FLAGS_TO_PASS) \
4199 clean
4200 @endif opcodes-bootstrap
4203 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4204 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4205 maybe-all-stagefeedback-opcodes:
4206 maybe-clean-stagefeedback-opcodes:
4207 @if opcodes-bootstrap
4208 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4209 all-stagefeedback: all-stagefeedback-opcodes
4210 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4211 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4212 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4213 @r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4216 $(HOST_EXPORTS) \
4217 $(POSTSTAGE1_HOST_EXPORTS) \
4218 cd $(HOST_SUBDIR)/opcodes && \
4219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4220 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4221 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4222 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4227 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4228 $(TARGET-stagefeedback-opcodes)
4230 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4231 clean-stagefeedback: clean-stagefeedback-opcodes
4232 clean-stagefeedback-opcodes:
4233 @if [ $(current_stage) = stagefeedback ]; then \
4234 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4235 else \
4236 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4237 $(MAKE) stagefeedback-start; \
4238 fi; \
4239 cd $(HOST_SUBDIR)/opcodes && \
4240 $(MAKE) $(EXTRA_HOST_FLAGS) \
4241 $(POSTSTAGE1_FLAGS_TO_PASS) \
4242 clean
4243 @endif opcodes-bootstrap
4249 .PHONY: check-opcodes maybe-check-opcodes
4250 maybe-check-opcodes:
4251 @if opcodes
4252 maybe-check-opcodes: check-opcodes
4254 check-opcodes:
4255 @: $(MAKE); $(unstage)
4256 @r=`${PWD_COMMAND}`; export r; \
4257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4258 $(HOST_EXPORTS) \
4259 (cd $(HOST_SUBDIR)/opcodes && \
4260 $(MAKE) $(FLAGS_TO_PASS) check)
4262 @endif opcodes
4264 .PHONY: install-opcodes maybe-install-opcodes
4265 maybe-install-opcodes:
4266 @if opcodes
4267 maybe-install-opcodes: install-opcodes
4269 install-opcodes: installdirs
4270 @: $(MAKE); $(unstage)
4271 @r=`${PWD_COMMAND}`; export r; \
4272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4273 $(HOST_EXPORTS) \
4274 (cd $(HOST_SUBDIR)/opcodes && \
4275 $(MAKE) $(FLAGS_TO_PASS) install)
4277 @endif opcodes
4279 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4280 maybe-install-strip-opcodes:
4281 @if opcodes
4282 maybe-install-strip-opcodes: install-strip-opcodes
4284 install-strip-opcodes: installdirs
4285 @: $(MAKE); $(unstage)
4286 @r=`${PWD_COMMAND}`; export r; \
4287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4288 $(HOST_EXPORTS) \
4289 (cd $(HOST_SUBDIR)/opcodes && \
4290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4292 @endif opcodes
4294 # Other targets (info, dvi, pdf, etc.)
4296 .PHONY: maybe-info-opcodes info-opcodes
4297 maybe-info-opcodes:
4298 @if opcodes
4299 maybe-info-opcodes: info-opcodes
4301 info-opcodes: \
4302 configure-opcodes
4303 @[ -f ./opcodes/Makefile ] || exit 0; \
4304 r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS) ; do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing info in opcodes" ; \
4311 (cd $(HOST_SUBDIR)/opcodes && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4316 info) \
4317 || exit 1
4319 @endif opcodes
4321 .PHONY: maybe-dvi-opcodes dvi-opcodes
4322 maybe-dvi-opcodes:
4323 @if opcodes
4324 maybe-dvi-opcodes: dvi-opcodes
4326 dvi-opcodes: \
4327 configure-opcodes
4328 @[ -f ./opcodes/Makefile ] || exit 0; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(HOST_EXPORTS) \
4332 for flag in $(EXTRA_HOST_FLAGS) ; do \
4333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4334 done; \
4335 echo "Doing dvi in opcodes" ; \
4336 (cd $(HOST_SUBDIR)/opcodes && \
4337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4339 "RANLIB=$${RANLIB}" \
4340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4341 dvi) \
4342 || exit 1
4344 @endif opcodes
4346 .PHONY: maybe-pdf-opcodes pdf-opcodes
4347 maybe-pdf-opcodes:
4348 @if opcodes
4349 maybe-pdf-opcodes: pdf-opcodes
4351 pdf-opcodes: \
4352 configure-opcodes
4353 @[ -f ./opcodes/Makefile ] || exit 0; \
4354 r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 $(HOST_EXPORTS) \
4357 for flag in $(EXTRA_HOST_FLAGS) ; do \
4358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4359 done; \
4360 echo "Doing pdf in opcodes" ; \
4361 (cd $(HOST_SUBDIR)/opcodes && \
4362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4364 "RANLIB=$${RANLIB}" \
4365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4366 pdf) \
4367 || exit 1
4369 @endif opcodes
4371 .PHONY: maybe-html-opcodes html-opcodes
4372 maybe-html-opcodes:
4373 @if opcodes
4374 maybe-html-opcodes: html-opcodes
4376 html-opcodes: \
4377 configure-opcodes
4378 @[ -f ./opcodes/Makefile ] || exit 0; \
4379 r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 $(HOST_EXPORTS) \
4382 for flag in $(EXTRA_HOST_FLAGS) ; do \
4383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4384 done; \
4385 echo "Doing html in opcodes" ; \
4386 (cd $(HOST_SUBDIR)/opcodes && \
4387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4389 "RANLIB=$${RANLIB}" \
4390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4391 html) \
4392 || exit 1
4394 @endif opcodes
4396 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4397 maybe-TAGS-opcodes:
4398 @if opcodes
4399 maybe-TAGS-opcodes: TAGS-opcodes
4401 TAGS-opcodes: \
4402 configure-opcodes
4403 @[ -f ./opcodes/Makefile ] || exit 0; \
4404 r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 $(HOST_EXPORTS) \
4407 for flag in $(EXTRA_HOST_FLAGS) ; do \
4408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4409 done; \
4410 echo "Doing TAGS in opcodes" ; \
4411 (cd $(HOST_SUBDIR)/opcodes && \
4412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414 "RANLIB=$${RANLIB}" \
4415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4416 TAGS) \
4417 || exit 1
4419 @endif opcodes
4421 .PHONY: maybe-install-info-opcodes install-info-opcodes
4422 maybe-install-info-opcodes:
4423 @if opcodes
4424 maybe-install-info-opcodes: install-info-opcodes
4426 install-info-opcodes: \
4427 configure-opcodes \
4428 info-opcodes
4429 @[ -f ./opcodes/Makefile ] || exit 0; \
4430 r=`${PWD_COMMAND}`; export r; \
4431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4432 $(HOST_EXPORTS) \
4433 for flag in $(EXTRA_HOST_FLAGS) ; do \
4434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4435 done; \
4436 echo "Doing install-info in opcodes" ; \
4437 (cd $(HOST_SUBDIR)/opcodes && \
4438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4440 "RANLIB=$${RANLIB}" \
4441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4442 install-info) \
4443 || exit 1
4445 @endif opcodes
4447 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4448 maybe-install-pdf-opcodes:
4449 @if opcodes
4450 maybe-install-pdf-opcodes: install-pdf-opcodes
4452 install-pdf-opcodes: \
4453 configure-opcodes \
4454 pdf-opcodes
4455 @[ -f ./opcodes/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing install-pdf in opcodes" ; \
4463 (cd $(HOST_SUBDIR)/opcodes && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4468 install-pdf) \
4469 || exit 1
4471 @endif opcodes
4473 .PHONY: maybe-install-html-opcodes install-html-opcodes
4474 maybe-install-html-opcodes:
4475 @if opcodes
4476 maybe-install-html-opcodes: install-html-opcodes
4478 install-html-opcodes: \
4479 configure-opcodes \
4480 html-opcodes
4481 @[ -f ./opcodes/Makefile ] || exit 0; \
4482 r=`${PWD_COMMAND}`; export r; \
4483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4484 $(HOST_EXPORTS) \
4485 for flag in $(EXTRA_HOST_FLAGS) ; do \
4486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4487 done; \
4488 echo "Doing install-html in opcodes" ; \
4489 (cd $(HOST_SUBDIR)/opcodes && \
4490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4492 "RANLIB=$${RANLIB}" \
4493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4494 install-html) \
4495 || exit 1
4497 @endif opcodes
4499 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4500 maybe-installcheck-opcodes:
4501 @if opcodes
4502 maybe-installcheck-opcodes: installcheck-opcodes
4504 installcheck-opcodes: \
4505 configure-opcodes
4506 @[ -f ./opcodes/Makefile ] || exit 0; \
4507 r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 $(HOST_EXPORTS) \
4510 for flag in $(EXTRA_HOST_FLAGS) ; do \
4511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 done; \
4513 echo "Doing installcheck in opcodes" ; \
4514 (cd $(HOST_SUBDIR)/opcodes && \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4517 "RANLIB=$${RANLIB}" \
4518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4519 installcheck) \
4520 || exit 1
4522 @endif opcodes
4524 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4525 maybe-mostlyclean-opcodes:
4526 @if opcodes
4527 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4529 mostlyclean-opcodes:
4530 @[ -f ./opcodes/Makefile ] || exit 0; \
4531 r=`${PWD_COMMAND}`; export r; \
4532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4533 $(HOST_EXPORTS) \
4534 for flag in $(EXTRA_HOST_FLAGS) ; do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4536 done; \
4537 echo "Doing mostlyclean in opcodes" ; \
4538 (cd $(HOST_SUBDIR)/opcodes && \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4543 mostlyclean) \
4544 || exit 1
4546 @endif opcodes
4548 .PHONY: maybe-clean-opcodes clean-opcodes
4549 maybe-clean-opcodes:
4550 @if opcodes
4551 maybe-clean-opcodes: clean-opcodes
4553 clean-opcodes:
4554 @[ -f ./opcodes/Makefile ] || exit 0; \
4555 r=`${PWD_COMMAND}`; export r; \
4556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4557 $(HOST_EXPORTS) \
4558 for flag in $(EXTRA_HOST_FLAGS) ; do \
4559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4560 done; \
4561 echo "Doing clean in opcodes" ; \
4562 (cd $(HOST_SUBDIR)/opcodes && \
4563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4565 "RANLIB=$${RANLIB}" \
4566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4567 clean) \
4568 || exit 1
4570 @endif opcodes
4572 .PHONY: maybe-distclean-opcodes distclean-opcodes
4573 maybe-distclean-opcodes:
4574 @if opcodes
4575 maybe-distclean-opcodes: distclean-opcodes
4577 distclean-opcodes:
4578 @[ -f ./opcodes/Makefile ] || exit 0; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 $(HOST_EXPORTS) \
4582 for flag in $(EXTRA_HOST_FLAGS) ; do \
4583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4584 done; \
4585 echo "Doing distclean in opcodes" ; \
4586 (cd $(HOST_SUBDIR)/opcodes && \
4587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4589 "RANLIB=$${RANLIB}" \
4590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4591 distclean) \
4592 || exit 1
4594 @endif opcodes
4596 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4597 maybe-maintainer-clean-opcodes:
4598 @if opcodes
4599 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4601 maintainer-clean-opcodes:
4602 @[ -f ./opcodes/Makefile ] || exit 0; \
4603 r=`${PWD_COMMAND}`; export r; \
4604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4605 $(HOST_EXPORTS) \
4606 for flag in $(EXTRA_HOST_FLAGS) ; do \
4607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4608 done; \
4609 echo "Doing maintainer-clean in opcodes" ; \
4610 (cd $(HOST_SUBDIR)/opcodes && \
4611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4613 "RANLIB=$${RANLIB}" \
4614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4615 maintainer-clean) \
4616 || exit 1
4618 @endif opcodes
4622 .PHONY: configure-binutils maybe-configure-binutils
4623 maybe-configure-binutils:
4624 @if gcc-bootstrap
4625 configure-binutils: stage_current
4626 @endif gcc-bootstrap
4627 @if binutils
4628 maybe-configure-binutils: configure-binutils
4629 configure-binutils:
4630 @r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4634 $(HOST_EXPORTS) \
4635 echo Configuring in $(HOST_SUBDIR)/binutils; \
4636 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4637 case $(srcdir) in \
4638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4639 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4641 esac; \
4642 srcdiroption="--srcdir=$${topdir}/binutils"; \
4643 libsrcdir="$$s/binutils"; \
4644 $(SHELL) $${libsrcdir}/configure \
4645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4646 --target=${target_alias} $${srcdiroption} \
4647 || exit 1
4648 @endif binutils
4652 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4653 maybe-configure-stage1-binutils:
4654 @if binutils-bootstrap
4655 maybe-configure-stage1-binutils: configure-stage1-binutils
4656 configure-stage1-binutils:
4657 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4659 @r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 TFLAGS="$(STAGE1_TFLAGS)"; \
4662 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4663 $(HOST_EXPORTS) \
4664 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4665 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4666 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4667 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4669 cd $(HOST_SUBDIR)/binutils || exit 1; \
4670 case $(srcdir) in \
4671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4672 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4674 esac; \
4675 srcdiroption="--srcdir=$${topdir}/binutils"; \
4676 libsrcdir="$$s/binutils"; \
4677 $(SHELL) $${libsrcdir}/configure \
4678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4679 --target=${target_alias} $${srcdiroption} \
4680 $(STAGE1_CONFIGURE_FLAGS)
4681 @endif binutils-bootstrap
4683 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4684 maybe-configure-stage2-binutils:
4685 @if binutils-bootstrap
4686 maybe-configure-stage2-binutils: configure-stage2-binutils
4687 configure-stage2-binutils:
4688 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4689 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4690 @r=`${PWD_COMMAND}`; export r; \
4691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4692 TFLAGS="$(STAGE2_TFLAGS)"; \
4693 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4694 $(HOST_EXPORTS) \
4695 $(POSTSTAGE1_HOST_EXPORTS) \
4696 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4697 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4698 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4699 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4701 cd $(HOST_SUBDIR)/binutils || exit 1; \
4702 case $(srcdir) in \
4703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4704 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4706 esac; \
4707 srcdiroption="--srcdir=$${topdir}/binutils"; \
4708 libsrcdir="$$s/binutils"; \
4709 $(SHELL) $${libsrcdir}/configure \
4710 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4711 --target=${target_alias} $${srcdiroption} \
4712 --with-build-libsubdir=$(HOST_SUBDIR) \
4713 $(STAGE2_CONFIGURE_FLAGS)
4714 @endif binutils-bootstrap
4716 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4717 maybe-configure-stage3-binutils:
4718 @if binutils-bootstrap
4719 maybe-configure-stage3-binutils: configure-stage3-binutils
4720 configure-stage3-binutils:
4721 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4723 @r=`${PWD_COMMAND}`; export r; \
4724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 TFLAGS="$(STAGE3_TFLAGS)"; \
4726 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4727 $(HOST_EXPORTS) \
4728 $(POSTSTAGE1_HOST_EXPORTS) \
4729 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4730 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4731 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4732 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4734 cd $(HOST_SUBDIR)/binutils || exit 1; \
4735 case $(srcdir) in \
4736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4737 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4739 esac; \
4740 srcdiroption="--srcdir=$${topdir}/binutils"; \
4741 libsrcdir="$$s/binutils"; \
4742 $(SHELL) $${libsrcdir}/configure \
4743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4744 --target=${target_alias} $${srcdiroption} \
4745 --with-build-libsubdir=$(HOST_SUBDIR) \
4746 $(STAGE3_CONFIGURE_FLAGS)
4747 @endif binutils-bootstrap
4749 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4750 maybe-configure-stage4-binutils:
4751 @if binutils-bootstrap
4752 maybe-configure-stage4-binutils: configure-stage4-binutils
4753 configure-stage4-binutils:
4754 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4755 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4756 @r=`${PWD_COMMAND}`; export r; \
4757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4758 TFLAGS="$(STAGE4_TFLAGS)"; \
4759 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4760 $(HOST_EXPORTS) \
4761 $(POSTSTAGE1_HOST_EXPORTS) \
4762 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4763 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4764 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4765 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4767 cd $(HOST_SUBDIR)/binutils || exit 1; \
4768 case $(srcdir) in \
4769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4770 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4772 esac; \
4773 srcdiroption="--srcdir=$${topdir}/binutils"; \
4774 libsrcdir="$$s/binutils"; \
4775 $(SHELL) $${libsrcdir}/configure \
4776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4777 --target=${target_alias} $${srcdiroption} \
4778 --with-build-libsubdir=$(HOST_SUBDIR) \
4779 $(STAGE4_CONFIGURE_FLAGS)
4780 @endif binutils-bootstrap
4782 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4783 maybe-configure-stageprofile-binutils:
4784 @if binutils-bootstrap
4785 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4786 configure-stageprofile-binutils:
4787 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4789 @r=`${PWD_COMMAND}`; export r; \
4790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4791 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4792 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4793 $(HOST_EXPORTS) \
4794 $(POSTSTAGE1_HOST_EXPORTS) \
4795 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4796 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4797 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4798 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4800 cd $(HOST_SUBDIR)/binutils || exit 1; \
4801 case $(srcdir) in \
4802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4803 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4805 esac; \
4806 srcdiroption="--srcdir=$${topdir}/binutils"; \
4807 libsrcdir="$$s/binutils"; \
4808 $(SHELL) $${libsrcdir}/configure \
4809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4810 --target=${target_alias} $${srcdiroption} \
4811 --with-build-libsubdir=$(HOST_SUBDIR) \
4812 $(STAGEprofile_CONFIGURE_FLAGS)
4813 @endif binutils-bootstrap
4815 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4816 maybe-configure-stagefeedback-binutils:
4817 @if binutils-bootstrap
4818 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4819 configure-stagefeedback-binutils:
4820 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4822 @r=`${PWD_COMMAND}`; export r; \
4823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4825 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4826 $(HOST_EXPORTS) \
4827 $(POSTSTAGE1_HOST_EXPORTS) \
4828 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4829 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4830 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4831 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4833 cd $(HOST_SUBDIR)/binutils || exit 1; \
4834 case $(srcdir) in \
4835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4836 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4838 esac; \
4839 srcdiroption="--srcdir=$${topdir}/binutils"; \
4840 libsrcdir="$$s/binutils"; \
4841 $(SHELL) $${libsrcdir}/configure \
4842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4843 --target=${target_alias} $${srcdiroption} \
4844 --with-build-libsubdir=$(HOST_SUBDIR) \
4845 $(STAGEfeedback_CONFIGURE_FLAGS)
4846 @endif binutils-bootstrap
4852 .PHONY: all-binutils maybe-all-binutils
4853 maybe-all-binutils:
4854 @if gcc-bootstrap
4855 all-binutils: stage_current
4856 @endif gcc-bootstrap
4857 @if binutils
4858 TARGET-binutils=all
4859 maybe-all-binutils: all-binutils
4860 all-binutils: configure-binutils
4861 @r=`${PWD_COMMAND}`; export r; \
4862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4863 $(HOST_EXPORTS) \
4864 (cd $(HOST_SUBDIR)/binutils && \
4865 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4866 $(TARGET-binutils))
4867 @endif binutils
4871 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4872 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4873 maybe-all-stage1-binutils:
4874 maybe-clean-stage1-binutils:
4875 @if binutils-bootstrap
4876 maybe-all-stage1-binutils: all-stage1-binutils
4877 all-stage1: all-stage1-binutils
4878 TARGET-stage1-binutils = $(TARGET-binutils)
4879 all-stage1-binutils: configure-stage1-binutils
4880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4881 @r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 TFLAGS="$(STAGE1_TFLAGS)"; \
4884 $(HOST_EXPORTS) \
4885 cd $(HOST_SUBDIR)/binutils && \
4886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4887 CFLAGS="$(STAGE1_CFLAGS)" \
4888 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4889 LIBCFLAGS="$(LIBCFLAGS)" \
4890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4893 $(EXTRA_HOST_FLAGS) \
4894 TFLAGS="$(STAGE1_TFLAGS)" \
4895 $(TARGET-stage1-binutils)
4897 maybe-clean-stage1-binutils: clean-stage1-binutils
4898 clean-stage1: clean-stage1-binutils
4899 clean-stage1-binutils:
4900 @if [ $(current_stage) = stage1 ]; then \
4901 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4902 else \
4903 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4904 $(MAKE) stage1-start; \
4905 fi; \
4906 cd $(HOST_SUBDIR)/binutils && \
4907 $(MAKE) $(EXTRA_HOST_FLAGS) \
4908 clean
4909 @endif binutils-bootstrap
4912 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4913 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4914 maybe-all-stage2-binutils:
4915 maybe-clean-stage2-binutils:
4916 @if binutils-bootstrap
4917 maybe-all-stage2-binutils: all-stage2-binutils
4918 all-stage2: all-stage2-binutils
4919 TARGET-stage2-binutils = $(TARGET-binutils)
4920 all-stage2-binutils: configure-stage2-binutils
4921 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4922 @r=`${PWD_COMMAND}`; export r; \
4923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4924 TFLAGS="$(STAGE2_TFLAGS)"; \
4925 $(HOST_EXPORTS) \
4926 $(POSTSTAGE1_HOST_EXPORTS) \
4927 cd $(HOST_SUBDIR)/binutils && \
4928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4929 CFLAGS="$(STAGE2_CFLAGS)" \
4930 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4931 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4936 TFLAGS="$(STAGE2_TFLAGS)" \
4937 $(TARGET-stage2-binutils)
4939 maybe-clean-stage2-binutils: clean-stage2-binutils
4940 clean-stage2: clean-stage2-binutils
4941 clean-stage2-binutils:
4942 @if [ $(current_stage) = stage2 ]; then \
4943 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4944 else \
4945 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4946 $(MAKE) stage2-start; \
4947 fi; \
4948 cd $(HOST_SUBDIR)/binutils && \
4949 $(MAKE) $(EXTRA_HOST_FLAGS) \
4950 $(POSTSTAGE1_FLAGS_TO_PASS) \
4951 clean
4952 @endif binutils-bootstrap
4955 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4956 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4957 maybe-all-stage3-binutils:
4958 maybe-clean-stage3-binutils:
4959 @if binutils-bootstrap
4960 maybe-all-stage3-binutils: all-stage3-binutils
4961 all-stage3: all-stage3-binutils
4962 TARGET-stage3-binutils = $(TARGET-binutils)
4963 all-stage3-binutils: configure-stage3-binutils
4964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4965 @r=`${PWD_COMMAND}`; export r; \
4966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4967 TFLAGS="$(STAGE3_TFLAGS)"; \
4968 $(HOST_EXPORTS) \
4969 $(POSTSTAGE1_HOST_EXPORTS) \
4970 cd $(HOST_SUBDIR)/binutils && \
4971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4972 CFLAGS="$(STAGE3_CFLAGS)" \
4973 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4974 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4979 TFLAGS="$(STAGE3_TFLAGS)" \
4980 $(TARGET-stage3-binutils)
4982 maybe-clean-stage3-binutils: clean-stage3-binutils
4983 clean-stage3: clean-stage3-binutils
4984 clean-stage3-binutils:
4985 @if [ $(current_stage) = stage3 ]; then \
4986 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4987 else \
4988 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
4989 $(MAKE) stage3-start; \
4990 fi; \
4991 cd $(HOST_SUBDIR)/binutils && \
4992 $(MAKE) $(EXTRA_HOST_FLAGS) \
4993 $(POSTSTAGE1_FLAGS_TO_PASS) \
4994 clean
4995 @endif binutils-bootstrap
4998 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
4999 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5000 maybe-all-stage4-binutils:
5001 maybe-clean-stage4-binutils:
5002 @if binutils-bootstrap
5003 maybe-all-stage4-binutils: all-stage4-binutils
5004 all-stage4: all-stage4-binutils
5005 TARGET-stage4-binutils = $(TARGET-binutils)
5006 all-stage4-binutils: configure-stage4-binutils
5007 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5008 @r=`${PWD_COMMAND}`; export r; \
5009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5010 TFLAGS="$(STAGE4_TFLAGS)"; \
5011 $(HOST_EXPORTS) \
5012 $(POSTSTAGE1_HOST_EXPORTS) \
5013 cd $(HOST_SUBDIR)/binutils && \
5014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5015 CFLAGS="$(STAGE4_CFLAGS)" \
5016 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5017 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5022 TFLAGS="$(STAGE4_TFLAGS)" \
5023 $(TARGET-stage4-binutils)
5025 maybe-clean-stage4-binutils: clean-stage4-binutils
5026 clean-stage4: clean-stage4-binutils
5027 clean-stage4-binutils:
5028 @if [ $(current_stage) = stage4 ]; then \
5029 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5030 else \
5031 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5032 $(MAKE) stage4-start; \
5033 fi; \
5034 cd $(HOST_SUBDIR)/binutils && \
5035 $(MAKE) $(EXTRA_HOST_FLAGS) \
5036 $(POSTSTAGE1_FLAGS_TO_PASS) \
5037 clean
5038 @endif binutils-bootstrap
5041 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5042 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5043 maybe-all-stageprofile-binutils:
5044 maybe-clean-stageprofile-binutils:
5045 @if binutils-bootstrap
5046 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5047 all-stageprofile: all-stageprofile-binutils
5048 TARGET-stageprofile-binutils = $(TARGET-binutils)
5049 all-stageprofile-binutils: configure-stageprofile-binutils
5050 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5051 @r=`${PWD_COMMAND}`; export r; \
5052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5053 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5054 $(HOST_EXPORTS) \
5055 $(POSTSTAGE1_HOST_EXPORTS) \
5056 cd $(HOST_SUBDIR)/binutils && \
5057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5058 CFLAGS="$(STAGEprofile_CFLAGS)" \
5059 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5060 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5065 TFLAGS="$(STAGEprofile_TFLAGS)" \
5066 $(TARGET-stageprofile-binutils)
5068 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5069 clean-stageprofile: clean-stageprofile-binutils
5070 clean-stageprofile-binutils:
5071 @if [ $(current_stage) = stageprofile ]; then \
5072 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5073 else \
5074 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5075 $(MAKE) stageprofile-start; \
5076 fi; \
5077 cd $(HOST_SUBDIR)/binutils && \
5078 $(MAKE) $(EXTRA_HOST_FLAGS) \
5079 $(POSTSTAGE1_FLAGS_TO_PASS) \
5080 clean
5081 @endif binutils-bootstrap
5084 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5085 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5086 maybe-all-stagefeedback-binutils:
5087 maybe-clean-stagefeedback-binutils:
5088 @if binutils-bootstrap
5089 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5090 all-stagefeedback: all-stagefeedback-binutils
5091 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5092 all-stagefeedback-binutils: configure-stagefeedback-binutils
5093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5094 @r=`${PWD_COMMAND}`; export r; \
5095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5096 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5097 $(HOST_EXPORTS) \
5098 $(POSTSTAGE1_HOST_EXPORTS) \
5099 cd $(HOST_SUBDIR)/binutils && \
5100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5101 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5107 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5108 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5109 $(TARGET-stagefeedback-binutils)
5111 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5112 clean-stagefeedback: clean-stagefeedback-binutils
5113 clean-stagefeedback-binutils:
5114 @if [ $(current_stage) = stagefeedback ]; then \
5115 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5116 else \
5117 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5118 $(MAKE) stagefeedback-start; \
5119 fi; \
5120 cd $(HOST_SUBDIR)/binutils && \
5121 $(MAKE) $(EXTRA_HOST_FLAGS) \
5122 $(POSTSTAGE1_FLAGS_TO_PASS) \
5123 clean
5124 @endif binutils-bootstrap
5130 .PHONY: check-binutils maybe-check-binutils
5131 maybe-check-binutils:
5132 @if binutils
5133 maybe-check-binutils: check-binutils
5135 check-binutils:
5136 @: $(MAKE); $(unstage)
5137 @r=`${PWD_COMMAND}`; export r; \
5138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 $(HOST_EXPORTS) \
5140 (cd $(HOST_SUBDIR)/binutils && \
5141 $(MAKE) $(FLAGS_TO_PASS) check)
5143 @endif binutils
5145 .PHONY: install-binutils maybe-install-binutils
5146 maybe-install-binutils:
5147 @if binutils
5148 maybe-install-binutils: install-binutils
5150 install-binutils: installdirs
5151 @: $(MAKE); $(unstage)
5152 @r=`${PWD_COMMAND}`; export r; \
5153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5154 $(HOST_EXPORTS) \
5155 (cd $(HOST_SUBDIR)/binutils && \
5156 $(MAKE) $(FLAGS_TO_PASS) install)
5158 @endif binutils
5160 .PHONY: install-strip-binutils maybe-install-strip-binutils
5161 maybe-install-strip-binutils:
5162 @if binutils
5163 maybe-install-strip-binutils: install-strip-binutils
5165 install-strip-binutils: installdirs
5166 @: $(MAKE); $(unstage)
5167 @r=`${PWD_COMMAND}`; export r; \
5168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 $(HOST_EXPORTS) \
5170 (cd $(HOST_SUBDIR)/binutils && \
5171 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5173 @endif binutils
5175 # Other targets (info, dvi, pdf, etc.)
5177 .PHONY: maybe-info-binutils info-binutils
5178 maybe-info-binutils:
5179 @if binutils
5180 maybe-info-binutils: info-binutils
5182 info-binutils: \
5183 configure-binutils
5184 @[ -f ./binutils/Makefile ] || exit 0; \
5185 r=`${PWD_COMMAND}`; export r; \
5186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5187 $(HOST_EXPORTS) \
5188 for flag in $(EXTRA_HOST_FLAGS) ; do \
5189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5190 done; \
5191 echo "Doing info in binutils" ; \
5192 (cd $(HOST_SUBDIR)/binutils && \
5193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5195 "RANLIB=$${RANLIB}" \
5196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5197 info) \
5198 || exit 1
5200 @endif binutils
5202 .PHONY: maybe-dvi-binutils dvi-binutils
5203 maybe-dvi-binutils:
5204 @if binutils
5205 maybe-dvi-binutils: dvi-binutils
5207 dvi-binutils: \
5208 configure-binutils
5209 @[ -f ./binutils/Makefile ] || exit 0; \
5210 r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(HOST_EXPORTS) \
5213 for flag in $(EXTRA_HOST_FLAGS) ; do \
5214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5215 done; \
5216 echo "Doing dvi in binutils" ; \
5217 (cd $(HOST_SUBDIR)/binutils && \
5218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5220 "RANLIB=$${RANLIB}" \
5221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5222 dvi) \
5223 || exit 1
5225 @endif binutils
5227 .PHONY: maybe-pdf-binutils pdf-binutils
5228 maybe-pdf-binutils:
5229 @if binutils
5230 maybe-pdf-binutils: pdf-binutils
5232 pdf-binutils: \
5233 configure-binutils
5234 @[ -f ./binutils/Makefile ] || exit 0; \
5235 r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 $(HOST_EXPORTS) \
5238 for flag in $(EXTRA_HOST_FLAGS) ; do \
5239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5240 done; \
5241 echo "Doing pdf in binutils" ; \
5242 (cd $(HOST_SUBDIR)/binutils && \
5243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5245 "RANLIB=$${RANLIB}" \
5246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5247 pdf) \
5248 || exit 1
5250 @endif binutils
5252 .PHONY: maybe-html-binutils html-binutils
5253 maybe-html-binutils:
5254 @if binutils
5255 maybe-html-binutils: html-binutils
5257 html-binutils: \
5258 configure-binutils
5259 @[ -f ./binutils/Makefile ] || exit 0; \
5260 r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 $(HOST_EXPORTS) \
5263 for flag in $(EXTRA_HOST_FLAGS) ; do \
5264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5265 done; \
5266 echo "Doing html in binutils" ; \
5267 (cd $(HOST_SUBDIR)/binutils && \
5268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5270 "RANLIB=$${RANLIB}" \
5271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5272 html) \
5273 || exit 1
5275 @endif binutils
5277 .PHONY: maybe-TAGS-binutils TAGS-binutils
5278 maybe-TAGS-binutils:
5279 @if binutils
5280 maybe-TAGS-binutils: TAGS-binutils
5282 TAGS-binutils: \
5283 configure-binutils
5284 @[ -f ./binutils/Makefile ] || exit 0; \
5285 r=`${PWD_COMMAND}`; export r; \
5286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5287 $(HOST_EXPORTS) \
5288 for flag in $(EXTRA_HOST_FLAGS) ; do \
5289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5290 done; \
5291 echo "Doing TAGS in binutils" ; \
5292 (cd $(HOST_SUBDIR)/binutils && \
5293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5295 "RANLIB=$${RANLIB}" \
5296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5297 TAGS) \
5298 || exit 1
5300 @endif binutils
5302 .PHONY: maybe-install-info-binutils install-info-binutils
5303 maybe-install-info-binutils:
5304 @if binutils
5305 maybe-install-info-binutils: install-info-binutils
5307 install-info-binutils: \
5308 configure-binutils \
5309 info-binutils
5310 @[ -f ./binutils/Makefile ] || exit 0; \
5311 r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5313 $(HOST_EXPORTS) \
5314 for flag in $(EXTRA_HOST_FLAGS) ; do \
5315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5316 done; \
5317 echo "Doing install-info in binutils" ; \
5318 (cd $(HOST_SUBDIR)/binutils && \
5319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5321 "RANLIB=$${RANLIB}" \
5322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5323 install-info) \
5324 || exit 1
5326 @endif binutils
5328 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5329 maybe-install-pdf-binutils:
5330 @if binutils
5331 maybe-install-pdf-binutils: install-pdf-binutils
5333 install-pdf-binutils: \
5334 configure-binutils \
5335 pdf-binutils
5336 @[ -f ./binutils/Makefile ] || exit 0; \
5337 r=`${PWD_COMMAND}`; export r; \
5338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5339 $(HOST_EXPORTS) \
5340 for flag in $(EXTRA_HOST_FLAGS) ; do \
5341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5342 done; \
5343 echo "Doing install-pdf in binutils" ; \
5344 (cd $(HOST_SUBDIR)/binutils && \
5345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5347 "RANLIB=$${RANLIB}" \
5348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5349 install-pdf) \
5350 || exit 1
5352 @endif binutils
5354 .PHONY: maybe-install-html-binutils install-html-binutils
5355 maybe-install-html-binutils:
5356 @if binutils
5357 maybe-install-html-binutils: install-html-binutils
5359 install-html-binutils: \
5360 configure-binutils \
5361 html-binutils
5362 @[ -f ./binutils/Makefile ] || exit 0; \
5363 r=`${PWD_COMMAND}`; export r; \
5364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5365 $(HOST_EXPORTS) \
5366 for flag in $(EXTRA_HOST_FLAGS) ; do \
5367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5368 done; \
5369 echo "Doing install-html in binutils" ; \
5370 (cd $(HOST_SUBDIR)/binutils && \
5371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5373 "RANLIB=$${RANLIB}" \
5374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5375 install-html) \
5376 || exit 1
5378 @endif binutils
5380 .PHONY: maybe-installcheck-binutils installcheck-binutils
5381 maybe-installcheck-binutils:
5382 @if binutils
5383 maybe-installcheck-binutils: installcheck-binutils
5385 installcheck-binutils: \
5386 configure-binutils
5387 @[ -f ./binutils/Makefile ] || exit 0; \
5388 r=`${PWD_COMMAND}`; export r; \
5389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5390 $(HOST_EXPORTS) \
5391 for flag in $(EXTRA_HOST_FLAGS) ; do \
5392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5393 done; \
5394 echo "Doing installcheck in binutils" ; \
5395 (cd $(HOST_SUBDIR)/binutils && \
5396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5398 "RANLIB=$${RANLIB}" \
5399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5400 installcheck) \
5401 || exit 1
5403 @endif binutils
5405 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5406 maybe-mostlyclean-binutils:
5407 @if binutils
5408 maybe-mostlyclean-binutils: mostlyclean-binutils
5410 mostlyclean-binutils:
5411 @[ -f ./binutils/Makefile ] || exit 0; \
5412 r=`${PWD_COMMAND}`; export r; \
5413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5414 $(HOST_EXPORTS) \
5415 for flag in $(EXTRA_HOST_FLAGS) ; do \
5416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5417 done; \
5418 echo "Doing mostlyclean in binutils" ; \
5419 (cd $(HOST_SUBDIR)/binutils && \
5420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5422 "RANLIB=$${RANLIB}" \
5423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5424 mostlyclean) \
5425 || exit 1
5427 @endif binutils
5429 .PHONY: maybe-clean-binutils clean-binutils
5430 maybe-clean-binutils:
5431 @if binutils
5432 maybe-clean-binutils: clean-binutils
5434 clean-binutils:
5435 @[ -f ./binutils/Makefile ] || exit 0; \
5436 r=`${PWD_COMMAND}`; export r; \
5437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5438 $(HOST_EXPORTS) \
5439 for flag in $(EXTRA_HOST_FLAGS) ; do \
5440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5441 done; \
5442 echo "Doing clean in binutils" ; \
5443 (cd $(HOST_SUBDIR)/binutils && \
5444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5446 "RANLIB=$${RANLIB}" \
5447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5448 clean) \
5449 || exit 1
5451 @endif binutils
5453 .PHONY: maybe-distclean-binutils distclean-binutils
5454 maybe-distclean-binutils:
5455 @if binutils
5456 maybe-distclean-binutils: distclean-binutils
5458 distclean-binutils:
5459 @[ -f ./binutils/Makefile ] || exit 0; \
5460 r=`${PWD_COMMAND}`; export r; \
5461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5462 $(HOST_EXPORTS) \
5463 for flag in $(EXTRA_HOST_FLAGS) ; do \
5464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5465 done; \
5466 echo "Doing distclean in binutils" ; \
5467 (cd $(HOST_SUBDIR)/binutils && \
5468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5470 "RANLIB=$${RANLIB}" \
5471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5472 distclean) \
5473 || exit 1
5475 @endif binutils
5477 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5478 maybe-maintainer-clean-binutils:
5479 @if binutils
5480 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5482 maintainer-clean-binutils:
5483 @[ -f ./binutils/Makefile ] || exit 0; \
5484 r=`${PWD_COMMAND}`; export r; \
5485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 $(HOST_EXPORTS) \
5487 for flag in $(EXTRA_HOST_FLAGS) ; do \
5488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5489 done; \
5490 echo "Doing maintainer-clean in binutils" ; \
5491 (cd $(HOST_SUBDIR)/binutils && \
5492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5494 "RANLIB=$${RANLIB}" \
5495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5496 maintainer-clean) \
5497 || exit 1
5499 @endif binutils
5503 .PHONY: configure-bison maybe-configure-bison
5504 maybe-configure-bison:
5505 @if gcc-bootstrap
5506 configure-bison: stage_current
5507 @endif gcc-bootstrap
5508 @if bison
5509 maybe-configure-bison: configure-bison
5510 configure-bison:
5511 @: $(MAKE); $(unstage)
5512 @r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5516 $(HOST_EXPORTS) \
5517 echo Configuring in $(HOST_SUBDIR)/bison; \
5518 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5519 case $(srcdir) in \
5520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5521 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5523 esac; \
5524 srcdiroption="--srcdir=$${topdir}/bison"; \
5525 libsrcdir="$$s/bison"; \
5526 $(SHELL) $${libsrcdir}/configure \
5527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5528 --target=${target_alias} $${srcdiroption} \
5529 || exit 1
5530 @endif bison
5536 .PHONY: all-bison maybe-all-bison
5537 maybe-all-bison:
5538 @if gcc-bootstrap
5539 all-bison: stage_current
5540 @endif gcc-bootstrap
5541 @if bison
5542 TARGET-bison=all
5543 maybe-all-bison: all-bison
5544 all-bison: configure-bison
5545 @: $(MAKE); $(unstage)
5546 @r=`${PWD_COMMAND}`; export r; \
5547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5548 $(HOST_EXPORTS) \
5549 (cd $(HOST_SUBDIR)/bison && \
5550 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5551 $(TARGET-bison))
5552 @endif bison
5557 .PHONY: check-bison maybe-check-bison
5558 maybe-check-bison:
5559 @if bison
5560 maybe-check-bison: check-bison
5562 # This module is only tested in a native toolchain.
5563 check-bison:
5564 @: $(MAKE); $(unstage)
5565 @if [ '$(host)' = '$(target)' ] ; then \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 (cd $(HOST_SUBDIR)/bison && \
5570 $(MAKE) $(FLAGS_TO_PASS) check); \
5573 @endif bison
5575 .PHONY: install-bison maybe-install-bison
5576 maybe-install-bison:
5577 @if bison
5578 maybe-install-bison: install-bison
5580 install-bison: installdirs
5581 @: $(MAKE); $(unstage)
5582 @r=`${PWD_COMMAND}`; export r; \
5583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5584 $(HOST_EXPORTS) \
5585 (cd $(HOST_SUBDIR)/bison && \
5586 $(MAKE) $(FLAGS_TO_PASS) install)
5588 @endif bison
5590 .PHONY: install-strip-bison maybe-install-strip-bison
5591 maybe-install-strip-bison:
5592 @if bison
5593 maybe-install-strip-bison: install-strip-bison
5595 install-strip-bison: installdirs
5596 @: $(MAKE); $(unstage)
5597 @r=`${PWD_COMMAND}`; export r; \
5598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5599 $(HOST_EXPORTS) \
5600 (cd $(HOST_SUBDIR)/bison && \
5601 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5603 @endif bison
5605 # Other targets (info, dvi, pdf, etc.)
5607 .PHONY: maybe-info-bison info-bison
5608 maybe-info-bison:
5609 @if bison
5610 maybe-info-bison: info-bison
5612 info-bison: \
5613 configure-bison
5614 @: $(MAKE); $(unstage)
5615 @[ -f ./bison/Makefile ] || exit 0; \
5616 r=`${PWD_COMMAND}`; export r; \
5617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 $(HOST_EXPORTS) \
5619 for flag in $(EXTRA_HOST_FLAGS) ; do \
5620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5621 done; \
5622 echo "Doing info in bison" ; \
5623 (cd $(HOST_SUBDIR)/bison && \
5624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5626 "RANLIB=$${RANLIB}" \
5627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5628 info) \
5629 || exit 1
5631 @endif bison
5633 .PHONY: maybe-dvi-bison dvi-bison
5634 maybe-dvi-bison:
5635 @if bison
5636 maybe-dvi-bison: dvi-bison
5638 dvi-bison: \
5639 configure-bison
5640 @: $(MAKE); $(unstage)
5641 @[ -f ./bison/Makefile ] || exit 0; \
5642 r=`${PWD_COMMAND}`; export r; \
5643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 $(HOST_EXPORTS) \
5645 for flag in $(EXTRA_HOST_FLAGS) ; do \
5646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5647 done; \
5648 echo "Doing dvi in bison" ; \
5649 (cd $(HOST_SUBDIR)/bison && \
5650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5652 "RANLIB=$${RANLIB}" \
5653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5654 dvi) \
5655 || exit 1
5657 @endif bison
5659 .PHONY: maybe-pdf-bison pdf-bison
5660 maybe-pdf-bison:
5661 @if bison
5662 maybe-pdf-bison: pdf-bison
5664 pdf-bison: \
5665 configure-bison
5666 @: $(MAKE); $(unstage)
5667 @[ -f ./bison/Makefile ] || exit 0; \
5668 r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 $(HOST_EXPORTS) \
5671 for flag in $(EXTRA_HOST_FLAGS) ; do \
5672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5673 done; \
5674 echo "Doing pdf in bison" ; \
5675 (cd $(HOST_SUBDIR)/bison && \
5676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5678 "RANLIB=$${RANLIB}" \
5679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5680 pdf) \
5681 || exit 1
5683 @endif bison
5685 .PHONY: maybe-html-bison html-bison
5686 maybe-html-bison:
5687 @if bison
5688 maybe-html-bison: html-bison
5690 html-bison: \
5691 configure-bison
5692 @: $(MAKE); $(unstage)
5693 @[ -f ./bison/Makefile ] || exit 0; \
5694 r=`${PWD_COMMAND}`; export r; \
5695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5696 $(HOST_EXPORTS) \
5697 for flag in $(EXTRA_HOST_FLAGS) ; do \
5698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5699 done; \
5700 echo "Doing html in bison" ; \
5701 (cd $(HOST_SUBDIR)/bison && \
5702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5704 "RANLIB=$${RANLIB}" \
5705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5706 html) \
5707 || exit 1
5709 @endif bison
5711 .PHONY: maybe-TAGS-bison TAGS-bison
5712 maybe-TAGS-bison:
5713 @if bison
5714 maybe-TAGS-bison: TAGS-bison
5716 TAGS-bison: \
5717 configure-bison
5718 @: $(MAKE); $(unstage)
5719 @[ -f ./bison/Makefile ] || exit 0; \
5720 r=`${PWD_COMMAND}`; export r; \
5721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5722 $(HOST_EXPORTS) \
5723 for flag in $(EXTRA_HOST_FLAGS) ; do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5725 done; \
5726 echo "Doing TAGS in bison" ; \
5727 (cd $(HOST_SUBDIR)/bison && \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5732 TAGS) \
5733 || exit 1
5735 @endif bison
5737 .PHONY: maybe-install-info-bison install-info-bison
5738 maybe-install-info-bison:
5739 @if bison
5740 maybe-install-info-bison: install-info-bison
5742 install-info-bison: \
5743 configure-bison \
5744 info-bison
5745 @: $(MAKE); $(unstage)
5746 @[ -f ./bison/Makefile ] || exit 0; \
5747 r=`${PWD_COMMAND}`; export r; \
5748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5749 $(HOST_EXPORTS) \
5750 for flag in $(EXTRA_HOST_FLAGS) ; do \
5751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5752 done; \
5753 echo "Doing install-info in bison" ; \
5754 (cd $(HOST_SUBDIR)/bison && \
5755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5757 "RANLIB=$${RANLIB}" \
5758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5759 install-info) \
5760 || exit 1
5762 @endif bison
5764 .PHONY: maybe-install-pdf-bison install-pdf-bison
5765 maybe-install-pdf-bison:
5766 @if bison
5767 maybe-install-pdf-bison: install-pdf-bison
5769 install-pdf-bison: \
5770 configure-bison \
5771 pdf-bison
5772 @: $(MAKE); $(unstage)
5773 @[ -f ./bison/Makefile ] || exit 0; \
5774 r=`${PWD_COMMAND}`; export r; \
5775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5776 $(HOST_EXPORTS) \
5777 for flag in $(EXTRA_HOST_FLAGS) ; do \
5778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5779 done; \
5780 echo "Doing install-pdf in bison" ; \
5781 (cd $(HOST_SUBDIR)/bison && \
5782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5784 "RANLIB=$${RANLIB}" \
5785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5786 install-pdf) \
5787 || exit 1
5789 @endif bison
5791 .PHONY: maybe-install-html-bison install-html-bison
5792 maybe-install-html-bison:
5793 @if bison
5794 maybe-install-html-bison: install-html-bison
5796 install-html-bison: \
5797 configure-bison \
5798 html-bison
5799 @: $(MAKE); $(unstage)
5800 @[ -f ./bison/Makefile ] || exit 0; \
5801 r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(HOST_EXPORTS) \
5804 for flag in $(EXTRA_HOST_FLAGS) ; do \
5805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5806 done; \
5807 echo "Doing install-html in bison" ; \
5808 (cd $(HOST_SUBDIR)/bison && \
5809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811 "RANLIB=$${RANLIB}" \
5812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5813 install-html) \
5814 || exit 1
5816 @endif bison
5818 .PHONY: maybe-installcheck-bison installcheck-bison
5819 maybe-installcheck-bison:
5820 @if bison
5821 maybe-installcheck-bison: installcheck-bison
5823 installcheck-bison: \
5824 configure-bison
5825 @: $(MAKE); $(unstage)
5826 @[ -f ./bison/Makefile ] || exit 0; \
5827 r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing installcheck in bison" ; \
5834 (cd $(HOST_SUBDIR)/bison && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5839 installcheck) \
5840 || exit 1
5842 @endif bison
5844 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5845 maybe-mostlyclean-bison:
5846 @if bison
5847 maybe-mostlyclean-bison: mostlyclean-bison
5849 mostlyclean-bison:
5850 @: $(MAKE); $(unstage)
5851 @[ -f ./bison/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(HOST_EXPORTS) \
5855 for flag in $(EXTRA_HOST_FLAGS) ; do \
5856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5857 done; \
5858 echo "Doing mostlyclean in bison" ; \
5859 (cd $(HOST_SUBDIR)/bison && \
5860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862 "RANLIB=$${RANLIB}" \
5863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5864 mostlyclean) \
5865 || exit 1
5867 @endif bison
5869 .PHONY: maybe-clean-bison clean-bison
5870 maybe-clean-bison:
5871 @if bison
5872 maybe-clean-bison: clean-bison
5874 clean-bison:
5875 @: $(MAKE); $(unstage)
5876 @[ -f ./bison/Makefile ] || exit 0; \
5877 r=`${PWD_COMMAND}`; export r; \
5878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5879 $(HOST_EXPORTS) \
5880 for flag in $(EXTRA_HOST_FLAGS) ; do \
5881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5882 done; \
5883 echo "Doing clean in bison" ; \
5884 (cd $(HOST_SUBDIR)/bison && \
5885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5887 "RANLIB=$${RANLIB}" \
5888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5889 clean) \
5890 || exit 1
5892 @endif bison
5894 .PHONY: maybe-distclean-bison distclean-bison
5895 maybe-distclean-bison:
5896 @if bison
5897 maybe-distclean-bison: distclean-bison
5899 distclean-bison:
5900 @: $(MAKE); $(unstage)
5901 @[ -f ./bison/Makefile ] || exit 0; \
5902 r=`${PWD_COMMAND}`; export r; \
5903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5904 $(HOST_EXPORTS) \
5905 for flag in $(EXTRA_HOST_FLAGS) ; do \
5906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5907 done; \
5908 echo "Doing distclean in bison" ; \
5909 (cd $(HOST_SUBDIR)/bison && \
5910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5912 "RANLIB=$${RANLIB}" \
5913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5914 distclean) \
5915 || exit 1
5917 @endif bison
5919 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5920 maybe-maintainer-clean-bison:
5921 @if bison
5922 maybe-maintainer-clean-bison: maintainer-clean-bison
5924 maintainer-clean-bison:
5925 @: $(MAKE); $(unstage)
5926 @[ -f ./bison/Makefile ] || exit 0; \
5927 r=`${PWD_COMMAND}`; export r; \
5928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5929 $(HOST_EXPORTS) \
5930 for flag in $(EXTRA_HOST_FLAGS) ; do \
5931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5932 done; \
5933 echo "Doing maintainer-clean in bison" ; \
5934 (cd $(HOST_SUBDIR)/bison && \
5935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5937 "RANLIB=$${RANLIB}" \
5938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5939 maintainer-clean) \
5940 || exit 1
5942 @endif bison
5946 .PHONY: configure-cgen maybe-configure-cgen
5947 maybe-configure-cgen:
5948 @if gcc-bootstrap
5949 configure-cgen: stage_current
5950 @endif gcc-bootstrap
5951 @if cgen
5952 maybe-configure-cgen: configure-cgen
5953 configure-cgen:
5954 @: $(MAKE); $(unstage)
5955 @r=`${PWD_COMMAND}`; export r; \
5956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5957 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5959 $(HOST_EXPORTS) \
5960 echo Configuring in $(HOST_SUBDIR)/cgen; \
5961 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5962 case $(srcdir) in \
5963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5964 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
5965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5966 esac; \
5967 srcdiroption="--srcdir=$${topdir}/cgen"; \
5968 libsrcdir="$$s/cgen"; \
5969 $(SHELL) $${libsrcdir}/configure \
5970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5971 --target=${target_alias} $${srcdiroption} \
5972 || exit 1
5973 @endif cgen
5979 .PHONY: all-cgen maybe-all-cgen
5980 maybe-all-cgen:
5981 @if gcc-bootstrap
5982 all-cgen: stage_current
5983 @endif gcc-bootstrap
5984 @if cgen
5985 TARGET-cgen=all
5986 maybe-all-cgen: all-cgen
5987 all-cgen: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5994 $(TARGET-cgen))
5995 @endif cgen
6000 .PHONY: check-cgen maybe-check-cgen
6001 maybe-check-cgen:
6002 @if cgen
6003 maybe-check-cgen: check-cgen
6005 check-cgen:
6006 @: $(MAKE); $(unstage)
6007 @r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 (cd $(HOST_SUBDIR)/cgen && \
6011 $(MAKE) $(FLAGS_TO_PASS) check)
6013 @endif cgen
6015 .PHONY: install-cgen maybe-install-cgen
6016 maybe-install-cgen:
6017 @if cgen
6018 maybe-install-cgen: install-cgen
6020 install-cgen: installdirs
6021 @: $(MAKE); $(unstage)
6022 @r=`${PWD_COMMAND}`; export r; \
6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 $(HOST_EXPORTS) \
6025 (cd $(HOST_SUBDIR)/cgen && \
6026 $(MAKE) $(FLAGS_TO_PASS) install)
6028 @endif cgen
6030 .PHONY: install-strip-cgen maybe-install-strip-cgen
6031 maybe-install-strip-cgen:
6032 @if cgen
6033 maybe-install-strip-cgen: install-strip-cgen
6035 install-strip-cgen: installdirs
6036 @: $(MAKE); $(unstage)
6037 @r=`${PWD_COMMAND}`; export r; \
6038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6039 $(HOST_EXPORTS) \
6040 (cd $(HOST_SUBDIR)/cgen && \
6041 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6043 @endif cgen
6045 # Other targets (info, dvi, pdf, etc.)
6047 .PHONY: maybe-info-cgen info-cgen
6048 maybe-info-cgen:
6049 @if cgen
6050 maybe-info-cgen: info-cgen
6052 info-cgen: \
6053 configure-cgen
6054 @: $(MAKE); $(unstage)
6055 @[ -f ./cgen/Makefile ] || exit 0; \
6056 r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058 $(HOST_EXPORTS) \
6059 for flag in $(EXTRA_HOST_FLAGS) ; do \
6060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6061 done; \
6062 echo "Doing info in cgen" ; \
6063 (cd $(HOST_SUBDIR)/cgen && \
6064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6066 "RANLIB=$${RANLIB}" \
6067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6068 info) \
6069 || exit 1
6071 @endif cgen
6073 .PHONY: maybe-dvi-cgen dvi-cgen
6074 maybe-dvi-cgen:
6075 @if cgen
6076 maybe-dvi-cgen: dvi-cgen
6078 dvi-cgen: \
6079 configure-cgen
6080 @: $(MAKE); $(unstage)
6081 @[ -f ./cgen/Makefile ] || exit 0; \
6082 r=`${PWD_COMMAND}`; export r; \
6083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6084 $(HOST_EXPORTS) \
6085 for flag in $(EXTRA_HOST_FLAGS) ; do \
6086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6087 done; \
6088 echo "Doing dvi in cgen" ; \
6089 (cd $(HOST_SUBDIR)/cgen && \
6090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6092 "RANLIB=$${RANLIB}" \
6093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6094 dvi) \
6095 || exit 1
6097 @endif cgen
6099 .PHONY: maybe-pdf-cgen pdf-cgen
6100 maybe-pdf-cgen:
6101 @if cgen
6102 maybe-pdf-cgen: pdf-cgen
6104 pdf-cgen: \
6105 configure-cgen
6106 @: $(MAKE); $(unstage)
6107 @[ -f ./cgen/Makefile ] || exit 0; \
6108 r=`${PWD_COMMAND}`; export r; \
6109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 $(HOST_EXPORTS) \
6111 for flag in $(EXTRA_HOST_FLAGS) ; do \
6112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6113 done; \
6114 echo "Doing pdf in cgen" ; \
6115 (cd $(HOST_SUBDIR)/cgen && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6118 "RANLIB=$${RANLIB}" \
6119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6120 pdf) \
6121 || exit 1
6123 @endif cgen
6125 .PHONY: maybe-html-cgen html-cgen
6126 maybe-html-cgen:
6127 @if cgen
6128 maybe-html-cgen: html-cgen
6130 html-cgen: \
6131 configure-cgen
6132 @: $(MAKE); $(unstage)
6133 @[ -f ./cgen/Makefile ] || exit 0; \
6134 r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 for flag in $(EXTRA_HOST_FLAGS) ; do \
6138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6139 done; \
6140 echo "Doing html in cgen" ; \
6141 (cd $(HOST_SUBDIR)/cgen && \
6142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6144 "RANLIB=$${RANLIB}" \
6145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6146 html) \
6147 || exit 1
6149 @endif cgen
6151 .PHONY: maybe-TAGS-cgen TAGS-cgen
6152 maybe-TAGS-cgen:
6153 @if cgen
6154 maybe-TAGS-cgen: TAGS-cgen
6156 TAGS-cgen: \
6157 configure-cgen
6158 @: $(MAKE); $(unstage)
6159 @[ -f ./cgen/Makefile ] || exit 0; \
6160 r=`${PWD_COMMAND}`; export r; \
6161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6162 $(HOST_EXPORTS) \
6163 for flag in $(EXTRA_HOST_FLAGS) ; do \
6164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6165 done; \
6166 echo "Doing TAGS in cgen" ; \
6167 (cd $(HOST_SUBDIR)/cgen && \
6168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6170 "RANLIB=$${RANLIB}" \
6171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6172 TAGS) \
6173 || exit 1
6175 @endif cgen
6177 .PHONY: maybe-install-info-cgen install-info-cgen
6178 maybe-install-info-cgen:
6179 @if cgen
6180 maybe-install-info-cgen: install-info-cgen
6182 install-info-cgen: \
6183 configure-cgen \
6184 info-cgen
6185 @: $(MAKE); $(unstage)
6186 @[ -f ./cgen/Makefile ] || exit 0; \
6187 r=`${PWD_COMMAND}`; export r; \
6188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6189 $(HOST_EXPORTS) \
6190 for flag in $(EXTRA_HOST_FLAGS) ; do \
6191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6192 done; \
6193 echo "Doing install-info in cgen" ; \
6194 (cd $(HOST_SUBDIR)/cgen && \
6195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6197 "RANLIB=$${RANLIB}" \
6198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6199 install-info) \
6200 || exit 1
6202 @endif cgen
6204 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6205 maybe-install-pdf-cgen:
6206 @if cgen
6207 maybe-install-pdf-cgen: install-pdf-cgen
6209 install-pdf-cgen: \
6210 configure-cgen \
6211 pdf-cgen
6212 @: $(MAKE); $(unstage)
6213 @[ -f ./cgen/Makefile ] || exit 0; \
6214 r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 $(HOST_EXPORTS) \
6217 for flag in $(EXTRA_HOST_FLAGS) ; do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6219 done; \
6220 echo "Doing install-pdf in cgen" ; \
6221 (cd $(HOST_SUBDIR)/cgen && \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6226 install-pdf) \
6227 || exit 1
6229 @endif cgen
6231 .PHONY: maybe-install-html-cgen install-html-cgen
6232 maybe-install-html-cgen:
6233 @if cgen
6234 maybe-install-html-cgen: install-html-cgen
6236 install-html-cgen: \
6237 configure-cgen \
6238 html-cgen
6239 @: $(MAKE); $(unstage)
6240 @[ -f ./cgen/Makefile ] || exit 0; \
6241 r=`${PWD_COMMAND}`; export r; \
6242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6243 $(HOST_EXPORTS) \
6244 for flag in $(EXTRA_HOST_FLAGS) ; do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 done; \
6247 echo "Doing install-html in cgen" ; \
6248 (cd $(HOST_SUBDIR)/cgen && \
6249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6251 "RANLIB=$${RANLIB}" \
6252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6253 install-html) \
6254 || exit 1
6256 @endif cgen
6258 .PHONY: maybe-installcheck-cgen installcheck-cgen
6259 maybe-installcheck-cgen:
6260 @if cgen
6261 maybe-installcheck-cgen: installcheck-cgen
6263 installcheck-cgen: \
6264 configure-cgen
6265 @: $(MAKE); $(unstage)
6266 @[ -f ./cgen/Makefile ] || exit 0; \
6267 r=`${PWD_COMMAND}`; export r; \
6268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6269 $(HOST_EXPORTS) \
6270 for flag in $(EXTRA_HOST_FLAGS) ; do \
6271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6272 done; \
6273 echo "Doing installcheck in cgen" ; \
6274 (cd $(HOST_SUBDIR)/cgen && \
6275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6277 "RANLIB=$${RANLIB}" \
6278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6279 installcheck) \
6280 || exit 1
6282 @endif cgen
6284 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6285 maybe-mostlyclean-cgen:
6286 @if cgen
6287 maybe-mostlyclean-cgen: mostlyclean-cgen
6289 mostlyclean-cgen:
6290 @: $(MAKE); $(unstage)
6291 @[ -f ./cgen/Makefile ] || exit 0; \
6292 r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(HOST_EXPORTS) \
6295 for flag in $(EXTRA_HOST_FLAGS) ; do \
6296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6297 done; \
6298 echo "Doing mostlyclean in cgen" ; \
6299 (cd $(HOST_SUBDIR)/cgen && \
6300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6302 "RANLIB=$${RANLIB}" \
6303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6304 mostlyclean) \
6305 || exit 1
6307 @endif cgen
6309 .PHONY: maybe-clean-cgen clean-cgen
6310 maybe-clean-cgen:
6311 @if cgen
6312 maybe-clean-cgen: clean-cgen
6314 clean-cgen:
6315 @: $(MAKE); $(unstage)
6316 @[ -f ./cgen/Makefile ] || exit 0; \
6317 r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 $(HOST_EXPORTS) \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322 done; \
6323 echo "Doing clean in cgen" ; \
6324 (cd $(HOST_SUBDIR)/cgen && \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6329 clean) \
6330 || exit 1
6332 @endif cgen
6334 .PHONY: maybe-distclean-cgen distclean-cgen
6335 maybe-distclean-cgen:
6336 @if cgen
6337 maybe-distclean-cgen: distclean-cgen
6339 distclean-cgen:
6340 @: $(MAKE); $(unstage)
6341 @[ -f ./cgen/Makefile ] || exit 0; \
6342 r=`${PWD_COMMAND}`; export r; \
6343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6344 $(HOST_EXPORTS) \
6345 for flag in $(EXTRA_HOST_FLAGS) ; do \
6346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6347 done; \
6348 echo "Doing distclean in cgen" ; \
6349 (cd $(HOST_SUBDIR)/cgen && \
6350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6352 "RANLIB=$${RANLIB}" \
6353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6354 distclean) \
6355 || exit 1
6357 @endif cgen
6359 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6360 maybe-maintainer-clean-cgen:
6361 @if cgen
6362 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6364 maintainer-clean-cgen:
6365 @: $(MAKE); $(unstage)
6366 @[ -f ./cgen/Makefile ] || exit 0; \
6367 r=`${PWD_COMMAND}`; export r; \
6368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6369 $(HOST_EXPORTS) \
6370 for flag in $(EXTRA_HOST_FLAGS) ; do \
6371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6372 done; \
6373 echo "Doing maintainer-clean in cgen" ; \
6374 (cd $(HOST_SUBDIR)/cgen && \
6375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6377 "RANLIB=$${RANLIB}" \
6378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6379 maintainer-clean) \
6380 || exit 1
6382 @endif cgen
6386 .PHONY: configure-dejagnu maybe-configure-dejagnu
6387 maybe-configure-dejagnu:
6388 @if gcc-bootstrap
6389 configure-dejagnu: stage_current
6390 @endif gcc-bootstrap
6391 @if dejagnu
6392 maybe-configure-dejagnu: configure-dejagnu
6393 configure-dejagnu:
6394 @: $(MAKE); $(unstage)
6395 @r=`${PWD_COMMAND}`; export r; \
6396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6399 $(HOST_EXPORTS) \
6400 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6401 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6402 case $(srcdir) in \
6403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6404 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6406 esac; \
6407 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6408 libsrcdir="$$s/dejagnu"; \
6409 $(SHELL) $${libsrcdir}/configure \
6410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6411 --target=${target_alias} $${srcdiroption} \
6412 || exit 1
6413 @endif dejagnu
6419 .PHONY: all-dejagnu maybe-all-dejagnu
6420 maybe-all-dejagnu:
6421 @if gcc-bootstrap
6422 all-dejagnu: stage_current
6423 @endif gcc-bootstrap
6424 @if dejagnu
6425 TARGET-dejagnu=all
6426 maybe-all-dejagnu: all-dejagnu
6427 all-dejagnu: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6434 $(TARGET-dejagnu))
6435 @endif dejagnu
6440 .PHONY: check-dejagnu maybe-check-dejagnu
6441 maybe-check-dejagnu:
6442 @if dejagnu
6443 maybe-check-dejagnu: check-dejagnu
6445 check-dejagnu:
6446 @: $(MAKE); $(unstage)
6447 @r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 $(HOST_EXPORTS) \
6450 (cd $(HOST_SUBDIR)/dejagnu && \
6451 $(MAKE) $(FLAGS_TO_PASS) check)
6453 @endif dejagnu
6455 .PHONY: install-dejagnu maybe-install-dejagnu
6456 maybe-install-dejagnu:
6457 @if dejagnu
6458 maybe-install-dejagnu: install-dejagnu
6460 install-dejagnu: installdirs
6461 @: $(MAKE); $(unstage)
6462 @r=`${PWD_COMMAND}`; export r; \
6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 $(HOST_EXPORTS) \
6465 (cd $(HOST_SUBDIR)/dejagnu && \
6466 $(MAKE) $(FLAGS_TO_PASS) install)
6468 @endif dejagnu
6470 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6471 maybe-install-strip-dejagnu:
6472 @if dejagnu
6473 maybe-install-strip-dejagnu: install-strip-dejagnu
6475 install-strip-dejagnu: installdirs
6476 @: $(MAKE); $(unstage)
6477 @r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(HOST_EXPORTS) \
6480 (cd $(HOST_SUBDIR)/dejagnu && \
6481 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6483 @endif dejagnu
6485 # Other targets (info, dvi, pdf, etc.)
6487 .PHONY: maybe-info-dejagnu info-dejagnu
6488 maybe-info-dejagnu:
6489 @if dejagnu
6490 maybe-info-dejagnu: info-dejagnu
6492 info-dejagnu: \
6493 configure-dejagnu
6494 @: $(MAKE); $(unstage)
6495 @[ -f ./dejagnu/Makefile ] || exit 0; \
6496 r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 $(HOST_EXPORTS) \
6499 for flag in $(EXTRA_HOST_FLAGS) ; do \
6500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6501 done; \
6502 echo "Doing info in dejagnu" ; \
6503 (cd $(HOST_SUBDIR)/dejagnu && \
6504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6506 "RANLIB=$${RANLIB}" \
6507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6508 info) \
6509 || exit 1
6511 @endif dejagnu
6513 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6514 maybe-dvi-dejagnu:
6515 @if dejagnu
6516 maybe-dvi-dejagnu: dvi-dejagnu
6518 dvi-dejagnu: \
6519 configure-dejagnu
6520 @: $(MAKE); $(unstage)
6521 @[ -f ./dejagnu/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing dvi in dejagnu" ; \
6529 (cd $(HOST_SUBDIR)/dejagnu && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6534 dvi) \
6535 || exit 1
6537 @endif dejagnu
6539 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6540 maybe-pdf-dejagnu:
6541 @if dejagnu
6542 maybe-pdf-dejagnu: pdf-dejagnu
6544 pdf-dejagnu: \
6545 configure-dejagnu
6546 @: $(MAKE); $(unstage)
6547 @[ -f ./dejagnu/Makefile ] || exit 0; \
6548 r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(HOST_EXPORTS) \
6551 for flag in $(EXTRA_HOST_FLAGS) ; do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553 done; \
6554 echo "Doing pdf in dejagnu" ; \
6555 (cd $(HOST_SUBDIR)/dejagnu && \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6560 pdf) \
6561 || exit 1
6563 @endif dejagnu
6565 .PHONY: maybe-html-dejagnu html-dejagnu
6566 maybe-html-dejagnu:
6567 @if dejagnu
6568 maybe-html-dejagnu: html-dejagnu
6570 html-dejagnu: \
6571 configure-dejagnu
6572 @: $(MAKE); $(unstage)
6573 @[ -f ./dejagnu/Makefile ] || exit 0; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 for flag in $(EXTRA_HOST_FLAGS) ; do \
6578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579 done; \
6580 echo "Doing html in dejagnu" ; \
6581 (cd $(HOST_SUBDIR)/dejagnu && \
6582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584 "RANLIB=$${RANLIB}" \
6585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6586 html) \
6587 || exit 1
6589 @endif dejagnu
6591 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6592 maybe-TAGS-dejagnu:
6593 @if dejagnu
6594 maybe-TAGS-dejagnu: TAGS-dejagnu
6596 TAGS-dejagnu: \
6597 configure-dejagnu
6598 @: $(MAKE); $(unstage)
6599 @[ -f ./dejagnu/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602 $(HOST_EXPORTS) \
6603 for flag in $(EXTRA_HOST_FLAGS) ; do \
6604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6605 done; \
6606 echo "Doing TAGS in dejagnu" ; \
6607 (cd $(HOST_SUBDIR)/dejagnu && \
6608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6610 "RANLIB=$${RANLIB}" \
6611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6612 TAGS) \
6613 || exit 1
6615 @endif dejagnu
6617 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6618 maybe-install-info-dejagnu:
6619 @if dejagnu
6620 maybe-install-info-dejagnu: install-info-dejagnu
6622 install-info-dejagnu: \
6623 configure-dejagnu \
6624 info-dejagnu
6625 @: $(MAKE); $(unstage)
6626 @[ -f ./dejagnu/Makefile ] || exit 0; \
6627 r=`${PWD_COMMAND}`; export r; \
6628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6629 $(HOST_EXPORTS) \
6630 for flag in $(EXTRA_HOST_FLAGS) ; do \
6631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6632 done; \
6633 echo "Doing install-info in dejagnu" ; \
6634 (cd $(HOST_SUBDIR)/dejagnu && \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637 "RANLIB=$${RANLIB}" \
6638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6639 install-info) \
6640 || exit 1
6642 @endif dejagnu
6644 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6645 maybe-install-pdf-dejagnu:
6646 @if dejagnu
6647 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6649 install-pdf-dejagnu: \
6650 configure-dejagnu \
6651 pdf-dejagnu
6652 @: $(MAKE); $(unstage)
6653 @[ -f ./dejagnu/Makefile ] || exit 0; \
6654 r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6656 $(HOST_EXPORTS) \
6657 for flag in $(EXTRA_HOST_FLAGS) ; do \
6658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6659 done; \
6660 echo "Doing install-pdf in dejagnu" ; \
6661 (cd $(HOST_SUBDIR)/dejagnu && \
6662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6664 "RANLIB=$${RANLIB}" \
6665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6666 install-pdf) \
6667 || exit 1
6669 @endif dejagnu
6671 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6672 maybe-install-html-dejagnu:
6673 @if dejagnu
6674 maybe-install-html-dejagnu: install-html-dejagnu
6676 install-html-dejagnu: \
6677 configure-dejagnu \
6678 html-dejagnu
6679 @: $(MAKE); $(unstage)
6680 @[ -f ./dejagnu/Makefile ] || exit 0; \
6681 r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 $(HOST_EXPORTS) \
6684 for flag in $(EXTRA_HOST_FLAGS) ; do \
6685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6686 done; \
6687 echo "Doing install-html in dejagnu" ; \
6688 (cd $(HOST_SUBDIR)/dejagnu && \
6689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6691 "RANLIB=$${RANLIB}" \
6692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6693 install-html) \
6694 || exit 1
6696 @endif dejagnu
6698 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6699 maybe-installcheck-dejagnu:
6700 @if dejagnu
6701 maybe-installcheck-dejagnu: installcheck-dejagnu
6703 installcheck-dejagnu: \
6704 configure-dejagnu
6705 @: $(MAKE); $(unstage)
6706 @[ -f ./dejagnu/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6709 $(HOST_EXPORTS) \
6710 for flag in $(EXTRA_HOST_FLAGS) ; do \
6711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6712 done; \
6713 echo "Doing installcheck in dejagnu" ; \
6714 (cd $(HOST_SUBDIR)/dejagnu && \
6715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6717 "RANLIB=$${RANLIB}" \
6718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6719 installcheck) \
6720 || exit 1
6722 @endif dejagnu
6724 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6725 maybe-mostlyclean-dejagnu:
6726 @if dejagnu
6727 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6729 mostlyclean-dejagnu:
6730 @: $(MAKE); $(unstage)
6731 @[ -f ./dejagnu/Makefile ] || exit 0; \
6732 r=`${PWD_COMMAND}`; export r; \
6733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6734 $(HOST_EXPORTS) \
6735 for flag in $(EXTRA_HOST_FLAGS) ; do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing mostlyclean in dejagnu" ; \
6739 (cd $(HOST_SUBDIR)/dejagnu && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6744 mostlyclean) \
6745 || exit 1
6747 @endif dejagnu
6749 .PHONY: maybe-clean-dejagnu clean-dejagnu
6750 maybe-clean-dejagnu:
6751 @if dejagnu
6752 maybe-clean-dejagnu: clean-dejagnu
6754 clean-dejagnu:
6755 @: $(MAKE); $(unstage)
6756 @[ -f ./dejagnu/Makefile ] || exit 0; \
6757 r=`${PWD_COMMAND}`; export r; \
6758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 $(HOST_EXPORTS) \
6760 for flag in $(EXTRA_HOST_FLAGS) ; do \
6761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6762 done; \
6763 echo "Doing clean in dejagnu" ; \
6764 (cd $(HOST_SUBDIR)/dejagnu && \
6765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6767 "RANLIB=$${RANLIB}" \
6768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6769 clean) \
6770 || exit 1
6772 @endif dejagnu
6774 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6775 maybe-distclean-dejagnu:
6776 @if dejagnu
6777 maybe-distclean-dejagnu: distclean-dejagnu
6779 distclean-dejagnu:
6780 @: $(MAKE); $(unstage)
6781 @[ -f ./dejagnu/Makefile ] || exit 0; \
6782 r=`${PWD_COMMAND}`; export r; \
6783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6784 $(HOST_EXPORTS) \
6785 for flag in $(EXTRA_HOST_FLAGS) ; do \
6786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6787 done; \
6788 echo "Doing distclean in dejagnu" ; \
6789 (cd $(HOST_SUBDIR)/dejagnu && \
6790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6792 "RANLIB=$${RANLIB}" \
6793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6794 distclean) \
6795 || exit 1
6797 @endif dejagnu
6799 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6800 maybe-maintainer-clean-dejagnu:
6801 @if dejagnu
6802 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6804 maintainer-clean-dejagnu:
6805 @: $(MAKE); $(unstage)
6806 @[ -f ./dejagnu/Makefile ] || exit 0; \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS) ; do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing maintainer-clean in dejagnu" ; \
6814 (cd $(HOST_SUBDIR)/dejagnu && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6819 maintainer-clean) \
6820 || exit 1
6822 @endif dejagnu
6826 .PHONY: configure-etc maybe-configure-etc
6827 maybe-configure-etc:
6828 @if gcc-bootstrap
6829 configure-etc: stage_current
6830 @endif gcc-bootstrap
6831 @if etc
6832 maybe-configure-etc: configure-etc
6833 configure-etc:
6834 @: $(MAKE); $(unstage)
6835 @r=`${PWD_COMMAND}`; export r; \
6836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6837 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6839 $(HOST_EXPORTS) \
6840 echo Configuring in $(HOST_SUBDIR)/etc; \
6841 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6842 case $(srcdir) in \
6843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6844 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6846 esac; \
6847 srcdiroption="--srcdir=$${topdir}/etc"; \
6848 libsrcdir="$$s/etc"; \
6849 $(SHELL) $${libsrcdir}/configure \
6850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6851 --target=${target_alias} $${srcdiroption} \
6852 || exit 1
6853 @endif etc
6859 .PHONY: all-etc maybe-all-etc
6860 maybe-all-etc:
6861 @if gcc-bootstrap
6862 all-etc: stage_current
6863 @endif gcc-bootstrap
6864 @if etc
6865 TARGET-etc=all
6866 maybe-all-etc: all-etc
6867 all-etc: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6874 $(TARGET-etc))
6875 @endif etc
6880 .PHONY: check-etc maybe-check-etc
6881 maybe-check-etc:
6882 @if etc
6883 maybe-check-etc: check-etc
6885 check-etc:
6886 @: $(MAKE); $(unstage)
6887 @r=`${PWD_COMMAND}`; export r; \
6888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6889 $(HOST_EXPORTS) \
6890 (cd $(HOST_SUBDIR)/etc && \
6891 $(MAKE) $(FLAGS_TO_PASS) check)
6893 @endif etc
6895 .PHONY: install-etc maybe-install-etc
6896 maybe-install-etc:
6897 @if etc
6898 maybe-install-etc: install-etc
6900 install-etc: installdirs
6901 @: $(MAKE); $(unstage)
6902 @r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 $(HOST_EXPORTS) \
6905 (cd $(HOST_SUBDIR)/etc && \
6906 $(MAKE) $(FLAGS_TO_PASS) install)
6908 @endif etc
6910 .PHONY: install-strip-etc maybe-install-strip-etc
6911 maybe-install-strip-etc:
6912 @if etc
6913 maybe-install-strip-etc: install-strip-etc
6915 install-strip-etc: installdirs
6916 @: $(MAKE); $(unstage)
6917 @r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 (cd $(HOST_SUBDIR)/etc && \
6921 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6923 @endif etc
6925 # Other targets (info, dvi, pdf, etc.)
6927 .PHONY: maybe-info-etc info-etc
6928 maybe-info-etc:
6929 @if etc
6930 maybe-info-etc: info-etc
6932 info-etc: \
6933 configure-etc
6934 @: $(MAKE); $(unstage)
6935 @[ -f ./etc/Makefile ] || exit 0; \
6936 r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing info in etc" ; \
6943 (cd $(HOST_SUBDIR)/etc && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6948 info) \
6949 || exit 1
6951 @endif etc
6953 .PHONY: maybe-dvi-etc dvi-etc
6954 maybe-dvi-etc:
6955 @if etc
6956 maybe-dvi-etc: dvi-etc
6958 dvi-etc: \
6959 configure-etc
6960 @: $(MAKE); $(unstage)
6961 @[ -f ./etc/Makefile ] || exit 0; \
6962 r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 $(HOST_EXPORTS) \
6965 for flag in $(EXTRA_HOST_FLAGS) ; do \
6966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967 done; \
6968 echo "Doing dvi in etc" ; \
6969 (cd $(HOST_SUBDIR)/etc && \
6970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972 "RANLIB=$${RANLIB}" \
6973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6974 dvi) \
6975 || exit 1
6977 @endif etc
6979 .PHONY: maybe-pdf-etc pdf-etc
6980 maybe-pdf-etc:
6981 @if etc
6982 maybe-pdf-etc: pdf-etc
6984 pdf-etc: \
6985 configure-etc
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./etc/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing pdf in etc" ; \
6995 (cd $(HOST_SUBDIR)/etc && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7000 pdf) \
7001 || exit 1
7003 @endif etc
7005 .PHONY: maybe-html-etc html-etc
7006 maybe-html-etc:
7007 @if etc
7008 maybe-html-etc: html-etc
7010 html-etc: \
7011 configure-etc
7012 @: $(MAKE); $(unstage)
7013 @[ -f ./etc/Makefile ] || exit 0; \
7014 r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 $(HOST_EXPORTS) \
7017 for flag in $(EXTRA_HOST_FLAGS) ; do \
7018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7019 done; \
7020 echo "Doing html in etc" ; \
7021 (cd $(HOST_SUBDIR)/etc && \
7022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7024 "RANLIB=$${RANLIB}" \
7025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7026 html) \
7027 || exit 1
7029 @endif etc
7031 .PHONY: maybe-TAGS-etc TAGS-etc
7032 maybe-TAGS-etc:
7033 @if etc
7034 maybe-TAGS-etc: TAGS-etc
7036 TAGS-etc: \
7037 configure-etc
7038 @: $(MAKE); $(unstage)
7039 @[ -f ./etc/Makefile ] || exit 0; \
7040 r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7042 $(HOST_EXPORTS) \
7043 for flag in $(EXTRA_HOST_FLAGS) ; do \
7044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7045 done; \
7046 echo "Doing TAGS in etc" ; \
7047 (cd $(HOST_SUBDIR)/etc && \
7048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050 "RANLIB=$${RANLIB}" \
7051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7052 TAGS) \
7053 || exit 1
7055 @endif etc
7057 .PHONY: maybe-install-info-etc install-info-etc
7058 maybe-install-info-etc:
7059 @if etc
7060 maybe-install-info-etc: install-info-etc
7062 install-info-etc: \
7063 configure-etc \
7064 info-etc
7065 @: $(MAKE); $(unstage)
7066 @[ -f ./etc/Makefile ] || exit 0; \
7067 r=`${PWD_COMMAND}`; export r; \
7068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 $(HOST_EXPORTS) \
7070 for flag in $(EXTRA_HOST_FLAGS) ; do \
7071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072 done; \
7073 echo "Doing install-info in etc" ; \
7074 (cd $(HOST_SUBDIR)/etc && \
7075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7077 "RANLIB=$${RANLIB}" \
7078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7079 install-info) \
7080 || exit 1
7082 @endif etc
7084 .PHONY: maybe-install-pdf-etc install-pdf-etc
7085 maybe-install-pdf-etc:
7086 @if etc
7087 maybe-install-pdf-etc: install-pdf-etc
7089 install-pdf-etc: \
7090 configure-etc \
7091 pdf-etc
7092 @: $(MAKE); $(unstage)
7093 @[ -f ./etc/Makefile ] || exit 0; \
7094 r=`${PWD_COMMAND}`; export r; \
7095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7096 $(HOST_EXPORTS) \
7097 for flag in $(EXTRA_HOST_FLAGS) ; do \
7098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7099 done; \
7100 echo "Doing install-pdf in etc" ; \
7101 (cd $(HOST_SUBDIR)/etc && \
7102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7104 "RANLIB=$${RANLIB}" \
7105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7106 install-pdf) \
7107 || exit 1
7109 @endif etc
7111 .PHONY: maybe-install-html-etc install-html-etc
7112 maybe-install-html-etc:
7113 @if etc
7114 maybe-install-html-etc: install-html-etc
7116 install-html-etc: \
7117 configure-etc \
7118 html-etc
7119 @: $(MAKE); $(unstage)
7120 @[ -f ./etc/Makefile ] || exit 0; \
7121 r=`${PWD_COMMAND}`; export r; \
7122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 $(HOST_EXPORTS) \
7124 for flag in $(EXTRA_HOST_FLAGS) ; do \
7125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7126 done; \
7127 echo "Doing install-html in etc" ; \
7128 (cd $(HOST_SUBDIR)/etc && \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7131 "RANLIB=$${RANLIB}" \
7132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7133 install-html) \
7134 || exit 1
7136 @endif etc
7138 .PHONY: maybe-installcheck-etc installcheck-etc
7139 maybe-installcheck-etc:
7140 @if etc
7141 maybe-installcheck-etc: installcheck-etc
7143 installcheck-etc: \
7144 configure-etc
7145 @: $(MAKE); $(unstage)
7146 @[ -f ./etc/Makefile ] || exit 0; \
7147 r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149 $(HOST_EXPORTS) \
7150 for flag in $(EXTRA_HOST_FLAGS) ; do \
7151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7152 done; \
7153 echo "Doing installcheck in etc" ; \
7154 (cd $(HOST_SUBDIR)/etc && \
7155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7157 "RANLIB=$${RANLIB}" \
7158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7159 installcheck) \
7160 || exit 1
7162 @endif etc
7164 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7165 maybe-mostlyclean-etc:
7166 @if etc
7167 maybe-mostlyclean-etc: mostlyclean-etc
7169 mostlyclean-etc:
7170 @: $(MAKE); $(unstage)
7171 @[ -f ./etc/Makefile ] || exit 0; \
7172 r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174 $(HOST_EXPORTS) \
7175 for flag in $(EXTRA_HOST_FLAGS) ; do \
7176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7177 done; \
7178 echo "Doing mostlyclean in etc" ; \
7179 (cd $(HOST_SUBDIR)/etc && \
7180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7182 "RANLIB=$${RANLIB}" \
7183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7184 mostlyclean) \
7185 || exit 1
7187 @endif etc
7189 .PHONY: maybe-clean-etc clean-etc
7190 maybe-clean-etc:
7191 @if etc
7192 maybe-clean-etc: clean-etc
7194 clean-etc:
7195 @: $(MAKE); $(unstage)
7196 @[ -f ./etc/Makefile ] || exit 0; \
7197 r=`${PWD_COMMAND}`; export r; \
7198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7199 $(HOST_EXPORTS) \
7200 for flag in $(EXTRA_HOST_FLAGS) ; do \
7201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7202 done; \
7203 echo "Doing clean in etc" ; \
7204 (cd $(HOST_SUBDIR)/etc && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7207 "RANLIB=$${RANLIB}" \
7208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7209 clean) \
7210 || exit 1
7212 @endif etc
7214 .PHONY: maybe-distclean-etc distclean-etc
7215 maybe-distclean-etc:
7216 @if etc
7217 maybe-distclean-etc: distclean-etc
7219 distclean-etc:
7220 @: $(MAKE); $(unstage)
7221 @[ -f ./etc/Makefile ] || exit 0; \
7222 r=`${PWD_COMMAND}`; export r; \
7223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224 $(HOST_EXPORTS) \
7225 for flag in $(EXTRA_HOST_FLAGS) ; do \
7226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7227 done; \
7228 echo "Doing distclean in etc" ; \
7229 (cd $(HOST_SUBDIR)/etc && \
7230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7232 "RANLIB=$${RANLIB}" \
7233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7234 distclean) \
7235 || exit 1
7237 @endif etc
7239 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7240 maybe-maintainer-clean-etc:
7241 @if etc
7242 maybe-maintainer-clean-etc: maintainer-clean-etc
7244 maintainer-clean-etc:
7245 @: $(MAKE); $(unstage)
7246 @[ -f ./etc/Makefile ] || exit 0; \
7247 r=`${PWD_COMMAND}`; export r; \
7248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7249 $(HOST_EXPORTS) \
7250 for flag in $(EXTRA_HOST_FLAGS) ; do \
7251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7252 done; \
7253 echo "Doing maintainer-clean in etc" ; \
7254 (cd $(HOST_SUBDIR)/etc && \
7255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7257 "RANLIB=$${RANLIB}" \
7258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7259 maintainer-clean) \
7260 || exit 1
7262 @endif etc
7266 .PHONY: configure-fastjar maybe-configure-fastjar
7267 maybe-configure-fastjar:
7268 @if gcc-bootstrap
7269 configure-fastjar: stage_current
7270 @endif gcc-bootstrap
7271 @if fastjar
7272 maybe-configure-fastjar: configure-fastjar
7273 configure-fastjar:
7274 @: $(MAKE); $(unstage)
7275 @r=`${PWD_COMMAND}`; export r; \
7276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7277 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7279 $(HOST_EXPORTS) \
7280 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7281 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7282 case $(srcdir) in \
7283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7284 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7286 esac; \
7287 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7288 libsrcdir="$$s/fastjar"; \
7289 $(SHELL) $${libsrcdir}/configure \
7290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7291 --target=${target_alias} $${srcdiroption} \
7292 || exit 1
7293 @endif fastjar
7299 .PHONY: all-fastjar maybe-all-fastjar
7300 maybe-all-fastjar:
7301 @if gcc-bootstrap
7302 all-fastjar: stage_current
7303 @endif gcc-bootstrap
7304 @if fastjar
7305 TARGET-fastjar=all
7306 maybe-all-fastjar: all-fastjar
7307 all-fastjar: configure-fastjar
7308 @: $(MAKE); $(unstage)
7309 @r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 $(HOST_EXPORTS) \
7312 (cd $(HOST_SUBDIR)/fastjar && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7314 $(TARGET-fastjar))
7315 @endif fastjar
7320 .PHONY: check-fastjar maybe-check-fastjar
7321 maybe-check-fastjar:
7322 @if fastjar
7323 maybe-check-fastjar: check-fastjar
7325 # This module is only tested in a native toolchain.
7326 check-fastjar:
7327 @: $(MAKE); $(unstage)
7328 @if [ '$(host)' = '$(target)' ] ; then \
7329 r=`${PWD_COMMAND}`; export r; \
7330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7331 $(HOST_EXPORTS) \
7332 (cd $(HOST_SUBDIR)/fastjar && \
7333 $(MAKE) $(FLAGS_TO_PASS) check); \
7336 @endif fastjar
7338 .PHONY: install-fastjar maybe-install-fastjar
7339 maybe-install-fastjar:
7340 @if fastjar
7341 maybe-install-fastjar: install-fastjar
7343 install-fastjar: installdirs
7344 @: $(MAKE); $(unstage)
7345 @r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347 $(HOST_EXPORTS) \
7348 (cd $(HOST_SUBDIR)/fastjar && \
7349 $(MAKE) $(FLAGS_TO_PASS) install)
7351 @endif fastjar
7353 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7354 maybe-install-strip-fastjar:
7355 @if fastjar
7356 maybe-install-strip-fastjar: install-strip-fastjar
7358 install-strip-fastjar: installdirs
7359 @: $(MAKE); $(unstage)
7360 @r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(HOST_EXPORTS) \
7363 (cd $(HOST_SUBDIR)/fastjar && \
7364 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7366 @endif fastjar
7368 # Other targets (info, dvi, pdf, etc.)
7370 .PHONY: maybe-info-fastjar info-fastjar
7371 maybe-info-fastjar:
7372 @if fastjar
7373 maybe-info-fastjar: info-fastjar
7375 info-fastjar: \
7376 configure-fastjar
7377 @: $(MAKE); $(unstage)
7378 @[ -f ./fastjar/Makefile ] || exit 0; \
7379 r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7381 $(HOST_EXPORTS) \
7382 for flag in $(EXTRA_HOST_FLAGS) ; do \
7383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7384 done; \
7385 echo "Doing info in fastjar" ; \
7386 (cd $(HOST_SUBDIR)/fastjar && \
7387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7389 "RANLIB=$${RANLIB}" \
7390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7391 info) \
7392 || exit 1
7394 @endif fastjar
7396 .PHONY: maybe-dvi-fastjar dvi-fastjar
7397 maybe-dvi-fastjar:
7398 @if fastjar
7399 maybe-dvi-fastjar: dvi-fastjar
7401 dvi-fastjar: \
7402 configure-fastjar
7403 @: $(MAKE); $(unstage)
7404 @[ -f ./fastjar/Makefile ] || exit 0; \
7405 r=`${PWD_COMMAND}`; export r; \
7406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7407 $(HOST_EXPORTS) \
7408 for flag in $(EXTRA_HOST_FLAGS) ; do \
7409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7410 done; \
7411 echo "Doing dvi in fastjar" ; \
7412 (cd $(HOST_SUBDIR)/fastjar && \
7413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7415 "RANLIB=$${RANLIB}" \
7416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7417 dvi) \
7418 || exit 1
7420 @endif fastjar
7422 .PHONY: maybe-pdf-fastjar pdf-fastjar
7423 maybe-pdf-fastjar:
7424 @if fastjar
7425 maybe-pdf-fastjar: pdf-fastjar
7427 pdf-fastjar: \
7428 configure-fastjar
7429 @: $(MAKE); $(unstage)
7430 @[ -f ./fastjar/Makefile ] || exit 0; \
7431 r=`${PWD_COMMAND}`; export r; \
7432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 $(HOST_EXPORTS) \
7434 for flag in $(EXTRA_HOST_FLAGS) ; do \
7435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436 done; \
7437 echo "Doing pdf in fastjar" ; \
7438 (cd $(HOST_SUBDIR)/fastjar && \
7439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7441 "RANLIB=$${RANLIB}" \
7442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7443 pdf) \
7444 || exit 1
7446 @endif fastjar
7448 .PHONY: maybe-html-fastjar html-fastjar
7449 maybe-html-fastjar:
7450 @if fastjar
7451 maybe-html-fastjar: html-fastjar
7453 html-fastjar: \
7454 configure-fastjar
7455 @: $(MAKE); $(unstage)
7456 @[ -f ./fastjar/Makefile ] || exit 0; \
7457 r=`${PWD_COMMAND}`; export r; \
7458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7459 $(HOST_EXPORTS) \
7460 for flag in $(EXTRA_HOST_FLAGS) ; do \
7461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7462 done; \
7463 echo "Doing html in fastjar" ; \
7464 (cd $(HOST_SUBDIR)/fastjar && \
7465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467 "RANLIB=$${RANLIB}" \
7468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7469 html) \
7470 || exit 1
7472 @endif fastjar
7474 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7475 maybe-TAGS-fastjar:
7476 @if fastjar
7477 maybe-TAGS-fastjar: TAGS-fastjar
7479 TAGS-fastjar: \
7480 configure-fastjar
7481 @: $(MAKE); $(unstage)
7482 @[ -f ./fastjar/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(HOST_EXPORTS) \
7486 for flag in $(EXTRA_HOST_FLAGS) ; do \
7487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7488 done; \
7489 echo "Doing TAGS in fastjar" ; \
7490 (cd $(HOST_SUBDIR)/fastjar && \
7491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7493 "RANLIB=$${RANLIB}" \
7494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7495 TAGS) \
7496 || exit 1
7498 @endif fastjar
7500 .PHONY: maybe-install-info-fastjar install-info-fastjar
7501 maybe-install-info-fastjar:
7502 @if fastjar
7503 maybe-install-info-fastjar: install-info-fastjar
7505 install-info-fastjar: \
7506 configure-fastjar \
7507 info-fastjar
7508 @: $(MAKE); $(unstage)
7509 @[ -f ./fastjar/Makefile ] || exit 0; \
7510 r=`${PWD_COMMAND}`; export r; \
7511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7512 $(HOST_EXPORTS) \
7513 for flag in $(EXTRA_HOST_FLAGS) ; do \
7514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7515 done; \
7516 echo "Doing install-info in fastjar" ; \
7517 (cd $(HOST_SUBDIR)/fastjar && \
7518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520 "RANLIB=$${RANLIB}" \
7521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7522 install-info) \
7523 || exit 1
7525 @endif fastjar
7527 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7528 maybe-install-pdf-fastjar:
7529 @if fastjar
7530 maybe-install-pdf-fastjar: install-pdf-fastjar
7532 install-pdf-fastjar: \
7533 configure-fastjar \
7534 pdf-fastjar
7535 @: $(MAKE); $(unstage)
7536 @[ -f ./fastjar/Makefile ] || exit 0; \
7537 r=`${PWD_COMMAND}`; export r; \
7538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 $(HOST_EXPORTS) \
7540 for flag in $(EXTRA_HOST_FLAGS) ; do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing install-pdf in fastjar" ; \
7544 (cd $(HOST_SUBDIR)/fastjar && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7549 install-pdf) \
7550 || exit 1
7552 @endif fastjar
7554 .PHONY: maybe-install-html-fastjar install-html-fastjar
7555 maybe-install-html-fastjar:
7556 @if fastjar
7557 maybe-install-html-fastjar: install-html-fastjar
7559 install-html-fastjar: \
7560 configure-fastjar \
7561 html-fastjar
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./fastjar/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing install-html in fastjar" ; \
7571 (cd $(HOST_SUBDIR)/fastjar && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7576 install-html) \
7577 || exit 1
7579 @endif fastjar
7581 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7582 maybe-installcheck-fastjar:
7583 @if fastjar
7584 maybe-installcheck-fastjar: installcheck-fastjar
7586 installcheck-fastjar: \
7587 configure-fastjar
7588 @: $(MAKE); $(unstage)
7589 @[ -f ./fastjar/Makefile ] || exit 0; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(HOST_EXPORTS) \
7593 for flag in $(EXTRA_HOST_FLAGS) ; do \
7594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 done; \
7596 echo "Doing installcheck in fastjar" ; \
7597 (cd $(HOST_SUBDIR)/fastjar && \
7598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7600 "RANLIB=$${RANLIB}" \
7601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7602 installcheck) \
7603 || exit 1
7605 @endif fastjar
7607 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7608 maybe-mostlyclean-fastjar:
7609 @if fastjar
7610 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7612 mostlyclean-fastjar:
7613 @: $(MAKE); $(unstage)
7614 @[ -f ./fastjar/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 for flag in $(EXTRA_HOST_FLAGS) ; do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing mostlyclean in fastjar" ; \
7622 (cd $(HOST_SUBDIR)/fastjar && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7627 mostlyclean) \
7628 || exit 1
7630 @endif fastjar
7632 .PHONY: maybe-clean-fastjar clean-fastjar
7633 maybe-clean-fastjar:
7634 @if fastjar
7635 maybe-clean-fastjar: clean-fastjar
7637 clean-fastjar:
7638 @: $(MAKE); $(unstage)
7639 @[ -f ./fastjar/Makefile ] || exit 0; \
7640 r=`${PWD_COMMAND}`; export r; \
7641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 $(HOST_EXPORTS) \
7643 for flag in $(EXTRA_HOST_FLAGS) ; do \
7644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7645 done; \
7646 echo "Doing clean in fastjar" ; \
7647 (cd $(HOST_SUBDIR)/fastjar && \
7648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7650 "RANLIB=$${RANLIB}" \
7651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7652 clean) \
7653 || exit 1
7655 @endif fastjar
7657 .PHONY: maybe-distclean-fastjar distclean-fastjar
7658 maybe-distclean-fastjar:
7659 @if fastjar
7660 maybe-distclean-fastjar: distclean-fastjar
7662 distclean-fastjar:
7663 @: $(MAKE); $(unstage)
7664 @[ -f ./fastjar/Makefile ] || exit 0; \
7665 r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 $(HOST_EXPORTS) \
7668 for flag in $(EXTRA_HOST_FLAGS) ; do \
7669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7670 done; \
7671 echo "Doing distclean in fastjar" ; \
7672 (cd $(HOST_SUBDIR)/fastjar && \
7673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7675 "RANLIB=$${RANLIB}" \
7676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7677 distclean) \
7678 || exit 1
7680 @endif fastjar
7682 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7683 maybe-maintainer-clean-fastjar:
7684 @if fastjar
7685 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7687 maintainer-clean-fastjar:
7688 @: $(MAKE); $(unstage)
7689 @[ -f ./fastjar/Makefile ] || exit 0; \
7690 r=`${PWD_COMMAND}`; export r; \
7691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7692 $(HOST_EXPORTS) \
7693 for flag in $(EXTRA_HOST_FLAGS) ; do \
7694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 done; \
7696 echo "Doing maintainer-clean in fastjar" ; \
7697 (cd $(HOST_SUBDIR)/fastjar && \
7698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7700 "RANLIB=$${RANLIB}" \
7701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7702 maintainer-clean) \
7703 || exit 1
7705 @endif fastjar
7709 .PHONY: configure-fixincludes maybe-configure-fixincludes
7710 maybe-configure-fixincludes:
7711 @if gcc-bootstrap
7712 configure-fixincludes: stage_current
7713 @endif gcc-bootstrap
7714 @if fixincludes
7715 maybe-configure-fixincludes: configure-fixincludes
7716 configure-fixincludes:
7717 @: $(MAKE); $(unstage)
7718 @r=`${PWD_COMMAND}`; export r; \
7719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7720 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7722 $(HOST_EXPORTS) \
7723 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7724 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7725 case $(srcdir) in \
7726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7727 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7729 esac; \
7730 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7731 libsrcdir="$$s/fixincludes"; \
7732 $(SHELL) $${libsrcdir}/configure \
7733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7734 --target=${target_alias} $${srcdiroption} \
7735 || exit 1
7736 @endif fixincludes
7742 .PHONY: all-fixincludes maybe-all-fixincludes
7743 maybe-all-fixincludes:
7744 @if gcc-bootstrap
7745 all-fixincludes: stage_current
7746 @endif gcc-bootstrap
7747 @if fixincludes
7748 TARGET-fixincludes=all
7749 maybe-all-fixincludes: all-fixincludes
7750 all-fixincludes: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7757 $(TARGET-fixincludes))
7758 @endif fixincludes
7763 .PHONY: check-fixincludes maybe-check-fixincludes
7764 maybe-check-fixincludes:
7765 @if fixincludes
7766 maybe-check-fixincludes: check-fixincludes
7768 check-fixincludes:
7769 @: $(MAKE); $(unstage)
7770 @r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 $(HOST_EXPORTS) \
7773 (cd $(HOST_SUBDIR)/fixincludes && \
7774 $(MAKE) $(FLAGS_TO_PASS) check)
7776 @endif fixincludes
7778 .PHONY: install-fixincludes maybe-install-fixincludes
7779 maybe-install-fixincludes:
7780 @if fixincludes
7781 maybe-install-fixincludes: install-fixincludes
7783 install-fixincludes: installdirs
7784 @: $(MAKE); $(unstage)
7785 @r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(HOST_EXPORTS) \
7788 (cd $(HOST_SUBDIR)/fixincludes && \
7789 $(MAKE) $(FLAGS_TO_PASS) install)
7791 @endif fixincludes
7793 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7794 maybe-install-strip-fixincludes:
7795 @if fixincludes
7796 maybe-install-strip-fixincludes: install-strip-fixincludes
7798 install-strip-fixincludes: installdirs
7799 @: $(MAKE); $(unstage)
7800 @r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 $(HOST_EXPORTS) \
7803 (cd $(HOST_SUBDIR)/fixincludes && \
7804 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7806 @endif fixincludes
7808 # Other targets (info, dvi, pdf, etc.)
7810 .PHONY: maybe-info-fixincludes info-fixincludes
7811 maybe-info-fixincludes:
7812 @if fixincludes
7813 maybe-info-fixincludes: info-fixincludes
7815 info-fixincludes: \
7816 configure-fixincludes
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./fixincludes/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS) ; do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing info in fixincludes" ; \
7826 (cd $(HOST_SUBDIR)/fixincludes && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7831 info) \
7832 || exit 1
7834 @endif fixincludes
7836 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7837 maybe-dvi-fixincludes:
7838 @if fixincludes
7839 maybe-dvi-fixincludes: dvi-fixincludes
7841 dvi-fixincludes: \
7842 configure-fixincludes
7843 @: $(MAKE); $(unstage)
7844 @[ -f ./fixincludes/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing dvi in fixincludes" ; \
7852 (cd $(HOST_SUBDIR)/fixincludes && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7857 dvi) \
7858 || exit 1
7860 @endif fixincludes
7862 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7863 maybe-pdf-fixincludes:
7864 @if fixincludes
7865 maybe-pdf-fixincludes: pdf-fixincludes
7867 pdf-fixincludes: \
7868 configure-fixincludes
7869 @: $(MAKE); $(unstage)
7870 @[ -f ./fixincludes/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7873 $(HOST_EXPORTS) \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 done; \
7877 echo "Doing pdf in fixincludes" ; \
7878 (cd $(HOST_SUBDIR)/fixincludes && \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7883 pdf) \
7884 || exit 1
7886 @endif fixincludes
7888 .PHONY: maybe-html-fixincludes html-fixincludes
7889 maybe-html-fixincludes:
7890 @if fixincludes
7891 maybe-html-fixincludes: html-fixincludes
7893 html-fixincludes: \
7894 configure-fixincludes
7895 @: $(MAKE); $(unstage)
7896 @[ -f ./fixincludes/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing html in fixincludes" ; \
7904 (cd $(HOST_SUBDIR)/fixincludes && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7909 html) \
7910 || exit 1
7912 @endif fixincludes
7914 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7915 maybe-TAGS-fixincludes:
7916 @if fixincludes
7917 maybe-TAGS-fixincludes: TAGS-fixincludes
7919 # fixincludes doesn't support TAGS.
7920 TAGS-fixincludes:
7922 @endif fixincludes
7924 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7925 maybe-install-info-fixincludes:
7926 @if fixincludes
7927 maybe-install-info-fixincludes: install-info-fixincludes
7929 install-info-fixincludes: \
7930 configure-fixincludes \
7931 info-fixincludes
7932 @: $(MAKE); $(unstage)
7933 @[ -f ./fixincludes/Makefile ] || exit 0; \
7934 r=`${PWD_COMMAND}`; export r; \
7935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7936 $(HOST_EXPORTS) \
7937 for flag in $(EXTRA_HOST_FLAGS) ; do \
7938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7939 done; \
7940 echo "Doing install-info in fixincludes" ; \
7941 (cd $(HOST_SUBDIR)/fixincludes && \
7942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7944 "RANLIB=$${RANLIB}" \
7945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7946 install-info) \
7947 || exit 1
7949 @endif fixincludes
7951 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7952 maybe-install-pdf-fixincludes:
7953 @if fixincludes
7954 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7956 install-pdf-fixincludes: \
7957 configure-fixincludes \
7958 pdf-fixincludes
7959 @: $(MAKE); $(unstage)
7960 @[ -f ./fixincludes/Makefile ] || exit 0; \
7961 r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(HOST_EXPORTS) \
7964 for flag in $(EXTRA_HOST_FLAGS) ; do \
7965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7966 done; \
7967 echo "Doing install-pdf in fixincludes" ; \
7968 (cd $(HOST_SUBDIR)/fixincludes && \
7969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7971 "RANLIB=$${RANLIB}" \
7972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7973 install-pdf) \
7974 || exit 1
7976 @endif fixincludes
7978 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
7979 maybe-install-html-fixincludes:
7980 @if fixincludes
7981 maybe-install-html-fixincludes: install-html-fixincludes
7983 install-html-fixincludes: \
7984 configure-fixincludes \
7985 html-fixincludes
7986 @: $(MAKE); $(unstage)
7987 @[ -f ./fixincludes/Makefile ] || exit 0; \
7988 r=`${PWD_COMMAND}`; export r; \
7989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7990 $(HOST_EXPORTS) \
7991 for flag in $(EXTRA_HOST_FLAGS) ; do \
7992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7993 done; \
7994 echo "Doing install-html in fixincludes" ; \
7995 (cd $(HOST_SUBDIR)/fixincludes && \
7996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7998 "RANLIB=$${RANLIB}" \
7999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8000 install-html) \
8001 || exit 1
8003 @endif fixincludes
8005 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8006 maybe-installcheck-fixincludes:
8007 @if fixincludes
8008 maybe-installcheck-fixincludes: installcheck-fixincludes
8010 installcheck-fixincludes: \
8011 configure-fixincludes
8012 @: $(MAKE); $(unstage)
8013 @[ -f ./fixincludes/Makefile ] || exit 0; \
8014 r=`${PWD_COMMAND}`; export r; \
8015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8016 $(HOST_EXPORTS) \
8017 for flag in $(EXTRA_HOST_FLAGS) ; do \
8018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8019 done; \
8020 echo "Doing installcheck in fixincludes" ; \
8021 (cd $(HOST_SUBDIR)/fixincludes && \
8022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024 "RANLIB=$${RANLIB}" \
8025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8026 installcheck) \
8027 || exit 1
8029 @endif fixincludes
8031 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8032 maybe-mostlyclean-fixincludes:
8033 @if fixincludes
8034 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8036 mostlyclean-fixincludes:
8037 @: $(MAKE); $(unstage)
8038 @[ -f ./fixincludes/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing mostlyclean in fixincludes" ; \
8046 (cd $(HOST_SUBDIR)/fixincludes && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8051 mostlyclean) \
8052 || exit 1
8054 @endif fixincludes
8056 .PHONY: maybe-clean-fixincludes clean-fixincludes
8057 maybe-clean-fixincludes:
8058 @if fixincludes
8059 maybe-clean-fixincludes: clean-fixincludes
8061 clean-fixincludes:
8062 @: $(MAKE); $(unstage)
8063 @[ -f ./fixincludes/Makefile ] || exit 0; \
8064 r=`${PWD_COMMAND}`; export r; \
8065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066 $(HOST_EXPORTS) \
8067 for flag in $(EXTRA_HOST_FLAGS) ; do \
8068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8069 done; \
8070 echo "Doing clean in fixincludes" ; \
8071 (cd $(HOST_SUBDIR)/fixincludes && \
8072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074 "RANLIB=$${RANLIB}" \
8075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8076 clean) \
8077 || exit 1
8079 @endif fixincludes
8081 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8082 maybe-distclean-fixincludes:
8083 @if fixincludes
8084 maybe-distclean-fixincludes: distclean-fixincludes
8086 distclean-fixincludes:
8087 @: $(MAKE); $(unstage)
8088 @[ -f ./fixincludes/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091 $(HOST_EXPORTS) \
8092 for flag in $(EXTRA_HOST_FLAGS) ; do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094 done; \
8095 echo "Doing distclean in fixincludes" ; \
8096 (cd $(HOST_SUBDIR)/fixincludes && \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8101 distclean) \
8102 || exit 1
8104 @endif fixincludes
8106 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8107 maybe-maintainer-clean-fixincludes:
8108 @if fixincludes
8109 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8111 maintainer-clean-fixincludes:
8112 @: $(MAKE); $(unstage)
8113 @[ -f ./fixincludes/Makefile ] || exit 0; \
8114 r=`${PWD_COMMAND}`; export r; \
8115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8116 $(HOST_EXPORTS) \
8117 for flag in $(EXTRA_HOST_FLAGS) ; do \
8118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8119 done; \
8120 echo "Doing maintainer-clean in fixincludes" ; \
8121 (cd $(HOST_SUBDIR)/fixincludes && \
8122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8124 "RANLIB=$${RANLIB}" \
8125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8126 maintainer-clean) \
8127 || exit 1
8129 @endif fixincludes
8133 .PHONY: configure-flex maybe-configure-flex
8134 maybe-configure-flex:
8135 @if gcc-bootstrap
8136 configure-flex: stage_current
8137 @endif gcc-bootstrap
8138 @if flex
8139 maybe-configure-flex: configure-flex
8140 configure-flex:
8141 @: $(MAKE); $(unstage)
8142 @r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8146 $(HOST_EXPORTS) \
8147 echo Configuring in $(HOST_SUBDIR)/flex; \
8148 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8149 case $(srcdir) in \
8150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8151 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8153 esac; \
8154 srcdiroption="--srcdir=$${topdir}/flex"; \
8155 libsrcdir="$$s/flex"; \
8156 $(SHELL) $${libsrcdir}/configure \
8157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8158 --target=${target_alias} $${srcdiroption} \
8159 || exit 1
8160 @endif flex
8166 .PHONY: all-flex maybe-all-flex
8167 maybe-all-flex:
8168 @if gcc-bootstrap
8169 all-flex: stage_current
8170 @endif gcc-bootstrap
8171 @if flex
8172 TARGET-flex=all
8173 maybe-all-flex: all-flex
8174 all-flex: configure-flex
8175 @: $(MAKE); $(unstage)
8176 @r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8178 $(HOST_EXPORTS) \
8179 (cd $(HOST_SUBDIR)/flex && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8181 $(TARGET-flex))
8182 @endif flex
8187 .PHONY: check-flex maybe-check-flex
8188 maybe-check-flex:
8189 @if flex
8190 maybe-check-flex: check-flex
8192 # This module is only tested in a native toolchain.
8193 check-flex:
8194 @: $(MAKE); $(unstage)
8195 @if [ '$(host)' = '$(target)' ] ; then \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8198 $(HOST_EXPORTS) \
8199 (cd $(HOST_SUBDIR)/flex && \
8200 $(MAKE) $(FLAGS_TO_PASS) check); \
8203 @endif flex
8205 .PHONY: install-flex maybe-install-flex
8206 maybe-install-flex:
8207 @if flex
8208 maybe-install-flex: install-flex
8210 install-flex: installdirs
8211 @: $(MAKE); $(unstage)
8212 @r=`${PWD_COMMAND}`; export r; \
8213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8214 $(HOST_EXPORTS) \
8215 (cd $(HOST_SUBDIR)/flex && \
8216 $(MAKE) $(FLAGS_TO_PASS) install)
8218 @endif flex
8220 .PHONY: install-strip-flex maybe-install-strip-flex
8221 maybe-install-strip-flex:
8222 @if flex
8223 maybe-install-strip-flex: install-strip-flex
8225 install-strip-flex: installdirs
8226 @: $(MAKE); $(unstage)
8227 @r=`${PWD_COMMAND}`; export r; \
8228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8229 $(HOST_EXPORTS) \
8230 (cd $(HOST_SUBDIR)/flex && \
8231 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8233 @endif flex
8235 # Other targets (info, dvi, pdf, etc.)
8237 .PHONY: maybe-info-flex info-flex
8238 maybe-info-flex:
8239 @if flex
8240 maybe-info-flex: info-flex
8242 info-flex: \
8243 configure-flex
8244 @: $(MAKE); $(unstage)
8245 @[ -f ./flex/Makefile ] || exit 0; \
8246 r=`${PWD_COMMAND}`; export r; \
8247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8248 $(HOST_EXPORTS) \
8249 for flag in $(EXTRA_HOST_FLAGS) ; do \
8250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8251 done; \
8252 echo "Doing info in flex" ; \
8253 (cd $(HOST_SUBDIR)/flex && \
8254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8256 "RANLIB=$${RANLIB}" \
8257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8258 info) \
8259 || exit 1
8261 @endif flex
8263 .PHONY: maybe-dvi-flex dvi-flex
8264 maybe-dvi-flex:
8265 @if flex
8266 maybe-dvi-flex: dvi-flex
8268 dvi-flex: \
8269 configure-flex
8270 @: $(MAKE); $(unstage)
8271 @[ -f ./flex/Makefile ] || exit 0; \
8272 r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 $(HOST_EXPORTS) \
8275 for flag in $(EXTRA_HOST_FLAGS) ; do \
8276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8277 done; \
8278 echo "Doing dvi in flex" ; \
8279 (cd $(HOST_SUBDIR)/flex && \
8280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8282 "RANLIB=$${RANLIB}" \
8283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8284 dvi) \
8285 || exit 1
8287 @endif flex
8289 .PHONY: maybe-pdf-flex pdf-flex
8290 maybe-pdf-flex:
8291 @if flex
8292 maybe-pdf-flex: pdf-flex
8294 pdf-flex: \
8295 configure-flex
8296 @: $(MAKE); $(unstage)
8297 @[ -f ./flex/Makefile ] || exit 0; \
8298 r=`${PWD_COMMAND}`; export r; \
8299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 $(HOST_EXPORTS) \
8301 for flag in $(EXTRA_HOST_FLAGS) ; do \
8302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8303 done; \
8304 echo "Doing pdf in flex" ; \
8305 (cd $(HOST_SUBDIR)/flex && \
8306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8308 "RANLIB=$${RANLIB}" \
8309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8310 pdf) \
8311 || exit 1
8313 @endif flex
8315 .PHONY: maybe-html-flex html-flex
8316 maybe-html-flex:
8317 @if flex
8318 maybe-html-flex: html-flex
8320 html-flex: \
8321 configure-flex
8322 @: $(MAKE); $(unstage)
8323 @[ -f ./flex/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 $(HOST_EXPORTS) \
8327 for flag in $(EXTRA_HOST_FLAGS) ; do \
8328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 done; \
8330 echo "Doing html in flex" ; \
8331 (cd $(HOST_SUBDIR)/flex && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8334 "RANLIB=$${RANLIB}" \
8335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8336 html) \
8337 || exit 1
8339 @endif flex
8341 .PHONY: maybe-TAGS-flex TAGS-flex
8342 maybe-TAGS-flex:
8343 @if flex
8344 maybe-TAGS-flex: TAGS-flex
8346 TAGS-flex: \
8347 configure-flex
8348 @: $(MAKE); $(unstage)
8349 @[ -f ./flex/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(HOST_EXPORTS) \
8353 for flag in $(EXTRA_HOST_FLAGS) ; do \
8354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8355 done; \
8356 echo "Doing TAGS in flex" ; \
8357 (cd $(HOST_SUBDIR)/flex && \
8358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8360 "RANLIB=$${RANLIB}" \
8361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8362 TAGS) \
8363 || exit 1
8365 @endif flex
8367 .PHONY: maybe-install-info-flex install-info-flex
8368 maybe-install-info-flex:
8369 @if flex
8370 maybe-install-info-flex: install-info-flex
8372 install-info-flex: \
8373 configure-flex \
8374 info-flex
8375 @: $(MAKE); $(unstage)
8376 @[ -f ./flex/Makefile ] || exit 0; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 $(HOST_EXPORTS) \
8380 for flag in $(EXTRA_HOST_FLAGS) ; do \
8381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8382 done; \
8383 echo "Doing install-info in flex" ; \
8384 (cd $(HOST_SUBDIR)/flex && \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8387 "RANLIB=$${RANLIB}" \
8388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8389 install-info) \
8390 || exit 1
8392 @endif flex
8394 .PHONY: maybe-install-pdf-flex install-pdf-flex
8395 maybe-install-pdf-flex:
8396 @if flex
8397 maybe-install-pdf-flex: install-pdf-flex
8399 install-pdf-flex: \
8400 configure-flex \
8401 pdf-flex
8402 @: $(MAKE); $(unstage)
8403 @[ -f ./flex/Makefile ] || exit 0; \
8404 r=`${PWD_COMMAND}`; export r; \
8405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8406 $(HOST_EXPORTS) \
8407 for flag in $(EXTRA_HOST_FLAGS) ; do \
8408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8409 done; \
8410 echo "Doing install-pdf in flex" ; \
8411 (cd $(HOST_SUBDIR)/flex && \
8412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8414 "RANLIB=$${RANLIB}" \
8415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8416 install-pdf) \
8417 || exit 1
8419 @endif flex
8421 .PHONY: maybe-install-html-flex install-html-flex
8422 maybe-install-html-flex:
8423 @if flex
8424 maybe-install-html-flex: install-html-flex
8426 install-html-flex: \
8427 configure-flex \
8428 html-flex
8429 @: $(MAKE); $(unstage)
8430 @[ -f ./flex/Makefile ] || exit 0; \
8431 r=`${PWD_COMMAND}`; export r; \
8432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8433 $(HOST_EXPORTS) \
8434 for flag in $(EXTRA_HOST_FLAGS) ; do \
8435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8436 done; \
8437 echo "Doing install-html in flex" ; \
8438 (cd $(HOST_SUBDIR)/flex && \
8439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8441 "RANLIB=$${RANLIB}" \
8442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8443 install-html) \
8444 || exit 1
8446 @endif flex
8448 .PHONY: maybe-installcheck-flex installcheck-flex
8449 maybe-installcheck-flex:
8450 @if flex
8451 maybe-installcheck-flex: installcheck-flex
8453 installcheck-flex: \
8454 configure-flex
8455 @: $(MAKE); $(unstage)
8456 @[ -f ./flex/Makefile ] || exit 0; \
8457 r=`${PWD_COMMAND}`; export r; \
8458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8459 $(HOST_EXPORTS) \
8460 for flag in $(EXTRA_HOST_FLAGS) ; do \
8461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8462 done; \
8463 echo "Doing installcheck in flex" ; \
8464 (cd $(HOST_SUBDIR)/flex && \
8465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8467 "RANLIB=$${RANLIB}" \
8468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8469 installcheck) \
8470 || exit 1
8472 @endif flex
8474 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8475 maybe-mostlyclean-flex:
8476 @if flex
8477 maybe-mostlyclean-flex: mostlyclean-flex
8479 mostlyclean-flex:
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./flex/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing mostlyclean in flex" ; \
8489 (cd $(HOST_SUBDIR)/flex && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8494 mostlyclean) \
8495 || exit 1
8497 @endif flex
8499 .PHONY: maybe-clean-flex clean-flex
8500 maybe-clean-flex:
8501 @if flex
8502 maybe-clean-flex: clean-flex
8504 clean-flex:
8505 @: $(MAKE); $(unstage)
8506 @[ -f ./flex/Makefile ] || exit 0; \
8507 r=`${PWD_COMMAND}`; export r; \
8508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8509 $(HOST_EXPORTS) \
8510 for flag in $(EXTRA_HOST_FLAGS) ; do \
8511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8512 done; \
8513 echo "Doing clean in flex" ; \
8514 (cd $(HOST_SUBDIR)/flex && \
8515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8517 "RANLIB=$${RANLIB}" \
8518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8519 clean) \
8520 || exit 1
8522 @endif flex
8524 .PHONY: maybe-distclean-flex distclean-flex
8525 maybe-distclean-flex:
8526 @if flex
8527 maybe-distclean-flex: distclean-flex
8529 distclean-flex:
8530 @: $(MAKE); $(unstage)
8531 @[ -f ./flex/Makefile ] || exit 0; \
8532 r=`${PWD_COMMAND}`; export r; \
8533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8534 $(HOST_EXPORTS) \
8535 for flag in $(EXTRA_HOST_FLAGS) ; do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 done; \
8538 echo "Doing distclean in flex" ; \
8539 (cd $(HOST_SUBDIR)/flex && \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8544 distclean) \
8545 || exit 1
8547 @endif flex
8549 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8550 maybe-maintainer-clean-flex:
8551 @if flex
8552 maybe-maintainer-clean-flex: maintainer-clean-flex
8554 maintainer-clean-flex:
8555 @: $(MAKE); $(unstage)
8556 @[ -f ./flex/Makefile ] || exit 0; \
8557 r=`${PWD_COMMAND}`; export r; \
8558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559 $(HOST_EXPORTS) \
8560 for flag in $(EXTRA_HOST_FLAGS) ; do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 done; \
8563 echo "Doing maintainer-clean in flex" ; \
8564 (cd $(HOST_SUBDIR)/flex && \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8569 maintainer-clean) \
8570 || exit 1
8572 @endif flex
8576 .PHONY: configure-gas maybe-configure-gas
8577 maybe-configure-gas:
8578 @if gcc-bootstrap
8579 configure-gas: stage_current
8580 @endif gcc-bootstrap
8581 @if gas
8582 maybe-configure-gas: configure-gas
8583 configure-gas:
8584 @r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8588 $(HOST_EXPORTS) \
8589 echo Configuring in $(HOST_SUBDIR)/gas; \
8590 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8591 case $(srcdir) in \
8592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8593 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8595 esac; \
8596 srcdiroption="--srcdir=$${topdir}/gas"; \
8597 libsrcdir="$$s/gas"; \
8598 $(SHELL) $${libsrcdir}/configure \
8599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8600 --target=${target_alias} $${srcdiroption} \
8601 || exit 1
8602 @endif gas
8606 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8607 maybe-configure-stage1-gas:
8608 @if gas-bootstrap
8609 maybe-configure-stage1-gas: configure-stage1-gas
8610 configure-stage1-gas:
8611 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8613 @r=`${PWD_COMMAND}`; export r; \
8614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8615 TFLAGS="$(STAGE1_TFLAGS)"; \
8616 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8617 $(HOST_EXPORTS) \
8618 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8619 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8620 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8621 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8623 cd $(HOST_SUBDIR)/gas || exit 1; \
8624 case $(srcdir) in \
8625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8626 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8628 esac; \
8629 srcdiroption="--srcdir=$${topdir}/gas"; \
8630 libsrcdir="$$s/gas"; \
8631 $(SHELL) $${libsrcdir}/configure \
8632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8633 --target=${target_alias} $${srcdiroption} \
8634 $(STAGE1_CONFIGURE_FLAGS)
8635 @endif gas-bootstrap
8637 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8638 maybe-configure-stage2-gas:
8639 @if gas-bootstrap
8640 maybe-configure-stage2-gas: configure-stage2-gas
8641 configure-stage2-gas:
8642 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8644 @r=`${PWD_COMMAND}`; export r; \
8645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8646 TFLAGS="$(STAGE2_TFLAGS)"; \
8647 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8648 $(HOST_EXPORTS) \
8649 $(POSTSTAGE1_HOST_EXPORTS) \
8650 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8651 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8652 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8653 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8655 cd $(HOST_SUBDIR)/gas || exit 1; \
8656 case $(srcdir) in \
8657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8658 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8660 esac; \
8661 srcdiroption="--srcdir=$${topdir}/gas"; \
8662 libsrcdir="$$s/gas"; \
8663 $(SHELL) $${libsrcdir}/configure \
8664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8665 --target=${target_alias} $${srcdiroption} \
8666 --with-build-libsubdir=$(HOST_SUBDIR) \
8667 $(STAGE2_CONFIGURE_FLAGS)
8668 @endif gas-bootstrap
8670 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8671 maybe-configure-stage3-gas:
8672 @if gas-bootstrap
8673 maybe-configure-stage3-gas: configure-stage3-gas
8674 configure-stage3-gas:
8675 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8677 @r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 TFLAGS="$(STAGE3_TFLAGS)"; \
8680 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8681 $(HOST_EXPORTS) \
8682 $(POSTSTAGE1_HOST_EXPORTS) \
8683 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8684 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8685 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8686 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8688 cd $(HOST_SUBDIR)/gas || exit 1; \
8689 case $(srcdir) in \
8690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8691 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8693 esac; \
8694 srcdiroption="--srcdir=$${topdir}/gas"; \
8695 libsrcdir="$$s/gas"; \
8696 $(SHELL) $${libsrcdir}/configure \
8697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8698 --target=${target_alias} $${srcdiroption} \
8699 --with-build-libsubdir=$(HOST_SUBDIR) \
8700 $(STAGE3_CONFIGURE_FLAGS)
8701 @endif gas-bootstrap
8703 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8704 maybe-configure-stage4-gas:
8705 @if gas-bootstrap
8706 maybe-configure-stage4-gas: configure-stage4-gas
8707 configure-stage4-gas:
8708 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8710 @r=`${PWD_COMMAND}`; export r; \
8711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8712 TFLAGS="$(STAGE4_TFLAGS)"; \
8713 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8714 $(HOST_EXPORTS) \
8715 $(POSTSTAGE1_HOST_EXPORTS) \
8716 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8717 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8718 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8719 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8721 cd $(HOST_SUBDIR)/gas || exit 1; \
8722 case $(srcdir) in \
8723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8724 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8726 esac; \
8727 srcdiroption="--srcdir=$${topdir}/gas"; \
8728 libsrcdir="$$s/gas"; \
8729 $(SHELL) $${libsrcdir}/configure \
8730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8731 --target=${target_alias} $${srcdiroption} \
8732 --with-build-libsubdir=$(HOST_SUBDIR) \
8733 $(STAGE4_CONFIGURE_FLAGS)
8734 @endif gas-bootstrap
8736 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8737 maybe-configure-stageprofile-gas:
8738 @if gas-bootstrap
8739 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8740 configure-stageprofile-gas:
8741 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8743 @r=`${PWD_COMMAND}`; export r; \
8744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8745 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8746 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8747 $(HOST_EXPORTS) \
8748 $(POSTSTAGE1_HOST_EXPORTS) \
8749 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8750 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8751 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8752 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8754 cd $(HOST_SUBDIR)/gas || exit 1; \
8755 case $(srcdir) in \
8756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8757 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8759 esac; \
8760 srcdiroption="--srcdir=$${topdir}/gas"; \
8761 libsrcdir="$$s/gas"; \
8762 $(SHELL) $${libsrcdir}/configure \
8763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8764 --target=${target_alias} $${srcdiroption} \
8765 --with-build-libsubdir=$(HOST_SUBDIR) \
8766 $(STAGEprofile_CONFIGURE_FLAGS)
8767 @endif gas-bootstrap
8769 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8770 maybe-configure-stagefeedback-gas:
8771 @if gas-bootstrap
8772 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8773 configure-stagefeedback-gas:
8774 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8776 @r=`${PWD_COMMAND}`; export r; \
8777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8778 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8779 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8780 $(HOST_EXPORTS) \
8781 $(POSTSTAGE1_HOST_EXPORTS) \
8782 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8783 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8784 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8785 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8787 cd $(HOST_SUBDIR)/gas || exit 1; \
8788 case $(srcdir) in \
8789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8790 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8792 esac; \
8793 srcdiroption="--srcdir=$${topdir}/gas"; \
8794 libsrcdir="$$s/gas"; \
8795 $(SHELL) $${libsrcdir}/configure \
8796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8797 --target=${target_alias} $${srcdiroption} \
8798 --with-build-libsubdir=$(HOST_SUBDIR) \
8799 $(STAGEfeedback_CONFIGURE_FLAGS)
8800 @endif gas-bootstrap
8806 .PHONY: all-gas maybe-all-gas
8807 maybe-all-gas:
8808 @if gcc-bootstrap
8809 all-gas: stage_current
8810 @endif gcc-bootstrap
8811 @if gas
8812 TARGET-gas=all
8813 maybe-all-gas: all-gas
8814 all-gas: configure-gas
8815 @r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(HOST_EXPORTS) \
8818 (cd $(HOST_SUBDIR)/gas && \
8819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8820 $(TARGET-gas))
8821 @endif gas
8825 .PHONY: all-stage1-gas maybe-all-stage1-gas
8826 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8827 maybe-all-stage1-gas:
8828 maybe-clean-stage1-gas:
8829 @if gas-bootstrap
8830 maybe-all-stage1-gas: all-stage1-gas
8831 all-stage1: all-stage1-gas
8832 TARGET-stage1-gas = $(TARGET-gas)
8833 all-stage1-gas: configure-stage1-gas
8834 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8835 @r=`${PWD_COMMAND}`; export r; \
8836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8837 TFLAGS="$(STAGE1_TFLAGS)"; \
8838 $(HOST_EXPORTS) \
8839 cd $(HOST_SUBDIR)/gas && \
8840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8841 CFLAGS="$(STAGE1_CFLAGS)" \
8842 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8843 LIBCFLAGS="$(LIBCFLAGS)" \
8844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8847 $(EXTRA_HOST_FLAGS) \
8848 TFLAGS="$(STAGE1_TFLAGS)" \
8849 $(TARGET-stage1-gas)
8851 maybe-clean-stage1-gas: clean-stage1-gas
8852 clean-stage1: clean-stage1-gas
8853 clean-stage1-gas:
8854 @if [ $(current_stage) = stage1 ]; then \
8855 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8856 else \
8857 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8858 $(MAKE) stage1-start; \
8859 fi; \
8860 cd $(HOST_SUBDIR)/gas && \
8861 $(MAKE) $(EXTRA_HOST_FLAGS) \
8862 clean
8863 @endif gas-bootstrap
8866 .PHONY: all-stage2-gas maybe-all-stage2-gas
8867 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8868 maybe-all-stage2-gas:
8869 maybe-clean-stage2-gas:
8870 @if gas-bootstrap
8871 maybe-all-stage2-gas: all-stage2-gas
8872 all-stage2: all-stage2-gas
8873 TARGET-stage2-gas = $(TARGET-gas)
8874 all-stage2-gas: configure-stage2-gas
8875 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8876 @r=`${PWD_COMMAND}`; export r; \
8877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 TFLAGS="$(STAGE2_TFLAGS)"; \
8879 $(HOST_EXPORTS) \
8880 $(POSTSTAGE1_HOST_EXPORTS) \
8881 cd $(HOST_SUBDIR)/gas && \
8882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8883 CFLAGS="$(STAGE2_CFLAGS)" \
8884 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8885 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8889 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8890 TFLAGS="$(STAGE2_TFLAGS)" \
8891 $(TARGET-stage2-gas)
8893 maybe-clean-stage2-gas: clean-stage2-gas
8894 clean-stage2: clean-stage2-gas
8895 clean-stage2-gas:
8896 @if [ $(current_stage) = stage2 ]; then \
8897 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8898 else \
8899 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8900 $(MAKE) stage2-start; \
8901 fi; \
8902 cd $(HOST_SUBDIR)/gas && \
8903 $(MAKE) $(EXTRA_HOST_FLAGS) \
8904 $(POSTSTAGE1_FLAGS_TO_PASS) \
8905 clean
8906 @endif gas-bootstrap
8909 .PHONY: all-stage3-gas maybe-all-stage3-gas
8910 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8911 maybe-all-stage3-gas:
8912 maybe-clean-stage3-gas:
8913 @if gas-bootstrap
8914 maybe-all-stage3-gas: all-stage3-gas
8915 all-stage3: all-stage3-gas
8916 TARGET-stage3-gas = $(TARGET-gas)
8917 all-stage3-gas: configure-stage3-gas
8918 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8919 @r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 TFLAGS="$(STAGE3_TFLAGS)"; \
8922 $(HOST_EXPORTS) \
8923 $(POSTSTAGE1_HOST_EXPORTS) \
8924 cd $(HOST_SUBDIR)/gas && \
8925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8926 CFLAGS="$(STAGE3_CFLAGS)" \
8927 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8928 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8933 TFLAGS="$(STAGE3_TFLAGS)" \
8934 $(TARGET-stage3-gas)
8936 maybe-clean-stage3-gas: clean-stage3-gas
8937 clean-stage3: clean-stage3-gas
8938 clean-stage3-gas:
8939 @if [ $(current_stage) = stage3 ]; then \
8940 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8941 else \
8942 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8943 $(MAKE) stage3-start; \
8944 fi; \
8945 cd $(HOST_SUBDIR)/gas && \
8946 $(MAKE) $(EXTRA_HOST_FLAGS) \
8947 $(POSTSTAGE1_FLAGS_TO_PASS) \
8948 clean
8949 @endif gas-bootstrap
8952 .PHONY: all-stage4-gas maybe-all-stage4-gas
8953 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8954 maybe-all-stage4-gas:
8955 maybe-clean-stage4-gas:
8956 @if gas-bootstrap
8957 maybe-all-stage4-gas: all-stage4-gas
8958 all-stage4: all-stage4-gas
8959 TARGET-stage4-gas = $(TARGET-gas)
8960 all-stage4-gas: configure-stage4-gas
8961 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8962 @r=`${PWD_COMMAND}`; export r; \
8963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8964 TFLAGS="$(STAGE4_TFLAGS)"; \
8965 $(HOST_EXPORTS) \
8966 $(POSTSTAGE1_HOST_EXPORTS) \
8967 cd $(HOST_SUBDIR)/gas && \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8969 CFLAGS="$(STAGE4_CFLAGS)" \
8970 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8971 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8972 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8973 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8974 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8975 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8976 TFLAGS="$(STAGE4_TFLAGS)" \
8977 $(TARGET-stage4-gas)
8979 maybe-clean-stage4-gas: clean-stage4-gas
8980 clean-stage4: clean-stage4-gas
8981 clean-stage4-gas:
8982 @if [ $(current_stage) = stage4 ]; then \
8983 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8984 else \
8985 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
8986 $(MAKE) stage4-start; \
8987 fi; \
8988 cd $(HOST_SUBDIR)/gas && \
8989 $(MAKE) $(EXTRA_HOST_FLAGS) \
8990 $(POSTSTAGE1_FLAGS_TO_PASS) \
8991 clean
8992 @endif gas-bootstrap
8995 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
8996 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
8997 maybe-all-stageprofile-gas:
8998 maybe-clean-stageprofile-gas:
8999 @if gas-bootstrap
9000 maybe-all-stageprofile-gas: all-stageprofile-gas
9001 all-stageprofile: all-stageprofile-gas
9002 TARGET-stageprofile-gas = $(TARGET-gas)
9003 all-stageprofile-gas: configure-stageprofile-gas
9004 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9005 @r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9008 $(HOST_EXPORTS) \
9009 $(POSTSTAGE1_HOST_EXPORTS) \
9010 cd $(HOST_SUBDIR)/gas && \
9011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9012 CFLAGS="$(STAGEprofile_CFLAGS)" \
9013 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9014 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9019 TFLAGS="$(STAGEprofile_TFLAGS)" \
9020 $(TARGET-stageprofile-gas)
9022 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9023 clean-stageprofile: clean-stageprofile-gas
9024 clean-stageprofile-gas:
9025 @if [ $(current_stage) = stageprofile ]; then \
9026 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9027 else \
9028 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9029 $(MAKE) stageprofile-start; \
9030 fi; \
9031 cd $(HOST_SUBDIR)/gas && \
9032 $(MAKE) $(EXTRA_HOST_FLAGS) \
9033 $(POSTSTAGE1_FLAGS_TO_PASS) \
9034 clean
9035 @endif gas-bootstrap
9038 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9039 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9040 maybe-all-stagefeedback-gas:
9041 maybe-clean-stagefeedback-gas:
9042 @if gas-bootstrap
9043 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9044 all-stagefeedback: all-stagefeedback-gas
9045 TARGET-stagefeedback-gas = $(TARGET-gas)
9046 all-stagefeedback-gas: configure-stagefeedback-gas
9047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9048 @r=`${PWD_COMMAND}`; export r; \
9049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9051 $(HOST_EXPORTS) \
9052 $(POSTSTAGE1_HOST_EXPORTS) \
9053 cd $(HOST_SUBDIR)/gas && \
9054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9055 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9056 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9057 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9062 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9063 $(TARGET-stagefeedback-gas)
9065 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9066 clean-stagefeedback: clean-stagefeedback-gas
9067 clean-stagefeedback-gas:
9068 @if [ $(current_stage) = stagefeedback ]; then \
9069 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9070 else \
9071 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9072 $(MAKE) stagefeedback-start; \
9073 fi; \
9074 cd $(HOST_SUBDIR)/gas && \
9075 $(MAKE) $(EXTRA_HOST_FLAGS) \
9076 $(POSTSTAGE1_FLAGS_TO_PASS) \
9077 clean
9078 @endif gas-bootstrap
9084 .PHONY: check-gas maybe-check-gas
9085 maybe-check-gas:
9086 @if gas
9087 maybe-check-gas: check-gas
9089 check-gas:
9090 @: $(MAKE); $(unstage)
9091 @r=`${PWD_COMMAND}`; export r; \
9092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 $(HOST_EXPORTS) \
9094 (cd $(HOST_SUBDIR)/gas && \
9095 $(MAKE) $(FLAGS_TO_PASS) check)
9097 @endif gas
9099 .PHONY: install-gas maybe-install-gas
9100 maybe-install-gas:
9101 @if gas
9102 maybe-install-gas: install-gas
9104 install-gas: installdirs
9105 @: $(MAKE); $(unstage)
9106 @r=`${PWD_COMMAND}`; export r; \
9107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108 $(HOST_EXPORTS) \
9109 (cd $(HOST_SUBDIR)/gas && \
9110 $(MAKE) $(FLAGS_TO_PASS) install)
9112 @endif gas
9114 .PHONY: install-strip-gas maybe-install-strip-gas
9115 maybe-install-strip-gas:
9116 @if gas
9117 maybe-install-strip-gas: install-strip-gas
9119 install-strip-gas: installdirs
9120 @: $(MAKE); $(unstage)
9121 @r=`${PWD_COMMAND}`; export r; \
9122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9123 $(HOST_EXPORTS) \
9124 (cd $(HOST_SUBDIR)/gas && \
9125 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9127 @endif gas
9129 # Other targets (info, dvi, pdf, etc.)
9131 .PHONY: maybe-info-gas info-gas
9132 maybe-info-gas:
9133 @if gas
9134 maybe-info-gas: info-gas
9136 info-gas: \
9137 configure-gas
9138 @[ -f ./gas/Makefile ] || exit 0; \
9139 r=`${PWD_COMMAND}`; export r; \
9140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141 $(HOST_EXPORTS) \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 done; \
9145 echo "Doing info in gas" ; \
9146 (cd $(HOST_SUBDIR)/gas && \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9151 info) \
9152 || exit 1
9154 @endif gas
9156 .PHONY: maybe-dvi-gas dvi-gas
9157 maybe-dvi-gas:
9158 @if gas
9159 maybe-dvi-gas: dvi-gas
9161 dvi-gas: \
9162 configure-gas
9163 @[ -f ./gas/Makefile ] || exit 0; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 for flag in $(EXTRA_HOST_FLAGS) ; do \
9168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9169 done; \
9170 echo "Doing dvi in gas" ; \
9171 (cd $(HOST_SUBDIR)/gas && \
9172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9174 "RANLIB=$${RANLIB}" \
9175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9176 dvi) \
9177 || exit 1
9179 @endif gas
9181 .PHONY: maybe-pdf-gas pdf-gas
9182 maybe-pdf-gas:
9183 @if gas
9184 maybe-pdf-gas: pdf-gas
9186 pdf-gas: \
9187 configure-gas
9188 @[ -f ./gas/Makefile ] || exit 0; \
9189 r=`${PWD_COMMAND}`; export r; \
9190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9191 $(HOST_EXPORTS) \
9192 for flag in $(EXTRA_HOST_FLAGS) ; do \
9193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9194 done; \
9195 echo "Doing pdf in gas" ; \
9196 (cd $(HOST_SUBDIR)/gas && \
9197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9199 "RANLIB=$${RANLIB}" \
9200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9201 pdf) \
9202 || exit 1
9204 @endif gas
9206 .PHONY: maybe-html-gas html-gas
9207 maybe-html-gas:
9208 @if gas
9209 maybe-html-gas: html-gas
9211 html-gas: \
9212 configure-gas
9213 @[ -f ./gas/Makefile ] || exit 0; \
9214 r=`${PWD_COMMAND}`; export r; \
9215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9216 $(HOST_EXPORTS) \
9217 for flag in $(EXTRA_HOST_FLAGS) ; do \
9218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9219 done; \
9220 echo "Doing html in gas" ; \
9221 (cd $(HOST_SUBDIR)/gas && \
9222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9224 "RANLIB=$${RANLIB}" \
9225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9226 html) \
9227 || exit 1
9229 @endif gas
9231 .PHONY: maybe-TAGS-gas TAGS-gas
9232 maybe-TAGS-gas:
9233 @if gas
9234 maybe-TAGS-gas: TAGS-gas
9236 TAGS-gas: \
9237 configure-gas
9238 @[ -f ./gas/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9241 $(HOST_EXPORTS) \
9242 for flag in $(EXTRA_HOST_FLAGS) ; do \
9243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9244 done; \
9245 echo "Doing TAGS in gas" ; \
9246 (cd $(HOST_SUBDIR)/gas && \
9247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9249 "RANLIB=$${RANLIB}" \
9250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9251 TAGS) \
9252 || exit 1
9254 @endif gas
9256 .PHONY: maybe-install-info-gas install-info-gas
9257 maybe-install-info-gas:
9258 @if gas
9259 maybe-install-info-gas: install-info-gas
9261 install-info-gas: \
9262 configure-gas \
9263 info-gas
9264 @[ -f ./gas/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9267 $(HOST_EXPORTS) \
9268 for flag in $(EXTRA_HOST_FLAGS) ; do \
9269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9270 done; \
9271 echo "Doing install-info in gas" ; \
9272 (cd $(HOST_SUBDIR)/gas && \
9273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9275 "RANLIB=$${RANLIB}" \
9276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9277 install-info) \
9278 || exit 1
9280 @endif gas
9282 .PHONY: maybe-install-pdf-gas install-pdf-gas
9283 maybe-install-pdf-gas:
9284 @if gas
9285 maybe-install-pdf-gas: install-pdf-gas
9287 install-pdf-gas: \
9288 configure-gas \
9289 pdf-gas
9290 @[ -f ./gas/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9293 $(HOST_EXPORTS) \
9294 for flag in $(EXTRA_HOST_FLAGS) ; do \
9295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9296 done; \
9297 echo "Doing install-pdf in gas" ; \
9298 (cd $(HOST_SUBDIR)/gas && \
9299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9301 "RANLIB=$${RANLIB}" \
9302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9303 install-pdf) \
9304 || exit 1
9306 @endif gas
9308 .PHONY: maybe-install-html-gas install-html-gas
9309 maybe-install-html-gas:
9310 @if gas
9311 maybe-install-html-gas: install-html-gas
9313 install-html-gas: \
9314 configure-gas \
9315 html-gas
9316 @[ -f ./gas/Makefile ] || exit 0; \
9317 r=`${PWD_COMMAND}`; export r; \
9318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9319 $(HOST_EXPORTS) \
9320 for flag in $(EXTRA_HOST_FLAGS) ; do \
9321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9322 done; \
9323 echo "Doing install-html in gas" ; \
9324 (cd $(HOST_SUBDIR)/gas && \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9327 "RANLIB=$${RANLIB}" \
9328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9329 install-html) \
9330 || exit 1
9332 @endif gas
9334 .PHONY: maybe-installcheck-gas installcheck-gas
9335 maybe-installcheck-gas:
9336 @if gas
9337 maybe-installcheck-gas: installcheck-gas
9339 installcheck-gas: \
9340 configure-gas
9341 @[ -f ./gas/Makefile ] || exit 0; \
9342 r=`${PWD_COMMAND}`; export r; \
9343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9344 $(HOST_EXPORTS) \
9345 for flag in $(EXTRA_HOST_FLAGS) ; do \
9346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9347 done; \
9348 echo "Doing installcheck in gas" ; \
9349 (cd $(HOST_SUBDIR)/gas && \
9350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9352 "RANLIB=$${RANLIB}" \
9353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9354 installcheck) \
9355 || exit 1
9357 @endif gas
9359 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9360 maybe-mostlyclean-gas:
9361 @if gas
9362 maybe-mostlyclean-gas: mostlyclean-gas
9364 mostlyclean-gas:
9365 @[ -f ./gas/Makefile ] || exit 0; \
9366 r=`${PWD_COMMAND}`; export r; \
9367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9368 $(HOST_EXPORTS) \
9369 for flag in $(EXTRA_HOST_FLAGS) ; do \
9370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9371 done; \
9372 echo "Doing mostlyclean in gas" ; \
9373 (cd $(HOST_SUBDIR)/gas && \
9374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9376 "RANLIB=$${RANLIB}" \
9377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9378 mostlyclean) \
9379 || exit 1
9381 @endif gas
9383 .PHONY: maybe-clean-gas clean-gas
9384 maybe-clean-gas:
9385 @if gas
9386 maybe-clean-gas: clean-gas
9388 clean-gas:
9389 @[ -f ./gas/Makefile ] || exit 0; \
9390 r=`${PWD_COMMAND}`; export r; \
9391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9392 $(HOST_EXPORTS) \
9393 for flag in $(EXTRA_HOST_FLAGS) ; do \
9394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9395 done; \
9396 echo "Doing clean in gas" ; \
9397 (cd $(HOST_SUBDIR)/gas && \
9398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9400 "RANLIB=$${RANLIB}" \
9401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9402 clean) \
9403 || exit 1
9405 @endif gas
9407 .PHONY: maybe-distclean-gas distclean-gas
9408 maybe-distclean-gas:
9409 @if gas
9410 maybe-distclean-gas: distclean-gas
9412 distclean-gas:
9413 @[ -f ./gas/Makefile ] || exit 0; \
9414 r=`${PWD_COMMAND}`; export r; \
9415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9416 $(HOST_EXPORTS) \
9417 for flag in $(EXTRA_HOST_FLAGS) ; do \
9418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9419 done; \
9420 echo "Doing distclean in gas" ; \
9421 (cd $(HOST_SUBDIR)/gas && \
9422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9424 "RANLIB=$${RANLIB}" \
9425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9426 distclean) \
9427 || exit 1
9429 @endif gas
9431 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9432 maybe-maintainer-clean-gas:
9433 @if gas
9434 maybe-maintainer-clean-gas: maintainer-clean-gas
9436 maintainer-clean-gas:
9437 @[ -f ./gas/Makefile ] || exit 0; \
9438 r=`${PWD_COMMAND}`; export r; \
9439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9440 $(HOST_EXPORTS) \
9441 for flag in $(EXTRA_HOST_FLAGS) ; do \
9442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9443 done; \
9444 echo "Doing maintainer-clean in gas" ; \
9445 (cd $(HOST_SUBDIR)/gas && \
9446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9448 "RANLIB=$${RANLIB}" \
9449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9450 maintainer-clean) \
9451 || exit 1
9453 @endif gas
9457 .PHONY: configure-gcc maybe-configure-gcc
9458 maybe-configure-gcc:
9459 @if gcc-bootstrap
9460 configure-gcc: stage_current
9461 @endif gcc-bootstrap
9462 @if gcc
9463 maybe-configure-gcc: configure-gcc
9464 configure-gcc:
9465 @r=`${PWD_COMMAND}`; export r; \
9466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9467 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9469 $(HOST_EXPORTS) \
9470 echo Configuring in $(HOST_SUBDIR)/gcc; \
9471 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9472 case $(srcdir) in \
9473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9474 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9476 esac; \
9477 srcdiroption="--srcdir=$${topdir}/gcc"; \
9478 libsrcdir="$$s/gcc"; \
9479 $(SHELL) $${libsrcdir}/configure \
9480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9481 --target=${target_alias} $${srcdiroption} \
9482 || exit 1
9483 @endif gcc
9487 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9488 maybe-configure-stage1-gcc:
9489 @if gcc-bootstrap
9490 maybe-configure-stage1-gcc: configure-stage1-gcc
9491 configure-stage1-gcc:
9492 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9493 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9494 @r=`${PWD_COMMAND}`; export r; \
9495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9496 TFLAGS="$(STAGE1_TFLAGS)"; \
9497 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9498 $(HOST_EXPORTS) \
9499 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9500 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9501 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9502 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9504 cd $(HOST_SUBDIR)/gcc || exit 1; \
9505 case $(srcdir) in \
9506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9507 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9509 esac; \
9510 srcdiroption="--srcdir=$${topdir}/gcc"; \
9511 libsrcdir="$$s/gcc"; \
9512 $(SHELL) $${libsrcdir}/configure \
9513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9514 --target=${target_alias} $${srcdiroption} \
9515 $(STAGE1_CONFIGURE_FLAGS)
9516 @endif gcc-bootstrap
9518 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9519 maybe-configure-stage2-gcc:
9520 @if gcc-bootstrap
9521 maybe-configure-stage2-gcc: configure-stage2-gcc
9522 configure-stage2-gcc:
9523 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9525 @r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 TFLAGS="$(STAGE2_TFLAGS)"; \
9528 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9529 $(HOST_EXPORTS) \
9530 $(POSTSTAGE1_HOST_EXPORTS) \
9531 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9532 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9533 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9534 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9536 cd $(HOST_SUBDIR)/gcc || exit 1; \
9537 case $(srcdir) in \
9538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9539 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9541 esac; \
9542 srcdiroption="--srcdir=$${topdir}/gcc"; \
9543 libsrcdir="$$s/gcc"; \
9544 $(SHELL) $${libsrcdir}/configure \
9545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9546 --target=${target_alias} $${srcdiroption} \
9547 --with-build-libsubdir=$(HOST_SUBDIR) \
9548 $(STAGE2_CONFIGURE_FLAGS)
9549 @endif gcc-bootstrap
9551 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9552 maybe-configure-stage3-gcc:
9553 @if gcc-bootstrap
9554 maybe-configure-stage3-gcc: configure-stage3-gcc
9555 configure-stage3-gcc:
9556 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9558 @r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560 TFLAGS="$(STAGE3_TFLAGS)"; \
9561 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9562 $(HOST_EXPORTS) \
9563 $(POSTSTAGE1_HOST_EXPORTS) \
9564 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9565 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9566 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9567 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9569 cd $(HOST_SUBDIR)/gcc || exit 1; \
9570 case $(srcdir) in \
9571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9572 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9574 esac; \
9575 srcdiroption="--srcdir=$${topdir}/gcc"; \
9576 libsrcdir="$$s/gcc"; \
9577 $(SHELL) $${libsrcdir}/configure \
9578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9579 --target=${target_alias} $${srcdiroption} \
9580 --with-build-libsubdir=$(HOST_SUBDIR) \
9581 $(STAGE3_CONFIGURE_FLAGS)
9582 @endif gcc-bootstrap
9584 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9585 maybe-configure-stage4-gcc:
9586 @if gcc-bootstrap
9587 maybe-configure-stage4-gcc: configure-stage4-gcc
9588 configure-stage4-gcc:
9589 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9591 @r=`${PWD_COMMAND}`; export r; \
9592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9593 TFLAGS="$(STAGE4_TFLAGS)"; \
9594 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9595 $(HOST_EXPORTS) \
9596 $(POSTSTAGE1_HOST_EXPORTS) \
9597 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9598 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9599 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9600 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9602 cd $(HOST_SUBDIR)/gcc || exit 1; \
9603 case $(srcdir) in \
9604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9605 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9607 esac; \
9608 srcdiroption="--srcdir=$${topdir}/gcc"; \
9609 libsrcdir="$$s/gcc"; \
9610 $(SHELL) $${libsrcdir}/configure \
9611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9612 --target=${target_alias} $${srcdiroption} \
9613 --with-build-libsubdir=$(HOST_SUBDIR) \
9614 $(STAGE4_CONFIGURE_FLAGS)
9615 @endif gcc-bootstrap
9617 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9618 maybe-configure-stageprofile-gcc:
9619 @if gcc-bootstrap
9620 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9621 configure-stageprofile-gcc:
9622 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9623 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9624 @r=`${PWD_COMMAND}`; export r; \
9625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9626 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9627 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9628 $(HOST_EXPORTS) \
9629 $(POSTSTAGE1_HOST_EXPORTS) \
9630 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9631 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9632 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9633 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9635 cd $(HOST_SUBDIR)/gcc || exit 1; \
9636 case $(srcdir) in \
9637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9638 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9640 esac; \
9641 srcdiroption="--srcdir=$${topdir}/gcc"; \
9642 libsrcdir="$$s/gcc"; \
9643 $(SHELL) $${libsrcdir}/configure \
9644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9645 --target=${target_alias} $${srcdiroption} \
9646 --with-build-libsubdir=$(HOST_SUBDIR) \
9647 $(STAGEprofile_CONFIGURE_FLAGS)
9648 @endif gcc-bootstrap
9650 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9651 maybe-configure-stagefeedback-gcc:
9652 @if gcc-bootstrap
9653 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9654 configure-stagefeedback-gcc:
9655 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9656 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9657 @r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9660 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9661 $(HOST_EXPORTS) \
9662 $(POSTSTAGE1_HOST_EXPORTS) \
9663 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9664 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9665 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9666 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9668 cd $(HOST_SUBDIR)/gcc || exit 1; \
9669 case $(srcdir) in \
9670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9671 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9673 esac; \
9674 srcdiroption="--srcdir=$${topdir}/gcc"; \
9675 libsrcdir="$$s/gcc"; \
9676 $(SHELL) $${libsrcdir}/configure \
9677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9678 --target=${target_alias} $${srcdiroption} \
9679 --with-build-libsubdir=$(HOST_SUBDIR) \
9680 $(STAGEfeedback_CONFIGURE_FLAGS)
9681 @endif gcc-bootstrap
9687 .PHONY: all-gcc maybe-all-gcc
9688 maybe-all-gcc:
9689 @if gcc-bootstrap
9690 all-gcc: stage_current
9691 @endif gcc-bootstrap
9692 @if gcc
9693 TARGET-gcc=all
9694 maybe-all-gcc: all-gcc
9695 all-gcc: configure-gcc
9696 @r=`${PWD_COMMAND}`; export r; \
9697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9698 $(HOST_EXPORTS) \
9699 (cd $(HOST_SUBDIR)/gcc && \
9700 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9701 $(TARGET-gcc))
9702 @endif gcc
9706 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9707 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9708 maybe-all-stage1-gcc:
9709 maybe-clean-stage1-gcc:
9710 @if gcc-bootstrap
9711 maybe-all-stage1-gcc: all-stage1-gcc
9712 all-stage1: all-stage1-gcc
9713 TARGET-stage1-gcc = $(TARGET-gcc)
9714 all-stage1-gcc: configure-stage1-gcc
9715 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9716 @r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 TFLAGS="$(STAGE1_TFLAGS)"; \
9719 $(HOST_EXPORTS) \
9720 cd $(HOST_SUBDIR)/gcc && \
9721 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9722 CFLAGS="$(STAGE1_CFLAGS)" \
9723 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9724 LIBCFLAGS="$(LIBCFLAGS)" \
9725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9728 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9729 TFLAGS="$(STAGE1_TFLAGS)" \
9730 $(TARGET-stage1-gcc)
9732 maybe-clean-stage1-gcc: clean-stage1-gcc
9733 clean-stage1: clean-stage1-gcc
9734 clean-stage1-gcc:
9735 @if [ $(current_stage) = stage1 ]; then \
9736 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9737 else \
9738 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9739 $(MAKE) stage1-start; \
9740 fi; \
9741 cd $(HOST_SUBDIR)/gcc && \
9742 $(MAKE) $(EXTRA_HOST_FLAGS) \
9743 $(EXTRA_GCC_FLAGS) clean
9744 @endif gcc-bootstrap
9747 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9748 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9749 maybe-all-stage2-gcc:
9750 maybe-clean-stage2-gcc:
9751 @if gcc-bootstrap
9752 maybe-all-stage2-gcc: all-stage2-gcc
9753 all-stage2: all-stage2-gcc
9754 TARGET-stage2-gcc = $(TARGET-gcc)
9755 all-stage2-gcc: configure-stage2-gcc
9756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9757 @r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 TFLAGS="$(STAGE2_TFLAGS)"; \
9760 $(HOST_EXPORTS) \
9761 $(POSTSTAGE1_HOST_EXPORTS) \
9762 cd $(HOST_SUBDIR)/gcc && \
9763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9764 CFLAGS="$(STAGE2_CFLAGS)" \
9765 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9766 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9771 TFLAGS="$(STAGE2_TFLAGS)" \
9772 $(TARGET-stage2-gcc)
9774 maybe-clean-stage2-gcc: clean-stage2-gcc
9775 clean-stage2: clean-stage2-gcc
9776 clean-stage2-gcc:
9777 @if [ $(current_stage) = stage2 ]; then \
9778 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9779 else \
9780 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9781 $(MAKE) stage2-start; \
9782 fi; \
9783 cd $(HOST_SUBDIR)/gcc && \
9784 $(MAKE) $(EXTRA_HOST_FLAGS) \
9785 $(POSTSTAGE1_FLAGS_TO_PASS) \
9786 $(EXTRA_GCC_FLAGS) clean
9787 @endif gcc-bootstrap
9790 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9791 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9792 maybe-all-stage3-gcc:
9793 maybe-clean-stage3-gcc:
9794 @if gcc-bootstrap
9795 maybe-all-stage3-gcc: all-stage3-gcc
9796 all-stage3: all-stage3-gcc
9797 TARGET-stage3-gcc = $(TARGET-gcc)
9798 all-stage3-gcc: configure-stage3-gcc
9799 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9800 @r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 TFLAGS="$(STAGE3_TFLAGS)"; \
9803 $(HOST_EXPORTS) \
9804 $(POSTSTAGE1_HOST_EXPORTS) \
9805 cd $(HOST_SUBDIR)/gcc && \
9806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9807 CFLAGS="$(STAGE3_CFLAGS)" \
9808 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9809 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9814 TFLAGS="$(STAGE3_TFLAGS)" \
9815 $(TARGET-stage3-gcc)
9817 maybe-clean-stage3-gcc: clean-stage3-gcc
9818 clean-stage3: clean-stage3-gcc
9819 clean-stage3-gcc:
9820 @if [ $(current_stage) = stage3 ]; then \
9821 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9822 else \
9823 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9824 $(MAKE) stage3-start; \
9825 fi; \
9826 cd $(HOST_SUBDIR)/gcc && \
9827 $(MAKE) $(EXTRA_HOST_FLAGS) \
9828 $(POSTSTAGE1_FLAGS_TO_PASS) \
9829 $(EXTRA_GCC_FLAGS) clean
9830 @endif gcc-bootstrap
9833 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9834 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9835 maybe-all-stage4-gcc:
9836 maybe-clean-stage4-gcc:
9837 @if gcc-bootstrap
9838 maybe-all-stage4-gcc: all-stage4-gcc
9839 all-stage4: all-stage4-gcc
9840 TARGET-stage4-gcc = $(TARGET-gcc)
9841 all-stage4-gcc: configure-stage4-gcc
9842 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9843 @r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 TFLAGS="$(STAGE4_TFLAGS)"; \
9846 $(HOST_EXPORTS) \
9847 $(POSTSTAGE1_HOST_EXPORTS) \
9848 cd $(HOST_SUBDIR)/gcc && \
9849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9850 CFLAGS="$(STAGE4_CFLAGS)" \
9851 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9852 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9857 TFLAGS="$(STAGE4_TFLAGS)" \
9858 $(TARGET-stage4-gcc)
9860 maybe-clean-stage4-gcc: clean-stage4-gcc
9861 clean-stage4: clean-stage4-gcc
9862 clean-stage4-gcc:
9863 @if [ $(current_stage) = stage4 ]; then \
9864 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9865 else \
9866 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9867 $(MAKE) stage4-start; \
9868 fi; \
9869 cd $(HOST_SUBDIR)/gcc && \
9870 $(MAKE) $(EXTRA_HOST_FLAGS) \
9871 $(POSTSTAGE1_FLAGS_TO_PASS) \
9872 $(EXTRA_GCC_FLAGS) clean
9873 @endif gcc-bootstrap
9876 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9877 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9878 maybe-all-stageprofile-gcc:
9879 maybe-clean-stageprofile-gcc:
9880 @if gcc-bootstrap
9881 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9882 all-stageprofile: all-stageprofile-gcc
9883 TARGET-stageprofile-gcc = $(TARGET-gcc)
9884 all-stageprofile-gcc: configure-stageprofile-gcc
9885 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9886 @r=`${PWD_COMMAND}`; export r; \
9887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9888 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9889 $(HOST_EXPORTS) \
9890 $(POSTSTAGE1_HOST_EXPORTS) \
9891 cd $(HOST_SUBDIR)/gcc && \
9892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9893 CFLAGS="$(STAGEprofile_CFLAGS)" \
9894 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9895 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9896 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9897 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9898 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9899 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9900 TFLAGS="$(STAGEprofile_TFLAGS)" \
9901 $(TARGET-stageprofile-gcc)
9903 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9904 clean-stageprofile: clean-stageprofile-gcc
9905 clean-stageprofile-gcc:
9906 @if [ $(current_stage) = stageprofile ]; then \
9907 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9908 else \
9909 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9910 $(MAKE) stageprofile-start; \
9911 fi; \
9912 cd $(HOST_SUBDIR)/gcc && \
9913 $(MAKE) $(EXTRA_HOST_FLAGS) \
9914 $(POSTSTAGE1_FLAGS_TO_PASS) \
9915 $(EXTRA_GCC_FLAGS) clean
9916 @endif gcc-bootstrap
9919 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9920 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9921 maybe-all-stagefeedback-gcc:
9922 maybe-clean-stagefeedback-gcc:
9923 @if gcc-bootstrap
9924 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9925 all-stagefeedback: all-stagefeedback-gcc
9926 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9927 all-stagefeedback-gcc: configure-stagefeedback-gcc
9928 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9929 @r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9932 $(HOST_EXPORTS) \
9933 $(POSTSTAGE1_HOST_EXPORTS) \
9934 cd $(HOST_SUBDIR)/gcc && \
9935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9936 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9937 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9938 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9942 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9943 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9944 $(TARGET-stagefeedback-gcc)
9946 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9947 clean-stagefeedback: clean-stagefeedback-gcc
9948 clean-stagefeedback-gcc:
9949 @if [ $(current_stage) = stagefeedback ]; then \
9950 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9951 else \
9952 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9953 $(MAKE) stagefeedback-start; \
9954 fi; \
9955 cd $(HOST_SUBDIR)/gcc && \
9956 $(MAKE) $(EXTRA_HOST_FLAGS) \
9957 $(POSTSTAGE1_FLAGS_TO_PASS) \
9958 $(EXTRA_GCC_FLAGS) clean
9959 @endif gcc-bootstrap
9965 .PHONY: check-gcc maybe-check-gcc
9966 maybe-check-gcc:
9967 @if gcc
9968 maybe-check-gcc: check-gcc
9970 check-gcc:
9971 @: $(MAKE); $(unstage)
9972 @r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 (cd $(HOST_SUBDIR)/gcc && \
9976 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9978 @endif gcc
9980 .PHONY: install-gcc maybe-install-gcc
9981 maybe-install-gcc:
9982 @if gcc
9983 maybe-install-gcc: install-gcc
9985 install-gcc: installdirs
9986 @: $(MAKE); $(unstage)
9987 @r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989 $(HOST_EXPORTS) \
9990 (cd $(HOST_SUBDIR)/gcc && \
9991 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9993 @endif gcc
9995 .PHONY: install-strip-gcc maybe-install-strip-gcc
9996 maybe-install-strip-gcc:
9997 @if gcc
9998 maybe-install-strip-gcc: install-strip-gcc
10000 install-strip-gcc: installdirs
10001 @: $(MAKE); $(unstage)
10002 @r=`${PWD_COMMAND}`; export r; \
10003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10004 $(HOST_EXPORTS) \
10005 (cd $(HOST_SUBDIR)/gcc && \
10006 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10008 @endif gcc
10010 # Other targets (info, dvi, pdf, etc.)
10012 .PHONY: maybe-info-gcc info-gcc
10013 maybe-info-gcc:
10014 @if gcc
10015 maybe-info-gcc: info-gcc
10017 info-gcc: \
10018 configure-gcc
10019 @[ -f ./gcc/Makefile ] || exit 0; \
10020 r=`${PWD_COMMAND}`; export r; \
10021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10022 $(HOST_EXPORTS) \
10023 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10025 done; \
10026 echo "Doing info in gcc" ; \
10027 (cd $(HOST_SUBDIR)/gcc && \
10028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10030 "RANLIB=$${RANLIB}" \
10031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10032 info) \
10033 || exit 1
10035 @endif gcc
10037 .PHONY: maybe-dvi-gcc dvi-gcc
10038 maybe-dvi-gcc:
10039 @if gcc
10040 maybe-dvi-gcc: dvi-gcc
10042 dvi-gcc: \
10043 configure-gcc
10044 @[ -f ./gcc/Makefile ] || exit 0; \
10045 r=`${PWD_COMMAND}`; export r; \
10046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10047 $(HOST_EXPORTS) \
10048 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10050 done; \
10051 echo "Doing dvi in gcc" ; \
10052 (cd $(HOST_SUBDIR)/gcc && \
10053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10055 "RANLIB=$${RANLIB}" \
10056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10057 dvi) \
10058 || exit 1
10060 @endif gcc
10062 .PHONY: maybe-pdf-gcc pdf-gcc
10063 maybe-pdf-gcc:
10064 @if gcc
10065 maybe-pdf-gcc: pdf-gcc
10067 pdf-gcc: \
10068 configure-gcc
10069 @[ -f ./gcc/Makefile ] || exit 0; \
10070 r=`${PWD_COMMAND}`; export r; \
10071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072 $(HOST_EXPORTS) \
10073 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10075 done; \
10076 echo "Doing pdf in gcc" ; \
10077 (cd $(HOST_SUBDIR)/gcc && \
10078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10080 "RANLIB=$${RANLIB}" \
10081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10082 pdf) \
10083 || exit 1
10085 @endif gcc
10087 .PHONY: maybe-html-gcc html-gcc
10088 maybe-html-gcc:
10089 @if gcc
10090 maybe-html-gcc: html-gcc
10092 html-gcc: \
10093 configure-gcc
10094 @[ -f ./gcc/Makefile ] || exit 0; \
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 $(HOST_EXPORTS) \
10098 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10100 done; \
10101 echo "Doing html in gcc" ; \
10102 (cd $(HOST_SUBDIR)/gcc && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10107 html) \
10108 || exit 1
10110 @endif gcc
10112 .PHONY: maybe-TAGS-gcc TAGS-gcc
10113 maybe-TAGS-gcc:
10114 @if gcc
10115 maybe-TAGS-gcc: TAGS-gcc
10117 TAGS-gcc: \
10118 configure-gcc
10119 @[ -f ./gcc/Makefile ] || exit 0; \
10120 r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 $(HOST_EXPORTS) \
10123 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 done; \
10126 echo "Doing TAGS in gcc" ; \
10127 (cd $(HOST_SUBDIR)/gcc && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10132 TAGS) \
10133 || exit 1
10135 @endif gcc
10137 .PHONY: maybe-install-info-gcc install-info-gcc
10138 maybe-install-info-gcc:
10139 @if gcc
10140 maybe-install-info-gcc: install-info-gcc
10142 install-info-gcc: \
10143 configure-gcc \
10144 info-gcc
10145 @[ -f ./gcc/Makefile ] || exit 0; \
10146 r=`${PWD_COMMAND}`; export r; \
10147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10148 $(HOST_EXPORTS) \
10149 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 done; \
10152 echo "Doing install-info in gcc" ; \
10153 (cd $(HOST_SUBDIR)/gcc && \
10154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10156 "RANLIB=$${RANLIB}" \
10157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10158 install-info) \
10159 || exit 1
10161 @endif gcc
10163 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10164 maybe-install-pdf-gcc:
10165 @if gcc
10166 maybe-install-pdf-gcc: install-pdf-gcc
10168 install-pdf-gcc: \
10169 configure-gcc \
10170 pdf-gcc
10171 @[ -f ./gcc/Makefile ] || exit 0; \
10172 r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174 $(HOST_EXPORTS) \
10175 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177 done; \
10178 echo "Doing install-pdf in gcc" ; \
10179 (cd $(HOST_SUBDIR)/gcc && \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10184 install-pdf) \
10185 || exit 1
10187 @endif gcc
10189 .PHONY: maybe-install-html-gcc install-html-gcc
10190 maybe-install-html-gcc:
10191 @if gcc
10192 maybe-install-html-gcc: install-html-gcc
10194 install-html-gcc: \
10195 configure-gcc \
10196 html-gcc
10197 @[ -f ./gcc/Makefile ] || exit 0; \
10198 r=`${PWD_COMMAND}`; export r; \
10199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10200 $(HOST_EXPORTS) \
10201 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10203 done; \
10204 echo "Doing install-html in gcc" ; \
10205 (cd $(HOST_SUBDIR)/gcc && \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10208 "RANLIB=$${RANLIB}" \
10209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10210 install-html) \
10211 || exit 1
10213 @endif gcc
10215 .PHONY: maybe-installcheck-gcc installcheck-gcc
10216 maybe-installcheck-gcc:
10217 @if gcc
10218 maybe-installcheck-gcc: installcheck-gcc
10220 installcheck-gcc: \
10221 configure-gcc
10222 @[ -f ./gcc/Makefile ] || exit 0; \
10223 r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225 $(HOST_EXPORTS) \
10226 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10228 done; \
10229 echo "Doing installcheck in gcc" ; \
10230 (cd $(HOST_SUBDIR)/gcc && \
10231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233 "RANLIB=$${RANLIB}" \
10234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10235 installcheck) \
10236 || exit 1
10238 @endif gcc
10240 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10241 maybe-mostlyclean-gcc:
10242 @if gcc
10243 maybe-mostlyclean-gcc: mostlyclean-gcc
10245 mostlyclean-gcc:
10246 @[ -f ./gcc/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 $(HOST_EXPORTS) \
10250 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252 done; \
10253 echo "Doing mostlyclean in gcc" ; \
10254 (cd $(HOST_SUBDIR)/gcc && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10259 mostlyclean) \
10260 || exit 1
10262 @endif gcc
10264 .PHONY: maybe-clean-gcc clean-gcc
10265 maybe-clean-gcc:
10266 @if gcc
10267 maybe-clean-gcc: clean-gcc
10269 clean-gcc:
10270 @[ -f ./gcc/Makefile ] || exit 0; \
10271 r=`${PWD_COMMAND}`; export r; \
10272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10273 $(HOST_EXPORTS) \
10274 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10276 done; \
10277 echo "Doing clean in gcc" ; \
10278 (cd $(HOST_SUBDIR)/gcc && \
10279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10281 "RANLIB=$${RANLIB}" \
10282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10283 clean) \
10284 || exit 1
10286 @endif gcc
10288 .PHONY: maybe-distclean-gcc distclean-gcc
10289 maybe-distclean-gcc:
10290 @if gcc
10291 maybe-distclean-gcc: distclean-gcc
10293 distclean-gcc:
10294 @[ -f ./gcc/Makefile ] || exit 0; \
10295 r=`${PWD_COMMAND}`; export r; \
10296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 $(HOST_EXPORTS) \
10298 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10300 done; \
10301 echo "Doing distclean in gcc" ; \
10302 (cd $(HOST_SUBDIR)/gcc && \
10303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10305 "RANLIB=$${RANLIB}" \
10306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10307 distclean) \
10308 || exit 1
10310 @endif gcc
10312 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10313 maybe-maintainer-clean-gcc:
10314 @if gcc
10315 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10317 maintainer-clean-gcc:
10318 @[ -f ./gcc/Makefile ] || exit 0; \
10319 r=`${PWD_COMMAND}`; export r; \
10320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10321 $(HOST_EXPORTS) \
10322 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10324 done; \
10325 echo "Doing maintainer-clean in gcc" ; \
10326 (cd $(HOST_SUBDIR)/gcc && \
10327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10329 "RANLIB=$${RANLIB}" \
10330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10331 maintainer-clean) \
10332 || exit 1
10334 @endif gcc
10338 .PHONY: configure-gmp maybe-configure-gmp
10339 maybe-configure-gmp:
10340 @if gcc-bootstrap
10341 configure-gmp: stage_current
10342 @endif gcc-bootstrap
10343 @if gmp
10344 maybe-configure-gmp: configure-gmp
10345 configure-gmp:
10346 @r=`${PWD_COMMAND}`; export r; \
10347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10348 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10350 $(HOST_EXPORTS) \
10351 echo Configuring in $(HOST_SUBDIR)/gmp; \
10352 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10353 case $(srcdir) in \
10354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10355 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10357 esac; \
10358 srcdiroption="--srcdir=$${topdir}/gmp"; \
10359 libsrcdir="$$s/gmp"; \
10360 $(SHELL) $${libsrcdir}/configure \
10361 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10362 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10363 || exit 1
10364 @endif gmp
10368 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10369 maybe-configure-stage1-gmp:
10370 @if gmp-bootstrap
10371 maybe-configure-stage1-gmp: configure-stage1-gmp
10372 configure-stage1-gmp:
10373 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10375 @r=`${PWD_COMMAND}`; export r; \
10376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10377 TFLAGS="$(STAGE1_TFLAGS)"; \
10378 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10379 $(HOST_EXPORTS) \
10380 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10381 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10382 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10383 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10385 cd $(HOST_SUBDIR)/gmp || exit 1; \
10386 case $(srcdir) in \
10387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10388 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10390 esac; \
10391 srcdiroption="--srcdir=$${topdir}/gmp"; \
10392 libsrcdir="$$s/gmp"; \
10393 $(SHELL) $${libsrcdir}/configure \
10394 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10395 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10396 $(STAGE1_CONFIGURE_FLAGS) \
10397 --disable-shared
10398 @endif gmp-bootstrap
10400 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10401 maybe-configure-stage2-gmp:
10402 @if gmp-bootstrap
10403 maybe-configure-stage2-gmp: configure-stage2-gmp
10404 configure-stage2-gmp:
10405 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10407 @r=`${PWD_COMMAND}`; export r; \
10408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10409 TFLAGS="$(STAGE2_TFLAGS)"; \
10410 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10411 $(HOST_EXPORTS) \
10412 $(POSTSTAGE1_HOST_EXPORTS) \
10413 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10414 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10415 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10416 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10418 cd $(HOST_SUBDIR)/gmp || exit 1; \
10419 case $(srcdir) in \
10420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10421 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10423 esac; \
10424 srcdiroption="--srcdir=$${topdir}/gmp"; \
10425 libsrcdir="$$s/gmp"; \
10426 $(SHELL) $${libsrcdir}/configure \
10427 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10428 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10429 --with-build-libsubdir=$(HOST_SUBDIR) \
10430 $(STAGE2_CONFIGURE_FLAGS) \
10431 --disable-shared
10432 @endif gmp-bootstrap
10434 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10435 maybe-configure-stage3-gmp:
10436 @if gmp-bootstrap
10437 maybe-configure-stage3-gmp: configure-stage3-gmp
10438 configure-stage3-gmp:
10439 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10441 @r=`${PWD_COMMAND}`; export r; \
10442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10443 TFLAGS="$(STAGE3_TFLAGS)"; \
10444 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10445 $(HOST_EXPORTS) \
10446 $(POSTSTAGE1_HOST_EXPORTS) \
10447 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10448 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10449 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10450 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10452 cd $(HOST_SUBDIR)/gmp || exit 1; \
10453 case $(srcdir) in \
10454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10455 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10457 esac; \
10458 srcdiroption="--srcdir=$${topdir}/gmp"; \
10459 libsrcdir="$$s/gmp"; \
10460 $(SHELL) $${libsrcdir}/configure \
10461 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10462 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10463 --with-build-libsubdir=$(HOST_SUBDIR) \
10464 $(STAGE3_CONFIGURE_FLAGS) \
10465 --disable-shared
10466 @endif gmp-bootstrap
10468 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10469 maybe-configure-stage4-gmp:
10470 @if gmp-bootstrap
10471 maybe-configure-stage4-gmp: configure-stage4-gmp
10472 configure-stage4-gmp:
10473 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10475 @r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 TFLAGS="$(STAGE4_TFLAGS)"; \
10478 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10479 $(HOST_EXPORTS) \
10480 $(POSTSTAGE1_HOST_EXPORTS) \
10481 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10482 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10483 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10484 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10486 cd $(HOST_SUBDIR)/gmp || exit 1; \
10487 case $(srcdir) in \
10488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10489 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10491 esac; \
10492 srcdiroption="--srcdir=$${topdir}/gmp"; \
10493 libsrcdir="$$s/gmp"; \
10494 $(SHELL) $${libsrcdir}/configure \
10495 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10496 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10497 --with-build-libsubdir=$(HOST_SUBDIR) \
10498 $(STAGE4_CONFIGURE_FLAGS) \
10499 --disable-shared
10500 @endif gmp-bootstrap
10502 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10503 maybe-configure-stageprofile-gmp:
10504 @if gmp-bootstrap
10505 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10506 configure-stageprofile-gmp:
10507 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10508 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10509 @r=`${PWD_COMMAND}`; export r; \
10510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10511 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10512 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10513 $(HOST_EXPORTS) \
10514 $(POSTSTAGE1_HOST_EXPORTS) \
10515 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10516 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10517 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10518 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10520 cd $(HOST_SUBDIR)/gmp || exit 1; \
10521 case $(srcdir) in \
10522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10523 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10525 esac; \
10526 srcdiroption="--srcdir=$${topdir}/gmp"; \
10527 libsrcdir="$$s/gmp"; \
10528 $(SHELL) $${libsrcdir}/configure \
10529 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10530 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10531 --with-build-libsubdir=$(HOST_SUBDIR) \
10532 $(STAGEprofile_CONFIGURE_FLAGS) \
10533 --disable-shared
10534 @endif gmp-bootstrap
10536 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10537 maybe-configure-stagefeedback-gmp:
10538 @if gmp-bootstrap
10539 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10540 configure-stagefeedback-gmp:
10541 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10543 @r=`${PWD_COMMAND}`; export r; \
10544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10545 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10546 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10547 $(HOST_EXPORTS) \
10548 $(POSTSTAGE1_HOST_EXPORTS) \
10549 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10550 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10551 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10552 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10554 cd $(HOST_SUBDIR)/gmp || exit 1; \
10555 case $(srcdir) in \
10556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10557 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10559 esac; \
10560 srcdiroption="--srcdir=$${topdir}/gmp"; \
10561 libsrcdir="$$s/gmp"; \
10562 $(SHELL) $${libsrcdir}/configure \
10563 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10564 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10565 --with-build-libsubdir=$(HOST_SUBDIR) \
10566 $(STAGEfeedback_CONFIGURE_FLAGS) \
10567 --disable-shared
10568 @endif gmp-bootstrap
10574 .PHONY: all-gmp maybe-all-gmp
10575 maybe-all-gmp:
10576 @if gcc-bootstrap
10577 all-gmp: stage_current
10578 @endif gcc-bootstrap
10579 @if gmp
10580 TARGET-gmp=all
10581 maybe-all-gmp: all-gmp
10582 all-gmp: configure-gmp
10583 @r=`${PWD_COMMAND}`; export r; \
10584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10585 $(HOST_EXPORTS) \
10586 (cd $(HOST_SUBDIR)/gmp && \
10587 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10588 $(TARGET-gmp))
10589 @endif gmp
10593 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10594 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10595 maybe-all-stage1-gmp:
10596 maybe-clean-stage1-gmp:
10597 @if gmp-bootstrap
10598 maybe-all-stage1-gmp: all-stage1-gmp
10599 all-stage1: all-stage1-gmp
10600 TARGET-stage1-gmp = $(TARGET-gmp)
10601 all-stage1-gmp: configure-stage1-gmp
10602 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10603 @r=`${PWD_COMMAND}`; export r; \
10604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10605 TFLAGS="$(STAGE1_TFLAGS)"; \
10606 $(HOST_EXPORTS) \
10607 cd $(HOST_SUBDIR)/gmp && \
10608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10609 CFLAGS="$(STAGE1_CFLAGS)" \
10610 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10611 LIBCFLAGS="$(LIBCFLAGS)" \
10612 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10613 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10614 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10615 $(EXTRA_HOST_FLAGS) \
10616 TFLAGS="$(STAGE1_TFLAGS)" \
10617 $(TARGET-stage1-gmp)
10619 maybe-clean-stage1-gmp: clean-stage1-gmp
10620 clean-stage1: clean-stage1-gmp
10621 clean-stage1-gmp:
10622 @if [ $(current_stage) = stage1 ]; then \
10623 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10624 else \
10625 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10626 $(MAKE) stage1-start; \
10627 fi; \
10628 cd $(HOST_SUBDIR)/gmp && \
10629 $(MAKE) $(EXTRA_HOST_FLAGS) \
10630 clean
10631 @endif gmp-bootstrap
10634 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10635 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10636 maybe-all-stage2-gmp:
10637 maybe-clean-stage2-gmp:
10638 @if gmp-bootstrap
10639 maybe-all-stage2-gmp: all-stage2-gmp
10640 all-stage2: all-stage2-gmp
10641 TARGET-stage2-gmp = $(TARGET-gmp)
10642 all-stage2-gmp: configure-stage2-gmp
10643 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10644 @r=`${PWD_COMMAND}`; export r; \
10645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10646 TFLAGS="$(STAGE2_TFLAGS)"; \
10647 $(HOST_EXPORTS) \
10648 $(POSTSTAGE1_HOST_EXPORTS) \
10649 cd $(HOST_SUBDIR)/gmp && \
10650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10651 CFLAGS="$(STAGE2_CFLAGS)" \
10652 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10653 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10658 TFLAGS="$(STAGE2_TFLAGS)" \
10659 $(TARGET-stage2-gmp)
10661 maybe-clean-stage2-gmp: clean-stage2-gmp
10662 clean-stage2: clean-stage2-gmp
10663 clean-stage2-gmp:
10664 @if [ $(current_stage) = stage2 ]; then \
10665 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10666 else \
10667 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10668 $(MAKE) stage2-start; \
10669 fi; \
10670 cd $(HOST_SUBDIR)/gmp && \
10671 $(MAKE) $(EXTRA_HOST_FLAGS) \
10672 $(POSTSTAGE1_FLAGS_TO_PASS) \
10673 clean
10674 @endif gmp-bootstrap
10677 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10678 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10679 maybe-all-stage3-gmp:
10680 maybe-clean-stage3-gmp:
10681 @if gmp-bootstrap
10682 maybe-all-stage3-gmp: all-stage3-gmp
10683 all-stage3: all-stage3-gmp
10684 TARGET-stage3-gmp = $(TARGET-gmp)
10685 all-stage3-gmp: configure-stage3-gmp
10686 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10687 @r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 TFLAGS="$(STAGE3_TFLAGS)"; \
10690 $(HOST_EXPORTS) \
10691 $(POSTSTAGE1_HOST_EXPORTS) \
10692 cd $(HOST_SUBDIR)/gmp && \
10693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10694 CFLAGS="$(STAGE3_CFLAGS)" \
10695 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10696 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10701 TFLAGS="$(STAGE3_TFLAGS)" \
10702 $(TARGET-stage3-gmp)
10704 maybe-clean-stage3-gmp: clean-stage3-gmp
10705 clean-stage3: clean-stage3-gmp
10706 clean-stage3-gmp:
10707 @if [ $(current_stage) = stage3 ]; then \
10708 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10709 else \
10710 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10711 $(MAKE) stage3-start; \
10712 fi; \
10713 cd $(HOST_SUBDIR)/gmp && \
10714 $(MAKE) $(EXTRA_HOST_FLAGS) \
10715 $(POSTSTAGE1_FLAGS_TO_PASS) \
10716 clean
10717 @endif gmp-bootstrap
10720 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10721 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10722 maybe-all-stage4-gmp:
10723 maybe-clean-stage4-gmp:
10724 @if gmp-bootstrap
10725 maybe-all-stage4-gmp: all-stage4-gmp
10726 all-stage4: all-stage4-gmp
10727 TARGET-stage4-gmp = $(TARGET-gmp)
10728 all-stage4-gmp: configure-stage4-gmp
10729 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10730 @r=`${PWD_COMMAND}`; export r; \
10731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10732 TFLAGS="$(STAGE4_TFLAGS)"; \
10733 $(HOST_EXPORTS) \
10734 $(POSTSTAGE1_HOST_EXPORTS) \
10735 cd $(HOST_SUBDIR)/gmp && \
10736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10737 CFLAGS="$(STAGE4_CFLAGS)" \
10738 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10739 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10744 TFLAGS="$(STAGE4_TFLAGS)" \
10745 $(TARGET-stage4-gmp)
10747 maybe-clean-stage4-gmp: clean-stage4-gmp
10748 clean-stage4: clean-stage4-gmp
10749 clean-stage4-gmp:
10750 @if [ $(current_stage) = stage4 ]; then \
10751 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10752 else \
10753 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10754 $(MAKE) stage4-start; \
10755 fi; \
10756 cd $(HOST_SUBDIR)/gmp && \
10757 $(MAKE) $(EXTRA_HOST_FLAGS) \
10758 $(POSTSTAGE1_FLAGS_TO_PASS) \
10759 clean
10760 @endif gmp-bootstrap
10763 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10764 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10765 maybe-all-stageprofile-gmp:
10766 maybe-clean-stageprofile-gmp:
10767 @if gmp-bootstrap
10768 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10769 all-stageprofile: all-stageprofile-gmp
10770 TARGET-stageprofile-gmp = $(TARGET-gmp)
10771 all-stageprofile-gmp: configure-stageprofile-gmp
10772 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10773 @r=`${PWD_COMMAND}`; export r; \
10774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10775 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10776 $(HOST_EXPORTS) \
10777 $(POSTSTAGE1_HOST_EXPORTS) \
10778 cd $(HOST_SUBDIR)/gmp && \
10779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10780 CFLAGS="$(STAGEprofile_CFLAGS)" \
10781 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10782 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10786 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10787 TFLAGS="$(STAGEprofile_TFLAGS)" \
10788 $(TARGET-stageprofile-gmp)
10790 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10791 clean-stageprofile: clean-stageprofile-gmp
10792 clean-stageprofile-gmp:
10793 @if [ $(current_stage) = stageprofile ]; then \
10794 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10795 else \
10796 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10797 $(MAKE) stageprofile-start; \
10798 fi; \
10799 cd $(HOST_SUBDIR)/gmp && \
10800 $(MAKE) $(EXTRA_HOST_FLAGS) \
10801 $(POSTSTAGE1_FLAGS_TO_PASS) \
10802 clean
10803 @endif gmp-bootstrap
10806 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10807 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10808 maybe-all-stagefeedback-gmp:
10809 maybe-clean-stagefeedback-gmp:
10810 @if gmp-bootstrap
10811 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10812 all-stagefeedback: all-stagefeedback-gmp
10813 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10814 all-stagefeedback-gmp: configure-stagefeedback-gmp
10815 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10816 @r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10818 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10819 $(HOST_EXPORTS) \
10820 $(POSTSTAGE1_HOST_EXPORTS) \
10821 cd $(HOST_SUBDIR)/gmp && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10823 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10824 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10825 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10830 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10831 $(TARGET-stagefeedback-gmp)
10833 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10834 clean-stagefeedback: clean-stagefeedback-gmp
10835 clean-stagefeedback-gmp:
10836 @if [ $(current_stage) = stagefeedback ]; then \
10837 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10838 else \
10839 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10840 $(MAKE) stagefeedback-start; \
10841 fi; \
10842 cd $(HOST_SUBDIR)/gmp && \
10843 $(MAKE) $(EXTRA_HOST_FLAGS) \
10844 $(POSTSTAGE1_FLAGS_TO_PASS) \
10845 clean
10846 @endif gmp-bootstrap
10852 .PHONY: check-gmp maybe-check-gmp
10853 maybe-check-gmp:
10854 @if gmp
10855 maybe-check-gmp: check-gmp
10857 check-gmp:
10858 @: $(MAKE); $(unstage)
10859 @r=`${PWD_COMMAND}`; export r; \
10860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10861 $(HOST_EXPORTS) \
10862 (cd $(HOST_SUBDIR)/gmp && \
10863 $(MAKE) $(FLAGS_TO_PASS) check)
10865 @endif gmp
10867 .PHONY: install-gmp maybe-install-gmp
10868 maybe-install-gmp:
10869 @if gmp
10870 maybe-install-gmp: install-gmp
10872 install-gmp:
10874 @endif gmp
10876 .PHONY: install-strip-gmp maybe-install-strip-gmp
10877 maybe-install-strip-gmp:
10878 @if gmp
10879 maybe-install-strip-gmp: install-strip-gmp
10881 install-strip-gmp:
10883 @endif gmp
10885 # Other targets (info, dvi, pdf, etc.)
10887 .PHONY: maybe-info-gmp info-gmp
10888 maybe-info-gmp:
10889 @if gmp
10890 maybe-info-gmp: info-gmp
10892 info-gmp: \
10893 configure-gmp
10894 @[ -f ./gmp/Makefile ] || exit 0; \
10895 r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897 $(HOST_EXPORTS) \
10898 for flag in $(EXTRA_HOST_FLAGS) ; do \
10899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10900 done; \
10901 echo "Doing info in gmp" ; \
10902 (cd $(HOST_SUBDIR)/gmp && \
10903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10905 "RANLIB=$${RANLIB}" \
10906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10907 info) \
10908 || exit 1
10910 @endif gmp
10912 .PHONY: maybe-dvi-gmp dvi-gmp
10913 maybe-dvi-gmp:
10914 @if gmp
10915 maybe-dvi-gmp: dvi-gmp
10917 dvi-gmp: \
10918 configure-gmp
10919 @[ -f ./gmp/Makefile ] || exit 0; \
10920 r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 $(HOST_EXPORTS) \
10923 for flag in $(EXTRA_HOST_FLAGS) ; do \
10924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10925 done; \
10926 echo "Doing dvi in gmp" ; \
10927 (cd $(HOST_SUBDIR)/gmp && \
10928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10930 "RANLIB=$${RANLIB}" \
10931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10932 dvi) \
10933 || exit 1
10935 @endif gmp
10937 .PHONY: maybe-pdf-gmp pdf-gmp
10938 maybe-pdf-gmp:
10939 @if gmp
10940 maybe-pdf-gmp: pdf-gmp
10942 pdf-gmp: \
10943 configure-gmp
10944 @[ -f ./gmp/Makefile ] || exit 0; \
10945 r=`${PWD_COMMAND}`; export r; \
10946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 $(HOST_EXPORTS) \
10948 for flag in $(EXTRA_HOST_FLAGS) ; do \
10949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10950 done; \
10951 echo "Doing pdf in gmp" ; \
10952 (cd $(HOST_SUBDIR)/gmp && \
10953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10955 "RANLIB=$${RANLIB}" \
10956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10957 pdf) \
10958 || exit 1
10960 @endif gmp
10962 .PHONY: maybe-html-gmp html-gmp
10963 maybe-html-gmp:
10964 @if gmp
10965 maybe-html-gmp: html-gmp
10967 html-gmp: \
10968 configure-gmp
10969 @[ -f ./gmp/Makefile ] || exit 0; \
10970 r=`${PWD_COMMAND}`; export r; \
10971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10972 $(HOST_EXPORTS) \
10973 for flag in $(EXTRA_HOST_FLAGS) ; do \
10974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10975 done; \
10976 echo "Doing html in gmp" ; \
10977 (cd $(HOST_SUBDIR)/gmp && \
10978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10980 "RANLIB=$${RANLIB}" \
10981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10982 html) \
10983 || exit 1
10985 @endif gmp
10987 .PHONY: maybe-TAGS-gmp TAGS-gmp
10988 maybe-TAGS-gmp:
10989 @if gmp
10990 maybe-TAGS-gmp: TAGS-gmp
10992 TAGS-gmp: \
10993 configure-gmp
10994 @[ -f ./gmp/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 $(HOST_EXPORTS) \
10998 for flag in $(EXTRA_HOST_FLAGS) ; do \
10999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11000 done; \
11001 echo "Doing TAGS in gmp" ; \
11002 (cd $(HOST_SUBDIR)/gmp && \
11003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11005 "RANLIB=$${RANLIB}" \
11006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11007 TAGS) \
11008 || exit 1
11010 @endif gmp
11012 .PHONY: maybe-install-info-gmp install-info-gmp
11013 maybe-install-info-gmp:
11014 @if gmp
11015 maybe-install-info-gmp: install-info-gmp
11017 install-info-gmp: \
11018 configure-gmp \
11019 info-gmp
11020 @[ -f ./gmp/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 $(HOST_EXPORTS) \
11024 for flag in $(EXTRA_HOST_FLAGS) ; do \
11025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11026 done; \
11027 echo "Doing install-info in gmp" ; \
11028 (cd $(HOST_SUBDIR)/gmp && \
11029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11031 "RANLIB=$${RANLIB}" \
11032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11033 install-info) \
11034 || exit 1
11036 @endif gmp
11038 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11039 maybe-install-pdf-gmp:
11040 @if gmp
11041 maybe-install-pdf-gmp: install-pdf-gmp
11043 install-pdf-gmp: \
11044 configure-gmp \
11045 pdf-gmp
11046 @[ -f ./gmp/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(HOST_EXPORTS) \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11052 done; \
11053 echo "Doing install-pdf in gmp" ; \
11054 (cd $(HOST_SUBDIR)/gmp && \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11059 install-pdf) \
11060 || exit 1
11062 @endif gmp
11064 .PHONY: maybe-install-html-gmp install-html-gmp
11065 maybe-install-html-gmp:
11066 @if gmp
11067 maybe-install-html-gmp: install-html-gmp
11069 install-html-gmp: \
11070 configure-gmp \
11071 html-gmp
11072 @[ -f ./gmp/Makefile ] || exit 0; \
11073 r=`${PWD_COMMAND}`; export r; \
11074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 $(HOST_EXPORTS) \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 done; \
11079 echo "Doing install-html in gmp" ; \
11080 (cd $(HOST_SUBDIR)/gmp && \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11085 install-html) \
11086 || exit 1
11088 @endif gmp
11090 .PHONY: maybe-installcheck-gmp installcheck-gmp
11091 maybe-installcheck-gmp:
11092 @if gmp
11093 maybe-installcheck-gmp: installcheck-gmp
11095 installcheck-gmp: \
11096 configure-gmp
11097 @[ -f ./gmp/Makefile ] || exit 0; \
11098 r=`${PWD_COMMAND}`; export r; \
11099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11100 $(HOST_EXPORTS) \
11101 for flag in $(EXTRA_HOST_FLAGS) ; do \
11102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11103 done; \
11104 echo "Doing installcheck in gmp" ; \
11105 (cd $(HOST_SUBDIR)/gmp && \
11106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11108 "RANLIB=$${RANLIB}" \
11109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11110 installcheck) \
11111 || exit 1
11113 @endif gmp
11115 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11116 maybe-mostlyclean-gmp:
11117 @if gmp
11118 maybe-mostlyclean-gmp: mostlyclean-gmp
11120 mostlyclean-gmp:
11121 @[ -f ./gmp/Makefile ] || exit 0; \
11122 r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 $(HOST_EXPORTS) \
11125 for flag in $(EXTRA_HOST_FLAGS) ; do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11127 done; \
11128 echo "Doing mostlyclean in gmp" ; \
11129 (cd $(HOST_SUBDIR)/gmp && \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11134 mostlyclean) \
11135 || exit 1
11137 @endif gmp
11139 .PHONY: maybe-clean-gmp clean-gmp
11140 maybe-clean-gmp:
11141 @if gmp
11142 maybe-clean-gmp: clean-gmp
11144 clean-gmp:
11145 @[ -f ./gmp/Makefile ] || exit 0; \
11146 r=`${PWD_COMMAND}`; export r; \
11147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11148 $(HOST_EXPORTS) \
11149 for flag in $(EXTRA_HOST_FLAGS) ; do \
11150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11151 done; \
11152 echo "Doing clean in gmp" ; \
11153 (cd $(HOST_SUBDIR)/gmp && \
11154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11156 "RANLIB=$${RANLIB}" \
11157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11158 clean) \
11159 || exit 1
11161 @endif gmp
11163 .PHONY: maybe-distclean-gmp distclean-gmp
11164 maybe-distclean-gmp:
11165 @if gmp
11166 maybe-distclean-gmp: distclean-gmp
11168 distclean-gmp:
11169 @[ -f ./gmp/Makefile ] || exit 0; \
11170 r=`${PWD_COMMAND}`; export r; \
11171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172 $(HOST_EXPORTS) \
11173 for flag in $(EXTRA_HOST_FLAGS) ; do \
11174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11175 done; \
11176 echo "Doing distclean in gmp" ; \
11177 (cd $(HOST_SUBDIR)/gmp && \
11178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11180 "RANLIB=$${RANLIB}" \
11181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11182 distclean) \
11183 || exit 1
11185 @endif gmp
11187 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11188 maybe-maintainer-clean-gmp:
11189 @if gmp
11190 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11192 maintainer-clean-gmp:
11193 @[ -f ./gmp/Makefile ] || exit 0; \
11194 r=`${PWD_COMMAND}`; export r; \
11195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11196 $(HOST_EXPORTS) \
11197 for flag in $(EXTRA_HOST_FLAGS) ; do \
11198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11199 done; \
11200 echo "Doing maintainer-clean in gmp" ; \
11201 (cd $(HOST_SUBDIR)/gmp && \
11202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11204 "RANLIB=$${RANLIB}" \
11205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11206 maintainer-clean) \
11207 || exit 1
11209 @endif gmp
11213 .PHONY: configure-mpfr maybe-configure-mpfr
11214 maybe-configure-mpfr:
11215 @if gcc-bootstrap
11216 configure-mpfr: stage_current
11217 @endif gcc-bootstrap
11218 @if mpfr
11219 maybe-configure-mpfr: configure-mpfr
11220 configure-mpfr:
11221 @r=`${PWD_COMMAND}`; export r; \
11222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11223 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11225 $(HOST_EXPORTS) \
11226 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11227 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11228 case $(srcdir) in \
11229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11230 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11232 esac; \
11233 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11234 libsrcdir="$$s/mpfr"; \
11235 $(SHELL) $${libsrcdir}/configure \
11236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11237 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11238 || exit 1
11239 @endif mpfr
11243 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11244 maybe-configure-stage1-mpfr:
11245 @if mpfr-bootstrap
11246 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11247 configure-stage1-mpfr:
11248 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11250 @r=`${PWD_COMMAND}`; export r; \
11251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11252 TFLAGS="$(STAGE1_TFLAGS)"; \
11253 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11254 $(HOST_EXPORTS) \
11255 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11256 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11257 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11258 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11260 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11261 case $(srcdir) in \
11262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11263 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11265 esac; \
11266 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11267 libsrcdir="$$s/mpfr"; \
11268 $(SHELL) $${libsrcdir}/configure \
11269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11270 --target=${target_alias} $${srcdiroption} \
11271 $(STAGE1_CONFIGURE_FLAGS) \
11272 --disable-shared @extra_mpfr_configure_flags@
11273 @endif mpfr-bootstrap
11275 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11276 maybe-configure-stage2-mpfr:
11277 @if mpfr-bootstrap
11278 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11279 configure-stage2-mpfr:
11280 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11282 @r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 TFLAGS="$(STAGE2_TFLAGS)"; \
11285 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11286 $(HOST_EXPORTS) \
11287 $(POSTSTAGE1_HOST_EXPORTS) \
11288 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11289 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11290 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11291 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11293 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11294 case $(srcdir) in \
11295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11296 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11298 esac; \
11299 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11300 libsrcdir="$$s/mpfr"; \
11301 $(SHELL) $${libsrcdir}/configure \
11302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11303 --target=${target_alias} $${srcdiroption} \
11304 --with-build-libsubdir=$(HOST_SUBDIR) \
11305 $(STAGE2_CONFIGURE_FLAGS) \
11306 --disable-shared @extra_mpfr_configure_flags@
11307 @endif mpfr-bootstrap
11309 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11310 maybe-configure-stage3-mpfr:
11311 @if mpfr-bootstrap
11312 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11313 configure-stage3-mpfr:
11314 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11316 @r=`${PWD_COMMAND}`; export r; \
11317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11318 TFLAGS="$(STAGE3_TFLAGS)"; \
11319 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11320 $(HOST_EXPORTS) \
11321 $(POSTSTAGE1_HOST_EXPORTS) \
11322 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11323 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11324 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11325 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11327 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11328 case $(srcdir) in \
11329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11330 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11332 esac; \
11333 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11334 libsrcdir="$$s/mpfr"; \
11335 $(SHELL) $${libsrcdir}/configure \
11336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11337 --target=${target_alias} $${srcdiroption} \
11338 --with-build-libsubdir=$(HOST_SUBDIR) \
11339 $(STAGE3_CONFIGURE_FLAGS) \
11340 --disable-shared @extra_mpfr_configure_flags@
11341 @endif mpfr-bootstrap
11343 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11344 maybe-configure-stage4-mpfr:
11345 @if mpfr-bootstrap
11346 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11347 configure-stage4-mpfr:
11348 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11350 @r=`${PWD_COMMAND}`; export r; \
11351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 TFLAGS="$(STAGE4_TFLAGS)"; \
11353 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11354 $(HOST_EXPORTS) \
11355 $(POSTSTAGE1_HOST_EXPORTS) \
11356 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11357 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11358 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11359 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11361 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11362 case $(srcdir) in \
11363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11364 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11366 esac; \
11367 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11368 libsrcdir="$$s/mpfr"; \
11369 $(SHELL) $${libsrcdir}/configure \
11370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11371 --target=${target_alias} $${srcdiroption} \
11372 --with-build-libsubdir=$(HOST_SUBDIR) \
11373 $(STAGE4_CONFIGURE_FLAGS) \
11374 --disable-shared @extra_mpfr_configure_flags@
11375 @endif mpfr-bootstrap
11377 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11378 maybe-configure-stageprofile-mpfr:
11379 @if mpfr-bootstrap
11380 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11381 configure-stageprofile-mpfr:
11382 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11384 @r=`${PWD_COMMAND}`; export r; \
11385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11386 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11387 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11388 $(HOST_EXPORTS) \
11389 $(POSTSTAGE1_HOST_EXPORTS) \
11390 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11391 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11392 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11393 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11395 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11396 case $(srcdir) in \
11397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11398 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11400 esac; \
11401 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11402 libsrcdir="$$s/mpfr"; \
11403 $(SHELL) $${libsrcdir}/configure \
11404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11405 --target=${target_alias} $${srcdiroption} \
11406 --with-build-libsubdir=$(HOST_SUBDIR) \
11407 $(STAGEprofile_CONFIGURE_FLAGS) \
11408 --disable-shared @extra_mpfr_configure_flags@
11409 @endif mpfr-bootstrap
11411 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11412 maybe-configure-stagefeedback-mpfr:
11413 @if mpfr-bootstrap
11414 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11415 configure-stagefeedback-mpfr:
11416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11417 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11418 @r=`${PWD_COMMAND}`; export r; \
11419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11420 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11421 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11422 $(HOST_EXPORTS) \
11423 $(POSTSTAGE1_HOST_EXPORTS) \
11424 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11425 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11426 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11427 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11429 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11430 case $(srcdir) in \
11431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11432 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11434 esac; \
11435 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11436 libsrcdir="$$s/mpfr"; \
11437 $(SHELL) $${libsrcdir}/configure \
11438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11439 --target=${target_alias} $${srcdiroption} \
11440 --with-build-libsubdir=$(HOST_SUBDIR) \
11441 $(STAGEfeedback_CONFIGURE_FLAGS) \
11442 --disable-shared @extra_mpfr_configure_flags@
11443 @endif mpfr-bootstrap
11449 .PHONY: all-mpfr maybe-all-mpfr
11450 maybe-all-mpfr:
11451 @if gcc-bootstrap
11452 all-mpfr: stage_current
11453 @endif gcc-bootstrap
11454 @if mpfr
11455 TARGET-mpfr=all
11456 maybe-all-mpfr: all-mpfr
11457 all-mpfr: configure-mpfr
11458 @r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 $(HOST_EXPORTS) \
11461 (cd $(HOST_SUBDIR)/mpfr && \
11462 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11463 $(TARGET-mpfr))
11464 @endif mpfr
11468 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11469 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11470 maybe-all-stage1-mpfr:
11471 maybe-clean-stage1-mpfr:
11472 @if mpfr-bootstrap
11473 maybe-all-stage1-mpfr: all-stage1-mpfr
11474 all-stage1: all-stage1-mpfr
11475 TARGET-stage1-mpfr = $(TARGET-mpfr)
11476 all-stage1-mpfr: configure-stage1-mpfr
11477 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11478 @r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 TFLAGS="$(STAGE1_TFLAGS)"; \
11481 $(HOST_EXPORTS) \
11482 cd $(HOST_SUBDIR)/mpfr && \
11483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11484 CFLAGS="$(STAGE1_CFLAGS)" \
11485 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11486 LIBCFLAGS="$(LIBCFLAGS)" \
11487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11490 $(EXTRA_HOST_FLAGS) \
11491 TFLAGS="$(STAGE1_TFLAGS)" \
11492 $(TARGET-stage1-mpfr)
11494 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11495 clean-stage1: clean-stage1-mpfr
11496 clean-stage1-mpfr:
11497 @if [ $(current_stage) = stage1 ]; then \
11498 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11499 else \
11500 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11501 $(MAKE) stage1-start; \
11502 fi; \
11503 cd $(HOST_SUBDIR)/mpfr && \
11504 $(MAKE) $(EXTRA_HOST_FLAGS) \
11505 clean
11506 @endif mpfr-bootstrap
11509 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11510 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11511 maybe-all-stage2-mpfr:
11512 maybe-clean-stage2-mpfr:
11513 @if mpfr-bootstrap
11514 maybe-all-stage2-mpfr: all-stage2-mpfr
11515 all-stage2: all-stage2-mpfr
11516 TARGET-stage2-mpfr = $(TARGET-mpfr)
11517 all-stage2-mpfr: configure-stage2-mpfr
11518 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11519 @r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11521 TFLAGS="$(STAGE2_TFLAGS)"; \
11522 $(HOST_EXPORTS) \
11523 $(POSTSTAGE1_HOST_EXPORTS) \
11524 cd $(HOST_SUBDIR)/mpfr && \
11525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11526 CFLAGS="$(STAGE2_CFLAGS)" \
11527 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11528 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11533 TFLAGS="$(STAGE2_TFLAGS)" \
11534 $(TARGET-stage2-mpfr)
11536 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11537 clean-stage2: clean-stage2-mpfr
11538 clean-stage2-mpfr:
11539 @if [ $(current_stage) = stage2 ]; then \
11540 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11541 else \
11542 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11543 $(MAKE) stage2-start; \
11544 fi; \
11545 cd $(HOST_SUBDIR)/mpfr && \
11546 $(MAKE) $(EXTRA_HOST_FLAGS) \
11547 $(POSTSTAGE1_FLAGS_TO_PASS) \
11548 clean
11549 @endif mpfr-bootstrap
11552 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11553 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11554 maybe-all-stage3-mpfr:
11555 maybe-clean-stage3-mpfr:
11556 @if mpfr-bootstrap
11557 maybe-all-stage3-mpfr: all-stage3-mpfr
11558 all-stage3: all-stage3-mpfr
11559 TARGET-stage3-mpfr = $(TARGET-mpfr)
11560 all-stage3-mpfr: configure-stage3-mpfr
11561 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11562 @r=`${PWD_COMMAND}`; export r; \
11563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11564 TFLAGS="$(STAGE3_TFLAGS)"; \
11565 $(HOST_EXPORTS) \
11566 $(POSTSTAGE1_HOST_EXPORTS) \
11567 cd $(HOST_SUBDIR)/mpfr && \
11568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11569 CFLAGS="$(STAGE3_CFLAGS)" \
11570 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11571 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11576 TFLAGS="$(STAGE3_TFLAGS)" \
11577 $(TARGET-stage3-mpfr)
11579 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11580 clean-stage3: clean-stage3-mpfr
11581 clean-stage3-mpfr:
11582 @if [ $(current_stage) = stage3 ]; then \
11583 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11584 else \
11585 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11586 $(MAKE) stage3-start; \
11587 fi; \
11588 cd $(HOST_SUBDIR)/mpfr && \
11589 $(MAKE) $(EXTRA_HOST_FLAGS) \
11590 $(POSTSTAGE1_FLAGS_TO_PASS) \
11591 clean
11592 @endif mpfr-bootstrap
11595 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11596 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11597 maybe-all-stage4-mpfr:
11598 maybe-clean-stage4-mpfr:
11599 @if mpfr-bootstrap
11600 maybe-all-stage4-mpfr: all-stage4-mpfr
11601 all-stage4: all-stage4-mpfr
11602 TARGET-stage4-mpfr = $(TARGET-mpfr)
11603 all-stage4-mpfr: configure-stage4-mpfr
11604 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 TFLAGS="$(STAGE4_TFLAGS)"; \
11608 $(HOST_EXPORTS) \
11609 $(POSTSTAGE1_HOST_EXPORTS) \
11610 cd $(HOST_SUBDIR)/mpfr && \
11611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11612 CFLAGS="$(STAGE4_CFLAGS)" \
11613 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11614 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11619 TFLAGS="$(STAGE4_TFLAGS)" \
11620 $(TARGET-stage4-mpfr)
11622 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11623 clean-stage4: clean-stage4-mpfr
11624 clean-stage4-mpfr:
11625 @if [ $(current_stage) = stage4 ]; then \
11626 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11627 else \
11628 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11629 $(MAKE) stage4-start; \
11630 fi; \
11631 cd $(HOST_SUBDIR)/mpfr && \
11632 $(MAKE) $(EXTRA_HOST_FLAGS) \
11633 $(POSTSTAGE1_FLAGS_TO_PASS) \
11634 clean
11635 @endif mpfr-bootstrap
11638 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11639 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11640 maybe-all-stageprofile-mpfr:
11641 maybe-clean-stageprofile-mpfr:
11642 @if mpfr-bootstrap
11643 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11644 all-stageprofile: all-stageprofile-mpfr
11645 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11646 all-stageprofile-mpfr: configure-stageprofile-mpfr
11647 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11648 @r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11651 $(HOST_EXPORTS) \
11652 $(POSTSTAGE1_HOST_EXPORTS) \
11653 cd $(HOST_SUBDIR)/mpfr && \
11654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11655 CFLAGS="$(STAGEprofile_CFLAGS)" \
11656 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11657 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11662 TFLAGS="$(STAGEprofile_TFLAGS)" \
11663 $(TARGET-stageprofile-mpfr)
11665 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11666 clean-stageprofile: clean-stageprofile-mpfr
11667 clean-stageprofile-mpfr:
11668 @if [ $(current_stage) = stageprofile ]; then \
11669 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11670 else \
11671 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11672 $(MAKE) stageprofile-start; \
11673 fi; \
11674 cd $(HOST_SUBDIR)/mpfr && \
11675 $(MAKE) $(EXTRA_HOST_FLAGS) \
11676 $(POSTSTAGE1_FLAGS_TO_PASS) \
11677 clean
11678 @endif mpfr-bootstrap
11681 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11682 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11683 maybe-all-stagefeedback-mpfr:
11684 maybe-clean-stagefeedback-mpfr:
11685 @if mpfr-bootstrap
11686 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11687 all-stagefeedback: all-stagefeedback-mpfr
11688 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11689 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11690 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11691 @r=`${PWD_COMMAND}`; export r; \
11692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11693 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11694 $(HOST_EXPORTS) \
11695 $(POSTSTAGE1_HOST_EXPORTS) \
11696 cd $(HOST_SUBDIR)/mpfr && \
11697 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11698 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11699 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11700 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11701 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11702 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11703 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11704 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11705 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11706 $(TARGET-stagefeedback-mpfr)
11708 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11709 clean-stagefeedback: clean-stagefeedback-mpfr
11710 clean-stagefeedback-mpfr:
11711 @if [ $(current_stage) = stagefeedback ]; then \
11712 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11713 else \
11714 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11715 $(MAKE) stagefeedback-start; \
11716 fi; \
11717 cd $(HOST_SUBDIR)/mpfr && \
11718 $(MAKE) $(EXTRA_HOST_FLAGS) \
11719 $(POSTSTAGE1_FLAGS_TO_PASS) \
11720 clean
11721 @endif mpfr-bootstrap
11727 .PHONY: check-mpfr maybe-check-mpfr
11728 maybe-check-mpfr:
11729 @if mpfr
11730 maybe-check-mpfr: check-mpfr
11732 check-mpfr:
11733 @: $(MAKE); $(unstage)
11734 @r=`${PWD_COMMAND}`; export r; \
11735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11736 $(HOST_EXPORTS) \
11737 (cd $(HOST_SUBDIR)/mpfr && \
11738 $(MAKE) $(FLAGS_TO_PASS) check)
11740 @endif mpfr
11742 .PHONY: install-mpfr maybe-install-mpfr
11743 maybe-install-mpfr:
11744 @if mpfr
11745 maybe-install-mpfr: install-mpfr
11747 install-mpfr:
11749 @endif mpfr
11751 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11752 maybe-install-strip-mpfr:
11753 @if mpfr
11754 maybe-install-strip-mpfr: install-strip-mpfr
11756 install-strip-mpfr:
11758 @endif mpfr
11760 # Other targets (info, dvi, pdf, etc.)
11762 .PHONY: maybe-info-mpfr info-mpfr
11763 maybe-info-mpfr:
11764 @if mpfr
11765 maybe-info-mpfr: info-mpfr
11767 info-mpfr: \
11768 configure-mpfr
11769 @[ -f ./mpfr/Makefile ] || exit 0; \
11770 r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11772 $(HOST_EXPORTS) \
11773 for flag in $(EXTRA_HOST_FLAGS) ; do \
11774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11775 done; \
11776 echo "Doing info in mpfr" ; \
11777 (cd $(HOST_SUBDIR)/mpfr && \
11778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11780 "RANLIB=$${RANLIB}" \
11781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11782 info) \
11783 || exit 1
11785 @endif mpfr
11787 .PHONY: maybe-dvi-mpfr dvi-mpfr
11788 maybe-dvi-mpfr:
11789 @if mpfr
11790 maybe-dvi-mpfr: dvi-mpfr
11792 dvi-mpfr: \
11793 configure-mpfr
11794 @[ -f ./mpfr/Makefile ] || exit 0; \
11795 r=`${PWD_COMMAND}`; export r; \
11796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11797 $(HOST_EXPORTS) \
11798 for flag in $(EXTRA_HOST_FLAGS) ; do \
11799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11800 done; \
11801 echo "Doing dvi in mpfr" ; \
11802 (cd $(HOST_SUBDIR)/mpfr && \
11803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11805 "RANLIB=$${RANLIB}" \
11806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11807 dvi) \
11808 || exit 1
11810 @endif mpfr
11812 .PHONY: maybe-pdf-mpfr pdf-mpfr
11813 maybe-pdf-mpfr:
11814 @if mpfr
11815 maybe-pdf-mpfr: pdf-mpfr
11817 pdf-mpfr: \
11818 configure-mpfr
11819 @[ -f ./mpfr/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(HOST_EXPORTS) \
11823 for flag in $(EXTRA_HOST_FLAGS) ; do \
11824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11825 done; \
11826 echo "Doing pdf in mpfr" ; \
11827 (cd $(HOST_SUBDIR)/mpfr && \
11828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11830 "RANLIB=$${RANLIB}" \
11831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11832 pdf) \
11833 || exit 1
11835 @endif mpfr
11837 .PHONY: maybe-html-mpfr html-mpfr
11838 maybe-html-mpfr:
11839 @if mpfr
11840 maybe-html-mpfr: html-mpfr
11842 html-mpfr: \
11843 configure-mpfr
11844 @[ -f ./mpfr/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847 $(HOST_EXPORTS) \
11848 for flag in $(EXTRA_HOST_FLAGS) ; do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850 done; \
11851 echo "Doing html in mpfr" ; \
11852 (cd $(HOST_SUBDIR)/mpfr && \
11853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855 "RANLIB=$${RANLIB}" \
11856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11857 html) \
11858 || exit 1
11860 @endif mpfr
11862 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11863 maybe-TAGS-mpfr:
11864 @if mpfr
11865 maybe-TAGS-mpfr: TAGS-mpfr
11867 TAGS-mpfr: \
11868 configure-mpfr
11869 @[ -f ./mpfr/Makefile ] || exit 0; \
11870 r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 $(HOST_EXPORTS) \
11873 for flag in $(EXTRA_HOST_FLAGS) ; do \
11874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11875 done; \
11876 echo "Doing TAGS in mpfr" ; \
11877 (cd $(HOST_SUBDIR)/mpfr && \
11878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11880 "RANLIB=$${RANLIB}" \
11881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11882 TAGS) \
11883 || exit 1
11885 @endif mpfr
11887 .PHONY: maybe-install-info-mpfr install-info-mpfr
11888 maybe-install-info-mpfr:
11889 @if mpfr
11890 maybe-install-info-mpfr: install-info-mpfr
11892 install-info-mpfr: \
11893 configure-mpfr \
11894 info-mpfr
11895 @[ -f ./mpfr/Makefile ] || exit 0; \
11896 r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 $(HOST_EXPORTS) \
11899 for flag in $(EXTRA_HOST_FLAGS) ; do \
11900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11901 done; \
11902 echo "Doing install-info in mpfr" ; \
11903 (cd $(HOST_SUBDIR)/mpfr && \
11904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11906 "RANLIB=$${RANLIB}" \
11907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11908 install-info) \
11909 || exit 1
11911 @endif mpfr
11913 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11914 maybe-install-pdf-mpfr:
11915 @if mpfr
11916 maybe-install-pdf-mpfr: install-pdf-mpfr
11918 install-pdf-mpfr: \
11919 configure-mpfr \
11920 pdf-mpfr
11921 @[ -f ./mpfr/Makefile ] || exit 0; \
11922 r=`${PWD_COMMAND}`; export r; \
11923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11924 $(HOST_EXPORTS) \
11925 for flag in $(EXTRA_HOST_FLAGS) ; do \
11926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11927 done; \
11928 echo "Doing install-pdf in mpfr" ; \
11929 (cd $(HOST_SUBDIR)/mpfr && \
11930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11932 "RANLIB=$${RANLIB}" \
11933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11934 install-pdf) \
11935 || exit 1
11937 @endif mpfr
11939 .PHONY: maybe-install-html-mpfr install-html-mpfr
11940 maybe-install-html-mpfr:
11941 @if mpfr
11942 maybe-install-html-mpfr: install-html-mpfr
11944 install-html-mpfr: \
11945 configure-mpfr \
11946 html-mpfr
11947 @[ -f ./mpfr/Makefile ] || exit 0; \
11948 r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 $(HOST_EXPORTS) \
11951 for flag in $(EXTRA_HOST_FLAGS) ; do \
11952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11953 done; \
11954 echo "Doing install-html in mpfr" ; \
11955 (cd $(HOST_SUBDIR)/mpfr && \
11956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11958 "RANLIB=$${RANLIB}" \
11959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11960 install-html) \
11961 || exit 1
11963 @endif mpfr
11965 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11966 maybe-installcheck-mpfr:
11967 @if mpfr
11968 maybe-installcheck-mpfr: installcheck-mpfr
11970 installcheck-mpfr: \
11971 configure-mpfr
11972 @[ -f ./mpfr/Makefile ] || exit 0; \
11973 r=`${PWD_COMMAND}`; export r; \
11974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11975 $(HOST_EXPORTS) \
11976 for flag in $(EXTRA_HOST_FLAGS) ; do \
11977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11978 done; \
11979 echo "Doing installcheck in mpfr" ; \
11980 (cd $(HOST_SUBDIR)/mpfr && \
11981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11983 "RANLIB=$${RANLIB}" \
11984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11985 installcheck) \
11986 || exit 1
11988 @endif mpfr
11990 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
11991 maybe-mostlyclean-mpfr:
11992 @if mpfr
11993 maybe-mostlyclean-mpfr: mostlyclean-mpfr
11995 mostlyclean-mpfr:
11996 @[ -f ./mpfr/Makefile ] || exit 0; \
11997 r=`${PWD_COMMAND}`; export r; \
11998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11999 $(HOST_EXPORTS) \
12000 for flag in $(EXTRA_HOST_FLAGS) ; do \
12001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12002 done; \
12003 echo "Doing mostlyclean in mpfr" ; \
12004 (cd $(HOST_SUBDIR)/mpfr && \
12005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12007 "RANLIB=$${RANLIB}" \
12008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12009 mostlyclean) \
12010 || exit 1
12012 @endif mpfr
12014 .PHONY: maybe-clean-mpfr clean-mpfr
12015 maybe-clean-mpfr:
12016 @if mpfr
12017 maybe-clean-mpfr: clean-mpfr
12019 clean-mpfr:
12020 @[ -f ./mpfr/Makefile ] || exit 0; \
12021 r=`${PWD_COMMAND}`; export r; \
12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12023 $(HOST_EXPORTS) \
12024 for flag in $(EXTRA_HOST_FLAGS) ; do \
12025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12026 done; \
12027 echo "Doing clean in mpfr" ; \
12028 (cd $(HOST_SUBDIR)/mpfr && \
12029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12031 "RANLIB=$${RANLIB}" \
12032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12033 clean) \
12034 || exit 1
12036 @endif mpfr
12038 .PHONY: maybe-distclean-mpfr distclean-mpfr
12039 maybe-distclean-mpfr:
12040 @if mpfr
12041 maybe-distclean-mpfr: distclean-mpfr
12043 distclean-mpfr:
12044 @[ -f ./mpfr/Makefile ] || exit 0; \
12045 r=`${PWD_COMMAND}`; export r; \
12046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12047 $(HOST_EXPORTS) \
12048 for flag in $(EXTRA_HOST_FLAGS) ; do \
12049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12050 done; \
12051 echo "Doing distclean in mpfr" ; \
12052 (cd $(HOST_SUBDIR)/mpfr && \
12053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12055 "RANLIB=$${RANLIB}" \
12056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12057 distclean) \
12058 || exit 1
12060 @endif mpfr
12062 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12063 maybe-maintainer-clean-mpfr:
12064 @if mpfr
12065 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12067 maintainer-clean-mpfr:
12068 @[ -f ./mpfr/Makefile ] || exit 0; \
12069 r=`${PWD_COMMAND}`; export r; \
12070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12071 $(HOST_EXPORTS) \
12072 for flag in $(EXTRA_HOST_FLAGS) ; do \
12073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12074 done; \
12075 echo "Doing maintainer-clean in mpfr" ; \
12076 (cd $(HOST_SUBDIR)/mpfr && \
12077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12079 "RANLIB=$${RANLIB}" \
12080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12081 maintainer-clean) \
12082 || exit 1
12084 @endif mpfr
12088 .PHONY: configure-mpc maybe-configure-mpc
12089 maybe-configure-mpc:
12090 @if gcc-bootstrap
12091 configure-mpc: stage_current
12092 @endif gcc-bootstrap
12093 @if mpc
12094 maybe-configure-mpc: configure-mpc
12095 configure-mpc:
12096 @r=`${PWD_COMMAND}`; export r; \
12097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12098 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12100 $(HOST_EXPORTS) \
12101 echo Configuring in $(HOST_SUBDIR)/mpc; \
12102 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12103 case $(srcdir) in \
12104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12105 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12107 esac; \
12108 srcdiroption="--srcdir=$${topdir}/mpc"; \
12109 libsrcdir="$$s/mpc"; \
12110 $(SHELL) $${libsrcdir}/configure \
12111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12112 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12113 || exit 1
12114 @endif mpc
12118 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12119 maybe-configure-stage1-mpc:
12120 @if mpc-bootstrap
12121 maybe-configure-stage1-mpc: configure-stage1-mpc
12122 configure-stage1-mpc:
12123 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12125 @r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 TFLAGS="$(STAGE1_TFLAGS)"; \
12128 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12129 $(HOST_EXPORTS) \
12130 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12131 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12132 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12133 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12135 cd $(HOST_SUBDIR)/mpc || exit 1; \
12136 case $(srcdir) in \
12137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12138 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12140 esac; \
12141 srcdiroption="--srcdir=$${topdir}/mpc"; \
12142 libsrcdir="$$s/mpc"; \
12143 $(SHELL) $${libsrcdir}/configure \
12144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12145 --target=${target_alias} $${srcdiroption} \
12146 $(STAGE1_CONFIGURE_FLAGS) \
12147 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12148 @endif mpc-bootstrap
12150 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12151 maybe-configure-stage2-mpc:
12152 @if mpc-bootstrap
12153 maybe-configure-stage2-mpc: configure-stage2-mpc
12154 configure-stage2-mpc:
12155 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12157 @r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 TFLAGS="$(STAGE2_TFLAGS)"; \
12160 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12161 $(HOST_EXPORTS) \
12162 $(POSTSTAGE1_HOST_EXPORTS) \
12163 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12164 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12165 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12166 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12168 cd $(HOST_SUBDIR)/mpc || exit 1; \
12169 case $(srcdir) in \
12170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12171 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12173 esac; \
12174 srcdiroption="--srcdir=$${topdir}/mpc"; \
12175 libsrcdir="$$s/mpc"; \
12176 $(SHELL) $${libsrcdir}/configure \
12177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12178 --target=${target_alias} $${srcdiroption} \
12179 --with-build-libsubdir=$(HOST_SUBDIR) \
12180 $(STAGE2_CONFIGURE_FLAGS) \
12181 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12182 @endif mpc-bootstrap
12184 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12185 maybe-configure-stage3-mpc:
12186 @if mpc-bootstrap
12187 maybe-configure-stage3-mpc: configure-stage3-mpc
12188 configure-stage3-mpc:
12189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12190 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12191 @r=`${PWD_COMMAND}`; export r; \
12192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12193 TFLAGS="$(STAGE3_TFLAGS)"; \
12194 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12195 $(HOST_EXPORTS) \
12196 $(POSTSTAGE1_HOST_EXPORTS) \
12197 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12198 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12199 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12200 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12202 cd $(HOST_SUBDIR)/mpc || exit 1; \
12203 case $(srcdir) in \
12204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12205 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12207 esac; \
12208 srcdiroption="--srcdir=$${topdir}/mpc"; \
12209 libsrcdir="$$s/mpc"; \
12210 $(SHELL) $${libsrcdir}/configure \
12211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12212 --target=${target_alias} $${srcdiroption} \
12213 --with-build-libsubdir=$(HOST_SUBDIR) \
12214 $(STAGE3_CONFIGURE_FLAGS) \
12215 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12216 @endif mpc-bootstrap
12218 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12219 maybe-configure-stage4-mpc:
12220 @if mpc-bootstrap
12221 maybe-configure-stage4-mpc: configure-stage4-mpc
12222 configure-stage4-mpc:
12223 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12225 @r=`${PWD_COMMAND}`; export r; \
12226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12227 TFLAGS="$(STAGE4_TFLAGS)"; \
12228 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12229 $(HOST_EXPORTS) \
12230 $(POSTSTAGE1_HOST_EXPORTS) \
12231 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12232 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12233 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12234 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12236 cd $(HOST_SUBDIR)/mpc || exit 1; \
12237 case $(srcdir) in \
12238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12239 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12241 esac; \
12242 srcdiroption="--srcdir=$${topdir}/mpc"; \
12243 libsrcdir="$$s/mpc"; \
12244 $(SHELL) $${libsrcdir}/configure \
12245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12246 --target=${target_alias} $${srcdiroption} \
12247 --with-build-libsubdir=$(HOST_SUBDIR) \
12248 $(STAGE4_CONFIGURE_FLAGS) \
12249 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12250 @endif mpc-bootstrap
12252 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12253 maybe-configure-stageprofile-mpc:
12254 @if mpc-bootstrap
12255 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12256 configure-stageprofile-mpc:
12257 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12259 @r=`${PWD_COMMAND}`; export r; \
12260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12261 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12262 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12263 $(HOST_EXPORTS) \
12264 $(POSTSTAGE1_HOST_EXPORTS) \
12265 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12266 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12267 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12268 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12270 cd $(HOST_SUBDIR)/mpc || exit 1; \
12271 case $(srcdir) in \
12272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12273 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12275 esac; \
12276 srcdiroption="--srcdir=$${topdir}/mpc"; \
12277 libsrcdir="$$s/mpc"; \
12278 $(SHELL) $${libsrcdir}/configure \
12279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12280 --target=${target_alias} $${srcdiroption} \
12281 --with-build-libsubdir=$(HOST_SUBDIR) \
12282 $(STAGEprofile_CONFIGURE_FLAGS) \
12283 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12284 @endif mpc-bootstrap
12286 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12287 maybe-configure-stagefeedback-mpc:
12288 @if mpc-bootstrap
12289 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12290 configure-stagefeedback-mpc:
12291 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12293 @r=`${PWD_COMMAND}`; export r; \
12294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12296 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12297 $(HOST_EXPORTS) \
12298 $(POSTSTAGE1_HOST_EXPORTS) \
12299 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12300 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12301 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12302 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12304 cd $(HOST_SUBDIR)/mpc || exit 1; \
12305 case $(srcdir) in \
12306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12307 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12309 esac; \
12310 srcdiroption="--srcdir=$${topdir}/mpc"; \
12311 libsrcdir="$$s/mpc"; \
12312 $(SHELL) $${libsrcdir}/configure \
12313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12314 --target=${target_alias} $${srcdiroption} \
12315 --with-build-libsubdir=$(HOST_SUBDIR) \
12316 $(STAGEfeedback_CONFIGURE_FLAGS) \
12317 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12318 @endif mpc-bootstrap
12324 .PHONY: all-mpc maybe-all-mpc
12325 maybe-all-mpc:
12326 @if gcc-bootstrap
12327 all-mpc: stage_current
12328 @endif gcc-bootstrap
12329 @if mpc
12330 TARGET-mpc=all
12331 maybe-all-mpc: all-mpc
12332 all-mpc: configure-mpc
12333 @r=`${PWD_COMMAND}`; export r; \
12334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12335 $(HOST_EXPORTS) \
12336 (cd $(HOST_SUBDIR)/mpc && \
12337 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12338 $(TARGET-mpc))
12339 @endif mpc
12343 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12344 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12345 maybe-all-stage1-mpc:
12346 maybe-clean-stage1-mpc:
12347 @if mpc-bootstrap
12348 maybe-all-stage1-mpc: all-stage1-mpc
12349 all-stage1: all-stage1-mpc
12350 TARGET-stage1-mpc = $(TARGET-mpc)
12351 all-stage1-mpc: configure-stage1-mpc
12352 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12353 @r=`${PWD_COMMAND}`; export r; \
12354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12355 TFLAGS="$(STAGE1_TFLAGS)"; \
12356 $(HOST_EXPORTS) \
12357 cd $(HOST_SUBDIR)/mpc && \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12359 CFLAGS="$(STAGE1_CFLAGS)" \
12360 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12361 LIBCFLAGS="$(LIBCFLAGS)" \
12362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12365 $(EXTRA_HOST_FLAGS) \
12366 TFLAGS="$(STAGE1_TFLAGS)" \
12367 $(TARGET-stage1-mpc)
12369 maybe-clean-stage1-mpc: clean-stage1-mpc
12370 clean-stage1: clean-stage1-mpc
12371 clean-stage1-mpc:
12372 @if [ $(current_stage) = stage1 ]; then \
12373 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12374 else \
12375 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12376 $(MAKE) stage1-start; \
12377 fi; \
12378 cd $(HOST_SUBDIR)/mpc && \
12379 $(MAKE) $(EXTRA_HOST_FLAGS) \
12380 clean
12381 @endif mpc-bootstrap
12384 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12385 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12386 maybe-all-stage2-mpc:
12387 maybe-clean-stage2-mpc:
12388 @if mpc-bootstrap
12389 maybe-all-stage2-mpc: all-stage2-mpc
12390 all-stage2: all-stage2-mpc
12391 TARGET-stage2-mpc = $(TARGET-mpc)
12392 all-stage2-mpc: configure-stage2-mpc
12393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12394 @r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 TFLAGS="$(STAGE2_TFLAGS)"; \
12397 $(HOST_EXPORTS) \
12398 $(POSTSTAGE1_HOST_EXPORTS) \
12399 cd $(HOST_SUBDIR)/mpc && \
12400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12401 CFLAGS="$(STAGE2_CFLAGS)" \
12402 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12403 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12408 TFLAGS="$(STAGE2_TFLAGS)" \
12409 $(TARGET-stage2-mpc)
12411 maybe-clean-stage2-mpc: clean-stage2-mpc
12412 clean-stage2: clean-stage2-mpc
12413 clean-stage2-mpc:
12414 @if [ $(current_stage) = stage2 ]; then \
12415 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12416 else \
12417 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12418 $(MAKE) stage2-start; \
12419 fi; \
12420 cd $(HOST_SUBDIR)/mpc && \
12421 $(MAKE) $(EXTRA_HOST_FLAGS) \
12422 $(POSTSTAGE1_FLAGS_TO_PASS) \
12423 clean
12424 @endif mpc-bootstrap
12427 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12428 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12429 maybe-all-stage3-mpc:
12430 maybe-clean-stage3-mpc:
12431 @if mpc-bootstrap
12432 maybe-all-stage3-mpc: all-stage3-mpc
12433 all-stage3: all-stage3-mpc
12434 TARGET-stage3-mpc = $(TARGET-mpc)
12435 all-stage3-mpc: configure-stage3-mpc
12436 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12437 @r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439 TFLAGS="$(STAGE3_TFLAGS)"; \
12440 $(HOST_EXPORTS) \
12441 $(POSTSTAGE1_HOST_EXPORTS) \
12442 cd $(HOST_SUBDIR)/mpc && \
12443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12444 CFLAGS="$(STAGE3_CFLAGS)" \
12445 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12446 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12451 TFLAGS="$(STAGE3_TFLAGS)" \
12452 $(TARGET-stage3-mpc)
12454 maybe-clean-stage3-mpc: clean-stage3-mpc
12455 clean-stage3: clean-stage3-mpc
12456 clean-stage3-mpc:
12457 @if [ $(current_stage) = stage3 ]; then \
12458 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12459 else \
12460 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12461 $(MAKE) stage3-start; \
12462 fi; \
12463 cd $(HOST_SUBDIR)/mpc && \
12464 $(MAKE) $(EXTRA_HOST_FLAGS) \
12465 $(POSTSTAGE1_FLAGS_TO_PASS) \
12466 clean
12467 @endif mpc-bootstrap
12470 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12471 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12472 maybe-all-stage4-mpc:
12473 maybe-clean-stage4-mpc:
12474 @if mpc-bootstrap
12475 maybe-all-stage4-mpc: all-stage4-mpc
12476 all-stage4: all-stage4-mpc
12477 TARGET-stage4-mpc = $(TARGET-mpc)
12478 all-stage4-mpc: configure-stage4-mpc
12479 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12480 @r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 TFLAGS="$(STAGE4_TFLAGS)"; \
12483 $(HOST_EXPORTS) \
12484 $(POSTSTAGE1_HOST_EXPORTS) \
12485 cd $(HOST_SUBDIR)/mpc && \
12486 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12487 CFLAGS="$(STAGE4_CFLAGS)" \
12488 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12489 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12494 TFLAGS="$(STAGE4_TFLAGS)" \
12495 $(TARGET-stage4-mpc)
12497 maybe-clean-stage4-mpc: clean-stage4-mpc
12498 clean-stage4: clean-stage4-mpc
12499 clean-stage4-mpc:
12500 @if [ $(current_stage) = stage4 ]; then \
12501 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12502 else \
12503 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12504 $(MAKE) stage4-start; \
12505 fi; \
12506 cd $(HOST_SUBDIR)/mpc && \
12507 $(MAKE) $(EXTRA_HOST_FLAGS) \
12508 $(POSTSTAGE1_FLAGS_TO_PASS) \
12509 clean
12510 @endif mpc-bootstrap
12513 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12514 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12515 maybe-all-stageprofile-mpc:
12516 maybe-clean-stageprofile-mpc:
12517 @if mpc-bootstrap
12518 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12519 all-stageprofile: all-stageprofile-mpc
12520 TARGET-stageprofile-mpc = $(TARGET-mpc)
12521 all-stageprofile-mpc: configure-stageprofile-mpc
12522 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12523 @r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12526 $(HOST_EXPORTS) \
12527 $(POSTSTAGE1_HOST_EXPORTS) \
12528 cd $(HOST_SUBDIR)/mpc && \
12529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12530 CFLAGS="$(STAGEprofile_CFLAGS)" \
12531 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12532 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12537 TFLAGS="$(STAGEprofile_TFLAGS)" \
12538 $(TARGET-stageprofile-mpc)
12540 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12541 clean-stageprofile: clean-stageprofile-mpc
12542 clean-stageprofile-mpc:
12543 @if [ $(current_stage) = stageprofile ]; then \
12544 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12545 else \
12546 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12547 $(MAKE) stageprofile-start; \
12548 fi; \
12549 cd $(HOST_SUBDIR)/mpc && \
12550 $(MAKE) $(EXTRA_HOST_FLAGS) \
12551 $(POSTSTAGE1_FLAGS_TO_PASS) \
12552 clean
12553 @endif mpc-bootstrap
12556 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12557 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12558 maybe-all-stagefeedback-mpc:
12559 maybe-clean-stagefeedback-mpc:
12560 @if mpc-bootstrap
12561 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12562 all-stagefeedback: all-stagefeedback-mpc
12563 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12564 all-stagefeedback-mpc: configure-stagefeedback-mpc
12565 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12566 @r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12569 $(HOST_EXPORTS) \
12570 $(POSTSTAGE1_HOST_EXPORTS) \
12571 cd $(HOST_SUBDIR)/mpc && \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12573 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12574 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12575 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12580 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12581 $(TARGET-stagefeedback-mpc)
12583 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12584 clean-stagefeedback: clean-stagefeedback-mpc
12585 clean-stagefeedback-mpc:
12586 @if [ $(current_stage) = stagefeedback ]; then \
12587 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12588 else \
12589 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12590 $(MAKE) stagefeedback-start; \
12591 fi; \
12592 cd $(HOST_SUBDIR)/mpc && \
12593 $(MAKE) $(EXTRA_HOST_FLAGS) \
12594 $(POSTSTAGE1_FLAGS_TO_PASS) \
12595 clean
12596 @endif mpc-bootstrap
12602 .PHONY: check-mpc maybe-check-mpc
12603 maybe-check-mpc:
12604 @if mpc
12605 maybe-check-mpc: check-mpc
12607 check-mpc:
12608 @: $(MAKE); $(unstage)
12609 @r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611 $(HOST_EXPORTS) \
12612 (cd $(HOST_SUBDIR)/mpc && \
12613 $(MAKE) $(FLAGS_TO_PASS) check)
12615 @endif mpc
12617 .PHONY: install-mpc maybe-install-mpc
12618 maybe-install-mpc:
12619 @if mpc
12620 maybe-install-mpc: install-mpc
12622 install-mpc:
12624 @endif mpc
12626 .PHONY: install-strip-mpc maybe-install-strip-mpc
12627 maybe-install-strip-mpc:
12628 @if mpc
12629 maybe-install-strip-mpc: install-strip-mpc
12631 install-strip-mpc:
12633 @endif mpc
12635 # Other targets (info, dvi, pdf, etc.)
12637 .PHONY: maybe-info-mpc info-mpc
12638 maybe-info-mpc:
12639 @if mpc
12640 maybe-info-mpc: info-mpc
12642 info-mpc: \
12643 configure-mpc
12644 @[ -f ./mpc/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 for flag in $(EXTRA_HOST_FLAGS) ; do \
12649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12650 done; \
12651 echo "Doing info in mpc" ; \
12652 (cd $(HOST_SUBDIR)/mpc && \
12653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12655 "RANLIB=$${RANLIB}" \
12656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12657 info) \
12658 || exit 1
12660 @endif mpc
12662 .PHONY: maybe-dvi-mpc dvi-mpc
12663 maybe-dvi-mpc:
12664 @if mpc
12665 maybe-dvi-mpc: dvi-mpc
12667 dvi-mpc: \
12668 configure-mpc
12669 @[ -f ./mpc/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(HOST_EXPORTS) \
12673 for flag in $(EXTRA_HOST_FLAGS) ; do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing dvi in mpc" ; \
12677 (cd $(HOST_SUBDIR)/mpc && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12682 dvi) \
12683 || exit 1
12685 @endif mpc
12687 .PHONY: maybe-pdf-mpc pdf-mpc
12688 maybe-pdf-mpc:
12689 @if mpc
12690 maybe-pdf-mpc: pdf-mpc
12692 pdf-mpc: \
12693 configure-mpc
12694 @[ -f ./mpc/Makefile ] || exit 0; \
12695 r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 $(HOST_EXPORTS) \
12698 for flag in $(EXTRA_HOST_FLAGS) ; do \
12699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12700 done; \
12701 echo "Doing pdf in mpc" ; \
12702 (cd $(HOST_SUBDIR)/mpc && \
12703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12705 "RANLIB=$${RANLIB}" \
12706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12707 pdf) \
12708 || exit 1
12710 @endif mpc
12712 .PHONY: maybe-html-mpc html-mpc
12713 maybe-html-mpc:
12714 @if mpc
12715 maybe-html-mpc: html-mpc
12717 html-mpc: \
12718 configure-mpc
12719 @[ -f ./mpc/Makefile ] || exit 0; \
12720 r=`${PWD_COMMAND}`; export r; \
12721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 $(HOST_EXPORTS) \
12723 for flag in $(EXTRA_HOST_FLAGS) ; do \
12724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12725 done; \
12726 echo "Doing html in mpc" ; \
12727 (cd $(HOST_SUBDIR)/mpc && \
12728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12730 "RANLIB=$${RANLIB}" \
12731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12732 html) \
12733 || exit 1
12735 @endif mpc
12737 .PHONY: maybe-TAGS-mpc TAGS-mpc
12738 maybe-TAGS-mpc:
12739 @if mpc
12740 maybe-TAGS-mpc: TAGS-mpc
12742 TAGS-mpc: \
12743 configure-mpc
12744 @[ -f ./mpc/Makefile ] || exit 0; \
12745 r=`${PWD_COMMAND}`; export r; \
12746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 $(HOST_EXPORTS) \
12748 for flag in $(EXTRA_HOST_FLAGS) ; do \
12749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 done; \
12751 echo "Doing TAGS in mpc" ; \
12752 (cd $(HOST_SUBDIR)/mpc && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12755 "RANLIB=$${RANLIB}" \
12756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12757 TAGS) \
12758 || exit 1
12760 @endif mpc
12762 .PHONY: maybe-install-info-mpc install-info-mpc
12763 maybe-install-info-mpc:
12764 @if mpc
12765 maybe-install-info-mpc: install-info-mpc
12767 install-info-mpc: \
12768 configure-mpc \
12769 info-mpc
12770 @[ -f ./mpc/Makefile ] || exit 0; \
12771 r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12773 $(HOST_EXPORTS) \
12774 for flag in $(EXTRA_HOST_FLAGS) ; do \
12775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12776 done; \
12777 echo "Doing install-info in mpc" ; \
12778 (cd $(HOST_SUBDIR)/mpc && \
12779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12781 "RANLIB=$${RANLIB}" \
12782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12783 install-info) \
12784 || exit 1
12786 @endif mpc
12788 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12789 maybe-install-pdf-mpc:
12790 @if mpc
12791 maybe-install-pdf-mpc: install-pdf-mpc
12793 install-pdf-mpc: \
12794 configure-mpc \
12795 pdf-mpc
12796 @[ -f ./mpc/Makefile ] || exit 0; \
12797 r=`${PWD_COMMAND}`; export r; \
12798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12799 $(HOST_EXPORTS) \
12800 for flag in $(EXTRA_HOST_FLAGS) ; do \
12801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12802 done; \
12803 echo "Doing install-pdf in mpc" ; \
12804 (cd $(HOST_SUBDIR)/mpc && \
12805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12807 "RANLIB=$${RANLIB}" \
12808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12809 install-pdf) \
12810 || exit 1
12812 @endif mpc
12814 .PHONY: maybe-install-html-mpc install-html-mpc
12815 maybe-install-html-mpc:
12816 @if mpc
12817 maybe-install-html-mpc: install-html-mpc
12819 install-html-mpc: \
12820 configure-mpc \
12821 html-mpc
12822 @[ -f ./mpc/Makefile ] || exit 0; \
12823 r=`${PWD_COMMAND}`; export r; \
12824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12825 $(HOST_EXPORTS) \
12826 for flag in $(EXTRA_HOST_FLAGS) ; do \
12827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12828 done; \
12829 echo "Doing install-html in mpc" ; \
12830 (cd $(HOST_SUBDIR)/mpc && \
12831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12833 "RANLIB=$${RANLIB}" \
12834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12835 install-html) \
12836 || exit 1
12838 @endif mpc
12840 .PHONY: maybe-installcheck-mpc installcheck-mpc
12841 maybe-installcheck-mpc:
12842 @if mpc
12843 maybe-installcheck-mpc: installcheck-mpc
12845 installcheck-mpc: \
12846 configure-mpc
12847 @[ -f ./mpc/Makefile ] || exit 0; \
12848 r=`${PWD_COMMAND}`; export r; \
12849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12850 $(HOST_EXPORTS) \
12851 for flag in $(EXTRA_HOST_FLAGS) ; do \
12852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12853 done; \
12854 echo "Doing installcheck in mpc" ; \
12855 (cd $(HOST_SUBDIR)/mpc && \
12856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12858 "RANLIB=$${RANLIB}" \
12859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12860 installcheck) \
12861 || exit 1
12863 @endif mpc
12865 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12866 maybe-mostlyclean-mpc:
12867 @if mpc
12868 maybe-mostlyclean-mpc: mostlyclean-mpc
12870 mostlyclean-mpc:
12871 @[ -f ./mpc/Makefile ] || exit 0; \
12872 r=`${PWD_COMMAND}`; export r; \
12873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12874 $(HOST_EXPORTS) \
12875 for flag in $(EXTRA_HOST_FLAGS) ; do \
12876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12877 done; \
12878 echo "Doing mostlyclean in mpc" ; \
12879 (cd $(HOST_SUBDIR)/mpc && \
12880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12882 "RANLIB=$${RANLIB}" \
12883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12884 mostlyclean) \
12885 || exit 1
12887 @endif mpc
12889 .PHONY: maybe-clean-mpc clean-mpc
12890 maybe-clean-mpc:
12891 @if mpc
12892 maybe-clean-mpc: clean-mpc
12894 clean-mpc:
12895 @[ -f ./mpc/Makefile ] || exit 0; \
12896 r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 for flag in $(EXTRA_HOST_FLAGS) ; do \
12900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12901 done; \
12902 echo "Doing clean in mpc" ; \
12903 (cd $(HOST_SUBDIR)/mpc && \
12904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906 "RANLIB=$${RANLIB}" \
12907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12908 clean) \
12909 || exit 1
12911 @endif mpc
12913 .PHONY: maybe-distclean-mpc distclean-mpc
12914 maybe-distclean-mpc:
12915 @if mpc
12916 maybe-distclean-mpc: distclean-mpc
12918 distclean-mpc:
12919 @[ -f ./mpc/Makefile ] || exit 0; \
12920 r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 $(HOST_EXPORTS) \
12923 for flag in $(EXTRA_HOST_FLAGS) ; do \
12924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12925 done; \
12926 echo "Doing distclean in mpc" ; \
12927 (cd $(HOST_SUBDIR)/mpc && \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930 "RANLIB=$${RANLIB}" \
12931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12932 distclean) \
12933 || exit 1
12935 @endif mpc
12937 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12938 maybe-maintainer-clean-mpc:
12939 @if mpc
12940 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12942 maintainer-clean-mpc:
12943 @[ -f ./mpc/Makefile ] || exit 0; \
12944 r=`${PWD_COMMAND}`; export r; \
12945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12946 $(HOST_EXPORTS) \
12947 for flag in $(EXTRA_HOST_FLAGS) ; do \
12948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12949 done; \
12950 echo "Doing maintainer-clean in mpc" ; \
12951 (cd $(HOST_SUBDIR)/mpc && \
12952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12954 "RANLIB=$${RANLIB}" \
12955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12956 maintainer-clean) \
12957 || exit 1
12959 @endif mpc
12963 .PHONY: configure-ppl maybe-configure-ppl
12964 maybe-configure-ppl:
12965 @if gcc-bootstrap
12966 configure-ppl: stage_current
12967 @endif gcc-bootstrap
12968 @if ppl
12969 maybe-configure-ppl: configure-ppl
12970 configure-ppl:
12971 @r=`${PWD_COMMAND}`; export r; \
12972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12973 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
12974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
12975 $(HOST_EXPORTS) \
12976 echo Configuring in $(HOST_SUBDIR)/ppl; \
12977 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
12978 case $(srcdir) in \
12979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12980 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
12981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12982 esac; \
12983 srcdiroption="--srcdir=$${topdir}/ppl"; \
12984 libsrcdir="$$s/ppl"; \
12985 $(SHELL) $${libsrcdir}/configure \
12986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12987 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
12988 || exit 1
12989 @endif ppl
12993 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
12994 maybe-configure-stage1-ppl:
12995 @if ppl-bootstrap
12996 maybe-configure-stage1-ppl: configure-stage1-ppl
12997 configure-stage1-ppl:
12998 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13000 @r=`${PWD_COMMAND}`; export r; \
13001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002 TFLAGS="$(STAGE1_TFLAGS)"; \
13003 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13004 $(HOST_EXPORTS) \
13005 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13006 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13007 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13008 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13010 cd $(HOST_SUBDIR)/ppl || exit 1; \
13011 case $(srcdir) in \
13012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13013 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13015 esac; \
13016 srcdiroption="--srcdir=$${topdir}/ppl"; \
13017 libsrcdir="$$s/ppl"; \
13018 $(SHELL) $${libsrcdir}/configure \
13019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13020 --target=${target_alias} $${srcdiroption} \
13021 $(STAGE1_CONFIGURE_FLAGS) \
13022 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13023 @endif ppl-bootstrap
13025 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13026 maybe-configure-stage2-ppl:
13027 @if ppl-bootstrap
13028 maybe-configure-stage2-ppl: configure-stage2-ppl
13029 configure-stage2-ppl:
13030 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13032 @r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13034 TFLAGS="$(STAGE2_TFLAGS)"; \
13035 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13036 $(HOST_EXPORTS) \
13037 $(POSTSTAGE1_HOST_EXPORTS) \
13038 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13039 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13040 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13041 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13043 cd $(HOST_SUBDIR)/ppl || exit 1; \
13044 case $(srcdir) in \
13045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13046 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13048 esac; \
13049 srcdiroption="--srcdir=$${topdir}/ppl"; \
13050 libsrcdir="$$s/ppl"; \
13051 $(SHELL) $${libsrcdir}/configure \
13052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13053 --target=${target_alias} $${srcdiroption} \
13054 --with-build-libsubdir=$(HOST_SUBDIR) \
13055 $(STAGE2_CONFIGURE_FLAGS) \
13056 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13057 @endif ppl-bootstrap
13059 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13060 maybe-configure-stage3-ppl:
13061 @if ppl-bootstrap
13062 maybe-configure-stage3-ppl: configure-stage3-ppl
13063 configure-stage3-ppl:
13064 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13066 @r=`${PWD_COMMAND}`; export r; \
13067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13068 TFLAGS="$(STAGE3_TFLAGS)"; \
13069 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13070 $(HOST_EXPORTS) \
13071 $(POSTSTAGE1_HOST_EXPORTS) \
13072 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13073 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13074 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13075 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13077 cd $(HOST_SUBDIR)/ppl || exit 1; \
13078 case $(srcdir) in \
13079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13080 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13082 esac; \
13083 srcdiroption="--srcdir=$${topdir}/ppl"; \
13084 libsrcdir="$$s/ppl"; \
13085 $(SHELL) $${libsrcdir}/configure \
13086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13087 --target=${target_alias} $${srcdiroption} \
13088 --with-build-libsubdir=$(HOST_SUBDIR) \
13089 $(STAGE3_CONFIGURE_FLAGS) \
13090 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13091 @endif ppl-bootstrap
13093 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13094 maybe-configure-stage4-ppl:
13095 @if ppl-bootstrap
13096 maybe-configure-stage4-ppl: configure-stage4-ppl
13097 configure-stage4-ppl:
13098 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13100 @r=`${PWD_COMMAND}`; export r; \
13101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13102 TFLAGS="$(STAGE4_TFLAGS)"; \
13103 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13104 $(HOST_EXPORTS) \
13105 $(POSTSTAGE1_HOST_EXPORTS) \
13106 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13107 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13108 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13109 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13111 cd $(HOST_SUBDIR)/ppl || exit 1; \
13112 case $(srcdir) in \
13113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13114 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13116 esac; \
13117 srcdiroption="--srcdir=$${topdir}/ppl"; \
13118 libsrcdir="$$s/ppl"; \
13119 $(SHELL) $${libsrcdir}/configure \
13120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13121 --target=${target_alias} $${srcdiroption} \
13122 --with-build-libsubdir=$(HOST_SUBDIR) \
13123 $(STAGE4_CONFIGURE_FLAGS) \
13124 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13125 @endif ppl-bootstrap
13127 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13128 maybe-configure-stageprofile-ppl:
13129 @if ppl-bootstrap
13130 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13131 configure-stageprofile-ppl:
13132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13134 @r=`${PWD_COMMAND}`; export r; \
13135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13137 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13138 $(HOST_EXPORTS) \
13139 $(POSTSTAGE1_HOST_EXPORTS) \
13140 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13142 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13143 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13145 cd $(HOST_SUBDIR)/ppl || exit 1; \
13146 case $(srcdir) in \
13147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13148 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13150 esac; \
13151 srcdiroption="--srcdir=$${topdir}/ppl"; \
13152 libsrcdir="$$s/ppl"; \
13153 $(SHELL) $${libsrcdir}/configure \
13154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13155 --target=${target_alias} $${srcdiroption} \
13156 --with-build-libsubdir=$(HOST_SUBDIR) \
13157 $(STAGEprofile_CONFIGURE_FLAGS) \
13158 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13159 @endif ppl-bootstrap
13161 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13162 maybe-configure-stagefeedback-ppl:
13163 @if ppl-bootstrap
13164 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13165 configure-stagefeedback-ppl:
13166 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13168 @r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13171 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13172 $(HOST_EXPORTS) \
13173 $(POSTSTAGE1_HOST_EXPORTS) \
13174 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13175 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13176 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13177 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13179 cd $(HOST_SUBDIR)/ppl || exit 1; \
13180 case $(srcdir) in \
13181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13182 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13184 esac; \
13185 srcdiroption="--srcdir=$${topdir}/ppl"; \
13186 libsrcdir="$$s/ppl"; \
13187 $(SHELL) $${libsrcdir}/configure \
13188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13189 --target=${target_alias} $${srcdiroption} \
13190 --with-build-libsubdir=$(HOST_SUBDIR) \
13191 $(STAGEfeedback_CONFIGURE_FLAGS) \
13192 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13193 @endif ppl-bootstrap
13199 .PHONY: all-ppl maybe-all-ppl
13200 maybe-all-ppl:
13201 @if gcc-bootstrap
13202 all-ppl: stage_current
13203 @endif gcc-bootstrap
13204 @if ppl
13205 TARGET-ppl=all
13206 maybe-all-ppl: all-ppl
13207 all-ppl: configure-ppl
13208 @r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 $(HOST_EXPORTS) \
13211 (cd $(HOST_SUBDIR)/ppl && \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13213 $(TARGET-ppl))
13214 @endif ppl
13218 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13219 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13220 maybe-all-stage1-ppl:
13221 maybe-clean-stage1-ppl:
13222 @if ppl-bootstrap
13223 maybe-all-stage1-ppl: all-stage1-ppl
13224 all-stage1: all-stage1-ppl
13225 TARGET-stage1-ppl = $(TARGET-ppl)
13226 all-stage1-ppl: configure-stage1-ppl
13227 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13228 @r=`${PWD_COMMAND}`; export r; \
13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13230 TFLAGS="$(STAGE1_TFLAGS)"; \
13231 $(HOST_EXPORTS) \
13232 cd $(HOST_SUBDIR)/ppl && \
13233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13234 CFLAGS="$(STAGE1_CFLAGS)" \
13235 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13236 LIBCFLAGS="$(LIBCFLAGS)" \
13237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13240 $(EXTRA_HOST_FLAGS) \
13241 TFLAGS="$(STAGE1_TFLAGS)" \
13242 $(TARGET-stage1-ppl)
13244 maybe-clean-stage1-ppl: clean-stage1-ppl
13245 clean-stage1: clean-stage1-ppl
13246 clean-stage1-ppl:
13247 @if [ $(current_stage) = stage1 ]; then \
13248 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13249 else \
13250 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13251 $(MAKE) stage1-start; \
13252 fi; \
13253 cd $(HOST_SUBDIR)/ppl && \
13254 $(MAKE) $(EXTRA_HOST_FLAGS) \
13255 clean
13256 @endif ppl-bootstrap
13259 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13260 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13261 maybe-all-stage2-ppl:
13262 maybe-clean-stage2-ppl:
13263 @if ppl-bootstrap
13264 maybe-all-stage2-ppl: all-stage2-ppl
13265 all-stage2: all-stage2-ppl
13266 TARGET-stage2-ppl = $(TARGET-ppl)
13267 all-stage2-ppl: configure-stage2-ppl
13268 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13269 @r=`${PWD_COMMAND}`; export r; \
13270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 TFLAGS="$(STAGE2_TFLAGS)"; \
13272 $(HOST_EXPORTS) \
13273 $(POSTSTAGE1_HOST_EXPORTS) \
13274 cd $(HOST_SUBDIR)/ppl && \
13275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13276 CFLAGS="$(STAGE2_CFLAGS)" \
13277 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13278 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13283 TFLAGS="$(STAGE2_TFLAGS)" \
13284 $(TARGET-stage2-ppl)
13286 maybe-clean-stage2-ppl: clean-stage2-ppl
13287 clean-stage2: clean-stage2-ppl
13288 clean-stage2-ppl:
13289 @if [ $(current_stage) = stage2 ]; then \
13290 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13291 else \
13292 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13293 $(MAKE) stage2-start; \
13294 fi; \
13295 cd $(HOST_SUBDIR)/ppl && \
13296 $(MAKE) $(EXTRA_HOST_FLAGS) \
13297 $(POSTSTAGE1_FLAGS_TO_PASS) \
13298 clean
13299 @endif ppl-bootstrap
13302 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13303 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13304 maybe-all-stage3-ppl:
13305 maybe-clean-stage3-ppl:
13306 @if ppl-bootstrap
13307 maybe-all-stage3-ppl: all-stage3-ppl
13308 all-stage3: all-stage3-ppl
13309 TARGET-stage3-ppl = $(TARGET-ppl)
13310 all-stage3-ppl: configure-stage3-ppl
13311 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13312 @r=`${PWD_COMMAND}`; export r; \
13313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13314 TFLAGS="$(STAGE3_TFLAGS)"; \
13315 $(HOST_EXPORTS) \
13316 $(POSTSTAGE1_HOST_EXPORTS) \
13317 cd $(HOST_SUBDIR)/ppl && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13319 CFLAGS="$(STAGE3_CFLAGS)" \
13320 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13321 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13326 TFLAGS="$(STAGE3_TFLAGS)" \
13327 $(TARGET-stage3-ppl)
13329 maybe-clean-stage3-ppl: clean-stage3-ppl
13330 clean-stage3: clean-stage3-ppl
13331 clean-stage3-ppl:
13332 @if [ $(current_stage) = stage3 ]; then \
13333 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13334 else \
13335 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13336 $(MAKE) stage3-start; \
13337 fi; \
13338 cd $(HOST_SUBDIR)/ppl && \
13339 $(MAKE) $(EXTRA_HOST_FLAGS) \
13340 $(POSTSTAGE1_FLAGS_TO_PASS) \
13341 clean
13342 @endif ppl-bootstrap
13345 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13346 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13347 maybe-all-stage4-ppl:
13348 maybe-clean-stage4-ppl:
13349 @if ppl-bootstrap
13350 maybe-all-stage4-ppl: all-stage4-ppl
13351 all-stage4: all-stage4-ppl
13352 TARGET-stage4-ppl = $(TARGET-ppl)
13353 all-stage4-ppl: configure-stage4-ppl
13354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13355 @r=`${PWD_COMMAND}`; export r; \
13356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13357 TFLAGS="$(STAGE4_TFLAGS)"; \
13358 $(HOST_EXPORTS) \
13359 $(POSTSTAGE1_HOST_EXPORTS) \
13360 cd $(HOST_SUBDIR)/ppl && \
13361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13362 CFLAGS="$(STAGE4_CFLAGS)" \
13363 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13364 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13369 TFLAGS="$(STAGE4_TFLAGS)" \
13370 $(TARGET-stage4-ppl)
13372 maybe-clean-stage4-ppl: clean-stage4-ppl
13373 clean-stage4: clean-stage4-ppl
13374 clean-stage4-ppl:
13375 @if [ $(current_stage) = stage4 ]; then \
13376 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13377 else \
13378 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13379 $(MAKE) stage4-start; \
13380 fi; \
13381 cd $(HOST_SUBDIR)/ppl && \
13382 $(MAKE) $(EXTRA_HOST_FLAGS) \
13383 $(POSTSTAGE1_FLAGS_TO_PASS) \
13384 clean
13385 @endif ppl-bootstrap
13388 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13389 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13390 maybe-all-stageprofile-ppl:
13391 maybe-clean-stageprofile-ppl:
13392 @if ppl-bootstrap
13393 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13394 all-stageprofile: all-stageprofile-ppl
13395 TARGET-stageprofile-ppl = $(TARGET-ppl)
13396 all-stageprofile-ppl: configure-stageprofile-ppl
13397 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13398 @r=`${PWD_COMMAND}`; export r; \
13399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13401 $(HOST_EXPORTS) \
13402 $(POSTSTAGE1_HOST_EXPORTS) \
13403 cd $(HOST_SUBDIR)/ppl && \
13404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13405 CFLAGS="$(STAGEprofile_CFLAGS)" \
13406 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13407 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13411 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13412 TFLAGS="$(STAGEprofile_TFLAGS)" \
13413 $(TARGET-stageprofile-ppl)
13415 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13416 clean-stageprofile: clean-stageprofile-ppl
13417 clean-stageprofile-ppl:
13418 @if [ $(current_stage) = stageprofile ]; then \
13419 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13420 else \
13421 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13422 $(MAKE) stageprofile-start; \
13423 fi; \
13424 cd $(HOST_SUBDIR)/ppl && \
13425 $(MAKE) $(EXTRA_HOST_FLAGS) \
13426 $(POSTSTAGE1_FLAGS_TO_PASS) \
13427 clean
13428 @endif ppl-bootstrap
13431 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13432 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13433 maybe-all-stagefeedback-ppl:
13434 maybe-clean-stagefeedback-ppl:
13435 @if ppl-bootstrap
13436 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13437 all-stagefeedback: all-stagefeedback-ppl
13438 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13439 all-stagefeedback-ppl: configure-stagefeedback-ppl
13440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13441 @r=`${PWD_COMMAND}`; export r; \
13442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13444 $(HOST_EXPORTS) \
13445 $(POSTSTAGE1_HOST_EXPORTS) \
13446 cd $(HOST_SUBDIR)/ppl && \
13447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13448 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13449 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13450 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13455 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13456 $(TARGET-stagefeedback-ppl)
13458 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13459 clean-stagefeedback: clean-stagefeedback-ppl
13460 clean-stagefeedback-ppl:
13461 @if [ $(current_stage) = stagefeedback ]; then \
13462 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13463 else \
13464 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13465 $(MAKE) stagefeedback-start; \
13466 fi; \
13467 cd $(HOST_SUBDIR)/ppl && \
13468 $(MAKE) $(EXTRA_HOST_FLAGS) \
13469 $(POSTSTAGE1_FLAGS_TO_PASS) \
13470 clean
13471 @endif ppl-bootstrap
13477 .PHONY: check-ppl maybe-check-ppl
13478 maybe-check-ppl:
13479 @if ppl
13480 maybe-check-ppl: check-ppl
13482 check-ppl:
13483 @: $(MAKE); $(unstage)
13484 @r=`${PWD_COMMAND}`; export r; \
13485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13486 $(HOST_EXPORTS) \
13487 (cd $(HOST_SUBDIR)/ppl && \
13488 $(MAKE) $(FLAGS_TO_PASS) check)
13490 @endif ppl
13492 .PHONY: install-ppl maybe-install-ppl
13493 maybe-install-ppl:
13494 @if ppl
13495 maybe-install-ppl: install-ppl
13497 install-ppl:
13499 @endif ppl
13501 .PHONY: install-strip-ppl maybe-install-strip-ppl
13502 maybe-install-strip-ppl:
13503 @if ppl
13504 maybe-install-strip-ppl: install-strip-ppl
13506 install-strip-ppl:
13508 @endif ppl
13510 # Other targets (info, dvi, pdf, etc.)
13512 .PHONY: maybe-info-ppl info-ppl
13513 maybe-info-ppl:
13514 @if ppl
13515 maybe-info-ppl: info-ppl
13517 info-ppl: \
13518 configure-ppl
13519 @[ -f ./ppl/Makefile ] || exit 0; \
13520 r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(HOST_EXPORTS) \
13523 for flag in $(EXTRA_HOST_FLAGS) ; do \
13524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13525 done; \
13526 echo "Doing info in ppl" ; \
13527 (cd $(HOST_SUBDIR)/ppl && \
13528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13530 "RANLIB=$${RANLIB}" \
13531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13532 info) \
13533 || exit 1
13535 @endif ppl
13537 .PHONY: maybe-dvi-ppl dvi-ppl
13538 maybe-dvi-ppl:
13539 @if ppl
13540 maybe-dvi-ppl: dvi-ppl
13542 dvi-ppl: \
13543 configure-ppl
13544 @[ -f ./ppl/Makefile ] || exit 0; \
13545 r=`${PWD_COMMAND}`; export r; \
13546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13547 $(HOST_EXPORTS) \
13548 for flag in $(EXTRA_HOST_FLAGS) ; do \
13549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13550 done; \
13551 echo "Doing dvi in ppl" ; \
13552 (cd $(HOST_SUBDIR)/ppl && \
13553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13555 "RANLIB=$${RANLIB}" \
13556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13557 dvi) \
13558 || exit 1
13560 @endif ppl
13562 .PHONY: maybe-pdf-ppl pdf-ppl
13563 maybe-pdf-ppl:
13564 @if ppl
13565 maybe-pdf-ppl: pdf-ppl
13567 pdf-ppl: \
13568 configure-ppl
13569 @[ -f ./ppl/Makefile ] || exit 0; \
13570 r=`${PWD_COMMAND}`; export r; \
13571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13572 $(HOST_EXPORTS) \
13573 for flag in $(EXTRA_HOST_FLAGS) ; do \
13574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13575 done; \
13576 echo "Doing pdf in ppl" ; \
13577 (cd $(HOST_SUBDIR)/ppl && \
13578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13580 "RANLIB=$${RANLIB}" \
13581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13582 pdf) \
13583 || exit 1
13585 @endif ppl
13587 .PHONY: maybe-html-ppl html-ppl
13588 maybe-html-ppl:
13589 @if ppl
13590 maybe-html-ppl: html-ppl
13592 html-ppl: \
13593 configure-ppl
13594 @[ -f ./ppl/Makefile ] || exit 0; \
13595 r=`${PWD_COMMAND}`; export r; \
13596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13597 $(HOST_EXPORTS) \
13598 for flag in $(EXTRA_HOST_FLAGS) ; do \
13599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13600 done; \
13601 echo "Doing html in ppl" ; \
13602 (cd $(HOST_SUBDIR)/ppl && \
13603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13605 "RANLIB=$${RANLIB}" \
13606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13607 html) \
13608 || exit 1
13610 @endif ppl
13612 .PHONY: maybe-TAGS-ppl TAGS-ppl
13613 maybe-TAGS-ppl:
13614 @if ppl
13615 maybe-TAGS-ppl: TAGS-ppl
13617 TAGS-ppl: \
13618 configure-ppl
13619 @[ -f ./ppl/Makefile ] || exit 0; \
13620 r=`${PWD_COMMAND}`; export r; \
13621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13622 $(HOST_EXPORTS) \
13623 for flag in $(EXTRA_HOST_FLAGS) ; do \
13624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13625 done; \
13626 echo "Doing TAGS in ppl" ; \
13627 (cd $(HOST_SUBDIR)/ppl && \
13628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630 "RANLIB=$${RANLIB}" \
13631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13632 TAGS) \
13633 || exit 1
13635 @endif ppl
13637 .PHONY: maybe-install-info-ppl install-info-ppl
13638 maybe-install-info-ppl:
13639 @if ppl
13640 maybe-install-info-ppl: install-info-ppl
13642 install-info-ppl: \
13643 configure-ppl \
13644 info-ppl
13645 @[ -f ./ppl/Makefile ] || exit 0; \
13646 r=`${PWD_COMMAND}`; export r; \
13647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13648 $(HOST_EXPORTS) \
13649 for flag in $(EXTRA_HOST_FLAGS) ; do \
13650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13651 done; \
13652 echo "Doing install-info in ppl" ; \
13653 (cd $(HOST_SUBDIR)/ppl && \
13654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13656 "RANLIB=$${RANLIB}" \
13657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13658 install-info) \
13659 || exit 1
13661 @endif ppl
13663 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13664 maybe-install-pdf-ppl:
13665 @if ppl
13666 maybe-install-pdf-ppl: install-pdf-ppl
13668 install-pdf-ppl: \
13669 configure-ppl \
13670 pdf-ppl
13671 @[ -f ./ppl/Makefile ] || exit 0; \
13672 r=`${PWD_COMMAND}`; export r; \
13673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13674 $(HOST_EXPORTS) \
13675 for flag in $(EXTRA_HOST_FLAGS) ; do \
13676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13677 done; \
13678 echo "Doing install-pdf in ppl" ; \
13679 (cd $(HOST_SUBDIR)/ppl && \
13680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13682 "RANLIB=$${RANLIB}" \
13683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13684 install-pdf) \
13685 || exit 1
13687 @endif ppl
13689 .PHONY: maybe-install-html-ppl install-html-ppl
13690 maybe-install-html-ppl:
13691 @if ppl
13692 maybe-install-html-ppl: install-html-ppl
13694 install-html-ppl: \
13695 configure-ppl \
13696 html-ppl
13697 @[ -f ./ppl/Makefile ] || exit 0; \
13698 r=`${PWD_COMMAND}`; export r; \
13699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13700 $(HOST_EXPORTS) \
13701 for flag in $(EXTRA_HOST_FLAGS) ; do \
13702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13703 done; \
13704 echo "Doing install-html in ppl" ; \
13705 (cd $(HOST_SUBDIR)/ppl && \
13706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13708 "RANLIB=$${RANLIB}" \
13709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13710 install-html) \
13711 || exit 1
13713 @endif ppl
13715 .PHONY: maybe-installcheck-ppl installcheck-ppl
13716 maybe-installcheck-ppl:
13717 @if ppl
13718 maybe-installcheck-ppl: installcheck-ppl
13720 installcheck-ppl: \
13721 configure-ppl
13722 @[ -f ./ppl/Makefile ] || exit 0; \
13723 r=`${PWD_COMMAND}`; export r; \
13724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13725 $(HOST_EXPORTS) \
13726 for flag in $(EXTRA_HOST_FLAGS) ; do \
13727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13728 done; \
13729 echo "Doing installcheck in ppl" ; \
13730 (cd $(HOST_SUBDIR)/ppl && \
13731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13733 "RANLIB=$${RANLIB}" \
13734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13735 installcheck) \
13736 || exit 1
13738 @endif ppl
13740 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13741 maybe-mostlyclean-ppl:
13742 @if ppl
13743 maybe-mostlyclean-ppl: mostlyclean-ppl
13745 mostlyclean-ppl:
13746 @[ -f ./ppl/Makefile ] || exit 0; \
13747 r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 $(HOST_EXPORTS) \
13750 for flag in $(EXTRA_HOST_FLAGS) ; do \
13751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13752 done; \
13753 echo "Doing mostlyclean in ppl" ; \
13754 (cd $(HOST_SUBDIR)/ppl && \
13755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13757 "RANLIB=$${RANLIB}" \
13758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13759 mostlyclean) \
13760 || exit 1
13762 @endif ppl
13764 .PHONY: maybe-clean-ppl clean-ppl
13765 maybe-clean-ppl:
13766 @if ppl
13767 maybe-clean-ppl: clean-ppl
13769 clean-ppl:
13770 @[ -f ./ppl/Makefile ] || exit 0; \
13771 r=`${PWD_COMMAND}`; export r; \
13772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13773 $(HOST_EXPORTS) \
13774 for flag in $(EXTRA_HOST_FLAGS) ; do \
13775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13776 done; \
13777 echo "Doing clean in ppl" ; \
13778 (cd $(HOST_SUBDIR)/ppl && \
13779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13781 "RANLIB=$${RANLIB}" \
13782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13783 clean) \
13784 || exit 1
13786 @endif ppl
13788 .PHONY: maybe-distclean-ppl distclean-ppl
13789 maybe-distclean-ppl:
13790 @if ppl
13791 maybe-distclean-ppl: distclean-ppl
13793 distclean-ppl:
13794 @[ -f ./ppl/Makefile ] || exit 0; \
13795 r=`${PWD_COMMAND}`; export r; \
13796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13797 $(HOST_EXPORTS) \
13798 for flag in $(EXTRA_HOST_FLAGS) ; do \
13799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13800 done; \
13801 echo "Doing distclean in ppl" ; \
13802 (cd $(HOST_SUBDIR)/ppl && \
13803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13805 "RANLIB=$${RANLIB}" \
13806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13807 distclean) \
13808 || exit 1
13810 @endif ppl
13812 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13813 maybe-maintainer-clean-ppl:
13814 @if ppl
13815 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13817 maintainer-clean-ppl:
13818 @[ -f ./ppl/Makefile ] || exit 0; \
13819 r=`${PWD_COMMAND}`; export r; \
13820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13821 $(HOST_EXPORTS) \
13822 for flag in $(EXTRA_HOST_FLAGS) ; do \
13823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13824 done; \
13825 echo "Doing maintainer-clean in ppl" ; \
13826 (cd $(HOST_SUBDIR)/ppl && \
13827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13829 "RANLIB=$${RANLIB}" \
13830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13831 maintainer-clean) \
13832 || exit 1
13834 @endif ppl
13838 .PHONY: configure-cloog maybe-configure-cloog
13839 maybe-configure-cloog:
13840 @if gcc-bootstrap
13841 configure-cloog: stage_current
13842 @endif gcc-bootstrap
13843 @if cloog
13844 maybe-configure-cloog: configure-cloog
13845 configure-cloog:
13846 @r=`${PWD_COMMAND}`; export r; \
13847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13848 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13850 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13851 echo Configuring in $(HOST_SUBDIR)/cloog; \
13852 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13853 case $(srcdir) in \
13854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13855 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13857 esac; \
13858 srcdiroption="--srcdir=$${topdir}/cloog"; \
13859 libsrcdir="$$s/cloog"; \
13860 $(SHELL) $${libsrcdir}/configure \
13861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13862 --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 \
13863 || exit 1
13864 @endif cloog
13868 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13869 maybe-configure-stage1-cloog:
13870 @if cloog-bootstrap
13871 maybe-configure-stage1-cloog: configure-stage1-cloog
13872 configure-stage1-cloog:
13873 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13875 @r=`${PWD_COMMAND}`; export r; \
13876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13877 TFLAGS="$(STAGE1_TFLAGS)"; \
13878 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13879 $(HOST_EXPORTS) \
13880 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13881 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13882 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13883 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13885 cd $(HOST_SUBDIR)/cloog || exit 1; \
13886 case $(srcdir) in \
13887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13888 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13890 esac; \
13891 srcdiroption="--srcdir=$${topdir}/cloog"; \
13892 libsrcdir="$$s/cloog"; \
13893 $(SHELL) $${libsrcdir}/configure \
13894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13895 --target=${target_alias} $${srcdiroption} \
13896 $(STAGE1_CONFIGURE_FLAGS) \
13897 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13898 @endif cloog-bootstrap
13900 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13901 maybe-configure-stage2-cloog:
13902 @if cloog-bootstrap
13903 maybe-configure-stage2-cloog: configure-stage2-cloog
13904 configure-stage2-cloog:
13905 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13907 @r=`${PWD_COMMAND}`; export r; \
13908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13909 TFLAGS="$(STAGE2_TFLAGS)"; \
13910 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13911 $(HOST_EXPORTS) \
13912 $(POSTSTAGE1_HOST_EXPORTS) \
13913 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13914 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13915 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13916 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13918 cd $(HOST_SUBDIR)/cloog || exit 1; \
13919 case $(srcdir) in \
13920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13921 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13923 esac; \
13924 srcdiroption="--srcdir=$${topdir}/cloog"; \
13925 libsrcdir="$$s/cloog"; \
13926 $(SHELL) $${libsrcdir}/configure \
13927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13928 --target=${target_alias} $${srcdiroption} \
13929 --with-build-libsubdir=$(HOST_SUBDIR) \
13930 $(STAGE2_CONFIGURE_FLAGS) \
13931 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13932 @endif cloog-bootstrap
13934 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13935 maybe-configure-stage3-cloog:
13936 @if cloog-bootstrap
13937 maybe-configure-stage3-cloog: configure-stage3-cloog
13938 configure-stage3-cloog:
13939 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13941 @r=`${PWD_COMMAND}`; export r; \
13942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13943 TFLAGS="$(STAGE3_TFLAGS)"; \
13944 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13945 $(HOST_EXPORTS) \
13946 $(POSTSTAGE1_HOST_EXPORTS) \
13947 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13948 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13949 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13950 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13952 cd $(HOST_SUBDIR)/cloog || exit 1; \
13953 case $(srcdir) in \
13954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13955 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13957 esac; \
13958 srcdiroption="--srcdir=$${topdir}/cloog"; \
13959 libsrcdir="$$s/cloog"; \
13960 $(SHELL) $${libsrcdir}/configure \
13961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13962 --target=${target_alias} $${srcdiroption} \
13963 --with-build-libsubdir=$(HOST_SUBDIR) \
13964 $(STAGE3_CONFIGURE_FLAGS) \
13965 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13966 @endif cloog-bootstrap
13968 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13969 maybe-configure-stage4-cloog:
13970 @if cloog-bootstrap
13971 maybe-configure-stage4-cloog: configure-stage4-cloog
13972 configure-stage4-cloog:
13973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13975 @r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 TFLAGS="$(STAGE4_TFLAGS)"; \
13978 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13979 $(HOST_EXPORTS) \
13980 $(POSTSTAGE1_HOST_EXPORTS) \
13981 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13982 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13983 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13984 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13986 cd $(HOST_SUBDIR)/cloog || exit 1; \
13987 case $(srcdir) in \
13988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13989 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13991 esac; \
13992 srcdiroption="--srcdir=$${topdir}/cloog"; \
13993 libsrcdir="$$s/cloog"; \
13994 $(SHELL) $${libsrcdir}/configure \
13995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13996 --target=${target_alias} $${srcdiroption} \
13997 --with-build-libsubdir=$(HOST_SUBDIR) \
13998 $(STAGE4_CONFIGURE_FLAGS) \
13999 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14000 @endif cloog-bootstrap
14002 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14003 maybe-configure-stageprofile-cloog:
14004 @if cloog-bootstrap
14005 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14006 configure-stageprofile-cloog:
14007 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14009 @r=`${PWD_COMMAND}`; export r; \
14010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14012 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14013 $(HOST_EXPORTS) \
14014 $(POSTSTAGE1_HOST_EXPORTS) \
14015 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14016 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14017 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14018 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14020 cd $(HOST_SUBDIR)/cloog || exit 1; \
14021 case $(srcdir) in \
14022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14023 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14025 esac; \
14026 srcdiroption="--srcdir=$${topdir}/cloog"; \
14027 libsrcdir="$$s/cloog"; \
14028 $(SHELL) $${libsrcdir}/configure \
14029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14030 --target=${target_alias} $${srcdiroption} \
14031 --with-build-libsubdir=$(HOST_SUBDIR) \
14032 $(STAGEprofile_CONFIGURE_FLAGS) \
14033 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14034 @endif cloog-bootstrap
14036 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14037 maybe-configure-stagefeedback-cloog:
14038 @if cloog-bootstrap
14039 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14040 configure-stagefeedback-cloog:
14041 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14043 @r=`${PWD_COMMAND}`; export r; \
14044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14045 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14046 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14047 $(HOST_EXPORTS) \
14048 $(POSTSTAGE1_HOST_EXPORTS) \
14049 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14050 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14051 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14052 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14054 cd $(HOST_SUBDIR)/cloog || exit 1; \
14055 case $(srcdir) in \
14056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14057 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14059 esac; \
14060 srcdiroption="--srcdir=$${topdir}/cloog"; \
14061 libsrcdir="$$s/cloog"; \
14062 $(SHELL) $${libsrcdir}/configure \
14063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14064 --target=${target_alias} $${srcdiroption} \
14065 --with-build-libsubdir=$(HOST_SUBDIR) \
14066 $(STAGEfeedback_CONFIGURE_FLAGS) \
14067 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14068 @endif cloog-bootstrap
14074 .PHONY: all-cloog maybe-all-cloog
14075 maybe-all-cloog:
14076 @if gcc-bootstrap
14077 all-cloog: stage_current
14078 @endif gcc-bootstrap
14079 @if cloog
14080 TARGET-cloog=all
14081 maybe-all-cloog: all-cloog
14082 all-cloog: configure-cloog
14083 @r=`${PWD_COMMAND}`; export r; \
14084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14085 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14086 (cd $(HOST_SUBDIR)/cloog && \
14087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14088 $(TARGET-cloog))
14089 @endif cloog
14093 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14094 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14095 maybe-all-stage1-cloog:
14096 maybe-clean-stage1-cloog:
14097 @if cloog-bootstrap
14098 maybe-all-stage1-cloog: all-stage1-cloog
14099 all-stage1: all-stage1-cloog
14100 TARGET-stage1-cloog = $(TARGET-cloog)
14101 all-stage1-cloog: configure-stage1-cloog
14102 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14103 @r=`${PWD_COMMAND}`; export r; \
14104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14105 TFLAGS="$(STAGE1_TFLAGS)"; \
14106 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14107 cd $(HOST_SUBDIR)/cloog && \
14108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14109 CFLAGS="$(STAGE1_CFLAGS)" \
14110 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14111 LIBCFLAGS="$(LIBCFLAGS)" \
14112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14115 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14116 TFLAGS="$(STAGE1_TFLAGS)" \
14117 $(TARGET-stage1-cloog)
14119 maybe-clean-stage1-cloog: clean-stage1-cloog
14120 clean-stage1: clean-stage1-cloog
14121 clean-stage1-cloog:
14122 @if [ $(current_stage) = stage1 ]; then \
14123 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14124 else \
14125 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14126 $(MAKE) stage1-start; \
14127 fi; \
14128 cd $(HOST_SUBDIR)/cloog && \
14129 $(MAKE) $(EXTRA_HOST_FLAGS) \
14130 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14131 @endif cloog-bootstrap
14134 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14135 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14136 maybe-all-stage2-cloog:
14137 maybe-clean-stage2-cloog:
14138 @if cloog-bootstrap
14139 maybe-all-stage2-cloog: all-stage2-cloog
14140 all-stage2: all-stage2-cloog
14141 TARGET-stage2-cloog = $(TARGET-cloog)
14142 all-stage2-cloog: configure-stage2-cloog
14143 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14144 @r=`${PWD_COMMAND}`; export r; \
14145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14146 TFLAGS="$(STAGE2_TFLAGS)"; \
14147 $(HOST_EXPORTS) \
14148 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14149 cd $(HOST_SUBDIR)/cloog && \
14150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14151 CFLAGS="$(STAGE2_CFLAGS)" \
14152 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14153 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14158 TFLAGS="$(STAGE2_TFLAGS)" \
14159 $(TARGET-stage2-cloog)
14161 maybe-clean-stage2-cloog: clean-stage2-cloog
14162 clean-stage2: clean-stage2-cloog
14163 clean-stage2-cloog:
14164 @if [ $(current_stage) = stage2 ]; then \
14165 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14166 else \
14167 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14168 $(MAKE) stage2-start; \
14169 fi; \
14170 cd $(HOST_SUBDIR)/cloog && \
14171 $(MAKE) $(EXTRA_HOST_FLAGS) \
14172 $(POSTSTAGE1_FLAGS_TO_PASS) \
14173 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14174 @endif cloog-bootstrap
14177 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14178 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14179 maybe-all-stage3-cloog:
14180 maybe-clean-stage3-cloog:
14181 @if cloog-bootstrap
14182 maybe-all-stage3-cloog: all-stage3-cloog
14183 all-stage3: all-stage3-cloog
14184 TARGET-stage3-cloog = $(TARGET-cloog)
14185 all-stage3-cloog: configure-stage3-cloog
14186 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14187 @r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 TFLAGS="$(STAGE3_TFLAGS)"; \
14190 $(HOST_EXPORTS) \
14191 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14192 cd $(HOST_SUBDIR)/cloog && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14194 CFLAGS="$(STAGE3_CFLAGS)" \
14195 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14196 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14201 TFLAGS="$(STAGE3_TFLAGS)" \
14202 $(TARGET-stage3-cloog)
14204 maybe-clean-stage3-cloog: clean-stage3-cloog
14205 clean-stage3: clean-stage3-cloog
14206 clean-stage3-cloog:
14207 @if [ $(current_stage) = stage3 ]; then \
14208 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14209 else \
14210 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14211 $(MAKE) stage3-start; \
14212 fi; \
14213 cd $(HOST_SUBDIR)/cloog && \
14214 $(MAKE) $(EXTRA_HOST_FLAGS) \
14215 $(POSTSTAGE1_FLAGS_TO_PASS) \
14216 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14217 @endif cloog-bootstrap
14220 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14221 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14222 maybe-all-stage4-cloog:
14223 maybe-clean-stage4-cloog:
14224 @if cloog-bootstrap
14225 maybe-all-stage4-cloog: all-stage4-cloog
14226 all-stage4: all-stage4-cloog
14227 TARGET-stage4-cloog = $(TARGET-cloog)
14228 all-stage4-cloog: configure-stage4-cloog
14229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14230 @r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 TFLAGS="$(STAGE4_TFLAGS)"; \
14233 $(HOST_EXPORTS) \
14234 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14235 cd $(HOST_SUBDIR)/cloog && \
14236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14237 CFLAGS="$(STAGE4_CFLAGS)" \
14238 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14239 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14243 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14244 TFLAGS="$(STAGE4_TFLAGS)" \
14245 $(TARGET-stage4-cloog)
14247 maybe-clean-stage4-cloog: clean-stage4-cloog
14248 clean-stage4: clean-stage4-cloog
14249 clean-stage4-cloog:
14250 @if [ $(current_stage) = stage4 ]; then \
14251 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14252 else \
14253 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14254 $(MAKE) stage4-start; \
14255 fi; \
14256 cd $(HOST_SUBDIR)/cloog && \
14257 $(MAKE) $(EXTRA_HOST_FLAGS) \
14258 $(POSTSTAGE1_FLAGS_TO_PASS) \
14259 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14260 @endif cloog-bootstrap
14263 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14264 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14265 maybe-all-stageprofile-cloog:
14266 maybe-clean-stageprofile-cloog:
14267 @if cloog-bootstrap
14268 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14269 all-stageprofile: all-stageprofile-cloog
14270 TARGET-stageprofile-cloog = $(TARGET-cloog)
14271 all-stageprofile-cloog: configure-stageprofile-cloog
14272 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14273 @r=`${PWD_COMMAND}`; export r; \
14274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14275 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14276 $(HOST_EXPORTS) \
14277 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14278 cd $(HOST_SUBDIR)/cloog && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14280 CFLAGS="$(STAGEprofile_CFLAGS)" \
14281 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14282 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14287 TFLAGS="$(STAGEprofile_TFLAGS)" \
14288 $(TARGET-stageprofile-cloog)
14290 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14291 clean-stageprofile: clean-stageprofile-cloog
14292 clean-stageprofile-cloog:
14293 @if [ $(current_stage) = stageprofile ]; then \
14294 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14295 else \
14296 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14297 $(MAKE) stageprofile-start; \
14298 fi; \
14299 cd $(HOST_SUBDIR)/cloog && \
14300 $(MAKE) $(EXTRA_HOST_FLAGS) \
14301 $(POSTSTAGE1_FLAGS_TO_PASS) \
14302 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14303 @endif cloog-bootstrap
14306 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14307 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14308 maybe-all-stagefeedback-cloog:
14309 maybe-clean-stagefeedback-cloog:
14310 @if cloog-bootstrap
14311 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14312 all-stagefeedback: all-stagefeedback-cloog
14313 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14314 all-stagefeedback-cloog: configure-stagefeedback-cloog
14315 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14319 $(HOST_EXPORTS) \
14320 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14321 cd $(HOST_SUBDIR)/cloog && \
14322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14323 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14324 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14325 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14329 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14330 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14331 $(TARGET-stagefeedback-cloog)
14333 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14334 clean-stagefeedback: clean-stagefeedback-cloog
14335 clean-stagefeedback-cloog:
14336 @if [ $(current_stage) = stagefeedback ]; then \
14337 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14338 else \
14339 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14340 $(MAKE) stagefeedback-start; \
14341 fi; \
14342 cd $(HOST_SUBDIR)/cloog && \
14343 $(MAKE) $(EXTRA_HOST_FLAGS) \
14344 $(POSTSTAGE1_FLAGS_TO_PASS) \
14345 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14346 @endif cloog-bootstrap
14352 .PHONY: check-cloog maybe-check-cloog
14353 maybe-check-cloog:
14354 @if cloog
14355 maybe-check-cloog: check-cloog
14357 check-cloog:
14358 @: $(MAKE); $(unstage)
14359 @r=`${PWD_COMMAND}`; export r; \
14360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 $(HOST_EXPORTS) \
14362 (cd $(HOST_SUBDIR)/cloog && \
14363 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14365 @endif cloog
14367 .PHONY: install-cloog maybe-install-cloog
14368 maybe-install-cloog:
14369 @if cloog
14370 maybe-install-cloog: install-cloog
14372 install-cloog:
14374 @endif cloog
14376 .PHONY: install-strip-cloog maybe-install-strip-cloog
14377 maybe-install-strip-cloog:
14378 @if cloog
14379 maybe-install-strip-cloog: install-strip-cloog
14381 install-strip-cloog:
14383 @endif cloog
14385 # Other targets (info, dvi, pdf, etc.)
14387 .PHONY: maybe-info-cloog info-cloog
14388 maybe-info-cloog:
14389 @if cloog
14390 maybe-info-cloog: info-cloog
14392 info-cloog: \
14393 configure-cloog
14394 @[ -f ./cloog/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing info in cloog" ; \
14402 (cd $(HOST_SUBDIR)/cloog && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14407 info) \
14408 || exit 1
14410 @endif cloog
14412 .PHONY: maybe-dvi-cloog dvi-cloog
14413 maybe-dvi-cloog:
14414 @if cloog
14415 maybe-dvi-cloog: dvi-cloog
14417 dvi-cloog: \
14418 configure-cloog
14419 @[ -f ./cloog/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing dvi in cloog" ; \
14427 (cd $(HOST_SUBDIR)/cloog && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14432 dvi) \
14433 || exit 1
14435 @endif cloog
14437 .PHONY: maybe-pdf-cloog pdf-cloog
14438 maybe-pdf-cloog:
14439 @if cloog
14440 maybe-pdf-cloog: pdf-cloog
14442 pdf-cloog: \
14443 configure-cloog
14444 @[ -f ./cloog/Makefile ] || exit 0; \
14445 r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 $(HOST_EXPORTS) \
14448 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14450 done; \
14451 echo "Doing pdf in cloog" ; \
14452 (cd $(HOST_SUBDIR)/cloog && \
14453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14455 "RANLIB=$${RANLIB}" \
14456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14457 pdf) \
14458 || exit 1
14460 @endif cloog
14462 .PHONY: maybe-html-cloog html-cloog
14463 maybe-html-cloog:
14464 @if cloog
14465 maybe-html-cloog: html-cloog
14467 html-cloog: \
14468 configure-cloog
14469 @[ -f ./cloog/Makefile ] || exit 0; \
14470 r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(HOST_EXPORTS) \
14473 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14475 done; \
14476 echo "Doing html in cloog" ; \
14477 (cd $(HOST_SUBDIR)/cloog && \
14478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14480 "RANLIB=$${RANLIB}" \
14481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14482 html) \
14483 || exit 1
14485 @endif cloog
14487 .PHONY: maybe-TAGS-cloog TAGS-cloog
14488 maybe-TAGS-cloog:
14489 @if cloog
14490 maybe-TAGS-cloog: TAGS-cloog
14492 TAGS-cloog: \
14493 configure-cloog
14494 @[ -f ./cloog/Makefile ] || exit 0; \
14495 r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing TAGS in cloog" ; \
14502 (cd $(HOST_SUBDIR)/cloog && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14507 TAGS) \
14508 || exit 1
14510 @endif cloog
14512 .PHONY: maybe-install-info-cloog install-info-cloog
14513 maybe-install-info-cloog:
14514 @if cloog
14515 maybe-install-info-cloog: install-info-cloog
14517 install-info-cloog: \
14518 configure-cloog \
14519 info-cloog
14520 @[ -f ./cloog/Makefile ] || exit 0; \
14521 r=`${PWD_COMMAND}`; export r; \
14522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14523 $(HOST_EXPORTS) \
14524 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14526 done; \
14527 echo "Doing install-info in cloog" ; \
14528 (cd $(HOST_SUBDIR)/cloog && \
14529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531 "RANLIB=$${RANLIB}" \
14532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14533 install-info) \
14534 || exit 1
14536 @endif cloog
14538 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14539 maybe-install-pdf-cloog:
14540 @if cloog
14541 maybe-install-pdf-cloog: install-pdf-cloog
14543 install-pdf-cloog: \
14544 configure-cloog \
14545 pdf-cloog
14546 @[ -f ./cloog/Makefile ] || exit 0; \
14547 r=`${PWD_COMMAND}`; export r; \
14548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14549 $(HOST_EXPORTS) \
14550 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14552 done; \
14553 echo "Doing install-pdf in cloog" ; \
14554 (cd $(HOST_SUBDIR)/cloog && \
14555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14557 "RANLIB=$${RANLIB}" \
14558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14559 install-pdf) \
14560 || exit 1
14562 @endif cloog
14564 .PHONY: maybe-install-html-cloog install-html-cloog
14565 maybe-install-html-cloog:
14566 @if cloog
14567 maybe-install-html-cloog: install-html-cloog
14569 install-html-cloog: \
14570 configure-cloog \
14571 html-cloog
14572 @[ -f ./cloog/Makefile ] || exit 0; \
14573 r=`${PWD_COMMAND}`; export r; \
14574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14575 $(HOST_EXPORTS) \
14576 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14578 done; \
14579 echo "Doing install-html in cloog" ; \
14580 (cd $(HOST_SUBDIR)/cloog && \
14581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14583 "RANLIB=$${RANLIB}" \
14584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14585 install-html) \
14586 || exit 1
14588 @endif cloog
14590 .PHONY: maybe-installcheck-cloog installcheck-cloog
14591 maybe-installcheck-cloog:
14592 @if cloog
14593 maybe-installcheck-cloog: installcheck-cloog
14595 installcheck-cloog: \
14596 configure-cloog
14597 @[ -f ./cloog/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(HOST_EXPORTS) \
14601 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14603 done; \
14604 echo "Doing installcheck in cloog" ; \
14605 (cd $(HOST_SUBDIR)/cloog && \
14606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14608 "RANLIB=$${RANLIB}" \
14609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14610 installcheck) \
14611 || exit 1
14613 @endif cloog
14615 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14616 maybe-mostlyclean-cloog:
14617 @if cloog
14618 maybe-mostlyclean-cloog: mostlyclean-cloog
14620 mostlyclean-cloog:
14621 @[ -f ./cloog/Makefile ] || exit 0; \
14622 r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing mostlyclean in cloog" ; \
14629 (cd $(HOST_SUBDIR)/cloog && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14634 mostlyclean) \
14635 || exit 1
14637 @endif cloog
14639 .PHONY: maybe-clean-cloog clean-cloog
14640 maybe-clean-cloog:
14641 @if cloog
14642 maybe-clean-cloog: clean-cloog
14644 clean-cloog:
14645 @[ -f ./cloog/Makefile ] || exit 0; \
14646 r=`${PWD_COMMAND}`; export r; \
14647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14648 $(HOST_EXPORTS) \
14649 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14651 done; \
14652 echo "Doing clean in cloog" ; \
14653 (cd $(HOST_SUBDIR)/cloog && \
14654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14656 "RANLIB=$${RANLIB}" \
14657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14658 clean) \
14659 || exit 1
14661 @endif cloog
14663 .PHONY: maybe-distclean-cloog distclean-cloog
14664 maybe-distclean-cloog:
14665 @if cloog
14666 maybe-distclean-cloog: distclean-cloog
14668 distclean-cloog:
14669 @[ -f ./cloog/Makefile ] || exit 0; \
14670 r=`${PWD_COMMAND}`; export r; \
14671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14672 $(HOST_EXPORTS) \
14673 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14675 done; \
14676 echo "Doing distclean in cloog" ; \
14677 (cd $(HOST_SUBDIR)/cloog && \
14678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14680 "RANLIB=$${RANLIB}" \
14681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14682 distclean) \
14683 || exit 1
14685 @endif cloog
14687 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14688 maybe-maintainer-clean-cloog:
14689 @if cloog
14690 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14692 maintainer-clean-cloog:
14693 @[ -f ./cloog/Makefile ] || exit 0; \
14694 r=`${PWD_COMMAND}`; export r; \
14695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14696 $(HOST_EXPORTS) \
14697 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14699 done; \
14700 echo "Doing maintainer-clean in cloog" ; \
14701 (cd $(HOST_SUBDIR)/cloog && \
14702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14704 "RANLIB=$${RANLIB}" \
14705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14706 maintainer-clean) \
14707 || exit 1
14709 @endif cloog
14713 .PHONY: configure-libelf maybe-configure-libelf
14714 maybe-configure-libelf:
14715 @if gcc-bootstrap
14716 configure-libelf: stage_current
14717 @endif gcc-bootstrap
14718 @if libelf
14719 maybe-configure-libelf: configure-libelf
14720 configure-libelf:
14721 @r=`${PWD_COMMAND}`; export r; \
14722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14725 $(HOST_EXPORTS) \
14726 echo Configuring in $(HOST_SUBDIR)/libelf; \
14727 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14728 case $(srcdir) in \
14729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14730 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14732 esac; \
14733 srcdiroption="--srcdir=$${topdir}/libelf"; \
14734 libsrcdir="$$s/libelf"; \
14735 $(SHELL) $${libsrcdir}/configure \
14736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14737 --target=${target_alias} $${srcdiroption} --disable-shared \
14738 || exit 1
14739 @endif libelf
14743 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14744 maybe-configure-stage1-libelf:
14745 @if libelf-bootstrap
14746 maybe-configure-stage1-libelf: configure-stage1-libelf
14747 configure-stage1-libelf:
14748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14750 @r=`${PWD_COMMAND}`; export r; \
14751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14752 TFLAGS="$(STAGE1_TFLAGS)"; \
14753 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14754 $(HOST_EXPORTS) \
14755 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14756 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14757 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14758 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14760 cd $(HOST_SUBDIR)/libelf || exit 1; \
14761 case $(srcdir) in \
14762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14763 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14765 esac; \
14766 srcdiroption="--srcdir=$${topdir}/libelf"; \
14767 libsrcdir="$$s/libelf"; \
14768 $(SHELL) $${libsrcdir}/configure \
14769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14770 --target=${target_alias} $${srcdiroption} \
14771 $(STAGE1_CONFIGURE_FLAGS) \
14772 --disable-shared
14773 @endif libelf-bootstrap
14775 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14776 maybe-configure-stage2-libelf:
14777 @if libelf-bootstrap
14778 maybe-configure-stage2-libelf: configure-stage2-libelf
14779 configure-stage2-libelf:
14780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14782 @r=`${PWD_COMMAND}`; export r; \
14783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14784 TFLAGS="$(STAGE2_TFLAGS)"; \
14785 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14786 $(HOST_EXPORTS) \
14787 $(POSTSTAGE1_HOST_EXPORTS) \
14788 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14789 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14790 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14791 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14793 cd $(HOST_SUBDIR)/libelf || exit 1; \
14794 case $(srcdir) in \
14795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14796 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14798 esac; \
14799 srcdiroption="--srcdir=$${topdir}/libelf"; \
14800 libsrcdir="$$s/libelf"; \
14801 $(SHELL) $${libsrcdir}/configure \
14802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14803 --target=${target_alias} $${srcdiroption} \
14804 --with-build-libsubdir=$(HOST_SUBDIR) \
14805 $(STAGE2_CONFIGURE_FLAGS) \
14806 --disable-shared
14807 @endif libelf-bootstrap
14809 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14810 maybe-configure-stage3-libelf:
14811 @if libelf-bootstrap
14812 maybe-configure-stage3-libelf: configure-stage3-libelf
14813 configure-stage3-libelf:
14814 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14815 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14816 @r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 TFLAGS="$(STAGE3_TFLAGS)"; \
14819 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14820 $(HOST_EXPORTS) \
14821 $(POSTSTAGE1_HOST_EXPORTS) \
14822 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14823 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14824 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14825 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14827 cd $(HOST_SUBDIR)/libelf || exit 1; \
14828 case $(srcdir) in \
14829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14830 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14832 esac; \
14833 srcdiroption="--srcdir=$${topdir}/libelf"; \
14834 libsrcdir="$$s/libelf"; \
14835 $(SHELL) $${libsrcdir}/configure \
14836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14837 --target=${target_alias} $${srcdiroption} \
14838 --with-build-libsubdir=$(HOST_SUBDIR) \
14839 $(STAGE3_CONFIGURE_FLAGS) \
14840 --disable-shared
14841 @endif libelf-bootstrap
14843 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14844 maybe-configure-stage4-libelf:
14845 @if libelf-bootstrap
14846 maybe-configure-stage4-libelf: configure-stage4-libelf
14847 configure-stage4-libelf:
14848 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14850 @r=`${PWD_COMMAND}`; export r; \
14851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852 TFLAGS="$(STAGE4_TFLAGS)"; \
14853 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14854 $(HOST_EXPORTS) \
14855 $(POSTSTAGE1_HOST_EXPORTS) \
14856 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14857 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14858 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14859 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14861 cd $(HOST_SUBDIR)/libelf || exit 1; \
14862 case $(srcdir) in \
14863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14864 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14866 esac; \
14867 srcdiroption="--srcdir=$${topdir}/libelf"; \
14868 libsrcdir="$$s/libelf"; \
14869 $(SHELL) $${libsrcdir}/configure \
14870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14871 --target=${target_alias} $${srcdiroption} \
14872 --with-build-libsubdir=$(HOST_SUBDIR) \
14873 $(STAGE4_CONFIGURE_FLAGS) \
14874 --disable-shared
14875 @endif libelf-bootstrap
14877 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14878 maybe-configure-stageprofile-libelf:
14879 @if libelf-bootstrap
14880 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14881 configure-stageprofile-libelf:
14882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14884 @r=`${PWD_COMMAND}`; export r; \
14885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14886 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14887 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14888 $(HOST_EXPORTS) \
14889 $(POSTSTAGE1_HOST_EXPORTS) \
14890 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14891 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14892 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14893 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14895 cd $(HOST_SUBDIR)/libelf || exit 1; \
14896 case $(srcdir) in \
14897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14898 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14900 esac; \
14901 srcdiroption="--srcdir=$${topdir}/libelf"; \
14902 libsrcdir="$$s/libelf"; \
14903 $(SHELL) $${libsrcdir}/configure \
14904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14905 --target=${target_alias} $${srcdiroption} \
14906 --with-build-libsubdir=$(HOST_SUBDIR) \
14907 $(STAGEprofile_CONFIGURE_FLAGS) \
14908 --disable-shared
14909 @endif libelf-bootstrap
14911 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14912 maybe-configure-stagefeedback-libelf:
14913 @if libelf-bootstrap
14914 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14915 configure-stagefeedback-libelf:
14916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14918 @r=`${PWD_COMMAND}`; export r; \
14919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14920 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14921 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14922 $(HOST_EXPORTS) \
14923 $(POSTSTAGE1_HOST_EXPORTS) \
14924 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14925 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14926 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14927 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14929 cd $(HOST_SUBDIR)/libelf || exit 1; \
14930 case $(srcdir) in \
14931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14932 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14934 esac; \
14935 srcdiroption="--srcdir=$${topdir}/libelf"; \
14936 libsrcdir="$$s/libelf"; \
14937 $(SHELL) $${libsrcdir}/configure \
14938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14939 --target=${target_alias} $${srcdiroption} \
14940 --with-build-libsubdir=$(HOST_SUBDIR) \
14941 $(STAGEfeedback_CONFIGURE_FLAGS) \
14942 --disable-shared
14943 @endif libelf-bootstrap
14949 .PHONY: all-libelf maybe-all-libelf
14950 maybe-all-libelf:
14951 @if gcc-bootstrap
14952 all-libelf: stage_current
14953 @endif gcc-bootstrap
14954 @if libelf
14955 TARGET-libelf=all
14956 maybe-all-libelf: all-libelf
14957 all-libelf: configure-libelf
14958 @r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960 $(HOST_EXPORTS) \
14961 (cd $(HOST_SUBDIR)/libelf && \
14962 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14963 $(TARGET-libelf))
14964 @endif libelf
14968 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14969 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14970 maybe-all-stage1-libelf:
14971 maybe-clean-stage1-libelf:
14972 @if libelf-bootstrap
14973 maybe-all-stage1-libelf: all-stage1-libelf
14974 all-stage1: all-stage1-libelf
14975 TARGET-stage1-libelf = $(TARGET-libelf)
14976 all-stage1-libelf: configure-stage1-libelf
14977 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14978 @r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 TFLAGS="$(STAGE1_TFLAGS)"; \
14981 $(HOST_EXPORTS) \
14982 cd $(HOST_SUBDIR)/libelf && \
14983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14984 CFLAGS="$(STAGE1_CFLAGS)" \
14985 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14986 LIBCFLAGS="$(LIBCFLAGS)" \
14987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14990 $(EXTRA_HOST_FLAGS) \
14991 TFLAGS="$(STAGE1_TFLAGS)" \
14992 $(TARGET-stage1-libelf)
14994 maybe-clean-stage1-libelf: clean-stage1-libelf
14995 clean-stage1: clean-stage1-libelf
14996 clean-stage1-libelf:
14997 @if [ $(current_stage) = stage1 ]; then \
14998 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14999 else \
15000 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15001 $(MAKE) stage1-start; \
15002 fi; \
15003 cd $(HOST_SUBDIR)/libelf && \
15004 $(MAKE) $(EXTRA_HOST_FLAGS) \
15005 clean
15006 @endif libelf-bootstrap
15009 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15010 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15011 maybe-all-stage2-libelf:
15012 maybe-clean-stage2-libelf:
15013 @if libelf-bootstrap
15014 maybe-all-stage2-libelf: all-stage2-libelf
15015 all-stage2: all-stage2-libelf
15016 TARGET-stage2-libelf = $(TARGET-libelf)
15017 all-stage2-libelf: configure-stage2-libelf
15018 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15019 @r=`${PWD_COMMAND}`; export r; \
15020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15021 TFLAGS="$(STAGE2_TFLAGS)"; \
15022 $(HOST_EXPORTS) \
15023 $(POSTSTAGE1_HOST_EXPORTS) \
15024 cd $(HOST_SUBDIR)/libelf && \
15025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15026 CFLAGS="$(STAGE2_CFLAGS)" \
15027 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15028 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15033 TFLAGS="$(STAGE2_TFLAGS)" \
15034 $(TARGET-stage2-libelf)
15036 maybe-clean-stage2-libelf: clean-stage2-libelf
15037 clean-stage2: clean-stage2-libelf
15038 clean-stage2-libelf:
15039 @if [ $(current_stage) = stage2 ]; then \
15040 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15041 else \
15042 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15043 $(MAKE) stage2-start; \
15044 fi; \
15045 cd $(HOST_SUBDIR)/libelf && \
15046 $(MAKE) $(EXTRA_HOST_FLAGS) \
15047 $(POSTSTAGE1_FLAGS_TO_PASS) \
15048 clean
15049 @endif libelf-bootstrap
15052 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15053 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15054 maybe-all-stage3-libelf:
15055 maybe-clean-stage3-libelf:
15056 @if libelf-bootstrap
15057 maybe-all-stage3-libelf: all-stage3-libelf
15058 all-stage3: all-stage3-libelf
15059 TARGET-stage3-libelf = $(TARGET-libelf)
15060 all-stage3-libelf: configure-stage3-libelf
15061 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15062 @r=`${PWD_COMMAND}`; export r; \
15063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15064 TFLAGS="$(STAGE3_TFLAGS)"; \
15065 $(HOST_EXPORTS) \
15066 $(POSTSTAGE1_HOST_EXPORTS) \
15067 cd $(HOST_SUBDIR)/libelf && \
15068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15069 CFLAGS="$(STAGE3_CFLAGS)" \
15070 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15071 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15076 TFLAGS="$(STAGE3_TFLAGS)" \
15077 $(TARGET-stage3-libelf)
15079 maybe-clean-stage3-libelf: clean-stage3-libelf
15080 clean-stage3: clean-stage3-libelf
15081 clean-stage3-libelf:
15082 @if [ $(current_stage) = stage3 ]; then \
15083 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15084 else \
15085 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15086 $(MAKE) stage3-start; \
15087 fi; \
15088 cd $(HOST_SUBDIR)/libelf && \
15089 $(MAKE) $(EXTRA_HOST_FLAGS) \
15090 $(POSTSTAGE1_FLAGS_TO_PASS) \
15091 clean
15092 @endif libelf-bootstrap
15095 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15096 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15097 maybe-all-stage4-libelf:
15098 maybe-clean-stage4-libelf:
15099 @if libelf-bootstrap
15100 maybe-all-stage4-libelf: all-stage4-libelf
15101 all-stage4: all-stage4-libelf
15102 TARGET-stage4-libelf = $(TARGET-libelf)
15103 all-stage4-libelf: configure-stage4-libelf
15104 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15105 @r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 TFLAGS="$(STAGE4_TFLAGS)"; \
15108 $(HOST_EXPORTS) \
15109 $(POSTSTAGE1_HOST_EXPORTS) \
15110 cd $(HOST_SUBDIR)/libelf && \
15111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15112 CFLAGS="$(STAGE4_CFLAGS)" \
15113 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15114 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15119 TFLAGS="$(STAGE4_TFLAGS)" \
15120 $(TARGET-stage4-libelf)
15122 maybe-clean-stage4-libelf: clean-stage4-libelf
15123 clean-stage4: clean-stage4-libelf
15124 clean-stage4-libelf:
15125 @if [ $(current_stage) = stage4 ]; then \
15126 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15127 else \
15128 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15129 $(MAKE) stage4-start; \
15130 fi; \
15131 cd $(HOST_SUBDIR)/libelf && \
15132 $(MAKE) $(EXTRA_HOST_FLAGS) \
15133 $(POSTSTAGE1_FLAGS_TO_PASS) \
15134 clean
15135 @endif libelf-bootstrap
15138 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15139 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15140 maybe-all-stageprofile-libelf:
15141 maybe-clean-stageprofile-libelf:
15142 @if libelf-bootstrap
15143 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15144 all-stageprofile: all-stageprofile-libelf
15145 TARGET-stageprofile-libelf = $(TARGET-libelf)
15146 all-stageprofile-libelf: configure-stageprofile-libelf
15147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15148 @r=`${PWD_COMMAND}`; export r; \
15149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15150 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15151 $(HOST_EXPORTS) \
15152 $(POSTSTAGE1_HOST_EXPORTS) \
15153 cd $(HOST_SUBDIR)/libelf && \
15154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15155 CFLAGS="$(STAGEprofile_CFLAGS)" \
15156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15157 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15162 TFLAGS="$(STAGEprofile_TFLAGS)" \
15163 $(TARGET-stageprofile-libelf)
15165 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15166 clean-stageprofile: clean-stageprofile-libelf
15167 clean-stageprofile-libelf:
15168 @if [ $(current_stage) = stageprofile ]; then \
15169 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15170 else \
15171 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15172 $(MAKE) stageprofile-start; \
15173 fi; \
15174 cd $(HOST_SUBDIR)/libelf && \
15175 $(MAKE) $(EXTRA_HOST_FLAGS) \
15176 $(POSTSTAGE1_FLAGS_TO_PASS) \
15177 clean
15178 @endif libelf-bootstrap
15181 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15182 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15183 maybe-all-stagefeedback-libelf:
15184 maybe-clean-stagefeedback-libelf:
15185 @if libelf-bootstrap
15186 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15187 all-stagefeedback: all-stagefeedback-libelf
15188 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15189 all-stagefeedback-libelf: configure-stagefeedback-libelf
15190 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15191 @r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15194 $(HOST_EXPORTS) \
15195 $(POSTSTAGE1_HOST_EXPORTS) \
15196 cd $(HOST_SUBDIR)/libelf && \
15197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15198 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15199 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15200 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15205 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15206 $(TARGET-stagefeedback-libelf)
15208 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15209 clean-stagefeedback: clean-stagefeedback-libelf
15210 clean-stagefeedback-libelf:
15211 @if [ $(current_stage) = stagefeedback ]; then \
15212 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15213 else \
15214 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15215 $(MAKE) stagefeedback-start; \
15216 fi; \
15217 cd $(HOST_SUBDIR)/libelf && \
15218 $(MAKE) $(EXTRA_HOST_FLAGS) \
15219 $(POSTSTAGE1_FLAGS_TO_PASS) \
15220 clean
15221 @endif libelf-bootstrap
15227 .PHONY: check-libelf maybe-check-libelf
15228 maybe-check-libelf:
15229 @if libelf
15230 maybe-check-libelf: check-libelf
15232 check-libelf:
15233 @: $(MAKE); $(unstage)
15234 @r=`${PWD_COMMAND}`; export r; \
15235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15236 $(HOST_EXPORTS) \
15237 (cd $(HOST_SUBDIR)/libelf && \
15238 $(MAKE) $(FLAGS_TO_PASS) check)
15240 @endif libelf
15242 .PHONY: install-libelf maybe-install-libelf
15243 maybe-install-libelf:
15244 @if libelf
15245 maybe-install-libelf: install-libelf
15247 install-libelf:
15249 @endif libelf
15251 .PHONY: install-strip-libelf maybe-install-strip-libelf
15252 maybe-install-strip-libelf:
15253 @if libelf
15254 maybe-install-strip-libelf: install-strip-libelf
15256 install-strip-libelf:
15258 @endif libelf
15260 # Other targets (info, dvi, pdf, etc.)
15262 .PHONY: maybe-info-libelf info-libelf
15263 maybe-info-libelf:
15264 @if libelf
15265 maybe-info-libelf: info-libelf
15267 info-libelf: \
15268 configure-libelf
15269 @[ -f ./libelf/Makefile ] || exit 0; \
15270 r=`${PWD_COMMAND}`; export r; \
15271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15272 $(HOST_EXPORTS) \
15273 for flag in $(EXTRA_HOST_FLAGS) ; do \
15274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15275 done; \
15276 echo "Doing info in libelf" ; \
15277 (cd $(HOST_SUBDIR)/libelf && \
15278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15280 "RANLIB=$${RANLIB}" \
15281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15282 info) \
15283 || exit 1
15285 @endif libelf
15287 .PHONY: maybe-dvi-libelf dvi-libelf
15288 maybe-dvi-libelf:
15289 @if libelf
15290 maybe-dvi-libelf: dvi-libelf
15292 dvi-libelf: \
15293 configure-libelf
15294 @[ -f ./libelf/Makefile ] || exit 0; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297 $(HOST_EXPORTS) \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 echo "Doing dvi in libelf" ; \
15302 (cd $(HOST_SUBDIR)/libelf && \
15303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15305 "RANLIB=$${RANLIB}" \
15306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15307 dvi) \
15308 || exit 1
15310 @endif libelf
15312 .PHONY: maybe-pdf-libelf pdf-libelf
15313 maybe-pdf-libelf:
15314 @if libelf
15315 maybe-pdf-libelf: pdf-libelf
15317 pdf-libelf: \
15318 configure-libelf
15319 @[ -f ./libelf/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing pdf in libelf" ; \
15327 (cd $(HOST_SUBDIR)/libelf && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15332 pdf) \
15333 || exit 1
15335 @endif libelf
15337 .PHONY: maybe-html-libelf html-libelf
15338 maybe-html-libelf:
15339 @if libelf
15340 maybe-html-libelf: html-libelf
15342 html-libelf: \
15343 configure-libelf
15344 @[ -f ./libelf/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 $(HOST_EXPORTS) \
15348 for flag in $(EXTRA_HOST_FLAGS) ; do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350 done; \
15351 echo "Doing html in libelf" ; \
15352 (cd $(HOST_SUBDIR)/libelf && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15357 html) \
15358 || exit 1
15360 @endif libelf
15362 .PHONY: maybe-TAGS-libelf TAGS-libelf
15363 maybe-TAGS-libelf:
15364 @if libelf
15365 maybe-TAGS-libelf: TAGS-libelf
15367 TAGS-libelf: \
15368 configure-libelf
15369 @[ -f ./libelf/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing TAGS in libelf" ; \
15377 (cd $(HOST_SUBDIR)/libelf && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15382 TAGS) \
15383 || exit 1
15385 @endif libelf
15387 .PHONY: maybe-install-info-libelf install-info-libelf
15388 maybe-install-info-libelf:
15389 @if libelf
15390 maybe-install-info-libelf: install-info-libelf
15392 install-info-libelf: \
15393 configure-libelf \
15394 info-libelf
15395 @[ -f ./libelf/Makefile ] || exit 0; \
15396 r=`${PWD_COMMAND}`; export r; \
15397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15398 $(HOST_EXPORTS) \
15399 for flag in $(EXTRA_HOST_FLAGS) ; do \
15400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15401 done; \
15402 echo "Doing install-info in libelf" ; \
15403 (cd $(HOST_SUBDIR)/libelf && \
15404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15406 "RANLIB=$${RANLIB}" \
15407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15408 install-info) \
15409 || exit 1
15411 @endif libelf
15413 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15414 maybe-install-pdf-libelf:
15415 @if libelf
15416 maybe-install-pdf-libelf: install-pdf-libelf
15418 install-pdf-libelf: \
15419 configure-libelf \
15420 pdf-libelf
15421 @[ -f ./libelf/Makefile ] || exit 0; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(HOST_EXPORTS) \
15425 for flag in $(EXTRA_HOST_FLAGS) ; do \
15426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15427 done; \
15428 echo "Doing install-pdf in libelf" ; \
15429 (cd $(HOST_SUBDIR)/libelf && \
15430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15432 "RANLIB=$${RANLIB}" \
15433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15434 install-pdf) \
15435 || exit 1
15437 @endif libelf
15439 .PHONY: maybe-install-html-libelf install-html-libelf
15440 maybe-install-html-libelf:
15441 @if libelf
15442 maybe-install-html-libelf: install-html-libelf
15444 install-html-libelf: \
15445 configure-libelf \
15446 html-libelf
15447 @[ -f ./libelf/Makefile ] || exit 0; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 for flag in $(EXTRA_HOST_FLAGS) ; do \
15452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15453 done; \
15454 echo "Doing install-html in libelf" ; \
15455 (cd $(HOST_SUBDIR)/libelf && \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15460 install-html) \
15461 || exit 1
15463 @endif libelf
15465 .PHONY: maybe-installcheck-libelf installcheck-libelf
15466 maybe-installcheck-libelf:
15467 @if libelf
15468 maybe-installcheck-libelf: installcheck-libelf
15470 installcheck-libelf: \
15471 configure-libelf
15472 @[ -f ./libelf/Makefile ] || exit 0; \
15473 r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 $(HOST_EXPORTS) \
15476 for flag in $(EXTRA_HOST_FLAGS) ; do \
15477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15478 done; \
15479 echo "Doing installcheck in libelf" ; \
15480 (cd $(HOST_SUBDIR)/libelf && \
15481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15483 "RANLIB=$${RANLIB}" \
15484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15485 installcheck) \
15486 || exit 1
15488 @endif libelf
15490 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15491 maybe-mostlyclean-libelf:
15492 @if libelf
15493 maybe-mostlyclean-libelf: mostlyclean-libelf
15495 mostlyclean-libelf:
15496 @[ -f ./libelf/Makefile ] || exit 0; \
15497 r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(HOST_EXPORTS) \
15500 for flag in $(EXTRA_HOST_FLAGS) ; do \
15501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15502 done; \
15503 echo "Doing mostlyclean in libelf" ; \
15504 (cd $(HOST_SUBDIR)/libelf && \
15505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15507 "RANLIB=$${RANLIB}" \
15508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15509 mostlyclean) \
15510 || exit 1
15512 @endif libelf
15514 .PHONY: maybe-clean-libelf clean-libelf
15515 maybe-clean-libelf:
15516 @if libelf
15517 maybe-clean-libelf: clean-libelf
15519 clean-libelf:
15520 @[ -f ./libelf/Makefile ] || exit 0; \
15521 r=`${PWD_COMMAND}`; export r; \
15522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15523 $(HOST_EXPORTS) \
15524 for flag in $(EXTRA_HOST_FLAGS) ; do \
15525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15526 done; \
15527 echo "Doing clean in libelf" ; \
15528 (cd $(HOST_SUBDIR)/libelf && \
15529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15531 "RANLIB=$${RANLIB}" \
15532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15533 clean) \
15534 || exit 1
15536 @endif libelf
15538 .PHONY: maybe-distclean-libelf distclean-libelf
15539 maybe-distclean-libelf:
15540 @if libelf
15541 maybe-distclean-libelf: distclean-libelf
15543 distclean-libelf:
15544 @[ -f ./libelf/Makefile ] || exit 0; \
15545 r=`${PWD_COMMAND}`; export r; \
15546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15547 $(HOST_EXPORTS) \
15548 for flag in $(EXTRA_HOST_FLAGS) ; do \
15549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15550 done; \
15551 echo "Doing distclean in libelf" ; \
15552 (cd $(HOST_SUBDIR)/libelf && \
15553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15555 "RANLIB=$${RANLIB}" \
15556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15557 distclean) \
15558 || exit 1
15560 @endif libelf
15562 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15563 maybe-maintainer-clean-libelf:
15564 @if libelf
15565 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15567 maintainer-clean-libelf:
15568 @[ -f ./libelf/Makefile ] || exit 0; \
15569 r=`${PWD_COMMAND}`; export r; \
15570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15571 $(HOST_EXPORTS) \
15572 for flag in $(EXTRA_HOST_FLAGS) ; do \
15573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15574 done; \
15575 echo "Doing maintainer-clean in libelf" ; \
15576 (cd $(HOST_SUBDIR)/libelf && \
15577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15579 "RANLIB=$${RANLIB}" \
15580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15581 maintainer-clean) \
15582 || exit 1
15584 @endif libelf
15588 .PHONY: configure-gold maybe-configure-gold
15589 maybe-configure-gold:
15590 @if gcc-bootstrap
15591 configure-gold: stage_current
15592 @endif gcc-bootstrap
15593 @if gold
15594 maybe-configure-gold: configure-gold
15595 configure-gold:
15596 @r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15600 $(HOST_EXPORTS) \
15601 echo Configuring in $(HOST_SUBDIR)/gold; \
15602 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15603 case $(srcdir) in \
15604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15605 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15607 esac; \
15608 srcdiroption="--srcdir=$${topdir}/gold"; \
15609 libsrcdir="$$s/gold"; \
15610 $(SHELL) $${libsrcdir}/configure \
15611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15612 --target=${target_alias} $${srcdiroption} \
15613 || exit 1
15614 @endif gold
15618 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15619 maybe-configure-stage1-gold:
15620 @if gold-bootstrap
15621 maybe-configure-stage1-gold: configure-stage1-gold
15622 configure-stage1-gold:
15623 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15625 @r=`${PWD_COMMAND}`; export r; \
15626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15627 TFLAGS="$(STAGE1_TFLAGS)"; \
15628 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15629 $(HOST_EXPORTS) \
15630 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15631 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15632 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15633 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15635 cd $(HOST_SUBDIR)/gold || exit 1; \
15636 case $(srcdir) in \
15637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15638 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15640 esac; \
15641 srcdiroption="--srcdir=$${topdir}/gold"; \
15642 libsrcdir="$$s/gold"; \
15643 $(SHELL) $${libsrcdir}/configure \
15644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15645 --target=${target_alias} $${srcdiroption} \
15646 $(STAGE1_CONFIGURE_FLAGS)
15647 @endif gold-bootstrap
15649 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15650 maybe-configure-stage2-gold:
15651 @if gold-bootstrap
15652 maybe-configure-stage2-gold: configure-stage2-gold
15653 configure-stage2-gold:
15654 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15656 @r=`${PWD_COMMAND}`; export r; \
15657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 TFLAGS="$(STAGE2_TFLAGS)"; \
15659 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15660 $(HOST_EXPORTS) \
15661 $(POSTSTAGE1_HOST_EXPORTS) \
15662 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15663 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15664 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15665 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15667 cd $(HOST_SUBDIR)/gold || exit 1; \
15668 case $(srcdir) in \
15669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15670 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15672 esac; \
15673 srcdiroption="--srcdir=$${topdir}/gold"; \
15674 libsrcdir="$$s/gold"; \
15675 $(SHELL) $${libsrcdir}/configure \
15676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15677 --target=${target_alias} $${srcdiroption} \
15678 --with-build-libsubdir=$(HOST_SUBDIR) \
15679 $(STAGE2_CONFIGURE_FLAGS)
15680 @endif gold-bootstrap
15682 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15683 maybe-configure-stage3-gold:
15684 @if gold-bootstrap
15685 maybe-configure-stage3-gold: configure-stage3-gold
15686 configure-stage3-gold:
15687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15689 @r=`${PWD_COMMAND}`; export r; \
15690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15691 TFLAGS="$(STAGE3_TFLAGS)"; \
15692 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15693 $(HOST_EXPORTS) \
15694 $(POSTSTAGE1_HOST_EXPORTS) \
15695 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15696 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15697 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15698 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15700 cd $(HOST_SUBDIR)/gold || exit 1; \
15701 case $(srcdir) in \
15702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15703 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15705 esac; \
15706 srcdiroption="--srcdir=$${topdir}/gold"; \
15707 libsrcdir="$$s/gold"; \
15708 $(SHELL) $${libsrcdir}/configure \
15709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15710 --target=${target_alias} $${srcdiroption} \
15711 --with-build-libsubdir=$(HOST_SUBDIR) \
15712 $(STAGE3_CONFIGURE_FLAGS)
15713 @endif gold-bootstrap
15715 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15716 maybe-configure-stage4-gold:
15717 @if gold-bootstrap
15718 maybe-configure-stage4-gold: configure-stage4-gold
15719 configure-stage4-gold:
15720 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15722 @r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 TFLAGS="$(STAGE4_TFLAGS)"; \
15725 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15726 $(HOST_EXPORTS) \
15727 $(POSTSTAGE1_HOST_EXPORTS) \
15728 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15729 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15730 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15731 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15733 cd $(HOST_SUBDIR)/gold || exit 1; \
15734 case $(srcdir) in \
15735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15736 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15738 esac; \
15739 srcdiroption="--srcdir=$${topdir}/gold"; \
15740 libsrcdir="$$s/gold"; \
15741 $(SHELL) $${libsrcdir}/configure \
15742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15743 --target=${target_alias} $${srcdiroption} \
15744 --with-build-libsubdir=$(HOST_SUBDIR) \
15745 $(STAGE4_CONFIGURE_FLAGS)
15746 @endif gold-bootstrap
15748 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15749 maybe-configure-stageprofile-gold:
15750 @if gold-bootstrap
15751 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15752 configure-stageprofile-gold:
15753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15755 @r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15758 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15759 $(HOST_EXPORTS) \
15760 $(POSTSTAGE1_HOST_EXPORTS) \
15761 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15762 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15763 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15764 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15766 cd $(HOST_SUBDIR)/gold || exit 1; \
15767 case $(srcdir) in \
15768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15769 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15771 esac; \
15772 srcdiroption="--srcdir=$${topdir}/gold"; \
15773 libsrcdir="$$s/gold"; \
15774 $(SHELL) $${libsrcdir}/configure \
15775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15776 --target=${target_alias} $${srcdiroption} \
15777 --with-build-libsubdir=$(HOST_SUBDIR) \
15778 $(STAGEprofile_CONFIGURE_FLAGS)
15779 @endif gold-bootstrap
15781 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15782 maybe-configure-stagefeedback-gold:
15783 @if gold-bootstrap
15784 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15785 configure-stagefeedback-gold:
15786 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15788 @r=`${PWD_COMMAND}`; export r; \
15789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15790 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15791 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15792 $(HOST_EXPORTS) \
15793 $(POSTSTAGE1_HOST_EXPORTS) \
15794 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15795 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15796 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15797 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15799 cd $(HOST_SUBDIR)/gold || exit 1; \
15800 case $(srcdir) in \
15801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15802 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15804 esac; \
15805 srcdiroption="--srcdir=$${topdir}/gold"; \
15806 libsrcdir="$$s/gold"; \
15807 $(SHELL) $${libsrcdir}/configure \
15808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15809 --target=${target_alias} $${srcdiroption} \
15810 --with-build-libsubdir=$(HOST_SUBDIR) \
15811 $(STAGEfeedback_CONFIGURE_FLAGS)
15812 @endif gold-bootstrap
15818 .PHONY: all-gold maybe-all-gold
15819 maybe-all-gold:
15820 @if gcc-bootstrap
15821 all-gold: stage_current
15822 @endif gcc-bootstrap
15823 @if gold
15824 TARGET-gold=all
15825 maybe-all-gold: all-gold
15826 all-gold: configure-gold
15827 @r=`${PWD_COMMAND}`; export r; \
15828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15829 $(HOST_EXPORTS) \
15830 (cd $(HOST_SUBDIR)/gold && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15832 $(TARGET-gold))
15833 @endif gold
15837 .PHONY: all-stage1-gold maybe-all-stage1-gold
15838 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15839 maybe-all-stage1-gold:
15840 maybe-clean-stage1-gold:
15841 @if gold-bootstrap
15842 maybe-all-stage1-gold: all-stage1-gold
15843 all-stage1: all-stage1-gold
15844 TARGET-stage1-gold = $(TARGET-gold)
15845 all-stage1-gold: configure-stage1-gold
15846 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15847 @r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 TFLAGS="$(STAGE1_TFLAGS)"; \
15850 $(HOST_EXPORTS) \
15851 cd $(HOST_SUBDIR)/gold && \
15852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15853 CFLAGS="$(STAGE1_CFLAGS)" \
15854 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15855 LIBCFLAGS="$(LIBCFLAGS)" \
15856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15859 $(EXTRA_HOST_FLAGS) \
15860 TFLAGS="$(STAGE1_TFLAGS)" \
15861 $(TARGET-stage1-gold)
15863 maybe-clean-stage1-gold: clean-stage1-gold
15864 clean-stage1: clean-stage1-gold
15865 clean-stage1-gold:
15866 @if [ $(current_stage) = stage1 ]; then \
15867 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15868 else \
15869 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15870 $(MAKE) stage1-start; \
15871 fi; \
15872 cd $(HOST_SUBDIR)/gold && \
15873 $(MAKE) $(EXTRA_HOST_FLAGS) \
15874 clean
15875 @endif gold-bootstrap
15878 .PHONY: all-stage2-gold maybe-all-stage2-gold
15879 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15880 maybe-all-stage2-gold:
15881 maybe-clean-stage2-gold:
15882 @if gold-bootstrap
15883 maybe-all-stage2-gold: all-stage2-gold
15884 all-stage2: all-stage2-gold
15885 TARGET-stage2-gold = $(TARGET-gold)
15886 all-stage2-gold: configure-stage2-gold
15887 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15888 @r=`${PWD_COMMAND}`; export r; \
15889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15890 TFLAGS="$(STAGE2_TFLAGS)"; \
15891 $(HOST_EXPORTS) \
15892 $(POSTSTAGE1_HOST_EXPORTS) \
15893 cd $(HOST_SUBDIR)/gold && \
15894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15895 CFLAGS="$(STAGE2_CFLAGS)" \
15896 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15897 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15902 TFLAGS="$(STAGE2_TFLAGS)" \
15903 $(TARGET-stage2-gold)
15905 maybe-clean-stage2-gold: clean-stage2-gold
15906 clean-stage2: clean-stage2-gold
15907 clean-stage2-gold:
15908 @if [ $(current_stage) = stage2 ]; then \
15909 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15910 else \
15911 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15912 $(MAKE) stage2-start; \
15913 fi; \
15914 cd $(HOST_SUBDIR)/gold && \
15915 $(MAKE) $(EXTRA_HOST_FLAGS) \
15916 $(POSTSTAGE1_FLAGS_TO_PASS) \
15917 clean
15918 @endif gold-bootstrap
15921 .PHONY: all-stage3-gold maybe-all-stage3-gold
15922 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15923 maybe-all-stage3-gold:
15924 maybe-clean-stage3-gold:
15925 @if gold-bootstrap
15926 maybe-all-stage3-gold: all-stage3-gold
15927 all-stage3: all-stage3-gold
15928 TARGET-stage3-gold = $(TARGET-gold)
15929 all-stage3-gold: configure-stage3-gold
15930 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15931 @r=`${PWD_COMMAND}`; export r; \
15932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15933 TFLAGS="$(STAGE3_TFLAGS)"; \
15934 $(HOST_EXPORTS) \
15935 $(POSTSTAGE1_HOST_EXPORTS) \
15936 cd $(HOST_SUBDIR)/gold && \
15937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15938 CFLAGS="$(STAGE3_CFLAGS)" \
15939 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15940 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15945 TFLAGS="$(STAGE3_TFLAGS)" \
15946 $(TARGET-stage3-gold)
15948 maybe-clean-stage3-gold: clean-stage3-gold
15949 clean-stage3: clean-stage3-gold
15950 clean-stage3-gold:
15951 @if [ $(current_stage) = stage3 ]; then \
15952 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15953 else \
15954 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15955 $(MAKE) stage3-start; \
15956 fi; \
15957 cd $(HOST_SUBDIR)/gold && \
15958 $(MAKE) $(EXTRA_HOST_FLAGS) \
15959 $(POSTSTAGE1_FLAGS_TO_PASS) \
15960 clean
15961 @endif gold-bootstrap
15964 .PHONY: all-stage4-gold maybe-all-stage4-gold
15965 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15966 maybe-all-stage4-gold:
15967 maybe-clean-stage4-gold:
15968 @if gold-bootstrap
15969 maybe-all-stage4-gold: all-stage4-gold
15970 all-stage4: all-stage4-gold
15971 TARGET-stage4-gold = $(TARGET-gold)
15972 all-stage4-gold: configure-stage4-gold
15973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15974 @r=`${PWD_COMMAND}`; export r; \
15975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15976 TFLAGS="$(STAGE4_TFLAGS)"; \
15977 $(HOST_EXPORTS) \
15978 $(POSTSTAGE1_HOST_EXPORTS) \
15979 cd $(HOST_SUBDIR)/gold && \
15980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15981 CFLAGS="$(STAGE4_CFLAGS)" \
15982 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15983 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15988 TFLAGS="$(STAGE4_TFLAGS)" \
15989 $(TARGET-stage4-gold)
15991 maybe-clean-stage4-gold: clean-stage4-gold
15992 clean-stage4: clean-stage4-gold
15993 clean-stage4-gold:
15994 @if [ $(current_stage) = stage4 ]; then \
15995 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15996 else \
15997 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15998 $(MAKE) stage4-start; \
15999 fi; \
16000 cd $(HOST_SUBDIR)/gold && \
16001 $(MAKE) $(EXTRA_HOST_FLAGS) \
16002 $(POSTSTAGE1_FLAGS_TO_PASS) \
16003 clean
16004 @endif gold-bootstrap
16007 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16008 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16009 maybe-all-stageprofile-gold:
16010 maybe-clean-stageprofile-gold:
16011 @if gold-bootstrap
16012 maybe-all-stageprofile-gold: all-stageprofile-gold
16013 all-stageprofile: all-stageprofile-gold
16014 TARGET-stageprofile-gold = $(TARGET-gold)
16015 all-stageprofile-gold: configure-stageprofile-gold
16016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16017 @r=`${PWD_COMMAND}`; export r; \
16018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16019 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16020 $(HOST_EXPORTS) \
16021 $(POSTSTAGE1_HOST_EXPORTS) \
16022 cd $(HOST_SUBDIR)/gold && \
16023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16024 CFLAGS="$(STAGEprofile_CFLAGS)" \
16025 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16026 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16031 TFLAGS="$(STAGEprofile_TFLAGS)" \
16032 $(TARGET-stageprofile-gold)
16034 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16035 clean-stageprofile: clean-stageprofile-gold
16036 clean-stageprofile-gold:
16037 @if [ $(current_stage) = stageprofile ]; then \
16038 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16039 else \
16040 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16041 $(MAKE) stageprofile-start; \
16042 fi; \
16043 cd $(HOST_SUBDIR)/gold && \
16044 $(MAKE) $(EXTRA_HOST_FLAGS) \
16045 $(POSTSTAGE1_FLAGS_TO_PASS) \
16046 clean
16047 @endif gold-bootstrap
16050 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16051 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16052 maybe-all-stagefeedback-gold:
16053 maybe-clean-stagefeedback-gold:
16054 @if gold-bootstrap
16055 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16056 all-stagefeedback: all-stagefeedback-gold
16057 TARGET-stagefeedback-gold = $(TARGET-gold)
16058 all-stagefeedback-gold: configure-stagefeedback-gold
16059 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16060 @r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16063 $(HOST_EXPORTS) \
16064 $(POSTSTAGE1_HOST_EXPORTS) \
16065 cd $(HOST_SUBDIR)/gold && \
16066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16067 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16068 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16069 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16074 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16075 $(TARGET-stagefeedback-gold)
16077 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16078 clean-stagefeedback: clean-stagefeedback-gold
16079 clean-stagefeedback-gold:
16080 @if [ $(current_stage) = stagefeedback ]; then \
16081 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16082 else \
16083 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16084 $(MAKE) stagefeedback-start; \
16085 fi; \
16086 cd $(HOST_SUBDIR)/gold && \
16087 $(MAKE) $(EXTRA_HOST_FLAGS) \
16088 $(POSTSTAGE1_FLAGS_TO_PASS) \
16089 clean
16090 @endif gold-bootstrap
16096 .PHONY: check-gold maybe-check-gold
16097 maybe-check-gold:
16098 @if gold
16099 maybe-check-gold: check-gold
16101 check-gold:
16102 @: $(MAKE); $(unstage)
16103 @r=`${PWD_COMMAND}`; export r; \
16104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16105 $(HOST_EXPORTS) \
16106 (cd $(HOST_SUBDIR)/gold && \
16107 $(MAKE) $(FLAGS_TO_PASS) check)
16109 @endif gold
16111 .PHONY: install-gold maybe-install-gold
16112 maybe-install-gold:
16113 @if gold
16114 maybe-install-gold: install-gold
16116 install-gold: installdirs
16117 @: $(MAKE); $(unstage)
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120 $(HOST_EXPORTS) \
16121 (cd $(HOST_SUBDIR)/gold && \
16122 $(MAKE) $(FLAGS_TO_PASS) install)
16124 @endif gold
16126 .PHONY: install-strip-gold maybe-install-strip-gold
16127 maybe-install-strip-gold:
16128 @if gold
16129 maybe-install-strip-gold: install-strip-gold
16131 install-strip-gold: installdirs
16132 @: $(MAKE); $(unstage)
16133 @r=`${PWD_COMMAND}`; export r; \
16134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 $(HOST_EXPORTS) \
16136 (cd $(HOST_SUBDIR)/gold && \
16137 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16139 @endif gold
16141 # Other targets (info, dvi, pdf, etc.)
16143 .PHONY: maybe-info-gold info-gold
16144 maybe-info-gold:
16145 @if gold
16146 maybe-info-gold: info-gold
16148 info-gold: \
16149 configure-gold
16150 @[ -f ./gold/Makefile ] || exit 0; \
16151 r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 $(HOST_EXPORTS) \
16154 for flag in $(EXTRA_HOST_FLAGS) ; do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16156 done; \
16157 echo "Doing info in gold" ; \
16158 (cd $(HOST_SUBDIR)/gold && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16163 info) \
16164 || exit 1
16166 @endif gold
16168 .PHONY: maybe-dvi-gold dvi-gold
16169 maybe-dvi-gold:
16170 @if gold
16171 maybe-dvi-gold: dvi-gold
16173 dvi-gold: \
16174 configure-gold
16175 @[ -f ./gold/Makefile ] || exit 0; \
16176 r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178 $(HOST_EXPORTS) \
16179 for flag in $(EXTRA_HOST_FLAGS) ; do \
16180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16181 done; \
16182 echo "Doing dvi in gold" ; \
16183 (cd $(HOST_SUBDIR)/gold && \
16184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16186 "RANLIB=$${RANLIB}" \
16187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16188 dvi) \
16189 || exit 1
16191 @endif gold
16193 .PHONY: maybe-pdf-gold pdf-gold
16194 maybe-pdf-gold:
16195 @if gold
16196 maybe-pdf-gold: pdf-gold
16198 pdf-gold: \
16199 configure-gold
16200 @[ -f ./gold/Makefile ] || exit 0; \
16201 r=`${PWD_COMMAND}`; export r; \
16202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16203 $(HOST_EXPORTS) \
16204 for flag in $(EXTRA_HOST_FLAGS) ; do \
16205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16206 done; \
16207 echo "Doing pdf in gold" ; \
16208 (cd $(HOST_SUBDIR)/gold && \
16209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16211 "RANLIB=$${RANLIB}" \
16212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16213 pdf) \
16214 || exit 1
16216 @endif gold
16218 .PHONY: maybe-html-gold html-gold
16219 maybe-html-gold:
16220 @if gold
16221 maybe-html-gold: html-gold
16223 html-gold: \
16224 configure-gold
16225 @[ -f ./gold/Makefile ] || exit 0; \
16226 r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 $(HOST_EXPORTS) \
16229 for flag in $(EXTRA_HOST_FLAGS) ; do \
16230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16231 done; \
16232 echo "Doing html in gold" ; \
16233 (cd $(HOST_SUBDIR)/gold && \
16234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16236 "RANLIB=$${RANLIB}" \
16237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16238 html) \
16239 || exit 1
16241 @endif gold
16243 .PHONY: maybe-TAGS-gold TAGS-gold
16244 maybe-TAGS-gold:
16245 @if gold
16246 maybe-TAGS-gold: TAGS-gold
16248 TAGS-gold: \
16249 configure-gold
16250 @[ -f ./gold/Makefile ] || exit 0; \
16251 r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 $(HOST_EXPORTS) \
16254 for flag in $(EXTRA_HOST_FLAGS) ; do \
16255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16256 done; \
16257 echo "Doing TAGS in gold" ; \
16258 (cd $(HOST_SUBDIR)/gold && \
16259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16261 "RANLIB=$${RANLIB}" \
16262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16263 TAGS) \
16264 || exit 1
16266 @endif gold
16268 .PHONY: maybe-install-info-gold install-info-gold
16269 maybe-install-info-gold:
16270 @if gold
16271 maybe-install-info-gold: install-info-gold
16273 install-info-gold: \
16274 configure-gold \
16275 info-gold
16276 @[ -f ./gold/Makefile ] || exit 0; \
16277 r=`${PWD_COMMAND}`; export r; \
16278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16279 $(HOST_EXPORTS) \
16280 for flag in $(EXTRA_HOST_FLAGS) ; do \
16281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16282 done; \
16283 echo "Doing install-info in gold" ; \
16284 (cd $(HOST_SUBDIR)/gold && \
16285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16287 "RANLIB=$${RANLIB}" \
16288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16289 install-info) \
16290 || exit 1
16292 @endif gold
16294 .PHONY: maybe-install-pdf-gold install-pdf-gold
16295 maybe-install-pdf-gold:
16296 @if gold
16297 maybe-install-pdf-gold: install-pdf-gold
16299 install-pdf-gold: \
16300 configure-gold \
16301 pdf-gold
16302 @[ -f ./gold/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(HOST_EXPORTS) \
16306 for flag in $(EXTRA_HOST_FLAGS) ; do \
16307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16308 done; \
16309 echo "Doing install-pdf in gold" ; \
16310 (cd $(HOST_SUBDIR)/gold && \
16311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16313 "RANLIB=$${RANLIB}" \
16314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16315 install-pdf) \
16316 || exit 1
16318 @endif gold
16320 .PHONY: maybe-install-html-gold install-html-gold
16321 maybe-install-html-gold:
16322 @if gold
16323 maybe-install-html-gold: install-html-gold
16325 install-html-gold: \
16326 configure-gold \
16327 html-gold
16328 @[ -f ./gold/Makefile ] || exit 0; \
16329 r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16331 $(HOST_EXPORTS) \
16332 for flag in $(EXTRA_HOST_FLAGS) ; do \
16333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16334 done; \
16335 echo "Doing install-html in gold" ; \
16336 (cd $(HOST_SUBDIR)/gold && \
16337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16339 "RANLIB=$${RANLIB}" \
16340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16341 install-html) \
16342 || exit 1
16344 @endif gold
16346 .PHONY: maybe-installcheck-gold installcheck-gold
16347 maybe-installcheck-gold:
16348 @if gold
16349 maybe-installcheck-gold: installcheck-gold
16351 installcheck-gold: \
16352 configure-gold
16353 @[ -f ./gold/Makefile ] || exit 0; \
16354 r=`${PWD_COMMAND}`; export r; \
16355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16356 $(HOST_EXPORTS) \
16357 for flag in $(EXTRA_HOST_FLAGS) ; do \
16358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16359 done; \
16360 echo "Doing installcheck in gold" ; \
16361 (cd $(HOST_SUBDIR)/gold && \
16362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16364 "RANLIB=$${RANLIB}" \
16365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16366 installcheck) \
16367 || exit 1
16369 @endif gold
16371 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16372 maybe-mostlyclean-gold:
16373 @if gold
16374 maybe-mostlyclean-gold: mostlyclean-gold
16376 mostlyclean-gold:
16377 @[ -f ./gold/Makefile ] || exit 0; \
16378 r=`${PWD_COMMAND}`; export r; \
16379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16380 $(HOST_EXPORTS) \
16381 for flag in $(EXTRA_HOST_FLAGS) ; do \
16382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16383 done; \
16384 echo "Doing mostlyclean in gold" ; \
16385 (cd $(HOST_SUBDIR)/gold && \
16386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16388 "RANLIB=$${RANLIB}" \
16389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16390 mostlyclean) \
16391 || exit 1
16393 @endif gold
16395 .PHONY: maybe-clean-gold clean-gold
16396 maybe-clean-gold:
16397 @if gold
16398 maybe-clean-gold: clean-gold
16400 clean-gold:
16401 @[ -f ./gold/Makefile ] || exit 0; \
16402 r=`${PWD_COMMAND}`; export r; \
16403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16404 $(HOST_EXPORTS) \
16405 for flag in $(EXTRA_HOST_FLAGS) ; do \
16406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16407 done; \
16408 echo "Doing clean in gold" ; \
16409 (cd $(HOST_SUBDIR)/gold && \
16410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16412 "RANLIB=$${RANLIB}" \
16413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16414 clean) \
16415 || exit 1
16417 @endif gold
16419 .PHONY: maybe-distclean-gold distclean-gold
16420 maybe-distclean-gold:
16421 @if gold
16422 maybe-distclean-gold: distclean-gold
16424 distclean-gold:
16425 @[ -f ./gold/Makefile ] || exit 0; \
16426 r=`${PWD_COMMAND}`; export r; \
16427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16428 $(HOST_EXPORTS) \
16429 for flag in $(EXTRA_HOST_FLAGS) ; do \
16430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16431 done; \
16432 echo "Doing distclean in gold" ; \
16433 (cd $(HOST_SUBDIR)/gold && \
16434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436 "RANLIB=$${RANLIB}" \
16437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16438 distclean) \
16439 || exit 1
16441 @endif gold
16443 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16444 maybe-maintainer-clean-gold:
16445 @if gold
16446 maybe-maintainer-clean-gold: maintainer-clean-gold
16448 maintainer-clean-gold:
16449 @[ -f ./gold/Makefile ] || exit 0; \
16450 r=`${PWD_COMMAND}`; export r; \
16451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16452 $(HOST_EXPORTS) \
16453 for flag in $(EXTRA_HOST_FLAGS) ; do \
16454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16455 done; \
16456 echo "Doing maintainer-clean in gold" ; \
16457 (cd $(HOST_SUBDIR)/gold && \
16458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16460 "RANLIB=$${RANLIB}" \
16461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16462 maintainer-clean) \
16463 || exit 1
16465 @endif gold
16469 .PHONY: configure-gprof maybe-configure-gprof
16470 maybe-configure-gprof:
16471 @if gcc-bootstrap
16472 configure-gprof: stage_current
16473 @endif gcc-bootstrap
16474 @if gprof
16475 maybe-configure-gprof: configure-gprof
16476 configure-gprof:
16477 @: $(MAKE); $(unstage)
16478 @r=`${PWD_COMMAND}`; export r; \
16479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16480 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16482 $(HOST_EXPORTS) \
16483 echo Configuring in $(HOST_SUBDIR)/gprof; \
16484 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16485 case $(srcdir) in \
16486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16487 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16489 esac; \
16490 srcdiroption="--srcdir=$${topdir}/gprof"; \
16491 libsrcdir="$$s/gprof"; \
16492 $(SHELL) $${libsrcdir}/configure \
16493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16494 --target=${target_alias} $${srcdiroption} \
16495 || exit 1
16496 @endif gprof
16502 .PHONY: all-gprof maybe-all-gprof
16503 maybe-all-gprof:
16504 @if gcc-bootstrap
16505 all-gprof: stage_current
16506 @endif gcc-bootstrap
16507 @if gprof
16508 TARGET-gprof=all
16509 maybe-all-gprof: all-gprof
16510 all-gprof: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16517 $(TARGET-gprof))
16518 @endif gprof
16523 .PHONY: check-gprof maybe-check-gprof
16524 maybe-check-gprof:
16525 @if gprof
16526 maybe-check-gprof: check-gprof
16528 check-gprof:
16529 @: $(MAKE); $(unstage)
16530 @r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 $(HOST_EXPORTS) \
16533 (cd $(HOST_SUBDIR)/gprof && \
16534 $(MAKE) $(FLAGS_TO_PASS) check)
16536 @endif gprof
16538 .PHONY: install-gprof maybe-install-gprof
16539 maybe-install-gprof:
16540 @if gprof
16541 maybe-install-gprof: install-gprof
16543 install-gprof: installdirs
16544 @: $(MAKE); $(unstage)
16545 @r=`${PWD_COMMAND}`; export r; \
16546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16547 $(HOST_EXPORTS) \
16548 (cd $(HOST_SUBDIR)/gprof && \
16549 $(MAKE) $(FLAGS_TO_PASS) install)
16551 @endif gprof
16553 .PHONY: install-strip-gprof maybe-install-strip-gprof
16554 maybe-install-strip-gprof:
16555 @if gprof
16556 maybe-install-strip-gprof: install-strip-gprof
16558 install-strip-gprof: installdirs
16559 @: $(MAKE); $(unstage)
16560 @r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16562 $(HOST_EXPORTS) \
16563 (cd $(HOST_SUBDIR)/gprof && \
16564 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16566 @endif gprof
16568 # Other targets (info, dvi, pdf, etc.)
16570 .PHONY: maybe-info-gprof info-gprof
16571 maybe-info-gprof:
16572 @if gprof
16573 maybe-info-gprof: info-gprof
16575 info-gprof: \
16576 configure-gprof
16577 @: $(MAKE); $(unstage)
16578 @[ -f ./gprof/Makefile ] || exit 0; \
16579 r=`${PWD_COMMAND}`; export r; \
16580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16581 $(HOST_EXPORTS) \
16582 for flag in $(EXTRA_HOST_FLAGS) ; do \
16583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16584 done; \
16585 echo "Doing info in gprof" ; \
16586 (cd $(HOST_SUBDIR)/gprof && \
16587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16589 "RANLIB=$${RANLIB}" \
16590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16591 info) \
16592 || exit 1
16594 @endif gprof
16596 .PHONY: maybe-dvi-gprof dvi-gprof
16597 maybe-dvi-gprof:
16598 @if gprof
16599 maybe-dvi-gprof: dvi-gprof
16601 dvi-gprof: \
16602 configure-gprof
16603 @: $(MAKE); $(unstage)
16604 @[ -f ./gprof/Makefile ] || exit 0; \
16605 r=`${PWD_COMMAND}`; export r; \
16606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16607 $(HOST_EXPORTS) \
16608 for flag in $(EXTRA_HOST_FLAGS) ; do \
16609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16610 done; \
16611 echo "Doing dvi in gprof" ; \
16612 (cd $(HOST_SUBDIR)/gprof && \
16613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16615 "RANLIB=$${RANLIB}" \
16616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16617 dvi) \
16618 || exit 1
16620 @endif gprof
16622 .PHONY: maybe-pdf-gprof pdf-gprof
16623 maybe-pdf-gprof:
16624 @if gprof
16625 maybe-pdf-gprof: pdf-gprof
16627 pdf-gprof: \
16628 configure-gprof
16629 @: $(MAKE); $(unstage)
16630 @[ -f ./gprof/Makefile ] || exit 0; \
16631 r=`${PWD_COMMAND}`; export r; \
16632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16633 $(HOST_EXPORTS) \
16634 for flag in $(EXTRA_HOST_FLAGS) ; do \
16635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16636 done; \
16637 echo "Doing pdf in gprof" ; \
16638 (cd $(HOST_SUBDIR)/gprof && \
16639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16641 "RANLIB=$${RANLIB}" \
16642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16643 pdf) \
16644 || exit 1
16646 @endif gprof
16648 .PHONY: maybe-html-gprof html-gprof
16649 maybe-html-gprof:
16650 @if gprof
16651 maybe-html-gprof: html-gprof
16653 html-gprof: \
16654 configure-gprof
16655 @: $(MAKE); $(unstage)
16656 @[ -f ./gprof/Makefile ] || exit 0; \
16657 r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16659 $(HOST_EXPORTS) \
16660 for flag in $(EXTRA_HOST_FLAGS) ; do \
16661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16662 done; \
16663 echo "Doing html in gprof" ; \
16664 (cd $(HOST_SUBDIR)/gprof && \
16665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667 "RANLIB=$${RANLIB}" \
16668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16669 html) \
16670 || exit 1
16672 @endif gprof
16674 .PHONY: maybe-TAGS-gprof TAGS-gprof
16675 maybe-TAGS-gprof:
16676 @if gprof
16677 maybe-TAGS-gprof: TAGS-gprof
16679 TAGS-gprof: \
16680 configure-gprof
16681 @: $(MAKE); $(unstage)
16682 @[ -f ./gprof/Makefile ] || exit 0; \
16683 r=`${PWD_COMMAND}`; export r; \
16684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16685 $(HOST_EXPORTS) \
16686 for flag in $(EXTRA_HOST_FLAGS) ; do \
16687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16688 done; \
16689 echo "Doing TAGS in gprof" ; \
16690 (cd $(HOST_SUBDIR)/gprof && \
16691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16693 "RANLIB=$${RANLIB}" \
16694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16695 TAGS) \
16696 || exit 1
16698 @endif gprof
16700 .PHONY: maybe-install-info-gprof install-info-gprof
16701 maybe-install-info-gprof:
16702 @if gprof
16703 maybe-install-info-gprof: install-info-gprof
16705 install-info-gprof: \
16706 configure-gprof \
16707 info-gprof
16708 @: $(MAKE); $(unstage)
16709 @[ -f ./gprof/Makefile ] || exit 0; \
16710 r=`${PWD_COMMAND}`; export r; \
16711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16712 $(HOST_EXPORTS) \
16713 for flag in $(EXTRA_HOST_FLAGS) ; do \
16714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16715 done; \
16716 echo "Doing install-info in gprof" ; \
16717 (cd $(HOST_SUBDIR)/gprof && \
16718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16720 "RANLIB=$${RANLIB}" \
16721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16722 install-info) \
16723 || exit 1
16725 @endif gprof
16727 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16728 maybe-install-pdf-gprof:
16729 @if gprof
16730 maybe-install-pdf-gprof: install-pdf-gprof
16732 install-pdf-gprof: \
16733 configure-gprof \
16734 pdf-gprof
16735 @: $(MAKE); $(unstage)
16736 @[ -f ./gprof/Makefile ] || exit 0; \
16737 r=`${PWD_COMMAND}`; export r; \
16738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16739 $(HOST_EXPORTS) \
16740 for flag in $(EXTRA_HOST_FLAGS) ; do \
16741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16742 done; \
16743 echo "Doing install-pdf in gprof" ; \
16744 (cd $(HOST_SUBDIR)/gprof && \
16745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16747 "RANLIB=$${RANLIB}" \
16748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16749 install-pdf) \
16750 || exit 1
16752 @endif gprof
16754 .PHONY: maybe-install-html-gprof install-html-gprof
16755 maybe-install-html-gprof:
16756 @if gprof
16757 maybe-install-html-gprof: install-html-gprof
16759 install-html-gprof: \
16760 configure-gprof \
16761 html-gprof
16762 @: $(MAKE); $(unstage)
16763 @[ -f ./gprof/Makefile ] || exit 0; \
16764 r=`${PWD_COMMAND}`; export r; \
16765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766 $(HOST_EXPORTS) \
16767 for flag in $(EXTRA_HOST_FLAGS) ; do \
16768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16769 done; \
16770 echo "Doing install-html in gprof" ; \
16771 (cd $(HOST_SUBDIR)/gprof && \
16772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16774 "RANLIB=$${RANLIB}" \
16775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16776 install-html) \
16777 || exit 1
16779 @endif gprof
16781 .PHONY: maybe-installcheck-gprof installcheck-gprof
16782 maybe-installcheck-gprof:
16783 @if gprof
16784 maybe-installcheck-gprof: installcheck-gprof
16786 installcheck-gprof: \
16787 configure-gprof
16788 @: $(MAKE); $(unstage)
16789 @[ -f ./gprof/Makefile ] || exit 0; \
16790 r=`${PWD_COMMAND}`; export r; \
16791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16792 $(HOST_EXPORTS) \
16793 for flag in $(EXTRA_HOST_FLAGS) ; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795 done; \
16796 echo "Doing installcheck in gprof" ; \
16797 (cd $(HOST_SUBDIR)/gprof && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16802 installcheck) \
16803 || exit 1
16805 @endif gprof
16807 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16808 maybe-mostlyclean-gprof:
16809 @if gprof
16810 maybe-mostlyclean-gprof: mostlyclean-gprof
16812 mostlyclean-gprof:
16813 @: $(MAKE); $(unstage)
16814 @[ -f ./gprof/Makefile ] || exit 0; \
16815 r=`${PWD_COMMAND}`; export r; \
16816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16817 $(HOST_EXPORTS) \
16818 for flag in $(EXTRA_HOST_FLAGS) ; do \
16819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16820 done; \
16821 echo "Doing mostlyclean in gprof" ; \
16822 (cd $(HOST_SUBDIR)/gprof && \
16823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16825 "RANLIB=$${RANLIB}" \
16826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16827 mostlyclean) \
16828 || exit 1
16830 @endif gprof
16832 .PHONY: maybe-clean-gprof clean-gprof
16833 maybe-clean-gprof:
16834 @if gprof
16835 maybe-clean-gprof: clean-gprof
16837 clean-gprof:
16838 @: $(MAKE); $(unstage)
16839 @[ -f ./gprof/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 for flag in $(EXTRA_HOST_FLAGS) ; do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845 done; \
16846 echo "Doing clean in gprof" ; \
16847 (cd $(HOST_SUBDIR)/gprof && \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16852 clean) \
16853 || exit 1
16855 @endif gprof
16857 .PHONY: maybe-distclean-gprof distclean-gprof
16858 maybe-distclean-gprof:
16859 @if gprof
16860 maybe-distclean-gprof: distclean-gprof
16862 distclean-gprof:
16863 @: $(MAKE); $(unstage)
16864 @[ -f ./gprof/Makefile ] || exit 0; \
16865 r=`${PWD_COMMAND}`; export r; \
16866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16867 $(HOST_EXPORTS) \
16868 for flag in $(EXTRA_HOST_FLAGS) ; do \
16869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16870 done; \
16871 echo "Doing distclean in gprof" ; \
16872 (cd $(HOST_SUBDIR)/gprof && \
16873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16875 "RANLIB=$${RANLIB}" \
16876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16877 distclean) \
16878 || exit 1
16880 @endif gprof
16882 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16883 maybe-maintainer-clean-gprof:
16884 @if gprof
16885 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16887 maintainer-clean-gprof:
16888 @: $(MAKE); $(unstage)
16889 @[ -f ./gprof/Makefile ] || exit 0; \
16890 r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 $(HOST_EXPORTS) \
16893 for flag in $(EXTRA_HOST_FLAGS) ; do \
16894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16895 done; \
16896 echo "Doing maintainer-clean in gprof" ; \
16897 (cd $(HOST_SUBDIR)/gprof && \
16898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16900 "RANLIB=$${RANLIB}" \
16901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16902 maintainer-clean) \
16903 || exit 1
16905 @endif gprof
16909 .PHONY: configure-intl maybe-configure-intl
16910 maybe-configure-intl:
16911 @if gcc-bootstrap
16912 configure-intl: stage_current
16913 @endif gcc-bootstrap
16914 @if intl
16915 maybe-configure-intl: configure-intl
16916 configure-intl:
16917 @r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16921 $(HOST_EXPORTS) \
16922 echo Configuring in $(HOST_SUBDIR)/intl; \
16923 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16924 case $(srcdir) in \
16925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16926 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16928 esac; \
16929 srcdiroption="--srcdir=$${topdir}/intl"; \
16930 libsrcdir="$$s/intl"; \
16931 $(SHELL) $${libsrcdir}/configure \
16932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16933 --target=${target_alias} $${srcdiroption} \
16934 || exit 1
16935 @endif intl
16939 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16940 maybe-configure-stage1-intl:
16941 @if intl-bootstrap
16942 maybe-configure-stage1-intl: configure-stage1-intl
16943 configure-stage1-intl:
16944 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16946 @r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 TFLAGS="$(STAGE1_TFLAGS)"; \
16949 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16950 $(HOST_EXPORTS) \
16951 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16952 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16953 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16954 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16956 cd $(HOST_SUBDIR)/intl || exit 1; \
16957 case $(srcdir) in \
16958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16959 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16961 esac; \
16962 srcdiroption="--srcdir=$${topdir}/intl"; \
16963 libsrcdir="$$s/intl"; \
16964 $(SHELL) $${libsrcdir}/configure \
16965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16966 --target=${target_alias} $${srcdiroption} \
16967 $(STAGE1_CONFIGURE_FLAGS)
16968 @endif intl-bootstrap
16970 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16971 maybe-configure-stage2-intl:
16972 @if intl-bootstrap
16973 maybe-configure-stage2-intl: configure-stage2-intl
16974 configure-stage2-intl:
16975 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16977 @r=`${PWD_COMMAND}`; export r; \
16978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16979 TFLAGS="$(STAGE2_TFLAGS)"; \
16980 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16981 $(HOST_EXPORTS) \
16982 $(POSTSTAGE1_HOST_EXPORTS) \
16983 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16984 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16985 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16986 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16988 cd $(HOST_SUBDIR)/intl || exit 1; \
16989 case $(srcdir) in \
16990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16991 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16993 esac; \
16994 srcdiroption="--srcdir=$${topdir}/intl"; \
16995 libsrcdir="$$s/intl"; \
16996 $(SHELL) $${libsrcdir}/configure \
16997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16998 --target=${target_alias} $${srcdiroption} \
16999 --with-build-libsubdir=$(HOST_SUBDIR) \
17000 $(STAGE2_CONFIGURE_FLAGS)
17001 @endif intl-bootstrap
17003 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17004 maybe-configure-stage3-intl:
17005 @if intl-bootstrap
17006 maybe-configure-stage3-intl: configure-stage3-intl
17007 configure-stage3-intl:
17008 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17010 @r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 TFLAGS="$(STAGE3_TFLAGS)"; \
17013 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17014 $(HOST_EXPORTS) \
17015 $(POSTSTAGE1_HOST_EXPORTS) \
17016 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17017 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17018 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17019 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17021 cd $(HOST_SUBDIR)/intl || exit 1; \
17022 case $(srcdir) in \
17023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17024 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17026 esac; \
17027 srcdiroption="--srcdir=$${topdir}/intl"; \
17028 libsrcdir="$$s/intl"; \
17029 $(SHELL) $${libsrcdir}/configure \
17030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17031 --target=${target_alias} $${srcdiroption} \
17032 --with-build-libsubdir=$(HOST_SUBDIR) \
17033 $(STAGE3_CONFIGURE_FLAGS)
17034 @endif intl-bootstrap
17036 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17037 maybe-configure-stage4-intl:
17038 @if intl-bootstrap
17039 maybe-configure-stage4-intl: configure-stage4-intl
17040 configure-stage4-intl:
17041 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17043 @r=`${PWD_COMMAND}`; export r; \
17044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17045 TFLAGS="$(STAGE4_TFLAGS)"; \
17046 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17047 $(HOST_EXPORTS) \
17048 $(POSTSTAGE1_HOST_EXPORTS) \
17049 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17050 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17051 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17052 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17054 cd $(HOST_SUBDIR)/intl || exit 1; \
17055 case $(srcdir) in \
17056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17057 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17059 esac; \
17060 srcdiroption="--srcdir=$${topdir}/intl"; \
17061 libsrcdir="$$s/intl"; \
17062 $(SHELL) $${libsrcdir}/configure \
17063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17064 --target=${target_alias} $${srcdiroption} \
17065 --with-build-libsubdir=$(HOST_SUBDIR) \
17066 $(STAGE4_CONFIGURE_FLAGS)
17067 @endif intl-bootstrap
17069 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17070 maybe-configure-stageprofile-intl:
17071 @if intl-bootstrap
17072 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17073 configure-stageprofile-intl:
17074 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17076 @r=`${PWD_COMMAND}`; export r; \
17077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17079 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17080 $(HOST_EXPORTS) \
17081 $(POSTSTAGE1_HOST_EXPORTS) \
17082 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17083 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17084 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17085 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17087 cd $(HOST_SUBDIR)/intl || exit 1; \
17088 case $(srcdir) in \
17089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17090 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17092 esac; \
17093 srcdiroption="--srcdir=$${topdir}/intl"; \
17094 libsrcdir="$$s/intl"; \
17095 $(SHELL) $${libsrcdir}/configure \
17096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17097 --target=${target_alias} $${srcdiroption} \
17098 --with-build-libsubdir=$(HOST_SUBDIR) \
17099 $(STAGEprofile_CONFIGURE_FLAGS)
17100 @endif intl-bootstrap
17102 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17103 maybe-configure-stagefeedback-intl:
17104 @if intl-bootstrap
17105 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17106 configure-stagefeedback-intl:
17107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17109 @r=`${PWD_COMMAND}`; export r; \
17110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17111 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17112 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17113 $(HOST_EXPORTS) \
17114 $(POSTSTAGE1_HOST_EXPORTS) \
17115 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17116 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17117 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17118 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17120 cd $(HOST_SUBDIR)/intl || exit 1; \
17121 case $(srcdir) in \
17122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17123 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17125 esac; \
17126 srcdiroption="--srcdir=$${topdir}/intl"; \
17127 libsrcdir="$$s/intl"; \
17128 $(SHELL) $${libsrcdir}/configure \
17129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17130 --target=${target_alias} $${srcdiroption} \
17131 --with-build-libsubdir=$(HOST_SUBDIR) \
17132 $(STAGEfeedback_CONFIGURE_FLAGS)
17133 @endif intl-bootstrap
17139 .PHONY: all-intl maybe-all-intl
17140 maybe-all-intl:
17141 @if gcc-bootstrap
17142 all-intl: stage_current
17143 @endif gcc-bootstrap
17144 @if intl
17145 TARGET-intl=all
17146 maybe-all-intl: all-intl
17147 all-intl: configure-intl
17148 @r=`${PWD_COMMAND}`; export r; \
17149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17150 $(HOST_EXPORTS) \
17151 (cd $(HOST_SUBDIR)/intl && \
17152 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17153 $(TARGET-intl))
17154 @endif intl
17158 .PHONY: all-stage1-intl maybe-all-stage1-intl
17159 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17160 maybe-all-stage1-intl:
17161 maybe-clean-stage1-intl:
17162 @if intl-bootstrap
17163 maybe-all-stage1-intl: all-stage1-intl
17164 all-stage1: all-stage1-intl
17165 TARGET-stage1-intl = $(TARGET-intl)
17166 all-stage1-intl: configure-stage1-intl
17167 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17168 @r=`${PWD_COMMAND}`; export r; \
17169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17170 TFLAGS="$(STAGE1_TFLAGS)"; \
17171 $(HOST_EXPORTS) \
17172 cd $(HOST_SUBDIR)/intl && \
17173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17174 CFLAGS="$(STAGE1_CFLAGS)" \
17175 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17176 LIBCFLAGS="$(LIBCFLAGS)" \
17177 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17178 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17179 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17180 $(EXTRA_HOST_FLAGS) \
17181 TFLAGS="$(STAGE1_TFLAGS)" \
17182 $(TARGET-stage1-intl)
17184 maybe-clean-stage1-intl: clean-stage1-intl
17185 clean-stage1: clean-stage1-intl
17186 clean-stage1-intl:
17187 @if [ $(current_stage) = stage1 ]; then \
17188 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17189 else \
17190 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17191 $(MAKE) stage1-start; \
17192 fi; \
17193 cd $(HOST_SUBDIR)/intl && \
17194 $(MAKE) $(EXTRA_HOST_FLAGS) \
17195 clean
17196 @endif intl-bootstrap
17199 .PHONY: all-stage2-intl maybe-all-stage2-intl
17200 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17201 maybe-all-stage2-intl:
17202 maybe-clean-stage2-intl:
17203 @if intl-bootstrap
17204 maybe-all-stage2-intl: all-stage2-intl
17205 all-stage2: all-stage2-intl
17206 TARGET-stage2-intl = $(TARGET-intl)
17207 all-stage2-intl: configure-stage2-intl
17208 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17209 @r=`${PWD_COMMAND}`; export r; \
17210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17211 TFLAGS="$(STAGE2_TFLAGS)"; \
17212 $(HOST_EXPORTS) \
17213 $(POSTSTAGE1_HOST_EXPORTS) \
17214 cd $(HOST_SUBDIR)/intl && \
17215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17216 CFLAGS="$(STAGE2_CFLAGS)" \
17217 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17218 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17223 TFLAGS="$(STAGE2_TFLAGS)" \
17224 $(TARGET-stage2-intl)
17226 maybe-clean-stage2-intl: clean-stage2-intl
17227 clean-stage2: clean-stage2-intl
17228 clean-stage2-intl:
17229 @if [ $(current_stage) = stage2 ]; then \
17230 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17231 else \
17232 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17233 $(MAKE) stage2-start; \
17234 fi; \
17235 cd $(HOST_SUBDIR)/intl && \
17236 $(MAKE) $(EXTRA_HOST_FLAGS) \
17237 $(POSTSTAGE1_FLAGS_TO_PASS) \
17238 clean
17239 @endif intl-bootstrap
17242 .PHONY: all-stage3-intl maybe-all-stage3-intl
17243 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17244 maybe-all-stage3-intl:
17245 maybe-clean-stage3-intl:
17246 @if intl-bootstrap
17247 maybe-all-stage3-intl: all-stage3-intl
17248 all-stage3: all-stage3-intl
17249 TARGET-stage3-intl = $(TARGET-intl)
17250 all-stage3-intl: configure-stage3-intl
17251 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17252 @r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254 TFLAGS="$(STAGE3_TFLAGS)"; \
17255 $(HOST_EXPORTS) \
17256 $(POSTSTAGE1_HOST_EXPORTS) \
17257 cd $(HOST_SUBDIR)/intl && \
17258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17259 CFLAGS="$(STAGE3_CFLAGS)" \
17260 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17261 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17266 TFLAGS="$(STAGE3_TFLAGS)" \
17267 $(TARGET-stage3-intl)
17269 maybe-clean-stage3-intl: clean-stage3-intl
17270 clean-stage3: clean-stage3-intl
17271 clean-stage3-intl:
17272 @if [ $(current_stage) = stage3 ]; then \
17273 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17274 else \
17275 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17276 $(MAKE) stage3-start; \
17277 fi; \
17278 cd $(HOST_SUBDIR)/intl && \
17279 $(MAKE) $(EXTRA_HOST_FLAGS) \
17280 $(POSTSTAGE1_FLAGS_TO_PASS) \
17281 clean
17282 @endif intl-bootstrap
17285 .PHONY: all-stage4-intl maybe-all-stage4-intl
17286 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17287 maybe-all-stage4-intl:
17288 maybe-clean-stage4-intl:
17289 @if intl-bootstrap
17290 maybe-all-stage4-intl: all-stage4-intl
17291 all-stage4: all-stage4-intl
17292 TARGET-stage4-intl = $(TARGET-intl)
17293 all-stage4-intl: configure-stage4-intl
17294 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17295 @r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297 TFLAGS="$(STAGE4_TFLAGS)"; \
17298 $(HOST_EXPORTS) \
17299 $(POSTSTAGE1_HOST_EXPORTS) \
17300 cd $(HOST_SUBDIR)/intl && \
17301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17302 CFLAGS="$(STAGE4_CFLAGS)" \
17303 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17304 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17309 TFLAGS="$(STAGE4_TFLAGS)" \
17310 $(TARGET-stage4-intl)
17312 maybe-clean-stage4-intl: clean-stage4-intl
17313 clean-stage4: clean-stage4-intl
17314 clean-stage4-intl:
17315 @if [ $(current_stage) = stage4 ]; then \
17316 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17317 else \
17318 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17319 $(MAKE) stage4-start; \
17320 fi; \
17321 cd $(HOST_SUBDIR)/intl && \
17322 $(MAKE) $(EXTRA_HOST_FLAGS) \
17323 $(POSTSTAGE1_FLAGS_TO_PASS) \
17324 clean
17325 @endif intl-bootstrap
17328 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17329 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17330 maybe-all-stageprofile-intl:
17331 maybe-clean-stageprofile-intl:
17332 @if intl-bootstrap
17333 maybe-all-stageprofile-intl: all-stageprofile-intl
17334 all-stageprofile: all-stageprofile-intl
17335 TARGET-stageprofile-intl = $(TARGET-intl)
17336 all-stageprofile-intl: configure-stageprofile-intl
17337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17338 @r=`${PWD_COMMAND}`; export r; \
17339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17340 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17341 $(HOST_EXPORTS) \
17342 $(POSTSTAGE1_HOST_EXPORTS) \
17343 cd $(HOST_SUBDIR)/intl && \
17344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17345 CFLAGS="$(STAGEprofile_CFLAGS)" \
17346 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17347 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17352 TFLAGS="$(STAGEprofile_TFLAGS)" \
17353 $(TARGET-stageprofile-intl)
17355 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17356 clean-stageprofile: clean-stageprofile-intl
17357 clean-stageprofile-intl:
17358 @if [ $(current_stage) = stageprofile ]; then \
17359 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17360 else \
17361 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17362 $(MAKE) stageprofile-start; \
17363 fi; \
17364 cd $(HOST_SUBDIR)/intl && \
17365 $(MAKE) $(EXTRA_HOST_FLAGS) \
17366 $(POSTSTAGE1_FLAGS_TO_PASS) \
17367 clean
17368 @endif intl-bootstrap
17371 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17372 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17373 maybe-all-stagefeedback-intl:
17374 maybe-clean-stagefeedback-intl:
17375 @if intl-bootstrap
17376 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17377 all-stagefeedback: all-stagefeedback-intl
17378 TARGET-stagefeedback-intl = $(TARGET-intl)
17379 all-stagefeedback-intl: configure-stagefeedback-intl
17380 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17381 @r=`${PWD_COMMAND}`; export r; \
17382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17384 $(HOST_EXPORTS) \
17385 $(POSTSTAGE1_HOST_EXPORTS) \
17386 cd $(HOST_SUBDIR)/intl && \
17387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17388 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17389 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17390 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17394 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17395 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17396 $(TARGET-stagefeedback-intl)
17398 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17399 clean-stagefeedback: clean-stagefeedback-intl
17400 clean-stagefeedback-intl:
17401 @if [ $(current_stage) = stagefeedback ]; then \
17402 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17403 else \
17404 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17405 $(MAKE) stagefeedback-start; \
17406 fi; \
17407 cd $(HOST_SUBDIR)/intl && \
17408 $(MAKE) $(EXTRA_HOST_FLAGS) \
17409 $(POSTSTAGE1_FLAGS_TO_PASS) \
17410 clean
17411 @endif intl-bootstrap
17417 .PHONY: check-intl maybe-check-intl
17418 maybe-check-intl:
17419 @if intl
17420 maybe-check-intl: check-intl
17422 check-intl:
17423 @: $(MAKE); $(unstage)
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 $(HOST_EXPORTS) \
17427 (cd $(HOST_SUBDIR)/intl && \
17428 $(MAKE) $(FLAGS_TO_PASS) check)
17430 @endif intl
17432 .PHONY: install-intl maybe-install-intl
17433 maybe-install-intl:
17434 @if intl
17435 maybe-install-intl: install-intl
17437 install-intl: installdirs
17438 @: $(MAKE); $(unstage)
17439 @r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 $(HOST_EXPORTS) \
17442 (cd $(HOST_SUBDIR)/intl && \
17443 $(MAKE) $(FLAGS_TO_PASS) install)
17445 @endif intl
17447 .PHONY: install-strip-intl maybe-install-strip-intl
17448 maybe-install-strip-intl:
17449 @if intl
17450 maybe-install-strip-intl: install-strip-intl
17452 install-strip-intl: installdirs
17453 @: $(MAKE); $(unstage)
17454 @r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456 $(HOST_EXPORTS) \
17457 (cd $(HOST_SUBDIR)/intl && \
17458 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17460 @endif intl
17462 # Other targets (info, dvi, pdf, etc.)
17464 .PHONY: maybe-info-intl info-intl
17465 maybe-info-intl:
17466 @if intl
17467 maybe-info-intl: info-intl
17469 info-intl: \
17470 configure-intl
17471 @[ -f ./intl/Makefile ] || exit 0; \
17472 r=`${PWD_COMMAND}`; export r; \
17473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17474 $(HOST_EXPORTS) \
17475 for flag in $(EXTRA_HOST_FLAGS) ; do \
17476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17477 done; \
17478 echo "Doing info in intl" ; \
17479 (cd $(HOST_SUBDIR)/intl && \
17480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17482 "RANLIB=$${RANLIB}" \
17483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17484 info) \
17485 || exit 1
17487 @endif intl
17489 .PHONY: maybe-dvi-intl dvi-intl
17490 maybe-dvi-intl:
17491 @if intl
17492 maybe-dvi-intl: dvi-intl
17494 dvi-intl: \
17495 configure-intl
17496 @[ -f ./intl/Makefile ] || exit 0; \
17497 r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(HOST_EXPORTS) \
17500 for flag in $(EXTRA_HOST_FLAGS) ; do \
17501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17502 done; \
17503 echo "Doing dvi in intl" ; \
17504 (cd $(HOST_SUBDIR)/intl && \
17505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17507 "RANLIB=$${RANLIB}" \
17508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17509 dvi) \
17510 || exit 1
17512 @endif intl
17514 .PHONY: maybe-pdf-intl pdf-intl
17515 maybe-pdf-intl:
17516 @if intl
17517 maybe-pdf-intl: pdf-intl
17519 pdf-intl: \
17520 configure-intl
17521 @[ -f ./intl/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing pdf in intl" ; \
17529 (cd $(HOST_SUBDIR)/intl && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17534 pdf) \
17535 || exit 1
17537 @endif intl
17539 .PHONY: maybe-html-intl html-intl
17540 maybe-html-intl:
17541 @if intl
17542 maybe-html-intl: html-intl
17544 html-intl: \
17545 configure-intl
17546 @[ -f ./intl/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing html in intl" ; \
17554 (cd $(HOST_SUBDIR)/intl && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17559 html) \
17560 || exit 1
17562 @endif intl
17564 .PHONY: maybe-TAGS-intl TAGS-intl
17565 maybe-TAGS-intl:
17566 @if intl
17567 maybe-TAGS-intl: TAGS-intl
17569 TAGS-intl: \
17570 configure-intl
17571 @[ -f ./intl/Makefile ] || exit 0; \
17572 r=`${PWD_COMMAND}`; export r; \
17573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17574 $(HOST_EXPORTS) \
17575 for flag in $(EXTRA_HOST_FLAGS) ; do \
17576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17577 done; \
17578 echo "Doing TAGS in intl" ; \
17579 (cd $(HOST_SUBDIR)/intl && \
17580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17582 "RANLIB=$${RANLIB}" \
17583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17584 TAGS) \
17585 || exit 1
17587 @endif intl
17589 .PHONY: maybe-install-info-intl install-info-intl
17590 maybe-install-info-intl:
17591 @if intl
17592 maybe-install-info-intl: install-info-intl
17594 install-info-intl: \
17595 configure-intl \
17596 info-intl
17597 @[ -f ./intl/Makefile ] || exit 0; \
17598 r=`${PWD_COMMAND}`; export r; \
17599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17600 $(HOST_EXPORTS) \
17601 for flag in $(EXTRA_HOST_FLAGS) ; do \
17602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17603 done; \
17604 echo "Doing install-info in intl" ; \
17605 (cd $(HOST_SUBDIR)/intl && \
17606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17608 "RANLIB=$${RANLIB}" \
17609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17610 install-info) \
17611 || exit 1
17613 @endif intl
17615 .PHONY: maybe-install-pdf-intl install-pdf-intl
17616 maybe-install-pdf-intl:
17617 @if intl
17618 maybe-install-pdf-intl: install-pdf-intl
17620 install-pdf-intl: \
17621 configure-intl \
17622 pdf-intl
17623 @[ -f ./intl/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(HOST_EXPORTS) \
17627 for flag in $(EXTRA_HOST_FLAGS) ; do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629 done; \
17630 echo "Doing install-pdf in intl" ; \
17631 (cd $(HOST_SUBDIR)/intl && \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17636 install-pdf) \
17637 || exit 1
17639 @endif intl
17641 .PHONY: maybe-install-html-intl install-html-intl
17642 maybe-install-html-intl:
17643 @if intl
17644 maybe-install-html-intl: install-html-intl
17646 install-html-intl: \
17647 configure-intl \
17648 html-intl
17649 @[ -f ./intl/Makefile ] || exit 0; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(HOST_EXPORTS) \
17653 for flag in $(EXTRA_HOST_FLAGS) ; do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17655 done; \
17656 echo "Doing install-html in intl" ; \
17657 (cd $(HOST_SUBDIR)/intl && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17662 install-html) \
17663 || exit 1
17665 @endif intl
17667 .PHONY: maybe-installcheck-intl installcheck-intl
17668 maybe-installcheck-intl:
17669 @if intl
17670 maybe-installcheck-intl: installcheck-intl
17672 installcheck-intl: \
17673 configure-intl
17674 @[ -f ./intl/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 $(HOST_EXPORTS) \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17680 done; \
17681 echo "Doing installcheck in intl" ; \
17682 (cd $(HOST_SUBDIR)/intl && \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17687 installcheck) \
17688 || exit 1
17690 @endif intl
17692 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17693 maybe-mostlyclean-intl:
17694 @if intl
17695 maybe-mostlyclean-intl: mostlyclean-intl
17697 mostlyclean-intl:
17698 @[ -f ./intl/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 $(HOST_EXPORTS) \
17702 for flag in $(EXTRA_HOST_FLAGS) ; do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17704 done; \
17705 echo "Doing mostlyclean in intl" ; \
17706 (cd $(HOST_SUBDIR)/intl && \
17707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17709 "RANLIB=$${RANLIB}" \
17710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17711 mostlyclean) \
17712 || exit 1
17714 @endif intl
17716 .PHONY: maybe-clean-intl clean-intl
17717 maybe-clean-intl:
17718 @if intl
17719 maybe-clean-intl: clean-intl
17721 clean-intl:
17722 @[ -f ./intl/Makefile ] || exit 0; \
17723 r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725 $(HOST_EXPORTS) \
17726 for flag in $(EXTRA_HOST_FLAGS) ; do \
17727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17728 done; \
17729 echo "Doing clean in intl" ; \
17730 (cd $(HOST_SUBDIR)/intl && \
17731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17733 "RANLIB=$${RANLIB}" \
17734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17735 clean) \
17736 || exit 1
17738 @endif intl
17740 .PHONY: maybe-distclean-intl distclean-intl
17741 maybe-distclean-intl:
17742 @if intl
17743 maybe-distclean-intl: distclean-intl
17745 distclean-intl:
17746 @[ -f ./intl/Makefile ] || exit 0; \
17747 r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 $(HOST_EXPORTS) \
17750 for flag in $(EXTRA_HOST_FLAGS) ; do \
17751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17752 done; \
17753 echo "Doing distclean in intl" ; \
17754 (cd $(HOST_SUBDIR)/intl && \
17755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17757 "RANLIB=$${RANLIB}" \
17758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17759 distclean) \
17760 || exit 1
17762 @endif intl
17764 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17765 maybe-maintainer-clean-intl:
17766 @if intl
17767 maybe-maintainer-clean-intl: maintainer-clean-intl
17769 maintainer-clean-intl:
17770 @[ -f ./intl/Makefile ] || exit 0; \
17771 r=`${PWD_COMMAND}`; export r; \
17772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17773 $(HOST_EXPORTS) \
17774 for flag in $(EXTRA_HOST_FLAGS) ; do \
17775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17776 done; \
17777 echo "Doing maintainer-clean in intl" ; \
17778 (cd $(HOST_SUBDIR)/intl && \
17779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17781 "RANLIB=$${RANLIB}" \
17782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17783 maintainer-clean) \
17784 || exit 1
17786 @endif intl
17790 .PHONY: configure-tcl maybe-configure-tcl
17791 maybe-configure-tcl:
17792 @if gcc-bootstrap
17793 configure-tcl: stage_current
17794 @endif gcc-bootstrap
17795 @if tcl
17796 maybe-configure-tcl: configure-tcl
17797 configure-tcl:
17798 @: $(MAKE); $(unstage)
17799 @r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17803 $(HOST_EXPORTS) \
17804 echo Configuring in $(HOST_SUBDIR)/tcl; \
17805 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17806 case $(srcdir) in \
17807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17808 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17810 esac; \
17811 srcdiroption="--srcdir=$${topdir}/tcl"; \
17812 libsrcdir="$$s/tcl"; \
17813 $(SHELL) $${libsrcdir}/configure \
17814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17815 --target=${target_alias} $${srcdiroption} \
17816 || exit 1
17817 @endif tcl
17823 .PHONY: all-tcl maybe-all-tcl
17824 maybe-all-tcl:
17825 @if gcc-bootstrap
17826 all-tcl: stage_current
17827 @endif gcc-bootstrap
17828 @if tcl
17829 TARGET-tcl=all
17830 maybe-all-tcl: all-tcl
17831 all-tcl: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17838 $(TARGET-tcl))
17839 @endif tcl
17844 .PHONY: check-tcl maybe-check-tcl
17845 maybe-check-tcl:
17846 @if tcl
17847 maybe-check-tcl: check-tcl
17849 check-tcl:
17850 @: $(MAKE); $(unstage)
17851 @r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 $(HOST_EXPORTS) \
17854 (cd $(HOST_SUBDIR)/tcl && \
17855 $(MAKE) $(FLAGS_TO_PASS) check)
17857 @endif tcl
17859 .PHONY: install-tcl maybe-install-tcl
17860 maybe-install-tcl:
17861 @if tcl
17862 maybe-install-tcl: install-tcl
17864 install-tcl: installdirs
17865 @: $(MAKE); $(unstage)
17866 @r=`${PWD_COMMAND}`; export r; \
17867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17868 $(HOST_EXPORTS) \
17869 (cd $(HOST_SUBDIR)/tcl && \
17870 $(MAKE) $(FLAGS_TO_PASS) install)
17872 @endif tcl
17874 .PHONY: install-strip-tcl maybe-install-strip-tcl
17875 maybe-install-strip-tcl:
17876 @if tcl
17877 maybe-install-strip-tcl: install-strip-tcl
17879 install-strip-tcl: installdirs
17880 @: $(MAKE); $(unstage)
17881 @r=`${PWD_COMMAND}`; export r; \
17882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17883 $(HOST_EXPORTS) \
17884 (cd $(HOST_SUBDIR)/tcl && \
17885 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17887 @endif tcl
17889 # Other targets (info, dvi, pdf, etc.)
17891 .PHONY: maybe-info-tcl info-tcl
17892 maybe-info-tcl:
17893 @if tcl
17894 maybe-info-tcl: info-tcl
17896 info-tcl: \
17897 configure-tcl
17898 @: $(MAKE); $(unstage)
17899 @[ -f ./tcl/Makefile ] || exit 0; \
17900 r=`${PWD_COMMAND}`; export r; \
17901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17902 $(HOST_EXPORTS) \
17903 for flag in $(EXTRA_HOST_FLAGS) ; do \
17904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17905 done; \
17906 echo "Doing info in tcl" ; \
17907 (cd $(HOST_SUBDIR)/tcl && \
17908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17910 "RANLIB=$${RANLIB}" \
17911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17912 info) \
17913 || exit 1
17915 @endif tcl
17917 .PHONY: maybe-dvi-tcl dvi-tcl
17918 maybe-dvi-tcl:
17919 @if tcl
17920 maybe-dvi-tcl: dvi-tcl
17922 dvi-tcl: \
17923 configure-tcl
17924 @: $(MAKE); $(unstage)
17925 @[ -f ./tcl/Makefile ] || exit 0; \
17926 r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 $(HOST_EXPORTS) \
17929 for flag in $(EXTRA_HOST_FLAGS) ; do \
17930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17931 done; \
17932 echo "Doing dvi in tcl" ; \
17933 (cd $(HOST_SUBDIR)/tcl && \
17934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17936 "RANLIB=$${RANLIB}" \
17937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17938 dvi) \
17939 || exit 1
17941 @endif tcl
17943 .PHONY: maybe-pdf-tcl pdf-tcl
17944 maybe-pdf-tcl:
17945 @if tcl
17946 maybe-pdf-tcl: pdf-tcl
17948 pdf-tcl: \
17949 configure-tcl
17950 @: $(MAKE); $(unstage)
17951 @[ -f ./tcl/Makefile ] || exit 0; \
17952 r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 for flag in $(EXTRA_HOST_FLAGS) ; do \
17956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17957 done; \
17958 echo "Doing pdf in tcl" ; \
17959 (cd $(HOST_SUBDIR)/tcl && \
17960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17962 "RANLIB=$${RANLIB}" \
17963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17964 pdf) \
17965 || exit 1
17967 @endif tcl
17969 .PHONY: maybe-html-tcl html-tcl
17970 maybe-html-tcl:
17971 @if tcl
17972 maybe-html-tcl: html-tcl
17974 html-tcl: \
17975 configure-tcl
17976 @: $(MAKE); $(unstage)
17977 @[ -f ./tcl/Makefile ] || exit 0; \
17978 r=`${PWD_COMMAND}`; export r; \
17979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17980 $(HOST_EXPORTS) \
17981 for flag in $(EXTRA_HOST_FLAGS) ; do \
17982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17983 done; \
17984 echo "Doing html in tcl" ; \
17985 (cd $(HOST_SUBDIR)/tcl && \
17986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17988 "RANLIB=$${RANLIB}" \
17989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17990 html) \
17991 || exit 1
17993 @endif tcl
17995 .PHONY: maybe-TAGS-tcl TAGS-tcl
17996 maybe-TAGS-tcl:
17997 @if tcl
17998 maybe-TAGS-tcl: TAGS-tcl
18000 TAGS-tcl: \
18001 configure-tcl
18002 @: $(MAKE); $(unstage)
18003 @[ -f ./tcl/Makefile ] || exit 0; \
18004 r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 $(HOST_EXPORTS) \
18007 for flag in $(EXTRA_HOST_FLAGS) ; do \
18008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18009 done; \
18010 echo "Doing TAGS in tcl" ; \
18011 (cd $(HOST_SUBDIR)/tcl && \
18012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18014 "RANLIB=$${RANLIB}" \
18015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18016 TAGS) \
18017 || exit 1
18019 @endif tcl
18021 .PHONY: maybe-install-info-tcl install-info-tcl
18022 maybe-install-info-tcl:
18023 @if tcl
18024 maybe-install-info-tcl: install-info-tcl
18026 install-info-tcl: \
18027 configure-tcl \
18028 info-tcl
18029 @: $(MAKE); $(unstage)
18030 @[ -f ./tcl/Makefile ] || exit 0; \
18031 r=`${PWD_COMMAND}`; export r; \
18032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18033 $(HOST_EXPORTS) \
18034 for flag in $(EXTRA_HOST_FLAGS) ; do \
18035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18036 done; \
18037 echo "Doing install-info in tcl" ; \
18038 (cd $(HOST_SUBDIR)/tcl && \
18039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18041 "RANLIB=$${RANLIB}" \
18042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18043 install-info) \
18044 || exit 1
18046 @endif tcl
18048 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18049 maybe-install-pdf-tcl:
18050 @if tcl
18051 maybe-install-pdf-tcl: install-pdf-tcl
18053 install-pdf-tcl: \
18054 configure-tcl \
18055 pdf-tcl
18056 @: $(MAKE); $(unstage)
18057 @[ -f ./tcl/Makefile ] || exit 0; \
18058 r=`${PWD_COMMAND}`; export r; \
18059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18060 $(HOST_EXPORTS) \
18061 for flag in $(EXTRA_HOST_FLAGS) ; do \
18062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18063 done; \
18064 echo "Doing install-pdf in tcl" ; \
18065 (cd $(HOST_SUBDIR)/tcl && \
18066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18068 "RANLIB=$${RANLIB}" \
18069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18070 install-pdf) \
18071 || exit 1
18073 @endif tcl
18075 .PHONY: maybe-install-html-tcl install-html-tcl
18076 maybe-install-html-tcl:
18077 @if tcl
18078 maybe-install-html-tcl: install-html-tcl
18080 install-html-tcl: \
18081 configure-tcl \
18082 html-tcl
18083 @: $(MAKE); $(unstage)
18084 @[ -f ./tcl/Makefile ] || exit 0; \
18085 r=`${PWD_COMMAND}`; export r; \
18086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 $(HOST_EXPORTS) \
18088 for flag in $(EXTRA_HOST_FLAGS) ; do \
18089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18090 done; \
18091 echo "Doing install-html in tcl" ; \
18092 (cd $(HOST_SUBDIR)/tcl && \
18093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18095 "RANLIB=$${RANLIB}" \
18096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18097 install-html) \
18098 || exit 1
18100 @endif tcl
18102 .PHONY: maybe-installcheck-tcl installcheck-tcl
18103 maybe-installcheck-tcl:
18104 @if tcl
18105 maybe-installcheck-tcl: installcheck-tcl
18107 installcheck-tcl: \
18108 configure-tcl
18109 @: $(MAKE); $(unstage)
18110 @[ -f ./tcl/Makefile ] || exit 0; \
18111 r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113 $(HOST_EXPORTS) \
18114 for flag in $(EXTRA_HOST_FLAGS) ; do \
18115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18116 done; \
18117 echo "Doing installcheck in tcl" ; \
18118 (cd $(HOST_SUBDIR)/tcl && \
18119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18121 "RANLIB=$${RANLIB}" \
18122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18123 installcheck) \
18124 || exit 1
18126 @endif tcl
18128 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18129 maybe-mostlyclean-tcl:
18130 @if tcl
18131 maybe-mostlyclean-tcl: mostlyclean-tcl
18133 # tcl doesn't support mostlyclean.
18134 mostlyclean-tcl:
18136 @endif tcl
18138 .PHONY: maybe-clean-tcl clean-tcl
18139 maybe-clean-tcl:
18140 @if tcl
18141 maybe-clean-tcl: clean-tcl
18143 clean-tcl:
18144 @: $(MAKE); $(unstage)
18145 @[ -f ./tcl/Makefile ] || exit 0; \
18146 r=`${PWD_COMMAND}`; export r; \
18147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148 $(HOST_EXPORTS) \
18149 for flag in $(EXTRA_HOST_FLAGS) ; do \
18150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18151 done; \
18152 echo "Doing clean in tcl" ; \
18153 (cd $(HOST_SUBDIR)/tcl && \
18154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18156 "RANLIB=$${RANLIB}" \
18157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18158 clean) \
18159 || exit 1
18161 @endif tcl
18163 .PHONY: maybe-distclean-tcl distclean-tcl
18164 maybe-distclean-tcl:
18165 @if tcl
18166 maybe-distclean-tcl: distclean-tcl
18168 distclean-tcl:
18169 @: $(MAKE); $(unstage)
18170 @[ -f ./tcl/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing distclean in tcl" ; \
18178 (cd $(HOST_SUBDIR)/tcl && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18183 distclean) \
18184 || exit 1
18186 @endif tcl
18188 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18189 maybe-maintainer-clean-tcl:
18190 @if tcl
18191 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18193 maintainer-clean-tcl:
18194 @: $(MAKE); $(unstage)
18195 @[ -f ./tcl/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(HOST_EXPORTS) \
18199 for flag in $(EXTRA_HOST_FLAGS) ; do \
18200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18201 done; \
18202 echo "Doing maintainer-clean in tcl" ; \
18203 (cd $(HOST_SUBDIR)/tcl && \
18204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18206 "RANLIB=$${RANLIB}" \
18207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18208 maintainer-clean) \
18209 || exit 1
18211 @endif tcl
18215 .PHONY: configure-itcl maybe-configure-itcl
18216 maybe-configure-itcl:
18217 @if gcc-bootstrap
18218 configure-itcl: stage_current
18219 @endif gcc-bootstrap
18220 @if itcl
18221 maybe-configure-itcl: configure-itcl
18222 configure-itcl:
18223 @: $(MAKE); $(unstage)
18224 @r=`${PWD_COMMAND}`; export r; \
18225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18226 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18228 $(HOST_EXPORTS) \
18229 echo Configuring in $(HOST_SUBDIR)/itcl; \
18230 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18231 case $(srcdir) in \
18232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18233 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18235 esac; \
18236 srcdiroption="--srcdir=$${topdir}/itcl"; \
18237 libsrcdir="$$s/itcl"; \
18238 $(SHELL) $${libsrcdir}/configure \
18239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18240 --target=${target_alias} $${srcdiroption} \
18241 || exit 1
18242 @endif itcl
18248 .PHONY: all-itcl maybe-all-itcl
18249 maybe-all-itcl:
18250 @if gcc-bootstrap
18251 all-itcl: stage_current
18252 @endif gcc-bootstrap
18253 @if itcl
18254 TARGET-itcl=all
18255 maybe-all-itcl: all-itcl
18256 all-itcl: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18263 $(TARGET-itcl))
18264 @endif itcl
18269 .PHONY: check-itcl maybe-check-itcl
18270 maybe-check-itcl:
18271 @if itcl
18272 maybe-check-itcl: check-itcl
18274 check-itcl:
18275 @: $(MAKE); $(unstage)
18276 @r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 $(HOST_EXPORTS) \
18279 (cd $(HOST_SUBDIR)/itcl && \
18280 $(MAKE) $(FLAGS_TO_PASS) check)
18282 @endif itcl
18284 .PHONY: install-itcl maybe-install-itcl
18285 maybe-install-itcl:
18286 @if itcl
18287 maybe-install-itcl: install-itcl
18289 install-itcl: installdirs
18290 @: $(MAKE); $(unstage)
18291 @r=`${PWD_COMMAND}`; export r; \
18292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18293 $(HOST_EXPORTS) \
18294 (cd $(HOST_SUBDIR)/itcl && \
18295 $(MAKE) $(FLAGS_TO_PASS) install)
18297 @endif itcl
18299 .PHONY: install-strip-itcl maybe-install-strip-itcl
18300 maybe-install-strip-itcl:
18301 @if itcl
18302 maybe-install-strip-itcl: install-strip-itcl
18304 install-strip-itcl: installdirs
18305 @: $(MAKE); $(unstage)
18306 @r=`${PWD_COMMAND}`; export r; \
18307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18308 $(HOST_EXPORTS) \
18309 (cd $(HOST_SUBDIR)/itcl && \
18310 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18312 @endif itcl
18314 # Other targets (info, dvi, pdf, etc.)
18316 .PHONY: maybe-info-itcl info-itcl
18317 maybe-info-itcl:
18318 @if itcl
18319 maybe-info-itcl: info-itcl
18321 info-itcl: \
18322 configure-itcl
18323 @: $(MAKE); $(unstage)
18324 @[ -f ./itcl/Makefile ] || exit 0; \
18325 r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327 $(HOST_EXPORTS) \
18328 for flag in $(EXTRA_HOST_FLAGS) ; do \
18329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18330 done; \
18331 echo "Doing info in itcl" ; \
18332 (cd $(HOST_SUBDIR)/itcl && \
18333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18335 "RANLIB=$${RANLIB}" \
18336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18337 info) \
18338 || exit 1
18340 @endif itcl
18342 .PHONY: maybe-dvi-itcl dvi-itcl
18343 maybe-dvi-itcl:
18344 @if itcl
18345 maybe-dvi-itcl: dvi-itcl
18347 dvi-itcl: \
18348 configure-itcl
18349 @: $(MAKE); $(unstage)
18350 @[ -f ./itcl/Makefile ] || exit 0; \
18351 r=`${PWD_COMMAND}`; export r; \
18352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 $(HOST_EXPORTS) \
18354 for flag in $(EXTRA_HOST_FLAGS) ; do \
18355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18356 done; \
18357 echo "Doing dvi in itcl" ; \
18358 (cd $(HOST_SUBDIR)/itcl && \
18359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18361 "RANLIB=$${RANLIB}" \
18362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18363 dvi) \
18364 || exit 1
18366 @endif itcl
18368 .PHONY: maybe-pdf-itcl pdf-itcl
18369 maybe-pdf-itcl:
18370 @if itcl
18371 maybe-pdf-itcl: pdf-itcl
18373 pdf-itcl: \
18374 configure-itcl
18375 @: $(MAKE); $(unstage)
18376 @[ -f ./itcl/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(HOST_EXPORTS) \
18380 for flag in $(EXTRA_HOST_FLAGS) ; do \
18381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18382 done; \
18383 echo "Doing pdf in itcl" ; \
18384 (cd $(HOST_SUBDIR)/itcl && \
18385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387 "RANLIB=$${RANLIB}" \
18388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18389 pdf) \
18390 || exit 1
18392 @endif itcl
18394 .PHONY: maybe-html-itcl html-itcl
18395 maybe-html-itcl:
18396 @if itcl
18397 maybe-html-itcl: html-itcl
18399 html-itcl: \
18400 configure-itcl
18401 @: $(MAKE); $(unstage)
18402 @[ -f ./itcl/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing html in itcl" ; \
18410 (cd $(HOST_SUBDIR)/itcl && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18415 html) \
18416 || exit 1
18418 @endif itcl
18420 .PHONY: maybe-TAGS-itcl TAGS-itcl
18421 maybe-TAGS-itcl:
18422 @if itcl
18423 maybe-TAGS-itcl: TAGS-itcl
18425 TAGS-itcl: \
18426 configure-itcl
18427 @: $(MAKE); $(unstage)
18428 @[ -f ./itcl/Makefile ] || exit 0; \
18429 r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(HOST_EXPORTS) \
18432 for flag in $(EXTRA_HOST_FLAGS) ; do \
18433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18434 done; \
18435 echo "Doing TAGS in itcl" ; \
18436 (cd $(HOST_SUBDIR)/itcl && \
18437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18439 "RANLIB=$${RANLIB}" \
18440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18441 TAGS) \
18442 || exit 1
18444 @endif itcl
18446 .PHONY: maybe-install-info-itcl install-info-itcl
18447 maybe-install-info-itcl:
18448 @if itcl
18449 maybe-install-info-itcl: install-info-itcl
18451 install-info-itcl: \
18452 configure-itcl \
18453 info-itcl
18454 @: $(MAKE); $(unstage)
18455 @[ -f ./itcl/Makefile ] || exit 0; \
18456 r=`${PWD_COMMAND}`; export r; \
18457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18458 $(HOST_EXPORTS) \
18459 for flag in $(EXTRA_HOST_FLAGS) ; do \
18460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18461 done; \
18462 echo "Doing install-info in itcl" ; \
18463 (cd $(HOST_SUBDIR)/itcl && \
18464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18466 "RANLIB=$${RANLIB}" \
18467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18468 install-info) \
18469 || exit 1
18471 @endif itcl
18473 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18474 maybe-install-pdf-itcl:
18475 @if itcl
18476 maybe-install-pdf-itcl: install-pdf-itcl
18478 install-pdf-itcl: \
18479 configure-itcl \
18480 pdf-itcl
18481 @: $(MAKE); $(unstage)
18482 @[ -f ./itcl/Makefile ] || exit 0; \
18483 r=`${PWD_COMMAND}`; export r; \
18484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18485 $(HOST_EXPORTS) \
18486 for flag in $(EXTRA_HOST_FLAGS) ; do \
18487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18488 done; \
18489 echo "Doing install-pdf in itcl" ; \
18490 (cd $(HOST_SUBDIR)/itcl && \
18491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18493 "RANLIB=$${RANLIB}" \
18494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18495 install-pdf) \
18496 || exit 1
18498 @endif itcl
18500 .PHONY: maybe-install-html-itcl install-html-itcl
18501 maybe-install-html-itcl:
18502 @if itcl
18503 maybe-install-html-itcl: install-html-itcl
18505 install-html-itcl: \
18506 configure-itcl \
18507 html-itcl
18508 @: $(MAKE); $(unstage)
18509 @[ -f ./itcl/Makefile ] || exit 0; \
18510 r=`${PWD_COMMAND}`; export r; \
18511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18512 $(HOST_EXPORTS) \
18513 for flag in $(EXTRA_HOST_FLAGS) ; do \
18514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18515 done; \
18516 echo "Doing install-html in itcl" ; \
18517 (cd $(HOST_SUBDIR)/itcl && \
18518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18520 "RANLIB=$${RANLIB}" \
18521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18522 install-html) \
18523 || exit 1
18525 @endif itcl
18527 .PHONY: maybe-installcheck-itcl installcheck-itcl
18528 maybe-installcheck-itcl:
18529 @if itcl
18530 maybe-installcheck-itcl: installcheck-itcl
18532 installcheck-itcl: \
18533 configure-itcl
18534 @: $(MAKE); $(unstage)
18535 @[ -f ./itcl/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(HOST_EXPORTS) \
18539 for flag in $(EXTRA_HOST_FLAGS) ; do \
18540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18541 done; \
18542 echo "Doing installcheck in itcl" ; \
18543 (cd $(HOST_SUBDIR)/itcl && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18546 "RANLIB=$${RANLIB}" \
18547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18548 installcheck) \
18549 || exit 1
18551 @endif itcl
18553 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18554 maybe-mostlyclean-itcl:
18555 @if itcl
18556 maybe-mostlyclean-itcl: mostlyclean-itcl
18558 mostlyclean-itcl:
18559 @: $(MAKE); $(unstage)
18560 @[ -f ./itcl/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(HOST_EXPORTS) \
18564 for flag in $(EXTRA_HOST_FLAGS) ; do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566 done; \
18567 echo "Doing mostlyclean in itcl" ; \
18568 (cd $(HOST_SUBDIR)/itcl && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18573 mostlyclean) \
18574 || exit 1
18576 @endif itcl
18578 .PHONY: maybe-clean-itcl clean-itcl
18579 maybe-clean-itcl:
18580 @if itcl
18581 maybe-clean-itcl: clean-itcl
18583 clean-itcl:
18584 @: $(MAKE); $(unstage)
18585 @[ -f ./itcl/Makefile ] || exit 0; \
18586 r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 $(HOST_EXPORTS) \
18589 for flag in $(EXTRA_HOST_FLAGS) ; do \
18590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18591 done; \
18592 echo "Doing clean in itcl" ; \
18593 (cd $(HOST_SUBDIR)/itcl && \
18594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596 "RANLIB=$${RANLIB}" \
18597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18598 clean) \
18599 || exit 1
18601 @endif itcl
18603 .PHONY: maybe-distclean-itcl distclean-itcl
18604 maybe-distclean-itcl:
18605 @if itcl
18606 maybe-distclean-itcl: distclean-itcl
18608 distclean-itcl:
18609 @: $(MAKE); $(unstage)
18610 @[ -f ./itcl/Makefile ] || exit 0; \
18611 r=`${PWD_COMMAND}`; export r; \
18612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613 $(HOST_EXPORTS) \
18614 for flag in $(EXTRA_HOST_FLAGS) ; do \
18615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18616 done; \
18617 echo "Doing distclean in itcl" ; \
18618 (cd $(HOST_SUBDIR)/itcl && \
18619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18621 "RANLIB=$${RANLIB}" \
18622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18623 distclean) \
18624 || exit 1
18626 @endif itcl
18628 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18629 maybe-maintainer-clean-itcl:
18630 @if itcl
18631 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18633 maintainer-clean-itcl:
18634 @: $(MAKE); $(unstage)
18635 @[ -f ./itcl/Makefile ] || exit 0; \
18636 r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 $(HOST_EXPORTS) \
18639 for flag in $(EXTRA_HOST_FLAGS) ; do \
18640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641 done; \
18642 echo "Doing maintainer-clean in itcl" ; \
18643 (cd $(HOST_SUBDIR)/itcl && \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646 "RANLIB=$${RANLIB}" \
18647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18648 maintainer-clean) \
18649 || exit 1
18651 @endif itcl
18655 .PHONY: configure-ld maybe-configure-ld
18656 maybe-configure-ld:
18657 @if gcc-bootstrap
18658 configure-ld: stage_current
18659 @endif gcc-bootstrap
18660 @if ld
18661 maybe-configure-ld: configure-ld
18662 configure-ld:
18663 @r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18667 $(HOST_EXPORTS) \
18668 echo Configuring in $(HOST_SUBDIR)/ld; \
18669 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18670 case $(srcdir) in \
18671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18672 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18674 esac; \
18675 srcdiroption="--srcdir=$${topdir}/ld"; \
18676 libsrcdir="$$s/ld"; \
18677 $(SHELL) $${libsrcdir}/configure \
18678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18679 --target=${target_alias} $${srcdiroption} \
18680 || exit 1
18681 @endif ld
18685 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18686 maybe-configure-stage1-ld:
18687 @if ld-bootstrap
18688 maybe-configure-stage1-ld: configure-stage1-ld
18689 configure-stage1-ld:
18690 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18692 @r=`${PWD_COMMAND}`; export r; \
18693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 TFLAGS="$(STAGE1_TFLAGS)"; \
18695 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18696 $(HOST_EXPORTS) \
18697 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18698 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18699 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18700 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18702 cd $(HOST_SUBDIR)/ld || exit 1; \
18703 case $(srcdir) in \
18704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18705 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18707 esac; \
18708 srcdiroption="--srcdir=$${topdir}/ld"; \
18709 libsrcdir="$$s/ld"; \
18710 $(SHELL) $${libsrcdir}/configure \
18711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18712 --target=${target_alias} $${srcdiroption} \
18713 $(STAGE1_CONFIGURE_FLAGS)
18714 @endif ld-bootstrap
18716 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18717 maybe-configure-stage2-ld:
18718 @if ld-bootstrap
18719 maybe-configure-stage2-ld: configure-stage2-ld
18720 configure-stage2-ld:
18721 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18723 @r=`${PWD_COMMAND}`; export r; \
18724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18725 TFLAGS="$(STAGE2_TFLAGS)"; \
18726 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18727 $(HOST_EXPORTS) \
18728 $(POSTSTAGE1_HOST_EXPORTS) \
18729 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18730 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18731 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18732 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18734 cd $(HOST_SUBDIR)/ld || exit 1; \
18735 case $(srcdir) in \
18736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18737 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18739 esac; \
18740 srcdiroption="--srcdir=$${topdir}/ld"; \
18741 libsrcdir="$$s/ld"; \
18742 $(SHELL) $${libsrcdir}/configure \
18743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18744 --target=${target_alias} $${srcdiroption} \
18745 --with-build-libsubdir=$(HOST_SUBDIR) \
18746 $(STAGE2_CONFIGURE_FLAGS)
18747 @endif ld-bootstrap
18749 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18750 maybe-configure-stage3-ld:
18751 @if ld-bootstrap
18752 maybe-configure-stage3-ld: configure-stage3-ld
18753 configure-stage3-ld:
18754 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18755 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18756 @r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 TFLAGS="$(STAGE3_TFLAGS)"; \
18759 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18760 $(HOST_EXPORTS) \
18761 $(POSTSTAGE1_HOST_EXPORTS) \
18762 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18763 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18764 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18765 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18767 cd $(HOST_SUBDIR)/ld || exit 1; \
18768 case $(srcdir) in \
18769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18770 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18772 esac; \
18773 srcdiroption="--srcdir=$${topdir}/ld"; \
18774 libsrcdir="$$s/ld"; \
18775 $(SHELL) $${libsrcdir}/configure \
18776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18777 --target=${target_alias} $${srcdiroption} \
18778 --with-build-libsubdir=$(HOST_SUBDIR) \
18779 $(STAGE3_CONFIGURE_FLAGS)
18780 @endif ld-bootstrap
18782 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18783 maybe-configure-stage4-ld:
18784 @if ld-bootstrap
18785 maybe-configure-stage4-ld: configure-stage4-ld
18786 configure-stage4-ld:
18787 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18789 @r=`${PWD_COMMAND}`; export r; \
18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18791 TFLAGS="$(STAGE4_TFLAGS)"; \
18792 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18793 $(HOST_EXPORTS) \
18794 $(POSTSTAGE1_HOST_EXPORTS) \
18795 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18796 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18797 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18798 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18800 cd $(HOST_SUBDIR)/ld || exit 1; \
18801 case $(srcdir) in \
18802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18803 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18805 esac; \
18806 srcdiroption="--srcdir=$${topdir}/ld"; \
18807 libsrcdir="$$s/ld"; \
18808 $(SHELL) $${libsrcdir}/configure \
18809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18810 --target=${target_alias} $${srcdiroption} \
18811 --with-build-libsubdir=$(HOST_SUBDIR) \
18812 $(STAGE4_CONFIGURE_FLAGS)
18813 @endif ld-bootstrap
18815 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18816 maybe-configure-stageprofile-ld:
18817 @if ld-bootstrap
18818 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18819 configure-stageprofile-ld:
18820 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18822 @r=`${PWD_COMMAND}`; export r; \
18823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18824 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18825 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18826 $(HOST_EXPORTS) \
18827 $(POSTSTAGE1_HOST_EXPORTS) \
18828 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18829 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18830 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18831 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18833 cd $(HOST_SUBDIR)/ld || exit 1; \
18834 case $(srcdir) in \
18835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18836 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18838 esac; \
18839 srcdiroption="--srcdir=$${topdir}/ld"; \
18840 libsrcdir="$$s/ld"; \
18841 $(SHELL) $${libsrcdir}/configure \
18842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18843 --target=${target_alias} $${srcdiroption} \
18844 --with-build-libsubdir=$(HOST_SUBDIR) \
18845 $(STAGEprofile_CONFIGURE_FLAGS)
18846 @endif ld-bootstrap
18848 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18849 maybe-configure-stagefeedback-ld:
18850 @if ld-bootstrap
18851 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18852 configure-stagefeedback-ld:
18853 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18855 @r=`${PWD_COMMAND}`; export r; \
18856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18858 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18859 $(HOST_EXPORTS) \
18860 $(POSTSTAGE1_HOST_EXPORTS) \
18861 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18862 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18863 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18864 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18866 cd $(HOST_SUBDIR)/ld || exit 1; \
18867 case $(srcdir) in \
18868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18869 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18871 esac; \
18872 srcdiroption="--srcdir=$${topdir}/ld"; \
18873 libsrcdir="$$s/ld"; \
18874 $(SHELL) $${libsrcdir}/configure \
18875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18876 --target=${target_alias} $${srcdiroption} \
18877 --with-build-libsubdir=$(HOST_SUBDIR) \
18878 $(STAGEfeedback_CONFIGURE_FLAGS)
18879 @endif ld-bootstrap
18885 .PHONY: all-ld maybe-all-ld
18886 maybe-all-ld:
18887 @if gcc-bootstrap
18888 all-ld: stage_current
18889 @endif gcc-bootstrap
18890 @if ld
18891 TARGET-ld=all
18892 maybe-all-ld: all-ld
18893 all-ld: configure-ld
18894 @r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 $(HOST_EXPORTS) \
18897 (cd $(HOST_SUBDIR)/ld && \
18898 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18899 $(TARGET-ld))
18900 @endif ld
18904 .PHONY: all-stage1-ld maybe-all-stage1-ld
18905 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18906 maybe-all-stage1-ld:
18907 maybe-clean-stage1-ld:
18908 @if ld-bootstrap
18909 maybe-all-stage1-ld: all-stage1-ld
18910 all-stage1: all-stage1-ld
18911 TARGET-stage1-ld = $(TARGET-ld)
18912 all-stage1-ld: configure-stage1-ld
18913 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18914 @r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 TFLAGS="$(STAGE1_TFLAGS)"; \
18917 $(HOST_EXPORTS) \
18918 cd $(HOST_SUBDIR)/ld && \
18919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18920 CFLAGS="$(STAGE1_CFLAGS)" \
18921 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18922 LIBCFLAGS="$(LIBCFLAGS)" \
18923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18926 $(EXTRA_HOST_FLAGS) \
18927 TFLAGS="$(STAGE1_TFLAGS)" \
18928 $(TARGET-stage1-ld)
18930 maybe-clean-stage1-ld: clean-stage1-ld
18931 clean-stage1: clean-stage1-ld
18932 clean-stage1-ld:
18933 @if [ $(current_stage) = stage1 ]; then \
18934 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18935 else \
18936 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18937 $(MAKE) stage1-start; \
18938 fi; \
18939 cd $(HOST_SUBDIR)/ld && \
18940 $(MAKE) $(EXTRA_HOST_FLAGS) \
18941 clean
18942 @endif ld-bootstrap
18945 .PHONY: all-stage2-ld maybe-all-stage2-ld
18946 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18947 maybe-all-stage2-ld:
18948 maybe-clean-stage2-ld:
18949 @if ld-bootstrap
18950 maybe-all-stage2-ld: all-stage2-ld
18951 all-stage2: all-stage2-ld
18952 TARGET-stage2-ld = $(TARGET-ld)
18953 all-stage2-ld: configure-stage2-ld
18954 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18955 @r=`${PWD_COMMAND}`; export r; \
18956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18957 TFLAGS="$(STAGE2_TFLAGS)"; \
18958 $(HOST_EXPORTS) \
18959 $(POSTSTAGE1_HOST_EXPORTS) \
18960 cd $(HOST_SUBDIR)/ld && \
18961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18962 CFLAGS="$(STAGE2_CFLAGS)" \
18963 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18964 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18969 TFLAGS="$(STAGE2_TFLAGS)" \
18970 $(TARGET-stage2-ld)
18972 maybe-clean-stage2-ld: clean-stage2-ld
18973 clean-stage2: clean-stage2-ld
18974 clean-stage2-ld:
18975 @if [ $(current_stage) = stage2 ]; then \
18976 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18977 else \
18978 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18979 $(MAKE) stage2-start; \
18980 fi; \
18981 cd $(HOST_SUBDIR)/ld && \
18982 $(MAKE) $(EXTRA_HOST_FLAGS) \
18983 $(POSTSTAGE1_FLAGS_TO_PASS) \
18984 clean
18985 @endif ld-bootstrap
18988 .PHONY: all-stage3-ld maybe-all-stage3-ld
18989 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18990 maybe-all-stage3-ld:
18991 maybe-clean-stage3-ld:
18992 @if ld-bootstrap
18993 maybe-all-stage3-ld: all-stage3-ld
18994 all-stage3: all-stage3-ld
18995 TARGET-stage3-ld = $(TARGET-ld)
18996 all-stage3-ld: configure-stage3-ld
18997 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18998 @r=`${PWD_COMMAND}`; export r; \
18999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19000 TFLAGS="$(STAGE3_TFLAGS)"; \
19001 $(HOST_EXPORTS) \
19002 $(POSTSTAGE1_HOST_EXPORTS) \
19003 cd $(HOST_SUBDIR)/ld && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19005 CFLAGS="$(STAGE3_CFLAGS)" \
19006 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19007 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19012 TFLAGS="$(STAGE3_TFLAGS)" \
19013 $(TARGET-stage3-ld)
19015 maybe-clean-stage3-ld: clean-stage3-ld
19016 clean-stage3: clean-stage3-ld
19017 clean-stage3-ld:
19018 @if [ $(current_stage) = stage3 ]; then \
19019 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19020 else \
19021 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19022 $(MAKE) stage3-start; \
19023 fi; \
19024 cd $(HOST_SUBDIR)/ld && \
19025 $(MAKE) $(EXTRA_HOST_FLAGS) \
19026 $(POSTSTAGE1_FLAGS_TO_PASS) \
19027 clean
19028 @endif ld-bootstrap
19031 .PHONY: all-stage4-ld maybe-all-stage4-ld
19032 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19033 maybe-all-stage4-ld:
19034 maybe-clean-stage4-ld:
19035 @if ld-bootstrap
19036 maybe-all-stage4-ld: all-stage4-ld
19037 all-stage4: all-stage4-ld
19038 TARGET-stage4-ld = $(TARGET-ld)
19039 all-stage4-ld: configure-stage4-ld
19040 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19041 @r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 TFLAGS="$(STAGE4_TFLAGS)"; \
19044 $(HOST_EXPORTS) \
19045 $(POSTSTAGE1_HOST_EXPORTS) \
19046 cd $(HOST_SUBDIR)/ld && \
19047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19048 CFLAGS="$(STAGE4_CFLAGS)" \
19049 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19050 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19055 TFLAGS="$(STAGE4_TFLAGS)" \
19056 $(TARGET-stage4-ld)
19058 maybe-clean-stage4-ld: clean-stage4-ld
19059 clean-stage4: clean-stage4-ld
19060 clean-stage4-ld:
19061 @if [ $(current_stage) = stage4 ]; then \
19062 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19063 else \
19064 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19065 $(MAKE) stage4-start; \
19066 fi; \
19067 cd $(HOST_SUBDIR)/ld && \
19068 $(MAKE) $(EXTRA_HOST_FLAGS) \
19069 $(POSTSTAGE1_FLAGS_TO_PASS) \
19070 clean
19071 @endif ld-bootstrap
19074 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19075 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19076 maybe-all-stageprofile-ld:
19077 maybe-clean-stageprofile-ld:
19078 @if ld-bootstrap
19079 maybe-all-stageprofile-ld: all-stageprofile-ld
19080 all-stageprofile: all-stageprofile-ld
19081 TARGET-stageprofile-ld = $(TARGET-ld)
19082 all-stageprofile-ld: configure-stageprofile-ld
19083 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19084 @r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19087 $(HOST_EXPORTS) \
19088 $(POSTSTAGE1_HOST_EXPORTS) \
19089 cd $(HOST_SUBDIR)/ld && \
19090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19091 CFLAGS="$(STAGEprofile_CFLAGS)" \
19092 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19093 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19098 TFLAGS="$(STAGEprofile_TFLAGS)" \
19099 $(TARGET-stageprofile-ld)
19101 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19102 clean-stageprofile: clean-stageprofile-ld
19103 clean-stageprofile-ld:
19104 @if [ $(current_stage) = stageprofile ]; then \
19105 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19106 else \
19107 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19108 $(MAKE) stageprofile-start; \
19109 fi; \
19110 cd $(HOST_SUBDIR)/ld && \
19111 $(MAKE) $(EXTRA_HOST_FLAGS) \
19112 $(POSTSTAGE1_FLAGS_TO_PASS) \
19113 clean
19114 @endif ld-bootstrap
19117 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19118 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19119 maybe-all-stagefeedback-ld:
19120 maybe-clean-stagefeedback-ld:
19121 @if ld-bootstrap
19122 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19123 all-stagefeedback: all-stagefeedback-ld
19124 TARGET-stagefeedback-ld = $(TARGET-ld)
19125 all-stagefeedback-ld: configure-stagefeedback-ld
19126 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19127 @r=`${PWD_COMMAND}`; export r; \
19128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19129 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19130 $(HOST_EXPORTS) \
19131 $(POSTSTAGE1_HOST_EXPORTS) \
19132 cd $(HOST_SUBDIR)/ld && \
19133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19134 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19135 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19136 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19141 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19142 $(TARGET-stagefeedback-ld)
19144 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19145 clean-stagefeedback: clean-stagefeedback-ld
19146 clean-stagefeedback-ld:
19147 @if [ $(current_stage) = stagefeedback ]; then \
19148 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19149 else \
19150 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19151 $(MAKE) stagefeedback-start; \
19152 fi; \
19153 cd $(HOST_SUBDIR)/ld && \
19154 $(MAKE) $(EXTRA_HOST_FLAGS) \
19155 $(POSTSTAGE1_FLAGS_TO_PASS) \
19156 clean
19157 @endif ld-bootstrap
19163 .PHONY: check-ld maybe-check-ld
19164 maybe-check-ld:
19165 @if ld
19166 maybe-check-ld: check-ld
19168 check-ld:
19169 @: $(MAKE); $(unstage)
19170 @r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19172 $(HOST_EXPORTS) \
19173 (cd $(HOST_SUBDIR)/ld && \
19174 $(MAKE) $(FLAGS_TO_PASS) check)
19176 @endif ld
19178 .PHONY: install-ld maybe-install-ld
19179 maybe-install-ld:
19180 @if ld
19181 maybe-install-ld: install-ld
19183 install-ld: installdirs
19184 @: $(MAKE); $(unstage)
19185 @r=`${PWD_COMMAND}`; export r; \
19186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19187 $(HOST_EXPORTS) \
19188 (cd $(HOST_SUBDIR)/ld && \
19189 $(MAKE) $(FLAGS_TO_PASS) install)
19191 @endif ld
19193 .PHONY: install-strip-ld maybe-install-strip-ld
19194 maybe-install-strip-ld:
19195 @if ld
19196 maybe-install-strip-ld: install-strip-ld
19198 install-strip-ld: installdirs
19199 @: $(MAKE); $(unstage)
19200 @r=`${PWD_COMMAND}`; export r; \
19201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 $(HOST_EXPORTS) \
19203 (cd $(HOST_SUBDIR)/ld && \
19204 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19206 @endif ld
19208 # Other targets (info, dvi, pdf, etc.)
19210 .PHONY: maybe-info-ld info-ld
19211 maybe-info-ld:
19212 @if ld
19213 maybe-info-ld: info-ld
19215 info-ld: \
19216 configure-ld
19217 @[ -f ./ld/Makefile ] || exit 0; \
19218 r=`${PWD_COMMAND}`; export r; \
19219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19220 $(HOST_EXPORTS) \
19221 for flag in $(EXTRA_HOST_FLAGS) ; do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19223 done; \
19224 echo "Doing info in ld" ; \
19225 (cd $(HOST_SUBDIR)/ld && \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19228 "RANLIB=$${RANLIB}" \
19229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19230 info) \
19231 || exit 1
19233 @endif ld
19235 .PHONY: maybe-dvi-ld dvi-ld
19236 maybe-dvi-ld:
19237 @if ld
19238 maybe-dvi-ld: dvi-ld
19240 dvi-ld: \
19241 configure-ld
19242 @[ -f ./ld/Makefile ] || exit 0; \
19243 r=`${PWD_COMMAND}`; export r; \
19244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19245 $(HOST_EXPORTS) \
19246 for flag in $(EXTRA_HOST_FLAGS) ; do \
19247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19248 done; \
19249 echo "Doing dvi in ld" ; \
19250 (cd $(HOST_SUBDIR)/ld && \
19251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253 "RANLIB=$${RANLIB}" \
19254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19255 dvi) \
19256 || exit 1
19258 @endif ld
19260 .PHONY: maybe-pdf-ld pdf-ld
19261 maybe-pdf-ld:
19262 @if ld
19263 maybe-pdf-ld: pdf-ld
19265 pdf-ld: \
19266 configure-ld
19267 @[ -f ./ld/Makefile ] || exit 0; \
19268 r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(HOST_EXPORTS) \
19271 for flag in $(EXTRA_HOST_FLAGS) ; do \
19272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19273 done; \
19274 echo "Doing pdf in ld" ; \
19275 (cd $(HOST_SUBDIR)/ld && \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278 "RANLIB=$${RANLIB}" \
19279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19280 pdf) \
19281 || exit 1
19283 @endif ld
19285 .PHONY: maybe-html-ld html-ld
19286 maybe-html-ld:
19287 @if ld
19288 maybe-html-ld: html-ld
19290 html-ld: \
19291 configure-ld
19292 @[ -f ./ld/Makefile ] || exit 0; \
19293 r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 $(HOST_EXPORTS) \
19296 for flag in $(EXTRA_HOST_FLAGS) ; do \
19297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19298 done; \
19299 echo "Doing html in ld" ; \
19300 (cd $(HOST_SUBDIR)/ld && \
19301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303 "RANLIB=$${RANLIB}" \
19304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19305 html) \
19306 || exit 1
19308 @endif ld
19310 .PHONY: maybe-TAGS-ld TAGS-ld
19311 maybe-TAGS-ld:
19312 @if ld
19313 maybe-TAGS-ld: TAGS-ld
19315 TAGS-ld: \
19316 configure-ld
19317 @[ -f ./ld/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing TAGS in ld" ; \
19325 (cd $(HOST_SUBDIR)/ld && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19330 TAGS) \
19331 || exit 1
19333 @endif ld
19335 .PHONY: maybe-install-info-ld install-info-ld
19336 maybe-install-info-ld:
19337 @if ld
19338 maybe-install-info-ld: install-info-ld
19340 install-info-ld: \
19341 configure-ld \
19342 info-ld
19343 @[ -f ./ld/Makefile ] || exit 0; \
19344 r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346 $(HOST_EXPORTS) \
19347 for flag in $(EXTRA_HOST_FLAGS) ; do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349 done; \
19350 echo "Doing install-info in ld" ; \
19351 (cd $(HOST_SUBDIR)/ld && \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19356 install-info) \
19357 || exit 1
19359 @endif ld
19361 .PHONY: maybe-install-pdf-ld install-pdf-ld
19362 maybe-install-pdf-ld:
19363 @if ld
19364 maybe-install-pdf-ld: install-pdf-ld
19366 install-pdf-ld: \
19367 configure-ld \
19368 pdf-ld
19369 @[ -f ./ld/Makefile ] || exit 0; \
19370 r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19372 $(HOST_EXPORTS) \
19373 for flag in $(EXTRA_HOST_FLAGS) ; do \
19374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19375 done; \
19376 echo "Doing install-pdf in ld" ; \
19377 (cd $(HOST_SUBDIR)/ld && \
19378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19380 "RANLIB=$${RANLIB}" \
19381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19382 install-pdf) \
19383 || exit 1
19385 @endif ld
19387 .PHONY: maybe-install-html-ld install-html-ld
19388 maybe-install-html-ld:
19389 @if ld
19390 maybe-install-html-ld: install-html-ld
19392 install-html-ld: \
19393 configure-ld \
19394 html-ld
19395 @[ -f ./ld/Makefile ] || exit 0; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(HOST_EXPORTS) \
19399 for flag in $(EXTRA_HOST_FLAGS) ; do \
19400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401 done; \
19402 echo "Doing install-html in ld" ; \
19403 (cd $(HOST_SUBDIR)/ld && \
19404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19406 "RANLIB=$${RANLIB}" \
19407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19408 install-html) \
19409 || exit 1
19411 @endif ld
19413 .PHONY: maybe-installcheck-ld installcheck-ld
19414 maybe-installcheck-ld:
19415 @if ld
19416 maybe-installcheck-ld: installcheck-ld
19418 installcheck-ld: \
19419 configure-ld
19420 @[ -f ./ld/Makefile ] || exit 0; \
19421 r=`${PWD_COMMAND}`; export r; \
19422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19423 $(HOST_EXPORTS) \
19424 for flag in $(EXTRA_HOST_FLAGS) ; do \
19425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19426 done; \
19427 echo "Doing installcheck in ld" ; \
19428 (cd $(HOST_SUBDIR)/ld && \
19429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19431 "RANLIB=$${RANLIB}" \
19432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19433 installcheck) \
19434 || exit 1
19436 @endif ld
19438 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19439 maybe-mostlyclean-ld:
19440 @if ld
19441 maybe-mostlyclean-ld: mostlyclean-ld
19443 mostlyclean-ld:
19444 @[ -f ./ld/Makefile ] || exit 0; \
19445 r=`${PWD_COMMAND}`; export r; \
19446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19447 $(HOST_EXPORTS) \
19448 for flag in $(EXTRA_HOST_FLAGS) ; do \
19449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19450 done; \
19451 echo "Doing mostlyclean in ld" ; \
19452 (cd $(HOST_SUBDIR)/ld && \
19453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19455 "RANLIB=$${RANLIB}" \
19456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19457 mostlyclean) \
19458 || exit 1
19460 @endif ld
19462 .PHONY: maybe-clean-ld clean-ld
19463 maybe-clean-ld:
19464 @if ld
19465 maybe-clean-ld: clean-ld
19467 clean-ld:
19468 @[ -f ./ld/Makefile ] || exit 0; \
19469 r=`${PWD_COMMAND}`; export r; \
19470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19471 $(HOST_EXPORTS) \
19472 for flag in $(EXTRA_HOST_FLAGS) ; do \
19473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19474 done; \
19475 echo "Doing clean in ld" ; \
19476 (cd $(HOST_SUBDIR)/ld && \
19477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19479 "RANLIB=$${RANLIB}" \
19480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19481 clean) \
19482 || exit 1
19484 @endif ld
19486 .PHONY: maybe-distclean-ld distclean-ld
19487 maybe-distclean-ld:
19488 @if ld
19489 maybe-distclean-ld: distclean-ld
19491 distclean-ld:
19492 @[ -f ./ld/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(HOST_EXPORTS) \
19496 for flag in $(EXTRA_HOST_FLAGS) ; do \
19497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 done; \
19499 echo "Doing distclean in ld" ; \
19500 (cd $(HOST_SUBDIR)/ld && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19503 "RANLIB=$${RANLIB}" \
19504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19505 distclean) \
19506 || exit 1
19508 @endif ld
19510 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19511 maybe-maintainer-clean-ld:
19512 @if ld
19513 maybe-maintainer-clean-ld: maintainer-clean-ld
19515 maintainer-clean-ld:
19516 @[ -f ./ld/Makefile ] || exit 0; \
19517 r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19519 $(HOST_EXPORTS) \
19520 for flag in $(EXTRA_HOST_FLAGS) ; do \
19521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19522 done; \
19523 echo "Doing maintainer-clean in ld" ; \
19524 (cd $(HOST_SUBDIR)/ld && \
19525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19527 "RANLIB=$${RANLIB}" \
19528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19529 maintainer-clean) \
19530 || exit 1
19532 @endif ld
19536 .PHONY: configure-libcpp maybe-configure-libcpp
19537 maybe-configure-libcpp:
19538 @if gcc-bootstrap
19539 configure-libcpp: stage_current
19540 @endif gcc-bootstrap
19541 @if libcpp
19542 maybe-configure-libcpp: configure-libcpp
19543 configure-libcpp:
19544 @r=`${PWD_COMMAND}`; export r; \
19545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19546 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19548 $(HOST_EXPORTS) \
19549 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19550 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19551 case $(srcdir) in \
19552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19553 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19555 esac; \
19556 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19557 libsrcdir="$$s/libcpp"; \
19558 $(SHELL) $${libsrcdir}/configure \
19559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19560 --target=${target_alias} $${srcdiroption} \
19561 || exit 1
19562 @endif libcpp
19566 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19567 maybe-configure-stage1-libcpp:
19568 @if libcpp-bootstrap
19569 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19570 configure-stage1-libcpp:
19571 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19573 @r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 TFLAGS="$(STAGE1_TFLAGS)"; \
19576 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19577 $(HOST_EXPORTS) \
19578 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19579 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19580 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19581 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19583 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19584 case $(srcdir) in \
19585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19586 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19588 esac; \
19589 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19590 libsrcdir="$$s/libcpp"; \
19591 $(SHELL) $${libsrcdir}/configure \
19592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19593 --target=${target_alias} $${srcdiroption} \
19594 $(STAGE1_CONFIGURE_FLAGS)
19595 @endif libcpp-bootstrap
19597 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19598 maybe-configure-stage2-libcpp:
19599 @if libcpp-bootstrap
19600 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19601 configure-stage2-libcpp:
19602 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19604 @r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19606 TFLAGS="$(STAGE2_TFLAGS)"; \
19607 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19608 $(HOST_EXPORTS) \
19609 $(POSTSTAGE1_HOST_EXPORTS) \
19610 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19611 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19612 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19613 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19615 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19616 case $(srcdir) in \
19617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19618 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19620 esac; \
19621 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19622 libsrcdir="$$s/libcpp"; \
19623 $(SHELL) $${libsrcdir}/configure \
19624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19625 --target=${target_alias} $${srcdiroption} \
19626 --with-build-libsubdir=$(HOST_SUBDIR) \
19627 $(STAGE2_CONFIGURE_FLAGS)
19628 @endif libcpp-bootstrap
19630 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19631 maybe-configure-stage3-libcpp:
19632 @if libcpp-bootstrap
19633 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19634 configure-stage3-libcpp:
19635 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19637 @r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 TFLAGS="$(STAGE3_TFLAGS)"; \
19640 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19641 $(HOST_EXPORTS) \
19642 $(POSTSTAGE1_HOST_EXPORTS) \
19643 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19644 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19645 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19646 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19648 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19649 case $(srcdir) in \
19650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19651 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19653 esac; \
19654 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19655 libsrcdir="$$s/libcpp"; \
19656 $(SHELL) $${libsrcdir}/configure \
19657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19658 --target=${target_alias} $${srcdiroption} \
19659 --with-build-libsubdir=$(HOST_SUBDIR) \
19660 $(STAGE3_CONFIGURE_FLAGS)
19661 @endif libcpp-bootstrap
19663 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19664 maybe-configure-stage4-libcpp:
19665 @if libcpp-bootstrap
19666 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19667 configure-stage4-libcpp:
19668 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19670 @r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 TFLAGS="$(STAGE4_TFLAGS)"; \
19673 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19674 $(HOST_EXPORTS) \
19675 $(POSTSTAGE1_HOST_EXPORTS) \
19676 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19677 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19678 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19679 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19681 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19682 case $(srcdir) in \
19683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19684 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19686 esac; \
19687 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19688 libsrcdir="$$s/libcpp"; \
19689 $(SHELL) $${libsrcdir}/configure \
19690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19691 --target=${target_alias} $${srcdiroption} \
19692 --with-build-libsubdir=$(HOST_SUBDIR) \
19693 $(STAGE4_CONFIGURE_FLAGS)
19694 @endif libcpp-bootstrap
19696 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19697 maybe-configure-stageprofile-libcpp:
19698 @if libcpp-bootstrap
19699 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19700 configure-stageprofile-libcpp:
19701 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19703 @r=`${PWD_COMMAND}`; export r; \
19704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19705 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19706 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19707 $(HOST_EXPORTS) \
19708 $(POSTSTAGE1_HOST_EXPORTS) \
19709 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19710 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19711 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19712 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19714 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19715 case $(srcdir) in \
19716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19717 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19719 esac; \
19720 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19721 libsrcdir="$$s/libcpp"; \
19722 $(SHELL) $${libsrcdir}/configure \
19723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19724 --target=${target_alias} $${srcdiroption} \
19725 --with-build-libsubdir=$(HOST_SUBDIR) \
19726 $(STAGEprofile_CONFIGURE_FLAGS)
19727 @endif libcpp-bootstrap
19729 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19730 maybe-configure-stagefeedback-libcpp:
19731 @if libcpp-bootstrap
19732 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19733 configure-stagefeedback-libcpp:
19734 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19736 @r=`${PWD_COMMAND}`; export r; \
19737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19738 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19739 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19740 $(HOST_EXPORTS) \
19741 $(POSTSTAGE1_HOST_EXPORTS) \
19742 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19743 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19744 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19745 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19747 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19748 case $(srcdir) in \
19749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19750 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19752 esac; \
19753 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19754 libsrcdir="$$s/libcpp"; \
19755 $(SHELL) $${libsrcdir}/configure \
19756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19757 --target=${target_alias} $${srcdiroption} \
19758 --with-build-libsubdir=$(HOST_SUBDIR) \
19759 $(STAGEfeedback_CONFIGURE_FLAGS)
19760 @endif libcpp-bootstrap
19766 .PHONY: all-libcpp maybe-all-libcpp
19767 maybe-all-libcpp:
19768 @if gcc-bootstrap
19769 all-libcpp: stage_current
19770 @endif gcc-bootstrap
19771 @if libcpp
19772 TARGET-libcpp=all
19773 maybe-all-libcpp: all-libcpp
19774 all-libcpp: configure-libcpp
19775 @r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 $(HOST_EXPORTS) \
19778 (cd $(HOST_SUBDIR)/libcpp && \
19779 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19780 $(TARGET-libcpp))
19781 @endif libcpp
19785 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19786 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19787 maybe-all-stage1-libcpp:
19788 maybe-clean-stage1-libcpp:
19789 @if libcpp-bootstrap
19790 maybe-all-stage1-libcpp: all-stage1-libcpp
19791 all-stage1: all-stage1-libcpp
19792 TARGET-stage1-libcpp = $(TARGET-libcpp)
19793 all-stage1-libcpp: configure-stage1-libcpp
19794 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19795 @r=`${PWD_COMMAND}`; export r; \
19796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19797 TFLAGS="$(STAGE1_TFLAGS)"; \
19798 $(HOST_EXPORTS) \
19799 cd $(HOST_SUBDIR)/libcpp && \
19800 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19801 CFLAGS="$(STAGE1_CFLAGS)" \
19802 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19803 LIBCFLAGS="$(LIBCFLAGS)" \
19804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19807 $(EXTRA_HOST_FLAGS) \
19808 TFLAGS="$(STAGE1_TFLAGS)" \
19809 $(TARGET-stage1-libcpp)
19811 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19812 clean-stage1: clean-stage1-libcpp
19813 clean-stage1-libcpp:
19814 @if [ $(current_stage) = stage1 ]; then \
19815 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19816 else \
19817 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19818 $(MAKE) stage1-start; \
19819 fi; \
19820 cd $(HOST_SUBDIR)/libcpp && \
19821 $(MAKE) $(EXTRA_HOST_FLAGS) \
19822 clean
19823 @endif libcpp-bootstrap
19826 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19827 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19828 maybe-all-stage2-libcpp:
19829 maybe-clean-stage2-libcpp:
19830 @if libcpp-bootstrap
19831 maybe-all-stage2-libcpp: all-stage2-libcpp
19832 all-stage2: all-stage2-libcpp
19833 TARGET-stage2-libcpp = $(TARGET-libcpp)
19834 all-stage2-libcpp: configure-stage2-libcpp
19835 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19836 @r=`${PWD_COMMAND}`; export r; \
19837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19838 TFLAGS="$(STAGE2_TFLAGS)"; \
19839 $(HOST_EXPORTS) \
19840 $(POSTSTAGE1_HOST_EXPORTS) \
19841 cd $(HOST_SUBDIR)/libcpp && \
19842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19843 CFLAGS="$(STAGE2_CFLAGS)" \
19844 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19845 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19849 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19850 TFLAGS="$(STAGE2_TFLAGS)" \
19851 $(TARGET-stage2-libcpp)
19853 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19854 clean-stage2: clean-stage2-libcpp
19855 clean-stage2-libcpp:
19856 @if [ $(current_stage) = stage2 ]; then \
19857 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19858 else \
19859 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19860 $(MAKE) stage2-start; \
19861 fi; \
19862 cd $(HOST_SUBDIR)/libcpp && \
19863 $(MAKE) $(EXTRA_HOST_FLAGS) \
19864 $(POSTSTAGE1_FLAGS_TO_PASS) \
19865 clean
19866 @endif libcpp-bootstrap
19869 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19870 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19871 maybe-all-stage3-libcpp:
19872 maybe-clean-stage3-libcpp:
19873 @if libcpp-bootstrap
19874 maybe-all-stage3-libcpp: all-stage3-libcpp
19875 all-stage3: all-stage3-libcpp
19876 TARGET-stage3-libcpp = $(TARGET-libcpp)
19877 all-stage3-libcpp: configure-stage3-libcpp
19878 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19879 @r=`${PWD_COMMAND}`; export r; \
19880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19881 TFLAGS="$(STAGE3_TFLAGS)"; \
19882 $(HOST_EXPORTS) \
19883 $(POSTSTAGE1_HOST_EXPORTS) \
19884 cd $(HOST_SUBDIR)/libcpp && \
19885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19886 CFLAGS="$(STAGE3_CFLAGS)" \
19887 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19888 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19892 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19893 TFLAGS="$(STAGE3_TFLAGS)" \
19894 $(TARGET-stage3-libcpp)
19896 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19897 clean-stage3: clean-stage3-libcpp
19898 clean-stage3-libcpp:
19899 @if [ $(current_stage) = stage3 ]; then \
19900 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19901 else \
19902 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19903 $(MAKE) stage3-start; \
19904 fi; \
19905 cd $(HOST_SUBDIR)/libcpp && \
19906 $(MAKE) $(EXTRA_HOST_FLAGS) \
19907 $(POSTSTAGE1_FLAGS_TO_PASS) \
19908 clean
19909 @endif libcpp-bootstrap
19912 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19913 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19914 maybe-all-stage4-libcpp:
19915 maybe-clean-stage4-libcpp:
19916 @if libcpp-bootstrap
19917 maybe-all-stage4-libcpp: all-stage4-libcpp
19918 all-stage4: all-stage4-libcpp
19919 TARGET-stage4-libcpp = $(TARGET-libcpp)
19920 all-stage4-libcpp: configure-stage4-libcpp
19921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19922 @r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 TFLAGS="$(STAGE4_TFLAGS)"; \
19925 $(HOST_EXPORTS) \
19926 $(POSTSTAGE1_HOST_EXPORTS) \
19927 cd $(HOST_SUBDIR)/libcpp && \
19928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19929 CFLAGS="$(STAGE4_CFLAGS)" \
19930 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19931 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19936 TFLAGS="$(STAGE4_TFLAGS)" \
19937 $(TARGET-stage4-libcpp)
19939 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19940 clean-stage4: clean-stage4-libcpp
19941 clean-stage4-libcpp:
19942 @if [ $(current_stage) = stage4 ]; then \
19943 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19944 else \
19945 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19946 $(MAKE) stage4-start; \
19947 fi; \
19948 cd $(HOST_SUBDIR)/libcpp && \
19949 $(MAKE) $(EXTRA_HOST_FLAGS) \
19950 $(POSTSTAGE1_FLAGS_TO_PASS) \
19951 clean
19952 @endif libcpp-bootstrap
19955 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19956 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19957 maybe-all-stageprofile-libcpp:
19958 maybe-clean-stageprofile-libcpp:
19959 @if libcpp-bootstrap
19960 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19961 all-stageprofile: all-stageprofile-libcpp
19962 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19963 all-stageprofile-libcpp: configure-stageprofile-libcpp
19964 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19965 @r=`${PWD_COMMAND}`; export r; \
19966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19967 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19968 $(HOST_EXPORTS) \
19969 $(POSTSTAGE1_HOST_EXPORTS) \
19970 cd $(HOST_SUBDIR)/libcpp && \
19971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19972 CFLAGS="$(STAGEprofile_CFLAGS)" \
19973 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19974 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19979 TFLAGS="$(STAGEprofile_TFLAGS)" \
19980 $(TARGET-stageprofile-libcpp)
19982 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
19983 clean-stageprofile: clean-stageprofile-libcpp
19984 clean-stageprofile-libcpp:
19985 @if [ $(current_stage) = stageprofile ]; then \
19986 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19987 else \
19988 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
19989 $(MAKE) stageprofile-start; \
19990 fi; \
19991 cd $(HOST_SUBDIR)/libcpp && \
19992 $(MAKE) $(EXTRA_HOST_FLAGS) \
19993 $(POSTSTAGE1_FLAGS_TO_PASS) \
19994 clean
19995 @endif libcpp-bootstrap
19998 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
19999 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20000 maybe-all-stagefeedback-libcpp:
20001 maybe-clean-stagefeedback-libcpp:
20002 @if libcpp-bootstrap
20003 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20004 all-stagefeedback: all-stagefeedback-libcpp
20005 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20006 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20007 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20008 @r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20011 $(HOST_EXPORTS) \
20012 $(POSTSTAGE1_HOST_EXPORTS) \
20013 cd $(HOST_SUBDIR)/libcpp && \
20014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20015 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20016 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20017 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20022 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20023 $(TARGET-stagefeedback-libcpp)
20025 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20026 clean-stagefeedback: clean-stagefeedback-libcpp
20027 clean-stagefeedback-libcpp:
20028 @if [ $(current_stage) = stagefeedback ]; then \
20029 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20030 else \
20031 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20032 $(MAKE) stagefeedback-start; \
20033 fi; \
20034 cd $(HOST_SUBDIR)/libcpp && \
20035 $(MAKE) $(EXTRA_HOST_FLAGS) \
20036 $(POSTSTAGE1_FLAGS_TO_PASS) \
20037 clean
20038 @endif libcpp-bootstrap
20044 .PHONY: check-libcpp maybe-check-libcpp
20045 maybe-check-libcpp:
20046 @if libcpp
20047 maybe-check-libcpp: check-libcpp
20049 check-libcpp:
20050 @: $(MAKE); $(unstage)
20051 @r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 $(HOST_EXPORTS) \
20054 (cd $(HOST_SUBDIR)/libcpp && \
20055 $(MAKE) $(FLAGS_TO_PASS) check)
20057 @endif libcpp
20059 .PHONY: install-libcpp maybe-install-libcpp
20060 maybe-install-libcpp:
20061 @if libcpp
20062 maybe-install-libcpp: install-libcpp
20064 install-libcpp: installdirs
20065 @: $(MAKE); $(unstage)
20066 @r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 $(HOST_EXPORTS) \
20069 (cd $(HOST_SUBDIR)/libcpp && \
20070 $(MAKE) $(FLAGS_TO_PASS) install)
20072 @endif libcpp
20074 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20075 maybe-install-strip-libcpp:
20076 @if libcpp
20077 maybe-install-strip-libcpp: install-strip-libcpp
20079 install-strip-libcpp: installdirs
20080 @: $(MAKE); $(unstage)
20081 @r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 (cd $(HOST_SUBDIR)/libcpp && \
20085 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20087 @endif libcpp
20089 # Other targets (info, dvi, pdf, etc.)
20091 .PHONY: maybe-info-libcpp info-libcpp
20092 maybe-info-libcpp:
20093 @if libcpp
20094 maybe-info-libcpp: info-libcpp
20096 info-libcpp: \
20097 configure-libcpp
20098 @[ -f ./libcpp/Makefile ] || exit 0; \
20099 r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 $(HOST_EXPORTS) \
20102 for flag in $(EXTRA_HOST_FLAGS) ; do \
20103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20104 done; \
20105 echo "Doing info in libcpp" ; \
20106 (cd $(HOST_SUBDIR)/libcpp && \
20107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20109 "RANLIB=$${RANLIB}" \
20110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20111 info) \
20112 || exit 1
20114 @endif libcpp
20116 .PHONY: maybe-dvi-libcpp dvi-libcpp
20117 maybe-dvi-libcpp:
20118 @if libcpp
20119 maybe-dvi-libcpp: dvi-libcpp
20121 dvi-libcpp: \
20122 configure-libcpp
20123 @[ -f ./libcpp/Makefile ] || exit 0; \
20124 r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing dvi in libcpp" ; \
20131 (cd $(HOST_SUBDIR)/libcpp && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20136 dvi) \
20137 || exit 1
20139 @endif libcpp
20141 .PHONY: maybe-pdf-libcpp pdf-libcpp
20142 maybe-pdf-libcpp:
20143 @if libcpp
20144 maybe-pdf-libcpp: pdf-libcpp
20146 pdf-libcpp: \
20147 configure-libcpp
20148 @[ -f ./libcpp/Makefile ] || exit 0; \
20149 r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(HOST_EXPORTS) \
20152 for flag in $(EXTRA_HOST_FLAGS) ; do \
20153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154 done; \
20155 echo "Doing pdf in libcpp" ; \
20156 (cd $(HOST_SUBDIR)/libcpp && \
20157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159 "RANLIB=$${RANLIB}" \
20160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20161 pdf) \
20162 || exit 1
20164 @endif libcpp
20166 .PHONY: maybe-html-libcpp html-libcpp
20167 maybe-html-libcpp:
20168 @if libcpp
20169 maybe-html-libcpp: html-libcpp
20171 html-libcpp: \
20172 configure-libcpp
20173 @[ -f ./libcpp/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 for flag in $(EXTRA_HOST_FLAGS) ; do \
20178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20179 done; \
20180 echo "Doing html in libcpp" ; \
20181 (cd $(HOST_SUBDIR)/libcpp && \
20182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20184 "RANLIB=$${RANLIB}" \
20185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20186 html) \
20187 || exit 1
20189 @endif libcpp
20191 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20192 maybe-TAGS-libcpp:
20193 @if libcpp
20194 maybe-TAGS-libcpp: TAGS-libcpp
20196 TAGS-libcpp: \
20197 configure-libcpp
20198 @[ -f ./libcpp/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing TAGS in libcpp" ; \
20206 (cd $(HOST_SUBDIR)/libcpp && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20211 TAGS) \
20212 || exit 1
20214 @endif libcpp
20216 .PHONY: maybe-install-info-libcpp install-info-libcpp
20217 maybe-install-info-libcpp:
20218 @if libcpp
20219 maybe-install-info-libcpp: install-info-libcpp
20221 install-info-libcpp: \
20222 configure-libcpp \
20223 info-libcpp
20224 @[ -f ./libcpp/Makefile ] || exit 0; \
20225 r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 $(HOST_EXPORTS) \
20228 for flag in $(EXTRA_HOST_FLAGS) ; do \
20229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20230 done; \
20231 echo "Doing install-info in libcpp" ; \
20232 (cd $(HOST_SUBDIR)/libcpp && \
20233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20235 "RANLIB=$${RANLIB}" \
20236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20237 install-info) \
20238 || exit 1
20240 @endif libcpp
20242 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20243 maybe-install-pdf-libcpp:
20244 @if libcpp
20245 maybe-install-pdf-libcpp: install-pdf-libcpp
20247 install-pdf-libcpp: \
20248 configure-libcpp \
20249 pdf-libcpp
20250 @[ -f ./libcpp/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing install-pdf in libcpp" ; \
20258 (cd $(HOST_SUBDIR)/libcpp && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20263 install-pdf) \
20264 || exit 1
20266 @endif libcpp
20268 .PHONY: maybe-install-html-libcpp install-html-libcpp
20269 maybe-install-html-libcpp:
20270 @if libcpp
20271 maybe-install-html-libcpp: install-html-libcpp
20273 install-html-libcpp: \
20274 configure-libcpp \
20275 html-libcpp
20276 @[ -f ./libcpp/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(HOST_EXPORTS) \
20280 for flag in $(EXTRA_HOST_FLAGS) ; do \
20281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20282 done; \
20283 echo "Doing install-html in libcpp" ; \
20284 (cd $(HOST_SUBDIR)/libcpp && \
20285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20287 "RANLIB=$${RANLIB}" \
20288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20289 install-html) \
20290 || exit 1
20292 @endif libcpp
20294 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20295 maybe-installcheck-libcpp:
20296 @if libcpp
20297 maybe-installcheck-libcpp: installcheck-libcpp
20299 installcheck-libcpp: \
20300 configure-libcpp
20301 @[ -f ./libcpp/Makefile ] || exit 0; \
20302 r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(HOST_EXPORTS) \
20305 for flag in $(EXTRA_HOST_FLAGS) ; do \
20306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20307 done; \
20308 echo "Doing installcheck in libcpp" ; \
20309 (cd $(HOST_SUBDIR)/libcpp && \
20310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20312 "RANLIB=$${RANLIB}" \
20313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20314 installcheck) \
20315 || exit 1
20317 @endif libcpp
20319 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20320 maybe-mostlyclean-libcpp:
20321 @if libcpp
20322 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20324 mostlyclean-libcpp:
20325 @[ -f ./libcpp/Makefile ] || exit 0; \
20326 r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(HOST_EXPORTS) \
20329 for flag in $(EXTRA_HOST_FLAGS) ; do \
20330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20331 done; \
20332 echo "Doing mostlyclean in libcpp" ; \
20333 (cd $(HOST_SUBDIR)/libcpp && \
20334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20336 "RANLIB=$${RANLIB}" \
20337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20338 mostlyclean) \
20339 || exit 1
20341 @endif libcpp
20343 .PHONY: maybe-clean-libcpp clean-libcpp
20344 maybe-clean-libcpp:
20345 @if libcpp
20346 maybe-clean-libcpp: clean-libcpp
20348 clean-libcpp:
20349 @[ -f ./libcpp/Makefile ] || exit 0; \
20350 r=`${PWD_COMMAND}`; export r; \
20351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 $(HOST_EXPORTS) \
20353 for flag in $(EXTRA_HOST_FLAGS) ; do \
20354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20355 done; \
20356 echo "Doing clean in libcpp" ; \
20357 (cd $(HOST_SUBDIR)/libcpp && \
20358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20360 "RANLIB=$${RANLIB}" \
20361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20362 clean) \
20363 || exit 1
20365 @endif libcpp
20367 .PHONY: maybe-distclean-libcpp distclean-libcpp
20368 maybe-distclean-libcpp:
20369 @if libcpp
20370 maybe-distclean-libcpp: distclean-libcpp
20372 distclean-libcpp:
20373 @[ -f ./libcpp/Makefile ] || exit 0; \
20374 r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376 $(HOST_EXPORTS) \
20377 for flag in $(EXTRA_HOST_FLAGS) ; do \
20378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20379 done; \
20380 echo "Doing distclean in libcpp" ; \
20381 (cd $(HOST_SUBDIR)/libcpp && \
20382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20384 "RANLIB=$${RANLIB}" \
20385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20386 distclean) \
20387 || exit 1
20389 @endif libcpp
20391 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20392 maybe-maintainer-clean-libcpp:
20393 @if libcpp
20394 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20396 maintainer-clean-libcpp:
20397 @[ -f ./libcpp/Makefile ] || exit 0; \
20398 r=`${PWD_COMMAND}`; export r; \
20399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20400 $(HOST_EXPORTS) \
20401 for flag in $(EXTRA_HOST_FLAGS) ; do \
20402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20403 done; \
20404 echo "Doing maintainer-clean in libcpp" ; \
20405 (cd $(HOST_SUBDIR)/libcpp && \
20406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20408 "RANLIB=$${RANLIB}" \
20409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20410 maintainer-clean) \
20411 || exit 1
20413 @endif libcpp
20417 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20418 maybe-configure-libdecnumber:
20419 @if gcc-bootstrap
20420 configure-libdecnumber: stage_current
20421 @endif gcc-bootstrap
20422 @if libdecnumber
20423 maybe-configure-libdecnumber: configure-libdecnumber
20424 configure-libdecnumber:
20425 @r=`${PWD_COMMAND}`; export r; \
20426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20427 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20429 $(HOST_EXPORTS) \
20430 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20431 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20432 case $(srcdir) in \
20433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20434 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20436 esac; \
20437 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20438 libsrcdir="$$s/libdecnumber"; \
20439 $(SHELL) $${libsrcdir}/configure \
20440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20441 --target=${target_alias} $${srcdiroption} \
20442 || exit 1
20443 @endif libdecnumber
20447 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20448 maybe-configure-stage1-libdecnumber:
20449 @if libdecnumber-bootstrap
20450 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20451 configure-stage1-libdecnumber:
20452 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20454 @r=`${PWD_COMMAND}`; export r; \
20455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20456 TFLAGS="$(STAGE1_TFLAGS)"; \
20457 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20458 $(HOST_EXPORTS) \
20459 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20460 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20461 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20462 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20464 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20465 case $(srcdir) in \
20466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20467 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20469 esac; \
20470 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20471 libsrcdir="$$s/libdecnumber"; \
20472 $(SHELL) $${libsrcdir}/configure \
20473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20474 --target=${target_alias} $${srcdiroption} \
20475 $(STAGE1_CONFIGURE_FLAGS)
20476 @endif libdecnumber-bootstrap
20478 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20479 maybe-configure-stage2-libdecnumber:
20480 @if libdecnumber-bootstrap
20481 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20482 configure-stage2-libdecnumber:
20483 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20484 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20485 @r=`${PWD_COMMAND}`; export r; \
20486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20487 TFLAGS="$(STAGE2_TFLAGS)"; \
20488 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20489 $(HOST_EXPORTS) \
20490 $(POSTSTAGE1_HOST_EXPORTS) \
20491 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20492 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20493 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20494 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20496 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20497 case $(srcdir) in \
20498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20499 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20501 esac; \
20502 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20503 libsrcdir="$$s/libdecnumber"; \
20504 $(SHELL) $${libsrcdir}/configure \
20505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20506 --target=${target_alias} $${srcdiroption} \
20507 --with-build-libsubdir=$(HOST_SUBDIR) \
20508 $(STAGE2_CONFIGURE_FLAGS)
20509 @endif libdecnumber-bootstrap
20511 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20512 maybe-configure-stage3-libdecnumber:
20513 @if libdecnumber-bootstrap
20514 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20515 configure-stage3-libdecnumber:
20516 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20517 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20518 @r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 TFLAGS="$(STAGE3_TFLAGS)"; \
20521 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20522 $(HOST_EXPORTS) \
20523 $(POSTSTAGE1_HOST_EXPORTS) \
20524 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20525 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20526 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20527 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20529 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20530 case $(srcdir) in \
20531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20532 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20534 esac; \
20535 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20536 libsrcdir="$$s/libdecnumber"; \
20537 $(SHELL) $${libsrcdir}/configure \
20538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20539 --target=${target_alias} $${srcdiroption} \
20540 --with-build-libsubdir=$(HOST_SUBDIR) \
20541 $(STAGE3_CONFIGURE_FLAGS)
20542 @endif libdecnumber-bootstrap
20544 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20545 maybe-configure-stage4-libdecnumber:
20546 @if libdecnumber-bootstrap
20547 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20548 configure-stage4-libdecnumber:
20549 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20551 @r=`${PWD_COMMAND}`; export r; \
20552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20553 TFLAGS="$(STAGE4_TFLAGS)"; \
20554 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20555 $(HOST_EXPORTS) \
20556 $(POSTSTAGE1_HOST_EXPORTS) \
20557 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20558 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20559 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20560 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20562 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20563 case $(srcdir) in \
20564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20565 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20567 esac; \
20568 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20569 libsrcdir="$$s/libdecnumber"; \
20570 $(SHELL) $${libsrcdir}/configure \
20571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20572 --target=${target_alias} $${srcdiroption} \
20573 --with-build-libsubdir=$(HOST_SUBDIR) \
20574 $(STAGE4_CONFIGURE_FLAGS)
20575 @endif libdecnumber-bootstrap
20577 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20578 maybe-configure-stageprofile-libdecnumber:
20579 @if libdecnumber-bootstrap
20580 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20581 configure-stageprofile-libdecnumber:
20582 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20584 @r=`${PWD_COMMAND}`; export r; \
20585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20586 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20587 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20588 $(HOST_EXPORTS) \
20589 $(POSTSTAGE1_HOST_EXPORTS) \
20590 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20591 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20592 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20593 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20595 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20596 case $(srcdir) in \
20597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20598 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20600 esac; \
20601 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20602 libsrcdir="$$s/libdecnumber"; \
20603 $(SHELL) $${libsrcdir}/configure \
20604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20605 --target=${target_alias} $${srcdiroption} \
20606 --with-build-libsubdir=$(HOST_SUBDIR) \
20607 $(STAGEprofile_CONFIGURE_FLAGS)
20608 @endif libdecnumber-bootstrap
20610 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20611 maybe-configure-stagefeedback-libdecnumber:
20612 @if libdecnumber-bootstrap
20613 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20614 configure-stagefeedback-libdecnumber:
20615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20617 @r=`${PWD_COMMAND}`; export r; \
20618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20619 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20620 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20621 $(HOST_EXPORTS) \
20622 $(POSTSTAGE1_HOST_EXPORTS) \
20623 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20624 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20625 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20626 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20628 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20629 case $(srcdir) in \
20630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20631 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20633 esac; \
20634 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20635 libsrcdir="$$s/libdecnumber"; \
20636 $(SHELL) $${libsrcdir}/configure \
20637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20638 --target=${target_alias} $${srcdiroption} \
20639 --with-build-libsubdir=$(HOST_SUBDIR) \
20640 $(STAGEfeedback_CONFIGURE_FLAGS)
20641 @endif libdecnumber-bootstrap
20647 .PHONY: all-libdecnumber maybe-all-libdecnumber
20648 maybe-all-libdecnumber:
20649 @if gcc-bootstrap
20650 all-libdecnumber: stage_current
20651 @endif gcc-bootstrap
20652 @if libdecnumber
20653 TARGET-libdecnumber=all
20654 maybe-all-libdecnumber: all-libdecnumber
20655 all-libdecnumber: configure-libdecnumber
20656 @r=`${PWD_COMMAND}`; export r; \
20657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20658 $(HOST_EXPORTS) \
20659 (cd $(HOST_SUBDIR)/libdecnumber && \
20660 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20661 $(TARGET-libdecnumber))
20662 @endif libdecnumber
20666 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20667 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20668 maybe-all-stage1-libdecnumber:
20669 maybe-clean-stage1-libdecnumber:
20670 @if libdecnumber-bootstrap
20671 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20672 all-stage1: all-stage1-libdecnumber
20673 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20674 all-stage1-libdecnumber: configure-stage1-libdecnumber
20675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20676 @r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 TFLAGS="$(STAGE1_TFLAGS)"; \
20679 $(HOST_EXPORTS) \
20680 cd $(HOST_SUBDIR)/libdecnumber && \
20681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20682 CFLAGS="$(STAGE1_CFLAGS)" \
20683 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20684 LIBCFLAGS="$(LIBCFLAGS)" \
20685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20688 $(EXTRA_HOST_FLAGS) \
20689 TFLAGS="$(STAGE1_TFLAGS)" \
20690 $(TARGET-stage1-libdecnumber)
20692 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20693 clean-stage1: clean-stage1-libdecnumber
20694 clean-stage1-libdecnumber:
20695 @if [ $(current_stage) = stage1 ]; then \
20696 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20697 else \
20698 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20699 $(MAKE) stage1-start; \
20700 fi; \
20701 cd $(HOST_SUBDIR)/libdecnumber && \
20702 $(MAKE) $(EXTRA_HOST_FLAGS) \
20703 clean
20704 @endif libdecnumber-bootstrap
20707 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20708 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20709 maybe-all-stage2-libdecnumber:
20710 maybe-clean-stage2-libdecnumber:
20711 @if libdecnumber-bootstrap
20712 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20713 all-stage2: all-stage2-libdecnumber
20714 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20715 all-stage2-libdecnumber: configure-stage2-libdecnumber
20716 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20717 @r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 TFLAGS="$(STAGE2_TFLAGS)"; \
20720 $(HOST_EXPORTS) \
20721 $(POSTSTAGE1_HOST_EXPORTS) \
20722 cd $(HOST_SUBDIR)/libdecnumber && \
20723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20724 CFLAGS="$(STAGE2_CFLAGS)" \
20725 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20726 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20731 TFLAGS="$(STAGE2_TFLAGS)" \
20732 $(TARGET-stage2-libdecnumber)
20734 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20735 clean-stage2: clean-stage2-libdecnumber
20736 clean-stage2-libdecnumber:
20737 @if [ $(current_stage) = stage2 ]; then \
20738 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20739 else \
20740 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20741 $(MAKE) stage2-start; \
20742 fi; \
20743 cd $(HOST_SUBDIR)/libdecnumber && \
20744 $(MAKE) $(EXTRA_HOST_FLAGS) \
20745 $(POSTSTAGE1_FLAGS_TO_PASS) \
20746 clean
20747 @endif libdecnumber-bootstrap
20750 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20751 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20752 maybe-all-stage3-libdecnumber:
20753 maybe-clean-stage3-libdecnumber:
20754 @if libdecnumber-bootstrap
20755 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20756 all-stage3: all-stage3-libdecnumber
20757 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20758 all-stage3-libdecnumber: configure-stage3-libdecnumber
20759 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20760 @r=`${PWD_COMMAND}`; export r; \
20761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20762 TFLAGS="$(STAGE3_TFLAGS)"; \
20763 $(HOST_EXPORTS) \
20764 $(POSTSTAGE1_HOST_EXPORTS) \
20765 cd $(HOST_SUBDIR)/libdecnumber && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20767 CFLAGS="$(STAGE3_CFLAGS)" \
20768 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20769 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20774 TFLAGS="$(STAGE3_TFLAGS)" \
20775 $(TARGET-stage3-libdecnumber)
20777 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20778 clean-stage3: clean-stage3-libdecnumber
20779 clean-stage3-libdecnumber:
20780 @if [ $(current_stage) = stage3 ]; then \
20781 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20782 else \
20783 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20784 $(MAKE) stage3-start; \
20785 fi; \
20786 cd $(HOST_SUBDIR)/libdecnumber && \
20787 $(MAKE) $(EXTRA_HOST_FLAGS) \
20788 $(POSTSTAGE1_FLAGS_TO_PASS) \
20789 clean
20790 @endif libdecnumber-bootstrap
20793 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20794 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20795 maybe-all-stage4-libdecnumber:
20796 maybe-clean-stage4-libdecnumber:
20797 @if libdecnumber-bootstrap
20798 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20799 all-stage4: all-stage4-libdecnumber
20800 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20801 all-stage4-libdecnumber: configure-stage4-libdecnumber
20802 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20803 @r=`${PWD_COMMAND}`; export r; \
20804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20805 TFLAGS="$(STAGE4_TFLAGS)"; \
20806 $(HOST_EXPORTS) \
20807 $(POSTSTAGE1_HOST_EXPORTS) \
20808 cd $(HOST_SUBDIR)/libdecnumber && \
20809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20810 CFLAGS="$(STAGE4_CFLAGS)" \
20811 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20812 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20817 TFLAGS="$(STAGE4_TFLAGS)" \
20818 $(TARGET-stage4-libdecnumber)
20820 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20821 clean-stage4: clean-stage4-libdecnumber
20822 clean-stage4-libdecnumber:
20823 @if [ $(current_stage) = stage4 ]; then \
20824 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20825 else \
20826 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20827 $(MAKE) stage4-start; \
20828 fi; \
20829 cd $(HOST_SUBDIR)/libdecnumber && \
20830 $(MAKE) $(EXTRA_HOST_FLAGS) \
20831 $(POSTSTAGE1_FLAGS_TO_PASS) \
20832 clean
20833 @endif libdecnumber-bootstrap
20836 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20837 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20838 maybe-all-stageprofile-libdecnumber:
20839 maybe-clean-stageprofile-libdecnumber:
20840 @if libdecnumber-bootstrap
20841 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20842 all-stageprofile: all-stageprofile-libdecnumber
20843 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20844 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20845 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20846 @r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20848 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20849 $(HOST_EXPORTS) \
20850 $(POSTSTAGE1_HOST_EXPORTS) \
20851 cd $(HOST_SUBDIR)/libdecnumber && \
20852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20853 CFLAGS="$(STAGEprofile_CFLAGS)" \
20854 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20855 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20860 TFLAGS="$(STAGEprofile_TFLAGS)" \
20861 $(TARGET-stageprofile-libdecnumber)
20863 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20864 clean-stageprofile: clean-stageprofile-libdecnumber
20865 clean-stageprofile-libdecnumber:
20866 @if [ $(current_stage) = stageprofile ]; then \
20867 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20868 else \
20869 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20870 $(MAKE) stageprofile-start; \
20871 fi; \
20872 cd $(HOST_SUBDIR)/libdecnumber && \
20873 $(MAKE) $(EXTRA_HOST_FLAGS) \
20874 $(POSTSTAGE1_FLAGS_TO_PASS) \
20875 clean
20876 @endif libdecnumber-bootstrap
20879 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20880 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20881 maybe-all-stagefeedback-libdecnumber:
20882 maybe-clean-stagefeedback-libdecnumber:
20883 @if libdecnumber-bootstrap
20884 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20885 all-stagefeedback: all-stagefeedback-libdecnumber
20886 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20887 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20888 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20889 @r=`${PWD_COMMAND}`; export r; \
20890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20892 $(HOST_EXPORTS) \
20893 $(POSTSTAGE1_HOST_EXPORTS) \
20894 cd $(HOST_SUBDIR)/libdecnumber && \
20895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20896 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20897 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20898 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20903 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20904 $(TARGET-stagefeedback-libdecnumber)
20906 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20907 clean-stagefeedback: clean-stagefeedback-libdecnumber
20908 clean-stagefeedback-libdecnumber:
20909 @if [ $(current_stage) = stagefeedback ]; then \
20910 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20911 else \
20912 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20913 $(MAKE) stagefeedback-start; \
20914 fi; \
20915 cd $(HOST_SUBDIR)/libdecnumber && \
20916 $(MAKE) $(EXTRA_HOST_FLAGS) \
20917 $(POSTSTAGE1_FLAGS_TO_PASS) \
20918 clean
20919 @endif libdecnumber-bootstrap
20925 .PHONY: check-libdecnumber maybe-check-libdecnumber
20926 maybe-check-libdecnumber:
20927 @if libdecnumber
20928 maybe-check-libdecnumber: check-libdecnumber
20930 check-libdecnumber:
20931 @: $(MAKE); $(unstage)
20932 @r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 (cd $(HOST_SUBDIR)/libdecnumber && \
20936 $(MAKE) $(FLAGS_TO_PASS) check)
20938 @endif libdecnumber
20940 .PHONY: install-libdecnumber maybe-install-libdecnumber
20941 maybe-install-libdecnumber:
20942 @if libdecnumber
20943 maybe-install-libdecnumber: install-libdecnumber
20945 install-libdecnumber: installdirs
20946 @: $(MAKE); $(unstage)
20947 @r=`${PWD_COMMAND}`; export r; \
20948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 $(HOST_EXPORTS) \
20950 (cd $(HOST_SUBDIR)/libdecnumber && \
20951 $(MAKE) $(FLAGS_TO_PASS) install)
20953 @endif libdecnumber
20955 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20956 maybe-install-strip-libdecnumber:
20957 @if libdecnumber
20958 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20960 install-strip-libdecnumber: installdirs
20961 @: $(MAKE); $(unstage)
20962 @r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(HOST_EXPORTS) \
20965 (cd $(HOST_SUBDIR)/libdecnumber && \
20966 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20968 @endif libdecnumber
20970 # Other targets (info, dvi, pdf, etc.)
20972 .PHONY: maybe-info-libdecnumber info-libdecnumber
20973 maybe-info-libdecnumber:
20974 @if libdecnumber
20975 maybe-info-libdecnumber: info-libdecnumber
20977 info-libdecnumber: \
20978 configure-libdecnumber
20979 @[ -f ./libdecnumber/Makefile ] || exit 0; \
20980 r=`${PWD_COMMAND}`; export r; \
20981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20982 $(HOST_EXPORTS) \
20983 for flag in $(EXTRA_HOST_FLAGS) ; do \
20984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20985 done; \
20986 echo "Doing info in libdecnumber" ; \
20987 (cd $(HOST_SUBDIR)/libdecnumber && \
20988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20990 "RANLIB=$${RANLIB}" \
20991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20992 info) \
20993 || exit 1
20995 @endif libdecnumber
20997 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
20998 maybe-dvi-libdecnumber:
20999 @if libdecnumber
21000 maybe-dvi-libdecnumber: dvi-libdecnumber
21002 dvi-libdecnumber: \
21003 configure-libdecnumber
21004 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007 $(HOST_EXPORTS) \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21010 done; \
21011 echo "Doing dvi in libdecnumber" ; \
21012 (cd $(HOST_SUBDIR)/libdecnumber && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21017 dvi) \
21018 || exit 1
21020 @endif libdecnumber
21022 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21023 maybe-pdf-libdecnumber:
21024 @if libdecnumber
21025 maybe-pdf-libdecnumber: pdf-libdecnumber
21027 pdf-libdecnumber: \
21028 configure-libdecnumber
21029 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(HOST_EXPORTS) \
21033 for flag in $(EXTRA_HOST_FLAGS) ; do \
21034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21035 done; \
21036 echo "Doing pdf in libdecnumber" ; \
21037 (cd $(HOST_SUBDIR)/libdecnumber && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21040 "RANLIB=$${RANLIB}" \
21041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21042 pdf) \
21043 || exit 1
21045 @endif libdecnumber
21047 .PHONY: maybe-html-libdecnumber html-libdecnumber
21048 maybe-html-libdecnumber:
21049 @if libdecnumber
21050 maybe-html-libdecnumber: html-libdecnumber
21052 html-libdecnumber: \
21053 configure-libdecnumber
21054 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21055 r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 for flag in $(EXTRA_HOST_FLAGS) ; do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060 done; \
21061 echo "Doing html in libdecnumber" ; \
21062 (cd $(HOST_SUBDIR)/libdecnumber && \
21063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21065 "RANLIB=$${RANLIB}" \
21066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21067 html) \
21068 || exit 1
21070 @endif libdecnumber
21072 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21073 maybe-TAGS-libdecnumber:
21074 @if libdecnumber
21075 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21077 TAGS-libdecnumber: \
21078 configure-libdecnumber
21079 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21080 r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(HOST_EXPORTS) \
21083 for flag in $(EXTRA_HOST_FLAGS) ; do \
21084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21085 done; \
21086 echo "Doing TAGS in libdecnumber" ; \
21087 (cd $(HOST_SUBDIR)/libdecnumber && \
21088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21090 "RANLIB=$${RANLIB}" \
21091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21092 TAGS) \
21093 || exit 1
21095 @endif libdecnumber
21097 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21098 maybe-install-info-libdecnumber:
21099 @if libdecnumber
21100 maybe-install-info-libdecnumber: install-info-libdecnumber
21102 install-info-libdecnumber: \
21103 configure-libdecnumber \
21104 info-libdecnumber
21105 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 for flag in $(EXTRA_HOST_FLAGS) ; do \
21110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21111 done; \
21112 echo "Doing install-info in libdecnumber" ; \
21113 (cd $(HOST_SUBDIR)/libdecnumber && \
21114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21116 "RANLIB=$${RANLIB}" \
21117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21118 install-info) \
21119 || exit 1
21121 @endif libdecnumber
21123 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21124 maybe-install-pdf-libdecnumber:
21125 @if libdecnumber
21126 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21128 install-pdf-libdecnumber: \
21129 configure-libdecnumber \
21130 pdf-libdecnumber
21131 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21132 r=`${PWD_COMMAND}`; export r; \
21133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21134 $(HOST_EXPORTS) \
21135 for flag in $(EXTRA_HOST_FLAGS) ; do \
21136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21137 done; \
21138 echo "Doing install-pdf in libdecnumber" ; \
21139 (cd $(HOST_SUBDIR)/libdecnumber && \
21140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21142 "RANLIB=$${RANLIB}" \
21143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21144 install-pdf) \
21145 || exit 1
21147 @endif libdecnumber
21149 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21150 maybe-install-html-libdecnumber:
21151 @if libdecnumber
21152 maybe-install-html-libdecnumber: install-html-libdecnumber
21154 install-html-libdecnumber: \
21155 configure-libdecnumber \
21156 html-libdecnumber
21157 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21158 r=`${PWD_COMMAND}`; export r; \
21159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 $(HOST_EXPORTS) \
21161 for flag in $(EXTRA_HOST_FLAGS) ; do \
21162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21163 done; \
21164 echo "Doing install-html in libdecnumber" ; \
21165 (cd $(HOST_SUBDIR)/libdecnumber && \
21166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21168 "RANLIB=$${RANLIB}" \
21169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21170 install-html) \
21171 || exit 1
21173 @endif libdecnumber
21175 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21176 maybe-installcheck-libdecnumber:
21177 @if libdecnumber
21178 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21180 installcheck-libdecnumber: \
21181 configure-libdecnumber
21182 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(HOST_EXPORTS) \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21188 done; \
21189 echo "Doing installcheck in libdecnumber" ; \
21190 (cd $(HOST_SUBDIR)/libdecnumber && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21195 installcheck) \
21196 || exit 1
21198 @endif libdecnumber
21200 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21201 maybe-mostlyclean-libdecnumber:
21202 @if libdecnumber
21203 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21205 mostlyclean-libdecnumber:
21206 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21207 r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 for flag in $(EXTRA_HOST_FLAGS) ; do \
21211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21212 done; \
21213 echo "Doing mostlyclean in libdecnumber" ; \
21214 (cd $(HOST_SUBDIR)/libdecnumber && \
21215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21217 "RANLIB=$${RANLIB}" \
21218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21219 mostlyclean) \
21220 || exit 1
21222 @endif libdecnumber
21224 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21225 maybe-clean-libdecnumber:
21226 @if libdecnumber
21227 maybe-clean-libdecnumber: clean-libdecnumber
21229 clean-libdecnumber:
21230 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21231 r=`${PWD_COMMAND}`; export r; \
21232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21233 $(HOST_EXPORTS) \
21234 for flag in $(EXTRA_HOST_FLAGS) ; do \
21235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21236 done; \
21237 echo "Doing clean in libdecnumber" ; \
21238 (cd $(HOST_SUBDIR)/libdecnumber && \
21239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21241 "RANLIB=$${RANLIB}" \
21242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21243 clean) \
21244 || exit 1
21246 @endif libdecnumber
21248 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21249 maybe-distclean-libdecnumber:
21250 @if libdecnumber
21251 maybe-distclean-libdecnumber: distclean-libdecnumber
21253 distclean-libdecnumber:
21254 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21255 r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 $(HOST_EXPORTS) \
21258 for flag in $(EXTRA_HOST_FLAGS) ; do \
21259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21260 done; \
21261 echo "Doing distclean in libdecnumber" ; \
21262 (cd $(HOST_SUBDIR)/libdecnumber && \
21263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265 "RANLIB=$${RANLIB}" \
21266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21267 distclean) \
21268 || exit 1
21270 @endif libdecnumber
21272 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21273 maybe-maintainer-clean-libdecnumber:
21274 @if libdecnumber
21275 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21277 maintainer-clean-libdecnumber:
21278 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21279 r=`${PWD_COMMAND}`; export r; \
21280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21281 $(HOST_EXPORTS) \
21282 for flag in $(EXTRA_HOST_FLAGS) ; do \
21283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21284 done; \
21285 echo "Doing maintainer-clean in libdecnumber" ; \
21286 (cd $(HOST_SUBDIR)/libdecnumber && \
21287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21289 "RANLIB=$${RANLIB}" \
21290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21291 maintainer-clean) \
21292 || exit 1
21294 @endif libdecnumber
21298 .PHONY: configure-libgui maybe-configure-libgui
21299 maybe-configure-libgui:
21300 @if gcc-bootstrap
21301 configure-libgui: stage_current
21302 @endif gcc-bootstrap
21303 @if libgui
21304 maybe-configure-libgui: configure-libgui
21305 configure-libgui:
21306 @: $(MAKE); $(unstage)
21307 @r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21311 $(HOST_EXPORTS) \
21312 echo Configuring in $(HOST_SUBDIR)/libgui; \
21313 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21314 case $(srcdir) in \
21315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21316 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21318 esac; \
21319 srcdiroption="--srcdir=$${topdir}/libgui"; \
21320 libsrcdir="$$s/libgui"; \
21321 $(SHELL) $${libsrcdir}/configure \
21322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21323 --target=${target_alias} $${srcdiroption} \
21324 || exit 1
21325 @endif libgui
21331 .PHONY: all-libgui maybe-all-libgui
21332 maybe-all-libgui:
21333 @if gcc-bootstrap
21334 all-libgui: stage_current
21335 @endif gcc-bootstrap
21336 @if libgui
21337 TARGET-libgui=all
21338 maybe-all-libgui: all-libgui
21339 all-libgui: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21346 $(TARGET-libgui))
21347 @endif libgui
21352 .PHONY: check-libgui maybe-check-libgui
21353 maybe-check-libgui:
21354 @if libgui
21355 maybe-check-libgui: check-libgui
21357 check-libgui:
21358 @: $(MAKE); $(unstage)
21359 @r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(HOST_EXPORTS) \
21362 (cd $(HOST_SUBDIR)/libgui && \
21363 $(MAKE) $(FLAGS_TO_PASS) check)
21365 @endif libgui
21367 .PHONY: install-libgui maybe-install-libgui
21368 maybe-install-libgui:
21369 @if libgui
21370 maybe-install-libgui: install-libgui
21372 install-libgui: installdirs
21373 @: $(MAKE); $(unstage)
21374 @r=`${PWD_COMMAND}`; export r; \
21375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21376 $(HOST_EXPORTS) \
21377 (cd $(HOST_SUBDIR)/libgui && \
21378 $(MAKE) $(FLAGS_TO_PASS) install)
21380 @endif libgui
21382 .PHONY: install-strip-libgui maybe-install-strip-libgui
21383 maybe-install-strip-libgui:
21384 @if libgui
21385 maybe-install-strip-libgui: install-strip-libgui
21387 install-strip-libgui: installdirs
21388 @: $(MAKE); $(unstage)
21389 @r=`${PWD_COMMAND}`; export r; \
21390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21391 $(HOST_EXPORTS) \
21392 (cd $(HOST_SUBDIR)/libgui && \
21393 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21395 @endif libgui
21397 # Other targets (info, dvi, pdf, etc.)
21399 .PHONY: maybe-info-libgui info-libgui
21400 maybe-info-libgui:
21401 @if libgui
21402 maybe-info-libgui: info-libgui
21404 info-libgui: \
21405 configure-libgui
21406 @: $(MAKE); $(unstage)
21407 @[ -f ./libgui/Makefile ] || exit 0; \
21408 r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(HOST_EXPORTS) \
21411 for flag in $(EXTRA_HOST_FLAGS) ; do \
21412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21413 done; \
21414 echo "Doing info in libgui" ; \
21415 (cd $(HOST_SUBDIR)/libgui && \
21416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21418 "RANLIB=$${RANLIB}" \
21419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21420 info) \
21421 || exit 1
21423 @endif libgui
21425 .PHONY: maybe-dvi-libgui dvi-libgui
21426 maybe-dvi-libgui:
21427 @if libgui
21428 maybe-dvi-libgui: dvi-libgui
21430 dvi-libgui: \
21431 configure-libgui
21432 @: $(MAKE); $(unstage)
21433 @[ -f ./libgui/Makefile ] || exit 0; \
21434 r=`${PWD_COMMAND}`; export r; \
21435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21436 $(HOST_EXPORTS) \
21437 for flag in $(EXTRA_HOST_FLAGS) ; do \
21438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21439 done; \
21440 echo "Doing dvi in libgui" ; \
21441 (cd $(HOST_SUBDIR)/libgui && \
21442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21444 "RANLIB=$${RANLIB}" \
21445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21446 dvi) \
21447 || exit 1
21449 @endif libgui
21451 .PHONY: maybe-pdf-libgui pdf-libgui
21452 maybe-pdf-libgui:
21453 @if libgui
21454 maybe-pdf-libgui: pdf-libgui
21456 pdf-libgui: \
21457 configure-libgui
21458 @: $(MAKE); $(unstage)
21459 @[ -f ./libgui/Makefile ] || exit 0; \
21460 r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 $(HOST_EXPORTS) \
21463 for flag in $(EXTRA_HOST_FLAGS) ; do \
21464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21465 done; \
21466 echo "Doing pdf in libgui" ; \
21467 (cd $(HOST_SUBDIR)/libgui && \
21468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21470 "RANLIB=$${RANLIB}" \
21471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21472 pdf) \
21473 || exit 1
21475 @endif libgui
21477 .PHONY: maybe-html-libgui html-libgui
21478 maybe-html-libgui:
21479 @if libgui
21480 maybe-html-libgui: html-libgui
21482 html-libgui: \
21483 configure-libgui
21484 @: $(MAKE); $(unstage)
21485 @[ -f ./libgui/Makefile ] || exit 0; \
21486 r=`${PWD_COMMAND}`; export r; \
21487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21488 $(HOST_EXPORTS) \
21489 for flag in $(EXTRA_HOST_FLAGS) ; do \
21490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 done; \
21492 echo "Doing html in libgui" ; \
21493 (cd $(HOST_SUBDIR)/libgui && \
21494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21496 "RANLIB=$${RANLIB}" \
21497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21498 html) \
21499 || exit 1
21501 @endif libgui
21503 .PHONY: maybe-TAGS-libgui TAGS-libgui
21504 maybe-TAGS-libgui:
21505 @if libgui
21506 maybe-TAGS-libgui: TAGS-libgui
21508 TAGS-libgui: \
21509 configure-libgui
21510 @: $(MAKE); $(unstage)
21511 @[ -f ./libgui/Makefile ] || exit 0; \
21512 r=`${PWD_COMMAND}`; export r; \
21513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21514 $(HOST_EXPORTS) \
21515 for flag in $(EXTRA_HOST_FLAGS) ; do \
21516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21517 done; \
21518 echo "Doing TAGS in libgui" ; \
21519 (cd $(HOST_SUBDIR)/libgui && \
21520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21522 "RANLIB=$${RANLIB}" \
21523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21524 TAGS) \
21525 || exit 1
21527 @endif libgui
21529 .PHONY: maybe-install-info-libgui install-info-libgui
21530 maybe-install-info-libgui:
21531 @if libgui
21532 maybe-install-info-libgui: install-info-libgui
21534 install-info-libgui: \
21535 configure-libgui \
21536 info-libgui
21537 @: $(MAKE); $(unstage)
21538 @[ -f ./libgui/Makefile ] || exit 0; \
21539 r=`${PWD_COMMAND}`; export r; \
21540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21541 $(HOST_EXPORTS) \
21542 for flag in $(EXTRA_HOST_FLAGS) ; do \
21543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21544 done; \
21545 echo "Doing install-info in libgui" ; \
21546 (cd $(HOST_SUBDIR)/libgui && \
21547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21549 "RANLIB=$${RANLIB}" \
21550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21551 install-info) \
21552 || exit 1
21554 @endif libgui
21556 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21557 maybe-install-pdf-libgui:
21558 @if libgui
21559 maybe-install-pdf-libgui: install-pdf-libgui
21561 install-pdf-libgui: \
21562 configure-libgui \
21563 pdf-libgui
21564 @: $(MAKE); $(unstage)
21565 @[ -f ./libgui/Makefile ] || exit 0; \
21566 r=`${PWD_COMMAND}`; export r; \
21567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21568 $(HOST_EXPORTS) \
21569 for flag in $(EXTRA_HOST_FLAGS) ; do \
21570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21571 done; \
21572 echo "Doing install-pdf in libgui" ; \
21573 (cd $(HOST_SUBDIR)/libgui && \
21574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21576 "RANLIB=$${RANLIB}" \
21577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21578 install-pdf) \
21579 || exit 1
21581 @endif libgui
21583 .PHONY: maybe-install-html-libgui install-html-libgui
21584 maybe-install-html-libgui:
21585 @if libgui
21586 maybe-install-html-libgui: install-html-libgui
21588 install-html-libgui: \
21589 configure-libgui \
21590 html-libgui
21591 @: $(MAKE); $(unstage)
21592 @[ -f ./libgui/Makefile ] || exit 0; \
21593 r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 $(HOST_EXPORTS) \
21596 for flag in $(EXTRA_HOST_FLAGS) ; do \
21597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21598 done; \
21599 echo "Doing install-html in libgui" ; \
21600 (cd $(HOST_SUBDIR)/libgui && \
21601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21603 "RANLIB=$${RANLIB}" \
21604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21605 install-html) \
21606 || exit 1
21608 @endif libgui
21610 .PHONY: maybe-installcheck-libgui installcheck-libgui
21611 maybe-installcheck-libgui:
21612 @if libgui
21613 maybe-installcheck-libgui: installcheck-libgui
21615 installcheck-libgui: \
21616 configure-libgui
21617 @: $(MAKE); $(unstage)
21618 @[ -f ./libgui/Makefile ] || exit 0; \
21619 r=`${PWD_COMMAND}`; export r; \
21620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21621 $(HOST_EXPORTS) \
21622 for flag in $(EXTRA_HOST_FLAGS) ; do \
21623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21624 done; \
21625 echo "Doing installcheck in libgui" ; \
21626 (cd $(HOST_SUBDIR)/libgui && \
21627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21629 "RANLIB=$${RANLIB}" \
21630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21631 installcheck) \
21632 || exit 1
21634 @endif libgui
21636 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21637 maybe-mostlyclean-libgui:
21638 @if libgui
21639 maybe-mostlyclean-libgui: mostlyclean-libgui
21641 mostlyclean-libgui:
21642 @: $(MAKE); $(unstage)
21643 @[ -f ./libgui/Makefile ] || exit 0; \
21644 r=`${PWD_COMMAND}`; export r; \
21645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21646 $(HOST_EXPORTS) \
21647 for flag in $(EXTRA_HOST_FLAGS) ; do \
21648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21649 done; \
21650 echo "Doing mostlyclean in libgui" ; \
21651 (cd $(HOST_SUBDIR)/libgui && \
21652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21654 "RANLIB=$${RANLIB}" \
21655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21656 mostlyclean) \
21657 || exit 1
21659 @endif libgui
21661 .PHONY: maybe-clean-libgui clean-libgui
21662 maybe-clean-libgui:
21663 @if libgui
21664 maybe-clean-libgui: clean-libgui
21666 clean-libgui:
21667 @: $(MAKE); $(unstage)
21668 @[ -f ./libgui/Makefile ] || exit 0; \
21669 r=`${PWD_COMMAND}`; export r; \
21670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21671 $(HOST_EXPORTS) \
21672 for flag in $(EXTRA_HOST_FLAGS) ; do \
21673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21674 done; \
21675 echo "Doing clean in libgui" ; \
21676 (cd $(HOST_SUBDIR)/libgui && \
21677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21679 "RANLIB=$${RANLIB}" \
21680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21681 clean) \
21682 || exit 1
21684 @endif libgui
21686 .PHONY: maybe-distclean-libgui distclean-libgui
21687 maybe-distclean-libgui:
21688 @if libgui
21689 maybe-distclean-libgui: distclean-libgui
21691 distclean-libgui:
21692 @: $(MAKE); $(unstage)
21693 @[ -f ./libgui/Makefile ] || exit 0; \
21694 r=`${PWD_COMMAND}`; export r; \
21695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21696 $(HOST_EXPORTS) \
21697 for flag in $(EXTRA_HOST_FLAGS) ; do \
21698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21699 done; \
21700 echo "Doing distclean in libgui" ; \
21701 (cd $(HOST_SUBDIR)/libgui && \
21702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21704 "RANLIB=$${RANLIB}" \
21705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21706 distclean) \
21707 || exit 1
21709 @endif libgui
21711 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21712 maybe-maintainer-clean-libgui:
21713 @if libgui
21714 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21716 maintainer-clean-libgui:
21717 @: $(MAKE); $(unstage)
21718 @[ -f ./libgui/Makefile ] || exit 0; \
21719 r=`${PWD_COMMAND}`; export r; \
21720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21721 $(HOST_EXPORTS) \
21722 for flag in $(EXTRA_HOST_FLAGS) ; do \
21723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21724 done; \
21725 echo "Doing maintainer-clean in libgui" ; \
21726 (cd $(HOST_SUBDIR)/libgui && \
21727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21729 "RANLIB=$${RANLIB}" \
21730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21731 maintainer-clean) \
21732 || exit 1
21734 @endif libgui
21738 .PHONY: configure-libiberty maybe-configure-libiberty
21739 maybe-configure-libiberty:
21740 @if gcc-bootstrap
21741 configure-libiberty: stage_current
21742 @endif gcc-bootstrap
21743 @if libiberty
21744 maybe-configure-libiberty: configure-libiberty
21745 configure-libiberty:
21746 @r=`${PWD_COMMAND}`; export r; \
21747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21748 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21750 $(HOST_EXPORTS) \
21751 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21752 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21753 case $(srcdir) in \
21754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21755 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21757 esac; \
21758 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21759 libsrcdir="$$s/libiberty"; \
21760 $(SHELL) $${libsrcdir}/configure \
21761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21762 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21763 || exit 1
21764 @endif libiberty
21768 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21769 maybe-configure-stage1-libiberty:
21770 @if libiberty-bootstrap
21771 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21772 configure-stage1-libiberty:
21773 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21775 @r=`${PWD_COMMAND}`; export r; \
21776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21777 TFLAGS="$(STAGE1_TFLAGS)"; \
21778 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21779 $(HOST_EXPORTS) \
21780 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21781 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21782 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21783 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21785 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21786 case $(srcdir) in \
21787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21788 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21790 esac; \
21791 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21792 libsrcdir="$$s/libiberty"; \
21793 $(SHELL) $${libsrcdir}/configure \
21794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21795 --target=${target_alias} $${srcdiroption} \
21796 $(STAGE1_CONFIGURE_FLAGS) \
21797 @extra_host_libiberty_configure_flags@
21798 @endif libiberty-bootstrap
21800 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21801 maybe-configure-stage2-libiberty:
21802 @if libiberty-bootstrap
21803 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21804 configure-stage2-libiberty:
21805 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21807 @r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809 TFLAGS="$(STAGE2_TFLAGS)"; \
21810 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21811 $(HOST_EXPORTS) \
21812 $(POSTSTAGE1_HOST_EXPORTS) \
21813 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21814 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21815 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21816 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21818 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21819 case $(srcdir) in \
21820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21821 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21823 esac; \
21824 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21825 libsrcdir="$$s/libiberty"; \
21826 $(SHELL) $${libsrcdir}/configure \
21827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21828 --target=${target_alias} $${srcdiroption} \
21829 --with-build-libsubdir=$(HOST_SUBDIR) \
21830 $(STAGE2_CONFIGURE_FLAGS) \
21831 @extra_host_libiberty_configure_flags@
21832 @endif libiberty-bootstrap
21834 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21835 maybe-configure-stage3-libiberty:
21836 @if libiberty-bootstrap
21837 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21838 configure-stage3-libiberty:
21839 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21841 @r=`${PWD_COMMAND}`; export r; \
21842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21843 TFLAGS="$(STAGE3_TFLAGS)"; \
21844 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21845 $(HOST_EXPORTS) \
21846 $(POSTSTAGE1_HOST_EXPORTS) \
21847 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21848 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21849 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21850 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21852 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21853 case $(srcdir) in \
21854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21855 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21857 esac; \
21858 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21859 libsrcdir="$$s/libiberty"; \
21860 $(SHELL) $${libsrcdir}/configure \
21861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21862 --target=${target_alias} $${srcdiroption} \
21863 --with-build-libsubdir=$(HOST_SUBDIR) \
21864 $(STAGE3_CONFIGURE_FLAGS) \
21865 @extra_host_libiberty_configure_flags@
21866 @endif libiberty-bootstrap
21868 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21869 maybe-configure-stage4-libiberty:
21870 @if libiberty-bootstrap
21871 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21872 configure-stage4-libiberty:
21873 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21875 @r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21877 TFLAGS="$(STAGE4_TFLAGS)"; \
21878 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21879 $(HOST_EXPORTS) \
21880 $(POSTSTAGE1_HOST_EXPORTS) \
21881 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21882 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21883 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21884 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21886 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21887 case $(srcdir) in \
21888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21889 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21891 esac; \
21892 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21893 libsrcdir="$$s/libiberty"; \
21894 $(SHELL) $${libsrcdir}/configure \
21895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21896 --target=${target_alias} $${srcdiroption} \
21897 --with-build-libsubdir=$(HOST_SUBDIR) \
21898 $(STAGE4_CONFIGURE_FLAGS) \
21899 @extra_host_libiberty_configure_flags@
21900 @endif libiberty-bootstrap
21902 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21903 maybe-configure-stageprofile-libiberty:
21904 @if libiberty-bootstrap
21905 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21906 configure-stageprofile-libiberty:
21907 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21909 @r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21911 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21912 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21913 $(HOST_EXPORTS) \
21914 $(POSTSTAGE1_HOST_EXPORTS) \
21915 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21916 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21917 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21918 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21920 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21921 case $(srcdir) in \
21922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21923 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21925 esac; \
21926 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21927 libsrcdir="$$s/libiberty"; \
21928 $(SHELL) $${libsrcdir}/configure \
21929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21930 --target=${target_alias} $${srcdiroption} \
21931 --with-build-libsubdir=$(HOST_SUBDIR) \
21932 $(STAGEprofile_CONFIGURE_FLAGS) \
21933 @extra_host_libiberty_configure_flags@
21934 @endif libiberty-bootstrap
21936 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21937 maybe-configure-stagefeedback-libiberty:
21938 @if libiberty-bootstrap
21939 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21940 configure-stagefeedback-libiberty:
21941 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21943 @r=`${PWD_COMMAND}`; export r; \
21944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21945 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21946 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21947 $(HOST_EXPORTS) \
21948 $(POSTSTAGE1_HOST_EXPORTS) \
21949 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21950 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21951 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21952 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21954 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21955 case $(srcdir) in \
21956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21957 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21959 esac; \
21960 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21961 libsrcdir="$$s/libiberty"; \
21962 $(SHELL) $${libsrcdir}/configure \
21963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21964 --target=${target_alias} $${srcdiroption} \
21965 --with-build-libsubdir=$(HOST_SUBDIR) \
21966 $(STAGEfeedback_CONFIGURE_FLAGS) \
21967 @extra_host_libiberty_configure_flags@
21968 @endif libiberty-bootstrap
21974 .PHONY: all-libiberty maybe-all-libiberty
21975 maybe-all-libiberty:
21976 @if gcc-bootstrap
21977 all-libiberty: stage_current
21978 @endif gcc-bootstrap
21979 @if libiberty
21980 TARGET-libiberty=all
21981 maybe-all-libiberty: all-libiberty
21982 all-libiberty: configure-libiberty
21983 @r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 $(HOST_EXPORTS) \
21986 (cd $(HOST_SUBDIR)/libiberty && \
21987 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21988 $(TARGET-libiberty))
21989 @endif libiberty
21993 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
21994 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
21995 maybe-all-stage1-libiberty:
21996 maybe-clean-stage1-libiberty:
21997 @if libiberty-bootstrap
21998 maybe-all-stage1-libiberty: all-stage1-libiberty
21999 all-stage1: all-stage1-libiberty
22000 TARGET-stage1-libiberty = $(TARGET-libiberty)
22001 all-stage1-libiberty: configure-stage1-libiberty
22002 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22003 @r=`${PWD_COMMAND}`; export r; \
22004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005 TFLAGS="$(STAGE1_TFLAGS)"; \
22006 $(HOST_EXPORTS) \
22007 cd $(HOST_SUBDIR)/libiberty && \
22008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22009 CFLAGS="$(STAGE1_CFLAGS)" \
22010 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22011 LIBCFLAGS="$(LIBCFLAGS)" \
22012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22015 $(EXTRA_HOST_FLAGS) \
22016 TFLAGS="$(STAGE1_TFLAGS)" \
22017 $(TARGET-stage1-libiberty)
22019 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22020 clean-stage1: clean-stage1-libiberty
22021 clean-stage1-libiberty:
22022 @if [ $(current_stage) = stage1 ]; then \
22023 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22024 else \
22025 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22026 $(MAKE) stage1-start; \
22027 fi; \
22028 cd $(HOST_SUBDIR)/libiberty && \
22029 $(MAKE) $(EXTRA_HOST_FLAGS) \
22030 clean
22031 @endif libiberty-bootstrap
22034 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22035 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22036 maybe-all-stage2-libiberty:
22037 maybe-clean-stage2-libiberty:
22038 @if libiberty-bootstrap
22039 maybe-all-stage2-libiberty: all-stage2-libiberty
22040 all-stage2: all-stage2-libiberty
22041 TARGET-stage2-libiberty = $(TARGET-libiberty)
22042 all-stage2-libiberty: configure-stage2-libiberty
22043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22044 @r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 TFLAGS="$(STAGE2_TFLAGS)"; \
22047 $(HOST_EXPORTS) \
22048 $(POSTSTAGE1_HOST_EXPORTS) \
22049 cd $(HOST_SUBDIR)/libiberty && \
22050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22051 CFLAGS="$(STAGE2_CFLAGS)" \
22052 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22053 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22058 TFLAGS="$(STAGE2_TFLAGS)" \
22059 $(TARGET-stage2-libiberty)
22061 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22062 clean-stage2: clean-stage2-libiberty
22063 clean-stage2-libiberty:
22064 @if [ $(current_stage) = stage2 ]; then \
22065 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22066 else \
22067 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22068 $(MAKE) stage2-start; \
22069 fi; \
22070 cd $(HOST_SUBDIR)/libiberty && \
22071 $(MAKE) $(EXTRA_HOST_FLAGS) \
22072 $(POSTSTAGE1_FLAGS_TO_PASS) \
22073 clean
22074 @endif libiberty-bootstrap
22077 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22078 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22079 maybe-all-stage3-libiberty:
22080 maybe-clean-stage3-libiberty:
22081 @if libiberty-bootstrap
22082 maybe-all-stage3-libiberty: all-stage3-libiberty
22083 all-stage3: all-stage3-libiberty
22084 TARGET-stage3-libiberty = $(TARGET-libiberty)
22085 all-stage3-libiberty: configure-stage3-libiberty
22086 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22087 @r=`${PWD_COMMAND}`; export r; \
22088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 TFLAGS="$(STAGE3_TFLAGS)"; \
22090 $(HOST_EXPORTS) \
22091 $(POSTSTAGE1_HOST_EXPORTS) \
22092 cd $(HOST_SUBDIR)/libiberty && \
22093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22094 CFLAGS="$(STAGE3_CFLAGS)" \
22095 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22096 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22101 TFLAGS="$(STAGE3_TFLAGS)" \
22102 $(TARGET-stage3-libiberty)
22104 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22105 clean-stage3: clean-stage3-libiberty
22106 clean-stage3-libiberty:
22107 @if [ $(current_stage) = stage3 ]; then \
22108 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22109 else \
22110 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22111 $(MAKE) stage3-start; \
22112 fi; \
22113 cd $(HOST_SUBDIR)/libiberty && \
22114 $(MAKE) $(EXTRA_HOST_FLAGS) \
22115 $(POSTSTAGE1_FLAGS_TO_PASS) \
22116 clean
22117 @endif libiberty-bootstrap
22120 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22121 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22122 maybe-all-stage4-libiberty:
22123 maybe-clean-stage4-libiberty:
22124 @if libiberty-bootstrap
22125 maybe-all-stage4-libiberty: all-stage4-libiberty
22126 all-stage4: all-stage4-libiberty
22127 TARGET-stage4-libiberty = $(TARGET-libiberty)
22128 all-stage4-libiberty: configure-stage4-libiberty
22129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22130 @r=`${PWD_COMMAND}`; export r; \
22131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22132 TFLAGS="$(STAGE4_TFLAGS)"; \
22133 $(HOST_EXPORTS) \
22134 $(POSTSTAGE1_HOST_EXPORTS) \
22135 cd $(HOST_SUBDIR)/libiberty && \
22136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22137 CFLAGS="$(STAGE4_CFLAGS)" \
22138 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22139 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22144 TFLAGS="$(STAGE4_TFLAGS)" \
22145 $(TARGET-stage4-libiberty)
22147 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22148 clean-stage4: clean-stage4-libiberty
22149 clean-stage4-libiberty:
22150 @if [ $(current_stage) = stage4 ]; then \
22151 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22152 else \
22153 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22154 $(MAKE) stage4-start; \
22155 fi; \
22156 cd $(HOST_SUBDIR)/libiberty && \
22157 $(MAKE) $(EXTRA_HOST_FLAGS) \
22158 $(POSTSTAGE1_FLAGS_TO_PASS) \
22159 clean
22160 @endif libiberty-bootstrap
22163 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22164 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22165 maybe-all-stageprofile-libiberty:
22166 maybe-clean-stageprofile-libiberty:
22167 @if libiberty-bootstrap
22168 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22169 all-stageprofile: all-stageprofile-libiberty
22170 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22171 all-stageprofile-libiberty: configure-stageprofile-libiberty
22172 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22173 @r=`${PWD_COMMAND}`; export r; \
22174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22175 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22176 $(HOST_EXPORTS) \
22177 $(POSTSTAGE1_HOST_EXPORTS) \
22178 cd $(HOST_SUBDIR)/libiberty && \
22179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22180 CFLAGS="$(STAGEprofile_CFLAGS)" \
22181 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22182 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22187 TFLAGS="$(STAGEprofile_TFLAGS)" \
22188 $(TARGET-stageprofile-libiberty)
22190 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22191 clean-stageprofile: clean-stageprofile-libiberty
22192 clean-stageprofile-libiberty:
22193 @if [ $(current_stage) = stageprofile ]; then \
22194 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22195 else \
22196 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22197 $(MAKE) stageprofile-start; \
22198 fi; \
22199 cd $(HOST_SUBDIR)/libiberty && \
22200 $(MAKE) $(EXTRA_HOST_FLAGS) \
22201 $(POSTSTAGE1_FLAGS_TO_PASS) \
22202 clean
22203 @endif libiberty-bootstrap
22206 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22207 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22208 maybe-all-stagefeedback-libiberty:
22209 maybe-clean-stagefeedback-libiberty:
22210 @if libiberty-bootstrap
22211 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22212 all-stagefeedback: all-stagefeedback-libiberty
22213 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22214 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22215 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22216 @r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22219 $(HOST_EXPORTS) \
22220 $(POSTSTAGE1_HOST_EXPORTS) \
22221 cd $(HOST_SUBDIR)/libiberty && \
22222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22223 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22224 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22225 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22230 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22231 $(TARGET-stagefeedback-libiberty)
22233 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22234 clean-stagefeedback: clean-stagefeedback-libiberty
22235 clean-stagefeedback-libiberty:
22236 @if [ $(current_stage) = stagefeedback ]; then \
22237 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22238 else \
22239 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22240 $(MAKE) stagefeedback-start; \
22241 fi; \
22242 cd $(HOST_SUBDIR)/libiberty && \
22243 $(MAKE) $(EXTRA_HOST_FLAGS) \
22244 $(POSTSTAGE1_FLAGS_TO_PASS) \
22245 clean
22246 @endif libiberty-bootstrap
22252 .PHONY: check-libiberty maybe-check-libiberty
22253 maybe-check-libiberty:
22254 @if libiberty
22255 maybe-check-libiberty: check-libiberty
22257 check-libiberty:
22258 @: $(MAKE); $(unstage)
22259 @r=`${PWD_COMMAND}`; export r; \
22260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22261 $(HOST_EXPORTS) \
22262 (cd $(HOST_SUBDIR)/libiberty && \
22263 $(MAKE) $(FLAGS_TO_PASS) check)
22265 @endif libiberty
22267 .PHONY: install-libiberty maybe-install-libiberty
22268 maybe-install-libiberty:
22269 @if libiberty
22270 maybe-install-libiberty: install-libiberty
22272 install-libiberty: installdirs
22273 @: $(MAKE); $(unstage)
22274 @r=`${PWD_COMMAND}`; export r; \
22275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22276 $(HOST_EXPORTS) \
22277 (cd $(HOST_SUBDIR)/libiberty && \
22278 $(MAKE) $(FLAGS_TO_PASS) install)
22280 @endif libiberty
22282 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22283 maybe-install-strip-libiberty:
22284 @if libiberty
22285 maybe-install-strip-libiberty: install-strip-libiberty
22287 install-strip-libiberty: installdirs
22288 @: $(MAKE); $(unstage)
22289 @r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 (cd $(HOST_SUBDIR)/libiberty && \
22293 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22295 @endif libiberty
22297 # Other targets (info, dvi, pdf, etc.)
22299 .PHONY: maybe-info-libiberty info-libiberty
22300 maybe-info-libiberty:
22301 @if libiberty
22302 maybe-info-libiberty: info-libiberty
22304 info-libiberty: \
22305 configure-libiberty
22306 @[ -f ./libiberty/Makefile ] || exit 0; \
22307 r=`${PWD_COMMAND}`; export r; \
22308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22309 $(HOST_EXPORTS) \
22310 for flag in $(EXTRA_HOST_FLAGS) ; do \
22311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22312 done; \
22313 echo "Doing info in libiberty" ; \
22314 (cd $(HOST_SUBDIR)/libiberty && \
22315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22317 "RANLIB=$${RANLIB}" \
22318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22319 info) \
22320 || exit 1
22322 @endif libiberty
22324 .PHONY: maybe-dvi-libiberty dvi-libiberty
22325 maybe-dvi-libiberty:
22326 @if libiberty
22327 maybe-dvi-libiberty: dvi-libiberty
22329 dvi-libiberty: \
22330 configure-libiberty
22331 @[ -f ./libiberty/Makefile ] || exit 0; \
22332 r=`${PWD_COMMAND}`; export r; \
22333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22334 $(HOST_EXPORTS) \
22335 for flag in $(EXTRA_HOST_FLAGS) ; do \
22336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22337 done; \
22338 echo "Doing dvi in libiberty" ; \
22339 (cd $(HOST_SUBDIR)/libiberty && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22342 "RANLIB=$${RANLIB}" \
22343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22344 dvi) \
22345 || exit 1
22347 @endif libiberty
22349 .PHONY: maybe-pdf-libiberty pdf-libiberty
22350 maybe-pdf-libiberty:
22351 @if libiberty
22352 maybe-pdf-libiberty: pdf-libiberty
22354 pdf-libiberty: \
22355 configure-libiberty
22356 @[ -f ./libiberty/Makefile ] || exit 0; \
22357 r=`${PWD_COMMAND}`; export r; \
22358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22359 $(HOST_EXPORTS) \
22360 for flag in $(EXTRA_HOST_FLAGS) ; do \
22361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22362 done; \
22363 echo "Doing pdf in libiberty" ; \
22364 (cd $(HOST_SUBDIR)/libiberty && \
22365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22367 "RANLIB=$${RANLIB}" \
22368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22369 pdf) \
22370 || exit 1
22372 @endif libiberty
22374 .PHONY: maybe-html-libiberty html-libiberty
22375 maybe-html-libiberty:
22376 @if libiberty
22377 maybe-html-libiberty: html-libiberty
22379 html-libiberty: \
22380 configure-libiberty
22381 @[ -f ./libiberty/Makefile ] || exit 0; \
22382 r=`${PWD_COMMAND}`; export r; \
22383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22384 $(HOST_EXPORTS) \
22385 for flag in $(EXTRA_HOST_FLAGS) ; do \
22386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22387 done; \
22388 echo "Doing html in libiberty" ; \
22389 (cd $(HOST_SUBDIR)/libiberty && \
22390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22392 "RANLIB=$${RANLIB}" \
22393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22394 html) \
22395 || exit 1
22397 @endif libiberty
22399 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22400 maybe-TAGS-libiberty:
22401 @if libiberty
22402 maybe-TAGS-libiberty: TAGS-libiberty
22404 TAGS-libiberty: \
22405 configure-libiberty
22406 @[ -f ./libiberty/Makefile ] || exit 0; \
22407 r=`${PWD_COMMAND}`; export r; \
22408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22409 $(HOST_EXPORTS) \
22410 for flag in $(EXTRA_HOST_FLAGS) ; do \
22411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22412 done; \
22413 echo "Doing TAGS in libiberty" ; \
22414 (cd $(HOST_SUBDIR)/libiberty && \
22415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22417 "RANLIB=$${RANLIB}" \
22418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22419 TAGS) \
22420 || exit 1
22422 @endif libiberty
22424 .PHONY: maybe-install-info-libiberty install-info-libiberty
22425 maybe-install-info-libiberty:
22426 @if libiberty
22427 maybe-install-info-libiberty: install-info-libiberty
22429 install-info-libiberty: \
22430 configure-libiberty \
22431 info-libiberty
22432 @[ -f ./libiberty/Makefile ] || exit 0; \
22433 r=`${PWD_COMMAND}`; export r; \
22434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22435 $(HOST_EXPORTS) \
22436 for flag in $(EXTRA_HOST_FLAGS) ; do \
22437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22438 done; \
22439 echo "Doing install-info in libiberty" ; \
22440 (cd $(HOST_SUBDIR)/libiberty && \
22441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22443 "RANLIB=$${RANLIB}" \
22444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22445 install-info) \
22446 || exit 1
22448 @endif libiberty
22450 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22451 maybe-install-pdf-libiberty:
22452 @if libiberty
22453 maybe-install-pdf-libiberty: install-pdf-libiberty
22455 install-pdf-libiberty: \
22456 configure-libiberty \
22457 pdf-libiberty
22458 @[ -f ./libiberty/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(HOST_EXPORTS) \
22462 for flag in $(EXTRA_HOST_FLAGS) ; do \
22463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22464 done; \
22465 echo "Doing install-pdf in libiberty" ; \
22466 (cd $(HOST_SUBDIR)/libiberty && \
22467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22469 "RANLIB=$${RANLIB}" \
22470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22471 install-pdf) \
22472 || exit 1
22474 @endif libiberty
22476 .PHONY: maybe-install-html-libiberty install-html-libiberty
22477 maybe-install-html-libiberty:
22478 @if libiberty
22479 maybe-install-html-libiberty: install-html-libiberty
22481 install-html-libiberty: \
22482 configure-libiberty \
22483 html-libiberty
22484 @[ -f ./libiberty/Makefile ] || exit 0; \
22485 r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(HOST_EXPORTS) \
22488 for flag in $(EXTRA_HOST_FLAGS) ; do \
22489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490 done; \
22491 echo "Doing install-html in libiberty" ; \
22492 (cd $(HOST_SUBDIR)/libiberty && \
22493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22495 "RANLIB=$${RANLIB}" \
22496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22497 install-html) \
22498 || exit 1
22500 @endif libiberty
22502 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22503 maybe-installcheck-libiberty:
22504 @if libiberty
22505 maybe-installcheck-libiberty: installcheck-libiberty
22507 installcheck-libiberty: \
22508 configure-libiberty
22509 @[ -f ./libiberty/Makefile ] || exit 0; \
22510 r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 $(HOST_EXPORTS) \
22513 for flag in $(EXTRA_HOST_FLAGS) ; do \
22514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22515 done; \
22516 echo "Doing installcheck in libiberty" ; \
22517 (cd $(HOST_SUBDIR)/libiberty && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22522 installcheck) \
22523 || exit 1
22525 @endif libiberty
22527 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22528 maybe-mostlyclean-libiberty:
22529 @if libiberty
22530 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22532 mostlyclean-libiberty:
22533 @[ -f ./libiberty/Makefile ] || exit 0; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(HOST_EXPORTS) \
22537 for flag in $(EXTRA_HOST_FLAGS) ; do \
22538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22539 done; \
22540 echo "Doing mostlyclean in libiberty" ; \
22541 (cd $(HOST_SUBDIR)/libiberty && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22546 mostlyclean) \
22547 || exit 1
22549 @endif libiberty
22551 .PHONY: maybe-clean-libiberty clean-libiberty
22552 maybe-clean-libiberty:
22553 @if libiberty
22554 maybe-clean-libiberty: clean-libiberty
22556 clean-libiberty:
22557 @[ -f ./libiberty/Makefile ] || exit 0; \
22558 r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(HOST_EXPORTS) \
22561 for flag in $(EXTRA_HOST_FLAGS) ; do \
22562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22563 done; \
22564 echo "Doing clean in libiberty" ; \
22565 (cd $(HOST_SUBDIR)/libiberty && \
22566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22568 "RANLIB=$${RANLIB}" \
22569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22570 clean) \
22571 || exit 1
22573 @endif libiberty
22575 .PHONY: maybe-distclean-libiberty distclean-libiberty
22576 maybe-distclean-libiberty:
22577 @if libiberty
22578 maybe-distclean-libiberty: distclean-libiberty
22580 distclean-libiberty:
22581 @[ -f ./libiberty/Makefile ] || exit 0; \
22582 r=`${PWD_COMMAND}`; export r; \
22583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22584 $(HOST_EXPORTS) \
22585 for flag in $(EXTRA_HOST_FLAGS) ; do \
22586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22587 done; \
22588 echo "Doing distclean in libiberty" ; \
22589 (cd $(HOST_SUBDIR)/libiberty && \
22590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22592 "RANLIB=$${RANLIB}" \
22593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22594 distclean) \
22595 || exit 1
22597 @endif libiberty
22599 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22600 maybe-maintainer-clean-libiberty:
22601 @if libiberty
22602 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22604 maintainer-clean-libiberty:
22605 @[ -f ./libiberty/Makefile ] || exit 0; \
22606 r=`${PWD_COMMAND}`; export r; \
22607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 $(HOST_EXPORTS) \
22609 for flag in $(EXTRA_HOST_FLAGS) ; do \
22610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22611 done; \
22612 echo "Doing maintainer-clean in libiberty" ; \
22613 (cd $(HOST_SUBDIR)/libiberty && \
22614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22616 "RANLIB=$${RANLIB}" \
22617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22618 maintainer-clean) \
22619 || exit 1
22621 @endif libiberty
22625 .PHONY: configure-libiconv maybe-configure-libiconv
22626 maybe-configure-libiconv:
22627 @if gcc-bootstrap
22628 configure-libiconv: stage_current
22629 @endif gcc-bootstrap
22630 @if libiconv
22631 maybe-configure-libiconv: configure-libiconv
22632 configure-libiconv:
22633 @: $(MAKE); $(unstage)
22634 @r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22638 $(HOST_EXPORTS) \
22639 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22640 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22641 case $(srcdir) in \
22642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22643 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22645 esac; \
22646 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22647 libsrcdir="$$s/libiconv"; \
22648 $(SHELL) $${libsrcdir}/configure \
22649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22650 --target=${target_alias} $${srcdiroption} --disable-shared \
22651 || exit 1
22652 @endif libiconv
22658 .PHONY: all-libiconv maybe-all-libiconv
22659 maybe-all-libiconv:
22660 @if gcc-bootstrap
22661 all-libiconv: stage_current
22662 @endif gcc-bootstrap
22663 @if libiconv
22664 TARGET-libiconv=all
22665 maybe-all-libiconv: all-libiconv
22666 all-libiconv: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22673 $(TARGET-libiconv))
22674 @endif libiconv
22679 .PHONY: check-libiconv maybe-check-libiconv
22680 maybe-check-libiconv:
22681 @if libiconv
22682 maybe-check-libiconv: check-libiconv
22684 check-libiconv:
22685 @: $(MAKE); $(unstage)
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(HOST_EXPORTS) \
22689 (cd $(HOST_SUBDIR)/libiconv && \
22690 $(MAKE) $(FLAGS_TO_PASS) check)
22692 @endif libiconv
22694 .PHONY: install-libiconv maybe-install-libiconv
22695 maybe-install-libiconv:
22696 @if libiconv
22697 maybe-install-libiconv: install-libiconv
22699 install-libiconv:
22701 @endif libiconv
22703 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22704 maybe-install-strip-libiconv:
22705 @if libiconv
22706 maybe-install-strip-libiconv: install-strip-libiconv
22708 install-strip-libiconv:
22710 @endif libiconv
22712 # Other targets (info, dvi, pdf, etc.)
22714 .PHONY: maybe-info-libiconv info-libiconv
22715 maybe-info-libiconv:
22716 @if libiconv
22717 maybe-info-libiconv: info-libiconv
22719 info-libiconv: \
22720 configure-libiconv
22721 @: $(MAKE); $(unstage)
22722 @[ -f ./libiconv/Makefile ] || exit 0; \
22723 r=`${PWD_COMMAND}`; export r; \
22724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22725 $(HOST_EXPORTS) \
22726 for flag in $(EXTRA_HOST_FLAGS) ; do \
22727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22728 done; \
22729 echo "Doing info in libiconv" ; \
22730 (cd $(HOST_SUBDIR)/libiconv && \
22731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22733 "RANLIB=$${RANLIB}" \
22734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22735 info) \
22736 || exit 1
22738 @endif libiconv
22740 .PHONY: maybe-dvi-libiconv dvi-libiconv
22741 maybe-dvi-libiconv:
22742 @if libiconv
22743 maybe-dvi-libiconv: dvi-libiconv
22745 dvi-libiconv: \
22746 configure-libiconv
22747 @: $(MAKE); $(unstage)
22748 @[ -f ./libiconv/Makefile ] || exit 0; \
22749 r=`${PWD_COMMAND}`; export r; \
22750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22751 $(HOST_EXPORTS) \
22752 for flag in $(EXTRA_HOST_FLAGS) ; do \
22753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22754 done; \
22755 echo "Doing dvi in libiconv" ; \
22756 (cd $(HOST_SUBDIR)/libiconv && \
22757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22759 "RANLIB=$${RANLIB}" \
22760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22761 dvi) \
22762 || exit 1
22764 @endif libiconv
22766 .PHONY: maybe-pdf-libiconv pdf-libiconv
22767 maybe-pdf-libiconv:
22768 @if libiconv
22769 maybe-pdf-libiconv: pdf-libiconv
22771 pdf-libiconv: \
22772 configure-libiconv
22773 @: $(MAKE); $(unstage)
22774 @[ -f ./libiconv/Makefile ] || exit 0; \
22775 r=`${PWD_COMMAND}`; export r; \
22776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22777 $(HOST_EXPORTS) \
22778 for flag in $(EXTRA_HOST_FLAGS) ; do \
22779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22780 done; \
22781 echo "Doing pdf in libiconv" ; \
22782 (cd $(HOST_SUBDIR)/libiconv && \
22783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22785 "RANLIB=$${RANLIB}" \
22786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22787 pdf) \
22788 || exit 1
22790 @endif libiconv
22792 .PHONY: maybe-html-libiconv html-libiconv
22793 maybe-html-libiconv:
22794 @if libiconv
22795 maybe-html-libiconv: html-libiconv
22797 html-libiconv: \
22798 configure-libiconv
22799 @: $(MAKE); $(unstage)
22800 @[ -f ./libiconv/Makefile ] || exit 0; \
22801 r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 $(HOST_EXPORTS) \
22804 for flag in $(EXTRA_HOST_FLAGS) ; do \
22805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22806 done; \
22807 echo "Doing html in libiconv" ; \
22808 (cd $(HOST_SUBDIR)/libiconv && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22811 "RANLIB=$${RANLIB}" \
22812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22813 html) \
22814 || exit 1
22816 @endif libiconv
22818 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22819 maybe-TAGS-libiconv:
22820 @if libiconv
22821 maybe-TAGS-libiconv: TAGS-libiconv
22823 TAGS-libiconv: \
22824 configure-libiconv
22825 @: $(MAKE); $(unstage)
22826 @[ -f ./libiconv/Makefile ] || exit 0; \
22827 r=`${PWD_COMMAND}`; export r; \
22828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22829 $(HOST_EXPORTS) \
22830 for flag in $(EXTRA_HOST_FLAGS) ; do \
22831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 done; \
22833 echo "Doing TAGS in libiconv" ; \
22834 (cd $(HOST_SUBDIR)/libiconv && \
22835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22837 "RANLIB=$${RANLIB}" \
22838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22839 TAGS) \
22840 || exit 1
22842 @endif libiconv
22844 .PHONY: maybe-install-info-libiconv install-info-libiconv
22845 maybe-install-info-libiconv:
22846 @if libiconv
22847 maybe-install-info-libiconv: install-info-libiconv
22849 # libiconv doesn't support install-info.
22850 install-info-libiconv:
22852 @endif libiconv
22854 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22855 maybe-install-pdf-libiconv:
22856 @if libiconv
22857 maybe-install-pdf-libiconv: install-pdf-libiconv
22859 # libiconv doesn't support install-pdf.
22860 install-pdf-libiconv:
22862 @endif libiconv
22864 .PHONY: maybe-install-html-libiconv install-html-libiconv
22865 maybe-install-html-libiconv:
22866 @if libiconv
22867 maybe-install-html-libiconv: install-html-libiconv
22869 # libiconv doesn't support install-html.
22870 install-html-libiconv:
22872 @endif libiconv
22874 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22875 maybe-installcheck-libiconv:
22876 @if libiconv
22877 maybe-installcheck-libiconv: installcheck-libiconv
22879 installcheck-libiconv: \
22880 configure-libiconv
22881 @: $(MAKE); $(unstage)
22882 @[ -f ./libiconv/Makefile ] || exit 0; \
22883 r=`${PWD_COMMAND}`; export r; \
22884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22885 $(HOST_EXPORTS) \
22886 for flag in $(EXTRA_HOST_FLAGS) ; do \
22887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22888 done; \
22889 echo "Doing installcheck in libiconv" ; \
22890 (cd $(HOST_SUBDIR)/libiconv && \
22891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22893 "RANLIB=$${RANLIB}" \
22894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22895 installcheck) \
22896 || exit 1
22898 @endif libiconv
22900 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22901 maybe-mostlyclean-libiconv:
22902 @if libiconv
22903 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22905 mostlyclean-libiconv:
22906 @: $(MAKE); $(unstage)
22907 @[ -f ./libiconv/Makefile ] || exit 0; \
22908 r=`${PWD_COMMAND}`; export r; \
22909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22910 $(HOST_EXPORTS) \
22911 for flag in $(EXTRA_HOST_FLAGS) ; do \
22912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22913 done; \
22914 echo "Doing mostlyclean in libiconv" ; \
22915 (cd $(HOST_SUBDIR)/libiconv && \
22916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22918 "RANLIB=$${RANLIB}" \
22919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22920 mostlyclean) \
22921 || exit 1
22923 @endif libiconv
22925 .PHONY: maybe-clean-libiconv clean-libiconv
22926 maybe-clean-libiconv:
22927 @if libiconv
22928 maybe-clean-libiconv: clean-libiconv
22930 clean-libiconv:
22931 @: $(MAKE); $(unstage)
22932 @[ -f ./libiconv/Makefile ] || exit 0; \
22933 r=`${PWD_COMMAND}`; export r; \
22934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22935 $(HOST_EXPORTS) \
22936 for flag in $(EXTRA_HOST_FLAGS) ; do \
22937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22938 done; \
22939 echo "Doing clean in libiconv" ; \
22940 (cd $(HOST_SUBDIR)/libiconv && \
22941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22943 "RANLIB=$${RANLIB}" \
22944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22945 clean) \
22946 || exit 1
22948 @endif libiconv
22950 .PHONY: maybe-distclean-libiconv distclean-libiconv
22951 maybe-distclean-libiconv:
22952 @if libiconv
22953 maybe-distclean-libiconv: distclean-libiconv
22955 distclean-libiconv:
22956 @: $(MAKE); $(unstage)
22957 @[ -f ./libiconv/Makefile ] || exit 0; \
22958 r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 $(HOST_EXPORTS) \
22961 for flag in $(EXTRA_HOST_FLAGS) ; do \
22962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22963 done; \
22964 echo "Doing distclean in libiconv" ; \
22965 (cd $(HOST_SUBDIR)/libiconv && \
22966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22968 "RANLIB=$${RANLIB}" \
22969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22970 distclean) \
22971 || exit 1
22973 @endif libiconv
22975 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
22976 maybe-maintainer-clean-libiconv:
22977 @if libiconv
22978 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
22980 maintainer-clean-libiconv:
22981 @: $(MAKE); $(unstage)
22982 @[ -f ./libiconv/Makefile ] || exit 0; \
22983 r=`${PWD_COMMAND}`; export r; \
22984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22985 $(HOST_EXPORTS) \
22986 for flag in $(EXTRA_HOST_FLAGS) ; do \
22987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22988 done; \
22989 echo "Doing maintainer-clean in libiconv" ; \
22990 (cd $(HOST_SUBDIR)/libiconv && \
22991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22993 "RANLIB=$${RANLIB}" \
22994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22995 maintainer-clean) \
22996 || exit 1
22998 @endif libiconv
23002 .PHONY: configure-m4 maybe-configure-m4
23003 maybe-configure-m4:
23004 @if gcc-bootstrap
23005 configure-m4: stage_current
23006 @endif gcc-bootstrap
23007 @if m4
23008 maybe-configure-m4: configure-m4
23009 configure-m4:
23010 @: $(MAKE); $(unstage)
23011 @r=`${PWD_COMMAND}`; export r; \
23012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23015 $(HOST_EXPORTS) \
23016 echo Configuring in $(HOST_SUBDIR)/m4; \
23017 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23018 case $(srcdir) in \
23019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23020 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23022 esac; \
23023 srcdiroption="--srcdir=$${topdir}/m4"; \
23024 libsrcdir="$$s/m4"; \
23025 $(SHELL) $${libsrcdir}/configure \
23026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23027 --target=${target_alias} $${srcdiroption} \
23028 || exit 1
23029 @endif m4
23035 .PHONY: all-m4 maybe-all-m4
23036 maybe-all-m4:
23037 @if gcc-bootstrap
23038 all-m4: stage_current
23039 @endif gcc-bootstrap
23040 @if m4
23041 TARGET-m4=all
23042 maybe-all-m4: all-m4
23043 all-m4: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23050 $(TARGET-m4))
23051 @endif m4
23056 .PHONY: check-m4 maybe-check-m4
23057 maybe-check-m4:
23058 @if m4
23059 maybe-check-m4: check-m4
23061 check-m4:
23062 @: $(MAKE); $(unstage)
23063 @r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 $(HOST_EXPORTS) \
23066 (cd $(HOST_SUBDIR)/m4 && \
23067 $(MAKE) $(FLAGS_TO_PASS) check)
23069 @endif m4
23071 .PHONY: install-m4 maybe-install-m4
23072 maybe-install-m4:
23073 @if m4
23074 maybe-install-m4: install-m4
23076 install-m4: installdirs
23077 @: $(MAKE); $(unstage)
23078 @r=`${PWD_COMMAND}`; export r; \
23079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23080 $(HOST_EXPORTS) \
23081 (cd $(HOST_SUBDIR)/m4 && \
23082 $(MAKE) $(FLAGS_TO_PASS) install)
23084 @endif m4
23086 .PHONY: install-strip-m4 maybe-install-strip-m4
23087 maybe-install-strip-m4:
23088 @if m4
23089 maybe-install-strip-m4: install-strip-m4
23091 install-strip-m4: installdirs
23092 @: $(MAKE); $(unstage)
23093 @r=`${PWD_COMMAND}`; export r; \
23094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23095 $(HOST_EXPORTS) \
23096 (cd $(HOST_SUBDIR)/m4 && \
23097 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23099 @endif m4
23101 # Other targets (info, dvi, pdf, etc.)
23103 .PHONY: maybe-info-m4 info-m4
23104 maybe-info-m4:
23105 @if m4
23106 maybe-info-m4: info-m4
23108 info-m4: \
23109 configure-m4
23110 @: $(MAKE); $(unstage)
23111 @[ -f ./m4/Makefile ] || exit 0; \
23112 r=`${PWD_COMMAND}`; export r; \
23113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23114 $(HOST_EXPORTS) \
23115 for flag in $(EXTRA_HOST_FLAGS) ; do \
23116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23117 done; \
23118 echo "Doing info in m4" ; \
23119 (cd $(HOST_SUBDIR)/m4 && \
23120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23122 "RANLIB=$${RANLIB}" \
23123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23124 info) \
23125 || exit 1
23127 @endif m4
23129 .PHONY: maybe-dvi-m4 dvi-m4
23130 maybe-dvi-m4:
23131 @if m4
23132 maybe-dvi-m4: dvi-m4
23134 dvi-m4: \
23135 configure-m4
23136 @: $(MAKE); $(unstage)
23137 @[ -f ./m4/Makefile ] || exit 0; \
23138 r=`${PWD_COMMAND}`; export r; \
23139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23140 $(HOST_EXPORTS) \
23141 for flag in $(EXTRA_HOST_FLAGS) ; do \
23142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23143 done; \
23144 echo "Doing dvi in m4" ; \
23145 (cd $(HOST_SUBDIR)/m4 && \
23146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23148 "RANLIB=$${RANLIB}" \
23149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23150 dvi) \
23151 || exit 1
23153 @endif m4
23155 .PHONY: maybe-pdf-m4 pdf-m4
23156 maybe-pdf-m4:
23157 @if m4
23158 maybe-pdf-m4: pdf-m4
23160 pdf-m4: \
23161 configure-m4
23162 @: $(MAKE); $(unstage)
23163 @[ -f ./m4/Makefile ] || exit 0; \
23164 r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(HOST_EXPORTS) \
23167 for flag in $(EXTRA_HOST_FLAGS) ; do \
23168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23169 done; \
23170 echo "Doing pdf in m4" ; \
23171 (cd $(HOST_SUBDIR)/m4 && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23176 pdf) \
23177 || exit 1
23179 @endif m4
23181 .PHONY: maybe-html-m4 html-m4
23182 maybe-html-m4:
23183 @if m4
23184 maybe-html-m4: html-m4
23186 html-m4: \
23187 configure-m4
23188 @: $(MAKE); $(unstage)
23189 @[ -f ./m4/Makefile ] || exit 0; \
23190 r=`${PWD_COMMAND}`; export r; \
23191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 $(HOST_EXPORTS) \
23193 for flag in $(EXTRA_HOST_FLAGS) ; do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23195 done; \
23196 echo "Doing html in m4" ; \
23197 (cd $(HOST_SUBDIR)/m4 && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23200 "RANLIB=$${RANLIB}" \
23201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23202 html) \
23203 || exit 1
23205 @endif m4
23207 .PHONY: maybe-TAGS-m4 TAGS-m4
23208 maybe-TAGS-m4:
23209 @if m4
23210 maybe-TAGS-m4: TAGS-m4
23212 TAGS-m4: \
23213 configure-m4
23214 @: $(MAKE); $(unstage)
23215 @[ -f ./m4/Makefile ] || exit 0; \
23216 r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218 $(HOST_EXPORTS) \
23219 for flag in $(EXTRA_HOST_FLAGS) ; do \
23220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23221 done; \
23222 echo "Doing TAGS in m4" ; \
23223 (cd $(HOST_SUBDIR)/m4 && \
23224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23226 "RANLIB=$${RANLIB}" \
23227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23228 TAGS) \
23229 || exit 1
23231 @endif m4
23233 .PHONY: maybe-install-info-m4 install-info-m4
23234 maybe-install-info-m4:
23235 @if m4
23236 maybe-install-info-m4: install-info-m4
23238 install-info-m4: \
23239 configure-m4 \
23240 info-m4
23241 @: $(MAKE); $(unstage)
23242 @[ -f ./m4/Makefile ] || exit 0; \
23243 r=`${PWD_COMMAND}`; export r; \
23244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23245 $(HOST_EXPORTS) \
23246 for flag in $(EXTRA_HOST_FLAGS) ; do \
23247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23248 done; \
23249 echo "Doing install-info in m4" ; \
23250 (cd $(HOST_SUBDIR)/m4 && \
23251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23253 "RANLIB=$${RANLIB}" \
23254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23255 install-info) \
23256 || exit 1
23258 @endif m4
23260 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23261 maybe-install-pdf-m4:
23262 @if m4
23263 maybe-install-pdf-m4: install-pdf-m4
23265 install-pdf-m4: \
23266 configure-m4 \
23267 pdf-m4
23268 @: $(MAKE); $(unstage)
23269 @[ -f ./m4/Makefile ] || exit 0; \
23270 r=`${PWD_COMMAND}`; export r; \
23271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23272 $(HOST_EXPORTS) \
23273 for flag in $(EXTRA_HOST_FLAGS) ; do \
23274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23275 done; \
23276 echo "Doing install-pdf in m4" ; \
23277 (cd $(HOST_SUBDIR)/m4 && \
23278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23280 "RANLIB=$${RANLIB}" \
23281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23282 install-pdf) \
23283 || exit 1
23285 @endif m4
23287 .PHONY: maybe-install-html-m4 install-html-m4
23288 maybe-install-html-m4:
23289 @if m4
23290 maybe-install-html-m4: install-html-m4
23292 install-html-m4: \
23293 configure-m4 \
23294 html-m4
23295 @: $(MAKE); $(unstage)
23296 @[ -f ./m4/Makefile ] || exit 0; \
23297 r=`${PWD_COMMAND}`; export r; \
23298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299 $(HOST_EXPORTS) \
23300 for flag in $(EXTRA_HOST_FLAGS) ; do \
23301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23302 done; \
23303 echo "Doing install-html in m4" ; \
23304 (cd $(HOST_SUBDIR)/m4 && \
23305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23307 "RANLIB=$${RANLIB}" \
23308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23309 install-html) \
23310 || exit 1
23312 @endif m4
23314 .PHONY: maybe-installcheck-m4 installcheck-m4
23315 maybe-installcheck-m4:
23316 @if m4
23317 maybe-installcheck-m4: installcheck-m4
23319 installcheck-m4: \
23320 configure-m4
23321 @: $(MAKE); $(unstage)
23322 @[ -f ./m4/Makefile ] || exit 0; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23325 $(HOST_EXPORTS) \
23326 for flag in $(EXTRA_HOST_FLAGS) ; do \
23327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23328 done; \
23329 echo "Doing installcheck in m4" ; \
23330 (cd $(HOST_SUBDIR)/m4 && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23335 installcheck) \
23336 || exit 1
23338 @endif m4
23340 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23341 maybe-mostlyclean-m4:
23342 @if m4
23343 maybe-mostlyclean-m4: mostlyclean-m4
23345 mostlyclean-m4:
23346 @: $(MAKE); $(unstage)
23347 @[ -f ./m4/Makefile ] || exit 0; \
23348 r=`${PWD_COMMAND}`; export r; \
23349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350 $(HOST_EXPORTS) \
23351 for flag in $(EXTRA_HOST_FLAGS) ; do \
23352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23353 done; \
23354 echo "Doing mostlyclean in m4" ; \
23355 (cd $(HOST_SUBDIR)/m4 && \
23356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23358 "RANLIB=$${RANLIB}" \
23359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23360 mostlyclean) \
23361 || exit 1
23363 @endif m4
23365 .PHONY: maybe-clean-m4 clean-m4
23366 maybe-clean-m4:
23367 @if m4
23368 maybe-clean-m4: clean-m4
23370 clean-m4:
23371 @: $(MAKE); $(unstage)
23372 @[ -f ./m4/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing clean in m4" ; \
23380 (cd $(HOST_SUBDIR)/m4 && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23385 clean) \
23386 || exit 1
23388 @endif m4
23390 .PHONY: maybe-distclean-m4 distclean-m4
23391 maybe-distclean-m4:
23392 @if m4
23393 maybe-distclean-m4: distclean-m4
23395 distclean-m4:
23396 @: $(MAKE); $(unstage)
23397 @[ -f ./m4/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) ; do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing distclean in m4" ; \
23405 (cd $(HOST_SUBDIR)/m4 && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23410 distclean) \
23411 || exit 1
23413 @endif m4
23415 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23416 maybe-maintainer-clean-m4:
23417 @if m4
23418 maybe-maintainer-clean-m4: maintainer-clean-m4
23420 maintainer-clean-m4:
23421 @: $(MAKE); $(unstage)
23422 @[ -f ./m4/Makefile ] || exit 0; \
23423 r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 $(HOST_EXPORTS) \
23426 for flag in $(EXTRA_HOST_FLAGS) ; do \
23427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23428 done; \
23429 echo "Doing maintainer-clean in m4" ; \
23430 (cd $(HOST_SUBDIR)/m4 && \
23431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23433 "RANLIB=$${RANLIB}" \
23434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23435 maintainer-clean) \
23436 || exit 1
23438 @endif m4
23442 .PHONY: configure-readline maybe-configure-readline
23443 maybe-configure-readline:
23444 @if gcc-bootstrap
23445 configure-readline: stage_current
23446 @endif gcc-bootstrap
23447 @if readline
23448 maybe-configure-readline: configure-readline
23449 configure-readline:
23450 @: $(MAKE); $(unstage)
23451 @r=`${PWD_COMMAND}`; export r; \
23452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23453 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23455 $(HOST_EXPORTS) \
23456 echo Configuring in $(HOST_SUBDIR)/readline; \
23457 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23458 case $(srcdir) in \
23459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23460 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23462 esac; \
23463 srcdiroption="--srcdir=$${topdir}/readline"; \
23464 libsrcdir="$$s/readline"; \
23465 $(SHELL) $${libsrcdir}/configure \
23466 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23467 --target=${target_alias} $${srcdiroption} \
23468 || exit 1
23469 @endif readline
23475 .PHONY: all-readline maybe-all-readline
23476 maybe-all-readline:
23477 @if gcc-bootstrap
23478 all-readline: stage_current
23479 @endif gcc-bootstrap
23480 @if readline
23481 TARGET-readline=all
23482 maybe-all-readline: all-readline
23483 all-readline: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23490 $(TARGET-readline))
23491 @endif readline
23496 .PHONY: check-readline maybe-check-readline
23497 maybe-check-readline:
23498 @if readline
23499 maybe-check-readline: check-readline
23501 check-readline:
23502 @: $(MAKE); $(unstage)
23503 @r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 $(HOST_EXPORTS) \
23506 (cd $(HOST_SUBDIR)/readline && \
23507 $(MAKE) $(FLAGS_TO_PASS) check)
23509 @endif readline
23511 .PHONY: install-readline maybe-install-readline
23512 maybe-install-readline:
23513 @if readline
23514 maybe-install-readline: install-readline
23516 install-readline: installdirs
23517 @: $(MAKE); $(unstage)
23518 @r=`${PWD_COMMAND}`; export r; \
23519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 $(HOST_EXPORTS) \
23521 (cd $(HOST_SUBDIR)/readline && \
23522 $(MAKE) $(FLAGS_TO_PASS) install)
23524 @endif readline
23526 .PHONY: install-strip-readline maybe-install-strip-readline
23527 maybe-install-strip-readline:
23528 @if readline
23529 maybe-install-strip-readline: install-strip-readline
23531 install-strip-readline: installdirs
23532 @: $(MAKE); $(unstage)
23533 @r=`${PWD_COMMAND}`; export r; \
23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(HOST_EXPORTS) \
23536 (cd $(HOST_SUBDIR)/readline && \
23537 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23539 @endif readline
23541 # Other targets (info, dvi, pdf, etc.)
23543 .PHONY: maybe-info-readline info-readline
23544 maybe-info-readline:
23545 @if readline
23546 maybe-info-readline: info-readline
23548 info-readline: \
23549 configure-readline
23550 @: $(MAKE); $(unstage)
23551 @[ -f ./readline/Makefile ] || exit 0; \
23552 r=`${PWD_COMMAND}`; export r; \
23553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(HOST_EXPORTS) \
23555 for flag in $(EXTRA_HOST_FLAGS) ; do \
23556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23557 done; \
23558 echo "Doing info in readline" ; \
23559 (cd $(HOST_SUBDIR)/readline && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23564 info) \
23565 || exit 1
23567 @endif readline
23569 .PHONY: maybe-dvi-readline dvi-readline
23570 maybe-dvi-readline:
23571 @if readline
23572 maybe-dvi-readline: dvi-readline
23574 dvi-readline: \
23575 configure-readline
23576 @: $(MAKE); $(unstage)
23577 @[ -f ./readline/Makefile ] || exit 0; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(HOST_EXPORTS) \
23581 for flag in $(EXTRA_HOST_FLAGS) ; do \
23582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23583 done; \
23584 echo "Doing dvi in readline" ; \
23585 (cd $(HOST_SUBDIR)/readline && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588 "RANLIB=$${RANLIB}" \
23589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23590 dvi) \
23591 || exit 1
23593 @endif readline
23595 .PHONY: maybe-pdf-readline pdf-readline
23596 maybe-pdf-readline:
23597 @if readline
23598 maybe-pdf-readline: pdf-readline
23600 pdf-readline: \
23601 configure-readline
23602 @: $(MAKE); $(unstage)
23603 @[ -f ./readline/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(HOST_EXPORTS) \
23607 for flag in $(EXTRA_HOST_FLAGS) ; do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 echo "Doing pdf in readline" ; \
23611 (cd $(HOST_SUBDIR)/readline && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23616 pdf) \
23617 || exit 1
23619 @endif readline
23621 .PHONY: maybe-html-readline html-readline
23622 maybe-html-readline:
23623 @if readline
23624 maybe-html-readline: html-readline
23626 html-readline: \
23627 configure-readline
23628 @: $(MAKE); $(unstage)
23629 @[ -f ./readline/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) ; do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing html in readline" ; \
23637 (cd $(HOST_SUBDIR)/readline && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23642 html) \
23643 || exit 1
23645 @endif readline
23647 .PHONY: maybe-TAGS-readline TAGS-readline
23648 maybe-TAGS-readline:
23649 @if readline
23650 maybe-TAGS-readline: TAGS-readline
23652 TAGS-readline: \
23653 configure-readline
23654 @: $(MAKE); $(unstage)
23655 @[ -f ./readline/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing TAGS in readline" ; \
23663 (cd $(HOST_SUBDIR)/readline && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23668 TAGS) \
23669 || exit 1
23671 @endif readline
23673 .PHONY: maybe-install-info-readline install-info-readline
23674 maybe-install-info-readline:
23675 @if readline
23676 maybe-install-info-readline: install-info-readline
23678 install-info-readline: \
23679 configure-readline \
23680 info-readline
23681 @: $(MAKE); $(unstage)
23682 @[ -f ./readline/Makefile ] || exit 0; \
23683 r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 $(HOST_EXPORTS) \
23686 for flag in $(EXTRA_HOST_FLAGS) ; do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688 done; \
23689 echo "Doing install-info in readline" ; \
23690 (cd $(HOST_SUBDIR)/readline && \
23691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23693 "RANLIB=$${RANLIB}" \
23694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23695 install-info) \
23696 || exit 1
23698 @endif readline
23700 .PHONY: maybe-install-pdf-readline install-pdf-readline
23701 maybe-install-pdf-readline:
23702 @if readline
23703 maybe-install-pdf-readline: install-pdf-readline
23705 install-pdf-readline: \
23706 configure-readline \
23707 pdf-readline
23708 @: $(MAKE); $(unstage)
23709 @[ -f ./readline/Makefile ] || exit 0; \
23710 r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23712 $(HOST_EXPORTS) \
23713 for flag in $(EXTRA_HOST_FLAGS) ; do \
23714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23715 done; \
23716 echo "Doing install-pdf in readline" ; \
23717 (cd $(HOST_SUBDIR)/readline && \
23718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23720 "RANLIB=$${RANLIB}" \
23721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23722 install-pdf) \
23723 || exit 1
23725 @endif readline
23727 .PHONY: maybe-install-html-readline install-html-readline
23728 maybe-install-html-readline:
23729 @if readline
23730 maybe-install-html-readline: install-html-readline
23732 install-html-readline: \
23733 configure-readline \
23734 html-readline
23735 @: $(MAKE); $(unstage)
23736 @[ -f ./readline/Makefile ] || exit 0; \
23737 r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 $(HOST_EXPORTS) \
23740 for flag in $(EXTRA_HOST_FLAGS) ; do \
23741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23742 done; \
23743 echo "Doing install-html in readline" ; \
23744 (cd $(HOST_SUBDIR)/readline && \
23745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23747 "RANLIB=$${RANLIB}" \
23748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23749 install-html) \
23750 || exit 1
23752 @endif readline
23754 .PHONY: maybe-installcheck-readline installcheck-readline
23755 maybe-installcheck-readline:
23756 @if readline
23757 maybe-installcheck-readline: installcheck-readline
23759 installcheck-readline: \
23760 configure-readline
23761 @: $(MAKE); $(unstage)
23762 @[ -f ./readline/Makefile ] || exit 0; \
23763 r=`${PWD_COMMAND}`; export r; \
23764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23765 $(HOST_EXPORTS) \
23766 for flag in $(EXTRA_HOST_FLAGS) ; do \
23767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23768 done; \
23769 echo "Doing installcheck in readline" ; \
23770 (cd $(HOST_SUBDIR)/readline && \
23771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23773 "RANLIB=$${RANLIB}" \
23774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23775 installcheck) \
23776 || exit 1
23778 @endif readline
23780 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23781 maybe-mostlyclean-readline:
23782 @if readline
23783 maybe-mostlyclean-readline: mostlyclean-readline
23785 mostlyclean-readline:
23786 @: $(MAKE); $(unstage)
23787 @[ -f ./readline/Makefile ] || exit 0; \
23788 r=`${PWD_COMMAND}`; export r; \
23789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23790 $(HOST_EXPORTS) \
23791 for flag in $(EXTRA_HOST_FLAGS) ; do \
23792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23793 done; \
23794 echo "Doing mostlyclean in readline" ; \
23795 (cd $(HOST_SUBDIR)/readline && \
23796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23798 "RANLIB=$${RANLIB}" \
23799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23800 mostlyclean) \
23801 || exit 1
23803 @endif readline
23805 .PHONY: maybe-clean-readline clean-readline
23806 maybe-clean-readline:
23807 @if readline
23808 maybe-clean-readline: clean-readline
23810 clean-readline:
23811 @: $(MAKE); $(unstage)
23812 @[ -f ./readline/Makefile ] || exit 0; \
23813 r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 $(HOST_EXPORTS) \
23816 for flag in $(EXTRA_HOST_FLAGS) ; do \
23817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23818 done; \
23819 echo "Doing clean in readline" ; \
23820 (cd $(HOST_SUBDIR)/readline && \
23821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23823 "RANLIB=$${RANLIB}" \
23824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23825 clean) \
23826 || exit 1
23828 @endif readline
23830 .PHONY: maybe-distclean-readline distclean-readline
23831 maybe-distclean-readline:
23832 @if readline
23833 maybe-distclean-readline: distclean-readline
23835 distclean-readline:
23836 @: $(MAKE); $(unstage)
23837 @[ -f ./readline/Makefile ] || exit 0; \
23838 r=`${PWD_COMMAND}`; export r; \
23839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23840 $(HOST_EXPORTS) \
23841 for flag in $(EXTRA_HOST_FLAGS) ; do \
23842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23843 done; \
23844 echo "Doing distclean in readline" ; \
23845 (cd $(HOST_SUBDIR)/readline && \
23846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23848 "RANLIB=$${RANLIB}" \
23849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23850 distclean) \
23851 || exit 1
23853 @endif readline
23855 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23856 maybe-maintainer-clean-readline:
23857 @if readline
23858 maybe-maintainer-clean-readline: maintainer-clean-readline
23860 maintainer-clean-readline:
23861 @: $(MAKE); $(unstage)
23862 @[ -f ./readline/Makefile ] || exit 0; \
23863 r=`${PWD_COMMAND}`; export r; \
23864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23865 $(HOST_EXPORTS) \
23866 for flag in $(EXTRA_HOST_FLAGS) ; do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 echo "Doing maintainer-clean in readline" ; \
23870 (cd $(HOST_SUBDIR)/readline && \
23871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23873 "RANLIB=$${RANLIB}" \
23874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23875 maintainer-clean) \
23876 || exit 1
23878 @endif readline
23882 .PHONY: configure-sid maybe-configure-sid
23883 maybe-configure-sid:
23884 @if gcc-bootstrap
23885 configure-sid: stage_current
23886 @endif gcc-bootstrap
23887 @if sid
23888 maybe-configure-sid: configure-sid
23889 configure-sid:
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23895 $(HOST_EXPORTS) \
23896 echo Configuring in $(HOST_SUBDIR)/sid; \
23897 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23898 case $(srcdir) in \
23899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23900 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23902 esac; \
23903 srcdiroption="--srcdir=$${topdir}/sid"; \
23904 libsrcdir="$$s/sid"; \
23905 $(SHELL) $${libsrcdir}/configure \
23906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23907 --target=${target_alias} $${srcdiroption} \
23908 || exit 1
23909 @endif sid
23915 .PHONY: all-sid maybe-all-sid
23916 maybe-all-sid:
23917 @if gcc-bootstrap
23918 all-sid: stage_current
23919 @endif gcc-bootstrap
23920 @if sid
23921 TARGET-sid=all
23922 maybe-all-sid: all-sid
23923 all-sid: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23930 $(TARGET-sid))
23931 @endif sid
23936 .PHONY: check-sid maybe-check-sid
23937 maybe-check-sid:
23938 @if sid
23939 maybe-check-sid: check-sid
23941 check-sid:
23942 @: $(MAKE); $(unstage)
23943 @r=`${PWD_COMMAND}`; export r; \
23944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23945 $(HOST_EXPORTS) \
23946 (cd $(HOST_SUBDIR)/sid && \
23947 $(MAKE) $(FLAGS_TO_PASS) check)
23949 @endif sid
23951 .PHONY: install-sid maybe-install-sid
23952 maybe-install-sid:
23953 @if sid
23954 maybe-install-sid: install-sid
23956 install-sid: installdirs
23957 @: $(MAKE); $(unstage)
23958 @r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(HOST_EXPORTS) \
23961 (cd $(HOST_SUBDIR)/sid && \
23962 $(MAKE) $(FLAGS_TO_PASS) install)
23964 @endif sid
23966 .PHONY: install-strip-sid maybe-install-strip-sid
23967 maybe-install-strip-sid:
23968 @if sid
23969 maybe-install-strip-sid: install-strip-sid
23971 install-strip-sid: installdirs
23972 @: $(MAKE); $(unstage)
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(HOST_EXPORTS) \
23976 (cd $(HOST_SUBDIR)/sid && \
23977 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23979 @endif sid
23981 # Other targets (info, dvi, pdf, etc.)
23983 .PHONY: maybe-info-sid info-sid
23984 maybe-info-sid:
23985 @if sid
23986 maybe-info-sid: info-sid
23988 info-sid: \
23989 configure-sid
23990 @: $(MAKE); $(unstage)
23991 @[ -f ./sid/Makefile ] || exit 0; \
23992 r=`${PWD_COMMAND}`; export r; \
23993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23994 $(HOST_EXPORTS) \
23995 for flag in $(EXTRA_HOST_FLAGS) ; do \
23996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 done; \
23998 echo "Doing info in sid" ; \
23999 (cd $(HOST_SUBDIR)/sid && \
24000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24002 "RANLIB=$${RANLIB}" \
24003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24004 info) \
24005 || exit 1
24007 @endif sid
24009 .PHONY: maybe-dvi-sid dvi-sid
24010 maybe-dvi-sid:
24011 @if sid
24012 maybe-dvi-sid: dvi-sid
24014 dvi-sid: \
24015 configure-sid
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./sid/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing dvi in sid" ; \
24025 (cd $(HOST_SUBDIR)/sid && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24030 dvi) \
24031 || exit 1
24033 @endif sid
24035 .PHONY: maybe-pdf-sid pdf-sid
24036 maybe-pdf-sid:
24037 @if sid
24038 maybe-pdf-sid: pdf-sid
24040 pdf-sid: \
24041 configure-sid
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./sid/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing pdf in sid" ; \
24051 (cd $(HOST_SUBDIR)/sid && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24056 pdf) \
24057 || exit 1
24059 @endif sid
24061 .PHONY: maybe-html-sid html-sid
24062 maybe-html-sid:
24063 @if sid
24064 maybe-html-sid: html-sid
24066 html-sid: \
24067 configure-sid
24068 @: $(MAKE); $(unstage)
24069 @[ -f ./sid/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing html in sid" ; \
24077 (cd $(HOST_SUBDIR)/sid && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24082 html) \
24083 || exit 1
24085 @endif sid
24087 .PHONY: maybe-TAGS-sid TAGS-sid
24088 maybe-TAGS-sid:
24089 @if sid
24090 maybe-TAGS-sid: TAGS-sid
24092 TAGS-sid: \
24093 configure-sid
24094 @: $(MAKE); $(unstage)
24095 @[ -f ./sid/Makefile ] || exit 0; \
24096 r=`${PWD_COMMAND}`; export r; \
24097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 $(HOST_EXPORTS) \
24099 for flag in $(EXTRA_HOST_FLAGS) ; do \
24100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24101 done; \
24102 echo "Doing TAGS in sid" ; \
24103 (cd $(HOST_SUBDIR)/sid && \
24104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24106 "RANLIB=$${RANLIB}" \
24107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24108 TAGS) \
24109 || exit 1
24111 @endif sid
24113 .PHONY: maybe-install-info-sid install-info-sid
24114 maybe-install-info-sid:
24115 @if sid
24116 maybe-install-info-sid: install-info-sid
24118 install-info-sid: \
24119 configure-sid \
24120 info-sid
24121 @: $(MAKE); $(unstage)
24122 @[ -f ./sid/Makefile ] || exit 0; \
24123 r=`${PWD_COMMAND}`; export r; \
24124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24125 $(HOST_EXPORTS) \
24126 for flag in $(EXTRA_HOST_FLAGS) ; do \
24127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24128 done; \
24129 echo "Doing install-info in sid" ; \
24130 (cd $(HOST_SUBDIR)/sid && \
24131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24133 "RANLIB=$${RANLIB}" \
24134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24135 install-info) \
24136 || exit 1
24138 @endif sid
24140 .PHONY: maybe-install-pdf-sid install-pdf-sid
24141 maybe-install-pdf-sid:
24142 @if sid
24143 maybe-install-pdf-sid: install-pdf-sid
24145 install-pdf-sid: \
24146 configure-sid \
24147 pdf-sid
24148 @: $(MAKE); $(unstage)
24149 @[ -f ./sid/Makefile ] || exit 0; \
24150 r=`${PWD_COMMAND}`; export r; \
24151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24152 $(HOST_EXPORTS) \
24153 for flag in $(EXTRA_HOST_FLAGS) ; do \
24154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24155 done; \
24156 echo "Doing install-pdf in sid" ; \
24157 (cd $(HOST_SUBDIR)/sid && \
24158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24160 "RANLIB=$${RANLIB}" \
24161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24162 install-pdf) \
24163 || exit 1
24165 @endif sid
24167 .PHONY: maybe-install-html-sid install-html-sid
24168 maybe-install-html-sid:
24169 @if sid
24170 maybe-install-html-sid: install-html-sid
24172 install-html-sid: \
24173 configure-sid \
24174 html-sid
24175 @: $(MAKE); $(unstage)
24176 @[ -f ./sid/Makefile ] || exit 0; \
24177 r=`${PWD_COMMAND}`; export r; \
24178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24179 $(HOST_EXPORTS) \
24180 for flag in $(EXTRA_HOST_FLAGS) ; do \
24181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24182 done; \
24183 echo "Doing install-html in sid" ; \
24184 (cd $(HOST_SUBDIR)/sid && \
24185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24187 "RANLIB=$${RANLIB}" \
24188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24189 install-html) \
24190 || exit 1
24192 @endif sid
24194 .PHONY: maybe-installcheck-sid installcheck-sid
24195 maybe-installcheck-sid:
24196 @if sid
24197 maybe-installcheck-sid: installcheck-sid
24199 installcheck-sid: \
24200 configure-sid
24201 @: $(MAKE); $(unstage)
24202 @[ -f ./sid/Makefile ] || exit 0; \
24203 r=`${PWD_COMMAND}`; export r; \
24204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24205 $(HOST_EXPORTS) \
24206 for flag in $(EXTRA_HOST_FLAGS) ; do \
24207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24208 done; \
24209 echo "Doing installcheck in sid" ; \
24210 (cd $(HOST_SUBDIR)/sid && \
24211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24213 "RANLIB=$${RANLIB}" \
24214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24215 installcheck) \
24216 || exit 1
24218 @endif sid
24220 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24221 maybe-mostlyclean-sid:
24222 @if sid
24223 maybe-mostlyclean-sid: mostlyclean-sid
24225 mostlyclean-sid:
24226 @: $(MAKE); $(unstage)
24227 @[ -f ./sid/Makefile ] || exit 0; \
24228 r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 $(HOST_EXPORTS) \
24231 for flag in $(EXTRA_HOST_FLAGS) ; do \
24232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24233 done; \
24234 echo "Doing mostlyclean in sid" ; \
24235 (cd $(HOST_SUBDIR)/sid && \
24236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24238 "RANLIB=$${RANLIB}" \
24239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24240 mostlyclean) \
24241 || exit 1
24243 @endif sid
24245 .PHONY: maybe-clean-sid clean-sid
24246 maybe-clean-sid:
24247 @if sid
24248 maybe-clean-sid: clean-sid
24250 clean-sid:
24251 @: $(MAKE); $(unstage)
24252 @[ -f ./sid/Makefile ] || exit 0; \
24253 r=`${PWD_COMMAND}`; export r; \
24254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24255 $(HOST_EXPORTS) \
24256 for flag in $(EXTRA_HOST_FLAGS) ; do \
24257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24258 done; \
24259 echo "Doing clean in sid" ; \
24260 (cd $(HOST_SUBDIR)/sid && \
24261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24263 "RANLIB=$${RANLIB}" \
24264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24265 clean) \
24266 || exit 1
24268 @endif sid
24270 .PHONY: maybe-distclean-sid distclean-sid
24271 maybe-distclean-sid:
24272 @if sid
24273 maybe-distclean-sid: distclean-sid
24275 distclean-sid:
24276 @: $(MAKE); $(unstage)
24277 @[ -f ./sid/Makefile ] || exit 0; \
24278 r=`${PWD_COMMAND}`; export r; \
24279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24280 $(HOST_EXPORTS) \
24281 for flag in $(EXTRA_HOST_FLAGS) ; do \
24282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24283 done; \
24284 echo "Doing distclean in sid" ; \
24285 (cd $(HOST_SUBDIR)/sid && \
24286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24288 "RANLIB=$${RANLIB}" \
24289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24290 distclean) \
24291 || exit 1
24293 @endif sid
24295 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24296 maybe-maintainer-clean-sid:
24297 @if sid
24298 maybe-maintainer-clean-sid: maintainer-clean-sid
24300 maintainer-clean-sid:
24301 @: $(MAKE); $(unstage)
24302 @[ -f ./sid/Makefile ] || exit 0; \
24303 r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(HOST_EXPORTS) \
24306 for flag in $(EXTRA_HOST_FLAGS) ; do \
24307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24308 done; \
24309 echo "Doing maintainer-clean in sid" ; \
24310 (cd $(HOST_SUBDIR)/sid && \
24311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24313 "RANLIB=$${RANLIB}" \
24314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24315 maintainer-clean) \
24316 || exit 1
24318 @endif sid
24322 .PHONY: configure-sim maybe-configure-sim
24323 maybe-configure-sim:
24324 @if gcc-bootstrap
24325 configure-sim: stage_current
24326 @endif gcc-bootstrap
24327 @if sim
24328 maybe-configure-sim: configure-sim
24329 configure-sim:
24330 @: $(MAKE); $(unstage)
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24335 $(HOST_EXPORTS) \
24336 echo Configuring in $(HOST_SUBDIR)/sim; \
24337 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24338 case $(srcdir) in \
24339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24340 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24342 esac; \
24343 srcdiroption="--srcdir=$${topdir}/sim"; \
24344 libsrcdir="$$s/sim"; \
24345 $(SHELL) $${libsrcdir}/configure \
24346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24347 --target=${target_alias} $${srcdiroption} \
24348 || exit 1
24349 @endif sim
24355 .PHONY: all-sim maybe-all-sim
24356 maybe-all-sim:
24357 @if gcc-bootstrap
24358 all-sim: stage_current
24359 @endif gcc-bootstrap
24360 @if sim
24361 TARGET-sim=all
24362 maybe-all-sim: all-sim
24363 all-sim: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24370 $(TARGET-sim))
24371 @endif sim
24376 .PHONY: check-sim maybe-check-sim
24377 maybe-check-sim:
24378 @if sim
24379 maybe-check-sim: check-sim
24381 check-sim:
24382 @: $(MAKE); $(unstage)
24383 @r=`${PWD_COMMAND}`; export r; \
24384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24385 $(HOST_EXPORTS) \
24386 (cd $(HOST_SUBDIR)/sim && \
24387 $(MAKE) $(FLAGS_TO_PASS) check)
24389 @endif sim
24391 .PHONY: install-sim maybe-install-sim
24392 maybe-install-sim:
24393 @if sim
24394 maybe-install-sim: install-sim
24396 install-sim: installdirs
24397 @: $(MAKE); $(unstage)
24398 @r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 $(HOST_EXPORTS) \
24401 (cd $(HOST_SUBDIR)/sim && \
24402 $(MAKE) $(FLAGS_TO_PASS) install)
24404 @endif sim
24406 .PHONY: install-strip-sim maybe-install-strip-sim
24407 maybe-install-strip-sim:
24408 @if sim
24409 maybe-install-strip-sim: install-strip-sim
24411 install-strip-sim: installdirs
24412 @: $(MAKE); $(unstage)
24413 @r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24415 $(HOST_EXPORTS) \
24416 (cd $(HOST_SUBDIR)/sim && \
24417 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24419 @endif sim
24421 # Other targets (info, dvi, pdf, etc.)
24423 .PHONY: maybe-info-sim info-sim
24424 maybe-info-sim:
24425 @if sim
24426 maybe-info-sim: info-sim
24428 info-sim: \
24429 configure-sim
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./sim/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing info in sim" ; \
24439 (cd $(HOST_SUBDIR)/sim && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24444 info) \
24445 || exit 1
24447 @endif sim
24449 .PHONY: maybe-dvi-sim dvi-sim
24450 maybe-dvi-sim:
24451 @if sim
24452 maybe-dvi-sim: dvi-sim
24454 dvi-sim: \
24455 configure-sim
24456 @: $(MAKE); $(unstage)
24457 @[ -f ./sim/Makefile ] || exit 0; \
24458 r=`${PWD_COMMAND}`; export r; \
24459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24460 $(HOST_EXPORTS) \
24461 for flag in $(EXTRA_HOST_FLAGS) ; do \
24462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 done; \
24464 echo "Doing dvi in sim" ; \
24465 (cd $(HOST_SUBDIR)/sim && \
24466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24468 "RANLIB=$${RANLIB}" \
24469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24470 dvi) \
24471 || exit 1
24473 @endif sim
24475 .PHONY: maybe-pdf-sim pdf-sim
24476 maybe-pdf-sim:
24477 @if sim
24478 maybe-pdf-sim: pdf-sim
24480 pdf-sim: \
24481 configure-sim
24482 @: $(MAKE); $(unstage)
24483 @[ -f ./sim/Makefile ] || exit 0; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 $(HOST_EXPORTS) \
24487 for flag in $(EXTRA_HOST_FLAGS) ; do \
24488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 done; \
24490 echo "Doing pdf in sim" ; \
24491 (cd $(HOST_SUBDIR)/sim && \
24492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24494 "RANLIB=$${RANLIB}" \
24495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24496 pdf) \
24497 || exit 1
24499 @endif sim
24501 .PHONY: maybe-html-sim html-sim
24502 maybe-html-sim:
24503 @if sim
24504 maybe-html-sim: html-sim
24506 html-sim: \
24507 configure-sim
24508 @: $(MAKE); $(unstage)
24509 @[ -f ./sim/Makefile ] || exit 0; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 for flag in $(EXTRA_HOST_FLAGS) ; do \
24514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24515 done; \
24516 echo "Doing html in sim" ; \
24517 (cd $(HOST_SUBDIR)/sim && \
24518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24520 "RANLIB=$${RANLIB}" \
24521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24522 html) \
24523 || exit 1
24525 @endif sim
24527 .PHONY: maybe-TAGS-sim TAGS-sim
24528 maybe-TAGS-sim:
24529 @if sim
24530 maybe-TAGS-sim: TAGS-sim
24532 TAGS-sim: \
24533 configure-sim
24534 @: $(MAKE); $(unstage)
24535 @[ -f ./sim/Makefile ] || exit 0; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 for flag in $(EXTRA_HOST_FLAGS) ; do \
24540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24541 done; \
24542 echo "Doing TAGS in sim" ; \
24543 (cd $(HOST_SUBDIR)/sim && \
24544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24546 "RANLIB=$${RANLIB}" \
24547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24548 TAGS) \
24549 || exit 1
24551 @endif sim
24553 .PHONY: maybe-install-info-sim install-info-sim
24554 maybe-install-info-sim:
24555 @if sim
24556 maybe-install-info-sim: install-info-sim
24558 install-info-sim: \
24559 configure-sim \
24560 info-sim
24561 @: $(MAKE); $(unstage)
24562 @[ -f ./sim/Makefile ] || exit 0; \
24563 r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 $(HOST_EXPORTS) \
24566 for flag in $(EXTRA_HOST_FLAGS) ; do \
24567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24568 done; \
24569 echo "Doing install-info in sim" ; \
24570 (cd $(HOST_SUBDIR)/sim && \
24571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24573 "RANLIB=$${RANLIB}" \
24574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24575 install-info) \
24576 || exit 1
24578 @endif sim
24580 .PHONY: maybe-install-pdf-sim install-pdf-sim
24581 maybe-install-pdf-sim:
24582 @if sim
24583 maybe-install-pdf-sim: install-pdf-sim
24585 install-pdf-sim: \
24586 configure-sim \
24587 pdf-sim
24588 @: $(MAKE); $(unstage)
24589 @[ -f ./sim/Makefile ] || exit 0; \
24590 r=`${PWD_COMMAND}`; export r; \
24591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24592 $(HOST_EXPORTS) \
24593 for flag in $(EXTRA_HOST_FLAGS) ; do \
24594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24595 done; \
24596 echo "Doing install-pdf in sim" ; \
24597 (cd $(HOST_SUBDIR)/sim && \
24598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24600 "RANLIB=$${RANLIB}" \
24601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24602 install-pdf) \
24603 || exit 1
24605 @endif sim
24607 .PHONY: maybe-install-html-sim install-html-sim
24608 maybe-install-html-sim:
24609 @if sim
24610 maybe-install-html-sim: install-html-sim
24612 install-html-sim: \
24613 configure-sim \
24614 html-sim
24615 @: $(MAKE); $(unstage)
24616 @[ -f ./sim/Makefile ] || exit 0; \
24617 r=`${PWD_COMMAND}`; export r; \
24618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24619 $(HOST_EXPORTS) \
24620 for flag in $(EXTRA_HOST_FLAGS) ; do \
24621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24622 done; \
24623 echo "Doing install-html in sim" ; \
24624 (cd $(HOST_SUBDIR)/sim && \
24625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24627 "RANLIB=$${RANLIB}" \
24628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24629 install-html) \
24630 || exit 1
24632 @endif sim
24634 .PHONY: maybe-installcheck-sim installcheck-sim
24635 maybe-installcheck-sim:
24636 @if sim
24637 maybe-installcheck-sim: installcheck-sim
24639 installcheck-sim: \
24640 configure-sim
24641 @: $(MAKE); $(unstage)
24642 @[ -f ./sim/Makefile ] || exit 0; \
24643 r=`${PWD_COMMAND}`; export r; \
24644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24645 $(HOST_EXPORTS) \
24646 for flag in $(EXTRA_HOST_FLAGS) ; do \
24647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24648 done; \
24649 echo "Doing installcheck in sim" ; \
24650 (cd $(HOST_SUBDIR)/sim && \
24651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24653 "RANLIB=$${RANLIB}" \
24654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24655 installcheck) \
24656 || exit 1
24658 @endif sim
24660 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24661 maybe-mostlyclean-sim:
24662 @if sim
24663 maybe-mostlyclean-sim: mostlyclean-sim
24665 mostlyclean-sim:
24666 @: $(MAKE); $(unstage)
24667 @[ -f ./sim/Makefile ] || exit 0; \
24668 r=`${PWD_COMMAND}`; export r; \
24669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24670 $(HOST_EXPORTS) \
24671 for flag in $(EXTRA_HOST_FLAGS) ; do \
24672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24673 done; \
24674 echo "Doing mostlyclean in sim" ; \
24675 (cd $(HOST_SUBDIR)/sim && \
24676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24678 "RANLIB=$${RANLIB}" \
24679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24680 mostlyclean) \
24681 || exit 1
24683 @endif sim
24685 .PHONY: maybe-clean-sim clean-sim
24686 maybe-clean-sim:
24687 @if sim
24688 maybe-clean-sim: clean-sim
24690 clean-sim:
24691 @: $(MAKE); $(unstage)
24692 @[ -f ./sim/Makefile ] || exit 0; \
24693 r=`${PWD_COMMAND}`; export r; \
24694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24695 $(HOST_EXPORTS) \
24696 for flag in $(EXTRA_HOST_FLAGS) ; do \
24697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24698 done; \
24699 echo "Doing clean in sim" ; \
24700 (cd $(HOST_SUBDIR)/sim && \
24701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24703 "RANLIB=$${RANLIB}" \
24704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24705 clean) \
24706 || exit 1
24708 @endif sim
24710 .PHONY: maybe-distclean-sim distclean-sim
24711 maybe-distclean-sim:
24712 @if sim
24713 maybe-distclean-sim: distclean-sim
24715 distclean-sim:
24716 @: $(MAKE); $(unstage)
24717 @[ -f ./sim/Makefile ] || exit 0; \
24718 r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 for flag in $(EXTRA_HOST_FLAGS) ; do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 echo "Doing distclean in sim" ; \
24725 (cd $(HOST_SUBDIR)/sim && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24730 distclean) \
24731 || exit 1
24733 @endif sim
24735 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24736 maybe-maintainer-clean-sim:
24737 @if sim
24738 maybe-maintainer-clean-sim: maintainer-clean-sim
24740 maintainer-clean-sim:
24741 @: $(MAKE); $(unstage)
24742 @[ -f ./sim/Makefile ] || exit 0; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(HOST_EXPORTS) \
24746 for flag in $(EXTRA_HOST_FLAGS) ; do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 echo "Doing maintainer-clean in sim" ; \
24750 (cd $(HOST_SUBDIR)/sim && \
24751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24753 "RANLIB=$${RANLIB}" \
24754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24755 maintainer-clean) \
24756 || exit 1
24758 @endif sim
24762 .PHONY: configure-texinfo maybe-configure-texinfo
24763 maybe-configure-texinfo:
24764 @if gcc-bootstrap
24765 configure-texinfo: stage_current
24766 @endif gcc-bootstrap
24767 @if texinfo
24768 maybe-configure-texinfo: configure-texinfo
24769 configure-texinfo:
24770 @: $(MAKE); $(unstage)
24771 @r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24773 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24775 $(HOST_EXPORTS) \
24776 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24777 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24778 case $(srcdir) in \
24779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24780 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24782 esac; \
24783 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24784 libsrcdir="$$s/texinfo"; \
24785 $(SHELL) $${libsrcdir}/configure \
24786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24787 --target=${target_alias} $${srcdiroption} \
24788 || exit 1
24789 @endif texinfo
24795 .PHONY: all-texinfo maybe-all-texinfo
24796 maybe-all-texinfo:
24797 @if gcc-bootstrap
24798 all-texinfo: stage_current
24799 @endif gcc-bootstrap
24800 @if texinfo
24801 TARGET-texinfo=all
24802 maybe-all-texinfo: all-texinfo
24803 all-texinfo: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24810 $(TARGET-texinfo))
24811 @endif texinfo
24816 .PHONY: check-texinfo maybe-check-texinfo
24817 maybe-check-texinfo:
24818 @if texinfo
24819 maybe-check-texinfo: check-texinfo
24821 check-texinfo:
24822 @: $(MAKE); $(unstage)
24823 @r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 (cd $(HOST_SUBDIR)/texinfo && \
24827 $(MAKE) $(FLAGS_TO_PASS) check)
24829 @endif texinfo
24831 .PHONY: install-texinfo maybe-install-texinfo
24832 maybe-install-texinfo:
24833 @if texinfo
24834 maybe-install-texinfo: install-texinfo
24836 install-texinfo:
24838 @endif texinfo
24840 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24841 maybe-install-strip-texinfo:
24842 @if texinfo
24843 maybe-install-strip-texinfo: install-strip-texinfo
24845 install-strip-texinfo:
24847 @endif texinfo
24849 # Other targets (info, dvi, pdf, etc.)
24851 .PHONY: maybe-info-texinfo info-texinfo
24852 maybe-info-texinfo:
24853 @if texinfo
24854 maybe-info-texinfo: info-texinfo
24856 info-texinfo: \
24857 configure-texinfo
24858 @: $(MAKE); $(unstage)
24859 @[ -f ./texinfo/Makefile ] || exit 0; \
24860 r=`${PWD_COMMAND}`; export r; \
24861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24862 $(HOST_EXPORTS) \
24863 for flag in $(EXTRA_HOST_FLAGS) ; do \
24864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24865 done; \
24866 echo "Doing info in texinfo" ; \
24867 (cd $(HOST_SUBDIR)/texinfo && \
24868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24870 "RANLIB=$${RANLIB}" \
24871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24872 info) \
24873 || exit 1
24875 @endif texinfo
24877 .PHONY: maybe-dvi-texinfo dvi-texinfo
24878 maybe-dvi-texinfo:
24879 @if texinfo
24880 maybe-dvi-texinfo: dvi-texinfo
24882 dvi-texinfo: \
24883 configure-texinfo
24884 @: $(MAKE); $(unstage)
24885 @[ -f ./texinfo/Makefile ] || exit 0; \
24886 r=`${PWD_COMMAND}`; export r; \
24887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24888 $(HOST_EXPORTS) \
24889 for flag in $(EXTRA_HOST_FLAGS) ; do \
24890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24891 done; \
24892 echo "Doing dvi in texinfo" ; \
24893 (cd $(HOST_SUBDIR)/texinfo && \
24894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24896 "RANLIB=$${RANLIB}" \
24897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24898 dvi) \
24899 || exit 1
24901 @endif texinfo
24903 .PHONY: maybe-pdf-texinfo pdf-texinfo
24904 maybe-pdf-texinfo:
24905 @if texinfo
24906 maybe-pdf-texinfo: pdf-texinfo
24908 pdf-texinfo: \
24909 configure-texinfo
24910 @: $(MAKE); $(unstage)
24911 @[ -f ./texinfo/Makefile ] || exit 0; \
24912 r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24914 $(HOST_EXPORTS) \
24915 for flag in $(EXTRA_HOST_FLAGS) ; do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 done; \
24918 echo "Doing pdf in texinfo" ; \
24919 (cd $(HOST_SUBDIR)/texinfo && \
24920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24922 "RANLIB=$${RANLIB}" \
24923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24924 pdf) \
24925 || exit 1
24927 @endif texinfo
24929 .PHONY: maybe-html-texinfo html-texinfo
24930 maybe-html-texinfo:
24931 @if texinfo
24932 maybe-html-texinfo: html-texinfo
24934 html-texinfo: \
24935 configure-texinfo
24936 @: $(MAKE); $(unstage)
24937 @[ -f ./texinfo/Makefile ] || exit 0; \
24938 r=`${PWD_COMMAND}`; export r; \
24939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24940 $(HOST_EXPORTS) \
24941 for flag in $(EXTRA_HOST_FLAGS) ; do \
24942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24943 done; \
24944 echo "Doing html in texinfo" ; \
24945 (cd $(HOST_SUBDIR)/texinfo && \
24946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24948 "RANLIB=$${RANLIB}" \
24949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24950 html) \
24951 || exit 1
24953 @endif texinfo
24955 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24956 maybe-TAGS-texinfo:
24957 @if texinfo
24958 maybe-TAGS-texinfo: TAGS-texinfo
24960 TAGS-texinfo: \
24961 configure-texinfo
24962 @: $(MAKE); $(unstage)
24963 @[ -f ./texinfo/Makefile ] || exit 0; \
24964 r=`${PWD_COMMAND}`; export r; \
24965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 $(HOST_EXPORTS) \
24967 for flag in $(EXTRA_HOST_FLAGS) ; do \
24968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24969 done; \
24970 echo "Doing TAGS in texinfo" ; \
24971 (cd $(HOST_SUBDIR)/texinfo && \
24972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24974 "RANLIB=$${RANLIB}" \
24975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24976 TAGS) \
24977 || exit 1
24979 @endif texinfo
24981 .PHONY: maybe-install-info-texinfo install-info-texinfo
24982 maybe-install-info-texinfo:
24983 @if texinfo
24984 maybe-install-info-texinfo: install-info-texinfo
24986 install-info-texinfo: \
24987 configure-texinfo \
24988 info-texinfo
24989 @: $(MAKE); $(unstage)
24990 @[ -f ./texinfo/Makefile ] || exit 0; \
24991 r=`${PWD_COMMAND}`; export r; \
24992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24993 $(HOST_EXPORTS) \
24994 for flag in $(EXTRA_HOST_FLAGS) ; do \
24995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24996 done; \
24997 echo "Doing install-info in texinfo" ; \
24998 (cd $(HOST_SUBDIR)/texinfo && \
24999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25001 "RANLIB=$${RANLIB}" \
25002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25003 install-info) \
25004 || exit 1
25006 @endif texinfo
25008 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25009 maybe-install-pdf-texinfo:
25010 @if texinfo
25011 maybe-install-pdf-texinfo: install-pdf-texinfo
25013 install-pdf-texinfo: \
25014 configure-texinfo \
25015 pdf-texinfo
25016 @: $(MAKE); $(unstage)
25017 @[ -f ./texinfo/Makefile ] || exit 0; \
25018 r=`${PWD_COMMAND}`; export r; \
25019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25020 $(HOST_EXPORTS) \
25021 for flag in $(EXTRA_HOST_FLAGS) ; do \
25022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25023 done; \
25024 echo "Doing install-pdf in texinfo" ; \
25025 (cd $(HOST_SUBDIR)/texinfo && \
25026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25028 "RANLIB=$${RANLIB}" \
25029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25030 install-pdf) \
25031 || exit 1
25033 @endif texinfo
25035 .PHONY: maybe-install-html-texinfo install-html-texinfo
25036 maybe-install-html-texinfo:
25037 @if texinfo
25038 maybe-install-html-texinfo: install-html-texinfo
25040 install-html-texinfo: \
25041 configure-texinfo \
25042 html-texinfo
25043 @: $(MAKE); $(unstage)
25044 @[ -f ./texinfo/Makefile ] || exit 0; \
25045 r=`${PWD_COMMAND}`; export r; \
25046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25047 $(HOST_EXPORTS) \
25048 for flag in $(EXTRA_HOST_FLAGS) ; do \
25049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25050 done; \
25051 echo "Doing install-html in texinfo" ; \
25052 (cd $(HOST_SUBDIR)/texinfo && \
25053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25055 "RANLIB=$${RANLIB}" \
25056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25057 install-html) \
25058 || exit 1
25060 @endif texinfo
25062 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25063 maybe-installcheck-texinfo:
25064 @if texinfo
25065 maybe-installcheck-texinfo: installcheck-texinfo
25067 installcheck-texinfo: \
25068 configure-texinfo
25069 @: $(MAKE); $(unstage)
25070 @[ -f ./texinfo/Makefile ] || exit 0; \
25071 r=`${PWD_COMMAND}`; export r; \
25072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25073 $(HOST_EXPORTS) \
25074 for flag in $(EXTRA_HOST_FLAGS) ; do \
25075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25076 done; \
25077 echo "Doing installcheck in texinfo" ; \
25078 (cd $(HOST_SUBDIR)/texinfo && \
25079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25081 "RANLIB=$${RANLIB}" \
25082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25083 installcheck) \
25084 || exit 1
25086 @endif texinfo
25088 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25089 maybe-mostlyclean-texinfo:
25090 @if texinfo
25091 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25093 mostlyclean-texinfo:
25094 @: $(MAKE); $(unstage)
25095 @[ -f ./texinfo/Makefile ] || exit 0; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(HOST_EXPORTS) \
25099 for flag in $(EXTRA_HOST_FLAGS) ; do \
25100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25101 done; \
25102 echo "Doing mostlyclean in texinfo" ; \
25103 (cd $(HOST_SUBDIR)/texinfo && \
25104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25106 "RANLIB=$${RANLIB}" \
25107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25108 mostlyclean) \
25109 || exit 1
25111 @endif texinfo
25113 .PHONY: maybe-clean-texinfo clean-texinfo
25114 maybe-clean-texinfo:
25115 @if texinfo
25116 maybe-clean-texinfo: clean-texinfo
25118 clean-texinfo:
25119 @: $(MAKE); $(unstage)
25120 @[ -f ./texinfo/Makefile ] || exit 0; \
25121 r=`${PWD_COMMAND}`; export r; \
25122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25123 $(HOST_EXPORTS) \
25124 for flag in $(EXTRA_HOST_FLAGS) ; do \
25125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25126 done; \
25127 echo "Doing clean in texinfo" ; \
25128 (cd $(HOST_SUBDIR)/texinfo && \
25129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25131 "RANLIB=$${RANLIB}" \
25132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25133 clean) \
25134 || exit 1
25136 @endif texinfo
25138 .PHONY: maybe-distclean-texinfo distclean-texinfo
25139 maybe-distclean-texinfo:
25140 @if texinfo
25141 maybe-distclean-texinfo: distclean-texinfo
25143 distclean-texinfo:
25144 @: $(MAKE); $(unstage)
25145 @[ -f ./texinfo/Makefile ] || exit 0; \
25146 r=`${PWD_COMMAND}`; export r; \
25147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25148 $(HOST_EXPORTS) \
25149 for flag in $(EXTRA_HOST_FLAGS) ; do \
25150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25151 done; \
25152 echo "Doing distclean in texinfo" ; \
25153 (cd $(HOST_SUBDIR)/texinfo && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25156 "RANLIB=$${RANLIB}" \
25157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25158 distclean) \
25159 || exit 1
25161 @endif texinfo
25163 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25164 maybe-maintainer-clean-texinfo:
25165 @if texinfo
25166 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25168 maintainer-clean-texinfo:
25169 @: $(MAKE); $(unstage)
25170 @[ -f ./texinfo/Makefile ] || exit 0; \
25171 r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 $(HOST_EXPORTS) \
25174 for flag in $(EXTRA_HOST_FLAGS) ; do \
25175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25176 done; \
25177 echo "Doing maintainer-clean in texinfo" ; \
25178 (cd $(HOST_SUBDIR)/texinfo && \
25179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25181 "RANLIB=$${RANLIB}" \
25182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25183 maintainer-clean) \
25184 || exit 1
25186 @endif texinfo
25190 .PHONY: configure-zlib maybe-configure-zlib
25191 maybe-configure-zlib:
25192 @if gcc-bootstrap
25193 configure-zlib: stage_current
25194 @endif gcc-bootstrap
25195 @if zlib
25196 maybe-configure-zlib: configure-zlib
25197 configure-zlib:
25198 @r=`${PWD_COMMAND}`; export r; \
25199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25200 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25202 $(HOST_EXPORTS) \
25203 echo Configuring in $(HOST_SUBDIR)/zlib; \
25204 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25205 case $(srcdir) in \
25206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25207 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25209 esac; \
25210 srcdiroption="--srcdir=$${topdir}/zlib"; \
25211 libsrcdir="$$s/zlib"; \
25212 $(SHELL) $${libsrcdir}/configure \
25213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25214 --target=${target_alias} $${srcdiroption} \
25215 || exit 1
25216 @endif zlib
25220 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25221 maybe-configure-stage1-zlib:
25222 @if zlib-bootstrap
25223 maybe-configure-stage1-zlib: configure-stage1-zlib
25224 configure-stage1-zlib:
25225 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25227 @r=`${PWD_COMMAND}`; export r; \
25228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 TFLAGS="$(STAGE1_TFLAGS)"; \
25230 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25231 $(HOST_EXPORTS) \
25232 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25233 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25234 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25235 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25237 cd $(HOST_SUBDIR)/zlib || exit 1; \
25238 case $(srcdir) in \
25239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25240 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25242 esac; \
25243 srcdiroption="--srcdir=$${topdir}/zlib"; \
25244 libsrcdir="$$s/zlib"; \
25245 $(SHELL) $${libsrcdir}/configure \
25246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25247 --target=${target_alias} $${srcdiroption} \
25248 $(STAGE1_CONFIGURE_FLAGS)
25249 @endif zlib-bootstrap
25251 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25252 maybe-configure-stage2-zlib:
25253 @if zlib-bootstrap
25254 maybe-configure-stage2-zlib: configure-stage2-zlib
25255 configure-stage2-zlib:
25256 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25258 @r=`${PWD_COMMAND}`; export r; \
25259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25260 TFLAGS="$(STAGE2_TFLAGS)"; \
25261 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25262 $(HOST_EXPORTS) \
25263 $(POSTSTAGE1_HOST_EXPORTS) \
25264 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25265 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25266 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25267 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25269 cd $(HOST_SUBDIR)/zlib || exit 1; \
25270 case $(srcdir) in \
25271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25272 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25274 esac; \
25275 srcdiroption="--srcdir=$${topdir}/zlib"; \
25276 libsrcdir="$$s/zlib"; \
25277 $(SHELL) $${libsrcdir}/configure \
25278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25279 --target=${target_alias} $${srcdiroption} \
25280 --with-build-libsubdir=$(HOST_SUBDIR) \
25281 $(STAGE2_CONFIGURE_FLAGS)
25282 @endif zlib-bootstrap
25284 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25285 maybe-configure-stage3-zlib:
25286 @if zlib-bootstrap
25287 maybe-configure-stage3-zlib: configure-stage3-zlib
25288 configure-stage3-zlib:
25289 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25291 @r=`${PWD_COMMAND}`; export r; \
25292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 TFLAGS="$(STAGE3_TFLAGS)"; \
25294 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25295 $(HOST_EXPORTS) \
25296 $(POSTSTAGE1_HOST_EXPORTS) \
25297 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25298 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25299 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25300 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25302 cd $(HOST_SUBDIR)/zlib || exit 1; \
25303 case $(srcdir) in \
25304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25305 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25307 esac; \
25308 srcdiroption="--srcdir=$${topdir}/zlib"; \
25309 libsrcdir="$$s/zlib"; \
25310 $(SHELL) $${libsrcdir}/configure \
25311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25312 --target=${target_alias} $${srcdiroption} \
25313 --with-build-libsubdir=$(HOST_SUBDIR) \
25314 $(STAGE3_CONFIGURE_FLAGS)
25315 @endif zlib-bootstrap
25317 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25318 maybe-configure-stage4-zlib:
25319 @if zlib-bootstrap
25320 maybe-configure-stage4-zlib: configure-stage4-zlib
25321 configure-stage4-zlib:
25322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25324 @r=`${PWD_COMMAND}`; export r; \
25325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25326 TFLAGS="$(STAGE4_TFLAGS)"; \
25327 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25328 $(HOST_EXPORTS) \
25329 $(POSTSTAGE1_HOST_EXPORTS) \
25330 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25331 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25332 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25333 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25335 cd $(HOST_SUBDIR)/zlib || exit 1; \
25336 case $(srcdir) in \
25337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25338 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25340 esac; \
25341 srcdiroption="--srcdir=$${topdir}/zlib"; \
25342 libsrcdir="$$s/zlib"; \
25343 $(SHELL) $${libsrcdir}/configure \
25344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25345 --target=${target_alias} $${srcdiroption} \
25346 --with-build-libsubdir=$(HOST_SUBDIR) \
25347 $(STAGE4_CONFIGURE_FLAGS)
25348 @endif zlib-bootstrap
25350 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25351 maybe-configure-stageprofile-zlib:
25352 @if zlib-bootstrap
25353 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25354 configure-stageprofile-zlib:
25355 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25357 @r=`${PWD_COMMAND}`; export r; \
25358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25359 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25360 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25361 $(HOST_EXPORTS) \
25362 $(POSTSTAGE1_HOST_EXPORTS) \
25363 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25364 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25365 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25366 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25368 cd $(HOST_SUBDIR)/zlib || exit 1; \
25369 case $(srcdir) in \
25370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25371 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25373 esac; \
25374 srcdiroption="--srcdir=$${topdir}/zlib"; \
25375 libsrcdir="$$s/zlib"; \
25376 $(SHELL) $${libsrcdir}/configure \
25377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25378 --target=${target_alias} $${srcdiroption} \
25379 --with-build-libsubdir=$(HOST_SUBDIR) \
25380 $(STAGEprofile_CONFIGURE_FLAGS)
25381 @endif zlib-bootstrap
25383 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25384 maybe-configure-stagefeedback-zlib:
25385 @if zlib-bootstrap
25386 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25387 configure-stagefeedback-zlib:
25388 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25390 @r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25393 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25394 $(HOST_EXPORTS) \
25395 $(POSTSTAGE1_HOST_EXPORTS) \
25396 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25397 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25398 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25399 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25401 cd $(HOST_SUBDIR)/zlib || exit 1; \
25402 case $(srcdir) in \
25403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25404 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25406 esac; \
25407 srcdiroption="--srcdir=$${topdir}/zlib"; \
25408 libsrcdir="$$s/zlib"; \
25409 $(SHELL) $${libsrcdir}/configure \
25410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25411 --target=${target_alias} $${srcdiroption} \
25412 --with-build-libsubdir=$(HOST_SUBDIR) \
25413 $(STAGEfeedback_CONFIGURE_FLAGS)
25414 @endif zlib-bootstrap
25420 .PHONY: all-zlib maybe-all-zlib
25421 maybe-all-zlib:
25422 @if gcc-bootstrap
25423 all-zlib: stage_current
25424 @endif gcc-bootstrap
25425 @if zlib
25426 TARGET-zlib=all
25427 maybe-all-zlib: all-zlib
25428 all-zlib: configure-zlib
25429 @r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 (cd $(HOST_SUBDIR)/zlib && \
25433 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25434 $(TARGET-zlib))
25435 @endif zlib
25439 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25440 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25441 maybe-all-stage1-zlib:
25442 maybe-clean-stage1-zlib:
25443 @if zlib-bootstrap
25444 maybe-all-stage1-zlib: all-stage1-zlib
25445 all-stage1: all-stage1-zlib
25446 TARGET-stage1-zlib = $(TARGET-zlib)
25447 all-stage1-zlib: configure-stage1-zlib
25448 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25449 @r=`${PWD_COMMAND}`; export r; \
25450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25451 TFLAGS="$(STAGE1_TFLAGS)"; \
25452 $(HOST_EXPORTS) \
25453 cd $(HOST_SUBDIR)/zlib && \
25454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25455 CFLAGS="$(STAGE1_CFLAGS)" \
25456 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25457 LIBCFLAGS="$(LIBCFLAGS)" \
25458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25461 $(EXTRA_HOST_FLAGS) \
25462 TFLAGS="$(STAGE1_TFLAGS)" \
25463 $(TARGET-stage1-zlib)
25465 maybe-clean-stage1-zlib: clean-stage1-zlib
25466 clean-stage1: clean-stage1-zlib
25467 clean-stage1-zlib:
25468 @if [ $(current_stage) = stage1 ]; then \
25469 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25470 else \
25471 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25472 $(MAKE) stage1-start; \
25473 fi; \
25474 cd $(HOST_SUBDIR)/zlib && \
25475 $(MAKE) $(EXTRA_HOST_FLAGS) \
25476 clean
25477 @endif zlib-bootstrap
25480 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25481 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25482 maybe-all-stage2-zlib:
25483 maybe-clean-stage2-zlib:
25484 @if zlib-bootstrap
25485 maybe-all-stage2-zlib: all-stage2-zlib
25486 all-stage2: all-stage2-zlib
25487 TARGET-stage2-zlib = $(TARGET-zlib)
25488 all-stage2-zlib: configure-stage2-zlib
25489 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25490 @r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 TFLAGS="$(STAGE2_TFLAGS)"; \
25493 $(HOST_EXPORTS) \
25494 $(POSTSTAGE1_HOST_EXPORTS) \
25495 cd $(HOST_SUBDIR)/zlib && \
25496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25497 CFLAGS="$(STAGE2_CFLAGS)" \
25498 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25499 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25504 TFLAGS="$(STAGE2_TFLAGS)" \
25505 $(TARGET-stage2-zlib)
25507 maybe-clean-stage2-zlib: clean-stage2-zlib
25508 clean-stage2: clean-stage2-zlib
25509 clean-stage2-zlib:
25510 @if [ $(current_stage) = stage2 ]; then \
25511 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25512 else \
25513 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25514 $(MAKE) stage2-start; \
25515 fi; \
25516 cd $(HOST_SUBDIR)/zlib && \
25517 $(MAKE) $(EXTRA_HOST_FLAGS) \
25518 $(POSTSTAGE1_FLAGS_TO_PASS) \
25519 clean
25520 @endif zlib-bootstrap
25523 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25524 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25525 maybe-all-stage3-zlib:
25526 maybe-clean-stage3-zlib:
25527 @if zlib-bootstrap
25528 maybe-all-stage3-zlib: all-stage3-zlib
25529 all-stage3: all-stage3-zlib
25530 TARGET-stage3-zlib = $(TARGET-zlib)
25531 all-stage3-zlib: configure-stage3-zlib
25532 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25533 @r=`${PWD_COMMAND}`; export r; \
25534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 TFLAGS="$(STAGE3_TFLAGS)"; \
25536 $(HOST_EXPORTS) \
25537 $(POSTSTAGE1_HOST_EXPORTS) \
25538 cd $(HOST_SUBDIR)/zlib && \
25539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25540 CFLAGS="$(STAGE3_CFLAGS)" \
25541 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25542 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25546 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25547 TFLAGS="$(STAGE3_TFLAGS)" \
25548 $(TARGET-stage3-zlib)
25550 maybe-clean-stage3-zlib: clean-stage3-zlib
25551 clean-stage3: clean-stage3-zlib
25552 clean-stage3-zlib:
25553 @if [ $(current_stage) = stage3 ]; then \
25554 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25555 else \
25556 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25557 $(MAKE) stage3-start; \
25558 fi; \
25559 cd $(HOST_SUBDIR)/zlib && \
25560 $(MAKE) $(EXTRA_HOST_FLAGS) \
25561 $(POSTSTAGE1_FLAGS_TO_PASS) \
25562 clean
25563 @endif zlib-bootstrap
25566 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25567 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25568 maybe-all-stage4-zlib:
25569 maybe-clean-stage4-zlib:
25570 @if zlib-bootstrap
25571 maybe-all-stage4-zlib: all-stage4-zlib
25572 all-stage4: all-stage4-zlib
25573 TARGET-stage4-zlib = $(TARGET-zlib)
25574 all-stage4-zlib: configure-stage4-zlib
25575 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25576 @r=`${PWD_COMMAND}`; export r; \
25577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25578 TFLAGS="$(STAGE4_TFLAGS)"; \
25579 $(HOST_EXPORTS) \
25580 $(POSTSTAGE1_HOST_EXPORTS) \
25581 cd $(HOST_SUBDIR)/zlib && \
25582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25583 CFLAGS="$(STAGE4_CFLAGS)" \
25584 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25585 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25590 TFLAGS="$(STAGE4_TFLAGS)" \
25591 $(TARGET-stage4-zlib)
25593 maybe-clean-stage4-zlib: clean-stage4-zlib
25594 clean-stage4: clean-stage4-zlib
25595 clean-stage4-zlib:
25596 @if [ $(current_stage) = stage4 ]; then \
25597 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25598 else \
25599 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25600 $(MAKE) stage4-start; \
25601 fi; \
25602 cd $(HOST_SUBDIR)/zlib && \
25603 $(MAKE) $(EXTRA_HOST_FLAGS) \
25604 $(POSTSTAGE1_FLAGS_TO_PASS) \
25605 clean
25606 @endif zlib-bootstrap
25609 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25610 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25611 maybe-all-stageprofile-zlib:
25612 maybe-clean-stageprofile-zlib:
25613 @if zlib-bootstrap
25614 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25615 all-stageprofile: all-stageprofile-zlib
25616 TARGET-stageprofile-zlib = $(TARGET-zlib)
25617 all-stageprofile-zlib: configure-stageprofile-zlib
25618 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25619 @r=`${PWD_COMMAND}`; export r; \
25620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25622 $(HOST_EXPORTS) \
25623 $(POSTSTAGE1_HOST_EXPORTS) \
25624 cd $(HOST_SUBDIR)/zlib && \
25625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25626 CFLAGS="$(STAGEprofile_CFLAGS)" \
25627 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25628 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25633 TFLAGS="$(STAGEprofile_TFLAGS)" \
25634 $(TARGET-stageprofile-zlib)
25636 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25637 clean-stageprofile: clean-stageprofile-zlib
25638 clean-stageprofile-zlib:
25639 @if [ $(current_stage) = stageprofile ]; then \
25640 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25641 else \
25642 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25643 $(MAKE) stageprofile-start; \
25644 fi; \
25645 cd $(HOST_SUBDIR)/zlib && \
25646 $(MAKE) $(EXTRA_HOST_FLAGS) \
25647 $(POSTSTAGE1_FLAGS_TO_PASS) \
25648 clean
25649 @endif zlib-bootstrap
25652 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25653 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25654 maybe-all-stagefeedback-zlib:
25655 maybe-clean-stagefeedback-zlib:
25656 @if zlib-bootstrap
25657 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25658 all-stagefeedback: all-stagefeedback-zlib
25659 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25660 all-stagefeedback-zlib: configure-stagefeedback-zlib
25661 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25662 @r=`${PWD_COMMAND}`; export r; \
25663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25664 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25665 $(HOST_EXPORTS) \
25666 $(POSTSTAGE1_HOST_EXPORTS) \
25667 cd $(HOST_SUBDIR)/zlib && \
25668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25669 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25670 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25671 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25676 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25677 $(TARGET-stagefeedback-zlib)
25679 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25680 clean-stagefeedback: clean-stagefeedback-zlib
25681 clean-stagefeedback-zlib:
25682 @if [ $(current_stage) = stagefeedback ]; then \
25683 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25684 else \
25685 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25686 $(MAKE) stagefeedback-start; \
25687 fi; \
25688 cd $(HOST_SUBDIR)/zlib && \
25689 $(MAKE) $(EXTRA_HOST_FLAGS) \
25690 $(POSTSTAGE1_FLAGS_TO_PASS) \
25691 clean
25692 @endif zlib-bootstrap
25698 .PHONY: check-zlib maybe-check-zlib
25699 maybe-check-zlib:
25700 @if zlib
25701 maybe-check-zlib: check-zlib
25703 check-zlib:
25705 @endif zlib
25707 .PHONY: install-zlib maybe-install-zlib
25708 maybe-install-zlib:
25709 @if zlib
25710 maybe-install-zlib: install-zlib
25712 install-zlib:
25714 @endif zlib
25716 .PHONY: install-strip-zlib maybe-install-strip-zlib
25717 maybe-install-strip-zlib:
25718 @if zlib
25719 maybe-install-strip-zlib: install-strip-zlib
25721 install-strip-zlib:
25723 @endif zlib
25725 # Other targets (info, dvi, pdf, etc.)
25727 .PHONY: maybe-info-zlib info-zlib
25728 maybe-info-zlib:
25729 @if zlib
25730 maybe-info-zlib: info-zlib
25732 info-zlib: \
25733 configure-zlib
25734 @[ -f ./zlib/Makefile ] || exit 0; \
25735 r=`${PWD_COMMAND}`; export r; \
25736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25737 $(HOST_EXPORTS) \
25738 for flag in $(EXTRA_HOST_FLAGS) ; do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25740 done; \
25741 echo "Doing info in zlib" ; \
25742 (cd $(HOST_SUBDIR)/zlib && \
25743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25745 "RANLIB=$${RANLIB}" \
25746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25747 info) \
25748 || exit 1
25750 @endif zlib
25752 .PHONY: maybe-dvi-zlib dvi-zlib
25753 maybe-dvi-zlib:
25754 @if zlib
25755 maybe-dvi-zlib: dvi-zlib
25757 dvi-zlib: \
25758 configure-zlib
25759 @[ -f ./zlib/Makefile ] || exit 0; \
25760 r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(HOST_EXPORTS) \
25763 for flag in $(EXTRA_HOST_FLAGS) ; do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 echo "Doing dvi in zlib" ; \
25767 (cd $(HOST_SUBDIR)/zlib && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25772 dvi) \
25773 || exit 1
25775 @endif zlib
25777 .PHONY: maybe-pdf-zlib pdf-zlib
25778 maybe-pdf-zlib:
25779 @if zlib
25780 maybe-pdf-zlib: pdf-zlib
25782 pdf-zlib: \
25783 configure-zlib
25784 @[ -f ./zlib/Makefile ] || exit 0; \
25785 r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 for flag in $(EXTRA_HOST_FLAGS) ; do \
25789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25790 done; \
25791 echo "Doing pdf in zlib" ; \
25792 (cd $(HOST_SUBDIR)/zlib && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25797 pdf) \
25798 || exit 1
25800 @endif zlib
25802 .PHONY: maybe-html-zlib html-zlib
25803 maybe-html-zlib:
25804 @if zlib
25805 maybe-html-zlib: html-zlib
25807 html-zlib: \
25808 configure-zlib
25809 @[ -f ./zlib/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing html in zlib" ; \
25817 (cd $(HOST_SUBDIR)/zlib && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25822 html) \
25823 || exit 1
25825 @endif zlib
25827 .PHONY: maybe-TAGS-zlib TAGS-zlib
25828 maybe-TAGS-zlib:
25829 @if zlib
25830 maybe-TAGS-zlib: TAGS-zlib
25832 TAGS-zlib: \
25833 configure-zlib
25834 @[ -f ./zlib/Makefile ] || exit 0; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 for flag in $(EXTRA_HOST_FLAGS) ; do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 echo "Doing TAGS in zlib" ; \
25842 (cd $(HOST_SUBDIR)/zlib && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25847 TAGS) \
25848 || exit 1
25850 @endif zlib
25852 .PHONY: maybe-install-info-zlib install-info-zlib
25853 maybe-install-info-zlib:
25854 @if zlib
25855 maybe-install-info-zlib: install-info-zlib
25857 install-info-zlib: \
25858 configure-zlib \
25859 info-zlib
25860 @[ -f ./zlib/Makefile ] || exit 0; \
25861 r=`${PWD_COMMAND}`; export r; \
25862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(HOST_EXPORTS) \
25864 for flag in $(EXTRA_HOST_FLAGS) ; do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 done; \
25867 echo "Doing install-info in zlib" ; \
25868 (cd $(HOST_SUBDIR)/zlib && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25873 install-info) \
25874 || exit 1
25876 @endif zlib
25878 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25879 maybe-install-pdf-zlib:
25880 @if zlib
25881 maybe-install-pdf-zlib: install-pdf-zlib
25883 install-pdf-zlib: \
25884 configure-zlib \
25885 pdf-zlib
25886 @[ -f ./zlib/Makefile ] || exit 0; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(HOST_EXPORTS) \
25890 for flag in $(EXTRA_HOST_FLAGS) ; do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892 done; \
25893 echo "Doing install-pdf in zlib" ; \
25894 (cd $(HOST_SUBDIR)/zlib && \
25895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25897 "RANLIB=$${RANLIB}" \
25898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25899 install-pdf) \
25900 || exit 1
25902 @endif zlib
25904 .PHONY: maybe-install-html-zlib install-html-zlib
25905 maybe-install-html-zlib:
25906 @if zlib
25907 maybe-install-html-zlib: install-html-zlib
25909 install-html-zlib: \
25910 configure-zlib \
25911 html-zlib
25912 @[ -f ./zlib/Makefile ] || exit 0; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(HOST_EXPORTS) \
25916 for flag in $(EXTRA_HOST_FLAGS) ; do \
25917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 done; \
25919 echo "Doing install-html in zlib" ; \
25920 (cd $(HOST_SUBDIR)/zlib && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25925 install-html) \
25926 || exit 1
25928 @endif zlib
25930 .PHONY: maybe-installcheck-zlib installcheck-zlib
25931 maybe-installcheck-zlib:
25932 @if zlib
25933 maybe-installcheck-zlib: installcheck-zlib
25935 installcheck-zlib: \
25936 configure-zlib
25937 @[ -f ./zlib/Makefile ] || exit 0; \
25938 r=`${PWD_COMMAND}`; export r; \
25939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25940 $(HOST_EXPORTS) \
25941 for flag in $(EXTRA_HOST_FLAGS) ; do \
25942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25943 done; \
25944 echo "Doing installcheck in zlib" ; \
25945 (cd $(HOST_SUBDIR)/zlib && \
25946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25948 "RANLIB=$${RANLIB}" \
25949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25950 installcheck) \
25951 || exit 1
25953 @endif zlib
25955 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25956 maybe-mostlyclean-zlib:
25957 @if zlib
25958 maybe-mostlyclean-zlib: mostlyclean-zlib
25960 mostlyclean-zlib:
25961 @[ -f ./zlib/Makefile ] || exit 0; \
25962 r=`${PWD_COMMAND}`; export r; \
25963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25964 $(HOST_EXPORTS) \
25965 for flag in $(EXTRA_HOST_FLAGS) ; do \
25966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25967 done; \
25968 echo "Doing mostlyclean in zlib" ; \
25969 (cd $(HOST_SUBDIR)/zlib && \
25970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25972 "RANLIB=$${RANLIB}" \
25973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25974 mostlyclean) \
25975 || exit 1
25977 @endif zlib
25979 .PHONY: maybe-clean-zlib clean-zlib
25980 maybe-clean-zlib:
25981 @if zlib
25982 maybe-clean-zlib: clean-zlib
25984 clean-zlib:
25985 @[ -f ./zlib/Makefile ] || exit 0; \
25986 r=`${PWD_COMMAND}`; export r; \
25987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25988 $(HOST_EXPORTS) \
25989 for flag in $(EXTRA_HOST_FLAGS) ; do \
25990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25991 done; \
25992 echo "Doing clean in zlib" ; \
25993 (cd $(HOST_SUBDIR)/zlib && \
25994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25996 "RANLIB=$${RANLIB}" \
25997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25998 clean) \
25999 || exit 1
26001 @endif zlib
26003 .PHONY: maybe-distclean-zlib distclean-zlib
26004 maybe-distclean-zlib:
26005 @if zlib
26006 maybe-distclean-zlib: distclean-zlib
26008 distclean-zlib:
26009 @[ -f ./zlib/Makefile ] || exit 0; \
26010 r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 $(HOST_EXPORTS) \
26013 for flag in $(EXTRA_HOST_FLAGS) ; do \
26014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26015 done; \
26016 echo "Doing distclean in zlib" ; \
26017 (cd $(HOST_SUBDIR)/zlib && \
26018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26020 "RANLIB=$${RANLIB}" \
26021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26022 distclean) \
26023 || exit 1
26025 @endif zlib
26027 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26028 maybe-maintainer-clean-zlib:
26029 @if zlib
26030 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26032 maintainer-clean-zlib:
26033 @[ -f ./zlib/Makefile ] || exit 0; \
26034 r=`${PWD_COMMAND}`; export r; \
26035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 $(HOST_EXPORTS) \
26037 for flag in $(EXTRA_HOST_FLAGS) ; do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 echo "Doing maintainer-clean in zlib" ; \
26041 (cd $(HOST_SUBDIR)/zlib && \
26042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26044 "RANLIB=$${RANLIB}" \
26045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26046 maintainer-clean) \
26047 || exit 1
26049 @endif zlib
26053 .PHONY: configure-gdb maybe-configure-gdb
26054 maybe-configure-gdb:
26055 @if gcc-bootstrap
26056 configure-gdb: stage_current
26057 @endif gcc-bootstrap
26058 @if gdb
26059 maybe-configure-gdb: configure-gdb
26060 configure-gdb:
26061 @: $(MAKE); $(unstage)
26062 @r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26066 $(HOST_EXPORTS) \
26067 echo Configuring in $(HOST_SUBDIR)/gdb; \
26068 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26069 case $(srcdir) in \
26070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26071 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26073 esac; \
26074 srcdiroption="--srcdir=$${topdir}/gdb"; \
26075 libsrcdir="$$s/gdb"; \
26076 $(SHELL) $${libsrcdir}/configure \
26077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26078 --target=${target_alias} $${srcdiroption} \
26079 || exit 1
26080 @endif gdb
26086 .PHONY: all-gdb maybe-all-gdb
26087 maybe-all-gdb:
26088 @if gcc-bootstrap
26089 all-gdb: stage_current
26090 @endif gcc-bootstrap
26091 @if gdb
26092 TARGET-gdb=all
26093 maybe-all-gdb: all-gdb
26094 all-gdb: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26101 $(TARGET-gdb))
26102 @endif gdb
26107 .PHONY: check-gdb maybe-check-gdb
26108 maybe-check-gdb:
26109 @if gdb
26110 maybe-check-gdb: check-gdb
26112 check-gdb:
26113 @: $(MAKE); $(unstage)
26114 @r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 $(HOST_EXPORTS) \
26117 (cd $(HOST_SUBDIR)/gdb && \
26118 $(MAKE) $(FLAGS_TO_PASS) check)
26120 @endif gdb
26122 .PHONY: install-gdb maybe-install-gdb
26123 maybe-install-gdb:
26124 @if gdb
26125 maybe-install-gdb: install-gdb
26127 install-gdb: installdirs
26128 @: $(MAKE); $(unstage)
26129 @r=`${PWD_COMMAND}`; export r; \
26130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26131 $(HOST_EXPORTS) \
26132 (cd $(HOST_SUBDIR)/gdb && \
26133 $(MAKE) $(FLAGS_TO_PASS) install)
26135 @endif gdb
26137 .PHONY: install-strip-gdb maybe-install-strip-gdb
26138 maybe-install-strip-gdb:
26139 @if gdb
26140 maybe-install-strip-gdb: install-strip-gdb
26142 install-strip-gdb: installdirs
26143 @: $(MAKE); $(unstage)
26144 @r=`${PWD_COMMAND}`; export r; \
26145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 $(HOST_EXPORTS) \
26147 (cd $(HOST_SUBDIR)/gdb && \
26148 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26150 @endif gdb
26152 # Other targets (info, dvi, pdf, etc.)
26154 .PHONY: maybe-info-gdb info-gdb
26155 maybe-info-gdb:
26156 @if gdb
26157 maybe-info-gdb: info-gdb
26159 info-gdb: \
26160 configure-gdb
26161 @: $(MAKE); $(unstage)
26162 @[ -f ./gdb/Makefile ] || exit 0; \
26163 r=`${PWD_COMMAND}`; export r; \
26164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26165 $(HOST_EXPORTS) \
26166 for flag in $(EXTRA_HOST_FLAGS) ; do \
26167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26168 done; \
26169 echo "Doing info in gdb" ; \
26170 (cd $(HOST_SUBDIR)/gdb && \
26171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26173 "RANLIB=$${RANLIB}" \
26174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26175 info) \
26176 || exit 1
26178 @endif gdb
26180 .PHONY: maybe-dvi-gdb dvi-gdb
26181 maybe-dvi-gdb:
26182 @if gdb
26183 maybe-dvi-gdb: dvi-gdb
26185 dvi-gdb: \
26186 configure-gdb
26187 @: $(MAKE); $(unstage)
26188 @[ -f ./gdb/Makefile ] || exit 0; \
26189 r=`${PWD_COMMAND}`; export r; \
26190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26191 $(HOST_EXPORTS) \
26192 for flag in $(EXTRA_HOST_FLAGS) ; do \
26193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26194 done; \
26195 echo "Doing dvi in gdb" ; \
26196 (cd $(HOST_SUBDIR)/gdb && \
26197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26199 "RANLIB=$${RANLIB}" \
26200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26201 dvi) \
26202 || exit 1
26204 @endif gdb
26206 .PHONY: maybe-pdf-gdb pdf-gdb
26207 maybe-pdf-gdb:
26208 @if gdb
26209 maybe-pdf-gdb: pdf-gdb
26211 pdf-gdb: \
26212 configure-gdb
26213 @: $(MAKE); $(unstage)
26214 @[ -f ./gdb/Makefile ] || exit 0; \
26215 r=`${PWD_COMMAND}`; export r; \
26216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26217 $(HOST_EXPORTS) \
26218 for flag in $(EXTRA_HOST_FLAGS) ; do \
26219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26220 done; \
26221 echo "Doing pdf in gdb" ; \
26222 (cd $(HOST_SUBDIR)/gdb && \
26223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225 "RANLIB=$${RANLIB}" \
26226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26227 pdf) \
26228 || exit 1
26230 @endif gdb
26232 .PHONY: maybe-html-gdb html-gdb
26233 maybe-html-gdb:
26234 @if gdb
26235 maybe-html-gdb: html-gdb
26237 html-gdb: \
26238 configure-gdb
26239 @: $(MAKE); $(unstage)
26240 @[ -f ./gdb/Makefile ] || exit 0; \
26241 r=`${PWD_COMMAND}`; export r; \
26242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26243 $(HOST_EXPORTS) \
26244 for flag in $(EXTRA_HOST_FLAGS) ; do \
26245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26246 done; \
26247 echo "Doing html in gdb" ; \
26248 (cd $(HOST_SUBDIR)/gdb && \
26249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26251 "RANLIB=$${RANLIB}" \
26252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26253 html) \
26254 || exit 1
26256 @endif gdb
26258 .PHONY: maybe-TAGS-gdb TAGS-gdb
26259 maybe-TAGS-gdb:
26260 @if gdb
26261 maybe-TAGS-gdb: TAGS-gdb
26263 TAGS-gdb: \
26264 configure-gdb
26265 @: $(MAKE); $(unstage)
26266 @[ -f ./gdb/Makefile ] || exit 0; \
26267 r=`${PWD_COMMAND}`; export r; \
26268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26269 $(HOST_EXPORTS) \
26270 for flag in $(EXTRA_HOST_FLAGS) ; do \
26271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26272 done; \
26273 echo "Doing TAGS in gdb" ; \
26274 (cd $(HOST_SUBDIR)/gdb && \
26275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26277 "RANLIB=$${RANLIB}" \
26278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26279 TAGS) \
26280 || exit 1
26282 @endif gdb
26284 .PHONY: maybe-install-info-gdb install-info-gdb
26285 maybe-install-info-gdb:
26286 @if gdb
26287 maybe-install-info-gdb: install-info-gdb
26289 install-info-gdb: \
26290 configure-gdb \
26291 info-gdb
26292 @: $(MAKE); $(unstage)
26293 @[ -f ./gdb/Makefile ] || exit 0; \
26294 r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 for flag in $(EXTRA_HOST_FLAGS) ; do \
26298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26299 done; \
26300 echo "Doing install-info in gdb" ; \
26301 (cd $(HOST_SUBDIR)/gdb && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26306 install-info) \
26307 || exit 1
26309 @endif gdb
26311 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26312 maybe-install-pdf-gdb:
26313 @if gdb
26314 maybe-install-pdf-gdb: install-pdf-gdb
26316 install-pdf-gdb: \
26317 configure-gdb \
26318 pdf-gdb
26319 @: $(MAKE); $(unstage)
26320 @[ -f ./gdb/Makefile ] || exit 0; \
26321 r=`${PWD_COMMAND}`; export r; \
26322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26323 $(HOST_EXPORTS) \
26324 for flag in $(EXTRA_HOST_FLAGS) ; do \
26325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26326 done; \
26327 echo "Doing install-pdf in gdb" ; \
26328 (cd $(HOST_SUBDIR)/gdb && \
26329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26331 "RANLIB=$${RANLIB}" \
26332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26333 install-pdf) \
26334 || exit 1
26336 @endif gdb
26338 .PHONY: maybe-install-html-gdb install-html-gdb
26339 maybe-install-html-gdb:
26340 @if gdb
26341 maybe-install-html-gdb: install-html-gdb
26343 install-html-gdb: \
26344 configure-gdb \
26345 html-gdb
26346 @: $(MAKE); $(unstage)
26347 @[ -f ./gdb/Makefile ] || exit 0; \
26348 r=`${PWD_COMMAND}`; export r; \
26349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26350 $(HOST_EXPORTS) \
26351 for flag in $(EXTRA_HOST_FLAGS) ; do \
26352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26353 done; \
26354 echo "Doing install-html in gdb" ; \
26355 (cd $(HOST_SUBDIR)/gdb && \
26356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26358 "RANLIB=$${RANLIB}" \
26359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26360 install-html) \
26361 || exit 1
26363 @endif gdb
26365 .PHONY: maybe-installcheck-gdb installcheck-gdb
26366 maybe-installcheck-gdb:
26367 @if gdb
26368 maybe-installcheck-gdb: installcheck-gdb
26370 installcheck-gdb: \
26371 configure-gdb
26372 @: $(MAKE); $(unstage)
26373 @[ -f ./gdb/Makefile ] || exit 0; \
26374 r=`${PWD_COMMAND}`; export r; \
26375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26376 $(HOST_EXPORTS) \
26377 for flag in $(EXTRA_HOST_FLAGS) ; do \
26378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26379 done; \
26380 echo "Doing installcheck in gdb" ; \
26381 (cd $(HOST_SUBDIR)/gdb && \
26382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26384 "RANLIB=$${RANLIB}" \
26385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26386 installcheck) \
26387 || exit 1
26389 @endif gdb
26391 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26392 maybe-mostlyclean-gdb:
26393 @if gdb
26394 maybe-mostlyclean-gdb: mostlyclean-gdb
26396 mostlyclean-gdb:
26397 @: $(MAKE); $(unstage)
26398 @[ -f ./gdb/Makefile ] || exit 0; \
26399 r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 $(HOST_EXPORTS) \
26402 for flag in $(EXTRA_HOST_FLAGS) ; do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 done; \
26405 echo "Doing mostlyclean in gdb" ; \
26406 (cd $(HOST_SUBDIR)/gdb && \
26407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26409 "RANLIB=$${RANLIB}" \
26410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26411 mostlyclean) \
26412 || exit 1
26414 @endif gdb
26416 .PHONY: maybe-clean-gdb clean-gdb
26417 maybe-clean-gdb:
26418 @if gdb
26419 maybe-clean-gdb: clean-gdb
26421 clean-gdb:
26422 @: $(MAKE); $(unstage)
26423 @[ -f ./gdb/Makefile ] || exit 0; \
26424 r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 $(HOST_EXPORTS) \
26427 for flag in $(EXTRA_HOST_FLAGS) ; do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26429 done; \
26430 echo "Doing clean in gdb" ; \
26431 (cd $(HOST_SUBDIR)/gdb && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26436 clean) \
26437 || exit 1
26439 @endif gdb
26441 .PHONY: maybe-distclean-gdb distclean-gdb
26442 maybe-distclean-gdb:
26443 @if gdb
26444 maybe-distclean-gdb: distclean-gdb
26446 distclean-gdb:
26447 @: $(MAKE); $(unstage)
26448 @[ -f ./gdb/Makefile ] || exit 0; \
26449 r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26451 $(HOST_EXPORTS) \
26452 for flag in $(EXTRA_HOST_FLAGS) ; do \
26453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26454 done; \
26455 echo "Doing distclean in gdb" ; \
26456 (cd $(HOST_SUBDIR)/gdb && \
26457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26459 "RANLIB=$${RANLIB}" \
26460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26461 distclean) \
26462 || exit 1
26464 @endif gdb
26466 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26467 maybe-maintainer-clean-gdb:
26468 @if gdb
26469 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26471 maintainer-clean-gdb:
26472 @: $(MAKE); $(unstage)
26473 @[ -f ./gdb/Makefile ] || exit 0; \
26474 r=`${PWD_COMMAND}`; export r; \
26475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26476 $(HOST_EXPORTS) \
26477 for flag in $(EXTRA_HOST_FLAGS) ; do \
26478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26479 done; \
26480 echo "Doing maintainer-clean in gdb" ; \
26481 (cd $(HOST_SUBDIR)/gdb && \
26482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26484 "RANLIB=$${RANLIB}" \
26485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26486 maintainer-clean) \
26487 || exit 1
26489 @endif gdb
26493 .PHONY: configure-expect maybe-configure-expect
26494 maybe-configure-expect:
26495 @if gcc-bootstrap
26496 configure-expect: stage_current
26497 @endif gcc-bootstrap
26498 @if expect
26499 maybe-configure-expect: configure-expect
26500 configure-expect:
26501 @: $(MAKE); $(unstage)
26502 @r=`${PWD_COMMAND}`; export r; \
26503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26506 $(HOST_EXPORTS) \
26507 echo Configuring in $(HOST_SUBDIR)/expect; \
26508 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26509 case $(srcdir) in \
26510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26511 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26513 esac; \
26514 srcdiroption="--srcdir=$${topdir}/expect"; \
26515 libsrcdir="$$s/expect"; \
26516 $(SHELL) $${libsrcdir}/configure \
26517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26518 --target=${target_alias} $${srcdiroption} \
26519 || exit 1
26520 @endif expect
26526 .PHONY: all-expect maybe-all-expect
26527 maybe-all-expect:
26528 @if gcc-bootstrap
26529 all-expect: stage_current
26530 @endif gcc-bootstrap
26531 @if expect
26532 TARGET-expect=all
26533 maybe-all-expect: all-expect
26534 all-expect: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26541 $(TARGET-expect))
26542 @endif expect
26547 .PHONY: check-expect maybe-check-expect
26548 maybe-check-expect:
26549 @if expect
26550 maybe-check-expect: check-expect
26552 check-expect:
26553 @: $(MAKE); $(unstage)
26554 @r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 $(HOST_EXPORTS) \
26557 (cd $(HOST_SUBDIR)/expect && \
26558 $(MAKE) $(FLAGS_TO_PASS) check)
26560 @endif expect
26562 .PHONY: install-expect maybe-install-expect
26563 maybe-install-expect:
26564 @if expect
26565 maybe-install-expect: install-expect
26567 install-expect: installdirs
26568 @: $(MAKE); $(unstage)
26569 @r=`${PWD_COMMAND}`; export r; \
26570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26571 $(HOST_EXPORTS) \
26572 (cd $(HOST_SUBDIR)/expect && \
26573 $(MAKE) $(FLAGS_TO_PASS) install)
26575 @endif expect
26577 .PHONY: install-strip-expect maybe-install-strip-expect
26578 maybe-install-strip-expect:
26579 @if expect
26580 maybe-install-strip-expect: install-strip-expect
26582 install-strip-expect: installdirs
26583 @: $(MAKE); $(unstage)
26584 @r=`${PWD_COMMAND}`; export r; \
26585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26586 $(HOST_EXPORTS) \
26587 (cd $(HOST_SUBDIR)/expect && \
26588 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26590 @endif expect
26592 # Other targets (info, dvi, pdf, etc.)
26594 .PHONY: maybe-info-expect info-expect
26595 maybe-info-expect:
26596 @if expect
26597 maybe-info-expect: info-expect
26599 info-expect: \
26600 configure-expect
26601 @: $(MAKE); $(unstage)
26602 @[ -f ./expect/Makefile ] || exit 0; \
26603 r=`${PWD_COMMAND}`; export r; \
26604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26605 $(HOST_EXPORTS) \
26606 for flag in $(EXTRA_HOST_FLAGS) ; do \
26607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26608 done; \
26609 echo "Doing info in expect" ; \
26610 (cd $(HOST_SUBDIR)/expect && \
26611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26613 "RANLIB=$${RANLIB}" \
26614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26615 info) \
26616 || exit 1
26618 @endif expect
26620 .PHONY: maybe-dvi-expect dvi-expect
26621 maybe-dvi-expect:
26622 @if expect
26623 maybe-dvi-expect: dvi-expect
26625 dvi-expect: \
26626 configure-expect
26627 @: $(MAKE); $(unstage)
26628 @[ -f ./expect/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) ; do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing dvi in expect" ; \
26636 (cd $(HOST_SUBDIR)/expect && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26641 dvi) \
26642 || exit 1
26644 @endif expect
26646 .PHONY: maybe-pdf-expect pdf-expect
26647 maybe-pdf-expect:
26648 @if expect
26649 maybe-pdf-expect: pdf-expect
26651 pdf-expect: \
26652 configure-expect
26653 @: $(MAKE); $(unstage)
26654 @[ -f ./expect/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(HOST_EXPORTS) \
26658 for flag in $(EXTRA_HOST_FLAGS) ; do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26660 done; \
26661 echo "Doing pdf in expect" ; \
26662 (cd $(HOST_SUBDIR)/expect && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665 "RANLIB=$${RANLIB}" \
26666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26667 pdf) \
26668 || exit 1
26670 @endif expect
26672 .PHONY: maybe-html-expect html-expect
26673 maybe-html-expect:
26674 @if expect
26675 maybe-html-expect: html-expect
26677 html-expect: \
26678 configure-expect
26679 @: $(MAKE); $(unstage)
26680 @[ -f ./expect/Makefile ] || exit 0; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(HOST_EXPORTS) \
26684 for flag in $(EXTRA_HOST_FLAGS) ; do \
26685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26686 done; \
26687 echo "Doing html in expect" ; \
26688 (cd $(HOST_SUBDIR)/expect && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26691 "RANLIB=$${RANLIB}" \
26692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26693 html) \
26694 || exit 1
26696 @endif expect
26698 .PHONY: maybe-TAGS-expect TAGS-expect
26699 maybe-TAGS-expect:
26700 @if expect
26701 maybe-TAGS-expect: TAGS-expect
26703 TAGS-expect: \
26704 configure-expect
26705 @: $(MAKE); $(unstage)
26706 @[ -f ./expect/Makefile ] || exit 0; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 $(HOST_EXPORTS) \
26710 for flag in $(EXTRA_HOST_FLAGS) ; do \
26711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26712 done; \
26713 echo "Doing TAGS in expect" ; \
26714 (cd $(HOST_SUBDIR)/expect && \
26715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26717 "RANLIB=$${RANLIB}" \
26718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26719 TAGS) \
26720 || exit 1
26722 @endif expect
26724 .PHONY: maybe-install-info-expect install-info-expect
26725 maybe-install-info-expect:
26726 @if expect
26727 maybe-install-info-expect: install-info-expect
26729 install-info-expect: \
26730 configure-expect \
26731 info-expect
26732 @: $(MAKE); $(unstage)
26733 @[ -f ./expect/Makefile ] || exit 0; \
26734 r=`${PWD_COMMAND}`; export r; \
26735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26736 $(HOST_EXPORTS) \
26737 for flag in $(EXTRA_HOST_FLAGS) ; do \
26738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26739 done; \
26740 echo "Doing install-info in expect" ; \
26741 (cd $(HOST_SUBDIR)/expect && \
26742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26744 "RANLIB=$${RANLIB}" \
26745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26746 install-info) \
26747 || exit 1
26749 @endif expect
26751 .PHONY: maybe-install-pdf-expect install-pdf-expect
26752 maybe-install-pdf-expect:
26753 @if expect
26754 maybe-install-pdf-expect: install-pdf-expect
26756 install-pdf-expect: \
26757 configure-expect \
26758 pdf-expect
26759 @: $(MAKE); $(unstage)
26760 @[ -f ./expect/Makefile ] || exit 0; \
26761 r=`${PWD_COMMAND}`; export r; \
26762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26763 $(HOST_EXPORTS) \
26764 for flag in $(EXTRA_HOST_FLAGS) ; do \
26765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26766 done; \
26767 echo "Doing install-pdf in expect" ; \
26768 (cd $(HOST_SUBDIR)/expect && \
26769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26771 "RANLIB=$${RANLIB}" \
26772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26773 install-pdf) \
26774 || exit 1
26776 @endif expect
26778 .PHONY: maybe-install-html-expect install-html-expect
26779 maybe-install-html-expect:
26780 @if expect
26781 maybe-install-html-expect: install-html-expect
26783 install-html-expect: \
26784 configure-expect \
26785 html-expect
26786 @: $(MAKE); $(unstage)
26787 @[ -f ./expect/Makefile ] || exit 0; \
26788 r=`${PWD_COMMAND}`; export r; \
26789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 $(HOST_EXPORTS) \
26791 for flag in $(EXTRA_HOST_FLAGS) ; do \
26792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26793 done; \
26794 echo "Doing install-html in expect" ; \
26795 (cd $(HOST_SUBDIR)/expect && \
26796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26798 "RANLIB=$${RANLIB}" \
26799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26800 install-html) \
26801 || exit 1
26803 @endif expect
26805 .PHONY: maybe-installcheck-expect installcheck-expect
26806 maybe-installcheck-expect:
26807 @if expect
26808 maybe-installcheck-expect: installcheck-expect
26810 installcheck-expect: \
26811 configure-expect
26812 @: $(MAKE); $(unstage)
26813 @[ -f ./expect/Makefile ] || exit 0; \
26814 r=`${PWD_COMMAND}`; export r; \
26815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26816 $(HOST_EXPORTS) \
26817 for flag in $(EXTRA_HOST_FLAGS) ; do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26819 done; \
26820 echo "Doing installcheck in expect" ; \
26821 (cd $(HOST_SUBDIR)/expect && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26824 "RANLIB=$${RANLIB}" \
26825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26826 installcheck) \
26827 || exit 1
26829 @endif expect
26831 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26832 maybe-mostlyclean-expect:
26833 @if expect
26834 maybe-mostlyclean-expect: mostlyclean-expect
26836 mostlyclean-expect:
26837 @: $(MAKE); $(unstage)
26838 @[ -f ./expect/Makefile ] || exit 0; \
26839 r=`${PWD_COMMAND}`; export r; \
26840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26841 $(HOST_EXPORTS) \
26842 for flag in $(EXTRA_HOST_FLAGS) ; do \
26843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26844 done; \
26845 echo "Doing mostlyclean in expect" ; \
26846 (cd $(HOST_SUBDIR)/expect && \
26847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26849 "RANLIB=$${RANLIB}" \
26850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26851 mostlyclean) \
26852 || exit 1
26854 @endif expect
26856 .PHONY: maybe-clean-expect clean-expect
26857 maybe-clean-expect:
26858 @if expect
26859 maybe-clean-expect: clean-expect
26861 clean-expect:
26862 @: $(MAKE); $(unstage)
26863 @[ -f ./expect/Makefile ] || exit 0; \
26864 r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(HOST_EXPORTS) \
26867 for flag in $(EXTRA_HOST_FLAGS) ; do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 echo "Doing clean in expect" ; \
26871 (cd $(HOST_SUBDIR)/expect && \
26872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874 "RANLIB=$${RANLIB}" \
26875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26876 clean) \
26877 || exit 1
26879 @endif expect
26881 .PHONY: maybe-distclean-expect distclean-expect
26882 maybe-distclean-expect:
26883 @if expect
26884 maybe-distclean-expect: distclean-expect
26886 distclean-expect:
26887 @: $(MAKE); $(unstage)
26888 @[ -f ./expect/Makefile ] || exit 0; \
26889 r=`${PWD_COMMAND}`; export r; \
26890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 $(HOST_EXPORTS) \
26892 for flag in $(EXTRA_HOST_FLAGS) ; do \
26893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26894 done; \
26895 echo "Doing distclean in expect" ; \
26896 (cd $(HOST_SUBDIR)/expect && \
26897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26899 "RANLIB=$${RANLIB}" \
26900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26901 distclean) \
26902 || exit 1
26904 @endif expect
26906 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26907 maybe-maintainer-clean-expect:
26908 @if expect
26909 maybe-maintainer-clean-expect: maintainer-clean-expect
26911 maintainer-clean-expect:
26912 @: $(MAKE); $(unstage)
26913 @[ -f ./expect/Makefile ] || exit 0; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 for flag in $(EXTRA_HOST_FLAGS) ; do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 echo "Doing maintainer-clean in expect" ; \
26921 (cd $(HOST_SUBDIR)/expect && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26926 maintainer-clean) \
26927 || exit 1
26929 @endif expect
26933 .PHONY: configure-guile maybe-configure-guile
26934 maybe-configure-guile:
26935 @if gcc-bootstrap
26936 configure-guile: stage_current
26937 @endif gcc-bootstrap
26938 @if guile
26939 maybe-configure-guile: configure-guile
26940 configure-guile:
26941 @: $(MAKE); $(unstage)
26942 @r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26946 $(HOST_EXPORTS) \
26947 echo Configuring in $(HOST_SUBDIR)/guile; \
26948 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26949 case $(srcdir) in \
26950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26951 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26953 esac; \
26954 srcdiroption="--srcdir=$${topdir}/guile"; \
26955 libsrcdir="$$s/guile"; \
26956 $(SHELL) $${libsrcdir}/configure \
26957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26958 --target=${target_alias} $${srcdiroption} \
26959 || exit 1
26960 @endif guile
26966 .PHONY: all-guile maybe-all-guile
26967 maybe-all-guile:
26968 @if gcc-bootstrap
26969 all-guile: stage_current
26970 @endif gcc-bootstrap
26971 @if guile
26972 TARGET-guile=all
26973 maybe-all-guile: all-guile
26974 all-guile: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26981 $(TARGET-guile))
26982 @endif guile
26987 .PHONY: check-guile maybe-check-guile
26988 maybe-check-guile:
26989 @if guile
26990 maybe-check-guile: check-guile
26992 check-guile:
26993 @: $(MAKE); $(unstage)
26994 @r=`${PWD_COMMAND}`; export r; \
26995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 $(HOST_EXPORTS) \
26997 (cd $(HOST_SUBDIR)/guile && \
26998 $(MAKE) $(FLAGS_TO_PASS) check)
27000 @endif guile
27002 .PHONY: install-guile maybe-install-guile
27003 maybe-install-guile:
27004 @if guile
27005 maybe-install-guile: install-guile
27007 install-guile: installdirs
27008 @: $(MAKE); $(unstage)
27009 @r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(HOST_EXPORTS) \
27012 (cd $(HOST_SUBDIR)/guile && \
27013 $(MAKE) $(FLAGS_TO_PASS) install)
27015 @endif guile
27017 .PHONY: install-strip-guile maybe-install-strip-guile
27018 maybe-install-strip-guile:
27019 @if guile
27020 maybe-install-strip-guile: install-strip-guile
27022 install-strip-guile: installdirs
27023 @: $(MAKE); $(unstage)
27024 @r=`${PWD_COMMAND}`; export r; \
27025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27026 $(HOST_EXPORTS) \
27027 (cd $(HOST_SUBDIR)/guile && \
27028 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27030 @endif guile
27032 # Other targets (info, dvi, pdf, etc.)
27034 .PHONY: maybe-info-guile info-guile
27035 maybe-info-guile:
27036 @if guile
27037 maybe-info-guile: info-guile
27039 info-guile: \
27040 configure-guile
27041 @: $(MAKE); $(unstage)
27042 @[ -f ./guile/Makefile ] || exit 0; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 $(HOST_EXPORTS) \
27046 for flag in $(EXTRA_HOST_FLAGS) ; do \
27047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27048 done; \
27049 echo "Doing info in guile" ; \
27050 (cd $(HOST_SUBDIR)/guile && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27055 info) \
27056 || exit 1
27058 @endif guile
27060 .PHONY: maybe-dvi-guile dvi-guile
27061 maybe-dvi-guile:
27062 @if guile
27063 maybe-dvi-guile: dvi-guile
27065 dvi-guile: \
27066 configure-guile
27067 @: $(MAKE); $(unstage)
27068 @[ -f ./guile/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) ; do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing dvi in guile" ; \
27076 (cd $(HOST_SUBDIR)/guile && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27081 dvi) \
27082 || exit 1
27084 @endif guile
27086 .PHONY: maybe-pdf-guile pdf-guile
27087 maybe-pdf-guile:
27088 @if guile
27089 maybe-pdf-guile: pdf-guile
27091 pdf-guile: \
27092 configure-guile
27093 @: $(MAKE); $(unstage)
27094 @[ -f ./guile/Makefile ] || exit 0; \
27095 r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 $(HOST_EXPORTS) \
27098 for flag in $(EXTRA_HOST_FLAGS) ; do \
27099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27100 done; \
27101 echo "Doing pdf in guile" ; \
27102 (cd $(HOST_SUBDIR)/guile && \
27103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27105 "RANLIB=$${RANLIB}" \
27106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27107 pdf) \
27108 || exit 1
27110 @endif guile
27112 .PHONY: maybe-html-guile html-guile
27113 maybe-html-guile:
27114 @if guile
27115 maybe-html-guile: html-guile
27117 html-guile: \
27118 configure-guile
27119 @: $(MAKE); $(unstage)
27120 @[ -f ./guile/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing html in guile" ; \
27128 (cd $(HOST_SUBDIR)/guile && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27133 html) \
27134 || exit 1
27136 @endif guile
27138 .PHONY: maybe-TAGS-guile TAGS-guile
27139 maybe-TAGS-guile:
27140 @if guile
27141 maybe-TAGS-guile: TAGS-guile
27143 TAGS-guile: \
27144 configure-guile
27145 @: $(MAKE); $(unstage)
27146 @[ -f ./guile/Makefile ] || exit 0; \
27147 r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(HOST_EXPORTS) \
27150 for flag in $(EXTRA_HOST_FLAGS) ; do \
27151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27152 done; \
27153 echo "Doing TAGS in guile" ; \
27154 (cd $(HOST_SUBDIR)/guile && \
27155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27157 "RANLIB=$${RANLIB}" \
27158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27159 TAGS) \
27160 || exit 1
27162 @endif guile
27164 .PHONY: maybe-install-info-guile install-info-guile
27165 maybe-install-info-guile:
27166 @if guile
27167 maybe-install-info-guile: install-info-guile
27169 install-info-guile: \
27170 configure-guile \
27171 info-guile
27172 @: $(MAKE); $(unstage)
27173 @[ -f ./guile/Makefile ] || exit 0; \
27174 r=`${PWD_COMMAND}`; export r; \
27175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(HOST_EXPORTS) \
27177 for flag in $(EXTRA_HOST_FLAGS) ; do \
27178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 done; \
27180 echo "Doing install-info in guile" ; \
27181 (cd $(HOST_SUBDIR)/guile && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27186 install-info) \
27187 || exit 1
27189 @endif guile
27191 .PHONY: maybe-install-pdf-guile install-pdf-guile
27192 maybe-install-pdf-guile:
27193 @if guile
27194 maybe-install-pdf-guile: install-pdf-guile
27196 install-pdf-guile: \
27197 configure-guile \
27198 pdf-guile
27199 @: $(MAKE); $(unstage)
27200 @[ -f ./guile/Makefile ] || exit 0; \
27201 r=`${PWD_COMMAND}`; export r; \
27202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27203 $(HOST_EXPORTS) \
27204 for flag in $(EXTRA_HOST_FLAGS) ; do \
27205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206 done; \
27207 echo "Doing install-pdf in guile" ; \
27208 (cd $(HOST_SUBDIR)/guile && \
27209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27211 "RANLIB=$${RANLIB}" \
27212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27213 install-pdf) \
27214 || exit 1
27216 @endif guile
27218 .PHONY: maybe-install-html-guile install-html-guile
27219 maybe-install-html-guile:
27220 @if guile
27221 maybe-install-html-guile: install-html-guile
27223 install-html-guile: \
27224 configure-guile \
27225 html-guile
27226 @: $(MAKE); $(unstage)
27227 @[ -f ./guile/Makefile ] || exit 0; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(HOST_EXPORTS) \
27231 for flag in $(EXTRA_HOST_FLAGS) ; do \
27232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27233 done; \
27234 echo "Doing install-html in guile" ; \
27235 (cd $(HOST_SUBDIR)/guile && \
27236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27238 "RANLIB=$${RANLIB}" \
27239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27240 install-html) \
27241 || exit 1
27243 @endif guile
27245 .PHONY: maybe-installcheck-guile installcheck-guile
27246 maybe-installcheck-guile:
27247 @if guile
27248 maybe-installcheck-guile: installcheck-guile
27250 installcheck-guile: \
27251 configure-guile
27252 @: $(MAKE); $(unstage)
27253 @[ -f ./guile/Makefile ] || exit 0; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(HOST_EXPORTS) \
27257 for flag in $(EXTRA_HOST_FLAGS) ; do \
27258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27259 done; \
27260 echo "Doing installcheck in guile" ; \
27261 (cd $(HOST_SUBDIR)/guile && \
27262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27264 "RANLIB=$${RANLIB}" \
27265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27266 installcheck) \
27267 || exit 1
27269 @endif guile
27271 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27272 maybe-mostlyclean-guile:
27273 @if guile
27274 maybe-mostlyclean-guile: mostlyclean-guile
27276 mostlyclean-guile:
27277 @: $(MAKE); $(unstage)
27278 @[ -f ./guile/Makefile ] || exit 0; \
27279 r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(HOST_EXPORTS) \
27282 for flag in $(EXTRA_HOST_FLAGS) ; do \
27283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27284 done; \
27285 echo "Doing mostlyclean in guile" ; \
27286 (cd $(HOST_SUBDIR)/guile && \
27287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27289 "RANLIB=$${RANLIB}" \
27290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27291 mostlyclean) \
27292 || exit 1
27294 @endif guile
27296 .PHONY: maybe-clean-guile clean-guile
27297 maybe-clean-guile:
27298 @if guile
27299 maybe-clean-guile: clean-guile
27301 clean-guile:
27302 @: $(MAKE); $(unstage)
27303 @[ -f ./guile/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing clean in guile" ; \
27311 (cd $(HOST_SUBDIR)/guile && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27316 clean) \
27317 || exit 1
27319 @endif guile
27321 .PHONY: maybe-distclean-guile distclean-guile
27322 maybe-distclean-guile:
27323 @if guile
27324 maybe-distclean-guile: distclean-guile
27326 distclean-guile:
27327 @: $(MAKE); $(unstage)
27328 @[ -f ./guile/Makefile ] || exit 0; \
27329 r=`${PWD_COMMAND}`; export r; \
27330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27331 $(HOST_EXPORTS) \
27332 for flag in $(EXTRA_HOST_FLAGS) ; do \
27333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27334 done; \
27335 echo "Doing distclean in guile" ; \
27336 (cd $(HOST_SUBDIR)/guile && \
27337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27339 "RANLIB=$${RANLIB}" \
27340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27341 distclean) \
27342 || exit 1
27344 @endif guile
27346 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27347 maybe-maintainer-clean-guile:
27348 @if guile
27349 maybe-maintainer-clean-guile: maintainer-clean-guile
27351 maintainer-clean-guile:
27352 @: $(MAKE); $(unstage)
27353 @[ -f ./guile/Makefile ] || exit 0; \
27354 r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(HOST_EXPORTS) \
27357 for flag in $(EXTRA_HOST_FLAGS) ; do \
27358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27359 done; \
27360 echo "Doing maintainer-clean in guile" ; \
27361 (cd $(HOST_SUBDIR)/guile && \
27362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364 "RANLIB=$${RANLIB}" \
27365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27366 maintainer-clean) \
27367 || exit 1
27369 @endif guile
27373 .PHONY: configure-tk maybe-configure-tk
27374 maybe-configure-tk:
27375 @if gcc-bootstrap
27376 configure-tk: stage_current
27377 @endif gcc-bootstrap
27378 @if tk
27379 maybe-configure-tk: configure-tk
27380 configure-tk:
27381 @: $(MAKE); $(unstage)
27382 @r=`${PWD_COMMAND}`; export r; \
27383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27384 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27386 $(HOST_EXPORTS) \
27387 echo Configuring in $(HOST_SUBDIR)/tk; \
27388 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27389 case $(srcdir) in \
27390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27391 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27393 esac; \
27394 srcdiroption="--srcdir=$${topdir}/tk"; \
27395 libsrcdir="$$s/tk"; \
27396 $(SHELL) $${libsrcdir}/configure \
27397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27398 --target=${target_alias} $${srcdiroption} \
27399 || exit 1
27400 @endif tk
27406 .PHONY: all-tk maybe-all-tk
27407 maybe-all-tk:
27408 @if gcc-bootstrap
27409 all-tk: stage_current
27410 @endif gcc-bootstrap
27411 @if tk
27412 TARGET-tk=all
27413 maybe-all-tk: all-tk
27414 all-tk: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27421 $(TARGET-tk))
27422 @endif tk
27427 .PHONY: check-tk maybe-check-tk
27428 maybe-check-tk:
27429 @if tk
27430 maybe-check-tk: check-tk
27432 check-tk:
27433 @: $(MAKE); $(unstage)
27434 @r=`${PWD_COMMAND}`; export r; \
27435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27436 $(HOST_EXPORTS) \
27437 (cd $(HOST_SUBDIR)/tk && \
27438 $(MAKE) $(FLAGS_TO_PASS) check)
27440 @endif tk
27442 .PHONY: install-tk maybe-install-tk
27443 maybe-install-tk:
27444 @if tk
27445 maybe-install-tk: install-tk
27447 install-tk: installdirs
27448 @: $(MAKE); $(unstage)
27449 @r=`${PWD_COMMAND}`; export r; \
27450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27451 $(HOST_EXPORTS) \
27452 (cd $(HOST_SUBDIR)/tk && \
27453 $(MAKE) $(FLAGS_TO_PASS) install)
27455 @endif tk
27457 .PHONY: install-strip-tk maybe-install-strip-tk
27458 maybe-install-strip-tk:
27459 @if tk
27460 maybe-install-strip-tk: install-strip-tk
27462 install-strip-tk: installdirs
27463 @: $(MAKE); $(unstage)
27464 @r=`${PWD_COMMAND}`; export r; \
27465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27466 $(HOST_EXPORTS) \
27467 (cd $(HOST_SUBDIR)/tk && \
27468 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27470 @endif tk
27472 # Other targets (info, dvi, pdf, etc.)
27474 .PHONY: maybe-info-tk info-tk
27475 maybe-info-tk:
27476 @if tk
27477 maybe-info-tk: info-tk
27479 info-tk: \
27480 configure-tk
27481 @: $(MAKE); $(unstage)
27482 @[ -f ./tk/Makefile ] || exit 0; \
27483 r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 $(HOST_EXPORTS) \
27486 for flag in $(EXTRA_HOST_FLAGS) ; do \
27487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27488 done; \
27489 echo "Doing info in tk" ; \
27490 (cd $(HOST_SUBDIR)/tk && \
27491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27493 "RANLIB=$${RANLIB}" \
27494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27495 info) \
27496 || exit 1
27498 @endif tk
27500 .PHONY: maybe-dvi-tk dvi-tk
27501 maybe-dvi-tk:
27502 @if tk
27503 maybe-dvi-tk: dvi-tk
27505 dvi-tk: \
27506 configure-tk
27507 @: $(MAKE); $(unstage)
27508 @[ -f ./tk/Makefile ] || exit 0; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(HOST_EXPORTS) \
27512 for flag in $(EXTRA_HOST_FLAGS) ; do \
27513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27514 done; \
27515 echo "Doing dvi in tk" ; \
27516 (cd $(HOST_SUBDIR)/tk && \
27517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27519 "RANLIB=$${RANLIB}" \
27520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27521 dvi) \
27522 || exit 1
27524 @endif tk
27526 .PHONY: maybe-pdf-tk pdf-tk
27527 maybe-pdf-tk:
27528 @if tk
27529 maybe-pdf-tk: pdf-tk
27531 pdf-tk: \
27532 configure-tk
27533 @: $(MAKE); $(unstage)
27534 @[ -f ./tk/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing pdf in tk" ; \
27542 (cd $(HOST_SUBDIR)/tk && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27547 pdf) \
27548 || exit 1
27550 @endif tk
27552 .PHONY: maybe-html-tk html-tk
27553 maybe-html-tk:
27554 @if tk
27555 maybe-html-tk: html-tk
27557 html-tk: \
27558 configure-tk
27559 @: $(MAKE); $(unstage)
27560 @[ -f ./tk/Makefile ] || exit 0; \
27561 r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 $(HOST_EXPORTS) \
27564 for flag in $(EXTRA_HOST_FLAGS) ; do \
27565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27566 done; \
27567 echo "Doing html in tk" ; \
27568 (cd $(HOST_SUBDIR)/tk && \
27569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27571 "RANLIB=$${RANLIB}" \
27572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27573 html) \
27574 || exit 1
27576 @endif tk
27578 .PHONY: maybe-TAGS-tk TAGS-tk
27579 maybe-TAGS-tk:
27580 @if tk
27581 maybe-TAGS-tk: TAGS-tk
27583 TAGS-tk: \
27584 configure-tk
27585 @: $(MAKE); $(unstage)
27586 @[ -f ./tk/Makefile ] || exit 0; \
27587 r=`${PWD_COMMAND}`; export r; \
27588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27589 $(HOST_EXPORTS) \
27590 for flag in $(EXTRA_HOST_FLAGS) ; do \
27591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27592 done; \
27593 echo "Doing TAGS in tk" ; \
27594 (cd $(HOST_SUBDIR)/tk && \
27595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27597 "RANLIB=$${RANLIB}" \
27598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27599 TAGS) \
27600 || exit 1
27602 @endif tk
27604 .PHONY: maybe-install-info-tk install-info-tk
27605 maybe-install-info-tk:
27606 @if tk
27607 maybe-install-info-tk: install-info-tk
27609 install-info-tk: \
27610 configure-tk \
27611 info-tk
27612 @: $(MAKE); $(unstage)
27613 @[ -f ./tk/Makefile ] || exit 0; \
27614 r=`${PWD_COMMAND}`; export r; \
27615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27616 $(HOST_EXPORTS) \
27617 for flag in $(EXTRA_HOST_FLAGS) ; do \
27618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27619 done; \
27620 echo "Doing install-info in tk" ; \
27621 (cd $(HOST_SUBDIR)/tk && \
27622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27624 "RANLIB=$${RANLIB}" \
27625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27626 install-info) \
27627 || exit 1
27629 @endif tk
27631 .PHONY: maybe-install-pdf-tk install-pdf-tk
27632 maybe-install-pdf-tk:
27633 @if tk
27634 maybe-install-pdf-tk: install-pdf-tk
27636 install-pdf-tk: \
27637 configure-tk \
27638 pdf-tk
27639 @: $(MAKE); $(unstage)
27640 @[ -f ./tk/Makefile ] || exit 0; \
27641 r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(HOST_EXPORTS) \
27644 for flag in $(EXTRA_HOST_FLAGS) ; do \
27645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27646 done; \
27647 echo "Doing install-pdf in tk" ; \
27648 (cd $(HOST_SUBDIR)/tk && \
27649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27651 "RANLIB=$${RANLIB}" \
27652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27653 install-pdf) \
27654 || exit 1
27656 @endif tk
27658 .PHONY: maybe-install-html-tk install-html-tk
27659 maybe-install-html-tk:
27660 @if tk
27661 maybe-install-html-tk: install-html-tk
27663 install-html-tk: \
27664 configure-tk \
27665 html-tk
27666 @: $(MAKE); $(unstage)
27667 @[ -f ./tk/Makefile ] || exit 0; \
27668 r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27670 $(HOST_EXPORTS) \
27671 for flag in $(EXTRA_HOST_FLAGS) ; do \
27672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27673 done; \
27674 echo "Doing install-html in tk" ; \
27675 (cd $(HOST_SUBDIR)/tk && \
27676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27678 "RANLIB=$${RANLIB}" \
27679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27680 install-html) \
27681 || exit 1
27683 @endif tk
27685 .PHONY: maybe-installcheck-tk installcheck-tk
27686 maybe-installcheck-tk:
27687 @if tk
27688 maybe-installcheck-tk: installcheck-tk
27690 installcheck-tk: \
27691 configure-tk
27692 @: $(MAKE); $(unstage)
27693 @[ -f ./tk/Makefile ] || exit 0; \
27694 r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696 $(HOST_EXPORTS) \
27697 for flag in $(EXTRA_HOST_FLAGS) ; do \
27698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27699 done; \
27700 echo "Doing installcheck in tk" ; \
27701 (cd $(HOST_SUBDIR)/tk && \
27702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27704 "RANLIB=$${RANLIB}" \
27705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27706 installcheck) \
27707 || exit 1
27709 @endif tk
27711 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27712 maybe-mostlyclean-tk:
27713 @if tk
27714 maybe-mostlyclean-tk: mostlyclean-tk
27716 mostlyclean-tk:
27717 @: $(MAKE); $(unstage)
27718 @[ -f ./tk/Makefile ] || exit 0; \
27719 r=`${PWD_COMMAND}`; export r; \
27720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 $(HOST_EXPORTS) \
27722 for flag in $(EXTRA_HOST_FLAGS) ; do \
27723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 done; \
27725 echo "Doing mostlyclean in tk" ; \
27726 (cd $(HOST_SUBDIR)/tk && \
27727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27729 "RANLIB=$${RANLIB}" \
27730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27731 mostlyclean) \
27732 || exit 1
27734 @endif tk
27736 .PHONY: maybe-clean-tk clean-tk
27737 maybe-clean-tk:
27738 @if tk
27739 maybe-clean-tk: clean-tk
27741 clean-tk:
27742 @: $(MAKE); $(unstage)
27743 @[ -f ./tk/Makefile ] || exit 0; \
27744 r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 $(HOST_EXPORTS) \
27747 for flag in $(EXTRA_HOST_FLAGS) ; do \
27748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27749 done; \
27750 echo "Doing clean in tk" ; \
27751 (cd $(HOST_SUBDIR)/tk && \
27752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27754 "RANLIB=$${RANLIB}" \
27755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27756 clean) \
27757 || exit 1
27759 @endif tk
27761 .PHONY: maybe-distclean-tk distclean-tk
27762 maybe-distclean-tk:
27763 @if tk
27764 maybe-distclean-tk: distclean-tk
27766 distclean-tk:
27767 @: $(MAKE); $(unstage)
27768 @[ -f ./tk/Makefile ] || exit 0; \
27769 r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 $(HOST_EXPORTS) \
27772 for flag in $(EXTRA_HOST_FLAGS) ; do \
27773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27774 done; \
27775 echo "Doing distclean in tk" ; \
27776 (cd $(HOST_SUBDIR)/tk && \
27777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27779 "RANLIB=$${RANLIB}" \
27780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27781 distclean) \
27782 || exit 1
27784 @endif tk
27786 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27787 maybe-maintainer-clean-tk:
27788 @if tk
27789 maybe-maintainer-clean-tk: maintainer-clean-tk
27791 maintainer-clean-tk:
27792 @: $(MAKE); $(unstage)
27793 @[ -f ./tk/Makefile ] || exit 0; \
27794 r=`${PWD_COMMAND}`; export r; \
27795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27796 $(HOST_EXPORTS) \
27797 for flag in $(EXTRA_HOST_FLAGS) ; do \
27798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27799 done; \
27800 echo "Doing maintainer-clean in tk" ; \
27801 (cd $(HOST_SUBDIR)/tk && \
27802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27804 "RANLIB=$${RANLIB}" \
27805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27806 maintainer-clean) \
27807 || exit 1
27809 @endif tk
27813 .PHONY: configure-libtermcap maybe-configure-libtermcap
27814 maybe-configure-libtermcap:
27815 @if gcc-bootstrap
27816 configure-libtermcap: stage_current
27817 @endif gcc-bootstrap
27818 @if libtermcap
27819 maybe-configure-libtermcap: configure-libtermcap
27820 configure-libtermcap:
27821 @: $(MAKE); $(unstage)
27822 @r=`${PWD_COMMAND}`; export r; \
27823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27824 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27826 $(HOST_EXPORTS) \
27827 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27828 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27829 case $(srcdir) in \
27830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27831 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27833 esac; \
27834 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27835 libsrcdir="$$s/libtermcap"; \
27836 $(SHELL) $${libsrcdir}/configure \
27837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27838 --target=${target_alias} $${srcdiroption} \
27839 || exit 1
27840 @endif libtermcap
27846 .PHONY: all-libtermcap maybe-all-libtermcap
27847 maybe-all-libtermcap:
27848 @if gcc-bootstrap
27849 all-libtermcap: stage_current
27850 @endif gcc-bootstrap
27851 @if libtermcap
27852 TARGET-libtermcap=all
27853 maybe-all-libtermcap: all-libtermcap
27854 all-libtermcap: configure-libtermcap
27855 @: $(MAKE); $(unstage)
27856 @r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(HOST_EXPORTS) \
27859 (cd $(HOST_SUBDIR)/libtermcap && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27861 $(TARGET-libtermcap))
27862 @endif libtermcap
27867 .PHONY: check-libtermcap maybe-check-libtermcap
27868 maybe-check-libtermcap:
27869 @if libtermcap
27870 maybe-check-libtermcap: check-libtermcap
27872 check-libtermcap:
27874 @endif libtermcap
27876 .PHONY: install-libtermcap maybe-install-libtermcap
27877 maybe-install-libtermcap:
27878 @if libtermcap
27879 maybe-install-libtermcap: install-libtermcap
27881 install-libtermcap: installdirs
27882 @: $(MAKE); $(unstage)
27883 @r=`${PWD_COMMAND}`; export r; \
27884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27885 $(HOST_EXPORTS) \
27886 (cd $(HOST_SUBDIR)/libtermcap && \
27887 $(MAKE) $(FLAGS_TO_PASS) install)
27889 @endif libtermcap
27891 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27892 maybe-install-strip-libtermcap:
27893 @if libtermcap
27894 maybe-install-strip-libtermcap: install-strip-libtermcap
27896 install-strip-libtermcap: installdirs
27897 @: $(MAKE); $(unstage)
27898 @r=`${PWD_COMMAND}`; export r; \
27899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27900 $(HOST_EXPORTS) \
27901 (cd $(HOST_SUBDIR)/libtermcap && \
27902 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27904 @endif libtermcap
27906 # Other targets (info, dvi, pdf, etc.)
27908 .PHONY: maybe-info-libtermcap info-libtermcap
27909 maybe-info-libtermcap:
27910 @if libtermcap
27911 maybe-info-libtermcap: info-libtermcap
27913 info-libtermcap: \
27914 configure-libtermcap
27915 @: $(MAKE); $(unstage)
27916 @[ -f ./libtermcap/Makefile ] || exit 0; \
27917 r=`${PWD_COMMAND}`; export r; \
27918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27919 $(HOST_EXPORTS) \
27920 for flag in $(EXTRA_HOST_FLAGS) ; do \
27921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27922 done; \
27923 echo "Doing info in libtermcap" ; \
27924 (cd $(HOST_SUBDIR)/libtermcap && \
27925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27927 "RANLIB=$${RANLIB}" \
27928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27929 info) \
27930 || exit 1
27932 @endif libtermcap
27934 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27935 maybe-dvi-libtermcap:
27936 @if libtermcap
27937 maybe-dvi-libtermcap: dvi-libtermcap
27939 dvi-libtermcap: \
27940 configure-libtermcap
27941 @: $(MAKE); $(unstage)
27942 @[ -f ./libtermcap/Makefile ] || exit 0; \
27943 r=`${PWD_COMMAND}`; export r; \
27944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27945 $(HOST_EXPORTS) \
27946 for flag in $(EXTRA_HOST_FLAGS) ; do \
27947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27948 done; \
27949 echo "Doing dvi in libtermcap" ; \
27950 (cd $(HOST_SUBDIR)/libtermcap && \
27951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27953 "RANLIB=$${RANLIB}" \
27954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27955 dvi) \
27956 || exit 1
27958 @endif libtermcap
27960 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27961 maybe-pdf-libtermcap:
27962 @if libtermcap
27963 maybe-pdf-libtermcap: pdf-libtermcap
27965 pdf-libtermcap: \
27966 configure-libtermcap
27967 @: $(MAKE); $(unstage)
27968 @[ -f ./libtermcap/Makefile ] || exit 0; \
27969 r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27971 $(HOST_EXPORTS) \
27972 for flag in $(EXTRA_HOST_FLAGS) ; do \
27973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27974 done; \
27975 echo "Doing pdf in libtermcap" ; \
27976 (cd $(HOST_SUBDIR)/libtermcap && \
27977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27979 "RANLIB=$${RANLIB}" \
27980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27981 pdf) \
27982 || exit 1
27984 @endif libtermcap
27986 .PHONY: maybe-html-libtermcap html-libtermcap
27987 maybe-html-libtermcap:
27988 @if libtermcap
27989 maybe-html-libtermcap: html-libtermcap
27991 html-libtermcap: \
27992 configure-libtermcap
27993 @: $(MAKE); $(unstage)
27994 @[ -f ./libtermcap/Makefile ] || exit 0; \
27995 r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27997 $(HOST_EXPORTS) \
27998 for flag in $(EXTRA_HOST_FLAGS) ; do \
27999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28000 done; \
28001 echo "Doing html in libtermcap" ; \
28002 (cd $(HOST_SUBDIR)/libtermcap && \
28003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28005 "RANLIB=$${RANLIB}" \
28006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28007 html) \
28008 || exit 1
28010 @endif libtermcap
28012 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28013 maybe-TAGS-libtermcap:
28014 @if libtermcap
28015 maybe-TAGS-libtermcap: TAGS-libtermcap
28017 TAGS-libtermcap: \
28018 configure-libtermcap
28019 @: $(MAKE); $(unstage)
28020 @[ -f ./libtermcap/Makefile ] || exit 0; \
28021 r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(HOST_EXPORTS) \
28024 for flag in $(EXTRA_HOST_FLAGS) ; do \
28025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28026 done; \
28027 echo "Doing TAGS in libtermcap" ; \
28028 (cd $(HOST_SUBDIR)/libtermcap && \
28029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28031 "RANLIB=$${RANLIB}" \
28032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28033 TAGS) \
28034 || exit 1
28036 @endif libtermcap
28038 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28039 maybe-install-info-libtermcap:
28040 @if libtermcap
28041 maybe-install-info-libtermcap: install-info-libtermcap
28043 install-info-libtermcap: \
28044 configure-libtermcap \
28045 info-libtermcap
28046 @: $(MAKE); $(unstage)
28047 @[ -f ./libtermcap/Makefile ] || exit 0; \
28048 r=`${PWD_COMMAND}`; export r; \
28049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28050 $(HOST_EXPORTS) \
28051 for flag in $(EXTRA_HOST_FLAGS) ; do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28053 done; \
28054 echo "Doing install-info in libtermcap" ; \
28055 (cd $(HOST_SUBDIR)/libtermcap && \
28056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28058 "RANLIB=$${RANLIB}" \
28059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28060 install-info) \
28061 || exit 1
28063 @endif libtermcap
28065 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28066 maybe-install-pdf-libtermcap:
28067 @if libtermcap
28068 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28070 install-pdf-libtermcap: \
28071 configure-libtermcap \
28072 pdf-libtermcap
28073 @: $(MAKE); $(unstage)
28074 @[ -f ./libtermcap/Makefile ] || exit 0; \
28075 r=`${PWD_COMMAND}`; export r; \
28076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28077 $(HOST_EXPORTS) \
28078 for flag in $(EXTRA_HOST_FLAGS) ; do \
28079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28080 done; \
28081 echo "Doing install-pdf in libtermcap" ; \
28082 (cd $(HOST_SUBDIR)/libtermcap && \
28083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28085 "RANLIB=$${RANLIB}" \
28086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28087 install-pdf) \
28088 || exit 1
28090 @endif libtermcap
28092 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28093 maybe-install-html-libtermcap:
28094 @if libtermcap
28095 maybe-install-html-libtermcap: install-html-libtermcap
28097 install-html-libtermcap: \
28098 configure-libtermcap \
28099 html-libtermcap
28100 @: $(MAKE); $(unstage)
28101 @[ -f ./libtermcap/Makefile ] || exit 0; \
28102 r=`${PWD_COMMAND}`; export r; \
28103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28104 $(HOST_EXPORTS) \
28105 for flag in $(EXTRA_HOST_FLAGS) ; do \
28106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28107 done; \
28108 echo "Doing install-html in libtermcap" ; \
28109 (cd $(HOST_SUBDIR)/libtermcap && \
28110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28112 "RANLIB=$${RANLIB}" \
28113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28114 install-html) \
28115 || exit 1
28117 @endif libtermcap
28119 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28120 maybe-installcheck-libtermcap:
28121 @if libtermcap
28122 maybe-installcheck-libtermcap: installcheck-libtermcap
28124 installcheck-libtermcap: \
28125 configure-libtermcap
28126 @: $(MAKE); $(unstage)
28127 @[ -f ./libtermcap/Makefile ] || exit 0; \
28128 r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 $(HOST_EXPORTS) \
28131 for flag in $(EXTRA_HOST_FLAGS) ; do \
28132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28133 done; \
28134 echo "Doing installcheck in libtermcap" ; \
28135 (cd $(HOST_SUBDIR)/libtermcap && \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28138 "RANLIB=$${RANLIB}" \
28139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28140 installcheck) \
28141 || exit 1
28143 @endif libtermcap
28145 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28146 maybe-mostlyclean-libtermcap:
28147 @if libtermcap
28148 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28150 # libtermcap doesn't support mostlyclean.
28151 mostlyclean-libtermcap:
28153 @endif libtermcap
28155 .PHONY: maybe-clean-libtermcap clean-libtermcap
28156 maybe-clean-libtermcap:
28157 @if libtermcap
28158 maybe-clean-libtermcap: clean-libtermcap
28160 # libtermcap doesn't support clean.
28161 clean-libtermcap:
28163 @endif libtermcap
28165 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28166 maybe-distclean-libtermcap:
28167 @if libtermcap
28168 maybe-distclean-libtermcap: distclean-libtermcap
28170 # libtermcap doesn't support distclean.
28171 distclean-libtermcap:
28173 @endif libtermcap
28175 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28176 maybe-maintainer-clean-libtermcap:
28177 @if libtermcap
28178 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28180 # libtermcap doesn't support maintainer-clean.
28181 maintainer-clean-libtermcap:
28183 @endif libtermcap
28187 .PHONY: configure-utils maybe-configure-utils
28188 maybe-configure-utils:
28189 @if gcc-bootstrap
28190 configure-utils: stage_current
28191 @endif gcc-bootstrap
28192 @if utils
28193 maybe-configure-utils: configure-utils
28194 configure-utils:
28195 @: $(MAKE); $(unstage)
28196 @r=`${PWD_COMMAND}`; export r; \
28197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28198 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28200 $(HOST_EXPORTS) \
28201 echo Configuring in $(HOST_SUBDIR)/utils; \
28202 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28203 case $(srcdir) in \
28204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28205 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28207 esac; \
28208 srcdiroption="--srcdir=$${topdir}/utils"; \
28209 libsrcdir="$$s/utils"; \
28210 $(SHELL) $${libsrcdir}/configure \
28211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28212 --target=${target_alias} $${srcdiroption} \
28213 || exit 1
28214 @endif utils
28220 .PHONY: all-utils maybe-all-utils
28221 maybe-all-utils:
28222 @if gcc-bootstrap
28223 all-utils: stage_current
28224 @endif gcc-bootstrap
28225 @if utils
28226 TARGET-utils=all
28227 maybe-all-utils: all-utils
28228 all-utils: configure-utils
28229 @: $(MAKE); $(unstage)
28230 @r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(HOST_EXPORTS) \
28233 (cd $(HOST_SUBDIR)/utils && \
28234 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28235 $(TARGET-utils))
28236 @endif utils
28241 .PHONY: check-utils maybe-check-utils
28242 maybe-check-utils:
28243 @if utils
28244 maybe-check-utils: check-utils
28246 check-utils:
28248 @endif utils
28250 .PHONY: install-utils maybe-install-utils
28251 maybe-install-utils:
28252 @if utils
28253 maybe-install-utils: install-utils
28255 install-utils: installdirs
28256 @: $(MAKE); $(unstage)
28257 @r=`${PWD_COMMAND}`; export r; \
28258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28259 $(HOST_EXPORTS) \
28260 (cd $(HOST_SUBDIR)/utils && \
28261 $(MAKE) $(FLAGS_TO_PASS) install)
28263 @endif utils
28265 .PHONY: install-strip-utils maybe-install-strip-utils
28266 maybe-install-strip-utils:
28267 @if utils
28268 maybe-install-strip-utils: install-strip-utils
28270 install-strip-utils: installdirs
28271 @: $(MAKE); $(unstage)
28272 @r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(HOST_EXPORTS) \
28275 (cd $(HOST_SUBDIR)/utils && \
28276 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28278 @endif utils
28280 # Other targets (info, dvi, pdf, etc.)
28282 .PHONY: maybe-info-utils info-utils
28283 maybe-info-utils:
28284 @if utils
28285 maybe-info-utils: info-utils
28287 info-utils: \
28288 configure-utils
28289 @: $(MAKE); $(unstage)
28290 @[ -f ./utils/Makefile ] || exit 0; \
28291 r=`${PWD_COMMAND}`; export r; \
28292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28293 $(HOST_EXPORTS) \
28294 for flag in $(EXTRA_HOST_FLAGS) ; do \
28295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28296 done; \
28297 echo "Doing info in utils" ; \
28298 (cd $(HOST_SUBDIR)/utils && \
28299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28301 "RANLIB=$${RANLIB}" \
28302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28303 info) \
28304 || exit 1
28306 @endif utils
28308 .PHONY: maybe-dvi-utils dvi-utils
28309 maybe-dvi-utils:
28310 @if utils
28311 maybe-dvi-utils: dvi-utils
28313 dvi-utils: \
28314 configure-utils
28315 @: $(MAKE); $(unstage)
28316 @[ -f ./utils/Makefile ] || exit 0; \
28317 r=`${PWD_COMMAND}`; export r; \
28318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28319 $(HOST_EXPORTS) \
28320 for flag in $(EXTRA_HOST_FLAGS) ; do \
28321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28322 done; \
28323 echo "Doing dvi in utils" ; \
28324 (cd $(HOST_SUBDIR)/utils && \
28325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28327 "RANLIB=$${RANLIB}" \
28328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28329 dvi) \
28330 || exit 1
28332 @endif utils
28334 .PHONY: maybe-pdf-utils pdf-utils
28335 maybe-pdf-utils:
28336 @if utils
28337 maybe-pdf-utils: pdf-utils
28339 pdf-utils: \
28340 configure-utils
28341 @: $(MAKE); $(unstage)
28342 @[ -f ./utils/Makefile ] || exit 0; \
28343 r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 $(HOST_EXPORTS) \
28346 for flag in $(EXTRA_HOST_FLAGS) ; do \
28347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28348 done; \
28349 echo "Doing pdf in utils" ; \
28350 (cd $(HOST_SUBDIR)/utils && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28355 pdf) \
28356 || exit 1
28358 @endif utils
28360 .PHONY: maybe-html-utils html-utils
28361 maybe-html-utils:
28362 @if utils
28363 maybe-html-utils: html-utils
28365 html-utils: \
28366 configure-utils
28367 @: $(MAKE); $(unstage)
28368 @[ -f ./utils/Makefile ] || exit 0; \
28369 r=`${PWD_COMMAND}`; export r; \
28370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28371 $(HOST_EXPORTS) \
28372 for flag in $(EXTRA_HOST_FLAGS) ; do \
28373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28374 done; \
28375 echo "Doing html in utils" ; \
28376 (cd $(HOST_SUBDIR)/utils && \
28377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28379 "RANLIB=$${RANLIB}" \
28380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28381 html) \
28382 || exit 1
28384 @endif utils
28386 .PHONY: maybe-TAGS-utils TAGS-utils
28387 maybe-TAGS-utils:
28388 @if utils
28389 maybe-TAGS-utils: TAGS-utils
28391 TAGS-utils: \
28392 configure-utils
28393 @: $(MAKE); $(unstage)
28394 @[ -f ./utils/Makefile ] || exit 0; \
28395 r=`${PWD_COMMAND}`; export r; \
28396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28397 $(HOST_EXPORTS) \
28398 for flag in $(EXTRA_HOST_FLAGS) ; do \
28399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 done; \
28401 echo "Doing TAGS in utils" ; \
28402 (cd $(HOST_SUBDIR)/utils && \
28403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28405 "RANLIB=$${RANLIB}" \
28406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28407 TAGS) \
28408 || exit 1
28410 @endif utils
28412 .PHONY: maybe-install-info-utils install-info-utils
28413 maybe-install-info-utils:
28414 @if utils
28415 maybe-install-info-utils: install-info-utils
28417 install-info-utils: \
28418 configure-utils \
28419 info-utils
28420 @: $(MAKE); $(unstage)
28421 @[ -f ./utils/Makefile ] || exit 0; \
28422 r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(HOST_EXPORTS) \
28425 for flag in $(EXTRA_HOST_FLAGS) ; do \
28426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28427 done; \
28428 echo "Doing install-info in utils" ; \
28429 (cd $(HOST_SUBDIR)/utils && \
28430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28432 "RANLIB=$${RANLIB}" \
28433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28434 install-info) \
28435 || exit 1
28437 @endif utils
28439 .PHONY: maybe-install-pdf-utils install-pdf-utils
28440 maybe-install-pdf-utils:
28441 @if utils
28442 maybe-install-pdf-utils: install-pdf-utils
28444 install-pdf-utils: \
28445 configure-utils \
28446 pdf-utils
28447 @: $(MAKE); $(unstage)
28448 @[ -f ./utils/Makefile ] || exit 0; \
28449 r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(HOST_EXPORTS) \
28452 for flag in $(EXTRA_HOST_FLAGS) ; do \
28453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28454 done; \
28455 echo "Doing install-pdf in utils" ; \
28456 (cd $(HOST_SUBDIR)/utils && \
28457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28459 "RANLIB=$${RANLIB}" \
28460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28461 install-pdf) \
28462 || exit 1
28464 @endif utils
28466 .PHONY: maybe-install-html-utils install-html-utils
28467 maybe-install-html-utils:
28468 @if utils
28469 maybe-install-html-utils: install-html-utils
28471 install-html-utils: \
28472 configure-utils \
28473 html-utils
28474 @: $(MAKE); $(unstage)
28475 @[ -f ./utils/Makefile ] || exit 0; \
28476 r=`${PWD_COMMAND}`; export r; \
28477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28478 $(HOST_EXPORTS) \
28479 for flag in $(EXTRA_HOST_FLAGS) ; do \
28480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28481 done; \
28482 echo "Doing install-html in utils" ; \
28483 (cd $(HOST_SUBDIR)/utils && \
28484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28486 "RANLIB=$${RANLIB}" \
28487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28488 install-html) \
28489 || exit 1
28491 @endif utils
28493 .PHONY: maybe-installcheck-utils installcheck-utils
28494 maybe-installcheck-utils:
28495 @if utils
28496 maybe-installcheck-utils: installcheck-utils
28498 installcheck-utils: \
28499 configure-utils
28500 @: $(MAKE); $(unstage)
28501 @[ -f ./utils/Makefile ] || exit 0; \
28502 r=`${PWD_COMMAND}`; export r; \
28503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28504 $(HOST_EXPORTS) \
28505 for flag in $(EXTRA_HOST_FLAGS) ; do \
28506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28507 done; \
28508 echo "Doing installcheck in utils" ; \
28509 (cd $(HOST_SUBDIR)/utils && \
28510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28512 "RANLIB=$${RANLIB}" \
28513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28514 installcheck) \
28515 || exit 1
28517 @endif utils
28519 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28520 maybe-mostlyclean-utils:
28521 @if utils
28522 maybe-mostlyclean-utils: mostlyclean-utils
28524 mostlyclean-utils:
28525 @: $(MAKE); $(unstage)
28526 @[ -f ./utils/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing mostlyclean in utils" ; \
28534 (cd $(HOST_SUBDIR)/utils && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28539 mostlyclean) \
28540 || exit 1
28542 @endif utils
28544 .PHONY: maybe-clean-utils clean-utils
28545 maybe-clean-utils:
28546 @if utils
28547 maybe-clean-utils: clean-utils
28549 clean-utils:
28550 @: $(MAKE); $(unstage)
28551 @[ -f ./utils/Makefile ] || exit 0; \
28552 r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 for flag in $(EXTRA_HOST_FLAGS) ; do \
28556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28557 done; \
28558 echo "Doing clean in utils" ; \
28559 (cd $(HOST_SUBDIR)/utils && \
28560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28562 "RANLIB=$${RANLIB}" \
28563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28564 clean) \
28565 || exit 1
28567 @endif utils
28569 .PHONY: maybe-distclean-utils distclean-utils
28570 maybe-distclean-utils:
28571 @if utils
28572 maybe-distclean-utils: distclean-utils
28574 distclean-utils:
28575 @: $(MAKE); $(unstage)
28576 @[ -f ./utils/Makefile ] || exit 0; \
28577 r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 for flag in $(EXTRA_HOST_FLAGS) ; do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 echo "Doing distclean in utils" ; \
28584 (cd $(HOST_SUBDIR)/utils && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28587 "RANLIB=$${RANLIB}" \
28588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28589 distclean) \
28590 || exit 1
28592 @endif utils
28594 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28595 maybe-maintainer-clean-utils:
28596 @if utils
28597 maybe-maintainer-clean-utils: maintainer-clean-utils
28599 maintainer-clean-utils:
28600 @: $(MAKE); $(unstage)
28601 @[ -f ./utils/Makefile ] || exit 0; \
28602 r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(HOST_EXPORTS) \
28605 for flag in $(EXTRA_HOST_FLAGS) ; do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 echo "Doing maintainer-clean in utils" ; \
28609 (cd $(HOST_SUBDIR)/utils && \
28610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28612 "RANLIB=$${RANLIB}" \
28613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28614 maintainer-clean) \
28615 || exit 1
28617 @endif utils
28621 .PHONY: configure-gnattools maybe-configure-gnattools
28622 maybe-configure-gnattools:
28623 @if gcc-bootstrap
28624 configure-gnattools: stage_current
28625 @endif gcc-bootstrap
28626 @if gnattools
28627 maybe-configure-gnattools: configure-gnattools
28628 configure-gnattools:
28629 @: $(MAKE); $(unstage)
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28634 $(HOST_EXPORTS) \
28635 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28636 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28637 case $(srcdir) in \
28638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28639 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28641 esac; \
28642 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28643 libsrcdir="$$s/gnattools"; \
28644 $(SHELL) $${libsrcdir}/configure \
28645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28646 --target=${target_alias} $${srcdiroption} \
28647 || exit 1
28648 @endif gnattools
28654 .PHONY: all-gnattools maybe-all-gnattools
28655 maybe-all-gnattools:
28656 @if gcc-bootstrap
28657 all-gnattools: stage_current
28658 @endif gcc-bootstrap
28659 @if gnattools
28660 TARGET-gnattools=all
28661 maybe-all-gnattools: all-gnattools
28662 all-gnattools: configure-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) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28669 $(TARGET-gnattools))
28670 @endif gnattools
28675 .PHONY: check-gnattools maybe-check-gnattools
28676 maybe-check-gnattools:
28677 @if gnattools
28678 maybe-check-gnattools: check-gnattools
28680 check-gnattools:
28681 @: $(MAKE); $(unstage)
28682 @r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 (cd $(HOST_SUBDIR)/gnattools && \
28686 $(MAKE) $(FLAGS_TO_PASS) check)
28688 @endif gnattools
28690 .PHONY: install-gnattools maybe-install-gnattools
28691 maybe-install-gnattools:
28692 @if gnattools
28693 maybe-install-gnattools: install-gnattools
28695 install-gnattools: installdirs
28696 @: $(MAKE); $(unstage)
28697 @r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(HOST_EXPORTS) \
28700 (cd $(HOST_SUBDIR)/gnattools && \
28701 $(MAKE) $(FLAGS_TO_PASS) install)
28703 @endif gnattools
28705 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28706 maybe-install-strip-gnattools:
28707 @if gnattools
28708 maybe-install-strip-gnattools: install-strip-gnattools
28710 install-strip-gnattools: installdirs
28711 @: $(MAKE); $(unstage)
28712 @r=`${PWD_COMMAND}`; export r; \
28713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28714 $(HOST_EXPORTS) \
28715 (cd $(HOST_SUBDIR)/gnattools && \
28716 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28718 @endif gnattools
28720 # Other targets (info, dvi, pdf, etc.)
28722 .PHONY: maybe-info-gnattools info-gnattools
28723 maybe-info-gnattools:
28724 @if gnattools
28725 maybe-info-gnattools: info-gnattools
28727 info-gnattools: \
28728 configure-gnattools
28729 @: $(MAKE); $(unstage)
28730 @[ -f ./gnattools/Makefile ] || exit 0; \
28731 r=`${PWD_COMMAND}`; export r; \
28732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28733 $(HOST_EXPORTS) \
28734 for flag in $(EXTRA_HOST_FLAGS) ; do \
28735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28736 done; \
28737 echo "Doing info in gnattools" ; \
28738 (cd $(HOST_SUBDIR)/gnattools && \
28739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28741 "RANLIB=$${RANLIB}" \
28742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28743 info) \
28744 || exit 1
28746 @endif gnattools
28748 .PHONY: maybe-dvi-gnattools dvi-gnattools
28749 maybe-dvi-gnattools:
28750 @if gnattools
28751 maybe-dvi-gnattools: dvi-gnattools
28753 dvi-gnattools: \
28754 configure-gnattools
28755 @: $(MAKE); $(unstage)
28756 @[ -f ./gnattools/Makefile ] || exit 0; \
28757 r=`${PWD_COMMAND}`; export r; \
28758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28759 $(HOST_EXPORTS) \
28760 for flag in $(EXTRA_HOST_FLAGS) ; do \
28761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28762 done; \
28763 echo "Doing dvi in gnattools" ; \
28764 (cd $(HOST_SUBDIR)/gnattools && \
28765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28767 "RANLIB=$${RANLIB}" \
28768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28769 dvi) \
28770 || exit 1
28772 @endif gnattools
28774 .PHONY: maybe-pdf-gnattools pdf-gnattools
28775 maybe-pdf-gnattools:
28776 @if gnattools
28777 maybe-pdf-gnattools: pdf-gnattools
28779 pdf-gnattools: \
28780 configure-gnattools
28781 @: $(MAKE); $(unstage)
28782 @[ -f ./gnattools/Makefile ] || exit 0; \
28783 r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 $(HOST_EXPORTS) \
28786 for flag in $(EXTRA_HOST_FLAGS) ; do \
28787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28788 done; \
28789 echo "Doing pdf in gnattools" ; \
28790 (cd $(HOST_SUBDIR)/gnattools && \
28791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28793 "RANLIB=$${RANLIB}" \
28794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28795 pdf) \
28796 || exit 1
28798 @endif gnattools
28800 .PHONY: maybe-html-gnattools html-gnattools
28801 maybe-html-gnattools:
28802 @if gnattools
28803 maybe-html-gnattools: html-gnattools
28805 html-gnattools: \
28806 configure-gnattools
28807 @: $(MAKE); $(unstage)
28808 @[ -f ./gnattools/Makefile ] || exit 0; \
28809 r=`${PWD_COMMAND}`; export r; \
28810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28811 $(HOST_EXPORTS) \
28812 for flag in $(EXTRA_HOST_FLAGS) ; do \
28813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28814 done; \
28815 echo "Doing html in gnattools" ; \
28816 (cd $(HOST_SUBDIR)/gnattools && \
28817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28819 "RANLIB=$${RANLIB}" \
28820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28821 html) \
28822 || exit 1
28824 @endif gnattools
28826 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28827 maybe-TAGS-gnattools:
28828 @if gnattools
28829 maybe-TAGS-gnattools: TAGS-gnattools
28831 TAGS-gnattools: \
28832 configure-gnattools
28833 @: $(MAKE); $(unstage)
28834 @[ -f ./gnattools/Makefile ] || exit 0; \
28835 r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(HOST_EXPORTS) \
28838 for flag in $(EXTRA_HOST_FLAGS) ; do \
28839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28840 done; \
28841 echo "Doing TAGS in gnattools" ; \
28842 (cd $(HOST_SUBDIR)/gnattools && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28847 TAGS) \
28848 || exit 1
28850 @endif gnattools
28852 .PHONY: maybe-install-info-gnattools install-info-gnattools
28853 maybe-install-info-gnattools:
28854 @if gnattools
28855 maybe-install-info-gnattools: install-info-gnattools
28857 install-info-gnattools: \
28858 configure-gnattools \
28859 info-gnattools
28860 @: $(MAKE); $(unstage)
28861 @[ -f ./gnattools/Makefile ] || exit 0; \
28862 r=`${PWD_COMMAND}`; export r; \
28863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28864 $(HOST_EXPORTS) \
28865 for flag in $(EXTRA_HOST_FLAGS) ; do \
28866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28867 done; \
28868 echo "Doing install-info in gnattools" ; \
28869 (cd $(HOST_SUBDIR)/gnattools && \
28870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28872 "RANLIB=$${RANLIB}" \
28873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28874 install-info) \
28875 || exit 1
28877 @endif gnattools
28879 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28880 maybe-install-pdf-gnattools:
28881 @if gnattools
28882 maybe-install-pdf-gnattools: install-pdf-gnattools
28884 install-pdf-gnattools: \
28885 configure-gnattools \
28886 pdf-gnattools
28887 @: $(MAKE); $(unstage)
28888 @[ -f ./gnattools/Makefile ] || exit 0; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(HOST_EXPORTS) \
28892 for flag in $(EXTRA_HOST_FLAGS) ; do \
28893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28894 done; \
28895 echo "Doing install-pdf in gnattools" ; \
28896 (cd $(HOST_SUBDIR)/gnattools && \
28897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28899 "RANLIB=$${RANLIB}" \
28900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28901 install-pdf) \
28902 || exit 1
28904 @endif gnattools
28906 .PHONY: maybe-install-html-gnattools install-html-gnattools
28907 maybe-install-html-gnattools:
28908 @if gnattools
28909 maybe-install-html-gnattools: install-html-gnattools
28911 install-html-gnattools: \
28912 configure-gnattools \
28913 html-gnattools
28914 @: $(MAKE); $(unstage)
28915 @[ -f ./gnattools/Makefile ] || exit 0; \
28916 r=`${PWD_COMMAND}`; export r; \
28917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28918 $(HOST_EXPORTS) \
28919 for flag in $(EXTRA_HOST_FLAGS) ; do \
28920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28921 done; \
28922 echo "Doing install-html in gnattools" ; \
28923 (cd $(HOST_SUBDIR)/gnattools && \
28924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28926 "RANLIB=$${RANLIB}" \
28927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28928 install-html) \
28929 || exit 1
28931 @endif gnattools
28933 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28934 maybe-installcheck-gnattools:
28935 @if gnattools
28936 maybe-installcheck-gnattools: installcheck-gnattools
28938 installcheck-gnattools: \
28939 configure-gnattools
28940 @: $(MAKE); $(unstage)
28941 @[ -f ./gnattools/Makefile ] || exit 0; \
28942 r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 $(HOST_EXPORTS) \
28945 for flag in $(EXTRA_HOST_FLAGS) ; do \
28946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28947 done; \
28948 echo "Doing installcheck in gnattools" ; \
28949 (cd $(HOST_SUBDIR)/gnattools && \
28950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28952 "RANLIB=$${RANLIB}" \
28953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28954 installcheck) \
28955 || exit 1
28957 @endif gnattools
28959 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28960 maybe-mostlyclean-gnattools:
28961 @if gnattools
28962 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28964 mostlyclean-gnattools:
28965 @: $(MAKE); $(unstage)
28966 @[ -f ./gnattools/Makefile ] || exit 0; \
28967 r=`${PWD_COMMAND}`; export r; \
28968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28969 $(HOST_EXPORTS) \
28970 for flag in $(EXTRA_HOST_FLAGS) ; do \
28971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28972 done; \
28973 echo "Doing mostlyclean in gnattools" ; \
28974 (cd $(HOST_SUBDIR)/gnattools && \
28975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28977 "RANLIB=$${RANLIB}" \
28978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28979 mostlyclean) \
28980 || exit 1
28982 @endif gnattools
28984 .PHONY: maybe-clean-gnattools clean-gnattools
28985 maybe-clean-gnattools:
28986 @if gnattools
28987 maybe-clean-gnattools: clean-gnattools
28989 clean-gnattools:
28990 @: $(MAKE); $(unstage)
28991 @[ -f ./gnattools/Makefile ] || exit 0; \
28992 r=`${PWD_COMMAND}`; export r; \
28993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28994 $(HOST_EXPORTS) \
28995 for flag in $(EXTRA_HOST_FLAGS) ; do \
28996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28997 done; \
28998 echo "Doing clean in gnattools" ; \
28999 (cd $(HOST_SUBDIR)/gnattools && \
29000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29002 "RANLIB=$${RANLIB}" \
29003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29004 clean) \
29005 || exit 1
29007 @endif gnattools
29009 .PHONY: maybe-distclean-gnattools distclean-gnattools
29010 maybe-distclean-gnattools:
29011 @if gnattools
29012 maybe-distclean-gnattools: distclean-gnattools
29014 distclean-gnattools:
29015 @: $(MAKE); $(unstage)
29016 @[ -f ./gnattools/Makefile ] || exit 0; \
29017 r=`${PWD_COMMAND}`; export r; \
29018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29019 $(HOST_EXPORTS) \
29020 for flag in $(EXTRA_HOST_FLAGS) ; do \
29021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29022 done; \
29023 echo "Doing distclean in gnattools" ; \
29024 (cd $(HOST_SUBDIR)/gnattools && \
29025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29027 "RANLIB=$${RANLIB}" \
29028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29029 distclean) \
29030 || exit 1
29032 @endif gnattools
29034 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29035 maybe-maintainer-clean-gnattools:
29036 @if gnattools
29037 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29039 maintainer-clean-gnattools:
29040 @: $(MAKE); $(unstage)
29041 @[ -f ./gnattools/Makefile ] || exit 0; \
29042 r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(HOST_EXPORTS) \
29045 for flag in $(EXTRA_HOST_FLAGS) ; do \
29046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29047 done; \
29048 echo "Doing maintainer-clean in gnattools" ; \
29049 (cd $(HOST_SUBDIR)/gnattools && \
29050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29052 "RANLIB=$${RANLIB}" \
29053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29054 maintainer-clean) \
29055 || exit 1
29057 @endif gnattools
29061 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29062 maybe-configure-lto-plugin:
29063 @if gcc-bootstrap
29064 configure-lto-plugin: stage_current
29065 @endif gcc-bootstrap
29066 @if lto-plugin
29067 maybe-configure-lto-plugin: configure-lto-plugin
29068 configure-lto-plugin:
29069 @r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29073 $(HOST_EXPORTS) \
29074 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29075 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29076 case $(srcdir) in \
29077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29078 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29080 esac; \
29081 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29082 libsrcdir="$$s/lto-plugin"; \
29083 $(SHELL) $${libsrcdir}/configure \
29084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29085 --target=${target_alias} $${srcdiroption} --enable-shared \
29086 || exit 1
29087 @endif lto-plugin
29091 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29092 maybe-configure-stage1-lto-plugin:
29093 @if lto-plugin-bootstrap
29094 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29095 configure-stage1-lto-plugin:
29096 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29098 @r=`${PWD_COMMAND}`; export r; \
29099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29100 TFLAGS="$(STAGE1_TFLAGS)"; \
29101 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29102 $(HOST_EXPORTS) \
29103 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29104 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29105 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29106 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29108 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29109 case $(srcdir) in \
29110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29111 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29113 esac; \
29114 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29115 libsrcdir="$$s/lto-plugin"; \
29116 $(SHELL) $${libsrcdir}/configure \
29117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29118 --target=${target_alias} $${srcdiroption} \
29119 $(STAGE1_CONFIGURE_FLAGS) \
29120 --enable-shared
29121 @endif lto-plugin-bootstrap
29123 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29124 maybe-configure-stage2-lto-plugin:
29125 @if lto-plugin-bootstrap
29126 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29127 configure-stage2-lto-plugin:
29128 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29130 @r=`${PWD_COMMAND}`; export r; \
29131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29132 TFLAGS="$(STAGE2_TFLAGS)"; \
29133 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29134 $(HOST_EXPORTS) \
29135 $(POSTSTAGE1_HOST_EXPORTS) \
29136 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29137 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29138 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29139 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29141 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29142 case $(srcdir) in \
29143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29144 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29146 esac; \
29147 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29148 libsrcdir="$$s/lto-plugin"; \
29149 $(SHELL) $${libsrcdir}/configure \
29150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29151 --target=${target_alias} $${srcdiroption} \
29152 --with-build-libsubdir=$(HOST_SUBDIR) \
29153 $(STAGE2_CONFIGURE_FLAGS) \
29154 --enable-shared
29155 @endif lto-plugin-bootstrap
29157 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29158 maybe-configure-stage3-lto-plugin:
29159 @if lto-plugin-bootstrap
29160 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29161 configure-stage3-lto-plugin:
29162 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29164 @r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 TFLAGS="$(STAGE3_TFLAGS)"; \
29167 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29168 $(HOST_EXPORTS) \
29169 $(POSTSTAGE1_HOST_EXPORTS) \
29170 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29171 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29172 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29173 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29175 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29176 case $(srcdir) in \
29177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29178 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29180 esac; \
29181 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29182 libsrcdir="$$s/lto-plugin"; \
29183 $(SHELL) $${libsrcdir}/configure \
29184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29185 --target=${target_alias} $${srcdiroption} \
29186 --with-build-libsubdir=$(HOST_SUBDIR) \
29187 $(STAGE3_CONFIGURE_FLAGS) \
29188 --enable-shared
29189 @endif lto-plugin-bootstrap
29191 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29192 maybe-configure-stage4-lto-plugin:
29193 @if lto-plugin-bootstrap
29194 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29195 configure-stage4-lto-plugin:
29196 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29198 @r=`${PWD_COMMAND}`; export r; \
29199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29200 TFLAGS="$(STAGE4_TFLAGS)"; \
29201 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29202 $(HOST_EXPORTS) \
29203 $(POSTSTAGE1_HOST_EXPORTS) \
29204 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29205 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29206 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29207 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29209 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29210 case $(srcdir) in \
29211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29212 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29214 esac; \
29215 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29216 libsrcdir="$$s/lto-plugin"; \
29217 $(SHELL) $${libsrcdir}/configure \
29218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29219 --target=${target_alias} $${srcdiroption} \
29220 --with-build-libsubdir=$(HOST_SUBDIR) \
29221 $(STAGE4_CONFIGURE_FLAGS) \
29222 --enable-shared
29223 @endif lto-plugin-bootstrap
29225 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29226 maybe-configure-stageprofile-lto-plugin:
29227 @if lto-plugin-bootstrap
29228 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29229 configure-stageprofile-lto-plugin:
29230 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29232 @r=`${PWD_COMMAND}`; export r; \
29233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29234 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29235 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29236 $(HOST_EXPORTS) \
29237 $(POSTSTAGE1_HOST_EXPORTS) \
29238 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29239 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29240 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29241 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29243 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29244 case $(srcdir) in \
29245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29246 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29248 esac; \
29249 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29250 libsrcdir="$$s/lto-plugin"; \
29251 $(SHELL) $${libsrcdir}/configure \
29252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29253 --target=${target_alias} $${srcdiroption} \
29254 --with-build-libsubdir=$(HOST_SUBDIR) \
29255 $(STAGEprofile_CONFIGURE_FLAGS) \
29256 --enable-shared
29257 @endif lto-plugin-bootstrap
29259 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29260 maybe-configure-stagefeedback-lto-plugin:
29261 @if lto-plugin-bootstrap
29262 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29263 configure-stagefeedback-lto-plugin:
29264 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29266 @r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29269 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29270 $(HOST_EXPORTS) \
29271 $(POSTSTAGE1_HOST_EXPORTS) \
29272 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29273 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29274 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29275 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29277 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29278 case $(srcdir) in \
29279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29280 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29282 esac; \
29283 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29284 libsrcdir="$$s/lto-plugin"; \
29285 $(SHELL) $${libsrcdir}/configure \
29286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29287 --target=${target_alias} $${srcdiroption} \
29288 --with-build-libsubdir=$(HOST_SUBDIR) \
29289 $(STAGEfeedback_CONFIGURE_FLAGS) \
29290 --enable-shared
29291 @endif lto-plugin-bootstrap
29297 .PHONY: all-lto-plugin maybe-all-lto-plugin
29298 maybe-all-lto-plugin:
29299 @if gcc-bootstrap
29300 all-lto-plugin: stage_current
29301 @endif gcc-bootstrap
29302 @if lto-plugin
29303 TARGET-lto-plugin=all
29304 maybe-all-lto-plugin: all-lto-plugin
29305 all-lto-plugin: configure-lto-plugin
29306 @r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(HOST_EXPORTS) \
29309 (cd $(HOST_SUBDIR)/lto-plugin && \
29310 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29311 $(TARGET-lto-plugin))
29312 @endif lto-plugin
29316 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29317 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29318 maybe-all-stage1-lto-plugin:
29319 maybe-clean-stage1-lto-plugin:
29320 @if lto-plugin-bootstrap
29321 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29322 all-stage1: all-stage1-lto-plugin
29323 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29324 all-stage1-lto-plugin: configure-stage1-lto-plugin
29325 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29326 @r=`${PWD_COMMAND}`; export r; \
29327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29328 TFLAGS="$(STAGE1_TFLAGS)"; \
29329 $(HOST_EXPORTS) \
29330 cd $(HOST_SUBDIR)/lto-plugin && \
29331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29332 CFLAGS="$(STAGE1_CFLAGS)" \
29333 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29334 LIBCFLAGS="$(LIBCFLAGS)" \
29335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29338 $(EXTRA_HOST_FLAGS) \
29339 TFLAGS="$(STAGE1_TFLAGS)" \
29340 $(TARGET-stage1-lto-plugin)
29342 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29343 clean-stage1: clean-stage1-lto-plugin
29344 clean-stage1-lto-plugin:
29345 @if [ $(current_stage) = stage1 ]; then \
29346 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29347 else \
29348 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29349 $(MAKE) stage1-start; \
29350 fi; \
29351 cd $(HOST_SUBDIR)/lto-plugin && \
29352 $(MAKE) $(EXTRA_HOST_FLAGS) \
29353 clean
29354 @endif lto-plugin-bootstrap
29357 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29358 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29359 maybe-all-stage2-lto-plugin:
29360 maybe-clean-stage2-lto-plugin:
29361 @if lto-plugin-bootstrap
29362 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29363 all-stage2: all-stage2-lto-plugin
29364 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29365 all-stage2-lto-plugin: configure-stage2-lto-plugin
29366 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29367 @r=`${PWD_COMMAND}`; export r; \
29368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29369 TFLAGS="$(STAGE2_TFLAGS)"; \
29370 $(HOST_EXPORTS) \
29371 $(POSTSTAGE1_HOST_EXPORTS) \
29372 cd $(HOST_SUBDIR)/lto-plugin && \
29373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29374 CFLAGS="$(STAGE2_CFLAGS)" \
29375 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29376 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29381 TFLAGS="$(STAGE2_TFLAGS)" \
29382 $(TARGET-stage2-lto-plugin)
29384 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29385 clean-stage2: clean-stage2-lto-plugin
29386 clean-stage2-lto-plugin:
29387 @if [ $(current_stage) = stage2 ]; then \
29388 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29389 else \
29390 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29391 $(MAKE) stage2-start; \
29392 fi; \
29393 cd $(HOST_SUBDIR)/lto-plugin && \
29394 $(MAKE) $(EXTRA_HOST_FLAGS) \
29395 $(POSTSTAGE1_FLAGS_TO_PASS) \
29396 clean
29397 @endif lto-plugin-bootstrap
29400 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29401 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29402 maybe-all-stage3-lto-plugin:
29403 maybe-clean-stage3-lto-plugin:
29404 @if lto-plugin-bootstrap
29405 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29406 all-stage3: all-stage3-lto-plugin
29407 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29408 all-stage3-lto-plugin: configure-stage3-lto-plugin
29409 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29410 @r=`${PWD_COMMAND}`; export r; \
29411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29412 TFLAGS="$(STAGE3_TFLAGS)"; \
29413 $(HOST_EXPORTS) \
29414 $(POSTSTAGE1_HOST_EXPORTS) \
29415 cd $(HOST_SUBDIR)/lto-plugin && \
29416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29417 CFLAGS="$(STAGE3_CFLAGS)" \
29418 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29419 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29420 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29421 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29422 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29423 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29424 TFLAGS="$(STAGE3_TFLAGS)" \
29425 $(TARGET-stage3-lto-plugin)
29427 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29428 clean-stage3: clean-stage3-lto-plugin
29429 clean-stage3-lto-plugin:
29430 @if [ $(current_stage) = stage3 ]; then \
29431 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29432 else \
29433 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29434 $(MAKE) stage3-start; \
29435 fi; \
29436 cd $(HOST_SUBDIR)/lto-plugin && \
29437 $(MAKE) $(EXTRA_HOST_FLAGS) \
29438 $(POSTSTAGE1_FLAGS_TO_PASS) \
29439 clean
29440 @endif lto-plugin-bootstrap
29443 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29444 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29445 maybe-all-stage4-lto-plugin:
29446 maybe-clean-stage4-lto-plugin:
29447 @if lto-plugin-bootstrap
29448 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29449 all-stage4: all-stage4-lto-plugin
29450 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29451 all-stage4-lto-plugin: configure-stage4-lto-plugin
29452 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29453 @r=`${PWD_COMMAND}`; export r; \
29454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29455 TFLAGS="$(STAGE4_TFLAGS)"; \
29456 $(HOST_EXPORTS) \
29457 $(POSTSTAGE1_HOST_EXPORTS) \
29458 cd $(HOST_SUBDIR)/lto-plugin && \
29459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29460 CFLAGS="$(STAGE4_CFLAGS)" \
29461 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29462 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29463 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29464 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29465 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29466 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29467 TFLAGS="$(STAGE4_TFLAGS)" \
29468 $(TARGET-stage4-lto-plugin)
29470 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29471 clean-stage4: clean-stage4-lto-plugin
29472 clean-stage4-lto-plugin:
29473 @if [ $(current_stage) = stage4 ]; then \
29474 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29475 else \
29476 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29477 $(MAKE) stage4-start; \
29478 fi; \
29479 cd $(HOST_SUBDIR)/lto-plugin && \
29480 $(MAKE) $(EXTRA_HOST_FLAGS) \
29481 $(POSTSTAGE1_FLAGS_TO_PASS) \
29482 clean
29483 @endif lto-plugin-bootstrap
29486 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29487 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29488 maybe-all-stageprofile-lto-plugin:
29489 maybe-clean-stageprofile-lto-plugin:
29490 @if lto-plugin-bootstrap
29491 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29492 all-stageprofile: all-stageprofile-lto-plugin
29493 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29494 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29495 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29496 @r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29499 $(HOST_EXPORTS) \
29500 $(POSTSTAGE1_HOST_EXPORTS) \
29501 cd $(HOST_SUBDIR)/lto-plugin && \
29502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29503 CFLAGS="$(STAGEprofile_CFLAGS)" \
29504 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29505 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29509 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29510 TFLAGS="$(STAGEprofile_TFLAGS)" \
29511 $(TARGET-stageprofile-lto-plugin)
29513 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29514 clean-stageprofile: clean-stageprofile-lto-plugin
29515 clean-stageprofile-lto-plugin:
29516 @if [ $(current_stage) = stageprofile ]; then \
29517 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29518 else \
29519 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29520 $(MAKE) stageprofile-start; \
29521 fi; \
29522 cd $(HOST_SUBDIR)/lto-plugin && \
29523 $(MAKE) $(EXTRA_HOST_FLAGS) \
29524 $(POSTSTAGE1_FLAGS_TO_PASS) \
29525 clean
29526 @endif lto-plugin-bootstrap
29529 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29530 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29531 maybe-all-stagefeedback-lto-plugin:
29532 maybe-clean-stagefeedback-lto-plugin:
29533 @if lto-plugin-bootstrap
29534 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29535 all-stagefeedback: all-stagefeedback-lto-plugin
29536 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29537 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29538 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29539 @r=`${PWD_COMMAND}`; export r; \
29540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29541 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29542 $(HOST_EXPORTS) \
29543 $(POSTSTAGE1_HOST_EXPORTS) \
29544 cd $(HOST_SUBDIR)/lto-plugin && \
29545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29546 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29547 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29548 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29552 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29553 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29554 $(TARGET-stagefeedback-lto-plugin)
29556 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29557 clean-stagefeedback: clean-stagefeedback-lto-plugin
29558 clean-stagefeedback-lto-plugin:
29559 @if [ $(current_stage) = stagefeedback ]; then \
29560 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29561 else \
29562 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29563 $(MAKE) stagefeedback-start; \
29564 fi; \
29565 cd $(HOST_SUBDIR)/lto-plugin && \
29566 $(MAKE) $(EXTRA_HOST_FLAGS) \
29567 $(POSTSTAGE1_FLAGS_TO_PASS) \
29568 clean
29569 @endif lto-plugin-bootstrap
29575 .PHONY: check-lto-plugin maybe-check-lto-plugin
29576 maybe-check-lto-plugin:
29577 @if lto-plugin
29578 maybe-check-lto-plugin: check-lto-plugin
29580 check-lto-plugin:
29581 @: $(MAKE); $(unstage)
29582 @r=`${PWD_COMMAND}`; export r; \
29583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29584 $(HOST_EXPORTS) \
29585 (cd $(HOST_SUBDIR)/lto-plugin && \
29586 $(MAKE) $(FLAGS_TO_PASS) check)
29588 @endif lto-plugin
29590 .PHONY: install-lto-plugin maybe-install-lto-plugin
29591 maybe-install-lto-plugin:
29592 @if lto-plugin
29593 maybe-install-lto-plugin: install-lto-plugin
29595 install-lto-plugin: installdirs
29596 @: $(MAKE); $(unstage)
29597 @r=`${PWD_COMMAND}`; export r; \
29598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29599 $(HOST_EXPORTS) \
29600 (cd $(HOST_SUBDIR)/lto-plugin && \
29601 $(MAKE) $(FLAGS_TO_PASS) install)
29603 @endif lto-plugin
29605 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29606 maybe-install-strip-lto-plugin:
29607 @if lto-plugin
29608 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29610 install-strip-lto-plugin: installdirs
29611 @: $(MAKE); $(unstage)
29612 @r=`${PWD_COMMAND}`; export r; \
29613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29614 $(HOST_EXPORTS) \
29615 (cd $(HOST_SUBDIR)/lto-plugin && \
29616 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29618 @endif lto-plugin
29620 # Other targets (info, dvi, pdf, etc.)
29622 .PHONY: maybe-info-lto-plugin info-lto-plugin
29623 maybe-info-lto-plugin:
29624 @if lto-plugin
29625 maybe-info-lto-plugin: info-lto-plugin
29627 info-lto-plugin: \
29628 configure-lto-plugin
29629 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29630 r=`${PWD_COMMAND}`; export r; \
29631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29632 $(HOST_EXPORTS) \
29633 for flag in $(EXTRA_HOST_FLAGS) ; do \
29634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29635 done; \
29636 echo "Doing info in lto-plugin" ; \
29637 (cd $(HOST_SUBDIR)/lto-plugin && \
29638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29640 "RANLIB=$${RANLIB}" \
29641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29642 info) \
29643 || exit 1
29645 @endif lto-plugin
29647 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29648 maybe-dvi-lto-plugin:
29649 @if lto-plugin
29650 maybe-dvi-lto-plugin: dvi-lto-plugin
29652 dvi-lto-plugin: \
29653 configure-lto-plugin
29654 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29655 r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(HOST_EXPORTS) \
29658 for flag in $(EXTRA_HOST_FLAGS) ; do \
29659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29660 done; \
29661 echo "Doing dvi in lto-plugin" ; \
29662 (cd $(HOST_SUBDIR)/lto-plugin && \
29663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29665 "RANLIB=$${RANLIB}" \
29666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29667 dvi) \
29668 || exit 1
29670 @endif lto-plugin
29672 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29673 maybe-pdf-lto-plugin:
29674 @if lto-plugin
29675 maybe-pdf-lto-plugin: pdf-lto-plugin
29677 pdf-lto-plugin: \
29678 configure-lto-plugin
29679 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29680 r=`${PWD_COMMAND}`; export r; \
29681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29682 $(HOST_EXPORTS) \
29683 for flag in $(EXTRA_HOST_FLAGS) ; do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 echo "Doing pdf in lto-plugin" ; \
29687 (cd $(HOST_SUBDIR)/lto-plugin && \
29688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29690 "RANLIB=$${RANLIB}" \
29691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29692 pdf) \
29693 || exit 1
29695 @endif lto-plugin
29697 .PHONY: maybe-html-lto-plugin html-lto-plugin
29698 maybe-html-lto-plugin:
29699 @if lto-plugin
29700 maybe-html-lto-plugin: html-lto-plugin
29702 html-lto-plugin: \
29703 configure-lto-plugin
29704 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29705 r=`${PWD_COMMAND}`; export r; \
29706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(HOST_EXPORTS) \
29708 for flag in $(EXTRA_HOST_FLAGS) ; do \
29709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29710 done; \
29711 echo "Doing html in lto-plugin" ; \
29712 (cd $(HOST_SUBDIR)/lto-plugin && \
29713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29715 "RANLIB=$${RANLIB}" \
29716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29717 html) \
29718 || exit 1
29720 @endif lto-plugin
29722 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29723 maybe-TAGS-lto-plugin:
29724 @if lto-plugin
29725 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29727 TAGS-lto-plugin: \
29728 configure-lto-plugin
29729 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29730 r=`${PWD_COMMAND}`; export r; \
29731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29732 $(HOST_EXPORTS) \
29733 for flag in $(EXTRA_HOST_FLAGS) ; do \
29734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29735 done; \
29736 echo "Doing TAGS in lto-plugin" ; \
29737 (cd $(HOST_SUBDIR)/lto-plugin && \
29738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29740 "RANLIB=$${RANLIB}" \
29741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29742 TAGS) \
29743 || exit 1
29745 @endif lto-plugin
29747 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29748 maybe-install-info-lto-plugin:
29749 @if lto-plugin
29750 maybe-install-info-lto-plugin: install-info-lto-plugin
29752 install-info-lto-plugin: \
29753 configure-lto-plugin \
29754 info-lto-plugin
29755 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29756 r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29758 $(HOST_EXPORTS) \
29759 for flag in $(EXTRA_HOST_FLAGS) ; do \
29760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29761 done; \
29762 echo "Doing install-info in lto-plugin" ; \
29763 (cd $(HOST_SUBDIR)/lto-plugin && \
29764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29766 "RANLIB=$${RANLIB}" \
29767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29768 install-info) \
29769 || exit 1
29771 @endif lto-plugin
29773 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29774 maybe-install-pdf-lto-plugin:
29775 @if lto-plugin
29776 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29778 install-pdf-lto-plugin: \
29779 configure-lto-plugin \
29780 pdf-lto-plugin
29781 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(HOST_EXPORTS) \
29785 for flag in $(EXTRA_HOST_FLAGS) ; do \
29786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29787 done; \
29788 echo "Doing install-pdf in lto-plugin" ; \
29789 (cd $(HOST_SUBDIR)/lto-plugin && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29794 install-pdf) \
29795 || exit 1
29797 @endif lto-plugin
29799 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29800 maybe-install-html-lto-plugin:
29801 @if lto-plugin
29802 maybe-install-html-lto-plugin: install-html-lto-plugin
29804 install-html-lto-plugin: \
29805 configure-lto-plugin \
29806 html-lto-plugin
29807 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29808 r=`${PWD_COMMAND}`; export r; \
29809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29810 $(HOST_EXPORTS) \
29811 for flag in $(EXTRA_HOST_FLAGS) ; do \
29812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29813 done; \
29814 echo "Doing install-html in lto-plugin" ; \
29815 (cd $(HOST_SUBDIR)/lto-plugin && \
29816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29818 "RANLIB=$${RANLIB}" \
29819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29820 install-html) \
29821 || exit 1
29823 @endif lto-plugin
29825 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29826 maybe-installcheck-lto-plugin:
29827 @if lto-plugin
29828 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29830 installcheck-lto-plugin: \
29831 configure-lto-plugin
29832 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29833 r=`${PWD_COMMAND}`; export r; \
29834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29835 $(HOST_EXPORTS) \
29836 for flag in $(EXTRA_HOST_FLAGS) ; do \
29837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29838 done; \
29839 echo "Doing installcheck in lto-plugin" ; \
29840 (cd $(HOST_SUBDIR)/lto-plugin && \
29841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29843 "RANLIB=$${RANLIB}" \
29844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29845 installcheck) \
29846 || exit 1
29848 @endif lto-plugin
29850 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29851 maybe-mostlyclean-lto-plugin:
29852 @if lto-plugin
29853 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29855 mostlyclean-lto-plugin:
29856 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29857 r=`${PWD_COMMAND}`; export r; \
29858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29859 $(HOST_EXPORTS) \
29860 for flag in $(EXTRA_HOST_FLAGS) ; do \
29861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29862 done; \
29863 echo "Doing mostlyclean in lto-plugin" ; \
29864 (cd $(HOST_SUBDIR)/lto-plugin && \
29865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29867 "RANLIB=$${RANLIB}" \
29868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29869 mostlyclean) \
29870 || exit 1
29872 @endif lto-plugin
29874 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29875 maybe-clean-lto-plugin:
29876 @if lto-plugin
29877 maybe-clean-lto-plugin: clean-lto-plugin
29879 clean-lto-plugin:
29880 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29881 r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(HOST_EXPORTS) \
29884 for flag in $(EXTRA_HOST_FLAGS) ; do \
29885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29886 done; \
29887 echo "Doing clean in lto-plugin" ; \
29888 (cd $(HOST_SUBDIR)/lto-plugin && \
29889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29891 "RANLIB=$${RANLIB}" \
29892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29893 clean) \
29894 || exit 1
29896 @endif lto-plugin
29898 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29899 maybe-distclean-lto-plugin:
29900 @if lto-plugin
29901 maybe-distclean-lto-plugin: distclean-lto-plugin
29903 distclean-lto-plugin:
29904 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29905 r=`${PWD_COMMAND}`; export r; \
29906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29907 $(HOST_EXPORTS) \
29908 for flag in $(EXTRA_HOST_FLAGS) ; do \
29909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29910 done; \
29911 echo "Doing distclean in lto-plugin" ; \
29912 (cd $(HOST_SUBDIR)/lto-plugin && \
29913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29915 "RANLIB=$${RANLIB}" \
29916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29917 distclean) \
29918 || exit 1
29920 @endif lto-plugin
29922 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29923 maybe-maintainer-clean-lto-plugin:
29924 @if lto-plugin
29925 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29927 maintainer-clean-lto-plugin:
29928 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29929 r=`${PWD_COMMAND}`; export r; \
29930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29931 $(HOST_EXPORTS) \
29932 for flag in $(EXTRA_HOST_FLAGS) ; do \
29933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29934 done; \
29935 echo "Doing maintainer-clean in lto-plugin" ; \
29936 (cd $(HOST_SUBDIR)/lto-plugin && \
29937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29939 "RANLIB=$${RANLIB}" \
29940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29941 maintainer-clean) \
29942 || exit 1
29944 @endif lto-plugin
29948 # ---------------------------------------
29949 # Modules which run on the target machine
29950 # ---------------------------------------
29955 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29956 maybe-configure-target-libstdc++-v3:
29957 @if gcc-bootstrap
29958 configure-target-libstdc++-v3: stage_current
29959 @endif gcc-bootstrap
29960 @if target-libstdc++-v3
29961 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29962 configure-target-libstdc++-v3:
29963 @r=`${PWD_COMMAND}`; export r; \
29964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29965 echo "Checking multilib configuration for libstdc++-v3..."; \
29966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29967 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29968 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29969 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29970 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29971 else \
29972 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29973 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29974 fi; \
29975 else \
29976 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29977 fi; \
29978 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29980 $(RAW_CXX_TARGET_EXPORTS) \
29981 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29982 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29983 case $(srcdir) in \
29984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29985 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29987 esac; \
29988 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29989 libsrcdir="$$s/libstdc++-v3"; \
29990 rm -f no-such-file || : ; \
29991 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
29993 --target=${target_alias} $${srcdiroption} \
29994 || exit 1
29995 @endif target-libstdc++-v3
29999 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30000 maybe-configure-stage1-target-libstdc++-v3:
30001 @if target-libstdc++-v3-bootstrap
30002 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30003 configure-stage1-target-libstdc++-v3:
30004 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30005 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30006 @r=`${PWD_COMMAND}`; export r; \
30007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30008 TFLAGS="$(STAGE1_TFLAGS)"; \
30009 echo "Checking multilib configuration for libstdc++-v3..."; \
30010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30011 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30012 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30013 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30014 else \
30015 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30016 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30017 fi; \
30018 else \
30019 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30020 fi; \
30021 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30022 $(RAW_CXX_TARGET_EXPORTS) \
30023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30026 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30028 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30029 case $(srcdir) in \
30030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30031 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30033 esac; \
30034 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30035 libsrcdir="$$s/libstdc++-v3"; \
30036 $(SHELL) $${libsrcdir}/configure \
30037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30038 --target=${target_alias} $${srcdiroption} \
30039 $(STAGE1_CONFIGURE_FLAGS)
30040 @endif target-libstdc++-v3-bootstrap
30042 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30043 maybe-configure-stage2-target-libstdc++-v3:
30044 @if target-libstdc++-v3-bootstrap
30045 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30046 configure-stage2-target-libstdc++-v3:
30047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30048 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30049 @r=`${PWD_COMMAND}`; export r; \
30050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30051 TFLAGS="$(STAGE2_TFLAGS)"; \
30052 echo "Checking multilib configuration for libstdc++-v3..."; \
30053 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30054 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30055 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30056 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30057 else \
30058 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30059 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30060 fi; \
30061 else \
30062 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30063 fi; \
30064 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30065 $(RAW_CXX_TARGET_EXPORTS) \
30067 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30070 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30072 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30073 case $(srcdir) in \
30074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30075 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30077 esac; \
30078 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30079 libsrcdir="$$s/libstdc++-v3"; \
30080 $(SHELL) $${libsrcdir}/configure \
30081 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30082 --target=${target_alias} $${srcdiroption} \
30083 --with-build-libsubdir=$(HOST_SUBDIR) \
30084 $(STAGE2_CONFIGURE_FLAGS)
30085 @endif target-libstdc++-v3-bootstrap
30087 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30088 maybe-configure-stage3-target-libstdc++-v3:
30089 @if target-libstdc++-v3-bootstrap
30090 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30091 configure-stage3-target-libstdc++-v3:
30092 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30093 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30094 @r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 TFLAGS="$(STAGE3_TFLAGS)"; \
30097 echo "Checking multilib configuration for libstdc++-v3..."; \
30098 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30099 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30100 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30101 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30102 else \
30103 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30104 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30105 fi; \
30106 else \
30107 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30108 fi; \
30109 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30110 $(RAW_CXX_TARGET_EXPORTS) \
30112 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30115 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30116 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30117 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30118 case $(srcdir) in \
30119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30120 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30122 esac; \
30123 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30124 libsrcdir="$$s/libstdc++-v3"; \
30125 $(SHELL) $${libsrcdir}/configure \
30126 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30127 --target=${target_alias} $${srcdiroption} \
30128 --with-build-libsubdir=$(HOST_SUBDIR) \
30129 $(STAGE3_CONFIGURE_FLAGS)
30130 @endif target-libstdc++-v3-bootstrap
30132 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30133 maybe-configure-stage4-target-libstdc++-v3:
30134 @if target-libstdc++-v3-bootstrap
30135 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30136 configure-stage4-target-libstdc++-v3:
30137 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30138 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30139 @r=`${PWD_COMMAND}`; export r; \
30140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30141 TFLAGS="$(STAGE4_TFLAGS)"; \
30142 echo "Checking multilib configuration for libstdc++-v3..."; \
30143 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30144 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30145 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30146 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30147 else \
30148 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30149 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30150 fi; \
30151 else \
30152 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30153 fi; \
30154 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30155 $(RAW_CXX_TARGET_EXPORTS) \
30157 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30158 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30159 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30160 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30162 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30163 case $(srcdir) in \
30164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30165 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30167 esac; \
30168 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30169 libsrcdir="$$s/libstdc++-v3"; \
30170 $(SHELL) $${libsrcdir}/configure \
30171 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30172 --target=${target_alias} $${srcdiroption} \
30173 --with-build-libsubdir=$(HOST_SUBDIR) \
30174 $(STAGE4_CONFIGURE_FLAGS)
30175 @endif target-libstdc++-v3-bootstrap
30177 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30178 maybe-configure-stageprofile-target-libstdc++-v3:
30179 @if target-libstdc++-v3-bootstrap
30180 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30181 configure-stageprofile-target-libstdc++-v3:
30182 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30183 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30184 @r=`${PWD_COMMAND}`; export r; \
30185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30186 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30187 echo "Checking multilib configuration for libstdc++-v3..."; \
30188 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30189 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30190 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30191 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30192 else \
30193 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30194 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30195 fi; \
30196 else \
30197 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30198 fi; \
30199 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30200 $(RAW_CXX_TARGET_EXPORTS) \
30202 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30203 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30204 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30205 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30207 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30208 case $(srcdir) in \
30209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30210 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30212 esac; \
30213 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30214 libsrcdir="$$s/libstdc++-v3"; \
30215 $(SHELL) $${libsrcdir}/configure \
30216 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30217 --target=${target_alias} $${srcdiroption} \
30218 --with-build-libsubdir=$(HOST_SUBDIR) \
30219 $(STAGEprofile_CONFIGURE_FLAGS)
30220 @endif target-libstdc++-v3-bootstrap
30222 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30223 maybe-configure-stagefeedback-target-libstdc++-v3:
30224 @if target-libstdc++-v3-bootstrap
30225 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30226 configure-stagefeedback-target-libstdc++-v3:
30227 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30228 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30229 @r=`${PWD_COMMAND}`; export r; \
30230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30231 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30232 echo "Checking multilib configuration for libstdc++-v3..."; \
30233 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30234 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30235 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30236 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30237 else \
30238 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30239 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30240 fi; \
30241 else \
30242 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30243 fi; \
30244 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30245 $(RAW_CXX_TARGET_EXPORTS) \
30247 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30248 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30249 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30250 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30252 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30253 case $(srcdir) in \
30254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30255 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30257 esac; \
30258 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30259 libsrcdir="$$s/libstdc++-v3"; \
30260 $(SHELL) $${libsrcdir}/configure \
30261 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30262 --target=${target_alias} $${srcdiroption} \
30263 --with-build-libsubdir=$(HOST_SUBDIR) \
30264 $(STAGEfeedback_CONFIGURE_FLAGS)
30265 @endif target-libstdc++-v3-bootstrap
30271 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30272 maybe-all-target-libstdc++-v3:
30273 @if gcc-bootstrap
30274 all-target-libstdc++-v3: stage_current
30275 @endif gcc-bootstrap
30276 @if target-libstdc++-v3
30277 TARGET-target-libstdc++-v3=all
30278 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30279 all-target-libstdc++-v3: configure-target-libstdc++-v3
30280 @r=`${PWD_COMMAND}`; export r; \
30281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30282 $(RAW_CXX_TARGET_EXPORTS) \
30283 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30284 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30285 $(TARGET-target-libstdc++-v3))
30286 @endif target-libstdc++-v3
30290 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30291 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30292 maybe-all-stage1-target-libstdc++-v3:
30293 maybe-clean-stage1-target-libstdc++-v3:
30294 @if target-libstdc++-v3-bootstrap
30295 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30296 all-stage1: all-stage1-target-libstdc++-v3
30297 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30298 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30299 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30300 @r=`${PWD_COMMAND}`; export r; \
30301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30302 TFLAGS="$(STAGE1_TFLAGS)"; \
30303 $(RAW_CXX_TARGET_EXPORTS) \
30304 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30306 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30312 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30313 TFLAGS="$(STAGE1_TFLAGS)" \
30314 $(TARGET-stage1-target-libstdc++-v3)
30316 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30317 clean-stage1: clean-stage1-target-libstdc++-v3
30318 clean-stage1-target-libstdc++-v3:
30319 @if [ $(current_stage) = stage1 ]; then \
30320 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30321 else \
30322 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30323 $(MAKE) stage1-start; \
30324 fi; \
30325 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30326 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30327 clean
30328 @endif target-libstdc++-v3-bootstrap
30331 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30332 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30333 maybe-all-stage2-target-libstdc++-v3:
30334 maybe-clean-stage2-target-libstdc++-v3:
30335 @if target-libstdc++-v3-bootstrap
30336 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30337 all-stage2: all-stage2-target-libstdc++-v3
30338 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30339 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30340 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30341 @r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 TFLAGS="$(STAGE2_TFLAGS)"; \
30344 $(RAW_CXX_TARGET_EXPORTS) \
30346 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30348 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30349 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30350 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30354 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30355 TFLAGS="$(STAGE2_TFLAGS)" \
30356 $(TARGET-stage2-target-libstdc++-v3)
30358 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30359 clean-stage2: clean-stage2-target-libstdc++-v3
30360 clean-stage2-target-libstdc++-v3:
30361 @if [ $(current_stage) = stage2 ]; then \
30362 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30363 else \
30364 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30365 $(MAKE) stage2-start; \
30366 fi; \
30367 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30368 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30370 clean
30371 @endif target-libstdc++-v3-bootstrap
30374 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30375 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30376 maybe-all-stage3-target-libstdc++-v3:
30377 maybe-clean-stage3-target-libstdc++-v3:
30378 @if target-libstdc++-v3-bootstrap
30379 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30380 all-stage3: all-stage3-target-libstdc++-v3
30381 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30382 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30383 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30384 @r=`${PWD_COMMAND}`; export r; \
30385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30386 TFLAGS="$(STAGE3_TFLAGS)"; \
30387 $(RAW_CXX_TARGET_EXPORTS) \
30389 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30391 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30393 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30397 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30398 TFLAGS="$(STAGE3_TFLAGS)" \
30399 $(TARGET-stage3-target-libstdc++-v3)
30401 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30402 clean-stage3: clean-stage3-target-libstdc++-v3
30403 clean-stage3-target-libstdc++-v3:
30404 @if [ $(current_stage) = stage3 ]; then \
30405 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30406 else \
30407 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30408 $(MAKE) stage3-start; \
30409 fi; \
30410 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30411 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30413 clean
30414 @endif target-libstdc++-v3-bootstrap
30417 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30418 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30419 maybe-all-stage4-target-libstdc++-v3:
30420 maybe-clean-stage4-target-libstdc++-v3:
30421 @if target-libstdc++-v3-bootstrap
30422 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30423 all-stage4: all-stage4-target-libstdc++-v3
30424 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30425 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30426 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30427 @r=`${PWD_COMMAND}`; export r; \
30428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30429 TFLAGS="$(STAGE4_TFLAGS)"; \
30430 $(RAW_CXX_TARGET_EXPORTS) \
30432 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30434 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30440 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30441 TFLAGS="$(STAGE4_TFLAGS)" \
30442 $(TARGET-stage4-target-libstdc++-v3)
30444 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30445 clean-stage4: clean-stage4-target-libstdc++-v3
30446 clean-stage4-target-libstdc++-v3:
30447 @if [ $(current_stage) = stage4 ]; then \
30448 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30449 else \
30450 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30451 $(MAKE) stage4-start; \
30452 fi; \
30453 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30454 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30456 clean
30457 @endif target-libstdc++-v3-bootstrap
30460 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30461 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30462 maybe-all-stageprofile-target-libstdc++-v3:
30463 maybe-clean-stageprofile-target-libstdc++-v3:
30464 @if target-libstdc++-v3-bootstrap
30465 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30466 all-stageprofile: all-stageprofile-target-libstdc++-v3
30467 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30468 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30470 @r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30472 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30473 $(RAW_CXX_TARGET_EXPORTS) \
30475 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30477 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30483 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30484 TFLAGS="$(STAGEprofile_TFLAGS)" \
30485 $(TARGET-stageprofile-target-libstdc++-v3)
30487 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30488 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30489 clean-stageprofile-target-libstdc++-v3:
30490 @if [ $(current_stage) = stageprofile ]; then \
30491 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30492 else \
30493 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30494 $(MAKE) stageprofile-start; \
30495 fi; \
30496 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30497 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30499 clean
30500 @endif target-libstdc++-v3-bootstrap
30503 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30504 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30505 maybe-all-stagefeedback-target-libstdc++-v3:
30506 maybe-clean-stagefeedback-target-libstdc++-v3:
30507 @if target-libstdc++-v3-bootstrap
30508 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30509 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30510 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30511 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30512 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30513 @r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30516 $(RAW_CXX_TARGET_EXPORTS) \
30518 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30520 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30521 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30522 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30526 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30527 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30528 $(TARGET-stagefeedback-target-libstdc++-v3)
30530 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30531 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30532 clean-stagefeedback-target-libstdc++-v3:
30533 @if [ $(current_stage) = stagefeedback ]; then \
30534 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30535 else \
30536 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30537 $(MAKE) stagefeedback-start; \
30538 fi; \
30539 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30540 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30542 clean
30543 @endif target-libstdc++-v3-bootstrap
30550 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30551 maybe-check-target-libstdc++-v3:
30552 @if target-libstdc++-v3
30553 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30555 check-target-libstdc++-v3:
30556 @: $(MAKE); $(unstage)
30557 @r=`${PWD_COMMAND}`; export r; \
30558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30559 $(RAW_CXX_TARGET_EXPORTS) \
30560 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30561 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30563 @endif target-libstdc++-v3
30565 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30566 maybe-install-target-libstdc++-v3:
30567 @if target-libstdc++-v3
30568 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30570 install-target-libstdc++-v3: installdirs
30571 @: $(MAKE); $(unstage)
30572 @r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 $(RAW_CXX_TARGET_EXPORTS) \
30575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30576 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30578 @endif target-libstdc++-v3
30580 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30581 maybe-install-strip-target-libstdc++-v3:
30582 @if target-libstdc++-v3
30583 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30585 install-strip-target-libstdc++-v3: installdirs
30586 @: $(MAKE); $(unstage)
30587 @r=`${PWD_COMMAND}`; export r; \
30588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30589 $(RAW_CXX_TARGET_EXPORTS) \
30590 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30591 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30593 @endif target-libstdc++-v3
30595 # Other targets (info, dvi, pdf, etc.)
30597 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30598 maybe-info-target-libstdc++-v3:
30599 @if target-libstdc++-v3
30600 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30602 info-target-libstdc++-v3: \
30603 configure-target-libstdc++-v3
30604 @: $(MAKE); $(unstage)
30605 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30606 r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 $(RAW_CXX_TARGET_EXPORTS) \
30609 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30610 for flag in $(EXTRA_TARGET_FLAGS); do \
30611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30612 done; \
30613 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30616 "RANLIB=$${RANLIB}" \
30617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30618 info) \
30619 || exit 1
30621 @endif target-libstdc++-v3
30623 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30624 maybe-dvi-target-libstdc++-v3:
30625 @if target-libstdc++-v3
30626 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30628 dvi-target-libstdc++-v3: \
30629 configure-target-libstdc++-v3
30630 @: $(MAKE); $(unstage)
30631 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(RAW_CXX_TARGET_EXPORTS) \
30635 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30636 for flag in $(EXTRA_TARGET_FLAGS); do \
30637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30638 done; \
30639 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30642 "RANLIB=$${RANLIB}" \
30643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30644 dvi) \
30645 || exit 1
30647 @endif target-libstdc++-v3
30649 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30650 maybe-pdf-target-libstdc++-v3:
30651 @if target-libstdc++-v3
30652 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30654 pdf-target-libstdc++-v3: \
30655 configure-target-libstdc++-v3
30656 @: $(MAKE); $(unstage)
30657 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(RAW_CXX_TARGET_EXPORTS) \
30661 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30662 for flag in $(EXTRA_TARGET_FLAGS); do \
30663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30664 done; \
30665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30670 pdf) \
30671 || exit 1
30673 @endif target-libstdc++-v3
30675 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30676 maybe-html-target-libstdc++-v3:
30677 @if target-libstdc++-v3
30678 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30680 html-target-libstdc++-v3: \
30681 configure-target-libstdc++-v3
30682 @: $(MAKE); $(unstage)
30683 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30684 r=`${PWD_COMMAND}`; export r; \
30685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30686 $(RAW_CXX_TARGET_EXPORTS) \
30687 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30688 for flag in $(EXTRA_TARGET_FLAGS); do \
30689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30690 done; \
30691 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30694 "RANLIB=$${RANLIB}" \
30695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30696 html) \
30697 || exit 1
30699 @endif target-libstdc++-v3
30701 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30702 maybe-TAGS-target-libstdc++-v3:
30703 @if target-libstdc++-v3
30704 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30706 TAGS-target-libstdc++-v3: \
30707 configure-target-libstdc++-v3
30708 @: $(MAKE); $(unstage)
30709 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30710 r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(RAW_CXX_TARGET_EXPORTS) \
30713 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30714 for flag in $(EXTRA_TARGET_FLAGS); do \
30715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30716 done; \
30717 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30720 "RANLIB=$${RANLIB}" \
30721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30722 TAGS) \
30723 || exit 1
30725 @endif target-libstdc++-v3
30727 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30728 maybe-install-info-target-libstdc++-v3:
30729 @if target-libstdc++-v3
30730 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30732 install-info-target-libstdc++-v3: \
30733 configure-target-libstdc++-v3 \
30734 info-target-libstdc++-v3
30735 @: $(MAKE); $(unstage)
30736 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30737 r=`${PWD_COMMAND}`; export r; \
30738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30739 $(RAW_CXX_TARGET_EXPORTS) \
30740 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30741 for flag in $(EXTRA_TARGET_FLAGS); do \
30742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30743 done; \
30744 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30747 "RANLIB=$${RANLIB}" \
30748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30749 install-info) \
30750 || exit 1
30752 @endif target-libstdc++-v3
30754 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30755 maybe-install-pdf-target-libstdc++-v3:
30756 @if target-libstdc++-v3
30757 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30759 install-pdf-target-libstdc++-v3: \
30760 configure-target-libstdc++-v3 \
30761 pdf-target-libstdc++-v3
30762 @: $(MAKE); $(unstage)
30763 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30764 r=`${PWD_COMMAND}`; export r; \
30765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30766 $(RAW_CXX_TARGET_EXPORTS) \
30767 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30768 for flag in $(EXTRA_TARGET_FLAGS); do \
30769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30770 done; \
30771 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30774 "RANLIB=$${RANLIB}" \
30775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30776 install-pdf) \
30777 || exit 1
30779 @endif target-libstdc++-v3
30781 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30782 maybe-install-html-target-libstdc++-v3:
30783 @if target-libstdc++-v3
30784 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30786 install-html-target-libstdc++-v3: \
30787 configure-target-libstdc++-v3 \
30788 html-target-libstdc++-v3
30789 @: $(MAKE); $(unstage)
30790 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30791 r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30793 $(RAW_CXX_TARGET_EXPORTS) \
30794 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30795 for flag in $(EXTRA_TARGET_FLAGS); do \
30796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30797 done; \
30798 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30801 "RANLIB=$${RANLIB}" \
30802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30803 install-html) \
30804 || exit 1
30806 @endif target-libstdc++-v3
30808 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30809 maybe-installcheck-target-libstdc++-v3:
30810 @if target-libstdc++-v3
30811 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30813 installcheck-target-libstdc++-v3: \
30814 configure-target-libstdc++-v3
30815 @: $(MAKE); $(unstage)
30816 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30817 r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 $(RAW_CXX_TARGET_EXPORTS) \
30820 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30821 for flag in $(EXTRA_TARGET_FLAGS); do \
30822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30823 done; \
30824 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30827 "RANLIB=$${RANLIB}" \
30828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30829 installcheck) \
30830 || exit 1
30832 @endif target-libstdc++-v3
30834 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30835 maybe-mostlyclean-target-libstdc++-v3:
30836 @if target-libstdc++-v3
30837 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30839 mostlyclean-target-libstdc++-v3:
30840 @: $(MAKE); $(unstage)
30841 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30842 r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 $(RAW_CXX_TARGET_EXPORTS) \
30845 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30846 for flag in $(EXTRA_TARGET_FLAGS); do \
30847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30848 done; \
30849 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30852 "RANLIB=$${RANLIB}" \
30853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30854 mostlyclean) \
30855 || exit 1
30857 @endif target-libstdc++-v3
30859 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30860 maybe-clean-target-libstdc++-v3:
30861 @if target-libstdc++-v3
30862 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30864 clean-target-libstdc++-v3:
30865 @: $(MAKE); $(unstage)
30866 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30867 r=`${PWD_COMMAND}`; export r; \
30868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30869 $(RAW_CXX_TARGET_EXPORTS) \
30870 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30871 for flag in $(EXTRA_TARGET_FLAGS); do \
30872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30873 done; \
30874 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30877 "RANLIB=$${RANLIB}" \
30878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30879 clean) \
30880 || exit 1
30882 @endif target-libstdc++-v3
30884 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30885 maybe-distclean-target-libstdc++-v3:
30886 @if target-libstdc++-v3
30887 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30889 distclean-target-libstdc++-v3:
30890 @: $(MAKE); $(unstage)
30891 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30892 r=`${PWD_COMMAND}`; export r; \
30893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30894 $(RAW_CXX_TARGET_EXPORTS) \
30895 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30896 for flag in $(EXTRA_TARGET_FLAGS); do \
30897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30898 done; \
30899 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30902 "RANLIB=$${RANLIB}" \
30903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30904 distclean) \
30905 || exit 1
30907 @endif target-libstdc++-v3
30909 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30910 maybe-maintainer-clean-target-libstdc++-v3:
30911 @if target-libstdc++-v3
30912 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30914 maintainer-clean-target-libstdc++-v3:
30915 @: $(MAKE); $(unstage)
30916 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(RAW_CXX_TARGET_EXPORTS) \
30920 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30921 for flag in $(EXTRA_TARGET_FLAGS); do \
30922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30923 done; \
30924 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30929 maintainer-clean) \
30930 || exit 1
30932 @endif target-libstdc++-v3
30938 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30939 maybe-configure-target-libmudflap:
30940 @if gcc-bootstrap
30941 configure-target-libmudflap: stage_current
30942 @endif gcc-bootstrap
30943 @if target-libmudflap
30944 maybe-configure-target-libmudflap: configure-target-libmudflap
30945 configure-target-libmudflap:
30946 @: $(MAKE); $(unstage)
30947 @r=`${PWD_COMMAND}`; export r; \
30948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30949 echo "Checking multilib configuration for libmudflap..."; \
30950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30952 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30953 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30954 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30955 else \
30956 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30957 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30958 fi; \
30959 else \
30960 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30961 fi; \
30962 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30964 $(NORMAL_TARGET_EXPORTS) \
30965 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
30966 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
30967 case $(srcdir) in \
30968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30969 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
30970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30971 esac; \
30972 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
30973 libsrcdir="$$s/libmudflap"; \
30974 rm -f no-such-file || : ; \
30975 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30977 --target=${target_alias} $${srcdiroption} \
30978 || exit 1
30979 @endif target-libmudflap
30985 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
30986 maybe-all-target-libmudflap:
30987 @if gcc-bootstrap
30988 all-target-libmudflap: stage_current
30989 @endif gcc-bootstrap
30990 @if target-libmudflap
30991 TARGET-target-libmudflap=all
30992 maybe-all-target-libmudflap: all-target-libmudflap
30993 all-target-libmudflap: configure-target-libmudflap
30994 @: $(MAKE); $(unstage)
30995 @r=`${PWD_COMMAND}`; export r; \
30996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30997 $(NORMAL_TARGET_EXPORTS) \
30998 (cd $(TARGET_SUBDIR)/libmudflap && \
30999 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31000 $(TARGET-target-libmudflap))
31001 @endif target-libmudflap
31007 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31008 maybe-check-target-libmudflap:
31009 @if target-libmudflap
31010 maybe-check-target-libmudflap: check-target-libmudflap
31012 check-target-libmudflap:
31013 @: $(MAKE); $(unstage)
31014 @r=`${PWD_COMMAND}`; export r; \
31015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31016 $(NORMAL_TARGET_EXPORTS) \
31017 (cd $(TARGET_SUBDIR)/libmudflap && \
31018 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31020 @endif target-libmudflap
31022 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31023 maybe-install-target-libmudflap:
31024 @if target-libmudflap
31025 maybe-install-target-libmudflap: install-target-libmudflap
31027 install-target-libmudflap: installdirs
31028 @: $(MAKE); $(unstage)
31029 @r=`${PWD_COMMAND}`; export r; \
31030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31031 $(NORMAL_TARGET_EXPORTS) \
31032 (cd $(TARGET_SUBDIR)/libmudflap && \
31033 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31035 @endif target-libmudflap
31037 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31038 maybe-install-strip-target-libmudflap:
31039 @if target-libmudflap
31040 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31042 install-strip-target-libmudflap: installdirs
31043 @: $(MAKE); $(unstage)
31044 @r=`${PWD_COMMAND}`; export r; \
31045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31046 $(NORMAL_TARGET_EXPORTS) \
31047 (cd $(TARGET_SUBDIR)/libmudflap && \
31048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31050 @endif target-libmudflap
31052 # Other targets (info, dvi, pdf, etc.)
31054 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31055 maybe-info-target-libmudflap:
31056 @if target-libmudflap
31057 maybe-info-target-libmudflap: info-target-libmudflap
31059 info-target-libmudflap: \
31060 configure-target-libmudflap
31061 @: $(MAKE); $(unstage)
31062 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31063 r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(NORMAL_TARGET_EXPORTS) \
31066 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31067 for flag in $(EXTRA_TARGET_FLAGS); do \
31068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31069 done; \
31070 (cd $(TARGET_SUBDIR)/libmudflap && \
31071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31073 "RANLIB=$${RANLIB}" \
31074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31075 info) \
31076 || exit 1
31078 @endif target-libmudflap
31080 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31081 maybe-dvi-target-libmudflap:
31082 @if target-libmudflap
31083 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31085 dvi-target-libmudflap: \
31086 configure-target-libmudflap
31087 @: $(MAKE); $(unstage)
31088 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31089 r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(NORMAL_TARGET_EXPORTS) \
31092 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31093 for flag in $(EXTRA_TARGET_FLAGS); do \
31094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31095 done; \
31096 (cd $(TARGET_SUBDIR)/libmudflap && \
31097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31099 "RANLIB=$${RANLIB}" \
31100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31101 dvi) \
31102 || exit 1
31104 @endif target-libmudflap
31106 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31107 maybe-pdf-target-libmudflap:
31108 @if target-libmudflap
31109 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31111 pdf-target-libmudflap: \
31112 configure-target-libmudflap
31113 @: $(MAKE); $(unstage)
31114 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31115 r=`${PWD_COMMAND}`; export r; \
31116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31117 $(NORMAL_TARGET_EXPORTS) \
31118 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31119 for flag in $(EXTRA_TARGET_FLAGS); do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 (cd $(TARGET_SUBDIR)/libmudflap && \
31123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31125 "RANLIB=$${RANLIB}" \
31126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31127 pdf) \
31128 || exit 1
31130 @endif target-libmudflap
31132 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31133 maybe-html-target-libmudflap:
31134 @if target-libmudflap
31135 maybe-html-target-libmudflap: html-target-libmudflap
31137 html-target-libmudflap: \
31138 configure-target-libmudflap
31139 @: $(MAKE); $(unstage)
31140 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31141 r=`${PWD_COMMAND}`; export r; \
31142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31143 $(NORMAL_TARGET_EXPORTS) \
31144 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31145 for flag in $(EXTRA_TARGET_FLAGS); do \
31146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31147 done; \
31148 (cd $(TARGET_SUBDIR)/libmudflap && \
31149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31151 "RANLIB=$${RANLIB}" \
31152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31153 html) \
31154 || exit 1
31156 @endif target-libmudflap
31158 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31159 maybe-TAGS-target-libmudflap:
31160 @if target-libmudflap
31161 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31163 TAGS-target-libmudflap: \
31164 configure-target-libmudflap
31165 @: $(MAKE); $(unstage)
31166 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31167 r=`${PWD_COMMAND}`; export r; \
31168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31169 $(NORMAL_TARGET_EXPORTS) \
31170 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31171 for flag in $(EXTRA_TARGET_FLAGS); do \
31172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31173 done; \
31174 (cd $(TARGET_SUBDIR)/libmudflap && \
31175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31177 "RANLIB=$${RANLIB}" \
31178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31179 TAGS) \
31180 || exit 1
31182 @endif target-libmudflap
31184 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31185 maybe-install-info-target-libmudflap:
31186 @if target-libmudflap
31187 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31189 install-info-target-libmudflap: \
31190 configure-target-libmudflap \
31191 info-target-libmudflap
31192 @: $(MAKE); $(unstage)
31193 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(NORMAL_TARGET_EXPORTS) \
31197 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31198 for flag in $(EXTRA_TARGET_FLAGS); do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 (cd $(TARGET_SUBDIR)/libmudflap && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31206 install-info) \
31207 || exit 1
31209 @endif target-libmudflap
31211 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31212 maybe-install-pdf-target-libmudflap:
31213 @if target-libmudflap
31214 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31216 install-pdf-target-libmudflap: \
31217 configure-target-libmudflap \
31218 pdf-target-libmudflap
31219 @: $(MAKE); $(unstage)
31220 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31221 r=`${PWD_COMMAND}`; export r; \
31222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31223 $(NORMAL_TARGET_EXPORTS) \
31224 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31225 for flag in $(EXTRA_TARGET_FLAGS); do \
31226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31227 done; \
31228 (cd $(TARGET_SUBDIR)/libmudflap && \
31229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31231 "RANLIB=$${RANLIB}" \
31232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31233 install-pdf) \
31234 || exit 1
31236 @endif target-libmudflap
31238 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31239 maybe-install-html-target-libmudflap:
31240 @if target-libmudflap
31241 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31243 install-html-target-libmudflap: \
31244 configure-target-libmudflap \
31245 html-target-libmudflap
31246 @: $(MAKE); $(unstage)
31247 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31248 r=`${PWD_COMMAND}`; export r; \
31249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31250 $(NORMAL_TARGET_EXPORTS) \
31251 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31252 for flag in $(EXTRA_TARGET_FLAGS); do \
31253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31254 done; \
31255 (cd $(TARGET_SUBDIR)/libmudflap && \
31256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31258 "RANLIB=$${RANLIB}" \
31259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31260 install-html) \
31261 || exit 1
31263 @endif target-libmudflap
31265 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31266 maybe-installcheck-target-libmudflap:
31267 @if target-libmudflap
31268 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31270 installcheck-target-libmudflap: \
31271 configure-target-libmudflap
31272 @: $(MAKE); $(unstage)
31273 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31274 r=`${PWD_COMMAND}`; export r; \
31275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31276 $(NORMAL_TARGET_EXPORTS) \
31277 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31278 for flag in $(EXTRA_TARGET_FLAGS); do \
31279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31280 done; \
31281 (cd $(TARGET_SUBDIR)/libmudflap && \
31282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31284 "RANLIB=$${RANLIB}" \
31285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31286 installcheck) \
31287 || exit 1
31289 @endif target-libmudflap
31291 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31292 maybe-mostlyclean-target-libmudflap:
31293 @if target-libmudflap
31294 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31296 mostlyclean-target-libmudflap:
31297 @: $(MAKE); $(unstage)
31298 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31299 r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 $(NORMAL_TARGET_EXPORTS) \
31302 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31303 for flag in $(EXTRA_TARGET_FLAGS); do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 (cd $(TARGET_SUBDIR)/libmudflap && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31309 "RANLIB=$${RANLIB}" \
31310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31311 mostlyclean) \
31312 || exit 1
31314 @endif target-libmudflap
31316 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31317 maybe-clean-target-libmudflap:
31318 @if target-libmudflap
31319 maybe-clean-target-libmudflap: clean-target-libmudflap
31321 clean-target-libmudflap:
31322 @: $(MAKE); $(unstage)
31323 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31324 r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 $(NORMAL_TARGET_EXPORTS) \
31327 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31328 for flag in $(EXTRA_TARGET_FLAGS); do \
31329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31330 done; \
31331 (cd $(TARGET_SUBDIR)/libmudflap && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31334 "RANLIB=$${RANLIB}" \
31335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31336 clean) \
31337 || exit 1
31339 @endif target-libmudflap
31341 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31342 maybe-distclean-target-libmudflap:
31343 @if target-libmudflap
31344 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31346 distclean-target-libmudflap:
31347 @: $(MAKE); $(unstage)
31348 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31349 r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(NORMAL_TARGET_EXPORTS) \
31352 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31353 for flag in $(EXTRA_TARGET_FLAGS); do \
31354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31355 done; \
31356 (cd $(TARGET_SUBDIR)/libmudflap && \
31357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31359 "RANLIB=$${RANLIB}" \
31360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31361 distclean) \
31362 || exit 1
31364 @endif target-libmudflap
31366 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31367 maybe-maintainer-clean-target-libmudflap:
31368 @if target-libmudflap
31369 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31371 maintainer-clean-target-libmudflap:
31372 @: $(MAKE); $(unstage)
31373 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31374 r=`${PWD_COMMAND}`; export r; \
31375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31376 $(NORMAL_TARGET_EXPORTS) \
31377 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31378 for flag in $(EXTRA_TARGET_FLAGS); do \
31379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31380 done; \
31381 (cd $(TARGET_SUBDIR)/libmudflap && \
31382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31384 "RANLIB=$${RANLIB}" \
31385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31386 maintainer-clean) \
31387 || exit 1
31389 @endif target-libmudflap
31395 .PHONY: configure-target-libssp maybe-configure-target-libssp
31396 maybe-configure-target-libssp:
31397 @if gcc-bootstrap
31398 configure-target-libssp: stage_current
31399 @endif gcc-bootstrap
31400 @if target-libssp
31401 maybe-configure-target-libssp: configure-target-libssp
31402 configure-target-libssp:
31403 @: $(MAKE); $(unstage)
31404 @r=`${PWD_COMMAND}`; export r; \
31405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31406 echo "Checking multilib configuration for libssp..."; \
31407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31409 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31410 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31411 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31412 else \
31413 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31414 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31415 fi; \
31416 else \
31417 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31418 fi; \
31419 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31421 $(NORMAL_TARGET_EXPORTS) \
31422 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31423 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31424 case $(srcdir) in \
31425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31426 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31428 esac; \
31429 srcdiroption="--srcdir=$${topdir}/libssp"; \
31430 libsrcdir="$$s/libssp"; \
31431 rm -f no-such-file || : ; \
31432 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31434 --target=${target_alias} $${srcdiroption} \
31435 || exit 1
31436 @endif target-libssp
31442 .PHONY: all-target-libssp maybe-all-target-libssp
31443 maybe-all-target-libssp:
31444 @if gcc-bootstrap
31445 all-target-libssp: stage_current
31446 @endif gcc-bootstrap
31447 @if target-libssp
31448 TARGET-target-libssp=all
31449 maybe-all-target-libssp: all-target-libssp
31450 all-target-libssp: configure-target-libssp
31451 @: $(MAKE); $(unstage)
31452 @r=`${PWD_COMMAND}`; export r; \
31453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31454 $(NORMAL_TARGET_EXPORTS) \
31455 (cd $(TARGET_SUBDIR)/libssp && \
31456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31457 $(TARGET-target-libssp))
31458 @endif target-libssp
31464 .PHONY: check-target-libssp maybe-check-target-libssp
31465 maybe-check-target-libssp:
31466 @if target-libssp
31467 maybe-check-target-libssp: check-target-libssp
31469 check-target-libssp:
31470 @: $(MAKE); $(unstage)
31471 @r=`${PWD_COMMAND}`; export r; \
31472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31473 $(NORMAL_TARGET_EXPORTS) \
31474 (cd $(TARGET_SUBDIR)/libssp && \
31475 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31477 @endif target-libssp
31479 .PHONY: install-target-libssp maybe-install-target-libssp
31480 maybe-install-target-libssp:
31481 @if target-libssp
31482 maybe-install-target-libssp: install-target-libssp
31484 install-target-libssp: installdirs
31485 @: $(MAKE); $(unstage)
31486 @r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(NORMAL_TARGET_EXPORTS) \
31489 (cd $(TARGET_SUBDIR)/libssp && \
31490 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31492 @endif target-libssp
31494 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31495 maybe-install-strip-target-libssp:
31496 @if target-libssp
31497 maybe-install-strip-target-libssp: install-strip-target-libssp
31499 install-strip-target-libssp: installdirs
31500 @: $(MAKE); $(unstage)
31501 @r=`${PWD_COMMAND}`; export r; \
31502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31503 $(NORMAL_TARGET_EXPORTS) \
31504 (cd $(TARGET_SUBDIR)/libssp && \
31505 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31507 @endif target-libssp
31509 # Other targets (info, dvi, pdf, etc.)
31511 .PHONY: maybe-info-target-libssp info-target-libssp
31512 maybe-info-target-libssp:
31513 @if target-libssp
31514 maybe-info-target-libssp: info-target-libssp
31516 info-target-libssp: \
31517 configure-target-libssp
31518 @: $(MAKE); $(unstage)
31519 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31520 r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(NORMAL_TARGET_EXPORTS) \
31523 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31524 for flag in $(EXTRA_TARGET_FLAGS); do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 (cd $(TARGET_SUBDIR)/libssp && \
31528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31530 "RANLIB=$${RANLIB}" \
31531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31532 info) \
31533 || exit 1
31535 @endif target-libssp
31537 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31538 maybe-dvi-target-libssp:
31539 @if target-libssp
31540 maybe-dvi-target-libssp: dvi-target-libssp
31542 dvi-target-libssp: \
31543 configure-target-libssp
31544 @: $(MAKE); $(unstage)
31545 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31546 r=`${PWD_COMMAND}`; export r; \
31547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31548 $(NORMAL_TARGET_EXPORTS) \
31549 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31550 for flag in $(EXTRA_TARGET_FLAGS); do \
31551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31552 done; \
31553 (cd $(TARGET_SUBDIR)/libssp && \
31554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31556 "RANLIB=$${RANLIB}" \
31557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31558 dvi) \
31559 || exit 1
31561 @endif target-libssp
31563 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31564 maybe-pdf-target-libssp:
31565 @if target-libssp
31566 maybe-pdf-target-libssp: pdf-target-libssp
31568 pdf-target-libssp: \
31569 configure-target-libssp
31570 @: $(MAKE); $(unstage)
31571 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31572 r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(NORMAL_TARGET_EXPORTS) \
31575 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31576 for flag in $(EXTRA_TARGET_FLAGS); do \
31577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31578 done; \
31579 (cd $(TARGET_SUBDIR)/libssp && \
31580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31582 "RANLIB=$${RANLIB}" \
31583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31584 pdf) \
31585 || exit 1
31587 @endif target-libssp
31589 .PHONY: maybe-html-target-libssp html-target-libssp
31590 maybe-html-target-libssp:
31591 @if target-libssp
31592 maybe-html-target-libssp: html-target-libssp
31594 html-target-libssp: \
31595 configure-target-libssp
31596 @: $(MAKE); $(unstage)
31597 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31598 r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(NORMAL_TARGET_EXPORTS) \
31601 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31602 for flag in $(EXTRA_TARGET_FLAGS); do \
31603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31604 done; \
31605 (cd $(TARGET_SUBDIR)/libssp && \
31606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31608 "RANLIB=$${RANLIB}" \
31609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31610 html) \
31611 || exit 1
31613 @endif target-libssp
31615 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31616 maybe-TAGS-target-libssp:
31617 @if target-libssp
31618 maybe-TAGS-target-libssp: TAGS-target-libssp
31620 TAGS-target-libssp: \
31621 configure-target-libssp
31622 @: $(MAKE); $(unstage)
31623 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31624 r=`${PWD_COMMAND}`; export r; \
31625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31626 $(NORMAL_TARGET_EXPORTS) \
31627 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31628 for flag in $(EXTRA_TARGET_FLAGS); do \
31629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31630 done; \
31631 (cd $(TARGET_SUBDIR)/libssp && \
31632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31634 "RANLIB=$${RANLIB}" \
31635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31636 TAGS) \
31637 || exit 1
31639 @endif target-libssp
31641 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31642 maybe-install-info-target-libssp:
31643 @if target-libssp
31644 maybe-install-info-target-libssp: install-info-target-libssp
31646 install-info-target-libssp: \
31647 configure-target-libssp \
31648 info-target-libssp
31649 @: $(MAKE); $(unstage)
31650 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31651 r=`${PWD_COMMAND}`; export r; \
31652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31653 $(NORMAL_TARGET_EXPORTS) \
31654 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31655 for flag in $(EXTRA_TARGET_FLAGS); do \
31656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31657 done; \
31658 (cd $(TARGET_SUBDIR)/libssp && \
31659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31661 "RANLIB=$${RANLIB}" \
31662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31663 install-info) \
31664 || exit 1
31666 @endif target-libssp
31668 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31669 maybe-install-pdf-target-libssp:
31670 @if target-libssp
31671 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31673 install-pdf-target-libssp: \
31674 configure-target-libssp \
31675 pdf-target-libssp
31676 @: $(MAKE); $(unstage)
31677 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(NORMAL_TARGET_EXPORTS) \
31681 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31682 for flag in $(EXTRA_TARGET_FLAGS); do \
31683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31684 done; \
31685 (cd $(TARGET_SUBDIR)/libssp && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31690 install-pdf) \
31691 || exit 1
31693 @endif target-libssp
31695 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31696 maybe-install-html-target-libssp:
31697 @if target-libssp
31698 maybe-install-html-target-libssp: install-html-target-libssp
31700 install-html-target-libssp: \
31701 configure-target-libssp \
31702 html-target-libssp
31703 @: $(MAKE); $(unstage)
31704 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31705 r=`${PWD_COMMAND}`; export r; \
31706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31707 $(NORMAL_TARGET_EXPORTS) \
31708 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31709 for flag in $(EXTRA_TARGET_FLAGS); do \
31710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31711 done; \
31712 (cd $(TARGET_SUBDIR)/libssp && \
31713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31715 "RANLIB=$${RANLIB}" \
31716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31717 install-html) \
31718 || exit 1
31720 @endif target-libssp
31722 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31723 maybe-installcheck-target-libssp:
31724 @if target-libssp
31725 maybe-installcheck-target-libssp: installcheck-target-libssp
31727 installcheck-target-libssp: \
31728 configure-target-libssp
31729 @: $(MAKE); $(unstage)
31730 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31731 r=`${PWD_COMMAND}`; export r; \
31732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31733 $(NORMAL_TARGET_EXPORTS) \
31734 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31735 for flag in $(EXTRA_TARGET_FLAGS); do \
31736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31737 done; \
31738 (cd $(TARGET_SUBDIR)/libssp && \
31739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31741 "RANLIB=$${RANLIB}" \
31742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31743 installcheck) \
31744 || exit 1
31746 @endif target-libssp
31748 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31749 maybe-mostlyclean-target-libssp:
31750 @if target-libssp
31751 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31753 mostlyclean-target-libssp:
31754 @: $(MAKE); $(unstage)
31755 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31756 r=`${PWD_COMMAND}`; export r; \
31757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31758 $(NORMAL_TARGET_EXPORTS) \
31759 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31760 for flag in $(EXTRA_TARGET_FLAGS); do \
31761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31762 done; \
31763 (cd $(TARGET_SUBDIR)/libssp && \
31764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31766 "RANLIB=$${RANLIB}" \
31767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31768 mostlyclean) \
31769 || exit 1
31771 @endif target-libssp
31773 .PHONY: maybe-clean-target-libssp clean-target-libssp
31774 maybe-clean-target-libssp:
31775 @if target-libssp
31776 maybe-clean-target-libssp: clean-target-libssp
31778 clean-target-libssp:
31779 @: $(MAKE); $(unstage)
31780 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31781 r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(NORMAL_TARGET_EXPORTS) \
31784 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31785 for flag in $(EXTRA_TARGET_FLAGS); do \
31786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31787 done; \
31788 (cd $(TARGET_SUBDIR)/libssp && \
31789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31791 "RANLIB=$${RANLIB}" \
31792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31793 clean) \
31794 || exit 1
31796 @endif target-libssp
31798 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31799 maybe-distclean-target-libssp:
31800 @if target-libssp
31801 maybe-distclean-target-libssp: distclean-target-libssp
31803 distclean-target-libssp:
31804 @: $(MAKE); $(unstage)
31805 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31806 r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 $(NORMAL_TARGET_EXPORTS) \
31809 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31810 for flag in $(EXTRA_TARGET_FLAGS); do \
31811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31812 done; \
31813 (cd $(TARGET_SUBDIR)/libssp && \
31814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31816 "RANLIB=$${RANLIB}" \
31817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31818 distclean) \
31819 || exit 1
31821 @endif target-libssp
31823 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31824 maybe-maintainer-clean-target-libssp:
31825 @if target-libssp
31826 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31828 maintainer-clean-target-libssp:
31829 @: $(MAKE); $(unstage)
31830 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31831 r=`${PWD_COMMAND}`; export r; \
31832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31833 $(NORMAL_TARGET_EXPORTS) \
31834 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31835 for flag in $(EXTRA_TARGET_FLAGS); do \
31836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31837 done; \
31838 (cd $(TARGET_SUBDIR)/libssp && \
31839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31841 "RANLIB=$${RANLIB}" \
31842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31843 maintainer-clean) \
31844 || exit 1
31846 @endif target-libssp
31852 .PHONY: configure-target-newlib maybe-configure-target-newlib
31853 maybe-configure-target-newlib:
31854 @if gcc-bootstrap
31855 configure-target-newlib: stage_current
31856 @endif gcc-bootstrap
31857 @if target-newlib
31858 maybe-configure-target-newlib: configure-target-newlib
31859 configure-target-newlib:
31860 @: $(MAKE); $(unstage)
31861 @r=`${PWD_COMMAND}`; export r; \
31862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31863 echo "Checking multilib configuration for newlib..."; \
31864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31866 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31867 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31868 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31869 else \
31870 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31871 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31872 fi; \
31873 else \
31874 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31875 fi; \
31876 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31878 $(NORMAL_TARGET_EXPORTS) \
31879 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31880 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31881 case $(srcdir) in \
31882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31883 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31885 esac; \
31886 srcdiroption="--srcdir=$${topdir}/newlib"; \
31887 libsrcdir="$$s/newlib"; \
31888 rm -f no-such-file || : ; \
31889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31890 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31891 --target=${target_alias} $${srcdiroption} \
31892 || exit 1
31893 @endif target-newlib
31899 .PHONY: all-target-newlib maybe-all-target-newlib
31900 maybe-all-target-newlib:
31901 @if gcc-bootstrap
31902 all-target-newlib: stage_current
31903 @endif gcc-bootstrap
31904 @if target-newlib
31905 TARGET-target-newlib=all
31906 maybe-all-target-newlib: all-target-newlib
31907 all-target-newlib: configure-target-newlib
31908 @: $(MAKE); $(unstage)
31909 @r=`${PWD_COMMAND}`; export r; \
31910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31911 $(NORMAL_TARGET_EXPORTS) \
31912 (cd $(TARGET_SUBDIR)/newlib && \
31913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31914 $(TARGET-target-newlib))
31915 @endif target-newlib
31921 .PHONY: check-target-newlib maybe-check-target-newlib
31922 maybe-check-target-newlib:
31923 @if target-newlib
31924 maybe-check-target-newlib: check-target-newlib
31926 check-target-newlib:
31927 @: $(MAKE); $(unstage)
31928 @r=`${PWD_COMMAND}`; export r; \
31929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31930 $(NORMAL_TARGET_EXPORTS) \
31931 (cd $(TARGET_SUBDIR)/newlib && \
31932 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31934 @endif target-newlib
31936 .PHONY: install-target-newlib maybe-install-target-newlib
31937 maybe-install-target-newlib:
31938 @if target-newlib
31939 maybe-install-target-newlib: install-target-newlib
31941 install-target-newlib: installdirs
31942 @: $(MAKE); $(unstage)
31943 @r=`${PWD_COMMAND}`; export r; \
31944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31945 $(NORMAL_TARGET_EXPORTS) \
31946 (cd $(TARGET_SUBDIR)/newlib && \
31947 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31949 @endif target-newlib
31951 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31952 maybe-install-strip-target-newlib:
31953 @if target-newlib
31954 maybe-install-strip-target-newlib: install-strip-target-newlib
31956 install-strip-target-newlib: installdirs
31957 @: $(MAKE); $(unstage)
31958 @r=`${PWD_COMMAND}`; export r; \
31959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31960 $(NORMAL_TARGET_EXPORTS) \
31961 (cd $(TARGET_SUBDIR)/newlib && \
31962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31964 @endif target-newlib
31966 # Other targets (info, dvi, pdf, etc.)
31968 .PHONY: maybe-info-target-newlib info-target-newlib
31969 maybe-info-target-newlib:
31970 @if target-newlib
31971 maybe-info-target-newlib: info-target-newlib
31973 info-target-newlib: \
31974 configure-target-newlib
31975 @: $(MAKE); $(unstage)
31976 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31977 r=`${PWD_COMMAND}`; export r; \
31978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31979 $(NORMAL_TARGET_EXPORTS) \
31980 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
31981 for flag in $(EXTRA_TARGET_FLAGS); do \
31982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31983 done; \
31984 (cd $(TARGET_SUBDIR)/newlib && \
31985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31987 "RANLIB=$${RANLIB}" \
31988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31989 info) \
31990 || exit 1
31992 @endif target-newlib
31994 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
31995 maybe-dvi-target-newlib:
31996 @if target-newlib
31997 maybe-dvi-target-newlib: dvi-target-newlib
31999 dvi-target-newlib: \
32000 configure-target-newlib
32001 @: $(MAKE); $(unstage)
32002 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32003 r=`${PWD_COMMAND}`; export r; \
32004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32005 $(NORMAL_TARGET_EXPORTS) \
32006 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32007 for flag in $(EXTRA_TARGET_FLAGS); do \
32008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32009 done; \
32010 (cd $(TARGET_SUBDIR)/newlib && \
32011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32013 "RANLIB=$${RANLIB}" \
32014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32015 dvi) \
32016 || exit 1
32018 @endif target-newlib
32020 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32021 maybe-pdf-target-newlib:
32022 @if target-newlib
32023 maybe-pdf-target-newlib: pdf-target-newlib
32025 pdf-target-newlib: \
32026 configure-target-newlib
32027 @: $(MAKE); $(unstage)
32028 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32029 r=`${PWD_COMMAND}`; export r; \
32030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32031 $(NORMAL_TARGET_EXPORTS) \
32032 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32033 for flag in $(EXTRA_TARGET_FLAGS); do \
32034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32035 done; \
32036 (cd $(TARGET_SUBDIR)/newlib && \
32037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32039 "RANLIB=$${RANLIB}" \
32040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32041 pdf) \
32042 || exit 1
32044 @endif target-newlib
32046 .PHONY: maybe-html-target-newlib html-target-newlib
32047 maybe-html-target-newlib:
32048 @if target-newlib
32049 maybe-html-target-newlib: html-target-newlib
32051 html-target-newlib: \
32052 configure-target-newlib
32053 @: $(MAKE); $(unstage)
32054 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32055 r=`${PWD_COMMAND}`; export r; \
32056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32057 $(NORMAL_TARGET_EXPORTS) \
32058 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32059 for flag in $(EXTRA_TARGET_FLAGS); do \
32060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32061 done; \
32062 (cd $(TARGET_SUBDIR)/newlib && \
32063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32065 "RANLIB=$${RANLIB}" \
32066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32067 html) \
32068 || exit 1
32070 @endif target-newlib
32072 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32073 maybe-TAGS-target-newlib:
32074 @if target-newlib
32075 maybe-TAGS-target-newlib: TAGS-target-newlib
32077 TAGS-target-newlib: \
32078 configure-target-newlib
32079 @: $(MAKE); $(unstage)
32080 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32081 r=`${PWD_COMMAND}`; export r; \
32082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32083 $(NORMAL_TARGET_EXPORTS) \
32084 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32085 for flag in $(EXTRA_TARGET_FLAGS); do \
32086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32087 done; \
32088 (cd $(TARGET_SUBDIR)/newlib && \
32089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32091 "RANLIB=$${RANLIB}" \
32092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32093 TAGS) \
32094 || exit 1
32096 @endif target-newlib
32098 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32099 maybe-install-info-target-newlib:
32100 @if target-newlib
32101 maybe-install-info-target-newlib: install-info-target-newlib
32103 install-info-target-newlib: \
32104 configure-target-newlib \
32105 info-target-newlib
32106 @: $(MAKE); $(unstage)
32107 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32108 r=`${PWD_COMMAND}`; export r; \
32109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32110 $(NORMAL_TARGET_EXPORTS) \
32111 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32112 for flag in $(EXTRA_TARGET_FLAGS); do \
32113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32114 done; \
32115 (cd $(TARGET_SUBDIR)/newlib && \
32116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32118 "RANLIB=$${RANLIB}" \
32119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32120 install-info) \
32121 || exit 1
32123 @endif target-newlib
32125 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32126 maybe-install-pdf-target-newlib:
32127 @if target-newlib
32128 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32130 install-pdf-target-newlib: \
32131 configure-target-newlib \
32132 pdf-target-newlib
32133 @: $(MAKE); $(unstage)
32134 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(NORMAL_TARGET_EXPORTS) \
32138 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32139 for flag in $(EXTRA_TARGET_FLAGS); do \
32140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32141 done; \
32142 (cd $(TARGET_SUBDIR)/newlib && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32147 install-pdf) \
32148 || exit 1
32150 @endif target-newlib
32152 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32153 maybe-install-html-target-newlib:
32154 @if target-newlib
32155 maybe-install-html-target-newlib: install-html-target-newlib
32157 install-html-target-newlib: \
32158 configure-target-newlib \
32159 html-target-newlib
32160 @: $(MAKE); $(unstage)
32161 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32162 r=`${PWD_COMMAND}`; export r; \
32163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32164 $(NORMAL_TARGET_EXPORTS) \
32165 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32166 for flag in $(EXTRA_TARGET_FLAGS); do \
32167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32168 done; \
32169 (cd $(TARGET_SUBDIR)/newlib && \
32170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32172 "RANLIB=$${RANLIB}" \
32173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32174 install-html) \
32175 || exit 1
32177 @endif target-newlib
32179 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32180 maybe-installcheck-target-newlib:
32181 @if target-newlib
32182 maybe-installcheck-target-newlib: installcheck-target-newlib
32184 installcheck-target-newlib: \
32185 configure-target-newlib
32186 @: $(MAKE); $(unstage)
32187 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32188 r=`${PWD_COMMAND}`; export r; \
32189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32190 $(NORMAL_TARGET_EXPORTS) \
32191 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32192 for flag in $(EXTRA_TARGET_FLAGS); do \
32193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32194 done; \
32195 (cd $(TARGET_SUBDIR)/newlib && \
32196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32198 "RANLIB=$${RANLIB}" \
32199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32200 installcheck) \
32201 || exit 1
32203 @endif target-newlib
32205 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32206 maybe-mostlyclean-target-newlib:
32207 @if target-newlib
32208 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32210 mostlyclean-target-newlib:
32211 @: $(MAKE); $(unstage)
32212 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32213 r=`${PWD_COMMAND}`; export r; \
32214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32215 $(NORMAL_TARGET_EXPORTS) \
32216 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32217 for flag in $(EXTRA_TARGET_FLAGS); do \
32218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32219 done; \
32220 (cd $(TARGET_SUBDIR)/newlib && \
32221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32223 "RANLIB=$${RANLIB}" \
32224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32225 mostlyclean) \
32226 || exit 1
32228 @endif target-newlib
32230 .PHONY: maybe-clean-target-newlib clean-target-newlib
32231 maybe-clean-target-newlib:
32232 @if target-newlib
32233 maybe-clean-target-newlib: clean-target-newlib
32235 clean-target-newlib:
32236 @: $(MAKE); $(unstage)
32237 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(NORMAL_TARGET_EXPORTS) \
32241 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32242 for flag in $(EXTRA_TARGET_FLAGS); do \
32243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32244 done; \
32245 (cd $(TARGET_SUBDIR)/newlib && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32250 clean) \
32251 || exit 1
32253 @endif target-newlib
32255 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32256 maybe-distclean-target-newlib:
32257 @if target-newlib
32258 maybe-distclean-target-newlib: distclean-target-newlib
32260 distclean-target-newlib:
32261 @: $(MAKE); $(unstage)
32262 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(NORMAL_TARGET_EXPORTS) \
32266 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32267 for flag in $(EXTRA_TARGET_FLAGS); do \
32268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32269 done; \
32270 (cd $(TARGET_SUBDIR)/newlib && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32275 distclean) \
32276 || exit 1
32278 @endif target-newlib
32280 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32281 maybe-maintainer-clean-target-newlib:
32282 @if target-newlib
32283 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32285 maintainer-clean-target-newlib:
32286 @: $(MAKE); $(unstage)
32287 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32288 r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(NORMAL_TARGET_EXPORTS) \
32291 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32292 for flag in $(EXTRA_TARGET_FLAGS); do \
32293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32294 done; \
32295 (cd $(TARGET_SUBDIR)/newlib && \
32296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32298 "RANLIB=$${RANLIB}" \
32299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32300 maintainer-clean) \
32301 || exit 1
32303 @endif target-newlib
32309 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32310 maybe-configure-target-libgcc:
32311 @if gcc-bootstrap
32312 configure-target-libgcc: stage_current
32313 @endif gcc-bootstrap
32314 @if target-libgcc
32315 maybe-configure-target-libgcc: configure-target-libgcc
32316 configure-target-libgcc:
32317 @r=`${PWD_COMMAND}`; export r; \
32318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32319 echo "Checking multilib configuration for libgcc..."; \
32320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32321 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32322 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32323 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32324 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32325 else \
32326 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32327 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32328 fi; \
32329 else \
32330 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32331 fi; \
32332 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32334 $(NORMAL_TARGET_EXPORTS) \
32335 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32336 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32337 case $(srcdir) in \
32338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32339 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32341 esac; \
32342 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32343 libsrcdir="$$s/libgcc"; \
32344 rm -f no-such-file || : ; \
32345 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32346 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32347 --target=${target_alias} $${srcdiroption} \
32348 || exit 1
32349 @endif target-libgcc
32353 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32354 maybe-configure-stage1-target-libgcc:
32355 @if target-libgcc-bootstrap
32356 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32357 configure-stage1-target-libgcc:
32358 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32359 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32360 @r=`${PWD_COMMAND}`; export r; \
32361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32362 TFLAGS="$(STAGE1_TFLAGS)"; \
32363 echo "Checking multilib configuration for libgcc..."; \
32364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32365 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32366 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32367 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32368 else \
32369 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32370 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32371 fi; \
32372 else \
32373 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32374 fi; \
32375 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32376 $(NORMAL_TARGET_EXPORTS) \
32377 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32378 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32379 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32380 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32382 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32383 case $(srcdir) in \
32384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32385 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32387 esac; \
32388 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32389 libsrcdir="$$s/libgcc"; \
32390 $(SHELL) $${libsrcdir}/configure \
32391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32392 --target=${target_alias} $${srcdiroption} \
32393 $(STAGE1_CONFIGURE_FLAGS)
32394 @endif target-libgcc-bootstrap
32396 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32397 maybe-configure-stage2-target-libgcc:
32398 @if target-libgcc-bootstrap
32399 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32400 configure-stage2-target-libgcc:
32401 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32402 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32403 @r=`${PWD_COMMAND}`; export r; \
32404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32405 TFLAGS="$(STAGE2_TFLAGS)"; \
32406 echo "Checking multilib configuration for libgcc..."; \
32407 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32408 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32409 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32410 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32411 else \
32412 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32413 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32414 fi; \
32415 else \
32416 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32417 fi; \
32418 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32419 $(NORMAL_TARGET_EXPORTS) \
32421 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32422 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32423 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32424 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32426 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32427 case $(srcdir) in \
32428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32429 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32431 esac; \
32432 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32433 libsrcdir="$$s/libgcc"; \
32434 $(SHELL) $${libsrcdir}/configure \
32435 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32436 --target=${target_alias} $${srcdiroption} \
32437 --with-build-libsubdir=$(HOST_SUBDIR) \
32438 $(STAGE2_CONFIGURE_FLAGS)
32439 @endif target-libgcc-bootstrap
32441 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32442 maybe-configure-stage3-target-libgcc:
32443 @if target-libgcc-bootstrap
32444 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32445 configure-stage3-target-libgcc:
32446 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32447 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32448 @r=`${PWD_COMMAND}`; export r; \
32449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32450 TFLAGS="$(STAGE3_TFLAGS)"; \
32451 echo "Checking multilib configuration for libgcc..."; \
32452 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32453 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32454 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32455 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32456 else \
32457 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32458 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32459 fi; \
32460 else \
32461 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32462 fi; \
32463 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32464 $(NORMAL_TARGET_EXPORTS) \
32466 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32469 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32471 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32472 case $(srcdir) in \
32473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32474 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32476 esac; \
32477 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32478 libsrcdir="$$s/libgcc"; \
32479 $(SHELL) $${libsrcdir}/configure \
32480 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32481 --target=${target_alias} $${srcdiroption} \
32482 --with-build-libsubdir=$(HOST_SUBDIR) \
32483 $(STAGE3_CONFIGURE_FLAGS)
32484 @endif target-libgcc-bootstrap
32486 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32487 maybe-configure-stage4-target-libgcc:
32488 @if target-libgcc-bootstrap
32489 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32490 configure-stage4-target-libgcc:
32491 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32492 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32493 @r=`${PWD_COMMAND}`; export r; \
32494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32495 TFLAGS="$(STAGE4_TFLAGS)"; \
32496 echo "Checking multilib configuration for libgcc..."; \
32497 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32498 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32499 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32500 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32501 else \
32502 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32503 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32504 fi; \
32505 else \
32506 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32507 fi; \
32508 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32509 $(NORMAL_TARGET_EXPORTS) \
32511 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32512 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32513 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32514 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32516 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32517 case $(srcdir) in \
32518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32519 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32521 esac; \
32522 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32523 libsrcdir="$$s/libgcc"; \
32524 $(SHELL) $${libsrcdir}/configure \
32525 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32526 --target=${target_alias} $${srcdiroption} \
32527 --with-build-libsubdir=$(HOST_SUBDIR) \
32528 $(STAGE4_CONFIGURE_FLAGS)
32529 @endif target-libgcc-bootstrap
32531 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32532 maybe-configure-stageprofile-target-libgcc:
32533 @if target-libgcc-bootstrap
32534 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32535 configure-stageprofile-target-libgcc:
32536 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32537 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32538 @r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32541 echo "Checking multilib configuration for libgcc..."; \
32542 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32543 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32544 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32545 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32546 else \
32547 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32548 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32549 fi; \
32550 else \
32551 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32552 fi; \
32553 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32554 $(NORMAL_TARGET_EXPORTS) \
32556 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32559 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32561 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32562 case $(srcdir) in \
32563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32564 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32566 esac; \
32567 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32568 libsrcdir="$$s/libgcc"; \
32569 $(SHELL) $${libsrcdir}/configure \
32570 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32571 --target=${target_alias} $${srcdiroption} \
32572 --with-build-libsubdir=$(HOST_SUBDIR) \
32573 $(STAGEprofile_CONFIGURE_FLAGS)
32574 @endif target-libgcc-bootstrap
32576 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32577 maybe-configure-stagefeedback-target-libgcc:
32578 @if target-libgcc-bootstrap
32579 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32580 configure-stagefeedback-target-libgcc:
32581 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32582 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32583 @r=`${PWD_COMMAND}`; export r; \
32584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32585 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32586 echo "Checking multilib configuration for libgcc..."; \
32587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32588 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32589 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32590 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32591 else \
32592 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32593 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32594 fi; \
32595 else \
32596 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32597 fi; \
32598 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32599 $(NORMAL_TARGET_EXPORTS) \
32601 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32602 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32603 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32604 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32606 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32607 case $(srcdir) in \
32608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32609 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32611 esac; \
32612 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32613 libsrcdir="$$s/libgcc"; \
32614 $(SHELL) $${libsrcdir}/configure \
32615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32616 --target=${target_alias} $${srcdiroption} \
32617 --with-build-libsubdir=$(HOST_SUBDIR) \
32618 $(STAGEfeedback_CONFIGURE_FLAGS)
32619 @endif target-libgcc-bootstrap
32625 .PHONY: all-target-libgcc maybe-all-target-libgcc
32626 maybe-all-target-libgcc:
32627 @if gcc-bootstrap
32628 all-target-libgcc: stage_current
32629 @endif gcc-bootstrap
32630 @if target-libgcc
32631 TARGET-target-libgcc=all
32632 maybe-all-target-libgcc: all-target-libgcc
32633 all-target-libgcc: configure-target-libgcc
32634 @r=`${PWD_COMMAND}`; export r; \
32635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32636 $(NORMAL_TARGET_EXPORTS) \
32637 (cd $(TARGET_SUBDIR)/libgcc && \
32638 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32639 $(TARGET-target-libgcc))
32640 @endif target-libgcc
32644 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32645 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32646 maybe-all-stage1-target-libgcc:
32647 maybe-clean-stage1-target-libgcc:
32648 @if target-libgcc-bootstrap
32649 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32650 all-stage1: all-stage1-target-libgcc
32651 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32652 all-stage1-target-libgcc: configure-stage1-target-libgcc
32653 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32654 @r=`${PWD_COMMAND}`; export r; \
32655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32656 TFLAGS="$(STAGE1_TFLAGS)"; \
32657 $(NORMAL_TARGET_EXPORTS) \
32658 cd $(TARGET_SUBDIR)/libgcc && \
32659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32660 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32661 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32662 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32663 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32664 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32665 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32666 $(EXTRA_TARGET_FLAGS) \
32667 TFLAGS="$(STAGE1_TFLAGS)" \
32668 $(TARGET-stage1-target-libgcc)
32670 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32671 clean-stage1: clean-stage1-target-libgcc
32672 clean-stage1-target-libgcc:
32673 @if [ $(current_stage) = stage1 ]; then \
32674 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32675 else \
32676 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32677 $(MAKE) stage1-start; \
32678 fi; \
32679 cd $(TARGET_SUBDIR)/libgcc && \
32680 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32681 clean
32682 @endif target-libgcc-bootstrap
32685 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32686 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32687 maybe-all-stage2-target-libgcc:
32688 maybe-clean-stage2-target-libgcc:
32689 @if target-libgcc-bootstrap
32690 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32691 all-stage2: all-stage2-target-libgcc
32692 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32693 all-stage2-target-libgcc: configure-stage2-target-libgcc
32694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32695 @r=`${PWD_COMMAND}`; export r; \
32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32697 TFLAGS="$(STAGE2_TFLAGS)"; \
32698 $(NORMAL_TARGET_EXPORTS) \
32700 cd $(TARGET_SUBDIR)/libgcc && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32702 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32703 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32704 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32708 $(EXTRA_TARGET_FLAGS) \
32709 TFLAGS="$(STAGE2_TFLAGS)" \
32710 $(TARGET-stage2-target-libgcc)
32712 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32713 clean-stage2: clean-stage2-target-libgcc
32714 clean-stage2-target-libgcc:
32715 @if [ $(current_stage) = stage2 ]; then \
32716 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32717 else \
32718 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32719 $(MAKE) stage2-start; \
32720 fi; \
32721 cd $(TARGET_SUBDIR)/libgcc && \
32722 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32724 clean
32725 @endif target-libgcc-bootstrap
32728 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32729 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32730 maybe-all-stage3-target-libgcc:
32731 maybe-clean-stage3-target-libgcc:
32732 @if target-libgcc-bootstrap
32733 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32734 all-stage3: all-stage3-target-libgcc
32735 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32736 all-stage3-target-libgcc: configure-stage3-target-libgcc
32737 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32738 @r=`${PWD_COMMAND}`; export r; \
32739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32740 TFLAGS="$(STAGE3_TFLAGS)"; \
32741 $(NORMAL_TARGET_EXPORTS) \
32743 cd $(TARGET_SUBDIR)/libgcc && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32745 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32746 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32747 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32751 $(EXTRA_TARGET_FLAGS) \
32752 TFLAGS="$(STAGE3_TFLAGS)" \
32753 $(TARGET-stage3-target-libgcc)
32755 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32756 clean-stage3: clean-stage3-target-libgcc
32757 clean-stage3-target-libgcc:
32758 @if [ $(current_stage) = stage3 ]; then \
32759 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32760 else \
32761 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32762 $(MAKE) stage3-start; \
32763 fi; \
32764 cd $(TARGET_SUBDIR)/libgcc && \
32765 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32767 clean
32768 @endif target-libgcc-bootstrap
32771 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32772 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32773 maybe-all-stage4-target-libgcc:
32774 maybe-clean-stage4-target-libgcc:
32775 @if target-libgcc-bootstrap
32776 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32777 all-stage4: all-stage4-target-libgcc
32778 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32779 all-stage4-target-libgcc: configure-stage4-target-libgcc
32780 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32781 @r=`${PWD_COMMAND}`; export r; \
32782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32783 TFLAGS="$(STAGE4_TFLAGS)"; \
32784 $(NORMAL_TARGET_EXPORTS) \
32786 cd $(TARGET_SUBDIR)/libgcc && \
32787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32788 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32794 $(EXTRA_TARGET_FLAGS) \
32795 TFLAGS="$(STAGE4_TFLAGS)" \
32796 $(TARGET-stage4-target-libgcc)
32798 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32799 clean-stage4: clean-stage4-target-libgcc
32800 clean-stage4-target-libgcc:
32801 @if [ $(current_stage) = stage4 ]; then \
32802 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32803 else \
32804 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32805 $(MAKE) stage4-start; \
32806 fi; \
32807 cd $(TARGET_SUBDIR)/libgcc && \
32808 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32810 clean
32811 @endif target-libgcc-bootstrap
32814 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32815 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32816 maybe-all-stageprofile-target-libgcc:
32817 maybe-clean-stageprofile-target-libgcc:
32818 @if target-libgcc-bootstrap
32819 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32820 all-stageprofile: all-stageprofile-target-libgcc
32821 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32822 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32824 @r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32827 $(NORMAL_TARGET_EXPORTS) \
32829 cd $(TARGET_SUBDIR)/libgcc && \
32830 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32831 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32832 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32833 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32837 $(EXTRA_TARGET_FLAGS) \
32838 TFLAGS="$(STAGEprofile_TFLAGS)" \
32839 $(TARGET-stageprofile-target-libgcc)
32841 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32842 clean-stageprofile: clean-stageprofile-target-libgcc
32843 clean-stageprofile-target-libgcc:
32844 @if [ $(current_stage) = stageprofile ]; then \
32845 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32846 else \
32847 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32848 $(MAKE) stageprofile-start; \
32849 fi; \
32850 cd $(TARGET_SUBDIR)/libgcc && \
32851 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32853 clean
32854 @endif target-libgcc-bootstrap
32857 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32858 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32859 maybe-all-stagefeedback-target-libgcc:
32860 maybe-clean-stagefeedback-target-libgcc:
32861 @if target-libgcc-bootstrap
32862 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32863 all-stagefeedback: all-stagefeedback-target-libgcc
32864 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32865 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32866 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32867 @r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32870 $(NORMAL_TARGET_EXPORTS) \
32872 cd $(TARGET_SUBDIR)/libgcc && \
32873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32874 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32875 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32876 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32880 $(EXTRA_TARGET_FLAGS) \
32881 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32882 $(TARGET-stagefeedback-target-libgcc)
32884 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32885 clean-stagefeedback: clean-stagefeedback-target-libgcc
32886 clean-stagefeedback-target-libgcc:
32887 @if [ $(current_stage) = stagefeedback ]; then \
32888 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32889 else \
32890 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32891 $(MAKE) stagefeedback-start; \
32892 fi; \
32893 cd $(TARGET_SUBDIR)/libgcc && \
32894 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32896 clean
32897 @endif target-libgcc-bootstrap
32904 .PHONY: check-target-libgcc maybe-check-target-libgcc
32905 maybe-check-target-libgcc:
32906 @if target-libgcc
32907 maybe-check-target-libgcc: check-target-libgcc
32909 # Dummy target for uncheckable module.
32910 check-target-libgcc:
32912 @endif target-libgcc
32914 .PHONY: install-target-libgcc maybe-install-target-libgcc
32915 maybe-install-target-libgcc:
32916 @if target-libgcc
32917 maybe-install-target-libgcc: install-target-libgcc
32919 install-target-libgcc: installdirs
32920 @: $(MAKE); $(unstage)
32921 @r=`${PWD_COMMAND}`; export r; \
32922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32923 $(NORMAL_TARGET_EXPORTS) \
32924 (cd $(TARGET_SUBDIR)/libgcc && \
32925 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32927 @endif target-libgcc
32929 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32930 maybe-install-strip-target-libgcc:
32931 @if target-libgcc
32932 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32934 install-strip-target-libgcc: installdirs
32935 @: $(MAKE); $(unstage)
32936 @r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(NORMAL_TARGET_EXPORTS) \
32939 (cd $(TARGET_SUBDIR)/libgcc && \
32940 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32942 @endif target-libgcc
32944 # Other targets (info, dvi, pdf, etc.)
32946 .PHONY: maybe-info-target-libgcc info-target-libgcc
32947 maybe-info-target-libgcc:
32948 @if target-libgcc
32949 maybe-info-target-libgcc: info-target-libgcc
32951 info-target-libgcc: \
32952 configure-target-libgcc
32953 @: $(MAKE); $(unstage)
32954 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32955 r=`${PWD_COMMAND}`; export r; \
32956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32957 $(NORMAL_TARGET_EXPORTS) \
32958 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32959 for flag in $(EXTRA_TARGET_FLAGS); do \
32960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32961 done; \
32962 (cd $(TARGET_SUBDIR)/libgcc && \
32963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32965 "RANLIB=$${RANLIB}" \
32966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32967 info) \
32968 || exit 1
32970 @endif target-libgcc
32972 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
32973 maybe-dvi-target-libgcc:
32974 @if target-libgcc
32975 maybe-dvi-target-libgcc: dvi-target-libgcc
32977 dvi-target-libgcc: \
32978 configure-target-libgcc
32979 @: $(MAKE); $(unstage)
32980 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32981 r=`${PWD_COMMAND}`; export r; \
32982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32983 $(NORMAL_TARGET_EXPORTS) \
32984 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
32985 for flag in $(EXTRA_TARGET_FLAGS); do \
32986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32987 done; \
32988 (cd $(TARGET_SUBDIR)/libgcc && \
32989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32991 "RANLIB=$${RANLIB}" \
32992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32993 dvi) \
32994 || exit 1
32996 @endif target-libgcc
32998 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
32999 maybe-pdf-target-libgcc:
33000 @if target-libgcc
33001 maybe-pdf-target-libgcc: pdf-target-libgcc
33003 pdf-target-libgcc: \
33004 configure-target-libgcc
33005 @: $(MAKE); $(unstage)
33006 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33007 r=`${PWD_COMMAND}`; export r; \
33008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33009 $(NORMAL_TARGET_EXPORTS) \
33010 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33011 for flag in $(EXTRA_TARGET_FLAGS); do \
33012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33013 done; \
33014 (cd $(TARGET_SUBDIR)/libgcc && \
33015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33017 "RANLIB=$${RANLIB}" \
33018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33019 pdf) \
33020 || exit 1
33022 @endif target-libgcc
33024 .PHONY: maybe-html-target-libgcc html-target-libgcc
33025 maybe-html-target-libgcc:
33026 @if target-libgcc
33027 maybe-html-target-libgcc: html-target-libgcc
33029 html-target-libgcc: \
33030 configure-target-libgcc
33031 @: $(MAKE); $(unstage)
33032 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33033 r=`${PWD_COMMAND}`; export r; \
33034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33035 $(NORMAL_TARGET_EXPORTS) \
33036 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33037 for flag in $(EXTRA_TARGET_FLAGS); do \
33038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33039 done; \
33040 (cd $(TARGET_SUBDIR)/libgcc && \
33041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33043 "RANLIB=$${RANLIB}" \
33044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33045 html) \
33046 || exit 1
33048 @endif target-libgcc
33050 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33051 maybe-TAGS-target-libgcc:
33052 @if target-libgcc
33053 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33055 TAGS-target-libgcc: \
33056 configure-target-libgcc
33057 @: $(MAKE); $(unstage)
33058 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33059 r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 $(NORMAL_TARGET_EXPORTS) \
33062 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33063 for flag in $(EXTRA_TARGET_FLAGS); do \
33064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33065 done; \
33066 (cd $(TARGET_SUBDIR)/libgcc && \
33067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33069 "RANLIB=$${RANLIB}" \
33070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33071 TAGS) \
33072 || exit 1
33074 @endif target-libgcc
33076 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33077 maybe-install-info-target-libgcc:
33078 @if target-libgcc
33079 maybe-install-info-target-libgcc: install-info-target-libgcc
33081 install-info-target-libgcc: \
33082 configure-target-libgcc \
33083 info-target-libgcc
33084 @: $(MAKE); $(unstage)
33085 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33086 r=`${PWD_COMMAND}`; export r; \
33087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33088 $(NORMAL_TARGET_EXPORTS) \
33089 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33090 for flag in $(EXTRA_TARGET_FLAGS); do \
33091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33092 done; \
33093 (cd $(TARGET_SUBDIR)/libgcc && \
33094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33096 "RANLIB=$${RANLIB}" \
33097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33098 install-info) \
33099 || exit 1
33101 @endif target-libgcc
33103 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33104 maybe-install-pdf-target-libgcc:
33105 @if target-libgcc
33106 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33108 install-pdf-target-libgcc: \
33109 configure-target-libgcc \
33110 pdf-target-libgcc
33111 @: $(MAKE); $(unstage)
33112 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33113 r=`${PWD_COMMAND}`; export r; \
33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33115 $(NORMAL_TARGET_EXPORTS) \
33116 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33117 for flag in $(EXTRA_TARGET_FLAGS); do \
33118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33119 done; \
33120 (cd $(TARGET_SUBDIR)/libgcc && \
33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33123 "RANLIB=$${RANLIB}" \
33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33125 install-pdf) \
33126 || exit 1
33128 @endif target-libgcc
33130 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33131 maybe-install-html-target-libgcc:
33132 @if target-libgcc
33133 maybe-install-html-target-libgcc: install-html-target-libgcc
33135 install-html-target-libgcc: \
33136 configure-target-libgcc \
33137 html-target-libgcc
33138 @: $(MAKE); $(unstage)
33139 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33140 r=`${PWD_COMMAND}`; export r; \
33141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33142 $(NORMAL_TARGET_EXPORTS) \
33143 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33144 for flag in $(EXTRA_TARGET_FLAGS); do \
33145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33146 done; \
33147 (cd $(TARGET_SUBDIR)/libgcc && \
33148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33150 "RANLIB=$${RANLIB}" \
33151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33152 install-html) \
33153 || exit 1
33155 @endif target-libgcc
33157 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33158 maybe-installcheck-target-libgcc:
33159 @if target-libgcc
33160 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33162 installcheck-target-libgcc: \
33163 configure-target-libgcc
33164 @: $(MAKE); $(unstage)
33165 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33166 r=`${PWD_COMMAND}`; export r; \
33167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33168 $(NORMAL_TARGET_EXPORTS) \
33169 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33170 for flag in $(EXTRA_TARGET_FLAGS); do \
33171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33172 done; \
33173 (cd $(TARGET_SUBDIR)/libgcc && \
33174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33176 "RANLIB=$${RANLIB}" \
33177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33178 installcheck) \
33179 || exit 1
33181 @endif target-libgcc
33183 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33184 maybe-mostlyclean-target-libgcc:
33185 @if target-libgcc
33186 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33188 mostlyclean-target-libgcc:
33189 @: $(MAKE); $(unstage)
33190 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33191 r=`${PWD_COMMAND}`; export r; \
33192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33193 $(NORMAL_TARGET_EXPORTS) \
33194 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33195 for flag in $(EXTRA_TARGET_FLAGS); do \
33196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33197 done; \
33198 (cd $(TARGET_SUBDIR)/libgcc && \
33199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33201 "RANLIB=$${RANLIB}" \
33202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33203 mostlyclean) \
33204 || exit 1
33206 @endif target-libgcc
33208 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33209 maybe-clean-target-libgcc:
33210 @if target-libgcc
33211 maybe-clean-target-libgcc: clean-target-libgcc
33213 clean-target-libgcc:
33214 @: $(MAKE); $(unstage)
33215 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33216 r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(NORMAL_TARGET_EXPORTS) \
33219 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33220 for flag in $(EXTRA_TARGET_FLAGS); do \
33221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33222 done; \
33223 (cd $(TARGET_SUBDIR)/libgcc && \
33224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33226 "RANLIB=$${RANLIB}" \
33227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33228 clean) \
33229 || exit 1
33231 @endif target-libgcc
33233 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33234 maybe-distclean-target-libgcc:
33235 @if target-libgcc
33236 maybe-distclean-target-libgcc: distclean-target-libgcc
33238 distclean-target-libgcc:
33239 @: $(MAKE); $(unstage)
33240 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33241 r=`${PWD_COMMAND}`; export r; \
33242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33243 $(NORMAL_TARGET_EXPORTS) \
33244 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33245 for flag in $(EXTRA_TARGET_FLAGS); do \
33246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33247 done; \
33248 (cd $(TARGET_SUBDIR)/libgcc && \
33249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33251 "RANLIB=$${RANLIB}" \
33252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33253 distclean) \
33254 || exit 1
33256 @endif target-libgcc
33258 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33259 maybe-maintainer-clean-target-libgcc:
33260 @if target-libgcc
33261 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33263 maintainer-clean-target-libgcc:
33264 @: $(MAKE); $(unstage)
33265 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33266 r=`${PWD_COMMAND}`; export r; \
33267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33268 $(NORMAL_TARGET_EXPORTS) \
33269 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33270 for flag in $(EXTRA_TARGET_FLAGS); do \
33271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33272 done; \
33273 (cd $(TARGET_SUBDIR)/libgcc && \
33274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33276 "RANLIB=$${RANLIB}" \
33277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33278 maintainer-clean) \
33279 || exit 1
33281 @endif target-libgcc
33287 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33288 maybe-configure-target-libquadmath:
33289 @if gcc-bootstrap
33290 configure-target-libquadmath: stage_current
33291 @endif gcc-bootstrap
33292 @if target-libquadmath
33293 maybe-configure-target-libquadmath: configure-target-libquadmath
33294 configure-target-libquadmath:
33295 @: $(MAKE); $(unstage)
33296 @r=`${PWD_COMMAND}`; export r; \
33297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33298 echo "Checking multilib configuration for libquadmath..."; \
33299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33300 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33301 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33302 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33303 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33304 else \
33305 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33306 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33307 fi; \
33308 else \
33309 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33310 fi; \
33311 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33313 $(NORMAL_TARGET_EXPORTS) \
33314 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33315 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33316 case $(srcdir) in \
33317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33318 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33320 esac; \
33321 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33322 libsrcdir="$$s/libquadmath"; \
33323 rm -f no-such-file || : ; \
33324 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33325 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33326 --target=${target_alias} $${srcdiroption} \
33327 || exit 1
33328 @endif target-libquadmath
33334 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33335 maybe-all-target-libquadmath:
33336 @if gcc-bootstrap
33337 all-target-libquadmath: stage_current
33338 @endif gcc-bootstrap
33339 @if target-libquadmath
33340 TARGET-target-libquadmath=all
33341 maybe-all-target-libquadmath: all-target-libquadmath
33342 all-target-libquadmath: configure-target-libquadmath
33343 @: $(MAKE); $(unstage)
33344 @r=`${PWD_COMMAND}`; export r; \
33345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33346 $(NORMAL_TARGET_EXPORTS) \
33347 (cd $(TARGET_SUBDIR)/libquadmath && \
33348 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33349 $(TARGET-target-libquadmath))
33350 @endif target-libquadmath
33356 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33357 maybe-check-target-libquadmath:
33358 @if target-libquadmath
33359 maybe-check-target-libquadmath: check-target-libquadmath
33361 check-target-libquadmath:
33362 @: $(MAKE); $(unstage)
33363 @r=`${PWD_COMMAND}`; export r; \
33364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33365 $(NORMAL_TARGET_EXPORTS) \
33366 (cd $(TARGET_SUBDIR)/libquadmath && \
33367 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33369 @endif target-libquadmath
33371 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33372 maybe-install-target-libquadmath:
33373 @if target-libquadmath
33374 maybe-install-target-libquadmath: install-target-libquadmath
33376 install-target-libquadmath: installdirs
33377 @: $(MAKE); $(unstage)
33378 @r=`${PWD_COMMAND}`; export r; \
33379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33380 $(NORMAL_TARGET_EXPORTS) \
33381 (cd $(TARGET_SUBDIR)/libquadmath && \
33382 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33384 @endif target-libquadmath
33386 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33387 maybe-install-strip-target-libquadmath:
33388 @if target-libquadmath
33389 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33391 install-strip-target-libquadmath: installdirs
33392 @: $(MAKE); $(unstage)
33393 @r=`${PWD_COMMAND}`; export r; \
33394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33395 $(NORMAL_TARGET_EXPORTS) \
33396 (cd $(TARGET_SUBDIR)/libquadmath && \
33397 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33399 @endif target-libquadmath
33401 # Other targets (info, dvi, pdf, etc.)
33403 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33404 maybe-info-target-libquadmath:
33405 @if target-libquadmath
33406 maybe-info-target-libquadmath: info-target-libquadmath
33408 info-target-libquadmath: \
33409 configure-target-libquadmath
33410 @: $(MAKE); $(unstage)
33411 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33412 r=`${PWD_COMMAND}`; export r; \
33413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33414 $(NORMAL_TARGET_EXPORTS) \
33415 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33416 for flag in $(EXTRA_TARGET_FLAGS); do \
33417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33418 done; \
33419 (cd $(TARGET_SUBDIR)/libquadmath && \
33420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33422 "RANLIB=$${RANLIB}" \
33423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33424 info) \
33425 || exit 1
33427 @endif target-libquadmath
33429 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33430 maybe-dvi-target-libquadmath:
33431 @if target-libquadmath
33432 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33434 dvi-target-libquadmath: \
33435 configure-target-libquadmath
33436 @: $(MAKE); $(unstage)
33437 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33438 r=`${PWD_COMMAND}`; export r; \
33439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33440 $(NORMAL_TARGET_EXPORTS) \
33441 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33442 for flag in $(EXTRA_TARGET_FLAGS); do \
33443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33444 done; \
33445 (cd $(TARGET_SUBDIR)/libquadmath && \
33446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33448 "RANLIB=$${RANLIB}" \
33449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33450 dvi) \
33451 || exit 1
33453 @endif target-libquadmath
33455 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33456 maybe-pdf-target-libquadmath:
33457 @if target-libquadmath
33458 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33460 pdf-target-libquadmath: \
33461 configure-target-libquadmath
33462 @: $(MAKE); $(unstage)
33463 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33464 r=`${PWD_COMMAND}`; export r; \
33465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33466 $(NORMAL_TARGET_EXPORTS) \
33467 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33468 for flag in $(EXTRA_TARGET_FLAGS); do \
33469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33470 done; \
33471 (cd $(TARGET_SUBDIR)/libquadmath && \
33472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33474 "RANLIB=$${RANLIB}" \
33475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33476 pdf) \
33477 || exit 1
33479 @endif target-libquadmath
33481 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33482 maybe-html-target-libquadmath:
33483 @if target-libquadmath
33484 maybe-html-target-libquadmath: html-target-libquadmath
33486 html-target-libquadmath: \
33487 configure-target-libquadmath
33488 @: $(MAKE); $(unstage)
33489 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33490 r=`${PWD_COMMAND}`; export r; \
33491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33492 $(NORMAL_TARGET_EXPORTS) \
33493 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33494 for flag in $(EXTRA_TARGET_FLAGS); do \
33495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33496 done; \
33497 (cd $(TARGET_SUBDIR)/libquadmath && \
33498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33500 "RANLIB=$${RANLIB}" \
33501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33502 html) \
33503 || exit 1
33505 @endif target-libquadmath
33507 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33508 maybe-TAGS-target-libquadmath:
33509 @if target-libquadmath
33510 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33512 TAGS-target-libquadmath: \
33513 configure-target-libquadmath
33514 @: $(MAKE); $(unstage)
33515 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33516 r=`${PWD_COMMAND}`; export r; \
33517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33518 $(NORMAL_TARGET_EXPORTS) \
33519 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33520 for flag in $(EXTRA_TARGET_FLAGS); do \
33521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33522 done; \
33523 (cd $(TARGET_SUBDIR)/libquadmath && \
33524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33526 "RANLIB=$${RANLIB}" \
33527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33528 TAGS) \
33529 || exit 1
33531 @endif target-libquadmath
33533 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33534 maybe-install-info-target-libquadmath:
33535 @if target-libquadmath
33536 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33538 install-info-target-libquadmath: \
33539 configure-target-libquadmath \
33540 info-target-libquadmath
33541 @: $(MAKE); $(unstage)
33542 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33543 r=`${PWD_COMMAND}`; export r; \
33544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33545 $(NORMAL_TARGET_EXPORTS) \
33546 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33547 for flag in $(EXTRA_TARGET_FLAGS); do \
33548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33549 done; \
33550 (cd $(TARGET_SUBDIR)/libquadmath && \
33551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33553 "RANLIB=$${RANLIB}" \
33554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33555 install-info) \
33556 || exit 1
33558 @endif target-libquadmath
33560 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33561 maybe-install-pdf-target-libquadmath:
33562 @if target-libquadmath
33563 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33565 install-pdf-target-libquadmath: \
33566 configure-target-libquadmath \
33567 pdf-target-libquadmath
33568 @: $(MAKE); $(unstage)
33569 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33570 r=`${PWD_COMMAND}`; export r; \
33571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33572 $(NORMAL_TARGET_EXPORTS) \
33573 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33574 for flag in $(EXTRA_TARGET_FLAGS); do \
33575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33576 done; \
33577 (cd $(TARGET_SUBDIR)/libquadmath && \
33578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33580 "RANLIB=$${RANLIB}" \
33581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33582 install-pdf) \
33583 || exit 1
33585 @endif target-libquadmath
33587 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33588 maybe-install-html-target-libquadmath:
33589 @if target-libquadmath
33590 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33592 install-html-target-libquadmath: \
33593 configure-target-libquadmath \
33594 html-target-libquadmath
33595 @: $(MAKE); $(unstage)
33596 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33597 r=`${PWD_COMMAND}`; export r; \
33598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33599 $(NORMAL_TARGET_EXPORTS) \
33600 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33601 for flag in $(EXTRA_TARGET_FLAGS); do \
33602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33603 done; \
33604 (cd $(TARGET_SUBDIR)/libquadmath && \
33605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33607 "RANLIB=$${RANLIB}" \
33608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33609 install-html) \
33610 || exit 1
33612 @endif target-libquadmath
33614 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33615 maybe-installcheck-target-libquadmath:
33616 @if target-libquadmath
33617 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33619 installcheck-target-libquadmath: \
33620 configure-target-libquadmath
33621 @: $(MAKE); $(unstage)
33622 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33623 r=`${PWD_COMMAND}`; export r; \
33624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33625 $(NORMAL_TARGET_EXPORTS) \
33626 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33627 for flag in $(EXTRA_TARGET_FLAGS); do \
33628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33629 done; \
33630 (cd $(TARGET_SUBDIR)/libquadmath && \
33631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33633 "RANLIB=$${RANLIB}" \
33634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33635 installcheck) \
33636 || exit 1
33638 @endif target-libquadmath
33640 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33641 maybe-mostlyclean-target-libquadmath:
33642 @if target-libquadmath
33643 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33645 mostlyclean-target-libquadmath:
33646 @: $(MAKE); $(unstage)
33647 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33648 r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 $(NORMAL_TARGET_EXPORTS) \
33651 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33652 for flag in $(EXTRA_TARGET_FLAGS); do \
33653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33654 done; \
33655 (cd $(TARGET_SUBDIR)/libquadmath && \
33656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33658 "RANLIB=$${RANLIB}" \
33659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33660 mostlyclean) \
33661 || exit 1
33663 @endif target-libquadmath
33665 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33666 maybe-clean-target-libquadmath:
33667 @if target-libquadmath
33668 maybe-clean-target-libquadmath: clean-target-libquadmath
33670 clean-target-libquadmath:
33671 @: $(MAKE); $(unstage)
33672 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33673 r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 $(NORMAL_TARGET_EXPORTS) \
33676 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33677 for flag in $(EXTRA_TARGET_FLAGS); do \
33678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33679 done; \
33680 (cd $(TARGET_SUBDIR)/libquadmath && \
33681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33683 "RANLIB=$${RANLIB}" \
33684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33685 clean) \
33686 || exit 1
33688 @endif target-libquadmath
33690 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33691 maybe-distclean-target-libquadmath:
33692 @if target-libquadmath
33693 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33695 distclean-target-libquadmath:
33696 @: $(MAKE); $(unstage)
33697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(NORMAL_TARGET_EXPORTS) \
33701 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/libquadmath && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33710 distclean) \
33711 || exit 1
33713 @endif target-libquadmath
33715 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33716 maybe-maintainer-clean-target-libquadmath:
33717 @if target-libquadmath
33718 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33720 maintainer-clean-target-libquadmath:
33721 @: $(MAKE); $(unstage)
33722 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33723 r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33725 $(NORMAL_TARGET_EXPORTS) \
33726 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33727 for flag in $(EXTRA_TARGET_FLAGS); do \
33728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33729 done; \
33730 (cd $(TARGET_SUBDIR)/libquadmath && \
33731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33733 "RANLIB=$${RANLIB}" \
33734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33735 maintainer-clean) \
33736 || exit 1
33738 @endif target-libquadmath
33744 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33745 maybe-configure-target-libgfortran:
33746 @if gcc-bootstrap
33747 configure-target-libgfortran: stage_current
33748 @endif gcc-bootstrap
33749 @if target-libgfortran
33750 maybe-configure-target-libgfortran: configure-target-libgfortran
33751 configure-target-libgfortran:
33752 @: $(MAKE); $(unstage)
33753 @r=`${PWD_COMMAND}`; export r; \
33754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33755 echo "Checking multilib configuration for libgfortran..."; \
33756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33757 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33758 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33759 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33760 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33761 else \
33762 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33763 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33764 fi; \
33765 else \
33766 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33767 fi; \
33768 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33770 $(NORMAL_TARGET_EXPORTS) \
33771 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33772 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33773 case $(srcdir) in \
33774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33775 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33777 esac; \
33778 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33779 libsrcdir="$$s/libgfortran"; \
33780 rm -f no-such-file || : ; \
33781 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33782 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33783 --target=${target_alias} $${srcdiroption} \
33784 || exit 1
33785 @endif target-libgfortran
33791 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33792 maybe-all-target-libgfortran:
33793 @if gcc-bootstrap
33794 all-target-libgfortran: stage_current
33795 @endif gcc-bootstrap
33796 @if target-libgfortran
33797 TARGET-target-libgfortran=all
33798 maybe-all-target-libgfortran: all-target-libgfortran
33799 all-target-libgfortran: configure-target-libgfortran
33800 @: $(MAKE); $(unstage)
33801 @r=`${PWD_COMMAND}`; export r; \
33802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33803 $(NORMAL_TARGET_EXPORTS) \
33804 (cd $(TARGET_SUBDIR)/libgfortran && \
33805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33806 $(TARGET-target-libgfortran))
33807 @endif target-libgfortran
33813 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33814 maybe-check-target-libgfortran:
33815 @if target-libgfortran
33816 maybe-check-target-libgfortran: check-target-libgfortran
33818 check-target-libgfortran:
33819 @: $(MAKE); $(unstage)
33820 @r=`${PWD_COMMAND}`; export r; \
33821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33822 $(NORMAL_TARGET_EXPORTS) \
33823 (cd $(TARGET_SUBDIR)/libgfortran && \
33824 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33826 @endif target-libgfortran
33828 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33829 maybe-install-target-libgfortran:
33830 @if target-libgfortran
33831 maybe-install-target-libgfortran: install-target-libgfortran
33833 install-target-libgfortran: installdirs
33834 @: $(MAKE); $(unstage)
33835 @r=`${PWD_COMMAND}`; export r; \
33836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33837 $(NORMAL_TARGET_EXPORTS) \
33838 (cd $(TARGET_SUBDIR)/libgfortran && \
33839 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33841 @endif target-libgfortran
33843 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33844 maybe-install-strip-target-libgfortran:
33845 @if target-libgfortran
33846 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33848 install-strip-target-libgfortran: installdirs
33849 @: $(MAKE); $(unstage)
33850 @r=`${PWD_COMMAND}`; export r; \
33851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33852 $(NORMAL_TARGET_EXPORTS) \
33853 (cd $(TARGET_SUBDIR)/libgfortran && \
33854 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33856 @endif target-libgfortran
33858 # Other targets (info, dvi, pdf, etc.)
33860 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33861 maybe-info-target-libgfortran:
33862 @if target-libgfortran
33863 maybe-info-target-libgfortran: info-target-libgfortran
33865 info-target-libgfortran: \
33866 configure-target-libgfortran
33867 @: $(MAKE); $(unstage)
33868 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33869 r=`${PWD_COMMAND}`; export r; \
33870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33871 $(NORMAL_TARGET_EXPORTS) \
33872 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33873 for flag in $(EXTRA_TARGET_FLAGS); do \
33874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33875 done; \
33876 (cd $(TARGET_SUBDIR)/libgfortran && \
33877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33879 "RANLIB=$${RANLIB}" \
33880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33881 info) \
33882 || exit 1
33884 @endif target-libgfortran
33886 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33887 maybe-dvi-target-libgfortran:
33888 @if target-libgfortran
33889 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33891 dvi-target-libgfortran: \
33892 configure-target-libgfortran
33893 @: $(MAKE); $(unstage)
33894 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(NORMAL_TARGET_EXPORTS) \
33898 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33899 for flag in $(EXTRA_TARGET_FLAGS); do \
33900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33901 done; \
33902 (cd $(TARGET_SUBDIR)/libgfortran && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33907 dvi) \
33908 || exit 1
33910 @endif target-libgfortran
33912 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33913 maybe-pdf-target-libgfortran:
33914 @if target-libgfortran
33915 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33917 pdf-target-libgfortran: \
33918 configure-target-libgfortran
33919 @: $(MAKE); $(unstage)
33920 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33921 r=`${PWD_COMMAND}`; export r; \
33922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33923 $(NORMAL_TARGET_EXPORTS) \
33924 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33925 for flag in $(EXTRA_TARGET_FLAGS); do \
33926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33927 done; \
33928 (cd $(TARGET_SUBDIR)/libgfortran && \
33929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33931 "RANLIB=$${RANLIB}" \
33932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33933 pdf) \
33934 || exit 1
33936 @endif target-libgfortran
33938 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33939 maybe-html-target-libgfortran:
33940 @if target-libgfortran
33941 maybe-html-target-libgfortran: html-target-libgfortran
33943 html-target-libgfortran: \
33944 configure-target-libgfortran
33945 @: $(MAKE); $(unstage)
33946 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33947 r=`${PWD_COMMAND}`; export r; \
33948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33949 $(NORMAL_TARGET_EXPORTS) \
33950 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33951 for flag in $(EXTRA_TARGET_FLAGS); do \
33952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33953 done; \
33954 (cd $(TARGET_SUBDIR)/libgfortran && \
33955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33957 "RANLIB=$${RANLIB}" \
33958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33959 html) \
33960 || exit 1
33962 @endif target-libgfortran
33964 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33965 maybe-TAGS-target-libgfortran:
33966 @if target-libgfortran
33967 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33969 TAGS-target-libgfortran: \
33970 configure-target-libgfortran
33971 @: $(MAKE); $(unstage)
33972 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(NORMAL_TARGET_EXPORTS) \
33976 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33977 for flag in $(EXTRA_TARGET_FLAGS); do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33979 done; \
33980 (cd $(TARGET_SUBDIR)/libgfortran && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33985 TAGS) \
33986 || exit 1
33988 @endif target-libgfortran
33990 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33991 maybe-install-info-target-libgfortran:
33992 @if target-libgfortran
33993 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33995 install-info-target-libgfortran: \
33996 configure-target-libgfortran \
33997 info-target-libgfortran
33998 @: $(MAKE); $(unstage)
33999 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34000 r=`${PWD_COMMAND}`; export r; \
34001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34002 $(NORMAL_TARGET_EXPORTS) \
34003 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34004 for flag in $(EXTRA_TARGET_FLAGS); do \
34005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34006 done; \
34007 (cd $(TARGET_SUBDIR)/libgfortran && \
34008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34010 "RANLIB=$${RANLIB}" \
34011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34012 install-info) \
34013 || exit 1
34015 @endif target-libgfortran
34017 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34018 maybe-install-pdf-target-libgfortran:
34019 @if target-libgfortran
34020 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34022 install-pdf-target-libgfortran: \
34023 configure-target-libgfortran \
34024 pdf-target-libgfortran
34025 @: $(MAKE); $(unstage)
34026 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34027 r=`${PWD_COMMAND}`; export r; \
34028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34029 $(NORMAL_TARGET_EXPORTS) \
34030 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34031 for flag in $(EXTRA_TARGET_FLAGS); do \
34032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34033 done; \
34034 (cd $(TARGET_SUBDIR)/libgfortran && \
34035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34037 "RANLIB=$${RANLIB}" \
34038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34039 install-pdf) \
34040 || exit 1
34042 @endif target-libgfortran
34044 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34045 maybe-install-html-target-libgfortran:
34046 @if target-libgfortran
34047 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34049 install-html-target-libgfortran: \
34050 configure-target-libgfortran \
34051 html-target-libgfortran
34052 @: $(MAKE); $(unstage)
34053 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34054 r=`${PWD_COMMAND}`; export r; \
34055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34056 $(NORMAL_TARGET_EXPORTS) \
34057 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34058 for flag in $(EXTRA_TARGET_FLAGS); do \
34059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34060 done; \
34061 (cd $(TARGET_SUBDIR)/libgfortran && \
34062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34064 "RANLIB=$${RANLIB}" \
34065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34066 install-html) \
34067 || exit 1
34069 @endif target-libgfortran
34071 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34072 maybe-installcheck-target-libgfortran:
34073 @if target-libgfortran
34074 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34076 installcheck-target-libgfortran: \
34077 configure-target-libgfortran
34078 @: $(MAKE); $(unstage)
34079 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34080 r=`${PWD_COMMAND}`; export r; \
34081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34082 $(NORMAL_TARGET_EXPORTS) \
34083 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34084 for flag in $(EXTRA_TARGET_FLAGS); do \
34085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34086 done; \
34087 (cd $(TARGET_SUBDIR)/libgfortran && \
34088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34090 "RANLIB=$${RANLIB}" \
34091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34092 installcheck) \
34093 || exit 1
34095 @endif target-libgfortran
34097 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34098 maybe-mostlyclean-target-libgfortran:
34099 @if target-libgfortran
34100 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34102 mostlyclean-target-libgfortran:
34103 @: $(MAKE); $(unstage)
34104 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(NORMAL_TARGET_EXPORTS) \
34108 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34109 for flag in $(EXTRA_TARGET_FLAGS); do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 (cd $(TARGET_SUBDIR)/libgfortran && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34117 mostlyclean) \
34118 || exit 1
34120 @endif target-libgfortran
34122 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34123 maybe-clean-target-libgfortran:
34124 @if target-libgfortran
34125 maybe-clean-target-libgfortran: clean-target-libgfortran
34127 clean-target-libgfortran:
34128 @: $(MAKE); $(unstage)
34129 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34130 r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(NORMAL_TARGET_EXPORTS) \
34133 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34134 for flag in $(EXTRA_TARGET_FLAGS); do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 (cd $(TARGET_SUBDIR)/libgfortran && \
34138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34140 "RANLIB=$${RANLIB}" \
34141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34142 clean) \
34143 || exit 1
34145 @endif target-libgfortran
34147 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34148 maybe-distclean-target-libgfortran:
34149 @if target-libgfortran
34150 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34152 distclean-target-libgfortran:
34153 @: $(MAKE); $(unstage)
34154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(NORMAL_TARGET_EXPORTS) \
34158 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34159 for flag in $(EXTRA_TARGET_FLAGS); do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 (cd $(TARGET_SUBDIR)/libgfortran && \
34163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34165 "RANLIB=$${RANLIB}" \
34166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34167 distclean) \
34168 || exit 1
34170 @endif target-libgfortran
34172 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34173 maybe-maintainer-clean-target-libgfortran:
34174 @if target-libgfortran
34175 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34177 maintainer-clean-target-libgfortran:
34178 @: $(MAKE); $(unstage)
34179 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34180 r=`${PWD_COMMAND}`; export r; \
34181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34182 $(NORMAL_TARGET_EXPORTS) \
34183 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34184 for flag in $(EXTRA_TARGET_FLAGS); do \
34185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34186 done; \
34187 (cd $(TARGET_SUBDIR)/libgfortran && \
34188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34190 "RANLIB=$${RANLIB}" \
34191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34192 maintainer-clean) \
34193 || exit 1
34195 @endif target-libgfortran
34201 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34202 maybe-configure-target-libobjc:
34203 @if gcc-bootstrap
34204 configure-target-libobjc: stage_current
34205 @endif gcc-bootstrap
34206 @if target-libobjc
34207 maybe-configure-target-libobjc: configure-target-libobjc
34208 configure-target-libobjc:
34209 @: $(MAKE); $(unstage)
34210 @r=`${PWD_COMMAND}`; export r; \
34211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34212 echo "Checking multilib configuration for libobjc..."; \
34213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34215 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34216 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34217 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34218 else \
34219 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34220 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34221 fi; \
34222 else \
34223 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34224 fi; \
34225 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34227 $(NORMAL_TARGET_EXPORTS) \
34228 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34229 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34230 case $(srcdir) in \
34231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34232 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34234 esac; \
34235 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34236 libsrcdir="$$s/libobjc"; \
34237 rm -f no-such-file || : ; \
34238 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34239 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34240 --target=${target_alias} $${srcdiroption} \
34241 || exit 1
34242 @endif target-libobjc
34248 .PHONY: all-target-libobjc maybe-all-target-libobjc
34249 maybe-all-target-libobjc:
34250 @if gcc-bootstrap
34251 all-target-libobjc: stage_current
34252 @endif gcc-bootstrap
34253 @if target-libobjc
34254 TARGET-target-libobjc=all
34255 maybe-all-target-libobjc: all-target-libobjc
34256 all-target-libobjc: configure-target-libobjc
34257 @: $(MAKE); $(unstage)
34258 @r=`${PWD_COMMAND}`; export r; \
34259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34260 $(NORMAL_TARGET_EXPORTS) \
34261 (cd $(TARGET_SUBDIR)/libobjc && \
34262 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34263 $(TARGET-target-libobjc))
34264 @endif target-libobjc
34270 .PHONY: check-target-libobjc maybe-check-target-libobjc
34271 maybe-check-target-libobjc:
34272 @if target-libobjc
34273 maybe-check-target-libobjc: check-target-libobjc
34275 check-target-libobjc:
34276 @: $(MAKE); $(unstage)
34277 @r=`${PWD_COMMAND}`; export r; \
34278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34279 $(NORMAL_TARGET_EXPORTS) \
34280 (cd $(TARGET_SUBDIR)/libobjc && \
34281 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34283 @endif target-libobjc
34285 .PHONY: install-target-libobjc maybe-install-target-libobjc
34286 maybe-install-target-libobjc:
34287 @if target-libobjc
34288 maybe-install-target-libobjc: install-target-libobjc
34290 install-target-libobjc: installdirs
34291 @: $(MAKE); $(unstage)
34292 @r=`${PWD_COMMAND}`; export r; \
34293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34294 $(NORMAL_TARGET_EXPORTS) \
34295 (cd $(TARGET_SUBDIR)/libobjc && \
34296 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34298 @endif target-libobjc
34300 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34301 maybe-install-strip-target-libobjc:
34302 @if target-libobjc
34303 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34305 install-strip-target-libobjc: installdirs
34306 @: $(MAKE); $(unstage)
34307 @r=`${PWD_COMMAND}`; export r; \
34308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34309 $(NORMAL_TARGET_EXPORTS) \
34310 (cd $(TARGET_SUBDIR)/libobjc && \
34311 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34313 @endif target-libobjc
34315 # Other targets (info, dvi, pdf, etc.)
34317 .PHONY: maybe-info-target-libobjc info-target-libobjc
34318 maybe-info-target-libobjc:
34319 @if target-libobjc
34320 maybe-info-target-libobjc: info-target-libobjc
34322 info-target-libobjc: \
34323 configure-target-libobjc
34324 @: $(MAKE); $(unstage)
34325 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(NORMAL_TARGET_EXPORTS) \
34329 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34330 for flag in $(EXTRA_TARGET_FLAGS); do \
34331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34332 done; \
34333 (cd $(TARGET_SUBDIR)/libobjc && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34338 info) \
34339 || exit 1
34341 @endif target-libobjc
34343 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34344 maybe-dvi-target-libobjc:
34345 @if target-libobjc
34346 maybe-dvi-target-libobjc: dvi-target-libobjc
34348 dvi-target-libobjc: \
34349 configure-target-libobjc
34350 @: $(MAKE); $(unstage)
34351 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34352 r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 $(NORMAL_TARGET_EXPORTS) \
34355 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34356 for flag in $(EXTRA_TARGET_FLAGS); do \
34357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34358 done; \
34359 (cd $(TARGET_SUBDIR)/libobjc && \
34360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34362 "RANLIB=$${RANLIB}" \
34363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34364 dvi) \
34365 || exit 1
34367 @endif target-libobjc
34369 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34370 maybe-pdf-target-libobjc:
34371 @if target-libobjc
34372 maybe-pdf-target-libobjc: pdf-target-libobjc
34374 pdf-target-libobjc: \
34375 configure-target-libobjc
34376 @: $(MAKE); $(unstage)
34377 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(NORMAL_TARGET_EXPORTS) \
34381 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34382 for flag in $(EXTRA_TARGET_FLAGS); do \
34383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34384 done; \
34385 (cd $(TARGET_SUBDIR)/libobjc && \
34386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34388 "RANLIB=$${RANLIB}" \
34389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34390 pdf) \
34391 || exit 1
34393 @endif target-libobjc
34395 .PHONY: maybe-html-target-libobjc html-target-libobjc
34396 maybe-html-target-libobjc:
34397 @if target-libobjc
34398 maybe-html-target-libobjc: html-target-libobjc
34400 html-target-libobjc: \
34401 configure-target-libobjc
34402 @: $(MAKE); $(unstage)
34403 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34404 r=`${PWD_COMMAND}`; export r; \
34405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34406 $(NORMAL_TARGET_EXPORTS) \
34407 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34408 for flag in $(EXTRA_TARGET_FLAGS); do \
34409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34410 done; \
34411 (cd $(TARGET_SUBDIR)/libobjc && \
34412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34414 "RANLIB=$${RANLIB}" \
34415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34416 html) \
34417 || exit 1
34419 @endif target-libobjc
34421 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34422 maybe-TAGS-target-libobjc:
34423 @if target-libobjc
34424 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34426 TAGS-target-libobjc: \
34427 configure-target-libobjc
34428 @: $(MAKE); $(unstage)
34429 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34430 r=`${PWD_COMMAND}`; export r; \
34431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34432 $(NORMAL_TARGET_EXPORTS) \
34433 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34434 for flag in $(EXTRA_TARGET_FLAGS); do \
34435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34436 done; \
34437 (cd $(TARGET_SUBDIR)/libobjc && \
34438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34440 "RANLIB=$${RANLIB}" \
34441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34442 TAGS) \
34443 || exit 1
34445 @endif target-libobjc
34447 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34448 maybe-install-info-target-libobjc:
34449 @if target-libobjc
34450 maybe-install-info-target-libobjc: install-info-target-libobjc
34452 install-info-target-libobjc: \
34453 configure-target-libobjc \
34454 info-target-libobjc
34455 @: $(MAKE); $(unstage)
34456 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34457 r=`${PWD_COMMAND}`; export r; \
34458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34459 $(NORMAL_TARGET_EXPORTS) \
34460 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34461 for flag in $(EXTRA_TARGET_FLAGS); do \
34462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34463 done; \
34464 (cd $(TARGET_SUBDIR)/libobjc && \
34465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34467 "RANLIB=$${RANLIB}" \
34468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34469 install-info) \
34470 || exit 1
34472 @endif target-libobjc
34474 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34475 maybe-install-pdf-target-libobjc:
34476 @if target-libobjc
34477 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34479 install-pdf-target-libobjc: \
34480 configure-target-libobjc \
34481 pdf-target-libobjc
34482 @: $(MAKE); $(unstage)
34483 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34484 r=`${PWD_COMMAND}`; export r; \
34485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34486 $(NORMAL_TARGET_EXPORTS) \
34487 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34488 for flag in $(EXTRA_TARGET_FLAGS); do \
34489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34490 done; \
34491 (cd $(TARGET_SUBDIR)/libobjc && \
34492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34494 "RANLIB=$${RANLIB}" \
34495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34496 install-pdf) \
34497 || exit 1
34499 @endif target-libobjc
34501 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34502 maybe-install-html-target-libobjc:
34503 @if target-libobjc
34504 maybe-install-html-target-libobjc: install-html-target-libobjc
34506 install-html-target-libobjc: \
34507 configure-target-libobjc \
34508 html-target-libobjc
34509 @: $(MAKE); $(unstage)
34510 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34511 r=`${PWD_COMMAND}`; export r; \
34512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34513 $(NORMAL_TARGET_EXPORTS) \
34514 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34515 for flag in $(EXTRA_TARGET_FLAGS); do \
34516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34517 done; \
34518 (cd $(TARGET_SUBDIR)/libobjc && \
34519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34521 "RANLIB=$${RANLIB}" \
34522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34523 install-html) \
34524 || exit 1
34526 @endif target-libobjc
34528 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34529 maybe-installcheck-target-libobjc:
34530 @if target-libobjc
34531 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34533 installcheck-target-libobjc: \
34534 configure-target-libobjc
34535 @: $(MAKE); $(unstage)
34536 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34537 r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(NORMAL_TARGET_EXPORTS) \
34540 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34541 for flag in $(EXTRA_TARGET_FLAGS); do \
34542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34543 done; \
34544 (cd $(TARGET_SUBDIR)/libobjc && \
34545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34547 "RANLIB=$${RANLIB}" \
34548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34549 installcheck) \
34550 || exit 1
34552 @endif target-libobjc
34554 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34555 maybe-mostlyclean-target-libobjc:
34556 @if target-libobjc
34557 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34559 mostlyclean-target-libobjc:
34560 @: $(MAKE); $(unstage)
34561 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34562 r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 $(NORMAL_TARGET_EXPORTS) \
34565 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34566 for flag in $(EXTRA_TARGET_FLAGS); do \
34567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34568 done; \
34569 (cd $(TARGET_SUBDIR)/libobjc && \
34570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34572 "RANLIB=$${RANLIB}" \
34573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34574 mostlyclean) \
34575 || exit 1
34577 @endif target-libobjc
34579 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34580 maybe-clean-target-libobjc:
34581 @if target-libobjc
34582 maybe-clean-target-libobjc: clean-target-libobjc
34584 clean-target-libobjc:
34585 @: $(MAKE); $(unstage)
34586 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34587 r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 $(NORMAL_TARGET_EXPORTS) \
34590 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34591 for flag in $(EXTRA_TARGET_FLAGS); do \
34592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34593 done; \
34594 (cd $(TARGET_SUBDIR)/libobjc && \
34595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34597 "RANLIB=$${RANLIB}" \
34598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34599 clean) \
34600 || exit 1
34602 @endif target-libobjc
34604 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34605 maybe-distclean-target-libobjc:
34606 @if target-libobjc
34607 maybe-distclean-target-libobjc: distclean-target-libobjc
34609 distclean-target-libobjc:
34610 @: $(MAKE); $(unstage)
34611 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34616 for flag in $(EXTRA_TARGET_FLAGS); do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 (cd $(TARGET_SUBDIR)/libobjc && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34624 distclean) \
34625 || exit 1
34627 @endif target-libobjc
34629 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34630 maybe-maintainer-clean-target-libobjc:
34631 @if target-libobjc
34632 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34634 maintainer-clean-target-libobjc:
34635 @: $(MAKE); $(unstage)
34636 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34637 r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 $(NORMAL_TARGET_EXPORTS) \
34640 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34641 for flag in $(EXTRA_TARGET_FLAGS); do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 (cd $(TARGET_SUBDIR)/libobjc && \
34645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34647 "RANLIB=$${RANLIB}" \
34648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34649 maintainer-clean) \
34650 || exit 1
34652 @endif target-libobjc
34658 .PHONY: configure-target-libgo maybe-configure-target-libgo
34659 maybe-configure-target-libgo:
34660 @if gcc-bootstrap
34661 configure-target-libgo: stage_current
34662 @endif gcc-bootstrap
34663 @if target-libgo
34664 maybe-configure-target-libgo: configure-target-libgo
34665 configure-target-libgo:
34666 @: $(MAKE); $(unstage)
34667 @r=`${PWD_COMMAND}`; export r; \
34668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34669 echo "Checking multilib configuration for libgo..."; \
34670 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34671 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34672 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34673 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34674 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34675 else \
34676 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34677 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34678 fi; \
34679 else \
34680 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34681 fi; \
34682 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34683 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34684 $(NORMAL_TARGET_EXPORTS) \
34685 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34686 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34687 case $(srcdir) in \
34688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34689 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34691 esac; \
34692 srcdiroption="--srcdir=$${topdir}/libgo"; \
34693 libsrcdir="$$s/libgo"; \
34694 rm -f no-such-file || : ; \
34695 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34697 --target=${target_alias} $${srcdiroption} \
34698 || exit 1
34699 @endif target-libgo
34705 .PHONY: all-target-libgo maybe-all-target-libgo
34706 maybe-all-target-libgo:
34707 @if gcc-bootstrap
34708 all-target-libgo: stage_current
34709 @endif gcc-bootstrap
34710 @if target-libgo
34711 TARGET-target-libgo=all
34712 maybe-all-target-libgo: all-target-libgo
34713 all-target-libgo: configure-target-libgo
34714 @: $(MAKE); $(unstage)
34715 @r=`${PWD_COMMAND}`; export r; \
34716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34717 $(NORMAL_TARGET_EXPORTS) \
34718 (cd $(TARGET_SUBDIR)/libgo && \
34719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34720 $(TARGET-target-libgo))
34721 @endif target-libgo
34727 .PHONY: check-target-libgo maybe-check-target-libgo
34728 maybe-check-target-libgo:
34729 @if target-libgo
34730 maybe-check-target-libgo: check-target-libgo
34732 check-target-libgo:
34733 @: $(MAKE); $(unstage)
34734 @r=`${PWD_COMMAND}`; export r; \
34735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34736 $(NORMAL_TARGET_EXPORTS) \
34737 (cd $(TARGET_SUBDIR)/libgo && \
34738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34740 @endif target-libgo
34742 .PHONY: install-target-libgo maybe-install-target-libgo
34743 maybe-install-target-libgo:
34744 @if target-libgo
34745 maybe-install-target-libgo: install-target-libgo
34747 install-target-libgo: installdirs
34748 @: $(MAKE); $(unstage)
34749 @r=`${PWD_COMMAND}`; export r; \
34750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34751 $(NORMAL_TARGET_EXPORTS) \
34752 (cd $(TARGET_SUBDIR)/libgo && \
34753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34755 @endif target-libgo
34757 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34758 maybe-install-strip-target-libgo:
34759 @if target-libgo
34760 maybe-install-strip-target-libgo: install-strip-target-libgo
34762 install-strip-target-libgo: installdirs
34763 @: $(MAKE); $(unstage)
34764 @r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 $(NORMAL_TARGET_EXPORTS) \
34767 (cd $(TARGET_SUBDIR)/libgo && \
34768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34770 @endif target-libgo
34772 # Other targets (info, dvi, pdf, etc.)
34774 .PHONY: maybe-info-target-libgo info-target-libgo
34775 maybe-info-target-libgo:
34776 @if target-libgo
34777 maybe-info-target-libgo: info-target-libgo
34779 info-target-libgo: \
34780 configure-target-libgo
34781 @: $(MAKE); $(unstage)
34782 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34783 r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 $(NORMAL_TARGET_EXPORTS) \
34786 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34787 for flag in $(EXTRA_TARGET_FLAGS); do \
34788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34789 done; \
34790 (cd $(TARGET_SUBDIR)/libgo && \
34791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34793 "RANLIB=$${RANLIB}" \
34794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34795 info) \
34796 || exit 1
34798 @endif target-libgo
34800 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34801 maybe-dvi-target-libgo:
34802 @if target-libgo
34803 maybe-dvi-target-libgo: dvi-target-libgo
34805 dvi-target-libgo: \
34806 configure-target-libgo
34807 @: $(MAKE); $(unstage)
34808 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34809 r=`${PWD_COMMAND}`; export r; \
34810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34811 $(NORMAL_TARGET_EXPORTS) \
34812 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34813 for flag in $(EXTRA_TARGET_FLAGS); do \
34814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34815 done; \
34816 (cd $(TARGET_SUBDIR)/libgo && \
34817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34819 "RANLIB=$${RANLIB}" \
34820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34821 dvi) \
34822 || exit 1
34824 @endif target-libgo
34826 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34827 maybe-pdf-target-libgo:
34828 @if target-libgo
34829 maybe-pdf-target-libgo: pdf-target-libgo
34831 pdf-target-libgo: \
34832 configure-target-libgo
34833 @: $(MAKE); $(unstage)
34834 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34835 r=`${PWD_COMMAND}`; export r; \
34836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34837 $(NORMAL_TARGET_EXPORTS) \
34838 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34839 for flag in $(EXTRA_TARGET_FLAGS); do \
34840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34841 done; \
34842 (cd $(TARGET_SUBDIR)/libgo && \
34843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34845 "RANLIB=$${RANLIB}" \
34846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34847 pdf) \
34848 || exit 1
34850 @endif target-libgo
34852 .PHONY: maybe-html-target-libgo html-target-libgo
34853 maybe-html-target-libgo:
34854 @if target-libgo
34855 maybe-html-target-libgo: html-target-libgo
34857 html-target-libgo: \
34858 configure-target-libgo
34859 @: $(MAKE); $(unstage)
34860 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34861 r=`${PWD_COMMAND}`; export r; \
34862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 $(NORMAL_TARGET_EXPORTS) \
34864 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34865 for flag in $(EXTRA_TARGET_FLAGS); do \
34866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34867 done; \
34868 (cd $(TARGET_SUBDIR)/libgo && \
34869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34871 "RANLIB=$${RANLIB}" \
34872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34873 html) \
34874 || exit 1
34876 @endif target-libgo
34878 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34879 maybe-TAGS-target-libgo:
34880 @if target-libgo
34881 maybe-TAGS-target-libgo: TAGS-target-libgo
34883 TAGS-target-libgo: \
34884 configure-target-libgo
34885 @: $(MAKE); $(unstage)
34886 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34887 r=`${PWD_COMMAND}`; export r; \
34888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34889 $(NORMAL_TARGET_EXPORTS) \
34890 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34891 for flag in $(EXTRA_TARGET_FLAGS); do \
34892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34893 done; \
34894 (cd $(TARGET_SUBDIR)/libgo && \
34895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34897 "RANLIB=$${RANLIB}" \
34898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34899 TAGS) \
34900 || exit 1
34902 @endif target-libgo
34904 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34905 maybe-install-info-target-libgo:
34906 @if target-libgo
34907 maybe-install-info-target-libgo: install-info-target-libgo
34909 install-info-target-libgo: \
34910 configure-target-libgo \
34911 info-target-libgo
34912 @: $(MAKE); $(unstage)
34913 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34914 r=`${PWD_COMMAND}`; export r; \
34915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34916 $(NORMAL_TARGET_EXPORTS) \
34917 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34918 for flag in $(EXTRA_TARGET_FLAGS); do \
34919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34920 done; \
34921 (cd $(TARGET_SUBDIR)/libgo && \
34922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34924 "RANLIB=$${RANLIB}" \
34925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34926 install-info) \
34927 || exit 1
34929 @endif target-libgo
34931 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34932 maybe-install-pdf-target-libgo:
34933 @if target-libgo
34934 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34936 install-pdf-target-libgo: \
34937 configure-target-libgo \
34938 pdf-target-libgo
34939 @: $(MAKE); $(unstage)
34940 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34941 r=`${PWD_COMMAND}`; export r; \
34942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34943 $(NORMAL_TARGET_EXPORTS) \
34944 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34945 for flag in $(EXTRA_TARGET_FLAGS); do \
34946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34947 done; \
34948 (cd $(TARGET_SUBDIR)/libgo && \
34949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34951 "RANLIB=$${RANLIB}" \
34952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34953 install-pdf) \
34954 || exit 1
34956 @endif target-libgo
34958 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34959 maybe-install-html-target-libgo:
34960 @if target-libgo
34961 maybe-install-html-target-libgo: install-html-target-libgo
34963 install-html-target-libgo: \
34964 configure-target-libgo \
34965 html-target-libgo
34966 @: $(MAKE); $(unstage)
34967 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34968 r=`${PWD_COMMAND}`; export r; \
34969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34970 $(NORMAL_TARGET_EXPORTS) \
34971 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
34972 for flag in $(EXTRA_TARGET_FLAGS); do \
34973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34974 done; \
34975 (cd $(TARGET_SUBDIR)/libgo && \
34976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34978 "RANLIB=$${RANLIB}" \
34979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34980 install-html) \
34981 || exit 1
34983 @endif target-libgo
34985 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
34986 maybe-installcheck-target-libgo:
34987 @if target-libgo
34988 maybe-installcheck-target-libgo: installcheck-target-libgo
34990 installcheck-target-libgo: \
34991 configure-target-libgo
34992 @: $(MAKE); $(unstage)
34993 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34994 r=`${PWD_COMMAND}`; export r; \
34995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34996 $(NORMAL_TARGET_EXPORTS) \
34997 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
34998 for flag in $(EXTRA_TARGET_FLAGS); do \
34999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35000 done; \
35001 (cd $(TARGET_SUBDIR)/libgo && \
35002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35004 "RANLIB=$${RANLIB}" \
35005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35006 installcheck) \
35007 || exit 1
35009 @endif target-libgo
35011 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35012 maybe-mostlyclean-target-libgo:
35013 @if target-libgo
35014 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35016 mostlyclean-target-libgo:
35017 @: $(MAKE); $(unstage)
35018 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(NORMAL_TARGET_EXPORTS) \
35022 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35023 for flag in $(EXTRA_TARGET_FLAGS); do \
35024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35025 done; \
35026 (cd $(TARGET_SUBDIR)/libgo && \
35027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35029 "RANLIB=$${RANLIB}" \
35030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35031 mostlyclean) \
35032 || exit 1
35034 @endif target-libgo
35036 .PHONY: maybe-clean-target-libgo clean-target-libgo
35037 maybe-clean-target-libgo:
35038 @if target-libgo
35039 maybe-clean-target-libgo: clean-target-libgo
35041 clean-target-libgo:
35042 @: $(MAKE); $(unstage)
35043 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(NORMAL_TARGET_EXPORTS) \
35047 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35048 for flag in $(EXTRA_TARGET_FLAGS); do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 (cd $(TARGET_SUBDIR)/libgo && \
35052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35054 "RANLIB=$${RANLIB}" \
35055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35056 clean) \
35057 || exit 1
35059 @endif target-libgo
35061 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35062 maybe-distclean-target-libgo:
35063 @if target-libgo
35064 maybe-distclean-target-libgo: distclean-target-libgo
35066 distclean-target-libgo:
35067 @: $(MAKE); $(unstage)
35068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35069 r=`${PWD_COMMAND}`; export r; \
35070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35071 $(NORMAL_TARGET_EXPORTS) \
35072 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35073 for flag in $(EXTRA_TARGET_FLAGS); do \
35074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35075 done; \
35076 (cd $(TARGET_SUBDIR)/libgo && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35079 "RANLIB=$${RANLIB}" \
35080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35081 distclean) \
35082 || exit 1
35084 @endif target-libgo
35086 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35087 maybe-maintainer-clean-target-libgo:
35088 @if target-libgo
35089 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35091 maintainer-clean-target-libgo:
35092 @: $(MAKE); $(unstage)
35093 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(NORMAL_TARGET_EXPORTS) \
35097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35098 for flag in $(EXTRA_TARGET_FLAGS); do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 (cd $(TARGET_SUBDIR)/libgo && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35106 maintainer-clean) \
35107 || exit 1
35109 @endif target-libgo
35115 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35116 maybe-configure-target-libtermcap:
35117 @if gcc-bootstrap
35118 configure-target-libtermcap: stage_current
35119 @endif gcc-bootstrap
35120 @if target-libtermcap
35121 maybe-configure-target-libtermcap: configure-target-libtermcap
35122 configure-target-libtermcap:
35123 @: $(MAKE); $(unstage)
35124 @r=`${PWD_COMMAND}`; export r; \
35125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35126 echo "Checking multilib configuration for libtermcap..."; \
35127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35129 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35130 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35131 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35132 else \
35133 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35134 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35135 fi; \
35136 else \
35137 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35138 fi; \
35139 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35141 $(NORMAL_TARGET_EXPORTS) \
35142 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35143 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35144 case $(srcdir) in \
35145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35146 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35148 esac; \
35149 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35150 libsrcdir="$$s/libtermcap"; \
35151 rm -f no-such-file || : ; \
35152 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35154 --target=${target_alias} $${srcdiroption} \
35155 || exit 1
35156 @endif target-libtermcap
35162 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35163 maybe-all-target-libtermcap:
35164 @if gcc-bootstrap
35165 all-target-libtermcap: stage_current
35166 @endif gcc-bootstrap
35167 @if target-libtermcap
35168 TARGET-target-libtermcap=all
35169 maybe-all-target-libtermcap: all-target-libtermcap
35170 all-target-libtermcap: configure-target-libtermcap
35171 @: $(MAKE); $(unstage)
35172 @r=`${PWD_COMMAND}`; export r; \
35173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35174 $(NORMAL_TARGET_EXPORTS) \
35175 (cd $(TARGET_SUBDIR)/libtermcap && \
35176 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35177 $(TARGET-target-libtermcap))
35178 @endif target-libtermcap
35184 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35185 maybe-check-target-libtermcap:
35186 @if target-libtermcap
35187 maybe-check-target-libtermcap: check-target-libtermcap
35189 # Dummy target for uncheckable module.
35190 check-target-libtermcap:
35192 @endif target-libtermcap
35194 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35195 maybe-install-target-libtermcap:
35196 @if target-libtermcap
35197 maybe-install-target-libtermcap: install-target-libtermcap
35199 install-target-libtermcap: installdirs
35200 @: $(MAKE); $(unstage)
35201 @r=`${PWD_COMMAND}`; export r; \
35202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35203 $(NORMAL_TARGET_EXPORTS) \
35204 (cd $(TARGET_SUBDIR)/libtermcap && \
35205 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35207 @endif target-libtermcap
35209 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35210 maybe-install-strip-target-libtermcap:
35211 @if target-libtermcap
35212 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35214 install-strip-target-libtermcap: installdirs
35215 @: $(MAKE); $(unstage)
35216 @r=`${PWD_COMMAND}`; export r; \
35217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35218 $(NORMAL_TARGET_EXPORTS) \
35219 (cd $(TARGET_SUBDIR)/libtermcap && \
35220 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35222 @endif target-libtermcap
35224 # Other targets (info, dvi, pdf, etc.)
35226 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35227 maybe-info-target-libtermcap:
35228 @if target-libtermcap
35229 maybe-info-target-libtermcap: info-target-libtermcap
35231 info-target-libtermcap: \
35232 configure-target-libtermcap
35233 @: $(MAKE); $(unstage)
35234 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35235 r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(NORMAL_TARGET_EXPORTS) \
35238 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35239 for flag in $(EXTRA_TARGET_FLAGS); do \
35240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35241 done; \
35242 (cd $(TARGET_SUBDIR)/libtermcap && \
35243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35245 "RANLIB=$${RANLIB}" \
35246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35247 info) \
35248 || exit 1
35250 @endif target-libtermcap
35252 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35253 maybe-dvi-target-libtermcap:
35254 @if target-libtermcap
35255 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35257 dvi-target-libtermcap: \
35258 configure-target-libtermcap
35259 @: $(MAKE); $(unstage)
35260 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35261 r=`${PWD_COMMAND}`; export r; \
35262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35263 $(NORMAL_TARGET_EXPORTS) \
35264 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35265 for flag in $(EXTRA_TARGET_FLAGS); do \
35266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35267 done; \
35268 (cd $(TARGET_SUBDIR)/libtermcap && \
35269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35271 "RANLIB=$${RANLIB}" \
35272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35273 dvi) \
35274 || exit 1
35276 @endif target-libtermcap
35278 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35279 maybe-pdf-target-libtermcap:
35280 @if target-libtermcap
35281 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35283 pdf-target-libtermcap: \
35284 configure-target-libtermcap
35285 @: $(MAKE); $(unstage)
35286 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35287 r=`${PWD_COMMAND}`; export r; \
35288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35289 $(NORMAL_TARGET_EXPORTS) \
35290 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35291 for flag in $(EXTRA_TARGET_FLAGS); do \
35292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35293 done; \
35294 (cd $(TARGET_SUBDIR)/libtermcap && \
35295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35297 "RANLIB=$${RANLIB}" \
35298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35299 pdf) \
35300 || exit 1
35302 @endif target-libtermcap
35304 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35305 maybe-html-target-libtermcap:
35306 @if target-libtermcap
35307 maybe-html-target-libtermcap: html-target-libtermcap
35309 html-target-libtermcap: \
35310 configure-target-libtermcap
35311 @: $(MAKE); $(unstage)
35312 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35313 r=`${PWD_COMMAND}`; export r; \
35314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35315 $(NORMAL_TARGET_EXPORTS) \
35316 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35317 for flag in $(EXTRA_TARGET_FLAGS); do \
35318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35319 done; \
35320 (cd $(TARGET_SUBDIR)/libtermcap && \
35321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35323 "RANLIB=$${RANLIB}" \
35324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35325 html) \
35326 || exit 1
35328 @endif target-libtermcap
35330 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35331 maybe-TAGS-target-libtermcap:
35332 @if target-libtermcap
35333 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35335 TAGS-target-libtermcap: \
35336 configure-target-libtermcap
35337 @: $(MAKE); $(unstage)
35338 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35339 r=`${PWD_COMMAND}`; export r; \
35340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35341 $(NORMAL_TARGET_EXPORTS) \
35342 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35343 for flag in $(EXTRA_TARGET_FLAGS); do \
35344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35345 done; \
35346 (cd $(TARGET_SUBDIR)/libtermcap && \
35347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35349 "RANLIB=$${RANLIB}" \
35350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35351 TAGS) \
35352 || exit 1
35354 @endif target-libtermcap
35356 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35357 maybe-install-info-target-libtermcap:
35358 @if target-libtermcap
35359 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35361 install-info-target-libtermcap: \
35362 configure-target-libtermcap \
35363 info-target-libtermcap
35364 @: $(MAKE); $(unstage)
35365 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35366 r=`${PWD_COMMAND}`; export r; \
35367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35368 $(NORMAL_TARGET_EXPORTS) \
35369 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35370 for flag in $(EXTRA_TARGET_FLAGS); do \
35371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35372 done; \
35373 (cd $(TARGET_SUBDIR)/libtermcap && \
35374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35376 "RANLIB=$${RANLIB}" \
35377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35378 install-info) \
35379 || exit 1
35381 @endif target-libtermcap
35383 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35384 maybe-install-pdf-target-libtermcap:
35385 @if target-libtermcap
35386 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35388 install-pdf-target-libtermcap: \
35389 configure-target-libtermcap \
35390 pdf-target-libtermcap
35391 @: $(MAKE); $(unstage)
35392 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35393 r=`${PWD_COMMAND}`; export r; \
35394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35395 $(NORMAL_TARGET_EXPORTS) \
35396 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35397 for flag in $(EXTRA_TARGET_FLAGS); do \
35398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35399 done; \
35400 (cd $(TARGET_SUBDIR)/libtermcap && \
35401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35403 "RANLIB=$${RANLIB}" \
35404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35405 install-pdf) \
35406 || exit 1
35408 @endif target-libtermcap
35410 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35411 maybe-install-html-target-libtermcap:
35412 @if target-libtermcap
35413 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35415 install-html-target-libtermcap: \
35416 configure-target-libtermcap \
35417 html-target-libtermcap
35418 @: $(MAKE); $(unstage)
35419 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35420 r=`${PWD_COMMAND}`; export r; \
35421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35422 $(NORMAL_TARGET_EXPORTS) \
35423 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35424 for flag in $(EXTRA_TARGET_FLAGS); do \
35425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35426 done; \
35427 (cd $(TARGET_SUBDIR)/libtermcap && \
35428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35430 "RANLIB=$${RANLIB}" \
35431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35432 install-html) \
35433 || exit 1
35435 @endif target-libtermcap
35437 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35438 maybe-installcheck-target-libtermcap:
35439 @if target-libtermcap
35440 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35442 installcheck-target-libtermcap: \
35443 configure-target-libtermcap
35444 @: $(MAKE); $(unstage)
35445 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35446 r=`${PWD_COMMAND}`; export r; \
35447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35448 $(NORMAL_TARGET_EXPORTS) \
35449 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35450 for flag in $(EXTRA_TARGET_FLAGS); do \
35451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35452 done; \
35453 (cd $(TARGET_SUBDIR)/libtermcap && \
35454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35456 "RANLIB=$${RANLIB}" \
35457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35458 installcheck) \
35459 || exit 1
35461 @endif target-libtermcap
35463 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35464 maybe-mostlyclean-target-libtermcap:
35465 @if target-libtermcap
35466 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35468 # libtermcap doesn't support mostlyclean.
35469 mostlyclean-target-libtermcap:
35471 @endif target-libtermcap
35473 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35474 maybe-clean-target-libtermcap:
35475 @if target-libtermcap
35476 maybe-clean-target-libtermcap: clean-target-libtermcap
35478 # libtermcap doesn't support clean.
35479 clean-target-libtermcap:
35481 @endif target-libtermcap
35483 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35484 maybe-distclean-target-libtermcap:
35485 @if target-libtermcap
35486 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35488 # libtermcap doesn't support distclean.
35489 distclean-target-libtermcap:
35491 @endif target-libtermcap
35493 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35494 maybe-maintainer-clean-target-libtermcap:
35495 @if target-libtermcap
35496 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35498 # libtermcap doesn't support maintainer-clean.
35499 maintainer-clean-target-libtermcap:
35501 @endif target-libtermcap
35507 .PHONY: configure-target-winsup maybe-configure-target-winsup
35508 maybe-configure-target-winsup:
35509 @if gcc-bootstrap
35510 configure-target-winsup: stage_current
35511 @endif gcc-bootstrap
35512 @if target-winsup
35513 maybe-configure-target-winsup: configure-target-winsup
35514 configure-target-winsup:
35515 @: $(MAKE); $(unstage)
35516 @r=`${PWD_COMMAND}`; export r; \
35517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35518 echo "Checking multilib configuration for winsup..."; \
35519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35520 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35521 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35522 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35523 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35524 else \
35525 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35526 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35527 fi; \
35528 else \
35529 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35530 fi; \
35531 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35532 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35533 $(NORMAL_TARGET_EXPORTS) \
35534 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35535 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35536 case $(srcdir) in \
35537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35538 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35540 esac; \
35541 srcdiroption="--srcdir=$${topdir}/winsup"; \
35542 libsrcdir="$$s/winsup"; \
35543 rm -f no-such-file || : ; \
35544 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35545 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35546 --target=${target_alias} $${srcdiroption} \
35547 || exit 1
35548 @endif target-winsup
35554 .PHONY: all-target-winsup maybe-all-target-winsup
35555 maybe-all-target-winsup:
35556 @if gcc-bootstrap
35557 all-target-winsup: stage_current
35558 @endif gcc-bootstrap
35559 @if target-winsup
35560 TARGET-target-winsup=all
35561 maybe-all-target-winsup: all-target-winsup
35562 all-target-winsup: configure-target-winsup
35563 @: $(MAKE); $(unstage)
35564 @r=`${PWD_COMMAND}`; export r; \
35565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35566 $(NORMAL_TARGET_EXPORTS) \
35567 (cd $(TARGET_SUBDIR)/winsup && \
35568 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35569 $(TARGET-target-winsup))
35570 @endif target-winsup
35576 .PHONY: check-target-winsup maybe-check-target-winsup
35577 maybe-check-target-winsup:
35578 @if target-winsup
35579 maybe-check-target-winsup: check-target-winsup
35581 check-target-winsup:
35582 @: $(MAKE); $(unstage)
35583 @r=`${PWD_COMMAND}`; export r; \
35584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35585 $(NORMAL_TARGET_EXPORTS) \
35586 (cd $(TARGET_SUBDIR)/winsup && \
35587 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35589 @endif target-winsup
35591 .PHONY: install-target-winsup maybe-install-target-winsup
35592 maybe-install-target-winsup:
35593 @if target-winsup
35594 maybe-install-target-winsup: install-target-winsup
35596 install-target-winsup: installdirs
35597 @: $(MAKE); $(unstage)
35598 @r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(NORMAL_TARGET_EXPORTS) \
35601 (cd $(TARGET_SUBDIR)/winsup && \
35602 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35604 @endif target-winsup
35606 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35607 maybe-install-strip-target-winsup:
35608 @if target-winsup
35609 maybe-install-strip-target-winsup: install-strip-target-winsup
35611 install-strip-target-winsup: installdirs
35612 @: $(MAKE); $(unstage)
35613 @r=`${PWD_COMMAND}`; export r; \
35614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35615 $(NORMAL_TARGET_EXPORTS) \
35616 (cd $(TARGET_SUBDIR)/winsup && \
35617 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35619 @endif target-winsup
35621 # Other targets (info, dvi, pdf, etc.)
35623 .PHONY: maybe-info-target-winsup info-target-winsup
35624 maybe-info-target-winsup:
35625 @if target-winsup
35626 maybe-info-target-winsup: info-target-winsup
35628 info-target-winsup: \
35629 configure-target-winsup
35630 @: $(MAKE); $(unstage)
35631 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35632 r=`${PWD_COMMAND}`; export r; \
35633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35634 $(NORMAL_TARGET_EXPORTS) \
35635 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35636 for flag in $(EXTRA_TARGET_FLAGS); do \
35637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35638 done; \
35639 (cd $(TARGET_SUBDIR)/winsup && \
35640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35642 "RANLIB=$${RANLIB}" \
35643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35644 info) \
35645 || exit 1
35647 @endif target-winsup
35649 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35650 maybe-dvi-target-winsup:
35651 @if target-winsup
35652 maybe-dvi-target-winsup: dvi-target-winsup
35654 dvi-target-winsup: \
35655 configure-target-winsup
35656 @: $(MAKE); $(unstage)
35657 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35658 r=`${PWD_COMMAND}`; export r; \
35659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35660 $(NORMAL_TARGET_EXPORTS) \
35661 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35662 for flag in $(EXTRA_TARGET_FLAGS); do \
35663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35664 done; \
35665 (cd $(TARGET_SUBDIR)/winsup && \
35666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35668 "RANLIB=$${RANLIB}" \
35669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35670 dvi) \
35671 || exit 1
35673 @endif target-winsup
35675 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35676 maybe-pdf-target-winsup:
35677 @if target-winsup
35678 maybe-pdf-target-winsup: pdf-target-winsup
35680 pdf-target-winsup: \
35681 configure-target-winsup
35682 @: $(MAKE); $(unstage)
35683 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35684 r=`${PWD_COMMAND}`; export r; \
35685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35686 $(NORMAL_TARGET_EXPORTS) \
35687 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35688 for flag in $(EXTRA_TARGET_FLAGS); do \
35689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35690 done; \
35691 (cd $(TARGET_SUBDIR)/winsup && \
35692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35694 "RANLIB=$${RANLIB}" \
35695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35696 pdf) \
35697 || exit 1
35699 @endif target-winsup
35701 .PHONY: maybe-html-target-winsup html-target-winsup
35702 maybe-html-target-winsup:
35703 @if target-winsup
35704 maybe-html-target-winsup: html-target-winsup
35706 html-target-winsup: \
35707 configure-target-winsup
35708 @: $(MAKE); $(unstage)
35709 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35710 r=`${PWD_COMMAND}`; export r; \
35711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35712 $(NORMAL_TARGET_EXPORTS) \
35713 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35714 for flag in $(EXTRA_TARGET_FLAGS); do \
35715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35716 done; \
35717 (cd $(TARGET_SUBDIR)/winsup && \
35718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35720 "RANLIB=$${RANLIB}" \
35721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35722 html) \
35723 || exit 1
35725 @endif target-winsup
35727 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35728 maybe-TAGS-target-winsup:
35729 @if target-winsup
35730 maybe-TAGS-target-winsup: TAGS-target-winsup
35732 TAGS-target-winsup: \
35733 configure-target-winsup
35734 @: $(MAKE); $(unstage)
35735 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(NORMAL_TARGET_EXPORTS) \
35739 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35740 for flag in $(EXTRA_TARGET_FLAGS); do \
35741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35742 done; \
35743 (cd $(TARGET_SUBDIR)/winsup && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 TAGS) \
35749 || exit 1
35751 @endif target-winsup
35753 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35754 maybe-install-info-target-winsup:
35755 @if target-winsup
35756 maybe-install-info-target-winsup: install-info-target-winsup
35758 install-info-target-winsup: \
35759 configure-target-winsup \
35760 info-target-winsup
35761 @: $(MAKE); $(unstage)
35762 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35763 r=`${PWD_COMMAND}`; export r; \
35764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35765 $(NORMAL_TARGET_EXPORTS) \
35766 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35767 for flag in $(EXTRA_TARGET_FLAGS); do \
35768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35769 done; \
35770 (cd $(TARGET_SUBDIR)/winsup && \
35771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35773 "RANLIB=$${RANLIB}" \
35774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35775 install-info) \
35776 || exit 1
35778 @endif target-winsup
35780 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35781 maybe-install-pdf-target-winsup:
35782 @if target-winsup
35783 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35785 install-pdf-target-winsup: \
35786 configure-target-winsup \
35787 pdf-target-winsup
35788 @: $(MAKE); $(unstage)
35789 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35790 r=`${PWD_COMMAND}`; export r; \
35791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35792 $(NORMAL_TARGET_EXPORTS) \
35793 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35794 for flag in $(EXTRA_TARGET_FLAGS); do \
35795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35796 done; \
35797 (cd $(TARGET_SUBDIR)/winsup && \
35798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35800 "RANLIB=$${RANLIB}" \
35801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35802 install-pdf) \
35803 || exit 1
35805 @endif target-winsup
35807 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35808 maybe-install-html-target-winsup:
35809 @if target-winsup
35810 maybe-install-html-target-winsup: install-html-target-winsup
35812 install-html-target-winsup: \
35813 configure-target-winsup \
35814 html-target-winsup
35815 @: $(MAKE); $(unstage)
35816 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35817 r=`${PWD_COMMAND}`; export r; \
35818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35819 $(NORMAL_TARGET_EXPORTS) \
35820 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35821 for flag in $(EXTRA_TARGET_FLAGS); do \
35822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35823 done; \
35824 (cd $(TARGET_SUBDIR)/winsup && \
35825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35827 "RANLIB=$${RANLIB}" \
35828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35829 install-html) \
35830 || exit 1
35832 @endif target-winsup
35834 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35835 maybe-installcheck-target-winsup:
35836 @if target-winsup
35837 maybe-installcheck-target-winsup: installcheck-target-winsup
35839 installcheck-target-winsup: \
35840 configure-target-winsup
35841 @: $(MAKE); $(unstage)
35842 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35843 r=`${PWD_COMMAND}`; export r; \
35844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35845 $(NORMAL_TARGET_EXPORTS) \
35846 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35847 for flag in $(EXTRA_TARGET_FLAGS); do \
35848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35849 done; \
35850 (cd $(TARGET_SUBDIR)/winsup && \
35851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35853 "RANLIB=$${RANLIB}" \
35854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35855 installcheck) \
35856 || exit 1
35858 @endif target-winsup
35860 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35861 maybe-mostlyclean-target-winsup:
35862 @if target-winsup
35863 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35865 mostlyclean-target-winsup:
35866 @: $(MAKE); $(unstage)
35867 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35868 r=`${PWD_COMMAND}`; export r; \
35869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35870 $(NORMAL_TARGET_EXPORTS) \
35871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35872 for flag in $(EXTRA_TARGET_FLAGS); do \
35873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35874 done; \
35875 (cd $(TARGET_SUBDIR)/winsup && \
35876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35878 "RANLIB=$${RANLIB}" \
35879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35880 mostlyclean) \
35881 || exit 1
35883 @endif target-winsup
35885 .PHONY: maybe-clean-target-winsup clean-target-winsup
35886 maybe-clean-target-winsup:
35887 @if target-winsup
35888 maybe-clean-target-winsup: clean-target-winsup
35890 clean-target-winsup:
35891 @: $(MAKE); $(unstage)
35892 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35893 r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 $(NORMAL_TARGET_EXPORTS) \
35896 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35897 for flag in $(EXTRA_TARGET_FLAGS); do \
35898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35899 done; \
35900 (cd $(TARGET_SUBDIR)/winsup && \
35901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35903 "RANLIB=$${RANLIB}" \
35904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35905 clean) \
35906 || exit 1
35908 @endif target-winsup
35910 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35911 maybe-distclean-target-winsup:
35912 @if target-winsup
35913 maybe-distclean-target-winsup: distclean-target-winsup
35915 distclean-target-winsup:
35916 @: $(MAKE); $(unstage)
35917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35918 r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 $(NORMAL_TARGET_EXPORTS) \
35921 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35922 for flag in $(EXTRA_TARGET_FLAGS); do \
35923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35924 done; \
35925 (cd $(TARGET_SUBDIR)/winsup && \
35926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35928 "RANLIB=$${RANLIB}" \
35929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35930 distclean) \
35931 || exit 1
35933 @endif target-winsup
35935 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35936 maybe-maintainer-clean-target-winsup:
35937 @if target-winsup
35938 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35940 maintainer-clean-target-winsup:
35941 @: $(MAKE); $(unstage)
35942 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35943 r=`${PWD_COMMAND}`; export r; \
35944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35945 $(NORMAL_TARGET_EXPORTS) \
35946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35947 for flag in $(EXTRA_TARGET_FLAGS); do \
35948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35949 done; \
35950 (cd $(TARGET_SUBDIR)/winsup && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35953 "RANLIB=$${RANLIB}" \
35954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35955 maintainer-clean) \
35956 || exit 1
35958 @endif target-winsup
35964 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
35965 maybe-configure-target-libgloss:
35966 @if gcc-bootstrap
35967 configure-target-libgloss: stage_current
35968 @endif gcc-bootstrap
35969 @if target-libgloss
35970 maybe-configure-target-libgloss: configure-target-libgloss
35971 configure-target-libgloss:
35972 @: $(MAKE); $(unstage)
35973 @r=`${PWD_COMMAND}`; export r; \
35974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35975 echo "Checking multilib configuration for libgloss..."; \
35976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35977 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
35978 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35979 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35980 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
35981 else \
35982 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
35983 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35984 fi; \
35985 else \
35986 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35987 fi; \
35988 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
35989 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35990 $(NORMAL_TARGET_EXPORTS) \
35991 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
35992 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
35993 case $(srcdir) in \
35994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35995 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
35996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35997 esac; \
35998 srcdiroption="--srcdir=$${topdir}/libgloss"; \
35999 libsrcdir="$$s/libgloss"; \
36000 rm -f no-such-file || : ; \
36001 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36002 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36003 --target=${target_alias} $${srcdiroption} \
36004 || exit 1
36005 @endif target-libgloss
36011 .PHONY: all-target-libgloss maybe-all-target-libgloss
36012 maybe-all-target-libgloss:
36013 @if gcc-bootstrap
36014 all-target-libgloss: stage_current
36015 @endif gcc-bootstrap
36016 @if target-libgloss
36017 TARGET-target-libgloss=all
36018 maybe-all-target-libgloss: all-target-libgloss
36019 all-target-libgloss: configure-target-libgloss
36020 @: $(MAKE); $(unstage)
36021 @r=`${PWD_COMMAND}`; export r; \
36022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36023 $(NORMAL_TARGET_EXPORTS) \
36024 (cd $(TARGET_SUBDIR)/libgloss && \
36025 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36026 $(TARGET-target-libgloss))
36027 @endif target-libgloss
36033 .PHONY: check-target-libgloss maybe-check-target-libgloss
36034 maybe-check-target-libgloss:
36035 @if target-libgloss
36036 maybe-check-target-libgloss: check-target-libgloss
36038 # Dummy target for uncheckable module.
36039 check-target-libgloss:
36041 @endif target-libgloss
36043 .PHONY: install-target-libgloss maybe-install-target-libgloss
36044 maybe-install-target-libgloss:
36045 @if target-libgloss
36046 maybe-install-target-libgloss: install-target-libgloss
36048 install-target-libgloss: installdirs
36049 @: $(MAKE); $(unstage)
36050 @r=`${PWD_COMMAND}`; export r; \
36051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36052 $(NORMAL_TARGET_EXPORTS) \
36053 (cd $(TARGET_SUBDIR)/libgloss && \
36054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36056 @endif target-libgloss
36058 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36059 maybe-install-strip-target-libgloss:
36060 @if target-libgloss
36061 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36063 install-strip-target-libgloss: installdirs
36064 @: $(MAKE); $(unstage)
36065 @r=`${PWD_COMMAND}`; export r; \
36066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36067 $(NORMAL_TARGET_EXPORTS) \
36068 (cd $(TARGET_SUBDIR)/libgloss && \
36069 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36071 @endif target-libgloss
36073 # Other targets (info, dvi, pdf, etc.)
36075 .PHONY: maybe-info-target-libgloss info-target-libgloss
36076 maybe-info-target-libgloss:
36077 @if target-libgloss
36078 maybe-info-target-libgloss: info-target-libgloss
36080 info-target-libgloss: \
36081 configure-target-libgloss
36082 @: $(MAKE); $(unstage)
36083 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36084 r=`${PWD_COMMAND}`; export r; \
36085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36086 $(NORMAL_TARGET_EXPORTS) \
36087 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36088 for flag in $(EXTRA_TARGET_FLAGS); do \
36089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36090 done; \
36091 (cd $(TARGET_SUBDIR)/libgloss && \
36092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36094 "RANLIB=$${RANLIB}" \
36095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36096 info) \
36097 || exit 1
36099 @endif target-libgloss
36101 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36102 maybe-dvi-target-libgloss:
36103 @if target-libgloss
36104 maybe-dvi-target-libgloss: dvi-target-libgloss
36106 dvi-target-libgloss: \
36107 configure-target-libgloss
36108 @: $(MAKE); $(unstage)
36109 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36110 r=`${PWD_COMMAND}`; export r; \
36111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36112 $(NORMAL_TARGET_EXPORTS) \
36113 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36114 for flag in $(EXTRA_TARGET_FLAGS); do \
36115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36116 done; \
36117 (cd $(TARGET_SUBDIR)/libgloss && \
36118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36120 "RANLIB=$${RANLIB}" \
36121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36122 dvi) \
36123 || exit 1
36125 @endif target-libgloss
36127 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36128 maybe-pdf-target-libgloss:
36129 @if target-libgloss
36130 maybe-pdf-target-libgloss: pdf-target-libgloss
36132 pdf-target-libgloss: \
36133 configure-target-libgloss
36134 @: $(MAKE); $(unstage)
36135 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36136 r=`${PWD_COMMAND}`; export r; \
36137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36138 $(NORMAL_TARGET_EXPORTS) \
36139 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36140 for flag in $(EXTRA_TARGET_FLAGS); do \
36141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36142 done; \
36143 (cd $(TARGET_SUBDIR)/libgloss && \
36144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36146 "RANLIB=$${RANLIB}" \
36147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36148 pdf) \
36149 || exit 1
36151 @endif target-libgloss
36153 .PHONY: maybe-html-target-libgloss html-target-libgloss
36154 maybe-html-target-libgloss:
36155 @if target-libgloss
36156 maybe-html-target-libgloss: html-target-libgloss
36158 html-target-libgloss: \
36159 configure-target-libgloss
36160 @: $(MAKE); $(unstage)
36161 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36162 r=`${PWD_COMMAND}`; export r; \
36163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36164 $(NORMAL_TARGET_EXPORTS) \
36165 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36166 for flag in $(EXTRA_TARGET_FLAGS); do \
36167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36168 done; \
36169 (cd $(TARGET_SUBDIR)/libgloss && \
36170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36172 "RANLIB=$${RANLIB}" \
36173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36174 html) \
36175 || exit 1
36177 @endif target-libgloss
36179 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36180 maybe-TAGS-target-libgloss:
36181 @if target-libgloss
36182 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36184 TAGS-target-libgloss: \
36185 configure-target-libgloss
36186 @: $(MAKE); $(unstage)
36187 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36188 r=`${PWD_COMMAND}`; export r; \
36189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36190 $(NORMAL_TARGET_EXPORTS) \
36191 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36192 for flag in $(EXTRA_TARGET_FLAGS); do \
36193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36194 done; \
36195 (cd $(TARGET_SUBDIR)/libgloss && \
36196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36198 "RANLIB=$${RANLIB}" \
36199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36200 TAGS) \
36201 || exit 1
36203 @endif target-libgloss
36205 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36206 maybe-install-info-target-libgloss:
36207 @if target-libgloss
36208 maybe-install-info-target-libgloss: install-info-target-libgloss
36210 install-info-target-libgloss: \
36211 configure-target-libgloss \
36212 info-target-libgloss
36213 @: $(MAKE); $(unstage)
36214 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36215 r=`${PWD_COMMAND}`; export r; \
36216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36217 $(NORMAL_TARGET_EXPORTS) \
36218 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36219 for flag in $(EXTRA_TARGET_FLAGS); do \
36220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36221 done; \
36222 (cd $(TARGET_SUBDIR)/libgloss && \
36223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36225 "RANLIB=$${RANLIB}" \
36226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36227 install-info) \
36228 || exit 1
36230 @endif target-libgloss
36232 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36233 maybe-install-pdf-target-libgloss:
36234 @if target-libgloss
36235 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36237 install-pdf-target-libgloss: \
36238 configure-target-libgloss \
36239 pdf-target-libgloss
36240 @: $(MAKE); $(unstage)
36241 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36242 r=`${PWD_COMMAND}`; export r; \
36243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36244 $(NORMAL_TARGET_EXPORTS) \
36245 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36246 for flag in $(EXTRA_TARGET_FLAGS); do \
36247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36248 done; \
36249 (cd $(TARGET_SUBDIR)/libgloss && \
36250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36252 "RANLIB=$${RANLIB}" \
36253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36254 install-pdf) \
36255 || exit 1
36257 @endif target-libgloss
36259 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36260 maybe-install-html-target-libgloss:
36261 @if target-libgloss
36262 maybe-install-html-target-libgloss: install-html-target-libgloss
36264 install-html-target-libgloss: \
36265 configure-target-libgloss \
36266 html-target-libgloss
36267 @: $(MAKE); $(unstage)
36268 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36269 r=`${PWD_COMMAND}`; export r; \
36270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36271 $(NORMAL_TARGET_EXPORTS) \
36272 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36273 for flag in $(EXTRA_TARGET_FLAGS); do \
36274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36275 done; \
36276 (cd $(TARGET_SUBDIR)/libgloss && \
36277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36279 "RANLIB=$${RANLIB}" \
36280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36281 install-html) \
36282 || exit 1
36284 @endif target-libgloss
36286 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36287 maybe-installcheck-target-libgloss:
36288 @if target-libgloss
36289 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36291 installcheck-target-libgloss: \
36292 configure-target-libgloss
36293 @: $(MAKE); $(unstage)
36294 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36295 r=`${PWD_COMMAND}`; export r; \
36296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36297 $(NORMAL_TARGET_EXPORTS) \
36298 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36299 for flag in $(EXTRA_TARGET_FLAGS); do \
36300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36301 done; \
36302 (cd $(TARGET_SUBDIR)/libgloss && \
36303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36305 "RANLIB=$${RANLIB}" \
36306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36307 installcheck) \
36308 || exit 1
36310 @endif target-libgloss
36312 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36313 maybe-mostlyclean-target-libgloss:
36314 @if target-libgloss
36315 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36317 mostlyclean-target-libgloss:
36318 @: $(MAKE); $(unstage)
36319 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36320 r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 $(NORMAL_TARGET_EXPORTS) \
36323 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36324 for flag in $(EXTRA_TARGET_FLAGS); do \
36325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36326 done; \
36327 (cd $(TARGET_SUBDIR)/libgloss && \
36328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36330 "RANLIB=$${RANLIB}" \
36331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36332 mostlyclean) \
36333 || exit 1
36335 @endif target-libgloss
36337 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36338 maybe-clean-target-libgloss:
36339 @if target-libgloss
36340 maybe-clean-target-libgloss: clean-target-libgloss
36342 clean-target-libgloss:
36343 @: $(MAKE); $(unstage)
36344 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36345 r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 $(NORMAL_TARGET_EXPORTS) \
36348 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36349 for flag in $(EXTRA_TARGET_FLAGS); do \
36350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36351 done; \
36352 (cd $(TARGET_SUBDIR)/libgloss && \
36353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36355 "RANLIB=$${RANLIB}" \
36356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36357 clean) \
36358 || exit 1
36360 @endif target-libgloss
36362 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36363 maybe-distclean-target-libgloss:
36364 @if target-libgloss
36365 maybe-distclean-target-libgloss: distclean-target-libgloss
36367 distclean-target-libgloss:
36368 @: $(MAKE); $(unstage)
36369 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36370 r=`${PWD_COMMAND}`; export r; \
36371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36372 $(NORMAL_TARGET_EXPORTS) \
36373 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36374 for flag in $(EXTRA_TARGET_FLAGS); do \
36375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36376 done; \
36377 (cd $(TARGET_SUBDIR)/libgloss && \
36378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36380 "RANLIB=$${RANLIB}" \
36381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36382 distclean) \
36383 || exit 1
36385 @endif target-libgloss
36387 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36388 maybe-maintainer-clean-target-libgloss:
36389 @if target-libgloss
36390 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36392 maintainer-clean-target-libgloss:
36393 @: $(MAKE); $(unstage)
36394 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36395 r=`${PWD_COMMAND}`; export r; \
36396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36397 $(NORMAL_TARGET_EXPORTS) \
36398 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36399 for flag in $(EXTRA_TARGET_FLAGS); do \
36400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36401 done; \
36402 (cd $(TARGET_SUBDIR)/libgloss && \
36403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36405 "RANLIB=$${RANLIB}" \
36406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36407 maintainer-clean) \
36408 || exit 1
36410 @endif target-libgloss
36416 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
36417 maybe-configure-target-libiberty:
36418 @if gcc-bootstrap
36419 configure-target-libiberty: stage_current
36420 @endif gcc-bootstrap
36421 @if target-libiberty
36422 maybe-configure-target-libiberty: configure-target-libiberty
36423 configure-target-libiberty:
36424 @: $(MAKE); $(unstage)
36425 @r=`${PWD_COMMAND}`; export r; \
36426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36427 echo "Checking multilib configuration for libiberty..."; \
36428 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
36429 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
36430 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
36431 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
36432 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
36433 else \
36434 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
36435 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
36436 fi; \
36437 else \
36438 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
36439 fi; \
36440 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
36441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
36442 $(NORMAL_TARGET_EXPORTS) \
36443 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
36444 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
36445 case $(srcdir) in \
36446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36447 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
36448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36449 esac; \
36450 srcdiroption="--srcdir=$${topdir}/libiberty"; \
36451 libsrcdir="$$s/libiberty"; \
36452 rm -f no-such-file || : ; \
36453 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36454 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36455 --target=${target_alias} $${srcdiroption} \
36456 || exit 1
36457 @endif target-libiberty
36463 .PHONY: all-target-libiberty maybe-all-target-libiberty
36464 maybe-all-target-libiberty:
36465 @if gcc-bootstrap
36466 all-target-libiberty: stage_current
36467 @endif gcc-bootstrap
36468 @if target-libiberty
36469 TARGET-target-libiberty=all
36470 maybe-all-target-libiberty: all-target-libiberty
36471 all-target-libiberty: configure-target-libiberty
36472 @: $(MAKE); $(unstage)
36473 @r=`${PWD_COMMAND}`; export r; \
36474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36475 $(NORMAL_TARGET_EXPORTS) \
36476 (cd $(TARGET_SUBDIR)/libiberty && \
36477 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36478 $(TARGET-target-libiberty))
36479 @endif target-libiberty
36485 .PHONY: check-target-libiberty maybe-check-target-libiberty
36486 maybe-check-target-libiberty:
36487 @if target-libiberty
36488 maybe-check-target-libiberty: check-target-libiberty
36490 check-target-libiberty:
36491 @: $(MAKE); $(unstage)
36492 @r=`${PWD_COMMAND}`; export r; \
36493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36494 $(NORMAL_TARGET_EXPORTS) \
36495 (cd $(TARGET_SUBDIR)/libiberty && \
36496 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36498 @endif target-libiberty
36500 .PHONY: install-target-libiberty maybe-install-target-libiberty
36501 maybe-install-target-libiberty:
36502 @if target-libiberty
36503 maybe-install-target-libiberty: install-target-libiberty
36505 install-target-libiberty: installdirs
36506 @: $(MAKE); $(unstage)
36507 @r=`${PWD_COMMAND}`; export r; \
36508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36509 $(NORMAL_TARGET_EXPORTS) \
36510 (cd $(TARGET_SUBDIR)/libiberty && \
36511 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36513 @endif target-libiberty
36515 .PHONY: install-strip-target-libiberty maybe-install-strip-target-libiberty
36516 maybe-install-strip-target-libiberty:
36517 @if target-libiberty
36518 maybe-install-strip-target-libiberty: install-strip-target-libiberty
36520 install-strip-target-libiberty: installdirs
36521 @: $(MAKE); $(unstage)
36522 @r=`${PWD_COMMAND}`; export r; \
36523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36524 $(NORMAL_TARGET_EXPORTS) \
36525 (cd $(TARGET_SUBDIR)/libiberty && \
36526 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36528 @endif target-libiberty
36530 # Other targets (info, dvi, pdf, etc.)
36532 .PHONY: maybe-info-target-libiberty info-target-libiberty
36533 maybe-info-target-libiberty:
36534 @if target-libiberty
36535 maybe-info-target-libiberty: info-target-libiberty
36537 info-target-libiberty: \
36538 configure-target-libiberty
36539 @: $(MAKE); $(unstage)
36540 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36541 r=`${PWD_COMMAND}`; export r; \
36542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36543 $(NORMAL_TARGET_EXPORTS) \
36544 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
36545 for flag in $(EXTRA_TARGET_FLAGS); do \
36546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36547 done; \
36548 (cd $(TARGET_SUBDIR)/libiberty && \
36549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36551 "RANLIB=$${RANLIB}" \
36552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36553 info) \
36554 || exit 1
36556 @endif target-libiberty
36558 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
36559 maybe-dvi-target-libiberty:
36560 @if target-libiberty
36561 maybe-dvi-target-libiberty: dvi-target-libiberty
36563 dvi-target-libiberty: \
36564 configure-target-libiberty
36565 @: $(MAKE); $(unstage)
36566 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36567 r=`${PWD_COMMAND}`; export r; \
36568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36569 $(NORMAL_TARGET_EXPORTS) \
36570 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
36571 for flag in $(EXTRA_TARGET_FLAGS); do \
36572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36573 done; \
36574 (cd $(TARGET_SUBDIR)/libiberty && \
36575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36577 "RANLIB=$${RANLIB}" \
36578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36579 dvi) \
36580 || exit 1
36582 @endif target-libiberty
36584 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
36585 maybe-pdf-target-libiberty:
36586 @if target-libiberty
36587 maybe-pdf-target-libiberty: pdf-target-libiberty
36589 pdf-target-libiberty: \
36590 configure-target-libiberty
36591 @: $(MAKE); $(unstage)
36592 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36593 r=`${PWD_COMMAND}`; export r; \
36594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36595 $(NORMAL_TARGET_EXPORTS) \
36596 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
36597 for flag in $(EXTRA_TARGET_FLAGS); do \
36598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36599 done; \
36600 (cd $(TARGET_SUBDIR)/libiberty && \
36601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36603 "RANLIB=$${RANLIB}" \
36604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36605 pdf) \
36606 || exit 1
36608 @endif target-libiberty
36610 .PHONY: maybe-html-target-libiberty html-target-libiberty
36611 maybe-html-target-libiberty:
36612 @if target-libiberty
36613 maybe-html-target-libiberty: html-target-libiberty
36615 html-target-libiberty: \
36616 configure-target-libiberty
36617 @: $(MAKE); $(unstage)
36618 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36619 r=`${PWD_COMMAND}`; export r; \
36620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36621 $(NORMAL_TARGET_EXPORTS) \
36622 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
36623 for flag in $(EXTRA_TARGET_FLAGS); do \
36624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36625 done; \
36626 (cd $(TARGET_SUBDIR)/libiberty && \
36627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36629 "RANLIB=$${RANLIB}" \
36630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36631 html) \
36632 || exit 1
36634 @endif target-libiberty
36636 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
36637 maybe-TAGS-target-libiberty:
36638 @if target-libiberty
36639 maybe-TAGS-target-libiberty: TAGS-target-libiberty
36641 TAGS-target-libiberty: \
36642 configure-target-libiberty
36643 @: $(MAKE); $(unstage)
36644 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36645 r=`${PWD_COMMAND}`; export r; \
36646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36647 $(NORMAL_TARGET_EXPORTS) \
36648 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
36649 for flag in $(EXTRA_TARGET_FLAGS); do \
36650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36651 done; \
36652 (cd $(TARGET_SUBDIR)/libiberty && \
36653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36655 "RANLIB=$${RANLIB}" \
36656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36657 TAGS) \
36658 || exit 1
36660 @endif target-libiberty
36662 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
36663 maybe-install-info-target-libiberty:
36664 @if target-libiberty
36665 maybe-install-info-target-libiberty: install-info-target-libiberty
36667 install-info-target-libiberty: \
36668 configure-target-libiberty \
36669 info-target-libiberty
36670 @: $(MAKE); $(unstage)
36671 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36672 r=`${PWD_COMMAND}`; export r; \
36673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36674 $(NORMAL_TARGET_EXPORTS) \
36675 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
36676 for flag in $(EXTRA_TARGET_FLAGS); do \
36677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36678 done; \
36679 (cd $(TARGET_SUBDIR)/libiberty && \
36680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36682 "RANLIB=$${RANLIB}" \
36683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36684 install-info) \
36685 || exit 1
36687 @endif target-libiberty
36689 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
36690 maybe-install-pdf-target-libiberty:
36691 @if target-libiberty
36692 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
36694 install-pdf-target-libiberty: \
36695 configure-target-libiberty \
36696 pdf-target-libiberty
36697 @: $(MAKE); $(unstage)
36698 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36699 r=`${PWD_COMMAND}`; export r; \
36700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36701 $(NORMAL_TARGET_EXPORTS) \
36702 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
36703 for flag in $(EXTRA_TARGET_FLAGS); do \
36704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36705 done; \
36706 (cd $(TARGET_SUBDIR)/libiberty && \
36707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36709 "RANLIB=$${RANLIB}" \
36710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36711 install-pdf) \
36712 || exit 1
36714 @endif target-libiberty
36716 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
36717 maybe-install-html-target-libiberty:
36718 @if target-libiberty
36719 maybe-install-html-target-libiberty: install-html-target-libiberty
36721 install-html-target-libiberty: \
36722 configure-target-libiberty \
36723 html-target-libiberty
36724 @: $(MAKE); $(unstage)
36725 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36726 r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 $(NORMAL_TARGET_EXPORTS) \
36729 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
36730 for flag in $(EXTRA_TARGET_FLAGS); do \
36731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36732 done; \
36733 (cd $(TARGET_SUBDIR)/libiberty && \
36734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36736 "RANLIB=$${RANLIB}" \
36737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36738 install-html) \
36739 || exit 1
36741 @endif target-libiberty
36743 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
36744 maybe-installcheck-target-libiberty:
36745 @if target-libiberty
36746 maybe-installcheck-target-libiberty: installcheck-target-libiberty
36748 installcheck-target-libiberty: \
36749 configure-target-libiberty
36750 @: $(MAKE); $(unstage)
36751 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36752 r=`${PWD_COMMAND}`; export r; \
36753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36754 $(NORMAL_TARGET_EXPORTS) \
36755 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
36756 for flag in $(EXTRA_TARGET_FLAGS); do \
36757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36758 done; \
36759 (cd $(TARGET_SUBDIR)/libiberty && \
36760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36762 "RANLIB=$${RANLIB}" \
36763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36764 installcheck) \
36765 || exit 1
36767 @endif target-libiberty
36769 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
36770 maybe-mostlyclean-target-libiberty:
36771 @if target-libiberty
36772 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
36774 mostlyclean-target-libiberty:
36775 @: $(MAKE); $(unstage)
36776 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36777 r=`${PWD_COMMAND}`; export r; \
36778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36779 $(NORMAL_TARGET_EXPORTS) \
36780 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
36781 for flag in $(EXTRA_TARGET_FLAGS); do \
36782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36783 done; \
36784 (cd $(TARGET_SUBDIR)/libiberty && \
36785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36787 "RANLIB=$${RANLIB}" \
36788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36789 mostlyclean) \
36790 || exit 1
36792 @endif target-libiberty
36794 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
36795 maybe-clean-target-libiberty:
36796 @if target-libiberty
36797 maybe-clean-target-libiberty: clean-target-libiberty
36799 clean-target-libiberty:
36800 @: $(MAKE); $(unstage)
36801 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36802 r=`${PWD_COMMAND}`; export r; \
36803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36804 $(NORMAL_TARGET_EXPORTS) \
36805 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
36806 for flag in $(EXTRA_TARGET_FLAGS); do \
36807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36808 done; \
36809 (cd $(TARGET_SUBDIR)/libiberty && \
36810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36812 "RANLIB=$${RANLIB}" \
36813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36814 clean) \
36815 || exit 1
36817 @endif target-libiberty
36819 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
36820 maybe-distclean-target-libiberty:
36821 @if target-libiberty
36822 maybe-distclean-target-libiberty: distclean-target-libiberty
36824 distclean-target-libiberty:
36825 @: $(MAKE); $(unstage)
36826 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36827 r=`${PWD_COMMAND}`; export r; \
36828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36829 $(NORMAL_TARGET_EXPORTS) \
36830 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
36831 for flag in $(EXTRA_TARGET_FLAGS); do \
36832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36833 done; \
36834 (cd $(TARGET_SUBDIR)/libiberty && \
36835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36837 "RANLIB=$${RANLIB}" \
36838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36839 distclean) \
36840 || exit 1
36842 @endif target-libiberty
36844 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
36845 maybe-maintainer-clean-target-libiberty:
36846 @if target-libiberty
36847 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
36849 maintainer-clean-target-libiberty:
36850 @: $(MAKE); $(unstage)
36851 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
36852 r=`${PWD_COMMAND}`; export r; \
36853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36854 $(NORMAL_TARGET_EXPORTS) \
36855 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
36856 for flag in $(EXTRA_TARGET_FLAGS); do \
36857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36858 done; \
36859 (cd $(TARGET_SUBDIR)/libiberty && \
36860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36862 "RANLIB=$${RANLIB}" \
36863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36864 maintainer-clean) \
36865 || exit 1
36867 @endif target-libiberty
36873 .PHONY: configure-target-libffi maybe-configure-target-libffi
36874 maybe-configure-target-libffi:
36875 @if gcc-bootstrap
36876 configure-target-libffi: stage_current
36877 @endif gcc-bootstrap
36878 @if target-libffi
36879 maybe-configure-target-libffi: configure-target-libffi
36880 configure-target-libffi:
36881 @: $(MAKE); $(unstage)
36882 @r=`${PWD_COMMAND}`; export r; \
36883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36884 echo "Checking multilib configuration for libffi..."; \
36885 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36886 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36887 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36888 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36889 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36890 else \
36891 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36892 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36893 fi; \
36894 else \
36895 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36896 fi; \
36897 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36898 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36899 $(NORMAL_TARGET_EXPORTS) \
36900 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36901 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36902 case $(srcdir) in \
36903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36904 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36906 esac; \
36907 srcdiroption="--srcdir=$${topdir}/libffi"; \
36908 libsrcdir="$$s/libffi"; \
36909 rm -f no-such-file || : ; \
36910 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36912 --target=${target_alias} $${srcdiroption} \
36913 || exit 1
36914 @endif target-libffi
36920 .PHONY: all-target-libffi maybe-all-target-libffi
36921 maybe-all-target-libffi:
36922 @if gcc-bootstrap
36923 all-target-libffi: stage_current
36924 @endif gcc-bootstrap
36925 @if target-libffi
36926 TARGET-target-libffi=all
36927 maybe-all-target-libffi: all-target-libffi
36928 all-target-libffi: configure-target-libffi
36929 @: $(MAKE); $(unstage)
36930 @r=`${PWD_COMMAND}`; export r; \
36931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36932 $(NORMAL_TARGET_EXPORTS) \
36933 (cd $(TARGET_SUBDIR)/libffi && \
36934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36935 $(TARGET-target-libffi))
36936 @endif target-libffi
36942 .PHONY: check-target-libffi maybe-check-target-libffi
36943 maybe-check-target-libffi:
36944 @if target-libffi
36945 maybe-check-target-libffi: check-target-libffi
36947 check-target-libffi:
36948 @: $(MAKE); $(unstage)
36949 @r=`${PWD_COMMAND}`; export r; \
36950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36951 $(NORMAL_TARGET_EXPORTS) \
36952 (cd $(TARGET_SUBDIR)/libffi && \
36953 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36955 @endif target-libffi
36957 .PHONY: install-target-libffi maybe-install-target-libffi
36958 maybe-install-target-libffi:
36959 @if target-libffi
36960 maybe-install-target-libffi: install-target-libffi
36962 install-target-libffi: installdirs
36963 @: $(MAKE); $(unstage)
36964 @r=`${PWD_COMMAND}`; export r; \
36965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36966 $(NORMAL_TARGET_EXPORTS) \
36967 (cd $(TARGET_SUBDIR)/libffi && \
36968 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36970 @endif target-libffi
36972 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36973 maybe-install-strip-target-libffi:
36974 @if target-libffi
36975 maybe-install-strip-target-libffi: install-strip-target-libffi
36977 install-strip-target-libffi: installdirs
36978 @: $(MAKE); $(unstage)
36979 @r=`${PWD_COMMAND}`; export r; \
36980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36981 $(NORMAL_TARGET_EXPORTS) \
36982 (cd $(TARGET_SUBDIR)/libffi && \
36983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36985 @endif target-libffi
36987 # Other targets (info, dvi, pdf, etc.)
36989 .PHONY: maybe-info-target-libffi info-target-libffi
36990 maybe-info-target-libffi:
36991 @if target-libffi
36992 maybe-info-target-libffi: info-target-libffi
36994 info-target-libffi: \
36995 configure-target-libffi
36996 @: $(MAKE); $(unstage)
36997 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36998 r=`${PWD_COMMAND}`; export r; \
36999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37000 $(NORMAL_TARGET_EXPORTS) \
37001 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
37002 for flag in $(EXTRA_TARGET_FLAGS); do \
37003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37004 done; \
37005 (cd $(TARGET_SUBDIR)/libffi && \
37006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37008 "RANLIB=$${RANLIB}" \
37009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37010 info) \
37011 || exit 1
37013 @endif target-libffi
37015 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
37016 maybe-dvi-target-libffi:
37017 @if target-libffi
37018 maybe-dvi-target-libffi: dvi-target-libffi
37020 dvi-target-libffi: \
37021 configure-target-libffi
37022 @: $(MAKE); $(unstage)
37023 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37024 r=`${PWD_COMMAND}`; export r; \
37025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37026 $(NORMAL_TARGET_EXPORTS) \
37027 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
37028 for flag in $(EXTRA_TARGET_FLAGS); do \
37029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37030 done; \
37031 (cd $(TARGET_SUBDIR)/libffi && \
37032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37034 "RANLIB=$${RANLIB}" \
37035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37036 dvi) \
37037 || exit 1
37039 @endif target-libffi
37041 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
37042 maybe-pdf-target-libffi:
37043 @if target-libffi
37044 maybe-pdf-target-libffi: pdf-target-libffi
37046 pdf-target-libffi: \
37047 configure-target-libffi
37048 @: $(MAKE); $(unstage)
37049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37050 r=`${PWD_COMMAND}`; export r; \
37051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37052 $(NORMAL_TARGET_EXPORTS) \
37053 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
37054 for flag in $(EXTRA_TARGET_FLAGS); do \
37055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37056 done; \
37057 (cd $(TARGET_SUBDIR)/libffi && \
37058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37060 "RANLIB=$${RANLIB}" \
37061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37062 pdf) \
37063 || exit 1
37065 @endif target-libffi
37067 .PHONY: maybe-html-target-libffi html-target-libffi
37068 maybe-html-target-libffi:
37069 @if target-libffi
37070 maybe-html-target-libffi: html-target-libffi
37072 html-target-libffi: \
37073 configure-target-libffi
37074 @: $(MAKE); $(unstage)
37075 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37076 r=`${PWD_COMMAND}`; export r; \
37077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37078 $(NORMAL_TARGET_EXPORTS) \
37079 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
37080 for flag in $(EXTRA_TARGET_FLAGS); do \
37081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37082 done; \
37083 (cd $(TARGET_SUBDIR)/libffi && \
37084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37086 "RANLIB=$${RANLIB}" \
37087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37088 html) \
37089 || exit 1
37091 @endif target-libffi
37093 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
37094 maybe-TAGS-target-libffi:
37095 @if target-libffi
37096 maybe-TAGS-target-libffi: TAGS-target-libffi
37098 TAGS-target-libffi: \
37099 configure-target-libffi
37100 @: $(MAKE); $(unstage)
37101 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37102 r=`${PWD_COMMAND}`; export r; \
37103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37104 $(NORMAL_TARGET_EXPORTS) \
37105 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
37106 for flag in $(EXTRA_TARGET_FLAGS); do \
37107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37108 done; \
37109 (cd $(TARGET_SUBDIR)/libffi && \
37110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37112 "RANLIB=$${RANLIB}" \
37113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37114 TAGS) \
37115 || exit 1
37117 @endif target-libffi
37119 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
37120 maybe-install-info-target-libffi:
37121 @if target-libffi
37122 maybe-install-info-target-libffi: install-info-target-libffi
37124 install-info-target-libffi: \
37125 configure-target-libffi \
37126 info-target-libffi
37127 @: $(MAKE); $(unstage)
37128 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37129 r=`${PWD_COMMAND}`; export r; \
37130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37131 $(NORMAL_TARGET_EXPORTS) \
37132 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
37133 for flag in $(EXTRA_TARGET_FLAGS); do \
37134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37135 done; \
37136 (cd $(TARGET_SUBDIR)/libffi && \
37137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37139 "RANLIB=$${RANLIB}" \
37140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37141 install-info) \
37142 || exit 1
37144 @endif target-libffi
37146 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
37147 maybe-install-pdf-target-libffi:
37148 @if target-libffi
37149 maybe-install-pdf-target-libffi: install-pdf-target-libffi
37151 install-pdf-target-libffi: \
37152 configure-target-libffi \
37153 pdf-target-libffi
37154 @: $(MAKE); $(unstage)
37155 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37156 r=`${PWD_COMMAND}`; export r; \
37157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37158 $(NORMAL_TARGET_EXPORTS) \
37159 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
37160 for flag in $(EXTRA_TARGET_FLAGS); do \
37161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37162 done; \
37163 (cd $(TARGET_SUBDIR)/libffi && \
37164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37166 "RANLIB=$${RANLIB}" \
37167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37168 install-pdf) \
37169 || exit 1
37171 @endif target-libffi
37173 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
37174 maybe-install-html-target-libffi:
37175 @if target-libffi
37176 maybe-install-html-target-libffi: install-html-target-libffi
37178 install-html-target-libffi: \
37179 configure-target-libffi \
37180 html-target-libffi
37181 @: $(MAKE); $(unstage)
37182 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37183 r=`${PWD_COMMAND}`; export r; \
37184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37185 $(NORMAL_TARGET_EXPORTS) \
37186 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
37187 for flag in $(EXTRA_TARGET_FLAGS); do \
37188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37189 done; \
37190 (cd $(TARGET_SUBDIR)/libffi && \
37191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37193 "RANLIB=$${RANLIB}" \
37194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37195 install-html) \
37196 || exit 1
37198 @endif target-libffi
37200 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
37201 maybe-installcheck-target-libffi:
37202 @if target-libffi
37203 maybe-installcheck-target-libffi: installcheck-target-libffi
37205 installcheck-target-libffi: \
37206 configure-target-libffi
37207 @: $(MAKE); $(unstage)
37208 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37209 r=`${PWD_COMMAND}`; export r; \
37210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37211 $(NORMAL_TARGET_EXPORTS) \
37212 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
37213 for flag in $(EXTRA_TARGET_FLAGS); do \
37214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37215 done; \
37216 (cd $(TARGET_SUBDIR)/libffi && \
37217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37219 "RANLIB=$${RANLIB}" \
37220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37221 installcheck) \
37222 || exit 1
37224 @endif target-libffi
37226 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
37227 maybe-mostlyclean-target-libffi:
37228 @if target-libffi
37229 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
37231 mostlyclean-target-libffi:
37232 @: $(MAKE); $(unstage)
37233 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37234 r=`${PWD_COMMAND}`; export r; \
37235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37236 $(NORMAL_TARGET_EXPORTS) \
37237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
37238 for flag in $(EXTRA_TARGET_FLAGS); do \
37239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37240 done; \
37241 (cd $(TARGET_SUBDIR)/libffi && \
37242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37244 "RANLIB=$${RANLIB}" \
37245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37246 mostlyclean) \
37247 || exit 1
37249 @endif target-libffi
37251 .PHONY: maybe-clean-target-libffi clean-target-libffi
37252 maybe-clean-target-libffi:
37253 @if target-libffi
37254 maybe-clean-target-libffi: clean-target-libffi
37256 clean-target-libffi:
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(NORMAL_TARGET_EXPORTS) \
37262 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
37263 for flag in $(EXTRA_TARGET_FLAGS); do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 (cd $(TARGET_SUBDIR)/libffi && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37269 "RANLIB=$${RANLIB}" \
37270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37271 clean) \
37272 || exit 1
37274 @endif target-libffi
37276 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
37277 maybe-distclean-target-libffi:
37278 @if target-libffi
37279 maybe-distclean-target-libffi: distclean-target-libffi
37281 distclean-target-libffi:
37282 @: $(MAKE); $(unstage)
37283 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37284 r=`${PWD_COMMAND}`; export r; \
37285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37286 $(NORMAL_TARGET_EXPORTS) \
37287 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
37288 for flag in $(EXTRA_TARGET_FLAGS); do \
37289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37290 done; \
37291 (cd $(TARGET_SUBDIR)/libffi && \
37292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37294 "RANLIB=$${RANLIB}" \
37295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37296 distclean) \
37297 || exit 1
37299 @endif target-libffi
37301 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
37302 maybe-maintainer-clean-target-libffi:
37303 @if target-libffi
37304 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
37306 maintainer-clean-target-libffi:
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(NORMAL_TARGET_EXPORTS) \
37312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/libffi && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 maintainer-clean) \
37322 || exit 1
37324 @endif target-libffi
37330 .PHONY: configure-target-libjava maybe-configure-target-libjava
37331 maybe-configure-target-libjava:
37332 @if gcc-bootstrap
37333 configure-target-libjava: stage_current
37334 @endif gcc-bootstrap
37335 @if target-libjava
37336 maybe-configure-target-libjava: configure-target-libjava
37337 configure-target-libjava:
37338 @: $(MAKE); $(unstage)
37339 @r=`${PWD_COMMAND}`; export r; \
37340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37341 echo "Checking multilib configuration for libjava..."; \
37342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
37343 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
37344 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
37345 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
37346 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
37347 else \
37348 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
37349 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
37350 fi; \
37351 else \
37352 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
37353 fi; \
37354 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
37355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
37356 $(RAW_CXX_TARGET_EXPORTS) \
37357 echo Configuring in $(TARGET_SUBDIR)/libjava; \
37358 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
37359 case $(srcdir) in \
37360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37361 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
37362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37363 esac; \
37364 srcdiroption="--srcdir=$${topdir}/libjava"; \
37365 libsrcdir="$$s/libjava"; \
37366 rm -f no-such-file || : ; \
37367 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37368 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37369 --target=${target_alias} $${srcdiroption} \
37370 || exit 1
37371 @endif target-libjava
37377 .PHONY: all-target-libjava maybe-all-target-libjava
37378 maybe-all-target-libjava:
37379 @if gcc-bootstrap
37380 all-target-libjava: stage_current
37381 @endif gcc-bootstrap
37382 @if target-libjava
37383 TARGET-target-libjava=all
37384 maybe-all-target-libjava: all-target-libjava
37385 all-target-libjava: configure-target-libjava
37386 @: $(MAKE); $(unstage)
37387 @r=`${PWD_COMMAND}`; export r; \
37388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37389 $(RAW_CXX_TARGET_EXPORTS) \
37390 (cd $(TARGET_SUBDIR)/libjava && \
37391 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37392 $(TARGET-target-libjava))
37393 @endif target-libjava
37399 .PHONY: check-target-libjava maybe-check-target-libjava
37400 maybe-check-target-libjava:
37401 @if target-libjava
37402 maybe-check-target-libjava: check-target-libjava
37404 check-target-libjava:
37405 @: $(MAKE); $(unstage)
37406 @r=`${PWD_COMMAND}`; export r; \
37407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37408 $(RAW_CXX_TARGET_EXPORTS) \
37409 (cd $(TARGET_SUBDIR)/libjava && \
37410 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37412 @endif target-libjava
37414 .PHONY: install-target-libjava maybe-install-target-libjava
37415 maybe-install-target-libjava:
37416 @if target-libjava
37417 maybe-install-target-libjava: install-target-libjava
37419 install-target-libjava: installdirs
37420 @: $(MAKE); $(unstage)
37421 @r=`${PWD_COMMAND}`; export r; \
37422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37423 $(RAW_CXX_TARGET_EXPORTS) \
37424 (cd $(TARGET_SUBDIR)/libjava && \
37425 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37427 @endif target-libjava
37429 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37430 maybe-install-strip-target-libjava:
37431 @if target-libjava
37432 maybe-install-strip-target-libjava: install-strip-target-libjava
37434 install-strip-target-libjava: installdirs
37435 @: $(MAKE); $(unstage)
37436 @r=`${PWD_COMMAND}`; export r; \
37437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37438 $(RAW_CXX_TARGET_EXPORTS) \
37439 (cd $(TARGET_SUBDIR)/libjava && \
37440 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37442 @endif target-libjava
37444 # Other targets (info, dvi, pdf, etc.)
37446 .PHONY: maybe-info-target-libjava info-target-libjava
37447 maybe-info-target-libjava:
37448 @if target-libjava
37449 maybe-info-target-libjava: info-target-libjava
37451 info-target-libjava: \
37452 configure-target-libjava
37453 @: $(MAKE); $(unstage)
37454 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37455 r=`${PWD_COMMAND}`; export r; \
37456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37457 $(RAW_CXX_TARGET_EXPORTS) \
37458 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37459 for flag in $(EXTRA_TARGET_FLAGS); do \
37460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37461 done; \
37462 (cd $(TARGET_SUBDIR)/libjava && \
37463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37465 "RANLIB=$${RANLIB}" \
37466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37467 info) \
37468 || exit 1
37470 @endif target-libjava
37472 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37473 maybe-dvi-target-libjava:
37474 @if target-libjava
37475 maybe-dvi-target-libjava: dvi-target-libjava
37477 dvi-target-libjava: \
37478 configure-target-libjava
37479 @: $(MAKE); $(unstage)
37480 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37481 r=`${PWD_COMMAND}`; export r; \
37482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37483 $(RAW_CXX_TARGET_EXPORTS) \
37484 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37485 for flag in $(EXTRA_TARGET_FLAGS); do \
37486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37487 done; \
37488 (cd $(TARGET_SUBDIR)/libjava && \
37489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37491 "RANLIB=$${RANLIB}" \
37492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37493 dvi) \
37494 || exit 1
37496 @endif target-libjava
37498 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37499 maybe-pdf-target-libjava:
37500 @if target-libjava
37501 maybe-pdf-target-libjava: pdf-target-libjava
37503 pdf-target-libjava: \
37504 configure-target-libjava
37505 @: $(MAKE); $(unstage)
37506 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37507 r=`${PWD_COMMAND}`; export r; \
37508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37509 $(RAW_CXX_TARGET_EXPORTS) \
37510 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37511 for flag in $(EXTRA_TARGET_FLAGS); do \
37512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37513 done; \
37514 (cd $(TARGET_SUBDIR)/libjava && \
37515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37517 "RANLIB=$${RANLIB}" \
37518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37519 pdf) \
37520 || exit 1
37522 @endif target-libjava
37524 .PHONY: maybe-html-target-libjava html-target-libjava
37525 maybe-html-target-libjava:
37526 @if target-libjava
37527 maybe-html-target-libjava: html-target-libjava
37529 html-target-libjava: \
37530 configure-target-libjava
37531 @: $(MAKE); $(unstage)
37532 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37533 r=`${PWD_COMMAND}`; export r; \
37534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37535 $(RAW_CXX_TARGET_EXPORTS) \
37536 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37537 for flag in $(EXTRA_TARGET_FLAGS); do \
37538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37539 done; \
37540 (cd $(TARGET_SUBDIR)/libjava && \
37541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37543 "RANLIB=$${RANLIB}" \
37544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37545 html) \
37546 || exit 1
37548 @endif target-libjava
37550 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37551 maybe-TAGS-target-libjava:
37552 @if target-libjava
37553 maybe-TAGS-target-libjava: TAGS-target-libjava
37555 TAGS-target-libjava: \
37556 configure-target-libjava
37557 @: $(MAKE); $(unstage)
37558 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37559 r=`${PWD_COMMAND}`; export r; \
37560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37561 $(RAW_CXX_TARGET_EXPORTS) \
37562 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37563 for flag in $(EXTRA_TARGET_FLAGS); do \
37564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37565 done; \
37566 (cd $(TARGET_SUBDIR)/libjava && \
37567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37569 "RANLIB=$${RANLIB}" \
37570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37571 TAGS) \
37572 || exit 1
37574 @endif target-libjava
37576 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37577 maybe-install-info-target-libjava:
37578 @if target-libjava
37579 maybe-install-info-target-libjava: install-info-target-libjava
37581 install-info-target-libjava: \
37582 configure-target-libjava \
37583 info-target-libjava
37584 @: $(MAKE); $(unstage)
37585 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37586 r=`${PWD_COMMAND}`; export r; \
37587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37588 $(RAW_CXX_TARGET_EXPORTS) \
37589 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37590 for flag in $(EXTRA_TARGET_FLAGS); do \
37591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37592 done; \
37593 (cd $(TARGET_SUBDIR)/libjava && \
37594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37596 "RANLIB=$${RANLIB}" \
37597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37598 install-info) \
37599 || exit 1
37601 @endif target-libjava
37603 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37604 maybe-install-pdf-target-libjava:
37605 @if target-libjava
37606 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37608 install-pdf-target-libjava: \
37609 configure-target-libjava \
37610 pdf-target-libjava
37611 @: $(MAKE); $(unstage)
37612 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37613 r=`${PWD_COMMAND}`; export r; \
37614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37615 $(RAW_CXX_TARGET_EXPORTS) \
37616 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37617 for flag in $(EXTRA_TARGET_FLAGS); do \
37618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37619 done; \
37620 (cd $(TARGET_SUBDIR)/libjava && \
37621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37623 "RANLIB=$${RANLIB}" \
37624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37625 install-pdf) \
37626 || exit 1
37628 @endif target-libjava
37630 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37631 maybe-install-html-target-libjava:
37632 @if target-libjava
37633 maybe-install-html-target-libjava: install-html-target-libjava
37635 install-html-target-libjava: \
37636 configure-target-libjava \
37637 html-target-libjava
37638 @: $(MAKE); $(unstage)
37639 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37640 r=`${PWD_COMMAND}`; export r; \
37641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37642 $(RAW_CXX_TARGET_EXPORTS) \
37643 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37644 for flag in $(EXTRA_TARGET_FLAGS); do \
37645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37646 done; \
37647 (cd $(TARGET_SUBDIR)/libjava && \
37648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37650 "RANLIB=$${RANLIB}" \
37651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37652 install-html) \
37653 || exit 1
37655 @endif target-libjava
37657 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37658 maybe-installcheck-target-libjava:
37659 @if target-libjava
37660 maybe-installcheck-target-libjava: installcheck-target-libjava
37662 installcheck-target-libjava: \
37663 configure-target-libjava
37664 @: $(MAKE); $(unstage)
37665 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37666 r=`${PWD_COMMAND}`; export r; \
37667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37668 $(RAW_CXX_TARGET_EXPORTS) \
37669 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37670 for flag in $(EXTRA_TARGET_FLAGS); do \
37671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37672 done; \
37673 (cd $(TARGET_SUBDIR)/libjava && \
37674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37676 "RANLIB=$${RANLIB}" \
37677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37678 installcheck) \
37679 || exit 1
37681 @endif target-libjava
37683 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37684 maybe-mostlyclean-target-libjava:
37685 @if target-libjava
37686 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37688 mostlyclean-target-libjava:
37689 @: $(MAKE); $(unstage)
37690 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37691 r=`${PWD_COMMAND}`; export r; \
37692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37693 $(RAW_CXX_TARGET_EXPORTS) \
37694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37695 for flag in $(EXTRA_TARGET_FLAGS); do \
37696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37697 done; \
37698 (cd $(TARGET_SUBDIR)/libjava && \
37699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37701 "RANLIB=$${RANLIB}" \
37702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37703 mostlyclean) \
37704 || exit 1
37706 @endif target-libjava
37708 .PHONY: maybe-clean-target-libjava clean-target-libjava
37709 maybe-clean-target-libjava:
37710 @if target-libjava
37711 maybe-clean-target-libjava: clean-target-libjava
37713 clean-target-libjava:
37714 @: $(MAKE); $(unstage)
37715 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37716 r=`${PWD_COMMAND}`; export r; \
37717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37718 $(RAW_CXX_TARGET_EXPORTS) \
37719 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37720 for flag in $(EXTRA_TARGET_FLAGS); do \
37721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37722 done; \
37723 (cd $(TARGET_SUBDIR)/libjava && \
37724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37726 "RANLIB=$${RANLIB}" \
37727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37728 clean) \
37729 || exit 1
37731 @endif target-libjava
37733 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37734 maybe-distclean-target-libjava:
37735 @if target-libjava
37736 maybe-distclean-target-libjava: distclean-target-libjava
37738 distclean-target-libjava:
37739 @: $(MAKE); $(unstage)
37740 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37741 r=`${PWD_COMMAND}`; export r; \
37742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37743 $(RAW_CXX_TARGET_EXPORTS) \
37744 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37745 for flag in $(EXTRA_TARGET_FLAGS); do \
37746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37747 done; \
37748 (cd $(TARGET_SUBDIR)/libjava && \
37749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37751 "RANLIB=$${RANLIB}" \
37752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37753 distclean) \
37754 || exit 1
37756 @endif target-libjava
37758 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37759 maybe-maintainer-clean-target-libjava:
37760 @if target-libjava
37761 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37763 maintainer-clean-target-libjava:
37764 @: $(MAKE); $(unstage)
37765 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37766 r=`${PWD_COMMAND}`; export r; \
37767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37768 $(RAW_CXX_TARGET_EXPORTS) \
37769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37770 for flag in $(EXTRA_TARGET_FLAGS); do \
37771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37772 done; \
37773 (cd $(TARGET_SUBDIR)/libjava && \
37774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37776 "RANLIB=$${RANLIB}" \
37777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37778 maintainer-clean) \
37779 || exit 1
37781 @endif target-libjava
37787 .PHONY: configure-target-zlib maybe-configure-target-zlib
37788 maybe-configure-target-zlib:
37789 @if gcc-bootstrap
37790 configure-target-zlib: stage_current
37791 @endif gcc-bootstrap
37792 @if target-zlib
37793 maybe-configure-target-zlib: configure-target-zlib
37794 configure-target-zlib:
37795 @: $(MAKE); $(unstage)
37796 @r=`${PWD_COMMAND}`; export r; \
37797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37798 echo "Checking multilib configuration for zlib..."; \
37799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37801 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37802 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37803 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37804 else \
37805 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37806 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37807 fi; \
37808 else \
37809 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37810 fi; \
37811 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37813 $(NORMAL_TARGET_EXPORTS) \
37814 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37815 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37816 case $(srcdir) in \
37817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37818 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37820 esac; \
37821 srcdiroption="--srcdir=$${topdir}/zlib"; \
37822 libsrcdir="$$s/zlib"; \
37823 rm -f no-such-file || : ; \
37824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37825 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37826 --target=${target_alias} $${srcdiroption} \
37827 || exit 1
37828 @endif target-zlib
37834 .PHONY: all-target-zlib maybe-all-target-zlib
37835 maybe-all-target-zlib:
37836 @if gcc-bootstrap
37837 all-target-zlib: stage_current
37838 @endif gcc-bootstrap
37839 @if target-zlib
37840 TARGET-target-zlib=all
37841 maybe-all-target-zlib: all-target-zlib
37842 all-target-zlib: configure-target-zlib
37843 @: $(MAKE); $(unstage)
37844 @r=`${PWD_COMMAND}`; export r; \
37845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37846 $(NORMAL_TARGET_EXPORTS) \
37847 (cd $(TARGET_SUBDIR)/zlib && \
37848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37849 $(TARGET-target-zlib))
37850 @endif target-zlib
37856 .PHONY: check-target-zlib maybe-check-target-zlib
37857 maybe-check-target-zlib:
37858 @if target-zlib
37859 maybe-check-target-zlib: check-target-zlib
37861 check-target-zlib:
37862 @: $(MAKE); $(unstage)
37863 @r=`${PWD_COMMAND}`; export r; \
37864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37865 $(NORMAL_TARGET_EXPORTS) \
37866 (cd $(TARGET_SUBDIR)/zlib && \
37867 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37869 @endif target-zlib
37871 .PHONY: install-target-zlib maybe-install-target-zlib
37872 maybe-install-target-zlib:
37873 @if target-zlib
37874 maybe-install-target-zlib: install-target-zlib
37876 install-target-zlib: installdirs
37877 @: $(MAKE); $(unstage)
37878 @r=`${PWD_COMMAND}`; export r; \
37879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37880 $(NORMAL_TARGET_EXPORTS) \
37881 (cd $(TARGET_SUBDIR)/zlib && \
37882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37884 @endif target-zlib
37886 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37887 maybe-install-strip-target-zlib:
37888 @if target-zlib
37889 maybe-install-strip-target-zlib: install-strip-target-zlib
37891 install-strip-target-zlib: installdirs
37892 @: $(MAKE); $(unstage)
37893 @r=`${PWD_COMMAND}`; export r; \
37894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37895 $(NORMAL_TARGET_EXPORTS) \
37896 (cd $(TARGET_SUBDIR)/zlib && \
37897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37899 @endif target-zlib
37901 # Other targets (info, dvi, pdf, etc.)
37903 .PHONY: maybe-info-target-zlib info-target-zlib
37904 maybe-info-target-zlib:
37905 @if target-zlib
37906 maybe-info-target-zlib: info-target-zlib
37908 info-target-zlib: \
37909 configure-target-zlib
37910 @: $(MAKE); $(unstage)
37911 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37912 r=`${PWD_COMMAND}`; export r; \
37913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37914 $(NORMAL_TARGET_EXPORTS) \
37915 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37916 for flag in $(EXTRA_TARGET_FLAGS); do \
37917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37918 done; \
37919 (cd $(TARGET_SUBDIR)/zlib && \
37920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37922 "RANLIB=$${RANLIB}" \
37923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37924 info) \
37925 || exit 1
37927 @endif target-zlib
37929 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37930 maybe-dvi-target-zlib:
37931 @if target-zlib
37932 maybe-dvi-target-zlib: dvi-target-zlib
37934 dvi-target-zlib: \
37935 configure-target-zlib
37936 @: $(MAKE); $(unstage)
37937 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37938 r=`${PWD_COMMAND}`; export r; \
37939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37940 $(NORMAL_TARGET_EXPORTS) \
37941 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37942 for flag in $(EXTRA_TARGET_FLAGS); do \
37943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37944 done; \
37945 (cd $(TARGET_SUBDIR)/zlib && \
37946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37948 "RANLIB=$${RANLIB}" \
37949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37950 dvi) \
37951 || exit 1
37953 @endif target-zlib
37955 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37956 maybe-pdf-target-zlib:
37957 @if target-zlib
37958 maybe-pdf-target-zlib: pdf-target-zlib
37960 pdf-target-zlib: \
37961 configure-target-zlib
37962 @: $(MAKE); $(unstage)
37963 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37964 r=`${PWD_COMMAND}`; export r; \
37965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37966 $(NORMAL_TARGET_EXPORTS) \
37967 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37968 for flag in $(EXTRA_TARGET_FLAGS); do \
37969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37970 done; \
37971 (cd $(TARGET_SUBDIR)/zlib && \
37972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37974 "RANLIB=$${RANLIB}" \
37975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37976 pdf) \
37977 || exit 1
37979 @endif target-zlib
37981 .PHONY: maybe-html-target-zlib html-target-zlib
37982 maybe-html-target-zlib:
37983 @if target-zlib
37984 maybe-html-target-zlib: html-target-zlib
37986 html-target-zlib: \
37987 configure-target-zlib
37988 @: $(MAKE); $(unstage)
37989 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37990 r=`${PWD_COMMAND}`; export r; \
37991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37992 $(NORMAL_TARGET_EXPORTS) \
37993 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37994 for flag in $(EXTRA_TARGET_FLAGS); do \
37995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37996 done; \
37997 (cd $(TARGET_SUBDIR)/zlib && \
37998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38000 "RANLIB=$${RANLIB}" \
38001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38002 html) \
38003 || exit 1
38005 @endif target-zlib
38007 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
38008 maybe-TAGS-target-zlib:
38009 @if target-zlib
38010 maybe-TAGS-target-zlib: TAGS-target-zlib
38012 TAGS-target-zlib: \
38013 configure-target-zlib
38014 @: $(MAKE); $(unstage)
38015 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38016 r=`${PWD_COMMAND}`; export r; \
38017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38018 $(NORMAL_TARGET_EXPORTS) \
38019 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
38020 for flag in $(EXTRA_TARGET_FLAGS); do \
38021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38022 done; \
38023 (cd $(TARGET_SUBDIR)/zlib && \
38024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38026 "RANLIB=$${RANLIB}" \
38027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38028 TAGS) \
38029 || exit 1
38031 @endif target-zlib
38033 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
38034 maybe-install-info-target-zlib:
38035 @if target-zlib
38036 maybe-install-info-target-zlib: install-info-target-zlib
38038 install-info-target-zlib: \
38039 configure-target-zlib \
38040 info-target-zlib
38041 @: $(MAKE); $(unstage)
38042 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38043 r=`${PWD_COMMAND}`; export r; \
38044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38045 $(NORMAL_TARGET_EXPORTS) \
38046 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
38047 for flag in $(EXTRA_TARGET_FLAGS); do \
38048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38049 done; \
38050 (cd $(TARGET_SUBDIR)/zlib && \
38051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38053 "RANLIB=$${RANLIB}" \
38054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38055 install-info) \
38056 || exit 1
38058 @endif target-zlib
38060 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
38061 maybe-install-pdf-target-zlib:
38062 @if target-zlib
38063 maybe-install-pdf-target-zlib: install-pdf-target-zlib
38065 install-pdf-target-zlib: \
38066 configure-target-zlib \
38067 pdf-target-zlib
38068 @: $(MAKE); $(unstage)
38069 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38070 r=`${PWD_COMMAND}`; export r; \
38071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38072 $(NORMAL_TARGET_EXPORTS) \
38073 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
38074 for flag in $(EXTRA_TARGET_FLAGS); do \
38075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38076 done; \
38077 (cd $(TARGET_SUBDIR)/zlib && \
38078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38080 "RANLIB=$${RANLIB}" \
38081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38082 install-pdf) \
38083 || exit 1
38085 @endif target-zlib
38087 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
38088 maybe-install-html-target-zlib:
38089 @if target-zlib
38090 maybe-install-html-target-zlib: install-html-target-zlib
38092 install-html-target-zlib: \
38093 configure-target-zlib \
38094 html-target-zlib
38095 @: $(MAKE); $(unstage)
38096 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38097 r=`${PWD_COMMAND}`; export r; \
38098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38099 $(NORMAL_TARGET_EXPORTS) \
38100 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
38101 for flag in $(EXTRA_TARGET_FLAGS); do \
38102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38103 done; \
38104 (cd $(TARGET_SUBDIR)/zlib && \
38105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38107 "RANLIB=$${RANLIB}" \
38108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38109 install-html) \
38110 || exit 1
38112 @endif target-zlib
38114 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
38115 maybe-installcheck-target-zlib:
38116 @if target-zlib
38117 maybe-installcheck-target-zlib: installcheck-target-zlib
38119 installcheck-target-zlib: \
38120 configure-target-zlib
38121 @: $(MAKE); $(unstage)
38122 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38123 r=`${PWD_COMMAND}`; export r; \
38124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38125 $(NORMAL_TARGET_EXPORTS) \
38126 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
38127 for flag in $(EXTRA_TARGET_FLAGS); do \
38128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38129 done; \
38130 (cd $(TARGET_SUBDIR)/zlib && \
38131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38133 "RANLIB=$${RANLIB}" \
38134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38135 installcheck) \
38136 || exit 1
38138 @endif target-zlib
38140 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
38141 maybe-mostlyclean-target-zlib:
38142 @if target-zlib
38143 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
38145 mostlyclean-target-zlib:
38146 @: $(MAKE); $(unstage)
38147 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38148 r=`${PWD_COMMAND}`; export r; \
38149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38150 $(NORMAL_TARGET_EXPORTS) \
38151 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
38152 for flag in $(EXTRA_TARGET_FLAGS); do \
38153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38154 done; \
38155 (cd $(TARGET_SUBDIR)/zlib && \
38156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38158 "RANLIB=$${RANLIB}" \
38159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38160 mostlyclean) \
38161 || exit 1
38163 @endif target-zlib
38165 .PHONY: maybe-clean-target-zlib clean-target-zlib
38166 maybe-clean-target-zlib:
38167 @if target-zlib
38168 maybe-clean-target-zlib: clean-target-zlib
38170 clean-target-zlib:
38171 @: $(MAKE); $(unstage)
38172 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(NORMAL_TARGET_EXPORTS) \
38176 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
38177 for flag in $(EXTRA_TARGET_FLAGS); do \
38178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38179 done; \
38180 (cd $(TARGET_SUBDIR)/zlib && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 clean) \
38186 || exit 1
38188 @endif target-zlib
38190 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
38191 maybe-distclean-target-zlib:
38192 @if target-zlib
38193 maybe-distclean-target-zlib: distclean-target-zlib
38195 distclean-target-zlib:
38196 @: $(MAKE); $(unstage)
38197 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(NORMAL_TARGET_EXPORTS) \
38201 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
38202 for flag in $(EXTRA_TARGET_FLAGS); do \
38203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38204 done; \
38205 (cd $(TARGET_SUBDIR)/zlib && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 distclean) \
38211 || exit 1
38213 @endif target-zlib
38215 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
38216 maybe-maintainer-clean-target-zlib:
38217 @if target-zlib
38218 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
38220 maintainer-clean-target-zlib:
38221 @: $(MAKE); $(unstage)
38222 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38223 r=`${PWD_COMMAND}`; export r; \
38224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38225 $(NORMAL_TARGET_EXPORTS) \
38226 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
38227 for flag in $(EXTRA_TARGET_FLAGS); do \
38228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38229 done; \
38230 (cd $(TARGET_SUBDIR)/zlib && \
38231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38233 "RANLIB=$${RANLIB}" \
38234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38235 maintainer-clean) \
38236 || exit 1
38238 @endif target-zlib
38244 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
38245 maybe-configure-target-boehm-gc:
38246 @if gcc-bootstrap
38247 configure-target-boehm-gc: stage_current
38248 @endif gcc-bootstrap
38249 @if target-boehm-gc
38250 maybe-configure-target-boehm-gc: configure-target-boehm-gc
38251 configure-target-boehm-gc:
38252 @: $(MAKE); $(unstage)
38253 @r=`${PWD_COMMAND}`; export r; \
38254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38255 echo "Checking multilib configuration for boehm-gc..."; \
38256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
38257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
38258 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
38259 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
38260 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
38261 else \
38262 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
38263 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
38264 fi; \
38265 else \
38266 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
38267 fi; \
38268 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
38269 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
38270 $(NORMAL_TARGET_EXPORTS) \
38271 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
38272 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
38273 case $(srcdir) in \
38274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38275 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
38276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38277 esac; \
38278 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
38279 libsrcdir="$$s/boehm-gc"; \
38280 rm -f no-such-file || : ; \
38281 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38282 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38283 --target=${target_alias} $${srcdiroption} \
38284 || exit 1
38285 @endif target-boehm-gc
38291 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
38292 maybe-all-target-boehm-gc:
38293 @if gcc-bootstrap
38294 all-target-boehm-gc: stage_current
38295 @endif gcc-bootstrap
38296 @if target-boehm-gc
38297 TARGET-target-boehm-gc=all
38298 maybe-all-target-boehm-gc: all-target-boehm-gc
38299 all-target-boehm-gc: configure-target-boehm-gc
38300 @: $(MAKE); $(unstage)
38301 @r=`${PWD_COMMAND}`; export r; \
38302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38303 $(NORMAL_TARGET_EXPORTS) \
38304 (cd $(TARGET_SUBDIR)/boehm-gc && \
38305 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38306 $(TARGET-target-boehm-gc))
38307 @endif target-boehm-gc
38313 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
38314 maybe-check-target-boehm-gc:
38315 @if target-boehm-gc
38316 maybe-check-target-boehm-gc: check-target-boehm-gc
38318 check-target-boehm-gc:
38319 @: $(MAKE); $(unstage)
38320 @r=`${PWD_COMMAND}`; export r; \
38321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38322 $(NORMAL_TARGET_EXPORTS) \
38323 (cd $(TARGET_SUBDIR)/boehm-gc && \
38324 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38326 @endif target-boehm-gc
38328 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
38329 maybe-install-target-boehm-gc:
38330 @if target-boehm-gc
38331 maybe-install-target-boehm-gc: install-target-boehm-gc
38333 install-target-boehm-gc: installdirs
38334 @: $(MAKE); $(unstage)
38335 @r=`${PWD_COMMAND}`; export r; \
38336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38337 $(NORMAL_TARGET_EXPORTS) \
38338 (cd $(TARGET_SUBDIR)/boehm-gc && \
38339 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38341 @endif target-boehm-gc
38343 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
38344 maybe-install-strip-target-boehm-gc:
38345 @if target-boehm-gc
38346 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
38348 install-strip-target-boehm-gc: installdirs
38349 @: $(MAKE); $(unstage)
38350 @r=`${PWD_COMMAND}`; export r; \
38351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38352 $(NORMAL_TARGET_EXPORTS) \
38353 (cd $(TARGET_SUBDIR)/boehm-gc && \
38354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38356 @endif target-boehm-gc
38358 # Other targets (info, dvi, pdf, etc.)
38360 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
38361 maybe-info-target-boehm-gc:
38362 @if target-boehm-gc
38363 maybe-info-target-boehm-gc: info-target-boehm-gc
38365 info-target-boehm-gc: \
38366 configure-target-boehm-gc
38367 @: $(MAKE); $(unstage)
38368 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38369 r=`${PWD_COMMAND}`; export r; \
38370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38371 $(NORMAL_TARGET_EXPORTS) \
38372 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
38373 for flag in $(EXTRA_TARGET_FLAGS); do \
38374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38375 done; \
38376 (cd $(TARGET_SUBDIR)/boehm-gc && \
38377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38379 "RANLIB=$${RANLIB}" \
38380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38381 info) \
38382 || exit 1
38384 @endif target-boehm-gc
38386 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
38387 maybe-dvi-target-boehm-gc:
38388 @if target-boehm-gc
38389 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
38391 dvi-target-boehm-gc: \
38392 configure-target-boehm-gc
38393 @: $(MAKE); $(unstage)
38394 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38395 r=`${PWD_COMMAND}`; export r; \
38396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38397 $(NORMAL_TARGET_EXPORTS) \
38398 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
38399 for flag in $(EXTRA_TARGET_FLAGS); do \
38400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38401 done; \
38402 (cd $(TARGET_SUBDIR)/boehm-gc && \
38403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38405 "RANLIB=$${RANLIB}" \
38406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38407 dvi) \
38408 || exit 1
38410 @endif target-boehm-gc
38412 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
38413 maybe-pdf-target-boehm-gc:
38414 @if target-boehm-gc
38415 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
38417 pdf-target-boehm-gc: \
38418 configure-target-boehm-gc
38419 @: $(MAKE); $(unstage)
38420 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38421 r=`${PWD_COMMAND}`; export r; \
38422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38423 $(NORMAL_TARGET_EXPORTS) \
38424 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38425 for flag in $(EXTRA_TARGET_FLAGS); do \
38426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38427 done; \
38428 (cd $(TARGET_SUBDIR)/boehm-gc && \
38429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38431 "RANLIB=$${RANLIB}" \
38432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38433 pdf) \
38434 || exit 1
38436 @endif target-boehm-gc
38438 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38439 maybe-html-target-boehm-gc:
38440 @if target-boehm-gc
38441 maybe-html-target-boehm-gc: html-target-boehm-gc
38443 html-target-boehm-gc: \
38444 configure-target-boehm-gc
38445 @: $(MAKE); $(unstage)
38446 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38447 r=`${PWD_COMMAND}`; export r; \
38448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38449 $(NORMAL_TARGET_EXPORTS) \
38450 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38451 for flag in $(EXTRA_TARGET_FLAGS); do \
38452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38453 done; \
38454 (cd $(TARGET_SUBDIR)/boehm-gc && \
38455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38457 "RANLIB=$${RANLIB}" \
38458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38459 html) \
38460 || exit 1
38462 @endif target-boehm-gc
38464 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38465 maybe-TAGS-target-boehm-gc:
38466 @if target-boehm-gc
38467 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38469 TAGS-target-boehm-gc: \
38470 configure-target-boehm-gc
38471 @: $(MAKE); $(unstage)
38472 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38473 r=`${PWD_COMMAND}`; export r; \
38474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38475 $(NORMAL_TARGET_EXPORTS) \
38476 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38477 for flag in $(EXTRA_TARGET_FLAGS); do \
38478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38479 done; \
38480 (cd $(TARGET_SUBDIR)/boehm-gc && \
38481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38483 "RANLIB=$${RANLIB}" \
38484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38485 TAGS) \
38486 || exit 1
38488 @endif target-boehm-gc
38490 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38491 maybe-install-info-target-boehm-gc:
38492 @if target-boehm-gc
38493 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38495 install-info-target-boehm-gc: \
38496 configure-target-boehm-gc \
38497 info-target-boehm-gc
38498 @: $(MAKE); $(unstage)
38499 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38500 r=`${PWD_COMMAND}`; export r; \
38501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38502 $(NORMAL_TARGET_EXPORTS) \
38503 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38504 for flag in $(EXTRA_TARGET_FLAGS); do \
38505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38506 done; \
38507 (cd $(TARGET_SUBDIR)/boehm-gc && \
38508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38510 "RANLIB=$${RANLIB}" \
38511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38512 install-info) \
38513 || exit 1
38515 @endif target-boehm-gc
38517 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38518 maybe-install-pdf-target-boehm-gc:
38519 @if target-boehm-gc
38520 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38522 install-pdf-target-boehm-gc: \
38523 configure-target-boehm-gc \
38524 pdf-target-boehm-gc
38525 @: $(MAKE); $(unstage)
38526 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38527 r=`${PWD_COMMAND}`; export r; \
38528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38529 $(NORMAL_TARGET_EXPORTS) \
38530 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38531 for flag in $(EXTRA_TARGET_FLAGS); do \
38532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38533 done; \
38534 (cd $(TARGET_SUBDIR)/boehm-gc && \
38535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38537 "RANLIB=$${RANLIB}" \
38538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38539 install-pdf) \
38540 || exit 1
38542 @endif target-boehm-gc
38544 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38545 maybe-install-html-target-boehm-gc:
38546 @if target-boehm-gc
38547 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38549 install-html-target-boehm-gc: \
38550 configure-target-boehm-gc \
38551 html-target-boehm-gc
38552 @: $(MAKE); $(unstage)
38553 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38554 r=`${PWD_COMMAND}`; export r; \
38555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38556 $(NORMAL_TARGET_EXPORTS) \
38557 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38558 for flag in $(EXTRA_TARGET_FLAGS); do \
38559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38560 done; \
38561 (cd $(TARGET_SUBDIR)/boehm-gc && \
38562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38564 "RANLIB=$${RANLIB}" \
38565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38566 install-html) \
38567 || exit 1
38569 @endif target-boehm-gc
38571 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38572 maybe-installcheck-target-boehm-gc:
38573 @if target-boehm-gc
38574 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38576 installcheck-target-boehm-gc: \
38577 configure-target-boehm-gc
38578 @: $(MAKE); $(unstage)
38579 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38580 r=`${PWD_COMMAND}`; export r; \
38581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38582 $(NORMAL_TARGET_EXPORTS) \
38583 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38584 for flag in $(EXTRA_TARGET_FLAGS); do \
38585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38586 done; \
38587 (cd $(TARGET_SUBDIR)/boehm-gc && \
38588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38590 "RANLIB=$${RANLIB}" \
38591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38592 installcheck) \
38593 || exit 1
38595 @endif target-boehm-gc
38597 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38598 maybe-mostlyclean-target-boehm-gc:
38599 @if target-boehm-gc
38600 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38602 mostlyclean-target-boehm-gc:
38603 @: $(MAKE); $(unstage)
38604 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38605 r=`${PWD_COMMAND}`; export r; \
38606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38607 $(NORMAL_TARGET_EXPORTS) \
38608 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38609 for flag in $(EXTRA_TARGET_FLAGS); do \
38610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38611 done; \
38612 (cd $(TARGET_SUBDIR)/boehm-gc && \
38613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38615 "RANLIB=$${RANLIB}" \
38616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38617 mostlyclean) \
38618 || exit 1
38620 @endif target-boehm-gc
38622 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38623 maybe-clean-target-boehm-gc:
38624 @if target-boehm-gc
38625 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38627 clean-target-boehm-gc:
38628 @: $(MAKE); $(unstage)
38629 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38630 r=`${PWD_COMMAND}`; export r; \
38631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38632 $(NORMAL_TARGET_EXPORTS) \
38633 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38634 for flag in $(EXTRA_TARGET_FLAGS); do \
38635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38636 done; \
38637 (cd $(TARGET_SUBDIR)/boehm-gc && \
38638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38640 "RANLIB=$${RANLIB}" \
38641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38642 clean) \
38643 || exit 1
38645 @endif target-boehm-gc
38647 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38648 maybe-distclean-target-boehm-gc:
38649 @if target-boehm-gc
38650 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38652 distclean-target-boehm-gc:
38653 @: $(MAKE); $(unstage)
38654 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38655 r=`${PWD_COMMAND}`; export r; \
38656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38657 $(NORMAL_TARGET_EXPORTS) \
38658 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38659 for flag in $(EXTRA_TARGET_FLAGS); do \
38660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38661 done; \
38662 (cd $(TARGET_SUBDIR)/boehm-gc && \
38663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38665 "RANLIB=$${RANLIB}" \
38666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38667 distclean) \
38668 || exit 1
38670 @endif target-boehm-gc
38672 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38673 maybe-maintainer-clean-target-boehm-gc:
38674 @if target-boehm-gc
38675 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38677 maintainer-clean-target-boehm-gc:
38678 @: $(MAKE); $(unstage)
38679 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(NORMAL_TARGET_EXPORTS) \
38683 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38684 for flag in $(EXTRA_TARGET_FLAGS); do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 (cd $(TARGET_SUBDIR)/boehm-gc && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38692 maintainer-clean) \
38693 || exit 1
38695 @endif target-boehm-gc
38701 .PHONY: configure-target-rda maybe-configure-target-rda
38702 maybe-configure-target-rda:
38703 @if gcc-bootstrap
38704 configure-target-rda: stage_current
38705 @endif gcc-bootstrap
38706 @if target-rda
38707 maybe-configure-target-rda: configure-target-rda
38708 configure-target-rda:
38709 @: $(MAKE); $(unstage)
38710 @r=`${PWD_COMMAND}`; export r; \
38711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38712 echo "Checking multilib configuration for rda..."; \
38713 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38714 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38715 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38716 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38717 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38718 else \
38719 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38720 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38721 fi; \
38722 else \
38723 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38724 fi; \
38725 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38726 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38727 $(NORMAL_TARGET_EXPORTS) \
38728 echo Configuring in $(TARGET_SUBDIR)/rda; \
38729 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38730 case $(srcdir) in \
38731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38732 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38734 esac; \
38735 srcdiroption="--srcdir=$${topdir}/rda"; \
38736 libsrcdir="$$s/rda"; \
38737 rm -f no-such-file || : ; \
38738 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38739 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38740 --target=${target_alias} $${srcdiroption} \
38741 || exit 1
38742 @endif target-rda
38748 .PHONY: all-target-rda maybe-all-target-rda
38749 maybe-all-target-rda:
38750 @if gcc-bootstrap
38751 all-target-rda: stage_current
38752 @endif gcc-bootstrap
38753 @if target-rda
38754 TARGET-target-rda=all
38755 maybe-all-target-rda: all-target-rda
38756 all-target-rda: configure-target-rda
38757 @: $(MAKE); $(unstage)
38758 @r=`${PWD_COMMAND}`; export r; \
38759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38760 $(NORMAL_TARGET_EXPORTS) \
38761 (cd $(TARGET_SUBDIR)/rda && \
38762 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38763 $(TARGET-target-rda))
38764 @endif target-rda
38770 .PHONY: check-target-rda maybe-check-target-rda
38771 maybe-check-target-rda:
38772 @if target-rda
38773 maybe-check-target-rda: check-target-rda
38775 check-target-rda:
38776 @: $(MAKE); $(unstage)
38777 @r=`${PWD_COMMAND}`; export r; \
38778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38779 $(NORMAL_TARGET_EXPORTS) \
38780 (cd $(TARGET_SUBDIR)/rda && \
38781 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38783 @endif target-rda
38785 .PHONY: install-target-rda maybe-install-target-rda
38786 maybe-install-target-rda:
38787 @if target-rda
38788 maybe-install-target-rda: install-target-rda
38790 install-target-rda: installdirs
38791 @: $(MAKE); $(unstage)
38792 @r=`${PWD_COMMAND}`; export r; \
38793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38794 $(NORMAL_TARGET_EXPORTS) \
38795 (cd $(TARGET_SUBDIR)/rda && \
38796 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38798 @endif target-rda
38800 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38801 maybe-install-strip-target-rda:
38802 @if target-rda
38803 maybe-install-strip-target-rda: install-strip-target-rda
38805 install-strip-target-rda: installdirs
38806 @: $(MAKE); $(unstage)
38807 @r=`${PWD_COMMAND}`; export r; \
38808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38809 $(NORMAL_TARGET_EXPORTS) \
38810 (cd $(TARGET_SUBDIR)/rda && \
38811 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38813 @endif target-rda
38815 # Other targets (info, dvi, pdf, etc.)
38817 .PHONY: maybe-info-target-rda info-target-rda
38818 maybe-info-target-rda:
38819 @if target-rda
38820 maybe-info-target-rda: info-target-rda
38822 info-target-rda: \
38823 configure-target-rda
38824 @: $(MAKE); $(unstage)
38825 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38826 r=`${PWD_COMMAND}`; export r; \
38827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38828 $(NORMAL_TARGET_EXPORTS) \
38829 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38830 for flag in $(EXTRA_TARGET_FLAGS); do \
38831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38832 done; \
38833 (cd $(TARGET_SUBDIR)/rda && \
38834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38836 "RANLIB=$${RANLIB}" \
38837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38838 info) \
38839 || exit 1
38841 @endif target-rda
38843 .PHONY: maybe-dvi-target-rda dvi-target-rda
38844 maybe-dvi-target-rda:
38845 @if target-rda
38846 maybe-dvi-target-rda: dvi-target-rda
38848 dvi-target-rda: \
38849 configure-target-rda
38850 @: $(MAKE); $(unstage)
38851 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38852 r=`${PWD_COMMAND}`; export r; \
38853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38854 $(NORMAL_TARGET_EXPORTS) \
38855 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38856 for flag in $(EXTRA_TARGET_FLAGS); do \
38857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38858 done; \
38859 (cd $(TARGET_SUBDIR)/rda && \
38860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38862 "RANLIB=$${RANLIB}" \
38863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38864 dvi) \
38865 || exit 1
38867 @endif target-rda
38869 .PHONY: maybe-pdf-target-rda pdf-target-rda
38870 maybe-pdf-target-rda:
38871 @if target-rda
38872 maybe-pdf-target-rda: pdf-target-rda
38874 pdf-target-rda: \
38875 configure-target-rda
38876 @: $(MAKE); $(unstage)
38877 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38878 r=`${PWD_COMMAND}`; export r; \
38879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38880 $(NORMAL_TARGET_EXPORTS) \
38881 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38882 for flag in $(EXTRA_TARGET_FLAGS); do \
38883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38884 done; \
38885 (cd $(TARGET_SUBDIR)/rda && \
38886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38888 "RANLIB=$${RANLIB}" \
38889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38890 pdf) \
38891 || exit 1
38893 @endif target-rda
38895 .PHONY: maybe-html-target-rda html-target-rda
38896 maybe-html-target-rda:
38897 @if target-rda
38898 maybe-html-target-rda: html-target-rda
38900 html-target-rda: \
38901 configure-target-rda
38902 @: $(MAKE); $(unstage)
38903 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38904 r=`${PWD_COMMAND}`; export r; \
38905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38906 $(NORMAL_TARGET_EXPORTS) \
38907 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38908 for flag in $(EXTRA_TARGET_FLAGS); do \
38909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38910 done; \
38911 (cd $(TARGET_SUBDIR)/rda && \
38912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38914 "RANLIB=$${RANLIB}" \
38915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38916 html) \
38917 || exit 1
38919 @endif target-rda
38921 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38922 maybe-TAGS-target-rda:
38923 @if target-rda
38924 maybe-TAGS-target-rda: TAGS-target-rda
38926 TAGS-target-rda: \
38927 configure-target-rda
38928 @: $(MAKE); $(unstage)
38929 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38930 r=`${PWD_COMMAND}`; export r; \
38931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38932 $(NORMAL_TARGET_EXPORTS) \
38933 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38934 for flag in $(EXTRA_TARGET_FLAGS); do \
38935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38936 done; \
38937 (cd $(TARGET_SUBDIR)/rda && \
38938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38940 "RANLIB=$${RANLIB}" \
38941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38942 TAGS) \
38943 || exit 1
38945 @endif target-rda
38947 .PHONY: maybe-install-info-target-rda install-info-target-rda
38948 maybe-install-info-target-rda:
38949 @if target-rda
38950 maybe-install-info-target-rda: install-info-target-rda
38952 install-info-target-rda: \
38953 configure-target-rda \
38954 info-target-rda
38955 @: $(MAKE); $(unstage)
38956 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38957 r=`${PWD_COMMAND}`; export r; \
38958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38959 $(NORMAL_TARGET_EXPORTS) \
38960 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38961 for flag in $(EXTRA_TARGET_FLAGS); do \
38962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38963 done; \
38964 (cd $(TARGET_SUBDIR)/rda && \
38965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38967 "RANLIB=$${RANLIB}" \
38968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38969 install-info) \
38970 || exit 1
38972 @endif target-rda
38974 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38975 maybe-install-pdf-target-rda:
38976 @if target-rda
38977 maybe-install-pdf-target-rda: install-pdf-target-rda
38979 install-pdf-target-rda: \
38980 configure-target-rda \
38981 pdf-target-rda
38982 @: $(MAKE); $(unstage)
38983 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38984 r=`${PWD_COMMAND}`; export r; \
38985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38986 $(NORMAL_TARGET_EXPORTS) \
38987 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38988 for flag in $(EXTRA_TARGET_FLAGS); do \
38989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38990 done; \
38991 (cd $(TARGET_SUBDIR)/rda && \
38992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38994 "RANLIB=$${RANLIB}" \
38995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38996 install-pdf) \
38997 || exit 1
38999 @endif target-rda
39001 .PHONY: maybe-install-html-target-rda install-html-target-rda
39002 maybe-install-html-target-rda:
39003 @if target-rda
39004 maybe-install-html-target-rda: install-html-target-rda
39006 install-html-target-rda: \
39007 configure-target-rda \
39008 html-target-rda
39009 @: $(MAKE); $(unstage)
39010 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39011 r=`${PWD_COMMAND}`; export r; \
39012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39013 $(NORMAL_TARGET_EXPORTS) \
39014 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
39015 for flag in $(EXTRA_TARGET_FLAGS); do \
39016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39017 done; \
39018 (cd $(TARGET_SUBDIR)/rda && \
39019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39021 "RANLIB=$${RANLIB}" \
39022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39023 install-html) \
39024 || exit 1
39026 @endif target-rda
39028 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
39029 maybe-installcheck-target-rda:
39030 @if target-rda
39031 maybe-installcheck-target-rda: installcheck-target-rda
39033 installcheck-target-rda: \
39034 configure-target-rda
39035 @: $(MAKE); $(unstage)
39036 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39037 r=`${PWD_COMMAND}`; export r; \
39038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39039 $(NORMAL_TARGET_EXPORTS) \
39040 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
39041 for flag in $(EXTRA_TARGET_FLAGS); do \
39042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39043 done; \
39044 (cd $(TARGET_SUBDIR)/rda && \
39045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39047 "RANLIB=$${RANLIB}" \
39048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39049 installcheck) \
39050 || exit 1
39052 @endif target-rda
39054 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
39055 maybe-mostlyclean-target-rda:
39056 @if target-rda
39057 maybe-mostlyclean-target-rda: mostlyclean-target-rda
39059 mostlyclean-target-rda:
39060 @: $(MAKE); $(unstage)
39061 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39062 r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(NORMAL_TARGET_EXPORTS) \
39065 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
39066 for flag in $(EXTRA_TARGET_FLAGS); do \
39067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39068 done; \
39069 (cd $(TARGET_SUBDIR)/rda && \
39070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39072 "RANLIB=$${RANLIB}" \
39073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39074 mostlyclean) \
39075 || exit 1
39077 @endif target-rda
39079 .PHONY: maybe-clean-target-rda clean-target-rda
39080 maybe-clean-target-rda:
39081 @if target-rda
39082 maybe-clean-target-rda: clean-target-rda
39084 clean-target-rda:
39085 @: $(MAKE); $(unstage)
39086 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39087 r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(NORMAL_TARGET_EXPORTS) \
39090 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
39091 for flag in $(EXTRA_TARGET_FLAGS); do \
39092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39093 done; \
39094 (cd $(TARGET_SUBDIR)/rda && \
39095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39097 "RANLIB=$${RANLIB}" \
39098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39099 clean) \
39100 || exit 1
39102 @endif target-rda
39104 .PHONY: maybe-distclean-target-rda distclean-target-rda
39105 maybe-distclean-target-rda:
39106 @if target-rda
39107 maybe-distclean-target-rda: distclean-target-rda
39109 distclean-target-rda:
39110 @: $(MAKE); $(unstage)
39111 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39112 r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39114 $(NORMAL_TARGET_EXPORTS) \
39115 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
39116 for flag in $(EXTRA_TARGET_FLAGS); do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 (cd $(TARGET_SUBDIR)/rda && \
39120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39122 "RANLIB=$${RANLIB}" \
39123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39124 distclean) \
39125 || exit 1
39127 @endif target-rda
39129 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
39130 maybe-maintainer-clean-target-rda:
39131 @if target-rda
39132 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
39134 maintainer-clean-target-rda:
39135 @: $(MAKE); $(unstage)
39136 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39137 r=`${PWD_COMMAND}`; export r; \
39138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39139 $(NORMAL_TARGET_EXPORTS) \
39140 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
39141 for flag in $(EXTRA_TARGET_FLAGS); do \
39142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39143 done; \
39144 (cd $(TARGET_SUBDIR)/rda && \
39145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39147 "RANLIB=$${RANLIB}" \
39148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39149 maintainer-clean) \
39150 || exit 1
39152 @endif target-rda
39158 .PHONY: configure-target-libada maybe-configure-target-libada
39159 maybe-configure-target-libada:
39160 @if gcc-bootstrap
39161 configure-target-libada: stage_current
39162 @endif gcc-bootstrap
39163 @if target-libada
39164 maybe-configure-target-libada: configure-target-libada
39165 configure-target-libada:
39166 @: $(MAKE); $(unstage)
39167 @r=`${PWD_COMMAND}`; export r; \
39168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39169 echo "Checking multilib configuration for libada..."; \
39170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39171 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
39172 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
39173 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
39174 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
39175 else \
39176 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
39177 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39178 fi; \
39179 else \
39180 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39181 fi; \
39182 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
39183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39184 $(NORMAL_TARGET_EXPORTS) \
39185 echo Configuring in $(TARGET_SUBDIR)/libada; \
39186 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
39187 case $(srcdir) in \
39188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39189 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
39190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39191 esac; \
39192 srcdiroption="--srcdir=$${topdir}/libada"; \
39193 libsrcdir="$$s/libada"; \
39194 rm -f no-such-file || : ; \
39195 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39197 --target=${target_alias} $${srcdiroption} \
39198 || exit 1
39199 @endif target-libada
39205 .PHONY: all-target-libada maybe-all-target-libada
39206 maybe-all-target-libada:
39207 @if gcc-bootstrap
39208 all-target-libada: stage_current
39209 @endif gcc-bootstrap
39210 @if target-libada
39211 TARGET-target-libada=all
39212 maybe-all-target-libada: all-target-libada
39213 all-target-libada: configure-target-libada
39214 @: $(MAKE); $(unstage)
39215 @r=`${PWD_COMMAND}`; export r; \
39216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39217 $(NORMAL_TARGET_EXPORTS) \
39218 (cd $(TARGET_SUBDIR)/libada && \
39219 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39220 $(TARGET-target-libada))
39221 @endif target-libada
39227 .PHONY: check-target-libada maybe-check-target-libada
39228 maybe-check-target-libada:
39229 @if target-libada
39230 maybe-check-target-libada: check-target-libada
39232 check-target-libada:
39233 @: $(MAKE); $(unstage)
39234 @r=`${PWD_COMMAND}`; export r; \
39235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39236 $(NORMAL_TARGET_EXPORTS) \
39237 (cd $(TARGET_SUBDIR)/libada && \
39238 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39240 @endif target-libada
39242 .PHONY: install-target-libada maybe-install-target-libada
39243 maybe-install-target-libada:
39244 @if target-libada
39245 maybe-install-target-libada: install-target-libada
39247 install-target-libada: installdirs
39248 @: $(MAKE); $(unstage)
39249 @r=`${PWD_COMMAND}`; export r; \
39250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39251 $(NORMAL_TARGET_EXPORTS) \
39252 (cd $(TARGET_SUBDIR)/libada && \
39253 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39255 @endif target-libada
39257 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
39258 maybe-install-strip-target-libada:
39259 @if target-libada
39260 maybe-install-strip-target-libada: install-strip-target-libada
39262 install-strip-target-libada: installdirs
39263 @: $(MAKE); $(unstage)
39264 @r=`${PWD_COMMAND}`; export r; \
39265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39266 $(NORMAL_TARGET_EXPORTS) \
39267 (cd $(TARGET_SUBDIR)/libada && \
39268 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39270 @endif target-libada
39272 # Other targets (info, dvi, pdf, etc.)
39274 .PHONY: maybe-info-target-libada info-target-libada
39275 maybe-info-target-libada:
39276 @if target-libada
39277 maybe-info-target-libada: info-target-libada
39279 info-target-libada: \
39280 configure-target-libada
39281 @: $(MAKE); $(unstage)
39282 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39283 r=`${PWD_COMMAND}`; export r; \
39284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39285 $(NORMAL_TARGET_EXPORTS) \
39286 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
39287 for flag in $(EXTRA_TARGET_FLAGS); do \
39288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39289 done; \
39290 (cd $(TARGET_SUBDIR)/libada && \
39291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39293 "RANLIB=$${RANLIB}" \
39294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39295 info) \
39296 || exit 1
39298 @endif target-libada
39300 .PHONY: maybe-dvi-target-libada dvi-target-libada
39301 maybe-dvi-target-libada:
39302 @if target-libada
39303 maybe-dvi-target-libada: dvi-target-libada
39305 dvi-target-libada: \
39306 configure-target-libada
39307 @: $(MAKE); $(unstage)
39308 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39309 r=`${PWD_COMMAND}`; export r; \
39310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39311 $(NORMAL_TARGET_EXPORTS) \
39312 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
39313 for flag in $(EXTRA_TARGET_FLAGS); do \
39314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39315 done; \
39316 (cd $(TARGET_SUBDIR)/libada && \
39317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39319 "RANLIB=$${RANLIB}" \
39320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39321 dvi) \
39322 || exit 1
39324 @endif target-libada
39326 .PHONY: maybe-pdf-target-libada pdf-target-libada
39327 maybe-pdf-target-libada:
39328 @if target-libada
39329 maybe-pdf-target-libada: pdf-target-libada
39331 pdf-target-libada: \
39332 configure-target-libada
39333 @: $(MAKE); $(unstage)
39334 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39335 r=`${PWD_COMMAND}`; export r; \
39336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39337 $(NORMAL_TARGET_EXPORTS) \
39338 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
39339 for flag in $(EXTRA_TARGET_FLAGS); do \
39340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39341 done; \
39342 (cd $(TARGET_SUBDIR)/libada && \
39343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39345 "RANLIB=$${RANLIB}" \
39346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39347 pdf) \
39348 || exit 1
39350 @endif target-libada
39352 .PHONY: maybe-html-target-libada html-target-libada
39353 maybe-html-target-libada:
39354 @if target-libada
39355 maybe-html-target-libada: html-target-libada
39357 html-target-libada: \
39358 configure-target-libada
39359 @: $(MAKE); $(unstage)
39360 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39361 r=`${PWD_COMMAND}`; export r; \
39362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39363 $(NORMAL_TARGET_EXPORTS) \
39364 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
39365 for flag in $(EXTRA_TARGET_FLAGS); do \
39366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39367 done; \
39368 (cd $(TARGET_SUBDIR)/libada && \
39369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39371 "RANLIB=$${RANLIB}" \
39372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39373 html) \
39374 || exit 1
39376 @endif target-libada
39378 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
39379 maybe-TAGS-target-libada:
39380 @if target-libada
39381 maybe-TAGS-target-libada: TAGS-target-libada
39383 TAGS-target-libada: \
39384 configure-target-libada
39385 @: $(MAKE); $(unstage)
39386 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39387 r=`${PWD_COMMAND}`; export r; \
39388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39389 $(NORMAL_TARGET_EXPORTS) \
39390 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
39391 for flag in $(EXTRA_TARGET_FLAGS); do \
39392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39393 done; \
39394 (cd $(TARGET_SUBDIR)/libada && \
39395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39397 "RANLIB=$${RANLIB}" \
39398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39399 TAGS) \
39400 || exit 1
39402 @endif target-libada
39404 .PHONY: maybe-install-info-target-libada install-info-target-libada
39405 maybe-install-info-target-libada:
39406 @if target-libada
39407 maybe-install-info-target-libada: install-info-target-libada
39409 install-info-target-libada: \
39410 configure-target-libada \
39411 info-target-libada
39412 @: $(MAKE); $(unstage)
39413 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39414 r=`${PWD_COMMAND}`; export r; \
39415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39416 $(NORMAL_TARGET_EXPORTS) \
39417 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
39418 for flag in $(EXTRA_TARGET_FLAGS); do \
39419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39420 done; \
39421 (cd $(TARGET_SUBDIR)/libada && \
39422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39424 "RANLIB=$${RANLIB}" \
39425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39426 install-info) \
39427 || exit 1
39429 @endif target-libada
39431 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39432 maybe-install-pdf-target-libada:
39433 @if target-libada
39434 maybe-install-pdf-target-libada: install-pdf-target-libada
39436 install-pdf-target-libada: \
39437 configure-target-libada \
39438 pdf-target-libada
39439 @: $(MAKE); $(unstage)
39440 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39441 r=`${PWD_COMMAND}`; export r; \
39442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39443 $(NORMAL_TARGET_EXPORTS) \
39444 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39445 for flag in $(EXTRA_TARGET_FLAGS); do \
39446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39447 done; \
39448 (cd $(TARGET_SUBDIR)/libada && \
39449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39451 "RANLIB=$${RANLIB}" \
39452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39453 install-pdf) \
39454 || exit 1
39456 @endif target-libada
39458 .PHONY: maybe-install-html-target-libada install-html-target-libada
39459 maybe-install-html-target-libada:
39460 @if target-libada
39461 maybe-install-html-target-libada: install-html-target-libada
39463 install-html-target-libada: \
39464 configure-target-libada \
39465 html-target-libada
39466 @: $(MAKE); $(unstage)
39467 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39468 r=`${PWD_COMMAND}`; export r; \
39469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39470 $(NORMAL_TARGET_EXPORTS) \
39471 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39472 for flag in $(EXTRA_TARGET_FLAGS); do \
39473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39474 done; \
39475 (cd $(TARGET_SUBDIR)/libada && \
39476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39478 "RANLIB=$${RANLIB}" \
39479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39480 install-html) \
39481 || exit 1
39483 @endif target-libada
39485 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39486 maybe-installcheck-target-libada:
39487 @if target-libada
39488 maybe-installcheck-target-libada: installcheck-target-libada
39490 installcheck-target-libada: \
39491 configure-target-libada
39492 @: $(MAKE); $(unstage)
39493 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39494 r=`${PWD_COMMAND}`; export r; \
39495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39496 $(NORMAL_TARGET_EXPORTS) \
39497 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39498 for flag in $(EXTRA_TARGET_FLAGS); do \
39499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39500 done; \
39501 (cd $(TARGET_SUBDIR)/libada && \
39502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39504 "RANLIB=$${RANLIB}" \
39505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39506 installcheck) \
39507 || exit 1
39509 @endif target-libada
39511 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39512 maybe-mostlyclean-target-libada:
39513 @if target-libada
39514 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39516 mostlyclean-target-libada:
39517 @: $(MAKE); $(unstage)
39518 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39519 r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(NORMAL_TARGET_EXPORTS) \
39522 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39523 for flag in $(EXTRA_TARGET_FLAGS); do \
39524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39525 done; \
39526 (cd $(TARGET_SUBDIR)/libada && \
39527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39529 "RANLIB=$${RANLIB}" \
39530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39531 mostlyclean) \
39532 || exit 1
39534 @endif target-libada
39536 .PHONY: maybe-clean-target-libada clean-target-libada
39537 maybe-clean-target-libada:
39538 @if target-libada
39539 maybe-clean-target-libada: clean-target-libada
39541 clean-target-libada:
39542 @: $(MAKE); $(unstage)
39543 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39544 r=`${PWD_COMMAND}`; export r; \
39545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39546 $(NORMAL_TARGET_EXPORTS) \
39547 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39548 for flag in $(EXTRA_TARGET_FLAGS); do \
39549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39550 done; \
39551 (cd $(TARGET_SUBDIR)/libada && \
39552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39554 "RANLIB=$${RANLIB}" \
39555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39556 clean) \
39557 || exit 1
39559 @endif target-libada
39561 .PHONY: maybe-distclean-target-libada distclean-target-libada
39562 maybe-distclean-target-libada:
39563 @if target-libada
39564 maybe-distclean-target-libada: distclean-target-libada
39566 distclean-target-libada:
39567 @: $(MAKE); $(unstage)
39568 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39569 r=`${PWD_COMMAND}`; export r; \
39570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39571 $(NORMAL_TARGET_EXPORTS) \
39572 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39573 for flag in $(EXTRA_TARGET_FLAGS); do \
39574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39575 done; \
39576 (cd $(TARGET_SUBDIR)/libada && \
39577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39579 "RANLIB=$${RANLIB}" \
39580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39581 distclean) \
39582 || exit 1
39584 @endif target-libada
39586 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39587 maybe-maintainer-clean-target-libada:
39588 @if target-libada
39589 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39591 maintainer-clean-target-libada:
39592 @: $(MAKE); $(unstage)
39593 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39594 r=`${PWD_COMMAND}`; export r; \
39595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39596 $(NORMAL_TARGET_EXPORTS) \
39597 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39598 for flag in $(EXTRA_TARGET_FLAGS); do \
39599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39600 done; \
39601 (cd $(TARGET_SUBDIR)/libada && \
39602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39604 "RANLIB=$${RANLIB}" \
39605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39606 maintainer-clean) \
39607 || exit 1
39609 @endif target-libada
39615 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39616 maybe-configure-target-libgomp:
39617 @if gcc-bootstrap
39618 configure-target-libgomp: stage_current
39619 @endif gcc-bootstrap
39620 @if target-libgomp
39621 maybe-configure-target-libgomp: configure-target-libgomp
39622 configure-target-libgomp:
39623 @r=`${PWD_COMMAND}`; export r; \
39624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39625 echo "Checking multilib configuration for libgomp..."; \
39626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39627 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39628 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39629 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39630 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39631 else \
39632 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39633 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39634 fi; \
39635 else \
39636 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39637 fi; \
39638 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39640 $(NORMAL_TARGET_EXPORTS) \
39641 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39642 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39643 case $(srcdir) in \
39644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39645 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39647 esac; \
39648 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39649 libsrcdir="$$s/libgomp"; \
39650 rm -f no-such-file || : ; \
39651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39652 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39653 --target=${target_alias} $${srcdiroption} \
39654 || exit 1
39655 @endif target-libgomp
39659 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39660 maybe-configure-stage1-target-libgomp:
39661 @if target-libgomp-bootstrap
39662 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39663 configure-stage1-target-libgomp:
39664 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39665 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39666 @r=`${PWD_COMMAND}`; export r; \
39667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39668 TFLAGS="$(STAGE1_TFLAGS)"; \
39669 echo "Checking multilib configuration for libgomp..."; \
39670 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39671 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39672 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39673 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39674 else \
39675 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39676 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39677 fi; \
39678 else \
39679 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39680 fi; \
39681 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39682 $(NORMAL_TARGET_EXPORTS) \
39683 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39684 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39685 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39686 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39687 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39688 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39689 case $(srcdir) in \
39690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39691 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39693 esac; \
39694 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39695 libsrcdir="$$s/libgomp"; \
39696 $(SHELL) $${libsrcdir}/configure \
39697 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39698 --target=${target_alias} $${srcdiroption} \
39699 $(STAGE1_CONFIGURE_FLAGS)
39700 @endif target-libgomp-bootstrap
39702 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39703 maybe-configure-stage2-target-libgomp:
39704 @if target-libgomp-bootstrap
39705 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39706 configure-stage2-target-libgomp:
39707 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39708 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39709 @r=`${PWD_COMMAND}`; export r; \
39710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39711 TFLAGS="$(STAGE2_TFLAGS)"; \
39712 echo "Checking multilib configuration for libgomp..."; \
39713 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39714 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39715 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39716 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39717 else \
39718 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39719 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39720 fi; \
39721 else \
39722 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39723 fi; \
39724 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39725 $(NORMAL_TARGET_EXPORTS) \
39727 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39730 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39731 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39732 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39733 case $(srcdir) in \
39734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39735 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39737 esac; \
39738 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39739 libsrcdir="$$s/libgomp"; \
39740 $(SHELL) $${libsrcdir}/configure \
39741 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39742 --target=${target_alias} $${srcdiroption} \
39743 --with-build-libsubdir=$(HOST_SUBDIR) \
39744 $(STAGE2_CONFIGURE_FLAGS)
39745 @endif target-libgomp-bootstrap
39747 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39748 maybe-configure-stage3-target-libgomp:
39749 @if target-libgomp-bootstrap
39750 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39751 configure-stage3-target-libgomp:
39752 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39753 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39754 @r=`${PWD_COMMAND}`; export r; \
39755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39756 TFLAGS="$(STAGE3_TFLAGS)"; \
39757 echo "Checking multilib configuration for libgomp..."; \
39758 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39759 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39760 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39761 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39762 else \
39763 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39764 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39765 fi; \
39766 else \
39767 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39768 fi; \
39769 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39770 $(NORMAL_TARGET_EXPORTS) \
39772 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39773 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39774 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39775 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39777 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39778 case $(srcdir) in \
39779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39780 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39782 esac; \
39783 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39784 libsrcdir="$$s/libgomp"; \
39785 $(SHELL) $${libsrcdir}/configure \
39786 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39787 --target=${target_alias} $${srcdiroption} \
39788 --with-build-libsubdir=$(HOST_SUBDIR) \
39789 $(STAGE3_CONFIGURE_FLAGS)
39790 @endif target-libgomp-bootstrap
39792 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39793 maybe-configure-stage4-target-libgomp:
39794 @if target-libgomp-bootstrap
39795 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39796 configure-stage4-target-libgomp:
39797 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39798 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39799 @r=`${PWD_COMMAND}`; export r; \
39800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39801 TFLAGS="$(STAGE4_TFLAGS)"; \
39802 echo "Checking multilib configuration for libgomp..."; \
39803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39804 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39805 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39806 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39807 else \
39808 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39809 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39810 fi; \
39811 else \
39812 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39813 fi; \
39814 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39815 $(NORMAL_TARGET_EXPORTS) \
39817 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39818 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39819 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39820 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39821 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39822 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39823 case $(srcdir) in \
39824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39825 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39827 esac; \
39828 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39829 libsrcdir="$$s/libgomp"; \
39830 $(SHELL) $${libsrcdir}/configure \
39831 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39832 --target=${target_alias} $${srcdiroption} \
39833 --with-build-libsubdir=$(HOST_SUBDIR) \
39834 $(STAGE4_CONFIGURE_FLAGS)
39835 @endif target-libgomp-bootstrap
39837 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39838 maybe-configure-stageprofile-target-libgomp:
39839 @if target-libgomp-bootstrap
39840 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39841 configure-stageprofile-target-libgomp:
39842 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39844 @r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39847 echo "Checking multilib configuration for libgomp..."; \
39848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39849 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39850 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39851 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39852 else \
39853 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39854 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39855 fi; \
39856 else \
39857 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39858 fi; \
39859 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39860 $(NORMAL_TARGET_EXPORTS) \
39862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39865 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39867 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39868 case $(srcdir) in \
39869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39870 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39872 esac; \
39873 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39874 libsrcdir="$$s/libgomp"; \
39875 $(SHELL) $${libsrcdir}/configure \
39876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39877 --target=${target_alias} $${srcdiroption} \
39878 --with-build-libsubdir=$(HOST_SUBDIR) \
39879 $(STAGEprofile_CONFIGURE_FLAGS)
39880 @endif target-libgomp-bootstrap
39882 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39883 maybe-configure-stagefeedback-target-libgomp:
39884 @if target-libgomp-bootstrap
39885 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39886 configure-stagefeedback-target-libgomp:
39887 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39889 @r=`${PWD_COMMAND}`; export r; \
39890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39891 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39892 echo "Checking multilib configuration for libgomp..."; \
39893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39894 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39895 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39896 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39897 else \
39898 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39899 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39900 fi; \
39901 else \
39902 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39903 fi; \
39904 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39905 $(NORMAL_TARGET_EXPORTS) \
39907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39910 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39912 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39913 case $(srcdir) in \
39914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39915 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39917 esac; \
39918 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39919 libsrcdir="$$s/libgomp"; \
39920 $(SHELL) $${libsrcdir}/configure \
39921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39922 --target=${target_alias} $${srcdiroption} \
39923 --with-build-libsubdir=$(HOST_SUBDIR) \
39924 $(STAGEfeedback_CONFIGURE_FLAGS)
39925 @endif target-libgomp-bootstrap
39931 .PHONY: all-target-libgomp maybe-all-target-libgomp
39932 maybe-all-target-libgomp:
39933 @if gcc-bootstrap
39934 all-target-libgomp: stage_current
39935 @endif gcc-bootstrap
39936 @if target-libgomp
39937 TARGET-target-libgomp=all
39938 maybe-all-target-libgomp: all-target-libgomp
39939 all-target-libgomp: configure-target-libgomp
39940 @r=`${PWD_COMMAND}`; export r; \
39941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39942 $(NORMAL_TARGET_EXPORTS) \
39943 (cd $(TARGET_SUBDIR)/libgomp && \
39944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39945 $(TARGET-target-libgomp))
39946 @endif target-libgomp
39950 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39951 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39952 maybe-all-stage1-target-libgomp:
39953 maybe-clean-stage1-target-libgomp:
39954 @if target-libgomp-bootstrap
39955 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39956 all-stage1: all-stage1-target-libgomp
39957 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39958 all-stage1-target-libgomp: configure-stage1-target-libgomp
39959 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39960 @r=`${PWD_COMMAND}`; export r; \
39961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39962 TFLAGS="$(STAGE1_TFLAGS)"; \
39963 $(NORMAL_TARGET_EXPORTS) \
39964 cd $(TARGET_SUBDIR)/libgomp && \
39965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39966 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39967 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39968 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39972 $(EXTRA_TARGET_FLAGS) \
39973 TFLAGS="$(STAGE1_TFLAGS)" \
39974 $(TARGET-stage1-target-libgomp)
39976 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39977 clean-stage1: clean-stage1-target-libgomp
39978 clean-stage1-target-libgomp:
39979 @if [ $(current_stage) = stage1 ]; then \
39980 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39981 else \
39982 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39983 $(MAKE) stage1-start; \
39984 fi; \
39985 cd $(TARGET_SUBDIR)/libgomp && \
39986 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39987 clean
39988 @endif target-libgomp-bootstrap
39991 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39992 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39993 maybe-all-stage2-target-libgomp:
39994 maybe-clean-stage2-target-libgomp:
39995 @if target-libgomp-bootstrap
39996 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39997 all-stage2: all-stage2-target-libgomp
39998 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39999 all-stage2-target-libgomp: configure-stage2-target-libgomp
40000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40001 @r=`${PWD_COMMAND}`; export r; \
40002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40003 TFLAGS="$(STAGE2_TFLAGS)"; \
40004 $(NORMAL_TARGET_EXPORTS) \
40006 cd $(TARGET_SUBDIR)/libgomp && \
40007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40008 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40014 $(EXTRA_TARGET_FLAGS) \
40015 TFLAGS="$(STAGE2_TFLAGS)" \
40016 $(TARGET-stage2-target-libgomp)
40018 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
40019 clean-stage2: clean-stage2-target-libgomp
40020 clean-stage2-target-libgomp:
40021 @if [ $(current_stage) = stage2 ]; then \
40022 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40023 else \
40024 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
40025 $(MAKE) stage2-start; \
40026 fi; \
40027 cd $(TARGET_SUBDIR)/libgomp && \
40028 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40030 clean
40031 @endif target-libgomp-bootstrap
40034 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
40035 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
40036 maybe-all-stage3-target-libgomp:
40037 maybe-clean-stage3-target-libgomp:
40038 @if target-libgomp-bootstrap
40039 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
40040 all-stage3: all-stage3-target-libgomp
40041 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
40042 all-stage3-target-libgomp: configure-stage3-target-libgomp
40043 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40044 @r=`${PWD_COMMAND}`; export r; \
40045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40046 TFLAGS="$(STAGE3_TFLAGS)"; \
40047 $(NORMAL_TARGET_EXPORTS) \
40049 cd $(TARGET_SUBDIR)/libgomp && \
40050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40051 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40052 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40053 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40057 $(EXTRA_TARGET_FLAGS) \
40058 TFLAGS="$(STAGE3_TFLAGS)" \
40059 $(TARGET-stage3-target-libgomp)
40061 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
40062 clean-stage3: clean-stage3-target-libgomp
40063 clean-stage3-target-libgomp:
40064 @if [ $(current_stage) = stage3 ]; then \
40065 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40066 else \
40067 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
40068 $(MAKE) stage3-start; \
40069 fi; \
40070 cd $(TARGET_SUBDIR)/libgomp && \
40071 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40073 clean
40074 @endif target-libgomp-bootstrap
40077 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
40078 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
40079 maybe-all-stage4-target-libgomp:
40080 maybe-clean-stage4-target-libgomp:
40081 @if target-libgomp-bootstrap
40082 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
40083 all-stage4: all-stage4-target-libgomp
40084 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
40085 all-stage4-target-libgomp: configure-stage4-target-libgomp
40086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40087 @r=`${PWD_COMMAND}`; export r; \
40088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40089 TFLAGS="$(STAGE4_TFLAGS)"; \
40090 $(NORMAL_TARGET_EXPORTS) \
40092 cd $(TARGET_SUBDIR)/libgomp && \
40093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40094 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40095 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40096 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40100 $(EXTRA_TARGET_FLAGS) \
40101 TFLAGS="$(STAGE4_TFLAGS)" \
40102 $(TARGET-stage4-target-libgomp)
40104 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
40105 clean-stage4: clean-stage4-target-libgomp
40106 clean-stage4-target-libgomp:
40107 @if [ $(current_stage) = stage4 ]; then \
40108 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40109 else \
40110 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
40111 $(MAKE) stage4-start; \
40112 fi; \
40113 cd $(TARGET_SUBDIR)/libgomp && \
40114 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40116 clean
40117 @endif target-libgomp-bootstrap
40120 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
40121 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
40122 maybe-all-stageprofile-target-libgomp:
40123 maybe-clean-stageprofile-target-libgomp:
40124 @if target-libgomp-bootstrap
40125 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
40126 all-stageprofile: all-stageprofile-target-libgomp
40127 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
40128 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
40129 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40130 @r=`${PWD_COMMAND}`; export r; \
40131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40132 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40133 $(NORMAL_TARGET_EXPORTS) \
40135 cd $(TARGET_SUBDIR)/libgomp && \
40136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40137 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40143 $(EXTRA_TARGET_FLAGS) \
40144 TFLAGS="$(STAGEprofile_TFLAGS)" \
40145 $(TARGET-stageprofile-target-libgomp)
40147 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
40148 clean-stageprofile: clean-stageprofile-target-libgomp
40149 clean-stageprofile-target-libgomp:
40150 @if [ $(current_stage) = stageprofile ]; then \
40151 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40152 else \
40153 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
40154 $(MAKE) stageprofile-start; \
40155 fi; \
40156 cd $(TARGET_SUBDIR)/libgomp && \
40157 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40159 clean
40160 @endif target-libgomp-bootstrap
40163 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
40164 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
40165 maybe-all-stagefeedback-target-libgomp:
40166 maybe-clean-stagefeedback-target-libgomp:
40167 @if target-libgomp-bootstrap
40168 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
40169 all-stagefeedback: all-stagefeedback-target-libgomp
40170 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
40171 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
40172 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40173 @r=`${PWD_COMMAND}`; export r; \
40174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40175 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40176 $(NORMAL_TARGET_EXPORTS) \
40178 cd $(TARGET_SUBDIR)/libgomp && \
40179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40180 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40181 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40182 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40186 $(EXTRA_TARGET_FLAGS) \
40187 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40188 $(TARGET-stagefeedback-target-libgomp)
40190 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
40191 clean-stagefeedback: clean-stagefeedback-target-libgomp
40192 clean-stagefeedback-target-libgomp:
40193 @if [ $(current_stage) = stagefeedback ]; then \
40194 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40195 else \
40196 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
40197 $(MAKE) stagefeedback-start; \
40198 fi; \
40199 cd $(TARGET_SUBDIR)/libgomp && \
40200 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40202 clean
40203 @endif target-libgomp-bootstrap
40210 .PHONY: check-target-libgomp maybe-check-target-libgomp
40211 maybe-check-target-libgomp:
40212 @if target-libgomp
40213 maybe-check-target-libgomp: check-target-libgomp
40215 check-target-libgomp:
40216 @: $(MAKE); $(unstage)
40217 @r=`${PWD_COMMAND}`; export r; \
40218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40219 $(NORMAL_TARGET_EXPORTS) \
40220 (cd $(TARGET_SUBDIR)/libgomp && \
40221 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40223 @endif target-libgomp
40225 .PHONY: install-target-libgomp maybe-install-target-libgomp
40226 maybe-install-target-libgomp:
40227 @if target-libgomp
40228 maybe-install-target-libgomp: install-target-libgomp
40230 install-target-libgomp: installdirs
40231 @: $(MAKE); $(unstage)
40232 @r=`${PWD_COMMAND}`; export r; \
40233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40234 $(NORMAL_TARGET_EXPORTS) \
40235 (cd $(TARGET_SUBDIR)/libgomp && \
40236 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40238 @endif target-libgomp
40240 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
40241 maybe-install-strip-target-libgomp:
40242 @if target-libgomp
40243 maybe-install-strip-target-libgomp: install-strip-target-libgomp
40245 install-strip-target-libgomp: installdirs
40246 @: $(MAKE); $(unstage)
40247 @r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(NORMAL_TARGET_EXPORTS) \
40250 (cd $(TARGET_SUBDIR)/libgomp && \
40251 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40253 @endif target-libgomp
40255 # Other targets (info, dvi, pdf, etc.)
40257 .PHONY: maybe-info-target-libgomp info-target-libgomp
40258 maybe-info-target-libgomp:
40259 @if target-libgomp
40260 maybe-info-target-libgomp: info-target-libgomp
40262 info-target-libgomp: \
40263 configure-target-libgomp
40264 @: $(MAKE); $(unstage)
40265 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40266 r=`${PWD_COMMAND}`; export r; \
40267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40268 $(NORMAL_TARGET_EXPORTS) \
40269 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
40270 for flag in $(EXTRA_TARGET_FLAGS); do \
40271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40272 done; \
40273 (cd $(TARGET_SUBDIR)/libgomp && \
40274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40276 "RANLIB=$${RANLIB}" \
40277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40278 info) \
40279 || exit 1
40281 @endif target-libgomp
40283 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
40284 maybe-dvi-target-libgomp:
40285 @if target-libgomp
40286 maybe-dvi-target-libgomp: dvi-target-libgomp
40288 dvi-target-libgomp: \
40289 configure-target-libgomp
40290 @: $(MAKE); $(unstage)
40291 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40292 r=`${PWD_COMMAND}`; export r; \
40293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40294 $(NORMAL_TARGET_EXPORTS) \
40295 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
40296 for flag in $(EXTRA_TARGET_FLAGS); do \
40297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40298 done; \
40299 (cd $(TARGET_SUBDIR)/libgomp && \
40300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40302 "RANLIB=$${RANLIB}" \
40303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40304 dvi) \
40305 || exit 1
40307 @endif target-libgomp
40309 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
40310 maybe-pdf-target-libgomp:
40311 @if target-libgomp
40312 maybe-pdf-target-libgomp: pdf-target-libgomp
40314 pdf-target-libgomp: \
40315 configure-target-libgomp
40316 @: $(MAKE); $(unstage)
40317 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40318 r=`${PWD_COMMAND}`; export r; \
40319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40320 $(NORMAL_TARGET_EXPORTS) \
40321 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
40322 for flag in $(EXTRA_TARGET_FLAGS); do \
40323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40324 done; \
40325 (cd $(TARGET_SUBDIR)/libgomp && \
40326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40328 "RANLIB=$${RANLIB}" \
40329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40330 pdf) \
40331 || exit 1
40333 @endif target-libgomp
40335 .PHONY: maybe-html-target-libgomp html-target-libgomp
40336 maybe-html-target-libgomp:
40337 @if target-libgomp
40338 maybe-html-target-libgomp: html-target-libgomp
40340 html-target-libgomp: \
40341 configure-target-libgomp
40342 @: $(MAKE); $(unstage)
40343 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40344 r=`${PWD_COMMAND}`; export r; \
40345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40346 $(NORMAL_TARGET_EXPORTS) \
40347 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
40348 for flag in $(EXTRA_TARGET_FLAGS); do \
40349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40350 done; \
40351 (cd $(TARGET_SUBDIR)/libgomp && \
40352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40354 "RANLIB=$${RANLIB}" \
40355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40356 html) \
40357 || exit 1
40359 @endif target-libgomp
40361 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
40362 maybe-TAGS-target-libgomp:
40363 @if target-libgomp
40364 maybe-TAGS-target-libgomp: TAGS-target-libgomp
40366 TAGS-target-libgomp: \
40367 configure-target-libgomp
40368 @: $(MAKE); $(unstage)
40369 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40370 r=`${PWD_COMMAND}`; export r; \
40371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40372 $(NORMAL_TARGET_EXPORTS) \
40373 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
40374 for flag in $(EXTRA_TARGET_FLAGS); do \
40375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40376 done; \
40377 (cd $(TARGET_SUBDIR)/libgomp && \
40378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40380 "RANLIB=$${RANLIB}" \
40381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40382 TAGS) \
40383 || exit 1
40385 @endif target-libgomp
40387 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
40388 maybe-install-info-target-libgomp:
40389 @if target-libgomp
40390 maybe-install-info-target-libgomp: install-info-target-libgomp
40392 install-info-target-libgomp: \
40393 configure-target-libgomp \
40394 info-target-libgomp
40395 @: $(MAKE); $(unstage)
40396 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40397 r=`${PWD_COMMAND}`; export r; \
40398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40399 $(NORMAL_TARGET_EXPORTS) \
40400 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
40401 for flag in $(EXTRA_TARGET_FLAGS); do \
40402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40403 done; \
40404 (cd $(TARGET_SUBDIR)/libgomp && \
40405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40407 "RANLIB=$${RANLIB}" \
40408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40409 install-info) \
40410 || exit 1
40412 @endif target-libgomp
40414 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
40415 maybe-install-pdf-target-libgomp:
40416 @if target-libgomp
40417 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
40419 install-pdf-target-libgomp: \
40420 configure-target-libgomp \
40421 pdf-target-libgomp
40422 @: $(MAKE); $(unstage)
40423 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40424 r=`${PWD_COMMAND}`; export r; \
40425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40426 $(NORMAL_TARGET_EXPORTS) \
40427 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
40428 for flag in $(EXTRA_TARGET_FLAGS); do \
40429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40430 done; \
40431 (cd $(TARGET_SUBDIR)/libgomp && \
40432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40434 "RANLIB=$${RANLIB}" \
40435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40436 install-pdf) \
40437 || exit 1
40439 @endif target-libgomp
40441 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40442 maybe-install-html-target-libgomp:
40443 @if target-libgomp
40444 maybe-install-html-target-libgomp: install-html-target-libgomp
40446 install-html-target-libgomp: \
40447 configure-target-libgomp \
40448 html-target-libgomp
40449 @: $(MAKE); $(unstage)
40450 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40451 r=`${PWD_COMMAND}`; export r; \
40452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40453 $(NORMAL_TARGET_EXPORTS) \
40454 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40455 for flag in $(EXTRA_TARGET_FLAGS); do \
40456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40457 done; \
40458 (cd $(TARGET_SUBDIR)/libgomp && \
40459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40461 "RANLIB=$${RANLIB}" \
40462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40463 install-html) \
40464 || exit 1
40466 @endif target-libgomp
40468 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40469 maybe-installcheck-target-libgomp:
40470 @if target-libgomp
40471 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40473 installcheck-target-libgomp: \
40474 configure-target-libgomp
40475 @: $(MAKE); $(unstage)
40476 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40477 r=`${PWD_COMMAND}`; export r; \
40478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40479 $(NORMAL_TARGET_EXPORTS) \
40480 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40481 for flag in $(EXTRA_TARGET_FLAGS); do \
40482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40483 done; \
40484 (cd $(TARGET_SUBDIR)/libgomp && \
40485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40487 "RANLIB=$${RANLIB}" \
40488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40489 installcheck) \
40490 || exit 1
40492 @endif target-libgomp
40494 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40495 maybe-mostlyclean-target-libgomp:
40496 @if target-libgomp
40497 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40499 mostlyclean-target-libgomp:
40500 @: $(MAKE); $(unstage)
40501 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40502 r=`${PWD_COMMAND}`; export r; \
40503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40504 $(NORMAL_TARGET_EXPORTS) \
40505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40506 for flag in $(EXTRA_TARGET_FLAGS); do \
40507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40508 done; \
40509 (cd $(TARGET_SUBDIR)/libgomp && \
40510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40512 "RANLIB=$${RANLIB}" \
40513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40514 mostlyclean) \
40515 || exit 1
40517 @endif target-libgomp
40519 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40520 maybe-clean-target-libgomp:
40521 @if target-libgomp
40522 maybe-clean-target-libgomp: clean-target-libgomp
40524 clean-target-libgomp:
40525 @: $(MAKE); $(unstage)
40526 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40527 r=`${PWD_COMMAND}`; export r; \
40528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40529 $(NORMAL_TARGET_EXPORTS) \
40530 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40531 for flag in $(EXTRA_TARGET_FLAGS); do \
40532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40533 done; \
40534 (cd $(TARGET_SUBDIR)/libgomp && \
40535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40537 "RANLIB=$${RANLIB}" \
40538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40539 clean) \
40540 || exit 1
40542 @endif target-libgomp
40544 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40545 maybe-distclean-target-libgomp:
40546 @if target-libgomp
40547 maybe-distclean-target-libgomp: distclean-target-libgomp
40549 distclean-target-libgomp:
40550 @: $(MAKE); $(unstage)
40551 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40552 r=`${PWD_COMMAND}`; export r; \
40553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40554 $(NORMAL_TARGET_EXPORTS) \
40555 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40556 for flag in $(EXTRA_TARGET_FLAGS); do \
40557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40558 done; \
40559 (cd $(TARGET_SUBDIR)/libgomp && \
40560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40562 "RANLIB=$${RANLIB}" \
40563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40564 distclean) \
40565 || exit 1
40567 @endif target-libgomp
40569 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40570 maybe-maintainer-clean-target-libgomp:
40571 @if target-libgomp
40572 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40574 maintainer-clean-target-libgomp:
40575 @: $(MAKE); $(unstage)
40576 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40577 r=`${PWD_COMMAND}`; export r; \
40578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40579 $(NORMAL_TARGET_EXPORTS) \
40580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40581 for flag in $(EXTRA_TARGET_FLAGS); do \
40582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40583 done; \
40584 (cd $(TARGET_SUBDIR)/libgomp && \
40585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40587 "RANLIB=$${RANLIB}" \
40588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40589 maintainer-clean) \
40590 || exit 1
40592 @endif target-libgomp
40596 # ----------
40597 # GCC module
40598 # ----------
40600 @if gcc-no-bootstrap
40601 .PHONY: cross
40602 cross: all-build all-gas all-ld
40603 @r=`${PWD_COMMAND}`; export r; \
40604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40605 $(HOST_EXPORTS) \
40606 echo "Building the C and C++ compiler"; \
40607 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
40608 @r=`${PWD_COMMAND}`; export r; \
40609 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40610 echo "Building runtime libraries"; \
40611 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
40612 @endif gcc-no-bootstrap
40614 @if gcc
40616 .PHONY: check-gcc-c check-c
40617 check-gcc-c:
40618 r=`${PWD_COMMAND}`; export r; \
40619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40620 $(HOST_EXPORTS) \
40621 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
40622 check-c: check-gcc-c
40624 .PHONY: check-gcc-c++ check-c++
40625 check-gcc-c++:
40626 r=`${PWD_COMMAND}`; export r; \
40627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40628 $(HOST_EXPORTS) \
40629 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
40630 check-c++: check-gcc-c++ check-target-libstdc++-v3
40632 .PHONY: check-gcc-fortran check-fortran
40633 check-gcc-fortran:
40634 r=`${PWD_COMMAND}`; export r; \
40635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40636 $(HOST_EXPORTS) \
40637 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
40638 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
40640 .PHONY: check-gcc-java check-java
40641 check-gcc-java:
40642 r=`${PWD_COMMAND}`; export r; \
40643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40644 $(HOST_EXPORTS) \
40645 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
40646 check-java: check-gcc-java check-target-libjava
40648 .PHONY: check-gcc-ada check-ada
40649 check-gcc-ada:
40650 r=`${PWD_COMMAND}`; export r; \
40651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40652 $(HOST_EXPORTS) \
40653 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
40654 check-ada: check-gcc-ada check-target-libada
40656 .PHONY: check-gcc-objc check-objc
40657 check-gcc-objc:
40658 r=`${PWD_COMMAND}`; export r; \
40659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40660 $(HOST_EXPORTS) \
40661 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
40662 check-objc: check-gcc-objc check-target-libobjc
40664 .PHONY: check-gcc-obj-c++ check-obj-c++
40665 check-gcc-obj-c++:
40666 r=`${PWD_COMMAND}`; export r; \
40667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40668 $(HOST_EXPORTS) \
40669 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
40670 check-obj-c++: check-gcc-obj-c++
40672 .PHONY: check-gcc-go check-go
40673 check-gcc-go:
40674 r=`${PWD_COMMAND}`; export r; \
40675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40676 $(HOST_EXPORTS) \
40677 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
40678 check-go: check-gcc-go check-target-libgo
40681 # Install the gcc headers files, but not the fixed include files,
40682 # which Cygnus is not allowed to distribute. This rule is very
40683 # dependent on the workings of the gcc Makefile.in.
40684 .PHONY: gcc-no-fixedincludes
40685 gcc-no-fixedincludes:
40686 @if [ -f ./gcc/Makefile ]; then \
40687 rm -rf gcc/tmp-include; \
40688 mv gcc/include gcc/tmp-include 2>/dev/null; \
40689 mkdir gcc/include; \
40690 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
40691 touch gcc/stmp-fixinc gcc/include/fixed; \
40692 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
40693 r=`${PWD_COMMAND}`; export r; \
40694 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40695 $(HOST_EXPORTS) \
40696 (cd ./gcc && \
40697 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
40698 rm -rf gcc/include; \
40699 mv gcc/tmp-include gcc/include 2>/dev/null; \
40700 else true; fi
40701 @endif gcc
40703 # ---------------------
40704 # GCC bootstrap support
40705 # ---------------------
40707 # We track the current stage (the one in 'gcc') in the stage_current file.
40708 # stage_last instead tracks the stage that was built last. These targets
40709 # are dummy when toplevel bootstrap is not active.
40711 # While making host and target tools, symlinks to the final stage must be
40712 # there, so $(unstage) should be run at various points. To avoid excessive
40713 # recursive invocations of make, we "inline" them using a variable. These
40714 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
40715 # to avoid warnings from the GNU Make job server.
40717 unstage = :
40718 stage = :
40719 current_stage = ""
40721 @if gcc-bootstrap
40722 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
40723 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
40724 current_stage = "`cat stage_current 2> /dev/null`"
40725 @endif gcc-bootstrap
40727 .PHONY: unstage stage
40728 unstage:
40729 @: $(MAKE); $(unstage)
40730 stage:
40731 @: $(MAKE); $(stage)
40733 # Disable commands for lean bootstrap.
40734 LEAN = false
40736 # We name the build directories for the various stages "stage1-gcc",
40737 # "stage2-gcc","stage3-gcc", etc.
40739 # Since the 'compare' process will fail (on debugging information) if any
40740 # directory names are different, we need to link the gcc directory for
40741 # the previous stage to a constant name ('prev-gcc'), and to make the name of
40742 # the build directories constant as well. For the latter, we use naked names
40743 # like 'gcc', because the scripts in that directory assume it. We use
40744 # mv on platforms where symlinks to directories do not work or are not
40745 # reliable.
40747 # 'touch' doesn't work right on some platforms.
40748 STAMP = echo timestamp >
40750 # We only want to compare .o files, so set this!
40751 objext = .o
40754 .PHONY: stage1-start stage1-end
40756 stage1-start::
40757 @: $(MAKE); $(stage); \
40758 echo stage1 > stage_current ; \
40759 echo stage1 > stage_last; \
40760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40761 @if bfd
40762 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
40763 mkdir stage1-bfd; \
40764 mv stage1-bfd bfd
40765 @endif bfd
40766 @if opcodes
40767 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
40768 mkdir stage1-opcodes; \
40769 mv stage1-opcodes opcodes
40770 @endif opcodes
40771 @if binutils
40772 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
40773 mkdir stage1-binutils; \
40774 mv stage1-binutils binutils
40775 @endif binutils
40776 @if gas
40777 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
40778 mkdir stage1-gas; \
40779 mv stage1-gas gas
40780 @endif gas
40781 @if gcc
40782 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
40783 mkdir stage1-gcc; \
40784 mv stage1-gcc gcc
40785 @endif gcc
40786 @if gmp
40787 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
40788 mkdir stage1-gmp; \
40789 mv stage1-gmp gmp
40790 @endif gmp
40791 @if mpfr
40792 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
40793 mkdir stage1-mpfr; \
40794 mv stage1-mpfr mpfr
40795 @endif mpfr
40796 @if mpc
40797 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
40798 mkdir stage1-mpc; \
40799 mv stage1-mpc mpc
40800 @endif mpc
40801 @if ppl
40802 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
40803 mkdir stage1-ppl; \
40804 mv stage1-ppl ppl
40805 @endif ppl
40806 @if cloog
40807 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
40808 mkdir stage1-cloog; \
40809 mv stage1-cloog cloog
40810 @endif cloog
40811 @if libelf
40812 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
40813 mkdir stage1-libelf; \
40814 mv stage1-libelf libelf
40815 @endif libelf
40816 @if gold
40817 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
40818 mkdir stage1-gold; \
40819 mv stage1-gold gold
40820 @endif gold
40821 @if intl
40822 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
40823 mkdir stage1-intl; \
40824 mv stage1-intl intl
40825 @endif intl
40826 @if ld
40827 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
40828 mkdir stage1-ld; \
40829 mv stage1-ld ld
40830 @endif ld
40831 @if libcpp
40832 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
40833 mkdir stage1-libcpp; \
40834 mv stage1-libcpp libcpp
40835 @endif libcpp
40836 @if libdecnumber
40837 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
40838 mkdir stage1-libdecnumber; \
40839 mv stage1-libdecnumber libdecnumber
40840 @endif libdecnumber
40841 @if libiberty
40842 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
40843 mkdir stage1-libiberty; \
40844 mv stage1-libiberty libiberty
40845 @endif libiberty
40846 @if zlib
40847 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
40848 mkdir stage1-zlib; \
40849 mv stage1-zlib zlib
40850 @endif zlib
40851 @if lto-plugin
40852 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
40853 mkdir stage1-lto-plugin; \
40854 mv stage1-lto-plugin lto-plugin
40855 @endif lto-plugin
40856 @[ -d stage1-$(TARGET_SUBDIR) ] || \
40857 mkdir stage1-$(TARGET_SUBDIR); \
40858 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
40860 stage1-end::
40861 @if bfd
40862 @if test -d $(HOST_SUBDIR)/bfd ; then \
40863 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
40865 @endif bfd
40866 @if opcodes
40867 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40868 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
40870 @endif opcodes
40871 @if binutils
40872 @if test -d $(HOST_SUBDIR)/binutils ; then \
40873 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
40875 @endif binutils
40876 @if gas
40877 @if test -d $(HOST_SUBDIR)/gas ; then \
40878 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
40880 @endif gas
40881 @if gcc
40882 @if test -d $(HOST_SUBDIR)/gcc ; then \
40883 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
40885 @endif gcc
40886 @if gmp
40887 @if test -d $(HOST_SUBDIR)/gmp ; then \
40888 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
40890 @endif gmp
40891 @if mpfr
40892 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40893 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
40895 @endif mpfr
40896 @if mpc
40897 @if test -d $(HOST_SUBDIR)/mpc ; then \
40898 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
40900 @endif mpc
40901 @if ppl
40902 @if test -d $(HOST_SUBDIR)/ppl ; then \
40903 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
40905 @endif ppl
40906 @if cloog
40907 @if test -d $(HOST_SUBDIR)/cloog ; then \
40908 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
40910 @endif cloog
40911 @if libelf
40912 @if test -d $(HOST_SUBDIR)/libelf ; then \
40913 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
40915 @endif libelf
40916 @if gold
40917 @if test -d $(HOST_SUBDIR)/gold ; then \
40918 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
40920 @endif gold
40921 @if intl
40922 @if test -d $(HOST_SUBDIR)/intl ; then \
40923 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
40925 @endif intl
40926 @if ld
40927 @if test -d $(HOST_SUBDIR)/ld ; then \
40928 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
40930 @endif ld
40931 @if libcpp
40932 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40933 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
40935 @endif libcpp
40936 @if libdecnumber
40937 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40938 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
40940 @endif libdecnumber
40941 @if libiberty
40942 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40943 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
40945 @endif libiberty
40946 @if zlib
40947 @if test -d $(HOST_SUBDIR)/zlib ; then \
40948 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
40950 @endif zlib
40951 @if lto-plugin
40952 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40953 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
40955 @endif lto-plugin
40956 @if test -d $(TARGET_SUBDIR) ; then \
40957 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
40959 rm -f stage_current
40961 # Bubble a bug fix through all the stages up to stage 1. They are
40962 # remade, but not reconfigured. The next stage (if any) will not be
40963 # reconfigured either.
40964 .PHONY: stage1-bubble
40965 stage1-bubble::
40966 @r=`${PWD_COMMAND}`; export r; \
40967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40968 if test -f stage1-lean ; then \
40969 echo Skipping rebuild of stage1 ; \
40970 else \
40971 $(MAKE) stage1-start; \
40972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
40975 .PHONY: all-stage1 clean-stage1
40976 do-clean: clean-stage1
40978 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40979 # only possibility, but now it conflicts with no-bootstrap rules
40980 @if gcc-bootstrap
40985 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40987 .PHONY: distclean-stage1
40988 distclean-stage1::
40989 @: $(MAKE); $(stage)
40990 @test "`cat stage_last`" != stage1 || rm -f stage_last
40991 rm -rf stage1-*
40994 @endif gcc-bootstrap
40997 .PHONY: stage2-start stage2-end
40999 stage2-start::
41000 @: $(MAKE); $(stage); \
41001 echo stage2 > stage_current ; \
41002 echo stage2 > stage_last; \
41003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41004 @if bfd
41005 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41006 mkdir stage2-bfd; \
41007 mv stage2-bfd bfd ; \
41008 mv stage1-bfd prev-bfd || test -f stage1-lean
41009 @endif bfd
41010 @if opcodes
41011 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41012 mkdir stage2-opcodes; \
41013 mv stage2-opcodes opcodes ; \
41014 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41015 @endif opcodes
41016 @if binutils
41017 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41018 mkdir stage2-binutils; \
41019 mv stage2-binutils binutils ; \
41020 mv stage1-binutils prev-binutils || test -f stage1-lean
41021 @endif binutils
41022 @if gas
41023 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41024 mkdir stage2-gas; \
41025 mv stage2-gas gas ; \
41026 mv stage1-gas prev-gas || test -f stage1-lean
41027 @endif gas
41028 @if gcc
41029 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41030 mkdir stage2-gcc; \
41031 mv stage2-gcc gcc ; \
41032 mv stage1-gcc prev-gcc || test -f stage1-lean
41033 @endif gcc
41034 @if gmp
41035 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41036 mkdir stage2-gmp; \
41037 mv stage2-gmp gmp ; \
41038 mv stage1-gmp prev-gmp || test -f stage1-lean
41039 @endif gmp
41040 @if mpfr
41041 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41042 mkdir stage2-mpfr; \
41043 mv stage2-mpfr mpfr ; \
41044 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41045 @endif mpfr
41046 @if mpc
41047 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41048 mkdir stage2-mpc; \
41049 mv stage2-mpc mpc ; \
41050 mv stage1-mpc prev-mpc || test -f stage1-lean
41051 @endif mpc
41052 @if ppl
41053 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
41054 mkdir stage2-ppl; \
41055 mv stage2-ppl ppl ; \
41056 mv stage1-ppl prev-ppl || test -f stage1-lean
41057 @endif ppl
41058 @if cloog
41059 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41060 mkdir stage2-cloog; \
41061 mv stage2-cloog cloog ; \
41062 mv stage1-cloog prev-cloog || test -f stage1-lean
41063 @endif cloog
41064 @if libelf
41065 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41066 mkdir stage2-libelf; \
41067 mv stage2-libelf libelf ; \
41068 mv stage1-libelf prev-libelf || test -f stage1-lean
41069 @endif libelf
41070 @if gold
41071 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41072 mkdir stage2-gold; \
41073 mv stage2-gold gold ; \
41074 mv stage1-gold prev-gold || test -f stage1-lean
41075 @endif gold
41076 @if intl
41077 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41078 mkdir stage2-intl; \
41079 mv stage2-intl intl ; \
41080 mv stage1-intl prev-intl || test -f stage1-lean
41081 @endif intl
41082 @if ld
41083 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41084 mkdir stage2-ld; \
41085 mv stage2-ld ld ; \
41086 mv stage1-ld prev-ld || test -f stage1-lean
41087 @endif ld
41088 @if libcpp
41089 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41090 mkdir stage2-libcpp; \
41091 mv stage2-libcpp libcpp ; \
41092 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41093 @endif libcpp
41094 @if libdecnumber
41095 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41096 mkdir stage2-libdecnumber; \
41097 mv stage2-libdecnumber libdecnumber ; \
41098 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41099 @endif libdecnumber
41100 @if libiberty
41101 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41102 mkdir stage2-libiberty; \
41103 mv stage2-libiberty libiberty ; \
41104 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41105 @endif libiberty
41106 @if zlib
41107 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41108 mkdir stage2-zlib; \
41109 mv stage2-zlib zlib ; \
41110 mv stage1-zlib prev-zlib || test -f stage1-lean
41111 @endif zlib
41112 @if lto-plugin
41113 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41114 mkdir stage2-lto-plugin; \
41115 mv stage2-lto-plugin lto-plugin ; \
41116 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41117 @endif lto-plugin
41118 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41119 mkdir stage2-$(TARGET_SUBDIR); \
41120 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41121 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41123 stage2-end::
41124 @if bfd
41125 @if test -d $(HOST_SUBDIR)/bfd ; then \
41126 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41127 mv prev-bfd stage1-bfd ; : ; \
41129 @endif bfd
41130 @if opcodes
41131 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41132 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41133 mv prev-opcodes stage1-opcodes ; : ; \
41135 @endif opcodes
41136 @if binutils
41137 @if test -d $(HOST_SUBDIR)/binutils ; then \
41138 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41139 mv prev-binutils stage1-binutils ; : ; \
41141 @endif binutils
41142 @if gas
41143 @if test -d $(HOST_SUBDIR)/gas ; then \
41144 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41145 mv prev-gas stage1-gas ; : ; \
41147 @endif gas
41148 @if gcc
41149 @if test -d $(HOST_SUBDIR)/gcc ; then \
41150 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41151 mv prev-gcc stage1-gcc ; : ; \
41153 @endif gcc
41154 @if gmp
41155 @if test -d $(HOST_SUBDIR)/gmp ; then \
41156 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41157 mv prev-gmp stage1-gmp ; : ; \
41159 @endif gmp
41160 @if mpfr
41161 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41162 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41163 mv prev-mpfr stage1-mpfr ; : ; \
41165 @endif mpfr
41166 @if mpc
41167 @if test -d $(HOST_SUBDIR)/mpc ; then \
41168 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41169 mv prev-mpc stage1-mpc ; : ; \
41171 @endif mpc
41172 @if ppl
41173 @if test -d $(HOST_SUBDIR)/ppl ; then \
41174 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
41175 mv prev-ppl stage1-ppl ; : ; \
41177 @endif ppl
41178 @if cloog
41179 @if test -d $(HOST_SUBDIR)/cloog ; then \
41180 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41181 mv prev-cloog stage1-cloog ; : ; \
41183 @endif cloog
41184 @if libelf
41185 @if test -d $(HOST_SUBDIR)/libelf ; then \
41186 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41187 mv prev-libelf stage1-libelf ; : ; \
41189 @endif libelf
41190 @if gold
41191 @if test -d $(HOST_SUBDIR)/gold ; then \
41192 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41193 mv prev-gold stage1-gold ; : ; \
41195 @endif gold
41196 @if intl
41197 @if test -d $(HOST_SUBDIR)/intl ; then \
41198 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41199 mv prev-intl stage1-intl ; : ; \
41201 @endif intl
41202 @if ld
41203 @if test -d $(HOST_SUBDIR)/ld ; then \
41204 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41205 mv prev-ld stage1-ld ; : ; \
41207 @endif ld
41208 @if libcpp
41209 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41210 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41211 mv prev-libcpp stage1-libcpp ; : ; \
41213 @endif libcpp
41214 @if libdecnumber
41215 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41216 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41217 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41219 @endif libdecnumber
41220 @if libiberty
41221 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41222 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41223 mv prev-libiberty stage1-libiberty ; : ; \
41225 @endif libiberty
41226 @if zlib
41227 @if test -d $(HOST_SUBDIR)/zlib ; then \
41228 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41229 mv prev-zlib stage1-zlib ; : ; \
41231 @endif zlib
41232 @if lto-plugin
41233 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41234 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41235 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41237 @endif lto-plugin
41238 @if test -d $(TARGET_SUBDIR) ; then \
41239 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41240 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41242 rm -f stage_current
41244 # Bubble a bug fix through all the stages up to stage 2. They are
41245 # remade, but not reconfigured. The next stage (if any) will not be
41246 # reconfigured either.
41247 .PHONY: stage2-bubble
41248 stage2-bubble:: stage1-bubble
41249 @r=`${PWD_COMMAND}`; export r; \
41250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41251 if test -f stage2-lean || test -f stage1-lean ; then \
41252 echo Skipping rebuild of stage2 ; \
41253 else \
41254 $(MAKE) stage2-start; \
41255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41258 .PHONY: all-stage2 clean-stage2
41259 do-clean: clean-stage2
41261 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41262 # only possibility, but now it conflicts with no-bootstrap rules
41263 @if gcc-bootstrap
41267 .PHONY: bootstrap2 bootstrap2-lean
41268 bootstrap2:
41269 echo stage2 > stage_final
41270 @r=`${PWD_COMMAND}`; export r; \
41271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41272 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41273 @: $(MAKE); $(unstage)
41274 @r=`${PWD_COMMAND}`; export r; \
41275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41276 TFLAGS="$(STAGE2_TFLAGS)"; \
41277 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41279 bootstrap2-lean:
41280 echo stage2 > stage_final
41281 @r=`${PWD_COMMAND}`; export r; \
41282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41283 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41284 @: $(MAKE); $(unstage)
41285 @r=`${PWD_COMMAND}`; export r; \
41286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41287 TFLAGS="$(STAGE2_TFLAGS)"; \
41288 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41291 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41292 distclean-stage1:: distclean-stage2
41293 .PHONY: distclean-stage2
41294 distclean-stage2::
41295 @: $(MAKE); $(stage)
41296 @test "`cat stage_last`" != stage2 || rm -f stage_last
41297 rm -rf stage2-*
41300 @endif gcc-bootstrap
41303 .PHONY: stage3-start stage3-end
41305 stage3-start::
41306 @: $(MAKE); $(stage); \
41307 echo stage3 > stage_current ; \
41308 echo stage3 > stage_last; \
41309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41310 @if bfd
41311 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41312 mkdir stage3-bfd; \
41313 mv stage3-bfd bfd ; \
41314 mv stage2-bfd prev-bfd || test -f stage2-lean
41315 @endif bfd
41316 @if opcodes
41317 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41318 mkdir stage3-opcodes; \
41319 mv stage3-opcodes opcodes ; \
41320 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41321 @endif opcodes
41322 @if binutils
41323 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41324 mkdir stage3-binutils; \
41325 mv stage3-binutils binutils ; \
41326 mv stage2-binutils prev-binutils || test -f stage2-lean
41327 @endif binutils
41328 @if gas
41329 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41330 mkdir stage3-gas; \
41331 mv stage3-gas gas ; \
41332 mv stage2-gas prev-gas || test -f stage2-lean
41333 @endif gas
41334 @if gcc
41335 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41336 mkdir stage3-gcc; \
41337 mv stage3-gcc gcc ; \
41338 mv stage2-gcc prev-gcc || test -f stage2-lean
41339 @endif gcc
41340 @if gmp
41341 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41342 mkdir stage3-gmp; \
41343 mv stage3-gmp gmp ; \
41344 mv stage2-gmp prev-gmp || test -f stage2-lean
41345 @endif gmp
41346 @if mpfr
41347 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41348 mkdir stage3-mpfr; \
41349 mv stage3-mpfr mpfr ; \
41350 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41351 @endif mpfr
41352 @if mpc
41353 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41354 mkdir stage3-mpc; \
41355 mv stage3-mpc mpc ; \
41356 mv stage2-mpc prev-mpc || test -f stage2-lean
41357 @endif mpc
41358 @if ppl
41359 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
41360 mkdir stage3-ppl; \
41361 mv stage3-ppl ppl ; \
41362 mv stage2-ppl prev-ppl || test -f stage2-lean
41363 @endif ppl
41364 @if cloog
41365 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41366 mkdir stage3-cloog; \
41367 mv stage3-cloog cloog ; \
41368 mv stage2-cloog prev-cloog || test -f stage2-lean
41369 @endif cloog
41370 @if libelf
41371 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41372 mkdir stage3-libelf; \
41373 mv stage3-libelf libelf ; \
41374 mv stage2-libelf prev-libelf || test -f stage2-lean
41375 @endif libelf
41376 @if gold
41377 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41378 mkdir stage3-gold; \
41379 mv stage3-gold gold ; \
41380 mv stage2-gold prev-gold || test -f stage2-lean
41381 @endif gold
41382 @if intl
41383 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41384 mkdir stage3-intl; \
41385 mv stage3-intl intl ; \
41386 mv stage2-intl prev-intl || test -f stage2-lean
41387 @endif intl
41388 @if ld
41389 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41390 mkdir stage3-ld; \
41391 mv stage3-ld ld ; \
41392 mv stage2-ld prev-ld || test -f stage2-lean
41393 @endif ld
41394 @if libcpp
41395 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41396 mkdir stage3-libcpp; \
41397 mv stage3-libcpp libcpp ; \
41398 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41399 @endif libcpp
41400 @if libdecnumber
41401 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41402 mkdir stage3-libdecnumber; \
41403 mv stage3-libdecnumber libdecnumber ; \
41404 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41405 @endif libdecnumber
41406 @if libiberty
41407 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41408 mkdir stage3-libiberty; \
41409 mv stage3-libiberty libiberty ; \
41410 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41411 @endif libiberty
41412 @if zlib
41413 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41414 mkdir stage3-zlib; \
41415 mv stage3-zlib zlib ; \
41416 mv stage2-zlib prev-zlib || test -f stage2-lean
41417 @endif zlib
41418 @if lto-plugin
41419 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41420 mkdir stage3-lto-plugin; \
41421 mv stage3-lto-plugin lto-plugin ; \
41422 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41423 @endif lto-plugin
41424 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41425 mkdir stage3-$(TARGET_SUBDIR); \
41426 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41427 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41429 stage3-end::
41430 @if bfd
41431 @if test -d $(HOST_SUBDIR)/bfd ; then \
41432 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41433 mv prev-bfd stage2-bfd ; : ; \
41435 @endif bfd
41436 @if opcodes
41437 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41438 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41439 mv prev-opcodes stage2-opcodes ; : ; \
41441 @endif opcodes
41442 @if binutils
41443 @if test -d $(HOST_SUBDIR)/binutils ; then \
41444 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41445 mv prev-binutils stage2-binutils ; : ; \
41447 @endif binutils
41448 @if gas
41449 @if test -d $(HOST_SUBDIR)/gas ; then \
41450 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41451 mv prev-gas stage2-gas ; : ; \
41453 @endif gas
41454 @if gcc
41455 @if test -d $(HOST_SUBDIR)/gcc ; then \
41456 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41457 mv prev-gcc stage2-gcc ; : ; \
41459 @endif gcc
41460 @if gmp
41461 @if test -d $(HOST_SUBDIR)/gmp ; then \
41462 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41463 mv prev-gmp stage2-gmp ; : ; \
41465 @endif gmp
41466 @if mpfr
41467 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41468 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41469 mv prev-mpfr stage2-mpfr ; : ; \
41471 @endif mpfr
41472 @if mpc
41473 @if test -d $(HOST_SUBDIR)/mpc ; then \
41474 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41475 mv prev-mpc stage2-mpc ; : ; \
41477 @endif mpc
41478 @if ppl
41479 @if test -d $(HOST_SUBDIR)/ppl ; then \
41480 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41481 mv prev-ppl stage2-ppl ; : ; \
41483 @endif ppl
41484 @if cloog
41485 @if test -d $(HOST_SUBDIR)/cloog ; then \
41486 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41487 mv prev-cloog stage2-cloog ; : ; \
41489 @endif cloog
41490 @if libelf
41491 @if test -d $(HOST_SUBDIR)/libelf ; then \
41492 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41493 mv prev-libelf stage2-libelf ; : ; \
41495 @endif libelf
41496 @if gold
41497 @if test -d $(HOST_SUBDIR)/gold ; then \
41498 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41499 mv prev-gold stage2-gold ; : ; \
41501 @endif gold
41502 @if intl
41503 @if test -d $(HOST_SUBDIR)/intl ; then \
41504 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41505 mv prev-intl stage2-intl ; : ; \
41507 @endif intl
41508 @if ld
41509 @if test -d $(HOST_SUBDIR)/ld ; then \
41510 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
41511 mv prev-ld stage2-ld ; : ; \
41513 @endif ld
41514 @if libcpp
41515 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41516 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
41517 mv prev-libcpp stage2-libcpp ; : ; \
41519 @endif libcpp
41520 @if libdecnumber
41521 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41522 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
41523 mv prev-libdecnumber stage2-libdecnumber ; : ; \
41525 @endif libdecnumber
41526 @if libiberty
41527 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41528 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
41529 mv prev-libiberty stage2-libiberty ; : ; \
41531 @endif libiberty
41532 @if zlib
41533 @if test -d $(HOST_SUBDIR)/zlib ; then \
41534 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
41535 mv prev-zlib stage2-zlib ; : ; \
41537 @endif zlib
41538 @if lto-plugin
41539 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41540 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
41541 mv prev-lto-plugin stage2-lto-plugin ; : ; \
41543 @endif lto-plugin
41544 @if test -d $(TARGET_SUBDIR) ; then \
41545 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
41546 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
41548 rm -f stage_current
41550 # Bubble a bug fix through all the stages up to stage 3. They are
41551 # remade, but not reconfigured. The next stage (if any) will not be
41552 # reconfigured either.
41553 .PHONY: stage3-bubble
41554 stage3-bubble:: stage2-bubble
41555 @r=`${PWD_COMMAND}`; export r; \
41556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41557 if test -f stage3-lean || test -f stage2-lean ; then \
41558 echo Skipping rebuild of stage3 ; \
41559 else \
41560 $(MAKE) stage3-start; \
41561 if $(LEAN); then \
41562 rm -rf stage1-* ; \
41563 $(STAMP) stage1-lean ; \
41564 fi; \
41565 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
41567 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
41569 .PHONY: all-stage3 clean-stage3
41570 do-clean: clean-stage3
41572 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41573 # only possibility, but now it conflicts with no-bootstrap rules
41574 @if gcc-bootstrap
41576 compare:
41577 @r=`${PWD_COMMAND}`; export r; \
41578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41579 if test -f stage2-lean; then \
41580 echo Cannot compare object files as stage 2 was deleted. ; \
41581 exit 0 ; \
41582 fi; \
41583 : $(MAKE); $(stage); \
41584 rm -f .bad_compare ; \
41585 echo Comparing stages 2 and 3 ; \
41586 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
41587 files=`find stage3-* -name "*$(objext)" -print | \
41588 sed -n s,^stage$$sed-,,p` ; \
41589 for file in $${files} ; do \
41590 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
41591 if test ! -f $$f1; then continue; fi; \
41592 $(do-compare) > /dev/null 2>&1; \
41593 if test $$? -eq 1; then \
41594 case $$file in \
41595 @compare_exclusions@) \
41596 echo warning: $$file differs ;; \
41597 *) \
41598 echo $$file differs >> .bad_compare ;; \
41599 esac ; \
41600 fi ; \
41601 done ; \
41602 if [ -f .bad_compare ]; then \
41603 echo "Bootstrap comparison failure!"; \
41604 cat .bad_compare; \
41605 exit 1; \
41606 else \
41607 echo Comparison successful.; \
41608 fi ; \
41609 $(STAMP) compare
41610 if $(LEAN); then \
41611 rm -rf stage2-*; \
41612 $(STAMP) stage2-lean; \
41617 .PHONY: bootstrap bootstrap-lean
41618 bootstrap:
41619 echo stage3 > stage_final
41620 @r=`${PWD_COMMAND}`; export r; \
41621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41622 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41623 @: $(MAKE); $(unstage)
41624 @r=`${PWD_COMMAND}`; export r; \
41625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41626 TFLAGS="$(STAGE3_TFLAGS)"; \
41627 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41629 bootstrap-lean:
41630 echo stage3 > stage_final
41631 @r=`${PWD_COMMAND}`; export r; \
41632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
41634 @: $(MAKE); $(unstage)
41635 @r=`${PWD_COMMAND}`; export r; \
41636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41637 TFLAGS="$(STAGE3_TFLAGS)"; \
41638 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41641 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41642 distclean-stage2:: distclean-stage3
41643 .PHONY: distclean-stage3
41644 distclean-stage3::
41645 @: $(MAKE); $(stage)
41646 @test "`cat stage_last`" != stage3 || rm -f stage_last
41647 rm -rf stage3-* compare
41650 .PHONY: cleanstrap
41651 cleanstrap: do-distclean local-clean
41652 echo stage3 > stage_final
41653 @r=`${PWD_COMMAND}`; export r; \
41654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41655 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41656 @: $(MAKE); $(unstage)
41657 @r=`${PWD_COMMAND}`; export r; \
41658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41659 TFLAGS="$(STAGE3_TFLAGS)"; \
41660 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41662 @endif gcc-bootstrap
41665 .PHONY: stage4-start stage4-end
41667 stage4-start::
41668 @: $(MAKE); $(stage); \
41669 echo stage4 > stage_current ; \
41670 echo stage4 > stage_last; \
41671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41672 @if bfd
41673 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
41674 mkdir stage4-bfd; \
41675 mv stage4-bfd bfd ; \
41676 mv stage3-bfd prev-bfd || test -f stage3-lean
41677 @endif bfd
41678 @if opcodes
41679 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
41680 mkdir stage4-opcodes; \
41681 mv stage4-opcodes opcodes ; \
41682 mv stage3-opcodes prev-opcodes || test -f stage3-lean
41683 @endif opcodes
41684 @if binutils
41685 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
41686 mkdir stage4-binutils; \
41687 mv stage4-binutils binutils ; \
41688 mv stage3-binutils prev-binutils || test -f stage3-lean
41689 @endif binutils
41690 @if gas
41691 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
41692 mkdir stage4-gas; \
41693 mv stage4-gas gas ; \
41694 mv stage3-gas prev-gas || test -f stage3-lean
41695 @endif gas
41696 @if gcc
41697 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
41698 mkdir stage4-gcc; \
41699 mv stage4-gcc gcc ; \
41700 mv stage3-gcc prev-gcc || test -f stage3-lean
41701 @endif gcc
41702 @if gmp
41703 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
41704 mkdir stage4-gmp; \
41705 mv stage4-gmp gmp ; \
41706 mv stage3-gmp prev-gmp || test -f stage3-lean
41707 @endif gmp
41708 @if mpfr
41709 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
41710 mkdir stage4-mpfr; \
41711 mv stage4-mpfr mpfr ; \
41712 mv stage3-mpfr prev-mpfr || test -f stage3-lean
41713 @endif mpfr
41714 @if mpc
41715 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
41716 mkdir stage4-mpc; \
41717 mv stage4-mpc mpc ; \
41718 mv stage3-mpc prev-mpc || test -f stage3-lean
41719 @endif mpc
41720 @if ppl
41721 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
41722 mkdir stage4-ppl; \
41723 mv stage4-ppl ppl ; \
41724 mv stage3-ppl prev-ppl || test -f stage3-lean
41725 @endif ppl
41726 @if cloog
41727 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
41728 mkdir stage4-cloog; \
41729 mv stage4-cloog cloog ; \
41730 mv stage3-cloog prev-cloog || test -f stage3-lean
41731 @endif cloog
41732 @if libelf
41733 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
41734 mkdir stage4-libelf; \
41735 mv stage4-libelf libelf ; \
41736 mv stage3-libelf prev-libelf || test -f stage3-lean
41737 @endif libelf
41738 @if gold
41739 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
41740 mkdir stage4-gold; \
41741 mv stage4-gold gold ; \
41742 mv stage3-gold prev-gold || test -f stage3-lean
41743 @endif gold
41744 @if intl
41745 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
41746 mkdir stage4-intl; \
41747 mv stage4-intl intl ; \
41748 mv stage3-intl prev-intl || test -f stage3-lean
41749 @endif intl
41750 @if ld
41751 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
41752 mkdir stage4-ld; \
41753 mv stage4-ld ld ; \
41754 mv stage3-ld prev-ld || test -f stage3-lean
41755 @endif ld
41756 @if libcpp
41757 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
41758 mkdir stage4-libcpp; \
41759 mv stage4-libcpp libcpp ; \
41760 mv stage3-libcpp prev-libcpp || test -f stage3-lean
41761 @endif libcpp
41762 @if libdecnumber
41763 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
41764 mkdir stage4-libdecnumber; \
41765 mv stage4-libdecnumber libdecnumber ; \
41766 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
41767 @endif libdecnumber
41768 @if libiberty
41769 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
41770 mkdir stage4-libiberty; \
41771 mv stage4-libiberty libiberty ; \
41772 mv stage3-libiberty prev-libiberty || test -f stage3-lean
41773 @endif libiberty
41774 @if zlib
41775 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
41776 mkdir stage4-zlib; \
41777 mv stage4-zlib zlib ; \
41778 mv stage3-zlib prev-zlib || test -f stage3-lean
41779 @endif zlib
41780 @if lto-plugin
41781 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
41782 mkdir stage4-lto-plugin; \
41783 mv stage4-lto-plugin lto-plugin ; \
41784 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
41785 @endif lto-plugin
41786 @[ -d stage4-$(TARGET_SUBDIR) ] || \
41787 mkdir stage4-$(TARGET_SUBDIR); \
41788 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41789 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
41791 stage4-end::
41792 @if bfd
41793 @if test -d $(HOST_SUBDIR)/bfd ; then \
41794 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
41795 mv prev-bfd stage3-bfd ; : ; \
41797 @endif bfd
41798 @if opcodes
41799 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41800 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
41801 mv prev-opcodes stage3-opcodes ; : ; \
41803 @endif opcodes
41804 @if binutils
41805 @if test -d $(HOST_SUBDIR)/binutils ; then \
41806 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
41807 mv prev-binutils stage3-binutils ; : ; \
41809 @endif binutils
41810 @if gas
41811 @if test -d $(HOST_SUBDIR)/gas ; then \
41812 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
41813 mv prev-gas stage3-gas ; : ; \
41815 @endif gas
41816 @if gcc
41817 @if test -d $(HOST_SUBDIR)/gcc ; then \
41818 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
41819 mv prev-gcc stage3-gcc ; : ; \
41821 @endif gcc
41822 @if gmp
41823 @if test -d $(HOST_SUBDIR)/gmp ; then \
41824 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
41825 mv prev-gmp stage3-gmp ; : ; \
41827 @endif gmp
41828 @if mpfr
41829 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41830 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
41831 mv prev-mpfr stage3-mpfr ; : ; \
41833 @endif mpfr
41834 @if mpc
41835 @if test -d $(HOST_SUBDIR)/mpc ; then \
41836 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
41837 mv prev-mpc stage3-mpc ; : ; \
41839 @endif mpc
41840 @if ppl
41841 @if test -d $(HOST_SUBDIR)/ppl ; then \
41842 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
41843 mv prev-ppl stage3-ppl ; : ; \
41845 @endif ppl
41846 @if cloog
41847 @if test -d $(HOST_SUBDIR)/cloog ; then \
41848 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
41849 mv prev-cloog stage3-cloog ; : ; \
41851 @endif cloog
41852 @if libelf
41853 @if test -d $(HOST_SUBDIR)/libelf ; then \
41854 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
41855 mv prev-libelf stage3-libelf ; : ; \
41857 @endif libelf
41858 @if gold
41859 @if test -d $(HOST_SUBDIR)/gold ; then \
41860 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
41861 mv prev-gold stage3-gold ; : ; \
41863 @endif gold
41864 @if intl
41865 @if test -d $(HOST_SUBDIR)/intl ; then \
41866 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
41867 mv prev-intl stage3-intl ; : ; \
41869 @endif intl
41870 @if ld
41871 @if test -d $(HOST_SUBDIR)/ld ; then \
41872 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
41873 mv prev-ld stage3-ld ; : ; \
41875 @endif ld
41876 @if libcpp
41877 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41878 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
41879 mv prev-libcpp stage3-libcpp ; : ; \
41881 @endif libcpp
41882 @if libdecnumber
41883 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41884 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
41885 mv prev-libdecnumber stage3-libdecnumber ; : ; \
41887 @endif libdecnumber
41888 @if libiberty
41889 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41890 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
41891 mv prev-libiberty stage3-libiberty ; : ; \
41893 @endif libiberty
41894 @if zlib
41895 @if test -d $(HOST_SUBDIR)/zlib ; then \
41896 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
41897 mv prev-zlib stage3-zlib ; : ; \
41899 @endif zlib
41900 @if lto-plugin
41901 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41902 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
41903 mv prev-lto-plugin stage3-lto-plugin ; : ; \
41905 @endif lto-plugin
41906 @if test -d $(TARGET_SUBDIR) ; then \
41907 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
41908 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
41910 rm -f stage_current
41912 # Bubble a bug fix through all the stages up to stage 4. They are
41913 # remade, but not reconfigured. The next stage (if any) will not be
41914 # reconfigured either.
41915 .PHONY: stage4-bubble
41916 stage4-bubble:: stage3-bubble
41917 @r=`${PWD_COMMAND}`; export r; \
41918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41919 if test -f stage4-lean || test -f stage3-lean ; then \
41920 echo Skipping rebuild of stage4 ; \
41921 else \
41922 $(MAKE) stage4-start; \
41923 if $(LEAN); then \
41924 rm -rf stage2-* ; \
41925 $(STAMP) stage2-lean ; \
41926 fi; \
41927 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
41929 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
41931 .PHONY: all-stage4 clean-stage4
41932 do-clean: clean-stage4
41934 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41935 # only possibility, but now it conflicts with no-bootstrap rules
41936 @if gcc-bootstrap
41938 compare3:
41939 @r=`${PWD_COMMAND}`; export r; \
41940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41941 if test -f stage3-lean; then \
41942 echo Cannot compare object files as stage 3 was deleted. ; \
41943 exit 0 ; \
41944 fi; \
41945 : $(MAKE); $(stage); \
41946 rm -f .bad_compare ; \
41947 echo Comparing stages 3 and 4 ; \
41948 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
41949 files=`find stage4-* -name "*$(objext)" -print | \
41950 sed -n s,^stage$$sed-,,p` ; \
41951 for file in $${files} ; do \
41952 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
41953 if test ! -f $$f1; then continue; fi; \
41954 $(do-compare3) > /dev/null 2>&1; \
41955 if test $$? -eq 1; then \
41956 case $$file in \
41957 @compare_exclusions@) \
41958 echo warning: $$file differs ;; \
41959 *) \
41960 echo $$file differs >> .bad_compare ;; \
41961 esac ; \
41962 fi ; \
41963 done ; \
41964 if [ -f .bad_compare ]; then \
41965 echo "Bootstrap comparison failure!"; \
41966 cat .bad_compare; \
41967 exit 1; \
41968 else \
41969 echo Comparison successful.; \
41970 fi ; \
41971 $(STAMP) compare3
41972 if $(LEAN); then \
41973 rm -rf stage3-*; \
41974 $(STAMP) stage3-lean; \
41979 .PHONY: bootstrap4 bootstrap4-lean
41980 bootstrap4:
41981 echo stage4 > stage_final
41982 @r=`${PWD_COMMAND}`; export r; \
41983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41984 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
41985 @: $(MAKE); $(unstage)
41986 @r=`${PWD_COMMAND}`; export r; \
41987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41988 TFLAGS="$(STAGE4_TFLAGS)"; \
41989 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41991 bootstrap4-lean:
41992 echo stage4 > stage_final
41993 @r=`${PWD_COMMAND}`; export r; \
41994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41995 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
41996 @: $(MAKE); $(unstage)
41997 @r=`${PWD_COMMAND}`; export r; \
41998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41999 TFLAGS="$(STAGE4_TFLAGS)"; \
42000 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42003 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42004 distclean-stage3:: distclean-stage4
42005 .PHONY: distclean-stage4
42006 distclean-stage4::
42007 @: $(MAKE); $(stage)
42008 @test "`cat stage_last`" != stage4 || rm -f stage_last
42009 rm -rf stage4-* compare3
42012 @endif gcc-bootstrap
42015 .PHONY: stageprofile-start stageprofile-end
42017 stageprofile-start::
42018 @: $(MAKE); $(stage); \
42019 echo stageprofile > stage_current ; \
42020 echo stageprofile > stage_last; \
42021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42022 @if bfd
42023 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42024 mkdir stageprofile-bfd; \
42025 mv stageprofile-bfd bfd ; \
42026 mv stage1-bfd prev-bfd || test -f stage1-lean
42027 @endif bfd
42028 @if opcodes
42029 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42030 mkdir stageprofile-opcodes; \
42031 mv stageprofile-opcodes opcodes ; \
42032 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42033 @endif opcodes
42034 @if binutils
42035 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42036 mkdir stageprofile-binutils; \
42037 mv stageprofile-binutils binutils ; \
42038 mv stage1-binutils prev-binutils || test -f stage1-lean
42039 @endif binutils
42040 @if gas
42041 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42042 mkdir stageprofile-gas; \
42043 mv stageprofile-gas gas ; \
42044 mv stage1-gas prev-gas || test -f stage1-lean
42045 @endif gas
42046 @if gcc
42047 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42048 mkdir stageprofile-gcc; \
42049 mv stageprofile-gcc gcc ; \
42050 mv stage1-gcc prev-gcc || test -f stage1-lean
42051 @endif gcc
42052 @if gmp
42053 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42054 mkdir stageprofile-gmp; \
42055 mv stageprofile-gmp gmp ; \
42056 mv stage1-gmp prev-gmp || test -f stage1-lean
42057 @endif gmp
42058 @if mpfr
42059 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42060 mkdir stageprofile-mpfr; \
42061 mv stageprofile-mpfr mpfr ; \
42062 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42063 @endif mpfr
42064 @if mpc
42065 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42066 mkdir stageprofile-mpc; \
42067 mv stageprofile-mpc mpc ; \
42068 mv stage1-mpc prev-mpc || test -f stage1-lean
42069 @endif mpc
42070 @if ppl
42071 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
42072 mkdir stageprofile-ppl; \
42073 mv stageprofile-ppl ppl ; \
42074 mv stage1-ppl prev-ppl || test -f stage1-lean
42075 @endif ppl
42076 @if cloog
42077 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42078 mkdir stageprofile-cloog; \
42079 mv stageprofile-cloog cloog ; \
42080 mv stage1-cloog prev-cloog || test -f stage1-lean
42081 @endif cloog
42082 @if libelf
42083 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42084 mkdir stageprofile-libelf; \
42085 mv stageprofile-libelf libelf ; \
42086 mv stage1-libelf prev-libelf || test -f stage1-lean
42087 @endif libelf
42088 @if gold
42089 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42090 mkdir stageprofile-gold; \
42091 mv stageprofile-gold gold ; \
42092 mv stage1-gold prev-gold || test -f stage1-lean
42093 @endif gold
42094 @if intl
42095 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42096 mkdir stageprofile-intl; \
42097 mv stageprofile-intl intl ; \
42098 mv stage1-intl prev-intl || test -f stage1-lean
42099 @endif intl
42100 @if ld
42101 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42102 mkdir stageprofile-ld; \
42103 mv stageprofile-ld ld ; \
42104 mv stage1-ld prev-ld || test -f stage1-lean
42105 @endif ld
42106 @if libcpp
42107 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42108 mkdir stageprofile-libcpp; \
42109 mv stageprofile-libcpp libcpp ; \
42110 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42111 @endif libcpp
42112 @if libdecnumber
42113 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42114 mkdir stageprofile-libdecnumber; \
42115 mv stageprofile-libdecnumber libdecnumber ; \
42116 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42117 @endif libdecnumber
42118 @if libiberty
42119 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42120 mkdir stageprofile-libiberty; \
42121 mv stageprofile-libiberty libiberty ; \
42122 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42123 @endif libiberty
42124 @if zlib
42125 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42126 mkdir stageprofile-zlib; \
42127 mv stageprofile-zlib zlib ; \
42128 mv stage1-zlib prev-zlib || test -f stage1-lean
42129 @endif zlib
42130 @if lto-plugin
42131 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42132 mkdir stageprofile-lto-plugin; \
42133 mv stageprofile-lto-plugin lto-plugin ; \
42134 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42135 @endif lto-plugin
42136 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42137 mkdir stageprofile-$(TARGET_SUBDIR); \
42138 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42139 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42141 stageprofile-end::
42142 @if bfd
42143 @if test -d $(HOST_SUBDIR)/bfd ; then \
42144 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42145 mv prev-bfd stage1-bfd ; : ; \
42147 @endif bfd
42148 @if opcodes
42149 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42150 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42151 mv prev-opcodes stage1-opcodes ; : ; \
42153 @endif opcodes
42154 @if binutils
42155 @if test -d $(HOST_SUBDIR)/binutils ; then \
42156 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42157 mv prev-binutils stage1-binutils ; : ; \
42159 @endif binutils
42160 @if gas
42161 @if test -d $(HOST_SUBDIR)/gas ; then \
42162 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42163 mv prev-gas stage1-gas ; : ; \
42165 @endif gas
42166 @if gcc
42167 @if test -d $(HOST_SUBDIR)/gcc ; then \
42168 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42169 mv prev-gcc stage1-gcc ; : ; \
42171 @endif gcc
42172 @if gmp
42173 @if test -d $(HOST_SUBDIR)/gmp ; then \
42174 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42175 mv prev-gmp stage1-gmp ; : ; \
42177 @endif gmp
42178 @if mpfr
42179 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42180 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42181 mv prev-mpfr stage1-mpfr ; : ; \
42183 @endif mpfr
42184 @if mpc
42185 @if test -d $(HOST_SUBDIR)/mpc ; then \
42186 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42187 mv prev-mpc stage1-mpc ; : ; \
42189 @endif mpc
42190 @if ppl
42191 @if test -d $(HOST_SUBDIR)/ppl ; then \
42192 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
42193 mv prev-ppl stage1-ppl ; : ; \
42195 @endif ppl
42196 @if cloog
42197 @if test -d $(HOST_SUBDIR)/cloog ; then \
42198 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42199 mv prev-cloog stage1-cloog ; : ; \
42201 @endif cloog
42202 @if libelf
42203 @if test -d $(HOST_SUBDIR)/libelf ; then \
42204 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42205 mv prev-libelf stage1-libelf ; : ; \
42207 @endif libelf
42208 @if gold
42209 @if test -d $(HOST_SUBDIR)/gold ; then \
42210 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42211 mv prev-gold stage1-gold ; : ; \
42213 @endif gold
42214 @if intl
42215 @if test -d $(HOST_SUBDIR)/intl ; then \
42216 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42217 mv prev-intl stage1-intl ; : ; \
42219 @endif intl
42220 @if ld
42221 @if test -d $(HOST_SUBDIR)/ld ; then \
42222 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42223 mv prev-ld stage1-ld ; : ; \
42225 @endif ld
42226 @if libcpp
42227 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42228 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42229 mv prev-libcpp stage1-libcpp ; : ; \
42231 @endif libcpp
42232 @if libdecnumber
42233 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42234 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42235 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42237 @endif libdecnumber
42238 @if libiberty
42239 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42240 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42241 mv prev-libiberty stage1-libiberty ; : ; \
42243 @endif libiberty
42244 @if zlib
42245 @if test -d $(HOST_SUBDIR)/zlib ; then \
42246 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42247 mv prev-zlib stage1-zlib ; : ; \
42249 @endif zlib
42250 @if lto-plugin
42251 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42252 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42253 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42255 @endif lto-plugin
42256 @if test -d $(TARGET_SUBDIR) ; then \
42257 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42258 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42260 rm -f stage_current
42262 # Bubble a bug fix through all the stages up to stage profile. They are
42263 # remade, but not reconfigured. The next stage (if any) will not be
42264 # reconfigured either.
42265 .PHONY: stageprofile-bubble
42266 stageprofile-bubble:: stage1-bubble
42267 @r=`${PWD_COMMAND}`; export r; \
42268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42269 if test -f stageprofile-lean || test -f stage1-lean ; then \
42270 echo Skipping rebuild of stageprofile ; \
42271 else \
42272 $(MAKE) stageprofile-start; \
42273 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42276 .PHONY: all-stageprofile clean-stageprofile
42277 do-clean: clean-stageprofile
42279 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42280 # only possibility, but now it conflicts with no-bootstrap rules
42281 @if gcc-bootstrap
42286 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42287 distclean-stage1:: distclean-stageprofile
42288 .PHONY: distclean-stageprofile
42289 distclean-stageprofile::
42290 @: $(MAKE); $(stage)
42291 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42292 rm -rf stageprofile-*
42295 @endif gcc-bootstrap
42298 .PHONY: stagefeedback-start stagefeedback-end
42300 stagefeedback-start::
42301 @: $(MAKE); $(stage); \
42302 echo stagefeedback > stage_current ; \
42303 echo stagefeedback > stage_last; \
42304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42305 @if bfd
42306 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42307 mkdir stagefeedback-bfd; \
42308 mv stagefeedback-bfd bfd ; \
42309 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42310 @endif bfd
42311 @if opcodes
42312 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42313 mkdir stagefeedback-opcodes; \
42314 mv stagefeedback-opcodes opcodes ; \
42315 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42316 @endif opcodes
42317 @if binutils
42318 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42319 mkdir stagefeedback-binutils; \
42320 mv stagefeedback-binutils binutils ; \
42321 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42322 @endif binutils
42323 @if gas
42324 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42325 mkdir stagefeedback-gas; \
42326 mv stagefeedback-gas gas ; \
42327 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42328 @endif gas
42329 @if gcc
42330 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42331 mkdir stagefeedback-gcc; \
42332 mv stagefeedback-gcc gcc ; \
42333 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42334 @endif gcc
42335 @if gmp
42336 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42337 mkdir stagefeedback-gmp; \
42338 mv stagefeedback-gmp gmp ; \
42339 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42340 @endif gmp
42341 @if mpfr
42342 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42343 mkdir stagefeedback-mpfr; \
42344 mv stagefeedback-mpfr mpfr ; \
42345 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42346 @endif mpfr
42347 @if mpc
42348 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42349 mkdir stagefeedback-mpc; \
42350 mv stagefeedback-mpc mpc ; \
42351 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42352 @endif mpc
42353 @if ppl
42354 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
42355 mkdir stagefeedback-ppl; \
42356 mv stagefeedback-ppl ppl ; \
42357 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
42358 @endif ppl
42359 @if cloog
42360 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42361 mkdir stagefeedback-cloog; \
42362 mv stagefeedback-cloog cloog ; \
42363 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42364 @endif cloog
42365 @if libelf
42366 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42367 mkdir stagefeedback-libelf; \
42368 mv stagefeedback-libelf libelf ; \
42369 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42370 @endif libelf
42371 @if gold
42372 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42373 mkdir stagefeedback-gold; \
42374 mv stagefeedback-gold gold ; \
42375 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42376 @endif gold
42377 @if intl
42378 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42379 mkdir stagefeedback-intl; \
42380 mv stagefeedback-intl intl ; \
42381 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42382 @endif intl
42383 @if ld
42384 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42385 mkdir stagefeedback-ld; \
42386 mv stagefeedback-ld ld ; \
42387 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42388 @endif ld
42389 @if libcpp
42390 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42391 mkdir stagefeedback-libcpp; \
42392 mv stagefeedback-libcpp libcpp ; \
42393 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42394 @endif libcpp
42395 @if libdecnumber
42396 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42397 mkdir stagefeedback-libdecnumber; \
42398 mv stagefeedback-libdecnumber libdecnumber ; \
42399 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42400 @endif libdecnumber
42401 @if libiberty
42402 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42403 mkdir stagefeedback-libiberty; \
42404 mv stagefeedback-libiberty libiberty ; \
42405 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42406 @endif libiberty
42407 @if zlib
42408 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42409 mkdir stagefeedback-zlib; \
42410 mv stagefeedback-zlib zlib ; \
42411 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42412 @endif zlib
42413 @if lto-plugin
42414 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42415 mkdir stagefeedback-lto-plugin; \
42416 mv stagefeedback-lto-plugin lto-plugin ; \
42417 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42418 @endif lto-plugin
42419 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42420 mkdir stagefeedback-$(TARGET_SUBDIR); \
42421 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42422 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42424 stagefeedback-end::
42425 @if bfd
42426 @if test -d $(HOST_SUBDIR)/bfd ; then \
42427 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42428 mv prev-bfd stageprofile-bfd ; : ; \
42430 @endif bfd
42431 @if opcodes
42432 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42433 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42434 mv prev-opcodes stageprofile-opcodes ; : ; \
42436 @endif opcodes
42437 @if binutils
42438 @if test -d $(HOST_SUBDIR)/binutils ; then \
42439 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42440 mv prev-binutils stageprofile-binutils ; : ; \
42442 @endif binutils
42443 @if gas
42444 @if test -d $(HOST_SUBDIR)/gas ; then \
42445 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42446 mv prev-gas stageprofile-gas ; : ; \
42448 @endif gas
42449 @if gcc
42450 @if test -d $(HOST_SUBDIR)/gcc ; then \
42451 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42452 mv prev-gcc stageprofile-gcc ; : ; \
42454 @endif gcc
42455 @if gmp
42456 @if test -d $(HOST_SUBDIR)/gmp ; then \
42457 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42458 mv prev-gmp stageprofile-gmp ; : ; \
42460 @endif gmp
42461 @if mpfr
42462 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42463 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42464 mv prev-mpfr stageprofile-mpfr ; : ; \
42466 @endif mpfr
42467 @if mpc
42468 @if test -d $(HOST_SUBDIR)/mpc ; then \
42469 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42470 mv prev-mpc stageprofile-mpc ; : ; \
42472 @endif mpc
42473 @if ppl
42474 @if test -d $(HOST_SUBDIR)/ppl ; then \
42475 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42476 mv prev-ppl stageprofile-ppl ; : ; \
42478 @endif ppl
42479 @if cloog
42480 @if test -d $(HOST_SUBDIR)/cloog ; then \
42481 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42482 mv prev-cloog stageprofile-cloog ; : ; \
42484 @endif cloog
42485 @if libelf
42486 @if test -d $(HOST_SUBDIR)/libelf ; then \
42487 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42488 mv prev-libelf stageprofile-libelf ; : ; \
42490 @endif libelf
42491 @if gold
42492 @if test -d $(HOST_SUBDIR)/gold ; then \
42493 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42494 mv prev-gold stageprofile-gold ; : ; \
42496 @endif gold
42497 @if intl
42498 @if test -d $(HOST_SUBDIR)/intl ; then \
42499 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42500 mv prev-intl stageprofile-intl ; : ; \
42502 @endif intl
42503 @if ld
42504 @if test -d $(HOST_SUBDIR)/ld ; then \
42505 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42506 mv prev-ld stageprofile-ld ; : ; \
42508 @endif ld
42509 @if libcpp
42510 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42511 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42512 mv prev-libcpp stageprofile-libcpp ; : ; \
42514 @endif libcpp
42515 @if libdecnumber
42516 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42517 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42518 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42520 @endif libdecnumber
42521 @if libiberty
42522 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42523 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42524 mv prev-libiberty stageprofile-libiberty ; : ; \
42526 @endif libiberty
42527 @if zlib
42528 @if test -d $(HOST_SUBDIR)/zlib ; then \
42529 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42530 mv prev-zlib stageprofile-zlib ; : ; \
42532 @endif zlib
42533 @if lto-plugin
42534 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42535 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
42536 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
42538 @endif lto-plugin
42539 @if test -d $(TARGET_SUBDIR) ; then \
42540 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42541 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42543 rm -f stage_current
42545 # Bubble a bug fix through all the stages up to stage feedback. They are
42546 # remade, but not reconfigured. The next stage (if any) will not be
42547 # reconfigured either.
42548 .PHONY: stagefeedback-bubble
42549 stagefeedback-bubble:: stageprofile-bubble
42550 @r=`${PWD_COMMAND}`; export r; \
42551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42552 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42553 echo Skipping rebuild of stagefeedback ; \
42554 else \
42555 $(MAKE) stagefeedback-start; \
42556 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42559 .PHONY: all-stagefeedback clean-stagefeedback
42560 do-clean: clean-stagefeedback
42562 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42563 # only possibility, but now it conflicts with no-bootstrap rules
42564 @if gcc-bootstrap
42568 .PHONY: profiledbootstrap profiledbootstrap-lean
42569 profiledbootstrap:
42570 echo stagefeedback > stage_final
42571 @r=`${PWD_COMMAND}`; export r; \
42572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42574 @: $(MAKE); $(unstage)
42575 @r=`${PWD_COMMAND}`; export r; \
42576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42577 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42578 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42580 profiledbootstrap-lean:
42581 echo stagefeedback > stage_final
42582 @r=`${PWD_COMMAND}`; export r; \
42583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42584 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42585 @: $(MAKE); $(unstage)
42586 @r=`${PWD_COMMAND}`; export r; \
42587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42588 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42589 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42592 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42593 distclean-stageprofile:: distclean-stagefeedback
42594 .PHONY: distclean-stagefeedback
42595 distclean-stagefeedback::
42596 @: $(MAKE); $(stage)
42597 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
42598 rm -rf stagefeedback-*
42601 @endif gcc-bootstrap
42605 stageprofile-end::
42606 $(MAKE) distclean-stagefeedback
42608 stagefeedback-start::
42609 @r=`${PWD_COMMAND}`; export r; \
42610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42611 for i in prev-*; do \
42612 j=`echo $$i | sed s/^prev-//` ; \
42613 cd $$r/$$i && \
42614 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42615 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42616 done
42618 @if gcc-bootstrap
42619 do-distclean: distclean-stage1
42621 # Provide a GCC build when we're building target libraries. This does
42622 # not work as a dependency, just as the minimum necessary to avoid errors.
42623 stage_last:
42624 @r=`${PWD_COMMAND}`; export r; \
42625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42628 # Same as unstage, but not phony and defaulting to stage1-start. We place
42629 # it in the dependency so that for example `make -j3 all-gcc' works.
42630 stage_current:
42631 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42633 .PHONY: restrap
42634 restrap::
42635 @: $(MAKE); $(stage)
42636 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42637 restrap:: all
42638 @endif gcc-bootstrap
42640 # --------------------------------------
42641 # Dependencies between different modules
42642 # --------------------------------------
42644 # Generic dependencies for target modules on host stuff, especially gcc
42645 @if gcc-bootstrap
42646 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
42647 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
42648 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
42649 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
42650 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
42651 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
42652 configure-target-libmudflap: stage_last
42653 configure-target-libssp: stage_last
42654 configure-target-newlib: stage_last
42655 configure-stage1-target-libgcc: maybe-all-stage1-gcc
42656 configure-stage2-target-libgcc: maybe-all-stage2-gcc
42657 configure-stage3-target-libgcc: maybe-all-stage3-gcc
42658 configure-stage4-target-libgcc: maybe-all-stage4-gcc
42659 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
42660 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
42661 configure-target-libquadmath: stage_last
42662 configure-target-libgfortran: stage_last
42663 configure-target-libobjc: stage_last
42664 configure-target-libgo: stage_last
42665 configure-target-libtermcap: stage_last
42666 configure-target-winsup: stage_last
42667 configure-target-libgloss: stage_last
42668 configure-target-libiberty: stage_last
42669 configure-target-libffi: stage_last
42670 configure-target-libjava: stage_last
42671 configure-target-zlib: stage_last
42672 configure-target-boehm-gc: stage_last
42673 configure-target-rda: stage_last
42674 configure-target-libada: stage_last
42675 configure-stage1-target-libgomp: maybe-all-stage1-gcc
42676 configure-stage2-target-libgomp: maybe-all-stage2-gcc
42677 configure-stage3-target-libgomp: maybe-all-stage3-gcc
42678 configure-stage4-target-libgomp: maybe-all-stage4-gcc
42679 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
42680 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
42681 @endif gcc-bootstrap
42683 @if gcc-no-bootstrap
42684 configure-target-libstdc++-v3: maybe-all-gcc
42685 configure-target-libmudflap: maybe-all-gcc
42686 configure-target-libssp: maybe-all-gcc
42687 configure-target-newlib: maybe-all-gcc
42688 configure-target-libgcc: maybe-all-gcc
42689 configure-target-libquadmath: maybe-all-gcc
42690 configure-target-libgfortran: maybe-all-gcc
42691 configure-target-libobjc: maybe-all-gcc
42692 configure-target-libgo: maybe-all-gcc
42693 configure-target-libtermcap: maybe-all-gcc
42694 configure-target-winsup: maybe-all-gcc
42695 configure-target-libgloss: maybe-all-gcc
42696 configure-target-libiberty: maybe-all-gcc
42697 configure-target-libffi: maybe-all-gcc
42698 configure-target-libjava: maybe-all-gcc
42699 configure-target-zlib: maybe-all-gcc
42700 configure-target-boehm-gc: maybe-all-gcc
42701 configure-target-rda: maybe-all-gcc
42702 configure-target-libada: maybe-all-gcc
42703 configure-target-libgomp: maybe-all-gcc
42704 @endif gcc-no-bootstrap
42707 # There are two types of dependencies here: 'hard' dependencies, where one
42708 # module simply won't build without the other; and 'soft' dependencies, where
42709 # if the depended-on module is missing, the depending module will do without
42710 # or find a substitute somewhere (perhaps installed). Soft dependencies
42711 # are made here to depend on a 'maybe-' target. If you're not sure,
42712 # it's safer to use a soft dependency.
42719 # With all the machinery above in place, it is pretty easy to generate
42720 # dependencies. Host dependencies are a bit more complex because we have
42721 # to check for bootstrap/prebootstrap dependencies. To resolve
42722 # prebootstrap dependencies, prebootstrap modules are gathered in
42723 # a hash table.
42724 all-build-bison: maybe-all-build-texinfo
42725 all-build-flex: maybe-all-build-texinfo
42726 all-build-flex: maybe-all-build-bison
42727 all-build-flex: maybe-all-build-m4
42728 all-build-libiberty: maybe-all-build-texinfo
42729 all-build-m4: maybe-all-build-texinfo
42730 all-build-fixincludes: maybe-all-build-libiberty
42731 configure-gcc: maybe-configure-intl
42733 configure-stage1-gcc: maybe-configure-stage1-intl
42734 configure-stage2-gcc: maybe-configure-stage2-intl
42735 configure-stage3-gcc: maybe-configure-stage3-intl
42736 configure-stage4-gcc: maybe-configure-stage4-intl
42737 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
42738 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
42739 configure-gcc: maybe-all-lto-plugin
42741 configure-stage1-gcc: maybe-all-stage1-lto-plugin
42742 configure-stage2-gcc: maybe-all-stage2-lto-plugin
42743 configure-stage3-gcc: maybe-all-stage3-lto-plugin
42744 configure-stage4-gcc: maybe-all-stage4-lto-plugin
42745 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42746 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42747 configure-gcc: maybe-all-binutils
42749 configure-stage1-gcc: maybe-all-stage1-binutils
42750 configure-stage2-gcc: maybe-all-stage2-binutils
42751 configure-stage3-gcc: maybe-all-stage3-binutils
42752 configure-stage4-gcc: maybe-all-stage4-binutils
42753 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
42754 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
42755 configure-gcc: maybe-all-gas
42757 configure-stage1-gcc: maybe-all-stage1-gas
42758 configure-stage2-gcc: maybe-all-stage2-gas
42759 configure-stage3-gcc: maybe-all-stage3-gas
42760 configure-stage4-gcc: maybe-all-stage4-gas
42761 configure-stageprofile-gcc: maybe-all-stageprofile-gas
42762 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
42763 configure-gcc: maybe-all-ld
42765 configure-stage1-gcc: maybe-all-stage1-ld
42766 configure-stage2-gcc: maybe-all-stage2-ld
42767 configure-stage3-gcc: maybe-all-stage3-ld
42768 configure-stage4-gcc: maybe-all-stage4-ld
42769 configure-stageprofile-gcc: maybe-all-stageprofile-ld
42770 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
42771 configure-gcc: maybe-all-gold
42773 configure-stage1-gcc: maybe-all-stage1-gold
42774 configure-stage2-gcc: maybe-all-stage2-gold
42775 configure-stage3-gcc: maybe-all-stage3-gold
42776 configure-stage4-gcc: maybe-all-stage4-gold
42777 configure-stageprofile-gcc: maybe-all-stageprofile-gold
42778 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
42779 configure-gcc: maybe-all-libelf
42781 configure-stage1-gcc: maybe-all-stage1-libelf
42782 configure-stage2-gcc: maybe-all-stage2-libelf
42783 configure-stage3-gcc: maybe-all-stage3-libelf
42784 configure-stage4-gcc: maybe-all-stage4-libelf
42785 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
42786 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
42787 all-gcc: all-libiberty
42789 all-stage1-gcc: all-stage1-libiberty
42790 all-stage2-gcc: all-stage2-libiberty
42791 all-stage3-gcc: all-stage3-libiberty
42792 all-stage4-gcc: all-stage4-libiberty
42793 all-stageprofile-gcc: all-stageprofile-libiberty
42794 all-stagefeedback-gcc: all-stagefeedback-libiberty
42795 all-gcc: maybe-all-gmp
42797 all-stage1-gcc: maybe-all-stage1-gmp
42798 all-stage2-gcc: maybe-all-stage2-gmp
42799 all-stage3-gcc: maybe-all-stage3-gmp
42800 all-stage4-gcc: maybe-all-stage4-gmp
42801 all-stageprofile-gcc: maybe-all-stageprofile-gmp
42802 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
42803 all-gcc: maybe-all-intl
42805 all-stage1-gcc: maybe-all-stage1-intl
42806 all-stage2-gcc: maybe-all-stage2-intl
42807 all-stage3-gcc: maybe-all-stage3-intl
42808 all-stage4-gcc: maybe-all-stage4-intl
42809 all-stageprofile-gcc: maybe-all-stageprofile-intl
42810 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
42811 all-gcc: maybe-all-mpfr
42813 all-stage1-gcc: maybe-all-stage1-mpfr
42814 all-stage2-gcc: maybe-all-stage2-mpfr
42815 all-stage3-gcc: maybe-all-stage3-mpfr
42816 all-stage4-gcc: maybe-all-stage4-mpfr
42817 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
42818 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
42819 all-gcc: maybe-all-mpc
42821 all-stage1-gcc: maybe-all-stage1-mpc
42822 all-stage2-gcc: maybe-all-stage2-mpc
42823 all-stage3-gcc: maybe-all-stage3-mpc
42824 all-stage4-gcc: maybe-all-stage4-mpc
42825 all-stageprofile-gcc: maybe-all-stageprofile-mpc
42826 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
42827 all-gcc: maybe-all-ppl
42829 all-stage1-gcc: maybe-all-stage1-ppl
42830 all-stage2-gcc: maybe-all-stage2-ppl
42831 all-stage3-gcc: maybe-all-stage3-ppl
42832 all-stage4-gcc: maybe-all-stage4-ppl
42833 all-stageprofile-gcc: maybe-all-stageprofile-ppl
42834 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
42835 all-gcc: maybe-all-cloog
42837 all-stage1-gcc: maybe-all-stage1-cloog
42838 all-stage2-gcc: maybe-all-stage2-cloog
42839 all-stage3-gcc: maybe-all-stage3-cloog
42840 all-stage4-gcc: maybe-all-stage4-cloog
42841 all-stageprofile-gcc: maybe-all-stageprofile-cloog
42842 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
42843 all-gcc: maybe-all-build-texinfo
42845 all-stage1-gcc: maybe-all-build-texinfo
42846 all-stage2-gcc: maybe-all-build-texinfo
42847 all-stage3-gcc: maybe-all-build-texinfo
42848 all-stage4-gcc: maybe-all-build-texinfo
42849 all-stageprofile-gcc: maybe-all-build-texinfo
42850 all-stagefeedback-gcc: maybe-all-build-texinfo
42851 all-gcc: maybe-all-build-bison
42853 all-stage1-gcc: maybe-all-build-bison
42854 all-stage2-gcc: maybe-all-build-bison
42855 all-stage3-gcc: maybe-all-build-bison
42856 all-stage4-gcc: maybe-all-build-bison
42857 all-stageprofile-gcc: maybe-all-build-bison
42858 all-stagefeedback-gcc: maybe-all-build-bison
42859 all-gcc: maybe-all-build-flex
42861 all-stage1-gcc: maybe-all-build-flex
42862 all-stage2-gcc: maybe-all-build-flex
42863 all-stage3-gcc: maybe-all-build-flex
42864 all-stage4-gcc: maybe-all-build-flex
42865 all-stageprofile-gcc: maybe-all-build-flex
42866 all-stagefeedback-gcc: maybe-all-build-flex
42867 all-gcc: maybe-all-build-libiberty
42869 all-stage1-gcc: maybe-all-build-libiberty
42870 all-stage2-gcc: maybe-all-build-libiberty
42871 all-stage3-gcc: maybe-all-build-libiberty
42872 all-stage4-gcc: maybe-all-build-libiberty
42873 all-stageprofile-gcc: maybe-all-build-libiberty
42874 all-stagefeedback-gcc: maybe-all-build-libiberty
42875 all-gcc: maybe-all-build-fixincludes
42877 all-stage1-gcc: maybe-all-build-fixincludes
42878 all-stage2-gcc: maybe-all-build-fixincludes
42879 all-stage3-gcc: maybe-all-build-fixincludes
42880 all-stage4-gcc: maybe-all-build-fixincludes
42881 all-stageprofile-gcc: maybe-all-build-fixincludes
42882 all-stagefeedback-gcc: maybe-all-build-fixincludes
42883 all-gcc: maybe-all-zlib
42885 all-stage1-gcc: maybe-all-stage1-zlib
42886 all-stage2-gcc: maybe-all-stage2-zlib
42887 all-stage3-gcc: maybe-all-stage3-zlib
42888 all-stage4-gcc: maybe-all-stage4-zlib
42889 all-stageprofile-gcc: maybe-all-stageprofile-zlib
42890 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
42891 all-gcc: all-libcpp
42893 all-stage1-gcc: all-stage1-libcpp
42894 all-stage2-gcc: all-stage2-libcpp
42895 all-stage3-gcc: all-stage3-libcpp
42896 all-stage4-gcc: all-stage4-libcpp
42897 all-stageprofile-gcc: all-stageprofile-libcpp
42898 all-stagefeedback-gcc: all-stagefeedback-libcpp
42899 all-gcc: all-libdecnumber
42901 all-stage1-gcc: all-stage1-libdecnumber
42902 all-stage2-gcc: all-stage2-libdecnumber
42903 all-stage3-gcc: all-stage3-libdecnumber
42904 all-stage4-gcc: all-stage4-libdecnumber
42905 all-stageprofile-gcc: all-stageprofile-libdecnumber
42906 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
42907 all-gcc: maybe-all-libiberty
42909 all-stage1-gcc: maybe-all-stage1-libiberty
42910 all-stage2-gcc: maybe-all-stage2-libiberty
42911 all-stage3-gcc: maybe-all-stage3-libiberty
42912 all-stage4-gcc: maybe-all-stage4-libiberty
42913 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
42914 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
42915 all-gcc: maybe-all-fixincludes
42916 all-gcc: maybe-all-lto-plugin
42918 all-stage1-gcc: maybe-all-stage1-lto-plugin
42919 all-stage2-gcc: maybe-all-stage2-lto-plugin
42920 all-stage3-gcc: maybe-all-stage3-lto-plugin
42921 all-stage4-gcc: maybe-all-stage4-lto-plugin
42922 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42923 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42924 info-gcc: maybe-all-build-libiberty
42926 info-stage1-gcc: maybe-all-build-libiberty
42927 info-stage2-gcc: maybe-all-build-libiberty
42928 info-stage3-gcc: maybe-all-build-libiberty
42929 info-stage4-gcc: maybe-all-build-libiberty
42930 info-stageprofile-gcc: maybe-all-build-libiberty
42931 info-stagefeedback-gcc: maybe-all-build-libiberty
42932 dvi-gcc: maybe-all-build-libiberty
42934 dvi-stage1-gcc: maybe-all-build-libiberty
42935 dvi-stage2-gcc: maybe-all-build-libiberty
42936 dvi-stage3-gcc: maybe-all-build-libiberty
42937 dvi-stage4-gcc: maybe-all-build-libiberty
42938 dvi-stageprofile-gcc: maybe-all-build-libiberty
42939 dvi-stagefeedback-gcc: maybe-all-build-libiberty
42940 pdf-gcc: maybe-all-build-libiberty
42942 pdf-stage1-gcc: maybe-all-build-libiberty
42943 pdf-stage2-gcc: maybe-all-build-libiberty
42944 pdf-stage3-gcc: maybe-all-build-libiberty
42945 pdf-stage4-gcc: maybe-all-build-libiberty
42946 pdf-stageprofile-gcc: maybe-all-build-libiberty
42947 pdf-stagefeedback-gcc: maybe-all-build-libiberty
42948 html-gcc: maybe-all-build-libiberty
42950 html-stage1-gcc: maybe-all-build-libiberty
42951 html-stage2-gcc: maybe-all-build-libiberty
42952 html-stage3-gcc: maybe-all-build-libiberty
42953 html-stage4-gcc: maybe-all-build-libiberty
42954 html-stageprofile-gcc: maybe-all-build-libiberty
42955 html-stagefeedback-gcc: maybe-all-build-libiberty
42956 install-gcc: maybe-install-fixincludes
42957 install-gcc: maybe-install-lto-plugin
42958 install-strip-gcc: maybe-install-strip-fixincludes
42959 configure-libcpp: configure-libiberty
42961 configure-stage1-libcpp: configure-stage1-libiberty
42962 configure-stage2-libcpp: configure-stage2-libiberty
42963 configure-stage3-libcpp: configure-stage3-libiberty
42964 configure-stage4-libcpp: configure-stage4-libiberty
42965 configure-stageprofile-libcpp: configure-stageprofile-libiberty
42966 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
42967 configure-libcpp: maybe-configure-intl
42969 configure-stage1-libcpp: maybe-configure-stage1-intl
42970 configure-stage2-libcpp: maybe-configure-stage2-intl
42971 configure-stage3-libcpp: maybe-configure-stage3-intl
42972 configure-stage4-libcpp: maybe-configure-stage4-intl
42973 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
42974 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
42975 all-libcpp: all-libiberty
42977 all-stage1-libcpp: all-stage1-libiberty
42978 all-stage2-libcpp: all-stage2-libiberty
42979 all-stage3-libcpp: all-stage3-libiberty
42980 all-stage4-libcpp: all-stage4-libiberty
42981 all-stageprofile-libcpp: all-stageprofile-libiberty
42982 all-stagefeedback-libcpp: all-stagefeedback-libiberty
42983 all-libcpp: maybe-all-intl
42985 all-stage1-libcpp: maybe-all-stage1-intl
42986 all-stage2-libcpp: maybe-all-stage2-intl
42987 all-stage3-libcpp: maybe-all-stage3-intl
42988 all-stage4-libcpp: maybe-all-stage4-intl
42989 all-stageprofile-libcpp: maybe-all-stageprofile-intl
42990 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
42991 all-fixincludes: maybe-all-libiberty
42992 all-gnattools: maybe-all-target-libada
42993 all-lto-plugin: maybe-all-libiberty
42995 all-stage1-lto-plugin: maybe-all-stage1-libiberty
42996 all-stage2-lto-plugin: maybe-all-stage2-libiberty
42997 all-stage3-lto-plugin: maybe-all-stage3-libiberty
42998 all-stage4-lto-plugin: maybe-all-stage4-libiberty
42999 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43000 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43001 all-utils: maybe-all-libiberty
43002 configure-mpfr: maybe-all-gmp
43004 configure-stage1-mpfr: maybe-all-stage1-gmp
43005 configure-stage2-mpfr: maybe-all-stage2-gmp
43006 configure-stage3-mpfr: maybe-all-stage3-gmp
43007 configure-stage4-mpfr: maybe-all-stage4-gmp
43008 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43009 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43010 configure-mpc: maybe-all-mpfr
43012 configure-stage1-mpc: maybe-all-stage1-mpfr
43013 configure-stage2-mpc: maybe-all-stage2-mpfr
43014 configure-stage3-mpc: maybe-all-stage3-mpfr
43015 configure-stage4-mpc: maybe-all-stage4-mpfr
43016 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43017 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43018 configure-ppl: maybe-all-gmp
43020 configure-stage1-ppl: maybe-all-stage1-gmp
43021 configure-stage2-ppl: maybe-all-stage2-gmp
43022 configure-stage3-ppl: maybe-all-stage3-gmp
43023 configure-stage4-ppl: maybe-all-stage4-gmp
43024 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
43025 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
43026 configure-ppl: maybe-all-mpfr
43028 configure-stage1-ppl: maybe-all-stage1-mpfr
43029 configure-stage2-ppl: maybe-all-stage2-mpfr
43030 configure-stage3-ppl: maybe-all-stage3-mpfr
43031 configure-stage4-ppl: maybe-all-stage4-mpfr
43032 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
43033 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
43034 configure-cloog: maybe-all-ppl
43036 configure-stage1-cloog: maybe-all-stage1-ppl
43037 configure-stage2-cloog: maybe-all-stage2-ppl
43038 configure-stage3-cloog: maybe-all-stage3-ppl
43039 configure-stage4-cloog: maybe-all-stage4-ppl
43040 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
43041 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
43042 configure-gdb: maybe-all-intl
43043 configure-gdb: maybe-configure-sim
43044 configure-gdb: maybe-all-bfd
43045 configure-gdb: maybe-all-libiconv
43046 all-gdb: maybe-all-libiberty
43047 all-gdb: maybe-all-libiconv
43048 all-gdb: maybe-all-opcodes
43049 all-gdb: maybe-all-readline
43050 all-gdb: maybe-all-build-bison
43051 all-gdb: maybe-all-sim
43052 all-gdb: maybe-all-libdecnumber
43053 all-gdb: maybe-all-libtermcap
43054 configure-libgui: maybe-configure-tcl
43055 configure-libgui: maybe-configure-tk
43056 all-libgui: maybe-all-tcl
43057 all-libgui: maybe-all-tk
43058 all-libgui: maybe-all-itcl
43059 configure-bfd: configure-libiberty
43061 configure-stage1-bfd: configure-stage1-libiberty
43062 configure-stage2-bfd: configure-stage2-libiberty
43063 configure-stage3-bfd: configure-stage3-libiberty
43064 configure-stage4-bfd: configure-stage4-libiberty
43065 configure-stageprofile-bfd: configure-stageprofile-libiberty
43066 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43067 configure-bfd: maybe-configure-intl
43069 configure-stage1-bfd: maybe-configure-stage1-intl
43070 configure-stage2-bfd: maybe-configure-stage2-intl
43071 configure-stage3-bfd: maybe-configure-stage3-intl
43072 configure-stage4-bfd: maybe-configure-stage4-intl
43073 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43074 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43075 all-bfd: maybe-all-libiberty
43077 all-stage1-bfd: maybe-all-stage1-libiberty
43078 all-stage2-bfd: maybe-all-stage2-libiberty
43079 all-stage3-bfd: maybe-all-stage3-libiberty
43080 all-stage4-bfd: maybe-all-stage4-libiberty
43081 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43082 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43083 all-bfd: maybe-all-intl
43085 all-stage1-bfd: maybe-all-stage1-intl
43086 all-stage2-bfd: maybe-all-stage2-intl
43087 all-stage3-bfd: maybe-all-stage3-intl
43088 all-stage4-bfd: maybe-all-stage4-intl
43089 all-stageprofile-bfd: maybe-all-stageprofile-intl
43090 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43091 configure-opcodes: configure-libiberty
43093 configure-stage1-opcodes: configure-stage1-libiberty
43094 configure-stage2-opcodes: configure-stage2-libiberty
43095 configure-stage3-opcodes: configure-stage3-libiberty
43096 configure-stage4-opcodes: configure-stage4-libiberty
43097 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43098 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43099 all-opcodes: maybe-all-libiberty
43101 all-stage1-opcodes: maybe-all-stage1-libiberty
43102 all-stage2-opcodes: maybe-all-stage2-libiberty
43103 all-stage3-opcodes: maybe-all-stage3-libiberty
43104 all-stage4-opcodes: maybe-all-stage4-libiberty
43105 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43106 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43107 configure-binutils: maybe-configure-intl
43109 configure-stage1-binutils: maybe-configure-stage1-intl
43110 configure-stage2-binutils: maybe-configure-stage2-intl
43111 configure-stage3-binutils: maybe-configure-stage3-intl
43112 configure-stage4-binutils: maybe-configure-stage4-intl
43113 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43114 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43115 all-binutils: maybe-all-libiberty
43117 all-stage1-binutils: maybe-all-stage1-libiberty
43118 all-stage2-binutils: maybe-all-stage2-libiberty
43119 all-stage3-binutils: maybe-all-stage3-libiberty
43120 all-stage4-binutils: maybe-all-stage4-libiberty
43121 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43122 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43123 all-binutils: maybe-all-opcodes
43125 all-stage1-binutils: maybe-all-stage1-opcodes
43126 all-stage2-binutils: maybe-all-stage2-opcodes
43127 all-stage3-binutils: maybe-all-stage3-opcodes
43128 all-stage4-binutils: maybe-all-stage4-opcodes
43129 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43130 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43131 all-binutils: maybe-all-bfd
43133 all-stage1-binutils: maybe-all-stage1-bfd
43134 all-stage2-binutils: maybe-all-stage2-bfd
43135 all-stage3-binutils: maybe-all-stage3-bfd
43136 all-stage4-binutils: maybe-all-stage4-bfd
43137 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43138 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43139 all-binutils: maybe-all-build-flex
43141 all-stage1-binutils: maybe-all-build-flex
43142 all-stage2-binutils: maybe-all-build-flex
43143 all-stage3-binutils: maybe-all-build-flex
43144 all-stage4-binutils: maybe-all-build-flex
43145 all-stageprofile-binutils: maybe-all-build-flex
43146 all-stagefeedback-binutils: maybe-all-build-flex
43147 all-binutils: maybe-all-build-bison
43149 all-stage1-binutils: maybe-all-build-bison
43150 all-stage2-binutils: maybe-all-build-bison
43151 all-stage3-binutils: maybe-all-build-bison
43152 all-stage4-binutils: maybe-all-build-bison
43153 all-stageprofile-binutils: maybe-all-build-bison
43154 all-stagefeedback-binutils: maybe-all-build-bison
43155 all-binutils: maybe-all-intl
43157 all-stage1-binutils: maybe-all-stage1-intl
43158 all-stage2-binutils: maybe-all-stage2-intl
43159 all-stage3-binutils: maybe-all-stage3-intl
43160 all-stage4-binutils: maybe-all-stage4-intl
43161 all-stageprofile-binutils: maybe-all-stageprofile-intl
43162 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43163 install-binutils: maybe-install-opcodes
43164 install-strip-binutils: maybe-install-strip-opcodes
43165 install-opcodes: maybe-install-bfd
43166 install-strip-opcodes: maybe-install-strip-bfd
43167 configure-gas: maybe-configure-intl
43169 configure-stage1-gas: maybe-configure-stage1-intl
43170 configure-stage2-gas: maybe-configure-stage2-intl
43171 configure-stage3-gas: maybe-configure-stage3-intl
43172 configure-stage4-gas: maybe-configure-stage4-intl
43173 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43174 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43175 all-gas: maybe-all-libiberty
43177 all-stage1-gas: maybe-all-stage1-libiberty
43178 all-stage2-gas: maybe-all-stage2-libiberty
43179 all-stage3-gas: maybe-all-stage3-libiberty
43180 all-stage4-gas: maybe-all-stage4-libiberty
43181 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43182 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43183 all-gas: maybe-all-opcodes
43185 all-stage1-gas: maybe-all-stage1-opcodes
43186 all-stage2-gas: maybe-all-stage2-opcodes
43187 all-stage3-gas: maybe-all-stage3-opcodes
43188 all-stage4-gas: maybe-all-stage4-opcodes
43189 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43190 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43191 all-gas: maybe-all-bfd
43193 all-stage1-gas: maybe-all-stage1-bfd
43194 all-stage2-gas: maybe-all-stage2-bfd
43195 all-stage3-gas: maybe-all-stage3-bfd
43196 all-stage4-gas: maybe-all-stage4-bfd
43197 all-stageprofile-gas: maybe-all-stageprofile-bfd
43198 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43199 all-gas: maybe-all-intl
43201 all-stage1-gas: maybe-all-stage1-intl
43202 all-stage2-gas: maybe-all-stage2-intl
43203 all-stage3-gas: maybe-all-stage3-intl
43204 all-stage4-gas: maybe-all-stage4-intl
43205 all-stageprofile-gas: maybe-all-stageprofile-intl
43206 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43207 configure-gprof: maybe-configure-intl
43208 all-gprof: maybe-all-libiberty
43209 all-gprof: maybe-all-bfd
43210 all-gprof: maybe-all-opcodes
43211 all-gprof: maybe-all-intl
43212 configure-ld: maybe-configure-intl
43214 configure-stage1-ld: maybe-configure-stage1-intl
43215 configure-stage2-ld: maybe-configure-stage2-intl
43216 configure-stage3-ld: maybe-configure-stage3-intl
43217 configure-stage4-ld: maybe-configure-stage4-intl
43218 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43219 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43220 all-ld: maybe-all-libiberty
43222 all-stage1-ld: maybe-all-stage1-libiberty
43223 all-stage2-ld: maybe-all-stage2-libiberty
43224 all-stage3-ld: maybe-all-stage3-libiberty
43225 all-stage4-ld: maybe-all-stage4-libiberty
43226 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43227 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43228 all-ld: maybe-all-bfd
43230 all-stage1-ld: maybe-all-stage1-bfd
43231 all-stage2-ld: maybe-all-stage2-bfd
43232 all-stage3-ld: maybe-all-stage3-bfd
43233 all-stage4-ld: maybe-all-stage4-bfd
43234 all-stageprofile-ld: maybe-all-stageprofile-bfd
43235 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43236 all-ld: maybe-all-opcodes
43238 all-stage1-ld: maybe-all-stage1-opcodes
43239 all-stage2-ld: maybe-all-stage2-opcodes
43240 all-stage3-ld: maybe-all-stage3-opcodes
43241 all-stage4-ld: maybe-all-stage4-opcodes
43242 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43243 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43244 all-ld: maybe-all-build-bison
43246 all-stage1-ld: maybe-all-build-bison
43247 all-stage2-ld: maybe-all-build-bison
43248 all-stage3-ld: maybe-all-build-bison
43249 all-stage4-ld: maybe-all-build-bison
43250 all-stageprofile-ld: maybe-all-build-bison
43251 all-stagefeedback-ld: maybe-all-build-bison
43252 all-ld: maybe-all-build-flex
43254 all-stage1-ld: maybe-all-build-flex
43255 all-stage2-ld: maybe-all-build-flex
43256 all-stage3-ld: maybe-all-build-flex
43257 all-stage4-ld: maybe-all-build-flex
43258 all-stageprofile-ld: maybe-all-build-flex
43259 all-stagefeedback-ld: maybe-all-build-flex
43260 all-ld: maybe-all-intl
43262 all-stage1-ld: maybe-all-stage1-intl
43263 all-stage2-ld: maybe-all-stage2-intl
43264 all-stage3-ld: maybe-all-stage3-intl
43265 all-stage4-ld: maybe-all-stage4-intl
43266 all-stageprofile-ld: maybe-all-stageprofile-intl
43267 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43268 install-ld: maybe-install-gold
43269 install-strip-ld: maybe-install-strip-gold
43270 configure-gold: maybe-configure-intl
43272 configure-stage1-gold: maybe-configure-stage1-intl
43273 configure-stage2-gold: maybe-configure-stage2-intl
43274 configure-stage3-gold: maybe-configure-stage3-intl
43275 configure-stage4-gold: maybe-configure-stage4-intl
43276 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43277 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43278 all-gold: maybe-all-libiberty
43280 all-stage1-gold: maybe-all-stage1-libiberty
43281 all-stage2-gold: maybe-all-stage2-libiberty
43282 all-stage3-gold: maybe-all-stage3-libiberty
43283 all-stage4-gold: maybe-all-stage4-libiberty
43284 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43285 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43286 all-gold: maybe-all-intl
43288 all-stage1-gold: maybe-all-stage1-intl
43289 all-stage2-gold: maybe-all-stage2-intl
43290 all-stage3-gold: maybe-all-stage3-intl
43291 all-stage4-gold: maybe-all-stage4-intl
43292 all-stageprofile-gold: maybe-all-stageprofile-intl
43293 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43294 all-gold: maybe-all-bfd
43296 all-stage1-gold: maybe-all-stage1-bfd
43297 all-stage2-gold: maybe-all-stage2-bfd
43298 all-stage3-gold: maybe-all-stage3-bfd
43299 all-stage4-gold: maybe-all-stage4-bfd
43300 all-stageprofile-gold: maybe-all-stageprofile-bfd
43301 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43302 all-gold: maybe-all-build-bison
43304 all-stage1-gold: maybe-all-build-bison
43305 all-stage2-gold: maybe-all-build-bison
43306 all-stage3-gold: maybe-all-build-bison
43307 all-stage4-gold: maybe-all-build-bison
43308 all-stageprofile-gold: maybe-all-build-bison
43309 all-stagefeedback-gold: maybe-all-build-bison
43310 check-gold: maybe-all-binutils
43312 check-stage1-gold: maybe-all-stage1-binutils
43313 check-stage2-gold: maybe-all-stage2-binutils
43314 check-stage3-gold: maybe-all-stage3-binutils
43315 check-stage4-gold: maybe-all-stage4-binutils
43316 check-stageprofile-gold: maybe-all-stageprofile-binutils
43317 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43318 check-gold: maybe-all-gas
43320 check-stage1-gold: maybe-all-stage1-gas
43321 check-stage2-gold: maybe-all-stage2-gas
43322 check-stage3-gold: maybe-all-stage3-gas
43323 check-stage4-gold: maybe-all-stage4-gas
43324 check-stageprofile-gold: maybe-all-stageprofile-gas
43325 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43326 configure-opcodes: maybe-configure-intl
43328 configure-stage1-opcodes: maybe-configure-stage1-intl
43329 configure-stage2-opcodes: maybe-configure-stage2-intl
43330 configure-stage3-opcodes: maybe-configure-stage3-intl
43331 configure-stage4-opcodes: maybe-configure-stage4-intl
43332 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43333 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43334 all-opcodes: maybe-all-bfd
43336 all-stage1-opcodes: maybe-all-stage1-bfd
43337 all-stage2-opcodes: maybe-all-stage2-bfd
43338 all-stage3-opcodes: maybe-all-stage3-bfd
43339 all-stage4-opcodes: maybe-all-stage4-bfd
43340 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43341 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43342 all-opcodes: maybe-all-libiberty
43344 all-stage1-opcodes: maybe-all-stage1-libiberty
43345 all-stage2-opcodes: maybe-all-stage2-libiberty
43346 all-stage3-opcodes: maybe-all-stage3-libiberty
43347 all-stage4-opcodes: maybe-all-stage4-libiberty
43348 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43349 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43350 all-opcodes: maybe-all-intl
43352 all-stage1-opcodes: maybe-all-stage1-intl
43353 all-stage2-opcodes: maybe-all-stage2-intl
43354 all-stage3-opcodes: maybe-all-stage3-intl
43355 all-stage4-opcodes: maybe-all-stage4-intl
43356 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43357 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43358 all-dejagnu: maybe-all-tcl
43359 all-dejagnu: maybe-all-expect
43360 all-dejagnu: maybe-all-tk
43361 configure-expect: maybe-configure-tcl
43362 configure-expect: maybe-configure-tk
43363 all-expect: maybe-all-tcl
43364 all-expect: maybe-all-tk
43365 configure-itcl: maybe-configure-tcl
43366 configure-itcl: maybe-configure-tk
43367 all-itcl: maybe-all-tcl
43368 all-itcl: maybe-all-tk
43369 install-itcl: maybe-install-tcl
43370 install-strip-itcl: maybe-install-strip-tcl
43371 configure-tk: maybe-configure-tcl
43372 all-tk: maybe-all-tcl
43373 all-sid: maybe-all-libiberty
43374 all-sid: maybe-all-bfd
43375 all-sid: maybe-all-opcodes
43376 all-sid: maybe-all-tcl
43377 all-sid: maybe-all-tk
43378 install-sid: maybe-install-tcl
43379 install-strip-sid: maybe-install-strip-tcl
43380 install-sid: maybe-install-tk
43381 install-strip-sid: maybe-install-strip-tk
43382 configure-sim: maybe-configure-intl
43383 all-sim: maybe-all-intl
43384 all-sim: maybe-all-libiberty
43385 all-sim: maybe-all-bfd
43386 all-sim: maybe-all-opcodes
43387 all-sim: maybe-all-readline
43388 all-sim: maybe-configure-gdb
43389 all-fastjar: maybe-all-zlib
43390 all-fastjar: maybe-all-build-texinfo
43391 all-fastjar: maybe-all-libiberty
43392 all-bison: maybe-all-intl
43393 all-bison: maybe-all-build-texinfo
43394 all-flex: maybe-all-build-bison
43395 all-flex: maybe-all-intl
43396 all-flex: maybe-all-m4
43397 all-flex: maybe-all-build-texinfo
43398 all-m4: maybe-all-intl
43399 all-m4: maybe-all-build-texinfo
43400 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43401 configure-target-fastjar: maybe-configure-target-zlib
43402 all-target-fastjar: maybe-all-target-zlib
43403 all-target-fastjar: maybe-all-target-libiberty
43404 configure-target-libgo: maybe-configure-target-libffi
43405 configure-target-libgo: maybe-all-target-libstdc++-v3
43406 all-target-libgo: maybe-all-target-libffi
43407 configure-target-libjava: maybe-configure-target-zlib
43408 configure-target-libjava: maybe-configure-target-boehm-gc
43409 configure-target-libjava: maybe-configure-target-libffi
43410 all-target-libjava: maybe-all-fastjar
43411 all-target-libjava: maybe-all-target-zlib
43412 all-target-libjava: maybe-all-target-boehm-gc
43413 all-target-libjava: maybe-all-target-libffi
43414 configure-target-libobjc: maybe-configure-target-boehm-gc
43415 all-target-libobjc: maybe-all-target-libiberty
43416 all-target-libobjc: maybe-all-target-boehm-gc
43417 all-target-libstdc++-v3: maybe-all-target-libiberty
43418 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43420 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43421 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43422 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43423 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43424 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43425 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43426 all-target-libstdc++-v3: maybe-configure-target-libgomp
43428 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43429 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43430 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43431 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43432 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43433 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43434 all-target-libgloss: maybe-all-target-newlib
43435 all-target-winsup: maybe-all-target-libiberty
43436 all-target-winsup: maybe-all-target-libtermcap
43437 configure-target-libiberty: maybe-all-binutils
43438 configure-target-libiberty: maybe-all-ld
43439 configure-target-newlib: maybe-all-binutils
43440 configure-target-newlib: maybe-all-ld
43441 configure-target-libgfortran: maybe-all-target-libquadmath
43444 # Dependencies for target modules on other target modules are
43445 # described by lang_env_dependencies; the defaults apply to anything
43446 # not mentioned there.
43449 @if gcc-bootstrap
43450 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43451 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43452 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43453 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43454 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43455 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43456 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43457 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43458 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43459 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43460 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43461 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43462 @endif gcc-bootstrap
43464 @if gcc-no-bootstrap
43465 configure-target-libstdc++-v3: maybe-all-target-libgcc
43466 configure-target-libmudflap: maybe-all-target-libgcc
43467 configure-target-libssp: maybe-all-target-libgcc
43468 configure-target-newlib: maybe-all-target-libgcc
43469 configure-target-libquadmath: maybe-all-target-libgcc
43470 configure-target-libgfortran: maybe-all-target-libgcc
43471 configure-target-libobjc: maybe-all-target-libgcc
43472 configure-target-libgo: maybe-all-target-libgcc
43473 configure-target-libtermcap: maybe-all-target-libgcc
43474 configure-target-winsup: maybe-all-target-libgcc
43475 configure-target-libgloss: maybe-all-target-libgcc
43476 configure-target-libiberty: maybe-all-target-libgcc
43477 configure-target-libffi: maybe-all-target-libgcc
43478 configure-target-libjava: maybe-all-target-libgcc
43479 configure-target-zlib: maybe-all-target-libgcc
43480 configure-target-boehm-gc: maybe-all-target-libgcc
43481 configure-target-rda: maybe-all-target-libgcc
43482 configure-target-libada: maybe-all-target-libgcc
43483 configure-target-libgomp: maybe-all-target-libgcc
43484 @endif gcc-no-bootstrap
43487 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43489 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43491 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43495 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43497 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43499 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43501 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43503 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43505 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43509 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43511 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43512 configure-target-libjava: maybe-all-target-libstdc++-v3
43514 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43516 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43518 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43520 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43522 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
43525 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43526 GDB_TK = @GDB_TK@
43527 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43528 configure-gdb: $(CONFIGURE_GDB_TK)
43529 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43530 install-gdb: $(INSTALL_GDB_TK)
43532 # Serialization dependencies. Host configures don't work well in parallel to
43533 # each other, due to contention over config.cache. Target configures and
43534 # build configures are similar.
43535 @serialization_dependencies@
43537 # --------------------------------
43538 # Regenerating top level configury
43539 # --------------------------------
43541 # Rebuilding Makefile.in, using autogen.
43542 AUTOGEN = autogen
43543 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43544 cd $(srcdir) && $(AUTOGEN) Makefile.def
43546 # Rebuilding Makefile.
43547 Makefile: $(srcdir)/Makefile.in config.status
43548 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43550 config.status: configure
43551 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43553 # Rebuilding configure.
43554 AUTOCONF = autoconf
43555 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
43556 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
43557 cd $(srcdir) && $(AUTOCONF)
43559 # ------------------------------
43560 # Special directives to GNU Make
43561 # ------------------------------
43563 # Don't pass command-line variables to submakes.
43564 .NOEXPORT:
43565 MAKEOVERRIDES=
43567 # end of Makefile.in