* config/mcore/mcore.md (cbranchsi4): Remove mode from
[official-gcc.git] / Makefile.in
blob0d2566681757938ec13102d95a83cbf096678371
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_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 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 -I$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
247 export CXX; \
248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
249 @endif target-libstdc++-v3-bootstrap
251 # Similar, for later GCC stages.
252 POSTSTAGE1_HOST_EXPORTS = \
253 $(HOST_EXPORTS) \
254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
258 $(POSTSTAGE1_CXX_EXPORT) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLINC = @islinc@
315 # Where to find CLOOG
316 HOST_CLOOGLIBS = @clooglibs@
317 HOST_CLOOGINC = @clooginc@
319 # Where to find libelf
320 HOST_LIBELFLIBS = @libelflibs@
321 HOST_LIBELFINC = @libelfinc@
323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
329 SHELL = @SHELL@
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
340 # environment.
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
365 BOOT_CFLAGS= -g -O2
366 BOOT_LDFLAGS=
367 BOOT_ADAFLAGS=-gnatpg -gnata
369 AWK = @AWK@
370 SED = @SED@
371 BISON = @BISON@
372 YACC = @YACC@
373 FLEX = @FLEX@
374 LEX = @LEX@
375 M4 = @M4@
376 MAKEINFO = @MAKEINFO@
377 EXPECT = @EXPECT@
378 RUNTEST = @RUNTEST@
380 # This just becomes part of the MAKEINFO definition passed down to
381 # sub-makes. It lets flags be given on the command line while still
382 # using the makeinfo from the object tree.
383 # (Default to avoid splitting info files by setting the threshold high.)
384 MAKEINFOFLAGS = --split-size=5000000
386 # ---------------------------------------------
387 # Programs producing files for the HOST machine
388 # ---------------------------------------------
390 AS = @AS@
391 AR = @AR@
392 AR_FLAGS = rc
393 CC = @CC@
394 CXX = @CXX@
395 DLLTOOL = @DLLTOOL@
396 LD = @LD@
397 LIPO = @LIPO@
398 NM = @NM@
399 OBJDUMP = @OBJDUMP@
400 RANLIB = @RANLIB@
401 READELF = @READELF@
402 STRIP = @STRIP@
403 WINDRES = @WINDRES@
404 WINDMC = @WINDMC@
406 GNATBIND = @GNATBIND@
407 GNATMAKE = @GNATMAKE@
409 CFLAGS = @CFLAGS@
410 LDFLAGS = @LDFLAGS@
411 LIBCFLAGS = $(CFLAGS)
412 CXXFLAGS = @CXXFLAGS@
413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
414 GOCFLAGS = $(CFLAGS)
416 TFLAGS =
418 # Defaults for all stages; some are overridden below.
420 STAGE_CFLAGS = $(BOOT_CFLAGS)
421 STAGE_TFLAGS = $(TFLAGS)
422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 # Defaults for stage 1; some are overridden below.
426 STAGE1_CFLAGS = $(STAGE_CFLAGS)
427 STAGE1_CXXFLAGS = $(CXXFLAGS)
428 @if target-libstdc++-v3-bootstrap
429 # Override the above if we're bootstrapping C++.
430 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
431 @endif target-libstdc++-v3-bootstrap
432 STAGE1_TFLAGS = $(STAGE_TFLAGS)
433 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
435 # Defaults for stage 2; some are overridden below.
436 STAGE2_CFLAGS = $(STAGE_CFLAGS)
437 STAGE2_CXXFLAGS = $(CXXFLAGS)
438 @if target-libstdc++-v3-bootstrap
439 # Override the above if we're bootstrapping C++.
440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
441 @endif target-libstdc++-v3-bootstrap
442 STAGE2_TFLAGS = $(STAGE_TFLAGS)
443 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
445 # Defaults for stage 3; some are overridden below.
446 STAGE3_CFLAGS = $(STAGE_CFLAGS)
447 STAGE3_CXXFLAGS = $(CXXFLAGS)
448 @if target-libstdc++-v3-bootstrap
449 # Override the above if we're bootstrapping C++.
450 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
451 @endif target-libstdc++-v3-bootstrap
452 STAGE3_TFLAGS = $(STAGE_TFLAGS)
453 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
455 # Defaults for stage 4; some are overridden below.
456 STAGE4_CFLAGS = $(STAGE_CFLAGS)
457 STAGE4_CXXFLAGS = $(CXXFLAGS)
458 @if target-libstdc++-v3-bootstrap
459 # Override the above if we're bootstrapping C++.
460 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
461 @endif target-libstdc++-v3-bootstrap
462 STAGE4_TFLAGS = $(STAGE_TFLAGS)
463 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
465 # Defaults for stage profile; some are overridden below.
466 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
467 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
468 @if target-libstdc++-v3-bootstrap
469 # Override the above if we're bootstrapping C++.
470 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
471 @endif target-libstdc++-v3-bootstrap
472 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
473 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
475 # Defaults for stage feedback; some are overridden below.
476 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
477 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
478 @if target-libstdc++-v3-bootstrap
479 # Override the above if we're bootstrapping C++.
480 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
481 @endif target-libstdc++-v3-bootstrap
482 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
483 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
486 # Only build the C compiler for stage1, because that is the only one that
487 # we can guarantee will build with the native compiler, and also it is the
488 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
489 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
490 # overrideable (for a bootstrap build stage1 also builds gcc.info).
492 STAGE1_CFLAGS = @stage1_cflags@
493 STAGE1_CHECKING = @stage1_checking@
494 STAGE1_LANGUAGES = @stage1_languages@
495 # * We force-disable intermodule optimizations, even if
496 # --enable-intermodule was passed, since the installed compiler
497 # probably can't handle them. Luckily, autoconf always respects
498 # the last argument when conflicting --enable arguments are passed.
499 # * Likewise, we force-disable coverage flags, since the installed
500 # compiler probably has never heard of them.
501 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
502 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
504 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
505 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
507 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
508 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
510 do-compare = @do_compare@
511 do-compare3 = $(do-compare)
513 # -----------------------------------------------
514 # Programs producing files for the TARGET machine
515 # -----------------------------------------------
517 AR_FOR_TARGET=@AR_FOR_TARGET@
518 AS_FOR_TARGET=@AS_FOR_TARGET@
519 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
521 # If GCC_FOR_TARGET is not overriden on the command line, then this
522 # variable is passed down to the gcc Makefile, where it is used to
523 # build libgcc2.a. We define it here so that it can itself be
524 # overridden on the command line.
525 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
526 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
527 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
528 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
529 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
530 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
531 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
532 LD_FOR_TARGET=@LD_FOR_TARGET@
534 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
535 NM_FOR_TARGET=@NM_FOR_TARGET@
536 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
537 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
538 READELF_FOR_TARGET=@READELF_FOR_TARGET@
539 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
540 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
541 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
543 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
544 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
545 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
547 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
548 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
550 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
551 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
552 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
553 GOCFLAGS_FOR_TARGET = -O2 -g
555 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
556 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
557 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
559 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
561 # ------------------------------------
562 # Miscellaneous targets and flag lists
563 # ------------------------------------
565 # The first rule in the file had better be this one. Don't put any above it.
566 # This lives here to allow makefile fragments to contain dependencies.
567 all:
569 #### host and target specific makefile fragments come in here.
570 @target_makefile_frag@
571 @alphaieee_frag@
572 @ospace_frag@
573 @host_makefile_frag@
576 # This is the list of directories that may be needed in RPATH_ENVVAR
577 # so that programs built for the target machine work.
578 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
580 @if target-libstdc++-v3
581 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
582 @endif target-libstdc++-v3
584 @if target-libmudflap
585 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
586 @endif target-libmudflap
588 @if target-libssp
589 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
590 @endif target-libssp
592 @if target-libgomp
593 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
594 @endif target-libgomp
596 @if target-libitm
597 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
598 @endif target-libitm
600 @if target-libatomic
601 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
602 @endif target-libatomic
606 # This is the list of directories that may be needed in RPATH_ENVVAR
607 # so that programs built for the host machine work.
608 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_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
610 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
611 @if gcc
612 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
613 @endif gcc
616 @if bfd
617 HOST_LIB_PATH_bfd = \
618 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
619 @endif bfd
621 @if opcodes
622 HOST_LIB_PATH_opcodes = \
623 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
624 @endif opcodes
626 @if gmp
627 HOST_LIB_PATH_gmp = \
628 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
629 @endif gmp
631 @if mpfr
632 HOST_LIB_PATH_mpfr = \
633 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
634 @endif mpfr
636 @if mpc
637 HOST_LIB_PATH_mpc = \
638 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
639 @endif mpc
641 @if isl
642 HOST_LIB_PATH_isl = \
643 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
644 @endif isl
646 @if cloog
647 HOST_LIB_PATH_cloog = \
648 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
649 @endif cloog
651 @if libelf
652 HOST_LIB_PATH_libelf = \
653 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
654 @endif libelf
657 CXX_FOR_TARGET_FLAG_TO_PASS = \
658 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
659 @if target-libstdc++-v3
660 # CXX_FOR_TARGET is tricky to get right for target libs that require a
661 # functional C++ compiler. When we recurse, if we expand
662 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
663 # libstdc++ include flags from the script. Instead, we get an
664 # -funconfigured-* word, so that we'll get errors if this invalid C++
665 # command line is used for anything, but also so that we can use the
666 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
667 # don't pass it on, sub-make will use the default definition, that
668 # re-expands it at the time of use, so we'll get it right when we need
669 # it. One potential exception is the expansion of CXX_FOR_TARGET
670 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
671 # really work, for C++ host programs can't depend on the current-stage
672 # C++ target library.
673 CXX_FOR_TARGET_FLAG_TO_PASS = \
674 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
675 @endif target-libstdc++-v3
677 # Flags to pass down to all sub-makes.
678 BASE_FLAGS_TO_PASS = \
679 "DESTDIR=$(DESTDIR)" \
680 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
681 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
682 "bindir=$(bindir)" \
683 "datadir=$(datadir)" \
684 "exec_prefix=$(exec_prefix)" \
685 "includedir=$(includedir)" \
686 "datarootdir=$(datarootdir)" \
687 "docdir=$(docdir)" \
688 "infodir=$(infodir)" \
689 "pdfdir=$(pdfdir)" \
690 "htmldir=$(htmldir)" \
691 "libdir=$(libdir)" \
692 "libexecdir=$(libexecdir)" \
693 "lispdir=$(lispdir)" \
694 "localstatedir=$(localstatedir)" \
695 "mandir=$(mandir)" \
696 "oldincludedir=$(oldincludedir)" \
697 "prefix=$(prefix)" \
698 "sbindir=$(sbindir)" \
699 "sharedstatedir=$(sharedstatedir)" \
700 "sysconfdir=$(sysconfdir)" \
701 "tooldir=$(tooldir)" \
702 "build_tooldir=$(build_tooldir)" \
703 "target_alias=$(target_alias)" \
704 "AWK=$(AWK)" \
705 "BISON=$(BISON)" \
706 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
707 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
708 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
709 "EXPECT=$(EXPECT)" \
710 "FLEX=$(FLEX)" \
711 "INSTALL=$(INSTALL)" \
712 "INSTALL_DATA=$(INSTALL_DATA)" \
713 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
714 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
715 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
716 "LEX=$(LEX)" \
717 "M4=$(M4)" \
718 "MAKE=$(MAKE)" \
719 "RUNTEST=$(RUNTEST)" \
720 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
721 "SED=$(SED)" \
722 "SHELL=$(SHELL)" \
723 "YACC=$(YACC)" \
724 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
725 "ADA_CFLAGS=$(ADA_CFLAGS)" \
726 "AR_FLAGS=$(AR_FLAGS)" \
727 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
728 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
729 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
730 "CFLAGS=$(CFLAGS)" \
731 "CXXFLAGS=$(CXXFLAGS)" \
732 "LDFLAGS=$(LDFLAGS)" \
733 "LIBCFLAGS=$(LIBCFLAGS)" \
734 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
735 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
736 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
737 "GNATBIND=$(GNATBIND)" \
738 "GNATMAKE=$(GNATMAKE)" \
739 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
740 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
741 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
742 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
743 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
744 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
745 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
746 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
747 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
748 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
749 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
750 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
751 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
752 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
753 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
754 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
755 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
756 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
757 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
758 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
759 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
760 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
761 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
762 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
763 "BUILD_CONFIG=$(BUILD_CONFIG)" \
764 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
765 "LEAN=$(LEAN)" \
766 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
767 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
768 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
769 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
770 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
771 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
772 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
773 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
774 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
775 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
776 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
777 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
778 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
779 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
780 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
781 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
782 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
783 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
784 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
785 "TFLAGS=$(TFLAGS)" \
786 "CONFIG_SHELL=$(SHELL)" \
787 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
789 # We leave this in just in case, but it is not needed anymore.
790 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
792 # Flags to pass down to most sub-makes, in which we're building with
793 # the host environment.
794 EXTRA_HOST_FLAGS = \
795 'AR=$(AR)' \
796 'AS=$(AS)' \
797 'CC=$(CC)' \
798 'CXX=$(CXX)' \
799 'DLLTOOL=$(DLLTOOL)' \
800 'GCJ=$(GCJ)' \
801 'GFORTRAN=$(GFORTRAN)' \
802 'GOC=$(GOC)' \
803 'LD=$(LD)' \
804 'LIPO=$(LIPO)' \
805 'NM=$(NM)' \
806 'OBJDUMP=$(OBJDUMP)' \
807 'RANLIB=$(RANLIB)' \
808 'READELF=$(READELF)' \
809 'STRIP=$(STRIP)' \
810 'WINDRES=$(WINDRES)' \
811 'WINDMC=$(WINDMC)'
813 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
815 # Flags to pass to stage2 and later makes.
817 POSTSTAGE1_FLAGS_TO_PASS = \
818 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
819 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
820 GNATBIND="$${GNATBIND}" \
821 LDFLAGS="$${LDFLAGS}" \
822 HOST_LIBS="$${HOST_LIBS}" \
823 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
825 # Flags to pass down to makes which are built with the target environment.
826 # The double $ decreases the length of the command line; those variables
827 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
828 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
829 # so we expand them here.
830 EXTRA_TARGET_FLAGS = \
831 'AR=$$(AR_FOR_TARGET)' \
832 'AS=$(COMPILER_AS_FOR_TARGET)' \
833 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
834 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
835 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
837 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
838 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
842 'LD=$(COMPILER_LD_FOR_TARGET)' \
843 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
844 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
845 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
846 'NM=$(COMPILER_NM_FOR_TARGET)' \
847 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
848 'RANLIB=$$(RANLIB_FOR_TARGET)' \
849 'READELF=$$(READELF_FOR_TARGET)' \
850 'WINDRES=$$(WINDRES_FOR_TARGET)' \
851 'WINDMC=$$(WINDMC_FOR_TARGET)' \
852 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
853 "TFLAGS=$$TFLAGS"
855 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
857 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
858 # unfortunately needs the native compiler and the target ar and
859 # ranlib.
860 # If any variables are added here, they must be added to do-*, below.
861 # The BUILD_* variables are a special case, which are used for the gcc
862 # cross-building scheme.
863 EXTRA_GCC_FLAGS = \
864 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
865 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
866 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
868 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
870 @if gcc
871 BUILD_CONFIG = @BUILD_CONFIG@
872 ifneq ($(BUILD_CONFIG),)
873 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
874 endif
875 @endif gcc
877 .PHONY: configure-host
878 configure-host: \
879 maybe-configure-bfd \
880 maybe-configure-opcodes \
881 maybe-configure-binutils \
882 maybe-configure-bison \
883 maybe-configure-cgen \
884 maybe-configure-dejagnu \
885 maybe-configure-etc \
886 maybe-configure-fastjar \
887 maybe-configure-fixincludes \
888 maybe-configure-flex \
889 maybe-configure-gas \
890 maybe-configure-gcc \
891 maybe-configure-gmp \
892 maybe-configure-mpfr \
893 maybe-configure-mpc \
894 maybe-configure-isl \
895 maybe-configure-cloog \
896 maybe-configure-libelf \
897 maybe-configure-gold \
898 maybe-configure-gprof \
899 maybe-configure-intl \
900 maybe-configure-tcl \
901 maybe-configure-itcl \
902 maybe-configure-ld \
903 maybe-configure-libcpp \
904 maybe-configure-libdecnumber \
905 maybe-configure-libgui \
906 maybe-configure-libiberty \
907 maybe-configure-libiconv \
908 maybe-configure-m4 \
909 maybe-configure-readline \
910 maybe-configure-sid \
911 maybe-configure-sim \
912 maybe-configure-texinfo \
913 maybe-configure-zlib \
914 maybe-configure-gdb \
915 maybe-configure-expect \
916 maybe-configure-guile \
917 maybe-configure-tk \
918 maybe-configure-libtermcap \
919 maybe-configure-utils \
920 maybe-configure-gnattools \
921 maybe-configure-lto-plugin
922 .PHONY: configure-target
923 configure-target: \
924 maybe-configure-target-libstdc++-v3 \
925 maybe-configure-target-libmudflap \
926 maybe-configure-target-libssp \
927 maybe-configure-target-newlib \
928 maybe-configure-target-libgcc \
929 maybe-configure-target-libquadmath \
930 maybe-configure-target-libgfortran \
931 maybe-configure-target-libobjc \
932 maybe-configure-target-libgo \
933 maybe-configure-target-libtermcap \
934 maybe-configure-target-winsup \
935 maybe-configure-target-libgloss \
936 maybe-configure-target-libffi \
937 maybe-configure-target-libjava \
938 maybe-configure-target-zlib \
939 maybe-configure-target-boehm-gc \
940 maybe-configure-target-rda \
941 maybe-configure-target-libada \
942 maybe-configure-target-libgomp \
943 maybe-configure-target-libitm \
944 maybe-configure-target-libatomic
946 # The target built for a native non-bootstrap build.
947 .PHONY: all
948 all:
949 @if gcc-bootstrap
950 [ -f stage_final ] || echo stage3 > stage_final
951 @r=`${PWD_COMMAND}`; export r; \
952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
953 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
954 @endif gcc-bootstrap
955 @: $(MAKE); $(unstage)
956 @r=`${PWD_COMMAND}`; export r; \
957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
958 @if gcc-bootstrap
959 if [ -f stage_last ]; then \
960 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
961 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
962 else \
963 @endif gcc-bootstrap
964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
965 @if gcc-bootstrap
967 fi \
968 @endif gcc-bootstrap
969 && :
971 .PHONY: all-build
973 all-build: maybe-all-build-libiberty
974 all-build: maybe-all-build-bison
975 all-build: maybe-all-build-flex
976 all-build: maybe-all-build-m4
977 all-build: maybe-all-build-texinfo
978 all-build: maybe-all-build-fixincludes
980 .PHONY: all-host
982 @if bfd-no-bootstrap
983 all-host: maybe-all-bfd
984 @endif bfd-no-bootstrap
985 @if opcodes-no-bootstrap
986 all-host: maybe-all-opcodes
987 @endif opcodes-no-bootstrap
988 @if binutils-no-bootstrap
989 all-host: maybe-all-binutils
990 @endif binutils-no-bootstrap
991 all-host: maybe-all-bison
992 all-host: maybe-all-cgen
993 all-host: maybe-all-dejagnu
994 all-host: maybe-all-etc
995 all-host: maybe-all-fastjar
996 all-host: maybe-all-fixincludes
997 all-host: maybe-all-flex
998 @if gas-no-bootstrap
999 all-host: maybe-all-gas
1000 @endif gas-no-bootstrap
1001 @if gcc-no-bootstrap
1002 all-host: maybe-all-gcc
1003 @endif gcc-no-bootstrap
1004 @if gmp-no-bootstrap
1005 all-host: maybe-all-gmp
1006 @endif gmp-no-bootstrap
1007 @if mpfr-no-bootstrap
1008 all-host: maybe-all-mpfr
1009 @endif mpfr-no-bootstrap
1010 @if mpc-no-bootstrap
1011 all-host: maybe-all-mpc
1012 @endif mpc-no-bootstrap
1013 @if isl-no-bootstrap
1014 all-host: maybe-all-isl
1015 @endif isl-no-bootstrap
1016 @if cloog-no-bootstrap
1017 all-host: maybe-all-cloog
1018 @endif cloog-no-bootstrap
1019 @if libelf-no-bootstrap
1020 all-host: maybe-all-libelf
1021 @endif libelf-no-bootstrap
1022 @if gold-no-bootstrap
1023 all-host: maybe-all-gold
1024 @endif gold-no-bootstrap
1025 all-host: maybe-all-gprof
1026 @if intl-no-bootstrap
1027 all-host: maybe-all-intl
1028 @endif intl-no-bootstrap
1029 all-host: maybe-all-tcl
1030 all-host: maybe-all-itcl
1031 @if ld-no-bootstrap
1032 all-host: maybe-all-ld
1033 @endif ld-no-bootstrap
1034 @if libcpp-no-bootstrap
1035 all-host: maybe-all-libcpp
1036 @endif libcpp-no-bootstrap
1037 @if libdecnumber-no-bootstrap
1038 all-host: maybe-all-libdecnumber
1039 @endif libdecnumber-no-bootstrap
1040 all-host: maybe-all-libgui
1041 @if libiberty-no-bootstrap
1042 all-host: maybe-all-libiberty
1043 @endif libiberty-no-bootstrap
1044 all-host: maybe-all-libiconv
1045 all-host: maybe-all-m4
1046 all-host: maybe-all-readline
1047 all-host: maybe-all-sid
1048 all-host: maybe-all-sim
1049 all-host: maybe-all-texinfo
1050 @if zlib-no-bootstrap
1051 all-host: maybe-all-zlib
1052 @endif zlib-no-bootstrap
1053 all-host: maybe-all-gdb
1054 all-host: maybe-all-expect
1055 all-host: maybe-all-guile
1056 all-host: maybe-all-tk
1057 all-host: maybe-all-libtermcap
1058 all-host: maybe-all-utils
1059 all-host: maybe-all-gnattools
1060 @if lto-plugin-no-bootstrap
1061 all-host: maybe-all-lto-plugin
1062 @endif lto-plugin-no-bootstrap
1064 .PHONY: all-target
1066 @if target-libstdc++-v3-no-bootstrap
1067 all-target: maybe-all-target-libstdc++-v3
1068 @endif target-libstdc++-v3-no-bootstrap
1069 all-target: maybe-all-target-libmudflap
1070 all-target: maybe-all-target-libssp
1071 all-target: maybe-all-target-newlib
1072 @if target-libgcc-no-bootstrap
1073 all-target: maybe-all-target-libgcc
1074 @endif target-libgcc-no-bootstrap
1075 all-target: maybe-all-target-libquadmath
1076 all-target: maybe-all-target-libgfortran
1077 all-target: maybe-all-target-libobjc
1078 all-target: maybe-all-target-libgo
1079 all-target: maybe-all-target-libtermcap
1080 all-target: maybe-all-target-winsup
1081 all-target: maybe-all-target-libgloss
1082 all-target: maybe-all-target-libffi
1083 all-target: maybe-all-target-libjava
1084 all-target: maybe-all-target-zlib
1085 all-target: maybe-all-target-boehm-gc
1086 all-target: maybe-all-target-rda
1087 all-target: maybe-all-target-libada
1088 @if target-libgomp-no-bootstrap
1089 all-target: maybe-all-target-libgomp
1090 @endif target-libgomp-no-bootstrap
1091 all-target: maybe-all-target-libitm
1092 all-target: maybe-all-target-libatomic
1094 # Do a target for all the subdirectories. A ``make do-X'' will do a
1095 # ``make X'' in all subdirectories (because, in general, there is a
1096 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1097 # but it may do additional work as well).
1099 .PHONY: do-info
1100 do-info:
1101 @: $(MAKE); $(unstage)
1102 @r=`${PWD_COMMAND}`; export r; \
1103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1104 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1105 info-target
1108 .PHONY: info-host
1110 info-host: maybe-info-bfd
1111 info-host: maybe-info-opcodes
1112 info-host: maybe-info-binutils
1113 info-host: maybe-info-bison
1114 info-host: maybe-info-cgen
1115 info-host: maybe-info-dejagnu
1116 info-host: maybe-info-etc
1117 info-host: maybe-info-fastjar
1118 info-host: maybe-info-fixincludes
1119 info-host: maybe-info-flex
1120 info-host: maybe-info-gas
1121 info-host: maybe-info-gcc
1122 info-host: maybe-info-gmp
1123 info-host: maybe-info-mpfr
1124 info-host: maybe-info-mpc
1125 info-host: maybe-info-isl
1126 info-host: maybe-info-cloog
1127 info-host: maybe-info-libelf
1128 info-host: maybe-info-gold
1129 info-host: maybe-info-gprof
1130 info-host: maybe-info-intl
1131 info-host: maybe-info-tcl
1132 info-host: maybe-info-itcl
1133 info-host: maybe-info-ld
1134 info-host: maybe-info-libcpp
1135 info-host: maybe-info-libdecnumber
1136 info-host: maybe-info-libgui
1137 info-host: maybe-info-libiberty
1138 info-host: maybe-info-libiconv
1139 info-host: maybe-info-m4
1140 info-host: maybe-info-readline
1141 info-host: maybe-info-sid
1142 info-host: maybe-info-sim
1143 info-host: maybe-info-texinfo
1144 info-host: maybe-info-zlib
1145 info-host: maybe-info-gdb
1146 info-host: maybe-info-expect
1147 info-host: maybe-info-guile
1148 info-host: maybe-info-tk
1149 info-host: maybe-info-libtermcap
1150 info-host: maybe-info-utils
1151 info-host: maybe-info-gnattools
1152 info-host: maybe-info-lto-plugin
1154 .PHONY: info-target
1156 info-target: maybe-info-target-libstdc++-v3
1157 info-target: maybe-info-target-libmudflap
1158 info-target: maybe-info-target-libssp
1159 info-target: maybe-info-target-newlib
1160 info-target: maybe-info-target-libgcc
1161 info-target: maybe-info-target-libquadmath
1162 info-target: maybe-info-target-libgfortran
1163 info-target: maybe-info-target-libobjc
1164 info-target: maybe-info-target-libgo
1165 info-target: maybe-info-target-libtermcap
1166 info-target: maybe-info-target-winsup
1167 info-target: maybe-info-target-libgloss
1168 info-target: maybe-info-target-libffi
1169 info-target: maybe-info-target-libjava
1170 info-target: maybe-info-target-zlib
1171 info-target: maybe-info-target-boehm-gc
1172 info-target: maybe-info-target-rda
1173 info-target: maybe-info-target-libada
1174 info-target: maybe-info-target-libgomp
1175 info-target: maybe-info-target-libitm
1176 info-target: maybe-info-target-libatomic
1178 .PHONY: do-dvi
1179 do-dvi:
1180 @: $(MAKE); $(unstage)
1181 @r=`${PWD_COMMAND}`; export r; \
1182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1183 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1184 dvi-target
1187 .PHONY: dvi-host
1189 dvi-host: maybe-dvi-bfd
1190 dvi-host: maybe-dvi-opcodes
1191 dvi-host: maybe-dvi-binutils
1192 dvi-host: maybe-dvi-bison
1193 dvi-host: maybe-dvi-cgen
1194 dvi-host: maybe-dvi-dejagnu
1195 dvi-host: maybe-dvi-etc
1196 dvi-host: maybe-dvi-fastjar
1197 dvi-host: maybe-dvi-fixincludes
1198 dvi-host: maybe-dvi-flex
1199 dvi-host: maybe-dvi-gas
1200 dvi-host: maybe-dvi-gcc
1201 dvi-host: maybe-dvi-gmp
1202 dvi-host: maybe-dvi-mpfr
1203 dvi-host: maybe-dvi-mpc
1204 dvi-host: maybe-dvi-isl
1205 dvi-host: maybe-dvi-cloog
1206 dvi-host: maybe-dvi-libelf
1207 dvi-host: maybe-dvi-gold
1208 dvi-host: maybe-dvi-gprof
1209 dvi-host: maybe-dvi-intl
1210 dvi-host: maybe-dvi-tcl
1211 dvi-host: maybe-dvi-itcl
1212 dvi-host: maybe-dvi-ld
1213 dvi-host: maybe-dvi-libcpp
1214 dvi-host: maybe-dvi-libdecnumber
1215 dvi-host: maybe-dvi-libgui
1216 dvi-host: maybe-dvi-libiberty
1217 dvi-host: maybe-dvi-libiconv
1218 dvi-host: maybe-dvi-m4
1219 dvi-host: maybe-dvi-readline
1220 dvi-host: maybe-dvi-sid
1221 dvi-host: maybe-dvi-sim
1222 dvi-host: maybe-dvi-texinfo
1223 dvi-host: maybe-dvi-zlib
1224 dvi-host: maybe-dvi-gdb
1225 dvi-host: maybe-dvi-expect
1226 dvi-host: maybe-dvi-guile
1227 dvi-host: maybe-dvi-tk
1228 dvi-host: maybe-dvi-libtermcap
1229 dvi-host: maybe-dvi-utils
1230 dvi-host: maybe-dvi-gnattools
1231 dvi-host: maybe-dvi-lto-plugin
1233 .PHONY: dvi-target
1235 dvi-target: maybe-dvi-target-libstdc++-v3
1236 dvi-target: maybe-dvi-target-libmudflap
1237 dvi-target: maybe-dvi-target-libssp
1238 dvi-target: maybe-dvi-target-newlib
1239 dvi-target: maybe-dvi-target-libgcc
1240 dvi-target: maybe-dvi-target-libquadmath
1241 dvi-target: maybe-dvi-target-libgfortran
1242 dvi-target: maybe-dvi-target-libobjc
1243 dvi-target: maybe-dvi-target-libgo
1244 dvi-target: maybe-dvi-target-libtermcap
1245 dvi-target: maybe-dvi-target-winsup
1246 dvi-target: maybe-dvi-target-libgloss
1247 dvi-target: maybe-dvi-target-libffi
1248 dvi-target: maybe-dvi-target-libjava
1249 dvi-target: maybe-dvi-target-zlib
1250 dvi-target: maybe-dvi-target-boehm-gc
1251 dvi-target: maybe-dvi-target-rda
1252 dvi-target: maybe-dvi-target-libada
1253 dvi-target: maybe-dvi-target-libgomp
1254 dvi-target: maybe-dvi-target-libitm
1255 dvi-target: maybe-dvi-target-libatomic
1257 .PHONY: do-pdf
1258 do-pdf:
1259 @: $(MAKE); $(unstage)
1260 @r=`${PWD_COMMAND}`; export r; \
1261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1262 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1263 pdf-target
1266 .PHONY: pdf-host
1268 pdf-host: maybe-pdf-bfd
1269 pdf-host: maybe-pdf-opcodes
1270 pdf-host: maybe-pdf-binutils
1271 pdf-host: maybe-pdf-bison
1272 pdf-host: maybe-pdf-cgen
1273 pdf-host: maybe-pdf-dejagnu
1274 pdf-host: maybe-pdf-etc
1275 pdf-host: maybe-pdf-fastjar
1276 pdf-host: maybe-pdf-fixincludes
1277 pdf-host: maybe-pdf-flex
1278 pdf-host: maybe-pdf-gas
1279 pdf-host: maybe-pdf-gcc
1280 pdf-host: maybe-pdf-gmp
1281 pdf-host: maybe-pdf-mpfr
1282 pdf-host: maybe-pdf-mpc
1283 pdf-host: maybe-pdf-isl
1284 pdf-host: maybe-pdf-cloog
1285 pdf-host: maybe-pdf-libelf
1286 pdf-host: maybe-pdf-gold
1287 pdf-host: maybe-pdf-gprof
1288 pdf-host: maybe-pdf-intl
1289 pdf-host: maybe-pdf-tcl
1290 pdf-host: maybe-pdf-itcl
1291 pdf-host: maybe-pdf-ld
1292 pdf-host: maybe-pdf-libcpp
1293 pdf-host: maybe-pdf-libdecnumber
1294 pdf-host: maybe-pdf-libgui
1295 pdf-host: maybe-pdf-libiberty
1296 pdf-host: maybe-pdf-libiconv
1297 pdf-host: maybe-pdf-m4
1298 pdf-host: maybe-pdf-readline
1299 pdf-host: maybe-pdf-sid
1300 pdf-host: maybe-pdf-sim
1301 pdf-host: maybe-pdf-texinfo
1302 pdf-host: maybe-pdf-zlib
1303 pdf-host: maybe-pdf-gdb
1304 pdf-host: maybe-pdf-expect
1305 pdf-host: maybe-pdf-guile
1306 pdf-host: maybe-pdf-tk
1307 pdf-host: maybe-pdf-libtermcap
1308 pdf-host: maybe-pdf-utils
1309 pdf-host: maybe-pdf-gnattools
1310 pdf-host: maybe-pdf-lto-plugin
1312 .PHONY: pdf-target
1314 pdf-target: maybe-pdf-target-libstdc++-v3
1315 pdf-target: maybe-pdf-target-libmudflap
1316 pdf-target: maybe-pdf-target-libssp
1317 pdf-target: maybe-pdf-target-newlib
1318 pdf-target: maybe-pdf-target-libgcc
1319 pdf-target: maybe-pdf-target-libquadmath
1320 pdf-target: maybe-pdf-target-libgfortran
1321 pdf-target: maybe-pdf-target-libobjc
1322 pdf-target: maybe-pdf-target-libgo
1323 pdf-target: maybe-pdf-target-libtermcap
1324 pdf-target: maybe-pdf-target-winsup
1325 pdf-target: maybe-pdf-target-libgloss
1326 pdf-target: maybe-pdf-target-libffi
1327 pdf-target: maybe-pdf-target-libjava
1328 pdf-target: maybe-pdf-target-zlib
1329 pdf-target: maybe-pdf-target-boehm-gc
1330 pdf-target: maybe-pdf-target-rda
1331 pdf-target: maybe-pdf-target-libada
1332 pdf-target: maybe-pdf-target-libgomp
1333 pdf-target: maybe-pdf-target-libitm
1334 pdf-target: maybe-pdf-target-libatomic
1336 .PHONY: do-html
1337 do-html:
1338 @: $(MAKE); $(unstage)
1339 @r=`${PWD_COMMAND}`; export r; \
1340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1341 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1342 html-target
1345 .PHONY: html-host
1347 html-host: maybe-html-bfd
1348 html-host: maybe-html-opcodes
1349 html-host: maybe-html-binutils
1350 html-host: maybe-html-bison
1351 html-host: maybe-html-cgen
1352 html-host: maybe-html-dejagnu
1353 html-host: maybe-html-etc
1354 html-host: maybe-html-fastjar
1355 html-host: maybe-html-fixincludes
1356 html-host: maybe-html-flex
1357 html-host: maybe-html-gas
1358 html-host: maybe-html-gcc
1359 html-host: maybe-html-gmp
1360 html-host: maybe-html-mpfr
1361 html-host: maybe-html-mpc
1362 html-host: maybe-html-isl
1363 html-host: maybe-html-cloog
1364 html-host: maybe-html-libelf
1365 html-host: maybe-html-gold
1366 html-host: maybe-html-gprof
1367 html-host: maybe-html-intl
1368 html-host: maybe-html-tcl
1369 html-host: maybe-html-itcl
1370 html-host: maybe-html-ld
1371 html-host: maybe-html-libcpp
1372 html-host: maybe-html-libdecnumber
1373 html-host: maybe-html-libgui
1374 html-host: maybe-html-libiberty
1375 html-host: maybe-html-libiconv
1376 html-host: maybe-html-m4
1377 html-host: maybe-html-readline
1378 html-host: maybe-html-sid
1379 html-host: maybe-html-sim
1380 html-host: maybe-html-texinfo
1381 html-host: maybe-html-zlib
1382 html-host: maybe-html-gdb
1383 html-host: maybe-html-expect
1384 html-host: maybe-html-guile
1385 html-host: maybe-html-tk
1386 html-host: maybe-html-libtermcap
1387 html-host: maybe-html-utils
1388 html-host: maybe-html-gnattools
1389 html-host: maybe-html-lto-plugin
1391 .PHONY: html-target
1393 html-target: maybe-html-target-libstdc++-v3
1394 html-target: maybe-html-target-libmudflap
1395 html-target: maybe-html-target-libssp
1396 html-target: maybe-html-target-newlib
1397 html-target: maybe-html-target-libgcc
1398 html-target: maybe-html-target-libquadmath
1399 html-target: maybe-html-target-libgfortran
1400 html-target: maybe-html-target-libobjc
1401 html-target: maybe-html-target-libgo
1402 html-target: maybe-html-target-libtermcap
1403 html-target: maybe-html-target-winsup
1404 html-target: maybe-html-target-libgloss
1405 html-target: maybe-html-target-libffi
1406 html-target: maybe-html-target-libjava
1407 html-target: maybe-html-target-zlib
1408 html-target: maybe-html-target-boehm-gc
1409 html-target: maybe-html-target-rda
1410 html-target: maybe-html-target-libada
1411 html-target: maybe-html-target-libgomp
1412 html-target: maybe-html-target-libitm
1413 html-target: maybe-html-target-libatomic
1415 .PHONY: do-TAGS
1416 do-TAGS:
1417 @: $(MAKE); $(unstage)
1418 @r=`${PWD_COMMAND}`; export r; \
1419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1420 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1421 TAGS-target
1424 .PHONY: TAGS-host
1426 TAGS-host: maybe-TAGS-bfd
1427 TAGS-host: maybe-TAGS-opcodes
1428 TAGS-host: maybe-TAGS-binutils
1429 TAGS-host: maybe-TAGS-bison
1430 TAGS-host: maybe-TAGS-cgen
1431 TAGS-host: maybe-TAGS-dejagnu
1432 TAGS-host: maybe-TAGS-etc
1433 TAGS-host: maybe-TAGS-fastjar
1434 TAGS-host: maybe-TAGS-fixincludes
1435 TAGS-host: maybe-TAGS-flex
1436 TAGS-host: maybe-TAGS-gas
1437 TAGS-host: maybe-TAGS-gcc
1438 TAGS-host: maybe-TAGS-gmp
1439 TAGS-host: maybe-TAGS-mpfr
1440 TAGS-host: maybe-TAGS-mpc
1441 TAGS-host: maybe-TAGS-isl
1442 TAGS-host: maybe-TAGS-cloog
1443 TAGS-host: maybe-TAGS-libelf
1444 TAGS-host: maybe-TAGS-gold
1445 TAGS-host: maybe-TAGS-gprof
1446 TAGS-host: maybe-TAGS-intl
1447 TAGS-host: maybe-TAGS-tcl
1448 TAGS-host: maybe-TAGS-itcl
1449 TAGS-host: maybe-TAGS-ld
1450 TAGS-host: maybe-TAGS-libcpp
1451 TAGS-host: maybe-TAGS-libdecnumber
1452 TAGS-host: maybe-TAGS-libgui
1453 TAGS-host: maybe-TAGS-libiberty
1454 TAGS-host: maybe-TAGS-libiconv
1455 TAGS-host: maybe-TAGS-m4
1456 TAGS-host: maybe-TAGS-readline
1457 TAGS-host: maybe-TAGS-sid
1458 TAGS-host: maybe-TAGS-sim
1459 TAGS-host: maybe-TAGS-texinfo
1460 TAGS-host: maybe-TAGS-zlib
1461 TAGS-host: maybe-TAGS-gdb
1462 TAGS-host: maybe-TAGS-expect
1463 TAGS-host: maybe-TAGS-guile
1464 TAGS-host: maybe-TAGS-tk
1465 TAGS-host: maybe-TAGS-libtermcap
1466 TAGS-host: maybe-TAGS-utils
1467 TAGS-host: maybe-TAGS-gnattools
1468 TAGS-host: maybe-TAGS-lto-plugin
1470 .PHONY: TAGS-target
1472 TAGS-target: maybe-TAGS-target-libstdc++-v3
1473 TAGS-target: maybe-TAGS-target-libmudflap
1474 TAGS-target: maybe-TAGS-target-libssp
1475 TAGS-target: maybe-TAGS-target-newlib
1476 TAGS-target: maybe-TAGS-target-libgcc
1477 TAGS-target: maybe-TAGS-target-libquadmath
1478 TAGS-target: maybe-TAGS-target-libgfortran
1479 TAGS-target: maybe-TAGS-target-libobjc
1480 TAGS-target: maybe-TAGS-target-libgo
1481 TAGS-target: maybe-TAGS-target-libtermcap
1482 TAGS-target: maybe-TAGS-target-winsup
1483 TAGS-target: maybe-TAGS-target-libgloss
1484 TAGS-target: maybe-TAGS-target-libffi
1485 TAGS-target: maybe-TAGS-target-libjava
1486 TAGS-target: maybe-TAGS-target-zlib
1487 TAGS-target: maybe-TAGS-target-boehm-gc
1488 TAGS-target: maybe-TAGS-target-rda
1489 TAGS-target: maybe-TAGS-target-libada
1490 TAGS-target: maybe-TAGS-target-libgomp
1491 TAGS-target: maybe-TAGS-target-libitm
1492 TAGS-target: maybe-TAGS-target-libatomic
1494 .PHONY: do-install-info
1495 do-install-info:
1496 @: $(MAKE); $(unstage)
1497 @r=`${PWD_COMMAND}`; export r; \
1498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1499 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1500 install-info-target
1503 .PHONY: install-info-host
1505 install-info-host: maybe-install-info-bfd
1506 install-info-host: maybe-install-info-opcodes
1507 install-info-host: maybe-install-info-binutils
1508 install-info-host: maybe-install-info-bison
1509 install-info-host: maybe-install-info-cgen
1510 install-info-host: maybe-install-info-dejagnu
1511 install-info-host: maybe-install-info-etc
1512 install-info-host: maybe-install-info-fastjar
1513 install-info-host: maybe-install-info-fixincludes
1514 install-info-host: maybe-install-info-flex
1515 install-info-host: maybe-install-info-gas
1516 install-info-host: maybe-install-info-gcc
1517 install-info-host: maybe-install-info-gmp
1518 install-info-host: maybe-install-info-mpfr
1519 install-info-host: maybe-install-info-mpc
1520 install-info-host: maybe-install-info-isl
1521 install-info-host: maybe-install-info-cloog
1522 install-info-host: maybe-install-info-libelf
1523 install-info-host: maybe-install-info-gold
1524 install-info-host: maybe-install-info-gprof
1525 install-info-host: maybe-install-info-intl
1526 install-info-host: maybe-install-info-tcl
1527 install-info-host: maybe-install-info-itcl
1528 install-info-host: maybe-install-info-ld
1529 install-info-host: maybe-install-info-libcpp
1530 install-info-host: maybe-install-info-libdecnumber
1531 install-info-host: maybe-install-info-libgui
1532 install-info-host: maybe-install-info-libiberty
1533 install-info-host: maybe-install-info-libiconv
1534 install-info-host: maybe-install-info-m4
1535 install-info-host: maybe-install-info-readline
1536 install-info-host: maybe-install-info-sid
1537 install-info-host: maybe-install-info-sim
1538 install-info-host: maybe-install-info-texinfo
1539 install-info-host: maybe-install-info-zlib
1540 install-info-host: maybe-install-info-gdb
1541 install-info-host: maybe-install-info-expect
1542 install-info-host: maybe-install-info-guile
1543 install-info-host: maybe-install-info-tk
1544 install-info-host: maybe-install-info-libtermcap
1545 install-info-host: maybe-install-info-utils
1546 install-info-host: maybe-install-info-gnattools
1547 install-info-host: maybe-install-info-lto-plugin
1549 .PHONY: install-info-target
1551 install-info-target: maybe-install-info-target-libstdc++-v3
1552 install-info-target: maybe-install-info-target-libmudflap
1553 install-info-target: maybe-install-info-target-libssp
1554 install-info-target: maybe-install-info-target-newlib
1555 install-info-target: maybe-install-info-target-libgcc
1556 install-info-target: maybe-install-info-target-libquadmath
1557 install-info-target: maybe-install-info-target-libgfortran
1558 install-info-target: maybe-install-info-target-libobjc
1559 install-info-target: maybe-install-info-target-libgo
1560 install-info-target: maybe-install-info-target-libtermcap
1561 install-info-target: maybe-install-info-target-winsup
1562 install-info-target: maybe-install-info-target-libgloss
1563 install-info-target: maybe-install-info-target-libffi
1564 install-info-target: maybe-install-info-target-libjava
1565 install-info-target: maybe-install-info-target-zlib
1566 install-info-target: maybe-install-info-target-boehm-gc
1567 install-info-target: maybe-install-info-target-rda
1568 install-info-target: maybe-install-info-target-libada
1569 install-info-target: maybe-install-info-target-libgomp
1570 install-info-target: maybe-install-info-target-libitm
1571 install-info-target: maybe-install-info-target-libatomic
1573 .PHONY: do-install-pdf
1574 do-install-pdf:
1575 @: $(MAKE); $(unstage)
1576 @r=`${PWD_COMMAND}`; export r; \
1577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1578 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1579 install-pdf-target
1582 .PHONY: install-pdf-host
1584 install-pdf-host: maybe-install-pdf-bfd
1585 install-pdf-host: maybe-install-pdf-opcodes
1586 install-pdf-host: maybe-install-pdf-binutils
1587 install-pdf-host: maybe-install-pdf-bison
1588 install-pdf-host: maybe-install-pdf-cgen
1589 install-pdf-host: maybe-install-pdf-dejagnu
1590 install-pdf-host: maybe-install-pdf-etc
1591 install-pdf-host: maybe-install-pdf-fastjar
1592 install-pdf-host: maybe-install-pdf-fixincludes
1593 install-pdf-host: maybe-install-pdf-flex
1594 install-pdf-host: maybe-install-pdf-gas
1595 install-pdf-host: maybe-install-pdf-gcc
1596 install-pdf-host: maybe-install-pdf-gmp
1597 install-pdf-host: maybe-install-pdf-mpfr
1598 install-pdf-host: maybe-install-pdf-mpc
1599 install-pdf-host: maybe-install-pdf-isl
1600 install-pdf-host: maybe-install-pdf-cloog
1601 install-pdf-host: maybe-install-pdf-libelf
1602 install-pdf-host: maybe-install-pdf-gold
1603 install-pdf-host: maybe-install-pdf-gprof
1604 install-pdf-host: maybe-install-pdf-intl
1605 install-pdf-host: maybe-install-pdf-tcl
1606 install-pdf-host: maybe-install-pdf-itcl
1607 install-pdf-host: maybe-install-pdf-ld
1608 install-pdf-host: maybe-install-pdf-libcpp
1609 install-pdf-host: maybe-install-pdf-libdecnumber
1610 install-pdf-host: maybe-install-pdf-libgui
1611 install-pdf-host: maybe-install-pdf-libiberty
1612 install-pdf-host: maybe-install-pdf-libiconv
1613 install-pdf-host: maybe-install-pdf-m4
1614 install-pdf-host: maybe-install-pdf-readline
1615 install-pdf-host: maybe-install-pdf-sid
1616 install-pdf-host: maybe-install-pdf-sim
1617 install-pdf-host: maybe-install-pdf-texinfo
1618 install-pdf-host: maybe-install-pdf-zlib
1619 install-pdf-host: maybe-install-pdf-gdb
1620 install-pdf-host: maybe-install-pdf-expect
1621 install-pdf-host: maybe-install-pdf-guile
1622 install-pdf-host: maybe-install-pdf-tk
1623 install-pdf-host: maybe-install-pdf-libtermcap
1624 install-pdf-host: maybe-install-pdf-utils
1625 install-pdf-host: maybe-install-pdf-gnattools
1626 install-pdf-host: maybe-install-pdf-lto-plugin
1628 .PHONY: install-pdf-target
1630 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1631 install-pdf-target: maybe-install-pdf-target-libmudflap
1632 install-pdf-target: maybe-install-pdf-target-libssp
1633 install-pdf-target: maybe-install-pdf-target-newlib
1634 install-pdf-target: maybe-install-pdf-target-libgcc
1635 install-pdf-target: maybe-install-pdf-target-libquadmath
1636 install-pdf-target: maybe-install-pdf-target-libgfortran
1637 install-pdf-target: maybe-install-pdf-target-libobjc
1638 install-pdf-target: maybe-install-pdf-target-libgo
1639 install-pdf-target: maybe-install-pdf-target-libtermcap
1640 install-pdf-target: maybe-install-pdf-target-winsup
1641 install-pdf-target: maybe-install-pdf-target-libgloss
1642 install-pdf-target: maybe-install-pdf-target-libffi
1643 install-pdf-target: maybe-install-pdf-target-libjava
1644 install-pdf-target: maybe-install-pdf-target-zlib
1645 install-pdf-target: maybe-install-pdf-target-boehm-gc
1646 install-pdf-target: maybe-install-pdf-target-rda
1647 install-pdf-target: maybe-install-pdf-target-libada
1648 install-pdf-target: maybe-install-pdf-target-libgomp
1649 install-pdf-target: maybe-install-pdf-target-libitm
1650 install-pdf-target: maybe-install-pdf-target-libatomic
1652 .PHONY: do-install-html
1653 do-install-html:
1654 @: $(MAKE); $(unstage)
1655 @r=`${PWD_COMMAND}`; export r; \
1656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1657 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1658 install-html-target
1661 .PHONY: install-html-host
1663 install-html-host: maybe-install-html-bfd
1664 install-html-host: maybe-install-html-opcodes
1665 install-html-host: maybe-install-html-binutils
1666 install-html-host: maybe-install-html-bison
1667 install-html-host: maybe-install-html-cgen
1668 install-html-host: maybe-install-html-dejagnu
1669 install-html-host: maybe-install-html-etc
1670 install-html-host: maybe-install-html-fastjar
1671 install-html-host: maybe-install-html-fixincludes
1672 install-html-host: maybe-install-html-flex
1673 install-html-host: maybe-install-html-gas
1674 install-html-host: maybe-install-html-gcc
1675 install-html-host: maybe-install-html-gmp
1676 install-html-host: maybe-install-html-mpfr
1677 install-html-host: maybe-install-html-mpc
1678 install-html-host: maybe-install-html-isl
1679 install-html-host: maybe-install-html-cloog
1680 install-html-host: maybe-install-html-libelf
1681 install-html-host: maybe-install-html-gold
1682 install-html-host: maybe-install-html-gprof
1683 install-html-host: maybe-install-html-intl
1684 install-html-host: maybe-install-html-tcl
1685 install-html-host: maybe-install-html-itcl
1686 install-html-host: maybe-install-html-ld
1687 install-html-host: maybe-install-html-libcpp
1688 install-html-host: maybe-install-html-libdecnumber
1689 install-html-host: maybe-install-html-libgui
1690 install-html-host: maybe-install-html-libiberty
1691 install-html-host: maybe-install-html-libiconv
1692 install-html-host: maybe-install-html-m4
1693 install-html-host: maybe-install-html-readline
1694 install-html-host: maybe-install-html-sid
1695 install-html-host: maybe-install-html-sim
1696 install-html-host: maybe-install-html-texinfo
1697 install-html-host: maybe-install-html-zlib
1698 install-html-host: maybe-install-html-gdb
1699 install-html-host: maybe-install-html-expect
1700 install-html-host: maybe-install-html-guile
1701 install-html-host: maybe-install-html-tk
1702 install-html-host: maybe-install-html-libtermcap
1703 install-html-host: maybe-install-html-utils
1704 install-html-host: maybe-install-html-gnattools
1705 install-html-host: maybe-install-html-lto-plugin
1707 .PHONY: install-html-target
1709 install-html-target: maybe-install-html-target-libstdc++-v3
1710 install-html-target: maybe-install-html-target-libmudflap
1711 install-html-target: maybe-install-html-target-libssp
1712 install-html-target: maybe-install-html-target-newlib
1713 install-html-target: maybe-install-html-target-libgcc
1714 install-html-target: maybe-install-html-target-libquadmath
1715 install-html-target: maybe-install-html-target-libgfortran
1716 install-html-target: maybe-install-html-target-libobjc
1717 install-html-target: maybe-install-html-target-libgo
1718 install-html-target: maybe-install-html-target-libtermcap
1719 install-html-target: maybe-install-html-target-winsup
1720 install-html-target: maybe-install-html-target-libgloss
1721 install-html-target: maybe-install-html-target-libffi
1722 install-html-target: maybe-install-html-target-libjava
1723 install-html-target: maybe-install-html-target-zlib
1724 install-html-target: maybe-install-html-target-boehm-gc
1725 install-html-target: maybe-install-html-target-rda
1726 install-html-target: maybe-install-html-target-libada
1727 install-html-target: maybe-install-html-target-libgomp
1728 install-html-target: maybe-install-html-target-libitm
1729 install-html-target: maybe-install-html-target-libatomic
1731 .PHONY: do-installcheck
1732 do-installcheck:
1733 @: $(MAKE); $(unstage)
1734 @r=`${PWD_COMMAND}`; export r; \
1735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1736 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1737 installcheck-target
1740 .PHONY: installcheck-host
1742 installcheck-host: maybe-installcheck-bfd
1743 installcheck-host: maybe-installcheck-opcodes
1744 installcheck-host: maybe-installcheck-binutils
1745 installcheck-host: maybe-installcheck-bison
1746 installcheck-host: maybe-installcheck-cgen
1747 installcheck-host: maybe-installcheck-dejagnu
1748 installcheck-host: maybe-installcheck-etc
1749 installcheck-host: maybe-installcheck-fastjar
1750 installcheck-host: maybe-installcheck-fixincludes
1751 installcheck-host: maybe-installcheck-flex
1752 installcheck-host: maybe-installcheck-gas
1753 installcheck-host: maybe-installcheck-gcc
1754 installcheck-host: maybe-installcheck-gmp
1755 installcheck-host: maybe-installcheck-mpfr
1756 installcheck-host: maybe-installcheck-mpc
1757 installcheck-host: maybe-installcheck-isl
1758 installcheck-host: maybe-installcheck-cloog
1759 installcheck-host: maybe-installcheck-libelf
1760 installcheck-host: maybe-installcheck-gold
1761 installcheck-host: maybe-installcheck-gprof
1762 installcheck-host: maybe-installcheck-intl
1763 installcheck-host: maybe-installcheck-tcl
1764 installcheck-host: maybe-installcheck-itcl
1765 installcheck-host: maybe-installcheck-ld
1766 installcheck-host: maybe-installcheck-libcpp
1767 installcheck-host: maybe-installcheck-libdecnumber
1768 installcheck-host: maybe-installcheck-libgui
1769 installcheck-host: maybe-installcheck-libiberty
1770 installcheck-host: maybe-installcheck-libiconv
1771 installcheck-host: maybe-installcheck-m4
1772 installcheck-host: maybe-installcheck-readline
1773 installcheck-host: maybe-installcheck-sid
1774 installcheck-host: maybe-installcheck-sim
1775 installcheck-host: maybe-installcheck-texinfo
1776 installcheck-host: maybe-installcheck-zlib
1777 installcheck-host: maybe-installcheck-gdb
1778 installcheck-host: maybe-installcheck-expect
1779 installcheck-host: maybe-installcheck-guile
1780 installcheck-host: maybe-installcheck-tk
1781 installcheck-host: maybe-installcheck-libtermcap
1782 installcheck-host: maybe-installcheck-utils
1783 installcheck-host: maybe-installcheck-gnattools
1784 installcheck-host: maybe-installcheck-lto-plugin
1786 .PHONY: installcheck-target
1788 installcheck-target: maybe-installcheck-target-libstdc++-v3
1789 installcheck-target: maybe-installcheck-target-libmudflap
1790 installcheck-target: maybe-installcheck-target-libssp
1791 installcheck-target: maybe-installcheck-target-newlib
1792 installcheck-target: maybe-installcheck-target-libgcc
1793 installcheck-target: maybe-installcheck-target-libquadmath
1794 installcheck-target: maybe-installcheck-target-libgfortran
1795 installcheck-target: maybe-installcheck-target-libobjc
1796 installcheck-target: maybe-installcheck-target-libgo
1797 installcheck-target: maybe-installcheck-target-libtermcap
1798 installcheck-target: maybe-installcheck-target-winsup
1799 installcheck-target: maybe-installcheck-target-libgloss
1800 installcheck-target: maybe-installcheck-target-libffi
1801 installcheck-target: maybe-installcheck-target-libjava
1802 installcheck-target: maybe-installcheck-target-zlib
1803 installcheck-target: maybe-installcheck-target-boehm-gc
1804 installcheck-target: maybe-installcheck-target-rda
1805 installcheck-target: maybe-installcheck-target-libada
1806 installcheck-target: maybe-installcheck-target-libgomp
1807 installcheck-target: maybe-installcheck-target-libitm
1808 installcheck-target: maybe-installcheck-target-libatomic
1810 .PHONY: do-mostlyclean
1811 do-mostlyclean:
1812 @: $(MAKE); $(unstage)
1813 @r=`${PWD_COMMAND}`; export r; \
1814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1816 mostlyclean-target
1819 .PHONY: mostlyclean-host
1821 mostlyclean-host: maybe-mostlyclean-bfd
1822 mostlyclean-host: maybe-mostlyclean-opcodes
1823 mostlyclean-host: maybe-mostlyclean-binutils
1824 mostlyclean-host: maybe-mostlyclean-bison
1825 mostlyclean-host: maybe-mostlyclean-cgen
1826 mostlyclean-host: maybe-mostlyclean-dejagnu
1827 mostlyclean-host: maybe-mostlyclean-etc
1828 mostlyclean-host: maybe-mostlyclean-fastjar
1829 mostlyclean-host: maybe-mostlyclean-fixincludes
1830 mostlyclean-host: maybe-mostlyclean-flex
1831 mostlyclean-host: maybe-mostlyclean-gas
1832 mostlyclean-host: maybe-mostlyclean-gcc
1833 mostlyclean-host: maybe-mostlyclean-gmp
1834 mostlyclean-host: maybe-mostlyclean-mpfr
1835 mostlyclean-host: maybe-mostlyclean-mpc
1836 mostlyclean-host: maybe-mostlyclean-isl
1837 mostlyclean-host: maybe-mostlyclean-cloog
1838 mostlyclean-host: maybe-mostlyclean-libelf
1839 mostlyclean-host: maybe-mostlyclean-gold
1840 mostlyclean-host: maybe-mostlyclean-gprof
1841 mostlyclean-host: maybe-mostlyclean-intl
1842 mostlyclean-host: maybe-mostlyclean-tcl
1843 mostlyclean-host: maybe-mostlyclean-itcl
1844 mostlyclean-host: maybe-mostlyclean-ld
1845 mostlyclean-host: maybe-mostlyclean-libcpp
1846 mostlyclean-host: maybe-mostlyclean-libdecnumber
1847 mostlyclean-host: maybe-mostlyclean-libgui
1848 mostlyclean-host: maybe-mostlyclean-libiberty
1849 mostlyclean-host: maybe-mostlyclean-libiconv
1850 mostlyclean-host: maybe-mostlyclean-m4
1851 mostlyclean-host: maybe-mostlyclean-readline
1852 mostlyclean-host: maybe-mostlyclean-sid
1853 mostlyclean-host: maybe-mostlyclean-sim
1854 mostlyclean-host: maybe-mostlyclean-texinfo
1855 mostlyclean-host: maybe-mostlyclean-zlib
1856 mostlyclean-host: maybe-mostlyclean-gdb
1857 mostlyclean-host: maybe-mostlyclean-expect
1858 mostlyclean-host: maybe-mostlyclean-guile
1859 mostlyclean-host: maybe-mostlyclean-tk
1860 mostlyclean-host: maybe-mostlyclean-libtermcap
1861 mostlyclean-host: maybe-mostlyclean-utils
1862 mostlyclean-host: maybe-mostlyclean-gnattools
1863 mostlyclean-host: maybe-mostlyclean-lto-plugin
1865 .PHONY: mostlyclean-target
1867 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1868 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1869 mostlyclean-target: maybe-mostlyclean-target-libssp
1870 mostlyclean-target: maybe-mostlyclean-target-newlib
1871 mostlyclean-target: maybe-mostlyclean-target-libgcc
1872 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1873 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1874 mostlyclean-target: maybe-mostlyclean-target-libobjc
1875 mostlyclean-target: maybe-mostlyclean-target-libgo
1876 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1877 mostlyclean-target: maybe-mostlyclean-target-winsup
1878 mostlyclean-target: maybe-mostlyclean-target-libgloss
1879 mostlyclean-target: maybe-mostlyclean-target-libffi
1880 mostlyclean-target: maybe-mostlyclean-target-libjava
1881 mostlyclean-target: maybe-mostlyclean-target-zlib
1882 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1883 mostlyclean-target: maybe-mostlyclean-target-rda
1884 mostlyclean-target: maybe-mostlyclean-target-libada
1885 mostlyclean-target: maybe-mostlyclean-target-libgomp
1886 mostlyclean-target: maybe-mostlyclean-target-libitm
1887 mostlyclean-target: maybe-mostlyclean-target-libatomic
1889 .PHONY: do-clean
1890 do-clean:
1891 @: $(MAKE); $(unstage)
1892 @r=`${PWD_COMMAND}`; export r; \
1893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1894 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1895 clean-target
1898 .PHONY: clean-host
1900 clean-host: maybe-clean-bfd
1901 clean-host: maybe-clean-opcodes
1902 clean-host: maybe-clean-binutils
1903 clean-host: maybe-clean-bison
1904 clean-host: maybe-clean-cgen
1905 clean-host: maybe-clean-dejagnu
1906 clean-host: maybe-clean-etc
1907 clean-host: maybe-clean-fastjar
1908 clean-host: maybe-clean-fixincludes
1909 clean-host: maybe-clean-flex
1910 clean-host: maybe-clean-gas
1911 clean-host: maybe-clean-gcc
1912 clean-host: maybe-clean-gmp
1913 clean-host: maybe-clean-mpfr
1914 clean-host: maybe-clean-mpc
1915 clean-host: maybe-clean-isl
1916 clean-host: maybe-clean-cloog
1917 clean-host: maybe-clean-libelf
1918 clean-host: maybe-clean-gold
1919 clean-host: maybe-clean-gprof
1920 clean-host: maybe-clean-intl
1921 clean-host: maybe-clean-tcl
1922 clean-host: maybe-clean-itcl
1923 clean-host: maybe-clean-ld
1924 clean-host: maybe-clean-libcpp
1925 clean-host: maybe-clean-libdecnumber
1926 clean-host: maybe-clean-libgui
1927 clean-host: maybe-clean-libiberty
1928 clean-host: maybe-clean-libiconv
1929 clean-host: maybe-clean-m4
1930 clean-host: maybe-clean-readline
1931 clean-host: maybe-clean-sid
1932 clean-host: maybe-clean-sim
1933 clean-host: maybe-clean-texinfo
1934 clean-host: maybe-clean-zlib
1935 clean-host: maybe-clean-gdb
1936 clean-host: maybe-clean-expect
1937 clean-host: maybe-clean-guile
1938 clean-host: maybe-clean-tk
1939 clean-host: maybe-clean-libtermcap
1940 clean-host: maybe-clean-utils
1941 clean-host: maybe-clean-gnattools
1942 clean-host: maybe-clean-lto-plugin
1944 .PHONY: clean-target
1946 clean-target: maybe-clean-target-libstdc++-v3
1947 clean-target: maybe-clean-target-libmudflap
1948 clean-target: maybe-clean-target-libssp
1949 clean-target: maybe-clean-target-newlib
1950 clean-target: maybe-clean-target-libgcc
1951 clean-target: maybe-clean-target-libquadmath
1952 clean-target: maybe-clean-target-libgfortran
1953 clean-target: maybe-clean-target-libobjc
1954 clean-target: maybe-clean-target-libgo
1955 clean-target: maybe-clean-target-libtermcap
1956 clean-target: maybe-clean-target-winsup
1957 clean-target: maybe-clean-target-libgloss
1958 clean-target: maybe-clean-target-libffi
1959 clean-target: maybe-clean-target-libjava
1960 clean-target: maybe-clean-target-zlib
1961 clean-target: maybe-clean-target-boehm-gc
1962 clean-target: maybe-clean-target-rda
1963 clean-target: maybe-clean-target-libada
1964 clean-target: maybe-clean-target-libgomp
1965 clean-target: maybe-clean-target-libitm
1966 clean-target: maybe-clean-target-libatomic
1968 .PHONY: do-distclean
1969 do-distclean:
1970 @: $(MAKE); $(unstage)
1971 @r=`${PWD_COMMAND}`; export r; \
1972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1974 distclean-target
1977 .PHONY: distclean-host
1979 distclean-host: maybe-distclean-bfd
1980 distclean-host: maybe-distclean-opcodes
1981 distclean-host: maybe-distclean-binutils
1982 distclean-host: maybe-distclean-bison
1983 distclean-host: maybe-distclean-cgen
1984 distclean-host: maybe-distclean-dejagnu
1985 distclean-host: maybe-distclean-etc
1986 distclean-host: maybe-distclean-fastjar
1987 distclean-host: maybe-distclean-fixincludes
1988 distclean-host: maybe-distclean-flex
1989 distclean-host: maybe-distclean-gas
1990 distclean-host: maybe-distclean-gcc
1991 distclean-host: maybe-distclean-gmp
1992 distclean-host: maybe-distclean-mpfr
1993 distclean-host: maybe-distclean-mpc
1994 distclean-host: maybe-distclean-isl
1995 distclean-host: maybe-distclean-cloog
1996 distclean-host: maybe-distclean-libelf
1997 distclean-host: maybe-distclean-gold
1998 distclean-host: maybe-distclean-gprof
1999 distclean-host: maybe-distclean-intl
2000 distclean-host: maybe-distclean-tcl
2001 distclean-host: maybe-distclean-itcl
2002 distclean-host: maybe-distclean-ld
2003 distclean-host: maybe-distclean-libcpp
2004 distclean-host: maybe-distclean-libdecnumber
2005 distclean-host: maybe-distclean-libgui
2006 distclean-host: maybe-distclean-libiberty
2007 distclean-host: maybe-distclean-libiconv
2008 distclean-host: maybe-distclean-m4
2009 distclean-host: maybe-distclean-readline
2010 distclean-host: maybe-distclean-sid
2011 distclean-host: maybe-distclean-sim
2012 distclean-host: maybe-distclean-texinfo
2013 distclean-host: maybe-distclean-zlib
2014 distclean-host: maybe-distclean-gdb
2015 distclean-host: maybe-distclean-expect
2016 distclean-host: maybe-distclean-guile
2017 distclean-host: maybe-distclean-tk
2018 distclean-host: maybe-distclean-libtermcap
2019 distclean-host: maybe-distclean-utils
2020 distclean-host: maybe-distclean-gnattools
2021 distclean-host: maybe-distclean-lto-plugin
2023 .PHONY: distclean-target
2025 distclean-target: maybe-distclean-target-libstdc++-v3
2026 distclean-target: maybe-distclean-target-libmudflap
2027 distclean-target: maybe-distclean-target-libssp
2028 distclean-target: maybe-distclean-target-newlib
2029 distclean-target: maybe-distclean-target-libgcc
2030 distclean-target: maybe-distclean-target-libquadmath
2031 distclean-target: maybe-distclean-target-libgfortran
2032 distclean-target: maybe-distclean-target-libobjc
2033 distclean-target: maybe-distclean-target-libgo
2034 distclean-target: maybe-distclean-target-libtermcap
2035 distclean-target: maybe-distclean-target-winsup
2036 distclean-target: maybe-distclean-target-libgloss
2037 distclean-target: maybe-distclean-target-libffi
2038 distclean-target: maybe-distclean-target-libjava
2039 distclean-target: maybe-distclean-target-zlib
2040 distclean-target: maybe-distclean-target-boehm-gc
2041 distclean-target: maybe-distclean-target-rda
2042 distclean-target: maybe-distclean-target-libada
2043 distclean-target: maybe-distclean-target-libgomp
2044 distclean-target: maybe-distclean-target-libitm
2045 distclean-target: maybe-distclean-target-libatomic
2047 .PHONY: do-maintainer-clean
2048 do-maintainer-clean:
2049 @: $(MAKE); $(unstage)
2050 @r=`${PWD_COMMAND}`; export r; \
2051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2052 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2053 maintainer-clean-target
2056 .PHONY: maintainer-clean-host
2058 maintainer-clean-host: maybe-maintainer-clean-bfd
2059 maintainer-clean-host: maybe-maintainer-clean-opcodes
2060 maintainer-clean-host: maybe-maintainer-clean-binutils
2061 maintainer-clean-host: maybe-maintainer-clean-bison
2062 maintainer-clean-host: maybe-maintainer-clean-cgen
2063 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2064 maintainer-clean-host: maybe-maintainer-clean-etc
2065 maintainer-clean-host: maybe-maintainer-clean-fastjar
2066 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2067 maintainer-clean-host: maybe-maintainer-clean-flex
2068 maintainer-clean-host: maybe-maintainer-clean-gas
2069 maintainer-clean-host: maybe-maintainer-clean-gcc
2070 maintainer-clean-host: maybe-maintainer-clean-gmp
2071 maintainer-clean-host: maybe-maintainer-clean-mpfr
2072 maintainer-clean-host: maybe-maintainer-clean-mpc
2073 maintainer-clean-host: maybe-maintainer-clean-isl
2074 maintainer-clean-host: maybe-maintainer-clean-cloog
2075 maintainer-clean-host: maybe-maintainer-clean-libelf
2076 maintainer-clean-host: maybe-maintainer-clean-gold
2077 maintainer-clean-host: maybe-maintainer-clean-gprof
2078 maintainer-clean-host: maybe-maintainer-clean-intl
2079 maintainer-clean-host: maybe-maintainer-clean-tcl
2080 maintainer-clean-host: maybe-maintainer-clean-itcl
2081 maintainer-clean-host: maybe-maintainer-clean-ld
2082 maintainer-clean-host: maybe-maintainer-clean-libcpp
2083 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2084 maintainer-clean-host: maybe-maintainer-clean-libgui
2085 maintainer-clean-host: maybe-maintainer-clean-libiberty
2086 maintainer-clean-host: maybe-maintainer-clean-libiconv
2087 maintainer-clean-host: maybe-maintainer-clean-m4
2088 maintainer-clean-host: maybe-maintainer-clean-readline
2089 maintainer-clean-host: maybe-maintainer-clean-sid
2090 maintainer-clean-host: maybe-maintainer-clean-sim
2091 maintainer-clean-host: maybe-maintainer-clean-texinfo
2092 maintainer-clean-host: maybe-maintainer-clean-zlib
2093 maintainer-clean-host: maybe-maintainer-clean-gdb
2094 maintainer-clean-host: maybe-maintainer-clean-expect
2095 maintainer-clean-host: maybe-maintainer-clean-guile
2096 maintainer-clean-host: maybe-maintainer-clean-tk
2097 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2098 maintainer-clean-host: maybe-maintainer-clean-utils
2099 maintainer-clean-host: maybe-maintainer-clean-gnattools
2100 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2102 .PHONY: maintainer-clean-target
2104 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2105 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2106 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2107 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2108 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2109 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2110 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2111 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2112 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2113 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2114 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2115 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2116 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2117 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2118 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2119 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2120 maintainer-clean-target: maybe-maintainer-clean-target-rda
2121 maintainer-clean-target: maybe-maintainer-clean-target-libada
2122 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2123 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2124 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2127 # Here are the targets which correspond to the do-X targets.
2129 .PHONY: info installcheck dvi pdf html
2130 .PHONY: install-info install-pdf install-html
2131 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2132 .PHONY: local-clean local-distclean local-maintainer-clean
2133 info: do-info
2134 installcheck: do-installcheck
2135 dvi: do-dvi
2136 pdf: do-pdf
2137 html: do-html
2139 # Make sure makeinfo is built before we do a `make info', if we're
2140 # in fact building texinfo.
2141 do-info: maybe-all-texinfo
2143 install-info: do-install-info dir.info
2144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2145 if [ -f dir.info ] ; then \
2146 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2147 else true ; fi
2149 install-pdf: do-install-pdf
2151 install-html: do-install-html
2153 local-clean:
2154 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2156 local-distclean:
2157 -rm -f Makefile config.status config.cache mh-frag mt-frag
2158 -rm -f maybedep.tmp serdep.tmp
2159 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2160 rm -rf $(TARGET_SUBDIR); \
2161 else true; fi
2162 -rm -rf $(BUILD_SUBDIR)
2163 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2164 rm -rf $(HOST_SUBDIR); \
2165 else true; fi
2166 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2167 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2168 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2169 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2170 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2171 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2173 local-maintainer-clean:
2174 @echo "This command is intended for maintainers to use;"
2175 @echo "it deletes files that may require special tools to rebuild."
2177 clean: do-clean local-clean
2178 mostlyclean: do-mostlyclean local-clean
2179 distclean: do-distclean local-clean local-distclean
2180 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2181 maintainer-clean: local-distclean
2182 realclean: maintainer-clean
2184 # Check target.
2186 .PHONY: check do-check
2187 check: do-check
2189 # Only include modules actually being configured and built.
2190 .PHONY: check-host
2191 check-host: \
2192 maybe-check-bfd \
2193 maybe-check-opcodes \
2194 maybe-check-binutils \
2195 maybe-check-bison \
2196 maybe-check-cgen \
2197 maybe-check-dejagnu \
2198 maybe-check-etc \
2199 maybe-check-fastjar \
2200 maybe-check-fixincludes \
2201 maybe-check-flex \
2202 maybe-check-gas \
2203 maybe-check-gcc \
2204 maybe-check-gmp \
2205 maybe-check-mpfr \
2206 maybe-check-mpc \
2207 maybe-check-isl \
2208 maybe-check-cloog \
2209 maybe-check-libelf \
2210 maybe-check-gold \
2211 maybe-check-gprof \
2212 maybe-check-intl \
2213 maybe-check-tcl \
2214 maybe-check-itcl \
2215 maybe-check-ld \
2216 maybe-check-libcpp \
2217 maybe-check-libdecnumber \
2218 maybe-check-libgui \
2219 maybe-check-libiberty \
2220 maybe-check-libiconv \
2221 maybe-check-m4 \
2222 maybe-check-readline \
2223 maybe-check-sid \
2224 maybe-check-sim \
2225 maybe-check-texinfo \
2226 maybe-check-zlib \
2227 maybe-check-gdb \
2228 maybe-check-expect \
2229 maybe-check-guile \
2230 maybe-check-tk \
2231 maybe-check-libtermcap \
2232 maybe-check-utils \
2233 maybe-check-gnattools \
2234 maybe-check-lto-plugin
2236 .PHONY: check-target
2237 check-target: \
2238 maybe-check-target-libstdc++-v3 \
2239 maybe-check-target-libmudflap \
2240 maybe-check-target-libssp \
2241 maybe-check-target-newlib \
2242 maybe-check-target-libgcc \
2243 maybe-check-target-libquadmath \
2244 maybe-check-target-libgfortran \
2245 maybe-check-target-libobjc \
2246 maybe-check-target-libgo \
2247 maybe-check-target-libtermcap \
2248 maybe-check-target-winsup \
2249 maybe-check-target-libgloss \
2250 maybe-check-target-libffi \
2251 maybe-check-target-libjava \
2252 maybe-check-target-zlib \
2253 maybe-check-target-boehm-gc \
2254 maybe-check-target-rda \
2255 maybe-check-target-libada \
2256 maybe-check-target-libgomp \
2257 maybe-check-target-libitm \
2258 maybe-check-target-libatomic
2260 do-check:
2261 @: $(MAKE); $(unstage)
2262 @r=`${PWD_COMMAND}`; export r; \
2263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2264 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2266 # Automated reporting of test results.
2268 warning.log: build.log
2269 $(srcdir)/contrib/warn_summary build.log > $@
2271 mail-report.log:
2272 if test x'$(BOOT_CFLAGS)' != x''; then \
2273 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2274 fi; \
2275 $(srcdir)/contrib/test_summary -t >$@
2276 chmod +x $@
2277 echo If you really want to send e-mail, run ./$@ now
2279 mail-report-with-warnings.log: warning.log
2280 if test x'$(BOOT_CFLAGS)' != x''; then \
2281 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2282 fi; \
2283 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2284 chmod +x $@
2285 echo If you really want to send e-mail, run ./$@ now
2287 # Installation targets.
2289 .PHONY: install uninstall
2290 install:
2291 @: $(MAKE); $(unstage)
2292 @r=`${PWD_COMMAND}`; export r; \
2293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2296 .PHONY: install-host-nogcc
2297 install-host-nogcc: \
2298 maybe-install-bfd \
2299 maybe-install-opcodes \
2300 maybe-install-binutils \
2301 maybe-install-bison \
2302 maybe-install-cgen \
2303 maybe-install-dejagnu \
2304 maybe-install-etc \
2305 maybe-install-fastjar \
2306 maybe-install-fixincludes \
2307 maybe-install-flex \
2308 maybe-install-gas \
2309 maybe-install-gmp \
2310 maybe-install-mpfr \
2311 maybe-install-mpc \
2312 maybe-install-isl \
2313 maybe-install-cloog \
2314 maybe-install-libelf \
2315 maybe-install-gold \
2316 maybe-install-gprof \
2317 maybe-install-intl \
2318 maybe-install-tcl \
2319 maybe-install-itcl \
2320 maybe-install-ld \
2321 maybe-install-libcpp \
2322 maybe-install-libdecnumber \
2323 maybe-install-libgui \
2324 maybe-install-libiberty \
2325 maybe-install-libiconv \
2326 maybe-install-m4 \
2327 maybe-install-readline \
2328 maybe-install-sid \
2329 maybe-install-sim \
2330 maybe-install-texinfo \
2331 maybe-install-zlib \
2332 maybe-install-gdb \
2333 maybe-install-expect \
2334 maybe-install-guile \
2335 maybe-install-tk \
2336 maybe-install-libtermcap \
2337 maybe-install-utils \
2338 maybe-install-gnattools \
2339 maybe-install-lto-plugin
2341 .PHONY: install-host
2342 install-host: \
2343 maybe-install-bfd \
2344 maybe-install-opcodes \
2345 maybe-install-binutils \
2346 maybe-install-bison \
2347 maybe-install-cgen \
2348 maybe-install-dejagnu \
2349 maybe-install-etc \
2350 maybe-install-fastjar \
2351 maybe-install-fixincludes \
2352 maybe-install-flex \
2353 maybe-install-gas \
2354 maybe-install-gcc \
2355 maybe-install-gmp \
2356 maybe-install-mpfr \
2357 maybe-install-mpc \
2358 maybe-install-isl \
2359 maybe-install-cloog \
2360 maybe-install-libelf \
2361 maybe-install-gold \
2362 maybe-install-gprof \
2363 maybe-install-intl \
2364 maybe-install-tcl \
2365 maybe-install-itcl \
2366 maybe-install-ld \
2367 maybe-install-libcpp \
2368 maybe-install-libdecnumber \
2369 maybe-install-libgui \
2370 maybe-install-libiberty \
2371 maybe-install-libiconv \
2372 maybe-install-m4 \
2373 maybe-install-readline \
2374 maybe-install-sid \
2375 maybe-install-sim \
2376 maybe-install-texinfo \
2377 maybe-install-zlib \
2378 maybe-install-gdb \
2379 maybe-install-expect \
2380 maybe-install-guile \
2381 maybe-install-tk \
2382 maybe-install-libtermcap \
2383 maybe-install-utils \
2384 maybe-install-gnattools \
2385 maybe-install-lto-plugin
2387 .PHONY: install-target
2388 install-target: \
2389 maybe-install-target-libstdc++-v3 \
2390 maybe-install-target-libmudflap \
2391 maybe-install-target-libssp \
2392 maybe-install-target-newlib \
2393 maybe-install-target-libgcc \
2394 maybe-install-target-libquadmath \
2395 maybe-install-target-libgfortran \
2396 maybe-install-target-libobjc \
2397 maybe-install-target-libgo \
2398 maybe-install-target-libtermcap \
2399 maybe-install-target-winsup \
2400 maybe-install-target-libgloss \
2401 maybe-install-target-libffi \
2402 maybe-install-target-libjava \
2403 maybe-install-target-zlib \
2404 maybe-install-target-boehm-gc \
2405 maybe-install-target-rda \
2406 maybe-install-target-libada \
2407 maybe-install-target-libgomp \
2408 maybe-install-target-libitm \
2409 maybe-install-target-libatomic
2411 uninstall:
2412 @echo "the uninstall target is not supported in this tree"
2414 .PHONY: install.all
2415 install.all: install-no-fixedincludes
2416 @if [ -f ./gcc/Makefile ] ; then \
2417 r=`${PWD_COMMAND}` ; export r ; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2419 $(HOST_EXPORTS) \
2420 (cd ./gcc && \
2421 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2422 else \
2423 true ; \
2426 # install-no-fixedincludes is used to allow the elaboration of binary packages
2427 # suitable for distribution, where we cannot include the fixed system header
2428 # files.
2429 .PHONY: install-no-fixedincludes
2430 install-no-fixedincludes: installdirs install-host-nogcc \
2431 install-target gcc-install-no-fixedincludes
2433 .PHONY: install-strip
2434 install-strip:
2435 @: $(MAKE); $(unstage)
2436 @r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2440 .PHONY: install-strip-host
2441 install-strip-host: \
2442 maybe-install-strip-bfd \
2443 maybe-install-strip-opcodes \
2444 maybe-install-strip-binutils \
2445 maybe-install-strip-bison \
2446 maybe-install-strip-cgen \
2447 maybe-install-strip-dejagnu \
2448 maybe-install-strip-etc \
2449 maybe-install-strip-fastjar \
2450 maybe-install-strip-fixincludes \
2451 maybe-install-strip-flex \
2452 maybe-install-strip-gas \
2453 maybe-install-strip-gcc \
2454 maybe-install-strip-gmp \
2455 maybe-install-strip-mpfr \
2456 maybe-install-strip-mpc \
2457 maybe-install-strip-isl \
2458 maybe-install-strip-cloog \
2459 maybe-install-strip-libelf \
2460 maybe-install-strip-gold \
2461 maybe-install-strip-gprof \
2462 maybe-install-strip-intl \
2463 maybe-install-strip-tcl \
2464 maybe-install-strip-itcl \
2465 maybe-install-strip-ld \
2466 maybe-install-strip-libcpp \
2467 maybe-install-strip-libdecnumber \
2468 maybe-install-strip-libgui \
2469 maybe-install-strip-libiberty \
2470 maybe-install-strip-libiconv \
2471 maybe-install-strip-m4 \
2472 maybe-install-strip-readline \
2473 maybe-install-strip-sid \
2474 maybe-install-strip-sim \
2475 maybe-install-strip-texinfo \
2476 maybe-install-strip-zlib \
2477 maybe-install-strip-gdb \
2478 maybe-install-strip-expect \
2479 maybe-install-strip-guile \
2480 maybe-install-strip-tk \
2481 maybe-install-strip-libtermcap \
2482 maybe-install-strip-utils \
2483 maybe-install-strip-gnattools \
2484 maybe-install-strip-lto-plugin
2486 .PHONY: install-strip-target
2487 install-strip-target: \
2488 maybe-install-strip-target-libstdc++-v3 \
2489 maybe-install-strip-target-libmudflap \
2490 maybe-install-strip-target-libssp \
2491 maybe-install-strip-target-newlib \
2492 maybe-install-strip-target-libgcc \
2493 maybe-install-strip-target-libquadmath \
2494 maybe-install-strip-target-libgfortran \
2495 maybe-install-strip-target-libobjc \
2496 maybe-install-strip-target-libgo \
2497 maybe-install-strip-target-libtermcap \
2498 maybe-install-strip-target-winsup \
2499 maybe-install-strip-target-libgloss \
2500 maybe-install-strip-target-libffi \
2501 maybe-install-strip-target-libjava \
2502 maybe-install-strip-target-zlib \
2503 maybe-install-strip-target-boehm-gc \
2504 maybe-install-strip-target-rda \
2505 maybe-install-strip-target-libada \
2506 maybe-install-strip-target-libgomp \
2507 maybe-install-strip-target-libitm \
2508 maybe-install-strip-target-libatomic
2511 ### other supporting targets
2513 MAKEDIRS= \
2514 $(DESTDIR)$(prefix) \
2515 $(DESTDIR)$(exec_prefix)
2516 .PHONY: installdirs
2517 installdirs: mkinstalldirs
2518 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2520 dir.info: do-install-info
2521 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2522 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2523 mv -f dir.info.new dir.info ; \
2524 else true ; \
2527 dist:
2528 @echo "Building a full distribution of this tree isn't done"
2529 @echo "via 'make dist'. Check out the etc/ subdirectory"
2531 etags tags: TAGS
2533 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2534 # ability to use several tags files at once, so there is probably no need
2535 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2536 # (if we felt like it) have this Makefile write a piece of elisp which
2537 # the user could load to tell emacs19 where all the TAGS files we just
2538 # built are.
2539 TAGS: do-TAGS
2541 # ------------------------------------
2542 # Macros for configure and all targets
2543 # ------------------------------------
2549 # --------------------------------------
2550 # Modules which run on the build machine
2551 # --------------------------------------
2554 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2555 maybe-configure-build-libiberty:
2556 @if gcc-bootstrap
2557 configure-build-libiberty: stage_current
2558 @endif gcc-bootstrap
2559 @if build-libiberty
2560 maybe-configure-build-libiberty: configure-build-libiberty
2561 configure-build-libiberty:
2562 @: $(MAKE); $(unstage)
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2566 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2567 $(BUILD_EXPORTS) \
2568 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2569 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2570 case $(srcdir) in \
2571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2572 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2574 esac; \
2575 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2576 libsrcdir="$$s/libiberty"; \
2577 rm -f no-such-file || : ; \
2578 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2579 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2580 --target=${target_alias} $${srcdiroption} \
2581 || exit 1
2582 @endif build-libiberty
2588 .PHONY: all-build-libiberty maybe-all-build-libiberty
2589 maybe-all-build-libiberty:
2590 @if gcc-bootstrap
2591 all-build-libiberty: stage_current
2592 @endif gcc-bootstrap
2593 @if build-libiberty
2594 TARGET-build-libiberty=all
2595 maybe-all-build-libiberty: all-build-libiberty
2596 all-build-libiberty: configure-build-libiberty
2597 @: $(MAKE); $(unstage)
2598 @r=`${PWD_COMMAND}`; export r; \
2599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2600 $(BUILD_EXPORTS) \
2601 (cd $(BUILD_SUBDIR)/libiberty && \
2602 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2603 $(TARGET-build-libiberty))
2604 @endif build-libiberty
2610 .PHONY: configure-build-bison maybe-configure-build-bison
2611 maybe-configure-build-bison:
2612 @if gcc-bootstrap
2613 configure-build-bison: stage_current
2614 @endif gcc-bootstrap
2615 @if build-bison
2616 maybe-configure-build-bison: configure-build-bison
2617 configure-build-bison:
2618 @: $(MAKE); $(unstage)
2619 @r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2621 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2622 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2623 $(BUILD_EXPORTS) \
2624 echo Configuring in $(BUILD_SUBDIR)/bison; \
2625 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2626 case $(srcdir) in \
2627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2628 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2630 esac; \
2631 srcdiroption="--srcdir=$${topdir}/bison"; \
2632 libsrcdir="$$s/bison"; \
2633 rm -f no-such-file || : ; \
2634 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2635 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2636 --target=${target_alias} $${srcdiroption} \
2637 || exit 1
2638 @endif build-bison
2644 .PHONY: all-build-bison maybe-all-build-bison
2645 maybe-all-build-bison:
2646 @if gcc-bootstrap
2647 all-build-bison: stage_current
2648 @endif gcc-bootstrap
2649 @if build-bison
2650 TARGET-build-bison=all
2651 maybe-all-build-bison: all-build-bison
2652 all-build-bison: configure-build-bison
2653 @: $(MAKE); $(unstage)
2654 @r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2656 $(BUILD_EXPORTS) \
2657 (cd $(BUILD_SUBDIR)/bison && \
2658 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2659 $(TARGET-build-bison))
2660 @endif build-bison
2666 .PHONY: configure-build-flex maybe-configure-build-flex
2667 maybe-configure-build-flex:
2668 @if gcc-bootstrap
2669 configure-build-flex: stage_current
2670 @endif gcc-bootstrap
2671 @if build-flex
2672 maybe-configure-build-flex: configure-build-flex
2673 configure-build-flex:
2674 @: $(MAKE); $(unstage)
2675 @r=`${PWD_COMMAND}`; export r; \
2676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2678 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2679 $(BUILD_EXPORTS) \
2680 echo Configuring in $(BUILD_SUBDIR)/flex; \
2681 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2682 case $(srcdir) in \
2683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2684 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2686 esac; \
2687 srcdiroption="--srcdir=$${topdir}/flex"; \
2688 libsrcdir="$$s/flex"; \
2689 rm -f no-such-file || : ; \
2690 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2691 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2692 --target=${target_alias} $${srcdiroption} \
2693 || exit 1
2694 @endif build-flex
2700 .PHONY: all-build-flex maybe-all-build-flex
2701 maybe-all-build-flex:
2702 @if gcc-bootstrap
2703 all-build-flex: stage_current
2704 @endif gcc-bootstrap
2705 @if build-flex
2706 TARGET-build-flex=all
2707 maybe-all-build-flex: all-build-flex
2708 all-build-flex: configure-build-flex
2709 @: $(MAKE); $(unstage)
2710 @r=`${PWD_COMMAND}`; export r; \
2711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2712 $(BUILD_EXPORTS) \
2713 (cd $(BUILD_SUBDIR)/flex && \
2714 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2715 $(TARGET-build-flex))
2716 @endif build-flex
2722 .PHONY: configure-build-m4 maybe-configure-build-m4
2723 maybe-configure-build-m4:
2724 @if gcc-bootstrap
2725 configure-build-m4: stage_current
2726 @endif gcc-bootstrap
2727 @if build-m4
2728 maybe-configure-build-m4: configure-build-m4
2729 configure-build-m4:
2730 @: $(MAKE); $(unstage)
2731 @r=`${PWD_COMMAND}`; export r; \
2732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2733 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2734 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2735 $(BUILD_EXPORTS) \
2736 echo Configuring in $(BUILD_SUBDIR)/m4; \
2737 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2738 case $(srcdir) in \
2739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2740 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2742 esac; \
2743 srcdiroption="--srcdir=$${topdir}/m4"; \
2744 libsrcdir="$$s/m4"; \
2745 rm -f no-such-file || : ; \
2746 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2747 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2748 --target=${target_alias} $${srcdiroption} \
2749 || exit 1
2750 @endif build-m4
2756 .PHONY: all-build-m4 maybe-all-build-m4
2757 maybe-all-build-m4:
2758 @if gcc-bootstrap
2759 all-build-m4: stage_current
2760 @endif gcc-bootstrap
2761 @if build-m4
2762 TARGET-build-m4=all
2763 maybe-all-build-m4: all-build-m4
2764 all-build-m4: configure-build-m4
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(BUILD_EXPORTS) \
2769 (cd $(BUILD_SUBDIR)/m4 && \
2770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2771 $(TARGET-build-m4))
2772 @endif build-m4
2778 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2779 maybe-configure-build-texinfo:
2780 @if gcc-bootstrap
2781 configure-build-texinfo: stage_current
2782 @endif gcc-bootstrap
2783 @if build-texinfo
2784 maybe-configure-build-texinfo: configure-build-texinfo
2785 configure-build-texinfo:
2786 @: $(MAKE); $(unstage)
2787 @r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2790 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2791 $(BUILD_EXPORTS) \
2792 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2793 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2794 case $(srcdir) in \
2795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2796 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2798 esac; \
2799 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2800 libsrcdir="$$s/texinfo"; \
2801 rm -f no-such-file || : ; \
2802 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2803 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2804 --target=${target_alias} $${srcdiroption} \
2805 || exit 1
2806 @endif build-texinfo
2812 .PHONY: all-build-texinfo maybe-all-build-texinfo
2813 maybe-all-build-texinfo:
2814 @if gcc-bootstrap
2815 all-build-texinfo: stage_current
2816 @endif gcc-bootstrap
2817 @if build-texinfo
2818 TARGET-build-texinfo=all
2819 maybe-all-build-texinfo: all-build-texinfo
2820 all-build-texinfo: configure-build-texinfo
2821 @: $(MAKE); $(unstage)
2822 @r=`${PWD_COMMAND}`; export r; \
2823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2824 $(BUILD_EXPORTS) \
2825 (cd $(BUILD_SUBDIR)/texinfo && \
2826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2827 $(TARGET-build-texinfo))
2828 @endif build-texinfo
2834 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2835 maybe-configure-build-fixincludes:
2836 @if gcc-bootstrap
2837 configure-build-fixincludes: stage_current
2838 @endif gcc-bootstrap
2839 @if build-fixincludes
2840 maybe-configure-build-fixincludes: configure-build-fixincludes
2841 configure-build-fixincludes:
2842 @: $(MAKE); $(unstage)
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2846 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2847 $(BUILD_EXPORTS) \
2848 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2849 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2850 case $(srcdir) in \
2851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2852 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2854 esac; \
2855 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2856 libsrcdir="$$s/fixincludes"; \
2857 rm -f no-such-file || : ; \
2858 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2859 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2860 --target=${target_alias} $${srcdiroption} \
2861 || exit 1
2862 @endif build-fixincludes
2868 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2869 maybe-all-build-fixincludes:
2870 @if gcc-bootstrap
2871 all-build-fixincludes: stage_current
2872 @endif gcc-bootstrap
2873 @if build-fixincludes
2874 TARGET-build-fixincludes=all
2875 maybe-all-build-fixincludes: all-build-fixincludes
2876 all-build-fixincludes: configure-build-fixincludes
2877 @: $(MAKE); $(unstage)
2878 @r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 $(BUILD_EXPORTS) \
2881 (cd $(BUILD_SUBDIR)/fixincludes && \
2882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2883 $(TARGET-build-fixincludes))
2884 @endif build-fixincludes
2890 # --------------------------------------
2891 # Modules which run on the host machine
2892 # --------------------------------------
2895 .PHONY: configure-bfd maybe-configure-bfd
2896 maybe-configure-bfd:
2897 @if gcc-bootstrap
2898 configure-bfd: stage_current
2899 @endif gcc-bootstrap
2900 @if bfd
2901 maybe-configure-bfd: configure-bfd
2902 configure-bfd:
2903 @r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2907 $(HOST_EXPORTS) \
2908 echo Configuring in $(HOST_SUBDIR)/bfd; \
2909 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2910 case $(srcdir) in \
2911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2912 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2914 esac; \
2915 srcdiroption="--srcdir=$${topdir}/bfd"; \
2916 libsrcdir="$$s/bfd"; \
2917 $(SHELL) $${libsrcdir}/configure \
2918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2919 --target=${target_alias} $${srcdiroption} \
2920 || exit 1
2921 @endif bfd
2925 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2926 maybe-configure-stage1-bfd:
2927 @if bfd-bootstrap
2928 maybe-configure-stage1-bfd: configure-stage1-bfd
2929 configure-stage1-bfd:
2930 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2932 @r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 TFLAGS="$(STAGE1_TFLAGS)"; \
2935 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2936 $(HOST_EXPORTS) \
2937 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2938 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2939 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2940 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2942 cd $(HOST_SUBDIR)/bfd || exit 1; \
2943 case $(srcdir) in \
2944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2945 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2947 esac; \
2948 srcdiroption="--srcdir=$${topdir}/bfd"; \
2949 libsrcdir="$$s/bfd"; \
2950 $(SHELL) $${libsrcdir}/configure \
2951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2952 --target=${target_alias} $${srcdiroption} \
2953 $(STAGE1_CONFIGURE_FLAGS)
2954 @endif bfd-bootstrap
2956 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2957 maybe-configure-stage2-bfd:
2958 @if bfd-bootstrap
2959 maybe-configure-stage2-bfd: configure-stage2-bfd
2960 configure-stage2-bfd:
2961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2963 @r=`${PWD_COMMAND}`; export r; \
2964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2965 TFLAGS="$(STAGE2_TFLAGS)"; \
2966 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2967 $(HOST_EXPORTS) \
2968 $(POSTSTAGE1_HOST_EXPORTS) \
2969 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2970 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2971 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2972 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2974 cd $(HOST_SUBDIR)/bfd || exit 1; \
2975 case $(srcdir) in \
2976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2977 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2979 esac; \
2980 srcdiroption="--srcdir=$${topdir}/bfd"; \
2981 libsrcdir="$$s/bfd"; \
2982 $(SHELL) $${libsrcdir}/configure \
2983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2984 --target=${target_alias} $${srcdiroption} \
2985 --with-build-libsubdir=$(HOST_SUBDIR) \
2986 $(STAGE2_CONFIGURE_FLAGS)
2987 @endif bfd-bootstrap
2989 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2990 maybe-configure-stage3-bfd:
2991 @if bfd-bootstrap
2992 maybe-configure-stage3-bfd: configure-stage3-bfd
2993 configure-stage3-bfd:
2994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2996 @r=`${PWD_COMMAND}`; export r; \
2997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2998 TFLAGS="$(STAGE3_TFLAGS)"; \
2999 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3000 $(HOST_EXPORTS) \
3001 $(POSTSTAGE1_HOST_EXPORTS) \
3002 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3003 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3004 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3005 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3007 cd $(HOST_SUBDIR)/bfd || exit 1; \
3008 case $(srcdir) in \
3009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3010 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3012 esac; \
3013 srcdiroption="--srcdir=$${topdir}/bfd"; \
3014 libsrcdir="$$s/bfd"; \
3015 $(SHELL) $${libsrcdir}/configure \
3016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3017 --target=${target_alias} $${srcdiroption} \
3018 --with-build-libsubdir=$(HOST_SUBDIR) \
3019 $(STAGE3_CONFIGURE_FLAGS)
3020 @endif bfd-bootstrap
3022 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3023 maybe-configure-stage4-bfd:
3024 @if bfd-bootstrap
3025 maybe-configure-stage4-bfd: configure-stage4-bfd
3026 configure-stage4-bfd:
3027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3029 @r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031 TFLAGS="$(STAGE4_TFLAGS)"; \
3032 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3033 $(HOST_EXPORTS) \
3034 $(POSTSTAGE1_HOST_EXPORTS) \
3035 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3036 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3037 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3038 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3040 cd $(HOST_SUBDIR)/bfd || exit 1; \
3041 case $(srcdir) in \
3042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3043 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3045 esac; \
3046 srcdiroption="--srcdir=$${topdir}/bfd"; \
3047 libsrcdir="$$s/bfd"; \
3048 $(SHELL) $${libsrcdir}/configure \
3049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3050 --target=${target_alias} $${srcdiroption} \
3051 --with-build-libsubdir=$(HOST_SUBDIR) \
3052 $(STAGE4_CONFIGURE_FLAGS)
3053 @endif bfd-bootstrap
3055 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3056 maybe-configure-stageprofile-bfd:
3057 @if bfd-bootstrap
3058 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3059 configure-stageprofile-bfd:
3060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3062 @r=`${PWD_COMMAND}`; export r; \
3063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3065 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3066 $(HOST_EXPORTS) \
3067 $(POSTSTAGE1_HOST_EXPORTS) \
3068 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3070 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3071 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3073 cd $(HOST_SUBDIR)/bfd || exit 1; \
3074 case $(srcdir) in \
3075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3076 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3078 esac; \
3079 srcdiroption="--srcdir=$${topdir}/bfd"; \
3080 libsrcdir="$$s/bfd"; \
3081 $(SHELL) $${libsrcdir}/configure \
3082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3083 --target=${target_alias} $${srcdiroption} \
3084 --with-build-libsubdir=$(HOST_SUBDIR) \
3085 $(STAGEprofile_CONFIGURE_FLAGS)
3086 @endif bfd-bootstrap
3088 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3089 maybe-configure-stagefeedback-bfd:
3090 @if bfd-bootstrap
3091 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3092 configure-stagefeedback-bfd:
3093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3095 @r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3098 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3099 $(HOST_EXPORTS) \
3100 $(POSTSTAGE1_HOST_EXPORTS) \
3101 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3104 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3106 cd $(HOST_SUBDIR)/bfd || exit 1; \
3107 case $(srcdir) in \
3108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3109 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3111 esac; \
3112 srcdiroption="--srcdir=$${topdir}/bfd"; \
3113 libsrcdir="$$s/bfd"; \
3114 $(SHELL) $${libsrcdir}/configure \
3115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3116 --target=${target_alias} $${srcdiroption} \
3117 --with-build-libsubdir=$(HOST_SUBDIR) \
3118 $(STAGEfeedback_CONFIGURE_FLAGS)
3119 @endif bfd-bootstrap
3125 .PHONY: all-bfd maybe-all-bfd
3126 maybe-all-bfd:
3127 @if gcc-bootstrap
3128 all-bfd: stage_current
3129 @endif gcc-bootstrap
3130 @if bfd
3131 TARGET-bfd=all
3132 maybe-all-bfd: all-bfd
3133 all-bfd: configure-bfd
3134 @r=`${PWD_COMMAND}`; export r; \
3135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3136 $(HOST_EXPORTS) \
3137 (cd $(HOST_SUBDIR)/bfd && \
3138 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3139 $(TARGET-bfd))
3140 @endif bfd
3144 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3145 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3146 maybe-all-stage1-bfd:
3147 maybe-clean-stage1-bfd:
3148 @if bfd-bootstrap
3149 maybe-all-stage1-bfd: all-stage1-bfd
3150 all-stage1: all-stage1-bfd
3151 TARGET-stage1-bfd = $(TARGET-bfd)
3152 all-stage1-bfd: configure-stage1-bfd
3153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3154 @r=`${PWD_COMMAND}`; export r; \
3155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3156 TFLAGS="$(STAGE1_TFLAGS)"; \
3157 $(HOST_EXPORTS) \
3158 cd $(HOST_SUBDIR)/bfd && \
3159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3160 CFLAGS="$(STAGE1_CFLAGS)" \
3161 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3162 LIBCFLAGS="$(LIBCFLAGS)" \
3163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3166 $(EXTRA_HOST_FLAGS) \
3167 TFLAGS="$(STAGE1_TFLAGS)" \
3168 $(TARGET-stage1-bfd)
3170 maybe-clean-stage1-bfd: clean-stage1-bfd
3171 clean-stage1: clean-stage1-bfd
3172 clean-stage1-bfd:
3173 @if [ $(current_stage) = stage1 ]; then \
3174 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3175 else \
3176 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3177 $(MAKE) stage1-start; \
3178 fi; \
3179 cd $(HOST_SUBDIR)/bfd && \
3180 $(MAKE) $(EXTRA_HOST_FLAGS) \
3181 clean
3182 @endif bfd-bootstrap
3185 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3186 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3187 maybe-all-stage2-bfd:
3188 maybe-clean-stage2-bfd:
3189 @if bfd-bootstrap
3190 maybe-all-stage2-bfd: all-stage2-bfd
3191 all-stage2: all-stage2-bfd
3192 TARGET-stage2-bfd = $(TARGET-bfd)
3193 all-stage2-bfd: configure-stage2-bfd
3194 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3195 @r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197 TFLAGS="$(STAGE2_TFLAGS)"; \
3198 $(HOST_EXPORTS) \
3199 $(POSTSTAGE1_HOST_EXPORTS) \
3200 cd $(HOST_SUBDIR)/bfd && \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3202 CFLAGS="$(STAGE2_CFLAGS)" \
3203 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3204 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3208 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3209 TFLAGS="$(STAGE2_TFLAGS)" \
3210 $(TARGET-stage2-bfd)
3212 maybe-clean-stage2-bfd: clean-stage2-bfd
3213 clean-stage2: clean-stage2-bfd
3214 clean-stage2-bfd:
3215 @if [ $(current_stage) = stage2 ]; then \
3216 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3217 else \
3218 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3219 $(MAKE) stage2-start; \
3220 fi; \
3221 cd $(HOST_SUBDIR)/bfd && \
3222 $(MAKE) $(EXTRA_HOST_FLAGS) \
3223 $(POSTSTAGE1_FLAGS_TO_PASS) \
3224 clean
3225 @endif bfd-bootstrap
3228 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3229 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3230 maybe-all-stage3-bfd:
3231 maybe-clean-stage3-bfd:
3232 @if bfd-bootstrap
3233 maybe-all-stage3-bfd: all-stage3-bfd
3234 all-stage3: all-stage3-bfd
3235 TARGET-stage3-bfd = $(TARGET-bfd)
3236 all-stage3-bfd: configure-stage3-bfd
3237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3238 @r=`${PWD_COMMAND}`; export r; \
3239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3240 TFLAGS="$(STAGE3_TFLAGS)"; \
3241 $(HOST_EXPORTS) \
3242 $(POSTSTAGE1_HOST_EXPORTS) \
3243 cd $(HOST_SUBDIR)/bfd && \
3244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3245 CFLAGS="$(STAGE3_CFLAGS)" \
3246 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3247 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3252 TFLAGS="$(STAGE3_TFLAGS)" \
3253 $(TARGET-stage3-bfd)
3255 maybe-clean-stage3-bfd: clean-stage3-bfd
3256 clean-stage3: clean-stage3-bfd
3257 clean-stage3-bfd:
3258 @if [ $(current_stage) = stage3 ]; then \
3259 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3260 else \
3261 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3262 $(MAKE) stage3-start; \
3263 fi; \
3264 cd $(HOST_SUBDIR)/bfd && \
3265 $(MAKE) $(EXTRA_HOST_FLAGS) \
3266 $(POSTSTAGE1_FLAGS_TO_PASS) \
3267 clean
3268 @endif bfd-bootstrap
3271 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3272 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3273 maybe-all-stage4-bfd:
3274 maybe-clean-stage4-bfd:
3275 @if bfd-bootstrap
3276 maybe-all-stage4-bfd: all-stage4-bfd
3277 all-stage4: all-stage4-bfd
3278 TARGET-stage4-bfd = $(TARGET-bfd)
3279 all-stage4-bfd: configure-stage4-bfd
3280 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3281 @r=`${PWD_COMMAND}`; export r; \
3282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3283 TFLAGS="$(STAGE4_TFLAGS)"; \
3284 $(HOST_EXPORTS) \
3285 $(POSTSTAGE1_HOST_EXPORTS) \
3286 cd $(HOST_SUBDIR)/bfd && \
3287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3288 CFLAGS="$(STAGE4_CFLAGS)" \
3289 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3290 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3295 TFLAGS="$(STAGE4_TFLAGS)" \
3296 $(TARGET-stage4-bfd)
3298 maybe-clean-stage4-bfd: clean-stage4-bfd
3299 clean-stage4: clean-stage4-bfd
3300 clean-stage4-bfd:
3301 @if [ $(current_stage) = stage4 ]; then \
3302 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3303 else \
3304 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3305 $(MAKE) stage4-start; \
3306 fi; \
3307 cd $(HOST_SUBDIR)/bfd && \
3308 $(MAKE) $(EXTRA_HOST_FLAGS) \
3309 $(POSTSTAGE1_FLAGS_TO_PASS) \
3310 clean
3311 @endif bfd-bootstrap
3314 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3315 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3316 maybe-all-stageprofile-bfd:
3317 maybe-clean-stageprofile-bfd:
3318 @if bfd-bootstrap
3319 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3320 all-stageprofile: all-stageprofile-bfd
3321 TARGET-stageprofile-bfd = $(TARGET-bfd)
3322 all-stageprofile-bfd: configure-stageprofile-bfd
3323 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3324 @r=`${PWD_COMMAND}`; export r; \
3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3327 $(HOST_EXPORTS) \
3328 $(POSTSTAGE1_HOST_EXPORTS) \
3329 cd $(HOST_SUBDIR)/bfd && \
3330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3331 CFLAGS="$(STAGEprofile_CFLAGS)" \
3332 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3333 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3338 TFLAGS="$(STAGEprofile_TFLAGS)" \
3339 $(TARGET-stageprofile-bfd)
3341 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3342 clean-stageprofile: clean-stageprofile-bfd
3343 clean-stageprofile-bfd:
3344 @if [ $(current_stage) = stageprofile ]; then \
3345 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3346 else \
3347 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3348 $(MAKE) stageprofile-start; \
3349 fi; \
3350 cd $(HOST_SUBDIR)/bfd && \
3351 $(MAKE) $(EXTRA_HOST_FLAGS) \
3352 $(POSTSTAGE1_FLAGS_TO_PASS) \
3353 clean
3354 @endif bfd-bootstrap
3357 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3358 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3359 maybe-all-stagefeedback-bfd:
3360 maybe-clean-stagefeedback-bfd:
3361 @if bfd-bootstrap
3362 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3363 all-stagefeedback: all-stagefeedback-bfd
3364 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3365 all-stagefeedback-bfd: configure-stagefeedback-bfd
3366 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3367 @r=`${PWD_COMMAND}`; export r; \
3368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3369 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3370 $(HOST_EXPORTS) \
3371 $(POSTSTAGE1_HOST_EXPORTS) \
3372 cd $(HOST_SUBDIR)/bfd && \
3373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3374 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3375 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3376 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3381 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3382 $(TARGET-stagefeedback-bfd)
3384 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3385 clean-stagefeedback: clean-stagefeedback-bfd
3386 clean-stagefeedback-bfd:
3387 @if [ $(current_stage) = stagefeedback ]; then \
3388 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3389 else \
3390 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3391 $(MAKE) stagefeedback-start; \
3392 fi; \
3393 cd $(HOST_SUBDIR)/bfd && \
3394 $(MAKE) $(EXTRA_HOST_FLAGS) \
3395 $(POSTSTAGE1_FLAGS_TO_PASS) \
3396 clean
3397 @endif bfd-bootstrap
3403 .PHONY: check-bfd maybe-check-bfd
3404 maybe-check-bfd:
3405 @if bfd
3406 maybe-check-bfd: check-bfd
3408 check-bfd:
3409 @: $(MAKE); $(unstage)
3410 @r=`${PWD_COMMAND}`; export r; \
3411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3412 $(HOST_EXPORTS) \
3413 (cd $(HOST_SUBDIR)/bfd && \
3414 $(MAKE) $(FLAGS_TO_PASS) check)
3416 @endif bfd
3418 .PHONY: install-bfd maybe-install-bfd
3419 maybe-install-bfd:
3420 @if bfd
3421 maybe-install-bfd: install-bfd
3423 install-bfd: installdirs
3424 @: $(MAKE); $(unstage)
3425 @r=`${PWD_COMMAND}`; export r; \
3426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 $(HOST_EXPORTS) \
3428 (cd $(HOST_SUBDIR)/bfd && \
3429 $(MAKE) $(FLAGS_TO_PASS) install)
3431 @endif bfd
3433 .PHONY: install-strip-bfd maybe-install-strip-bfd
3434 maybe-install-strip-bfd:
3435 @if bfd
3436 maybe-install-strip-bfd: install-strip-bfd
3438 install-strip-bfd: installdirs
3439 @: $(MAKE); $(unstage)
3440 @r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 $(HOST_EXPORTS) \
3443 (cd $(HOST_SUBDIR)/bfd && \
3444 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3446 @endif bfd
3448 # Other targets (info, dvi, pdf, etc.)
3450 .PHONY: maybe-info-bfd info-bfd
3451 maybe-info-bfd:
3452 @if bfd
3453 maybe-info-bfd: info-bfd
3455 info-bfd: \
3456 configure-bfd
3457 @[ -f ./bfd/Makefile ] || exit 0; \
3458 r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 $(HOST_EXPORTS) \
3461 for flag in $(EXTRA_HOST_FLAGS) ; do \
3462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3463 done; \
3464 echo "Doing info in bfd" ; \
3465 (cd $(HOST_SUBDIR)/bfd && \
3466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3468 "RANLIB=$${RANLIB}" \
3469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3470 info) \
3471 || exit 1
3473 @endif bfd
3475 .PHONY: maybe-dvi-bfd dvi-bfd
3476 maybe-dvi-bfd:
3477 @if bfd
3478 maybe-dvi-bfd: dvi-bfd
3480 dvi-bfd: \
3481 configure-bfd
3482 @[ -f ./bfd/Makefile ] || exit 0; \
3483 r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(HOST_EXPORTS) \
3486 for flag in $(EXTRA_HOST_FLAGS) ; do \
3487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 done; \
3489 echo "Doing dvi in bfd" ; \
3490 (cd $(HOST_SUBDIR)/bfd && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3493 "RANLIB=$${RANLIB}" \
3494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3495 dvi) \
3496 || exit 1
3498 @endif bfd
3500 .PHONY: maybe-pdf-bfd pdf-bfd
3501 maybe-pdf-bfd:
3502 @if bfd
3503 maybe-pdf-bfd: pdf-bfd
3505 pdf-bfd: \
3506 configure-bfd
3507 @[ -f ./bfd/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 $(HOST_EXPORTS) \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 done; \
3514 echo "Doing pdf in bfd" ; \
3515 (cd $(HOST_SUBDIR)/bfd && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3520 pdf) \
3521 || exit 1
3523 @endif bfd
3525 .PHONY: maybe-html-bfd html-bfd
3526 maybe-html-bfd:
3527 @if bfd
3528 maybe-html-bfd: html-bfd
3530 html-bfd: \
3531 configure-bfd
3532 @[ -f ./bfd/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing html in bfd" ; \
3540 (cd $(HOST_SUBDIR)/bfd && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3545 html) \
3546 || exit 1
3548 @endif bfd
3550 .PHONY: maybe-TAGS-bfd TAGS-bfd
3551 maybe-TAGS-bfd:
3552 @if bfd
3553 maybe-TAGS-bfd: TAGS-bfd
3555 TAGS-bfd: \
3556 configure-bfd
3557 @[ -f ./bfd/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(HOST_EXPORTS) \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 done; \
3564 echo "Doing TAGS in bfd" ; \
3565 (cd $(HOST_SUBDIR)/bfd && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3570 TAGS) \
3571 || exit 1
3573 @endif bfd
3575 .PHONY: maybe-install-info-bfd install-info-bfd
3576 maybe-install-info-bfd:
3577 @if bfd
3578 maybe-install-info-bfd: install-info-bfd
3580 install-info-bfd: \
3581 configure-bfd \
3582 info-bfd
3583 @[ -f ./bfd/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing install-info in bfd" ; \
3591 (cd $(HOST_SUBDIR)/bfd && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3596 install-info) \
3597 || exit 1
3599 @endif bfd
3601 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3602 maybe-install-pdf-bfd:
3603 @if bfd
3604 maybe-install-pdf-bfd: install-pdf-bfd
3606 install-pdf-bfd: \
3607 configure-bfd \
3608 pdf-bfd
3609 @[ -f ./bfd/Makefile ] || exit 0; \
3610 r=`${PWD_COMMAND}`; export r; \
3611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3612 $(HOST_EXPORTS) \
3613 for flag in $(EXTRA_HOST_FLAGS) ; do \
3614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3615 done; \
3616 echo "Doing install-pdf in bfd" ; \
3617 (cd $(HOST_SUBDIR)/bfd && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3620 "RANLIB=$${RANLIB}" \
3621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3622 install-pdf) \
3623 || exit 1
3625 @endif bfd
3627 .PHONY: maybe-install-html-bfd install-html-bfd
3628 maybe-install-html-bfd:
3629 @if bfd
3630 maybe-install-html-bfd: install-html-bfd
3632 install-html-bfd: \
3633 configure-bfd \
3634 html-bfd
3635 @[ -f ./bfd/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3641 done; \
3642 echo "Doing install-html in bfd" ; \
3643 (cd $(HOST_SUBDIR)/bfd && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3648 install-html) \
3649 || exit 1
3651 @endif bfd
3653 .PHONY: maybe-installcheck-bfd installcheck-bfd
3654 maybe-installcheck-bfd:
3655 @if bfd
3656 maybe-installcheck-bfd: installcheck-bfd
3658 installcheck-bfd: \
3659 configure-bfd
3660 @[ -f ./bfd/Makefile ] || exit 0; \
3661 r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(HOST_EXPORTS) \
3664 for flag in $(EXTRA_HOST_FLAGS) ; do \
3665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 done; \
3667 echo "Doing installcheck in bfd" ; \
3668 (cd $(HOST_SUBDIR)/bfd && \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671 "RANLIB=$${RANLIB}" \
3672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3673 installcheck) \
3674 || exit 1
3676 @endif bfd
3678 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3679 maybe-mostlyclean-bfd:
3680 @if bfd
3681 maybe-mostlyclean-bfd: mostlyclean-bfd
3683 mostlyclean-bfd:
3684 @[ -f ./bfd/Makefile ] || exit 0; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 $(HOST_EXPORTS) \
3688 for flag in $(EXTRA_HOST_FLAGS) ; do \
3689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3690 done; \
3691 echo "Doing mostlyclean in bfd" ; \
3692 (cd $(HOST_SUBDIR)/bfd && \
3693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3695 "RANLIB=$${RANLIB}" \
3696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3697 mostlyclean) \
3698 || exit 1
3700 @endif bfd
3702 .PHONY: maybe-clean-bfd clean-bfd
3703 maybe-clean-bfd:
3704 @if bfd
3705 maybe-clean-bfd: clean-bfd
3707 clean-bfd:
3708 @[ -f ./bfd/Makefile ] || exit 0; \
3709 r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 for flag in $(EXTRA_HOST_FLAGS) ; do \
3713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3714 done; \
3715 echo "Doing clean in bfd" ; \
3716 (cd $(HOST_SUBDIR)/bfd && \
3717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3719 "RANLIB=$${RANLIB}" \
3720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3721 clean) \
3722 || exit 1
3724 @endif bfd
3726 .PHONY: maybe-distclean-bfd distclean-bfd
3727 maybe-distclean-bfd:
3728 @if bfd
3729 maybe-distclean-bfd: distclean-bfd
3731 distclean-bfd:
3732 @[ -f ./bfd/Makefile ] || exit 0; \
3733 r=`${PWD_COMMAND}`; export r; \
3734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3735 $(HOST_EXPORTS) \
3736 for flag in $(EXTRA_HOST_FLAGS) ; do \
3737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3738 done; \
3739 echo "Doing distclean in bfd" ; \
3740 (cd $(HOST_SUBDIR)/bfd && \
3741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3743 "RANLIB=$${RANLIB}" \
3744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3745 distclean) \
3746 || exit 1
3748 @endif bfd
3750 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3751 maybe-maintainer-clean-bfd:
3752 @if bfd
3753 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3755 maintainer-clean-bfd:
3756 @[ -f ./bfd/Makefile ] || exit 0; \
3757 r=`${PWD_COMMAND}`; export r; \
3758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3759 $(HOST_EXPORTS) \
3760 for flag in $(EXTRA_HOST_FLAGS) ; do \
3761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3762 done; \
3763 echo "Doing maintainer-clean in bfd" ; \
3764 (cd $(HOST_SUBDIR)/bfd && \
3765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3767 "RANLIB=$${RANLIB}" \
3768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3769 maintainer-clean) \
3770 || exit 1
3772 @endif bfd
3776 .PHONY: configure-opcodes maybe-configure-opcodes
3777 maybe-configure-opcodes:
3778 @if gcc-bootstrap
3779 configure-opcodes: stage_current
3780 @endif gcc-bootstrap
3781 @if opcodes
3782 maybe-configure-opcodes: configure-opcodes
3783 configure-opcodes:
3784 @r=`${PWD_COMMAND}`; export r; \
3785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3786 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3788 $(HOST_EXPORTS) \
3789 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3790 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3791 case $(srcdir) in \
3792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3793 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3795 esac; \
3796 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3797 libsrcdir="$$s/opcodes"; \
3798 $(SHELL) $${libsrcdir}/configure \
3799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3800 --target=${target_alias} $${srcdiroption} \
3801 || exit 1
3802 @endif opcodes
3806 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3807 maybe-configure-stage1-opcodes:
3808 @if opcodes-bootstrap
3809 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3810 configure-stage1-opcodes:
3811 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3813 @r=`${PWD_COMMAND}`; export r; \
3814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815 TFLAGS="$(STAGE1_TFLAGS)"; \
3816 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3817 $(HOST_EXPORTS) \
3818 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3819 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3820 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3821 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3823 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3824 case $(srcdir) in \
3825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3826 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3828 esac; \
3829 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3830 libsrcdir="$$s/opcodes"; \
3831 $(SHELL) $${libsrcdir}/configure \
3832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3833 --target=${target_alias} $${srcdiroption} \
3834 $(STAGE1_CONFIGURE_FLAGS)
3835 @endif opcodes-bootstrap
3837 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3838 maybe-configure-stage2-opcodes:
3839 @if opcodes-bootstrap
3840 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3841 configure-stage2-opcodes:
3842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3843 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3844 @r=`${PWD_COMMAND}`; export r; \
3845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3846 TFLAGS="$(STAGE2_TFLAGS)"; \
3847 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3848 $(HOST_EXPORTS) \
3849 $(POSTSTAGE1_HOST_EXPORTS) \
3850 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3851 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3852 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3853 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3855 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3856 case $(srcdir) in \
3857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3858 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3860 esac; \
3861 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3862 libsrcdir="$$s/opcodes"; \
3863 $(SHELL) $${libsrcdir}/configure \
3864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3865 --target=${target_alias} $${srcdiroption} \
3866 --with-build-libsubdir=$(HOST_SUBDIR) \
3867 $(STAGE2_CONFIGURE_FLAGS)
3868 @endif opcodes-bootstrap
3870 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3871 maybe-configure-stage3-opcodes:
3872 @if opcodes-bootstrap
3873 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3874 configure-stage3-opcodes:
3875 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3876 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3877 @r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 TFLAGS="$(STAGE3_TFLAGS)"; \
3880 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3881 $(HOST_EXPORTS) \
3882 $(POSTSTAGE1_HOST_EXPORTS) \
3883 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3884 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3885 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3886 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3888 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3889 case $(srcdir) in \
3890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3891 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3893 esac; \
3894 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3895 libsrcdir="$$s/opcodes"; \
3896 $(SHELL) $${libsrcdir}/configure \
3897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3898 --target=${target_alias} $${srcdiroption} \
3899 --with-build-libsubdir=$(HOST_SUBDIR) \
3900 $(STAGE3_CONFIGURE_FLAGS)
3901 @endif opcodes-bootstrap
3903 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3904 maybe-configure-stage4-opcodes:
3905 @if opcodes-bootstrap
3906 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3907 configure-stage4-opcodes:
3908 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3910 @r=`${PWD_COMMAND}`; export r; \
3911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3912 TFLAGS="$(STAGE4_TFLAGS)"; \
3913 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3914 $(HOST_EXPORTS) \
3915 $(POSTSTAGE1_HOST_EXPORTS) \
3916 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3917 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3918 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3919 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3921 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3922 case $(srcdir) in \
3923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3924 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3926 esac; \
3927 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3928 libsrcdir="$$s/opcodes"; \
3929 $(SHELL) $${libsrcdir}/configure \
3930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3931 --target=${target_alias} $${srcdiroption} \
3932 --with-build-libsubdir=$(HOST_SUBDIR) \
3933 $(STAGE4_CONFIGURE_FLAGS)
3934 @endif opcodes-bootstrap
3936 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3937 maybe-configure-stageprofile-opcodes:
3938 @if opcodes-bootstrap
3939 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3940 configure-stageprofile-opcodes:
3941 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3943 @r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3946 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3947 $(HOST_EXPORTS) \
3948 $(POSTSTAGE1_HOST_EXPORTS) \
3949 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3950 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3951 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3952 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3954 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3955 case $(srcdir) in \
3956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3957 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3959 esac; \
3960 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3961 libsrcdir="$$s/opcodes"; \
3962 $(SHELL) $${libsrcdir}/configure \
3963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3964 --target=${target_alias} $${srcdiroption} \
3965 --with-build-libsubdir=$(HOST_SUBDIR) \
3966 $(STAGEprofile_CONFIGURE_FLAGS)
3967 @endif opcodes-bootstrap
3969 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3970 maybe-configure-stagefeedback-opcodes:
3971 @if opcodes-bootstrap
3972 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3973 configure-stagefeedback-opcodes:
3974 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3976 @r=`${PWD_COMMAND}`; export r; \
3977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3978 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3979 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3980 $(HOST_EXPORTS) \
3981 $(POSTSTAGE1_HOST_EXPORTS) \
3982 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3983 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3984 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3985 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3987 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3988 case $(srcdir) in \
3989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3990 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3992 esac; \
3993 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3994 libsrcdir="$$s/opcodes"; \
3995 $(SHELL) $${libsrcdir}/configure \
3996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3997 --target=${target_alias} $${srcdiroption} \
3998 --with-build-libsubdir=$(HOST_SUBDIR) \
3999 $(STAGEfeedback_CONFIGURE_FLAGS)
4000 @endif opcodes-bootstrap
4006 .PHONY: all-opcodes maybe-all-opcodes
4007 maybe-all-opcodes:
4008 @if gcc-bootstrap
4009 all-opcodes: stage_current
4010 @endif gcc-bootstrap
4011 @if opcodes
4012 TARGET-opcodes=all
4013 maybe-all-opcodes: all-opcodes
4014 all-opcodes: configure-opcodes
4015 @r=`${PWD_COMMAND}`; export r; \
4016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4017 $(HOST_EXPORTS) \
4018 (cd $(HOST_SUBDIR)/opcodes && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4020 $(TARGET-opcodes))
4021 @endif opcodes
4025 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4026 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4027 maybe-all-stage1-opcodes:
4028 maybe-clean-stage1-opcodes:
4029 @if opcodes-bootstrap
4030 maybe-all-stage1-opcodes: all-stage1-opcodes
4031 all-stage1: all-stage1-opcodes
4032 TARGET-stage1-opcodes = $(TARGET-opcodes)
4033 all-stage1-opcodes: configure-stage1-opcodes
4034 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4035 @r=`${PWD_COMMAND}`; export r; \
4036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4037 TFLAGS="$(STAGE1_TFLAGS)"; \
4038 $(HOST_EXPORTS) \
4039 cd $(HOST_SUBDIR)/opcodes && \
4040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4041 CFLAGS="$(STAGE1_CFLAGS)" \
4042 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4043 LIBCFLAGS="$(LIBCFLAGS)" \
4044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4047 $(EXTRA_HOST_FLAGS) \
4048 TFLAGS="$(STAGE1_TFLAGS)" \
4049 $(TARGET-stage1-opcodes)
4051 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4052 clean-stage1: clean-stage1-opcodes
4053 clean-stage1-opcodes:
4054 @if [ $(current_stage) = stage1 ]; then \
4055 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4056 else \
4057 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4058 $(MAKE) stage1-start; \
4059 fi; \
4060 cd $(HOST_SUBDIR)/opcodes && \
4061 $(MAKE) $(EXTRA_HOST_FLAGS) \
4062 clean
4063 @endif opcodes-bootstrap
4066 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4067 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4068 maybe-all-stage2-opcodes:
4069 maybe-clean-stage2-opcodes:
4070 @if opcodes-bootstrap
4071 maybe-all-stage2-opcodes: all-stage2-opcodes
4072 all-stage2: all-stage2-opcodes
4073 TARGET-stage2-opcodes = $(TARGET-opcodes)
4074 all-stage2-opcodes: configure-stage2-opcodes
4075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4076 @r=`${PWD_COMMAND}`; export r; \
4077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4078 TFLAGS="$(STAGE2_TFLAGS)"; \
4079 $(HOST_EXPORTS) \
4080 $(POSTSTAGE1_HOST_EXPORTS) \
4081 cd $(HOST_SUBDIR)/opcodes && \
4082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4083 CFLAGS="$(STAGE2_CFLAGS)" \
4084 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4085 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4090 TFLAGS="$(STAGE2_TFLAGS)" \
4091 $(TARGET-stage2-opcodes)
4093 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4094 clean-stage2: clean-stage2-opcodes
4095 clean-stage2-opcodes:
4096 @if [ $(current_stage) = stage2 ]; then \
4097 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4098 else \
4099 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4100 $(MAKE) stage2-start; \
4101 fi; \
4102 cd $(HOST_SUBDIR)/opcodes && \
4103 $(MAKE) $(EXTRA_HOST_FLAGS) \
4104 $(POSTSTAGE1_FLAGS_TO_PASS) \
4105 clean
4106 @endif opcodes-bootstrap
4109 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4110 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4111 maybe-all-stage3-opcodes:
4112 maybe-clean-stage3-opcodes:
4113 @if opcodes-bootstrap
4114 maybe-all-stage3-opcodes: all-stage3-opcodes
4115 all-stage3: all-stage3-opcodes
4116 TARGET-stage3-opcodes = $(TARGET-opcodes)
4117 all-stage3-opcodes: configure-stage3-opcodes
4118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4119 @r=`${PWD_COMMAND}`; export r; \
4120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4121 TFLAGS="$(STAGE3_TFLAGS)"; \
4122 $(HOST_EXPORTS) \
4123 $(POSTSTAGE1_HOST_EXPORTS) \
4124 cd $(HOST_SUBDIR)/opcodes && \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4126 CFLAGS="$(STAGE3_CFLAGS)" \
4127 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4128 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4133 TFLAGS="$(STAGE3_TFLAGS)" \
4134 $(TARGET-stage3-opcodes)
4136 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4137 clean-stage3: clean-stage3-opcodes
4138 clean-stage3-opcodes:
4139 @if [ $(current_stage) = stage3 ]; then \
4140 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4141 else \
4142 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4143 $(MAKE) stage3-start; \
4144 fi; \
4145 cd $(HOST_SUBDIR)/opcodes && \
4146 $(MAKE) $(EXTRA_HOST_FLAGS) \
4147 $(POSTSTAGE1_FLAGS_TO_PASS) \
4148 clean
4149 @endif opcodes-bootstrap
4152 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4153 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4154 maybe-all-stage4-opcodes:
4155 maybe-clean-stage4-opcodes:
4156 @if opcodes-bootstrap
4157 maybe-all-stage4-opcodes: all-stage4-opcodes
4158 all-stage4: all-stage4-opcodes
4159 TARGET-stage4-opcodes = $(TARGET-opcodes)
4160 all-stage4-opcodes: configure-stage4-opcodes
4161 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4162 @r=`${PWD_COMMAND}`; export r; \
4163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4164 TFLAGS="$(STAGE4_TFLAGS)"; \
4165 $(HOST_EXPORTS) \
4166 $(POSTSTAGE1_HOST_EXPORTS) \
4167 cd $(HOST_SUBDIR)/opcodes && \
4168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4169 CFLAGS="$(STAGE4_CFLAGS)" \
4170 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4171 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4176 TFLAGS="$(STAGE4_TFLAGS)" \
4177 $(TARGET-stage4-opcodes)
4179 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4180 clean-stage4: clean-stage4-opcodes
4181 clean-stage4-opcodes:
4182 @if [ $(current_stage) = stage4 ]; then \
4183 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4184 else \
4185 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4186 $(MAKE) stage4-start; \
4187 fi; \
4188 cd $(HOST_SUBDIR)/opcodes && \
4189 $(MAKE) $(EXTRA_HOST_FLAGS) \
4190 $(POSTSTAGE1_FLAGS_TO_PASS) \
4191 clean
4192 @endif opcodes-bootstrap
4195 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4196 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4197 maybe-all-stageprofile-opcodes:
4198 maybe-clean-stageprofile-opcodes:
4199 @if opcodes-bootstrap
4200 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4201 all-stageprofile: all-stageprofile-opcodes
4202 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4203 all-stageprofile-opcodes: configure-stageprofile-opcodes
4204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4205 @r=`${PWD_COMMAND}`; export r; \
4206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4207 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4208 $(HOST_EXPORTS) \
4209 $(POSTSTAGE1_HOST_EXPORTS) \
4210 cd $(HOST_SUBDIR)/opcodes && \
4211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4212 CFLAGS="$(STAGEprofile_CFLAGS)" \
4213 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4214 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4219 TFLAGS="$(STAGEprofile_TFLAGS)" \
4220 $(TARGET-stageprofile-opcodes)
4222 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4223 clean-stageprofile: clean-stageprofile-opcodes
4224 clean-stageprofile-opcodes:
4225 @if [ $(current_stage) = stageprofile ]; then \
4226 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4227 else \
4228 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4229 $(MAKE) stageprofile-start; \
4230 fi; \
4231 cd $(HOST_SUBDIR)/opcodes && \
4232 $(MAKE) $(EXTRA_HOST_FLAGS) \
4233 $(POSTSTAGE1_FLAGS_TO_PASS) \
4234 clean
4235 @endif opcodes-bootstrap
4238 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4239 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4240 maybe-all-stagefeedback-opcodes:
4241 maybe-clean-stagefeedback-opcodes:
4242 @if opcodes-bootstrap
4243 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4244 all-stagefeedback: all-stagefeedback-opcodes
4245 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4246 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4248 @r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4251 $(HOST_EXPORTS) \
4252 $(POSTSTAGE1_HOST_EXPORTS) \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4255 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4256 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4257 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4258 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4259 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4260 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4261 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4262 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4263 $(TARGET-stagefeedback-opcodes)
4265 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4266 clean-stagefeedback: clean-stagefeedback-opcodes
4267 clean-stagefeedback-opcodes:
4268 @if [ $(current_stage) = stagefeedback ]; then \
4269 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4270 else \
4271 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4272 $(MAKE) stagefeedback-start; \
4273 fi; \
4274 cd $(HOST_SUBDIR)/opcodes && \
4275 $(MAKE) $(EXTRA_HOST_FLAGS) \
4276 $(POSTSTAGE1_FLAGS_TO_PASS) \
4277 clean
4278 @endif opcodes-bootstrap
4284 .PHONY: check-opcodes maybe-check-opcodes
4285 maybe-check-opcodes:
4286 @if opcodes
4287 maybe-check-opcodes: check-opcodes
4289 check-opcodes:
4290 @: $(MAKE); $(unstage)
4291 @r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4293 $(HOST_EXPORTS) \
4294 (cd $(HOST_SUBDIR)/opcodes && \
4295 $(MAKE) $(FLAGS_TO_PASS) check)
4297 @endif opcodes
4299 .PHONY: install-opcodes maybe-install-opcodes
4300 maybe-install-opcodes:
4301 @if opcodes
4302 maybe-install-opcodes: install-opcodes
4304 install-opcodes: installdirs
4305 @: $(MAKE); $(unstage)
4306 @r=`${PWD_COMMAND}`; export r; \
4307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4308 $(HOST_EXPORTS) \
4309 (cd $(HOST_SUBDIR)/opcodes && \
4310 $(MAKE) $(FLAGS_TO_PASS) install)
4312 @endif opcodes
4314 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4315 maybe-install-strip-opcodes:
4316 @if opcodes
4317 maybe-install-strip-opcodes: install-strip-opcodes
4319 install-strip-opcodes: installdirs
4320 @: $(MAKE); $(unstage)
4321 @r=`${PWD_COMMAND}`; export r; \
4322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4323 $(HOST_EXPORTS) \
4324 (cd $(HOST_SUBDIR)/opcodes && \
4325 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4327 @endif opcodes
4329 # Other targets (info, dvi, pdf, etc.)
4331 .PHONY: maybe-info-opcodes info-opcodes
4332 maybe-info-opcodes:
4333 @if opcodes
4334 maybe-info-opcodes: info-opcodes
4336 info-opcodes: \
4337 configure-opcodes
4338 @[ -f ./opcodes/Makefile ] || exit 0; \
4339 r=`${PWD_COMMAND}`; export r; \
4340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 $(HOST_EXPORTS) \
4342 for flag in $(EXTRA_HOST_FLAGS) ; do \
4343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4344 done; \
4345 echo "Doing info in opcodes" ; \
4346 (cd $(HOST_SUBDIR)/opcodes && \
4347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4349 "RANLIB=$${RANLIB}" \
4350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4351 info) \
4352 || exit 1
4354 @endif opcodes
4356 .PHONY: maybe-dvi-opcodes dvi-opcodes
4357 maybe-dvi-opcodes:
4358 @if opcodes
4359 maybe-dvi-opcodes: dvi-opcodes
4361 dvi-opcodes: \
4362 configure-opcodes
4363 @[ -f ./opcodes/Makefile ] || exit 0; \
4364 r=`${PWD_COMMAND}`; export r; \
4365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4366 $(HOST_EXPORTS) \
4367 for flag in $(EXTRA_HOST_FLAGS) ; do \
4368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4369 done; \
4370 echo "Doing dvi in opcodes" ; \
4371 (cd $(HOST_SUBDIR)/opcodes && \
4372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4374 "RANLIB=$${RANLIB}" \
4375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4376 dvi) \
4377 || exit 1
4379 @endif opcodes
4381 .PHONY: maybe-pdf-opcodes pdf-opcodes
4382 maybe-pdf-opcodes:
4383 @if opcodes
4384 maybe-pdf-opcodes: pdf-opcodes
4386 pdf-opcodes: \
4387 configure-opcodes
4388 @[ -f ./opcodes/Makefile ] || exit 0; \
4389 r=`${PWD_COMMAND}`; export r; \
4390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4391 $(HOST_EXPORTS) \
4392 for flag in $(EXTRA_HOST_FLAGS) ; do \
4393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4394 done; \
4395 echo "Doing pdf in opcodes" ; \
4396 (cd $(HOST_SUBDIR)/opcodes && \
4397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4399 "RANLIB=$${RANLIB}" \
4400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4401 pdf) \
4402 || exit 1
4404 @endif opcodes
4406 .PHONY: maybe-html-opcodes html-opcodes
4407 maybe-html-opcodes:
4408 @if opcodes
4409 maybe-html-opcodes: html-opcodes
4411 html-opcodes: \
4412 configure-opcodes
4413 @[ -f ./opcodes/Makefile ] || exit 0; \
4414 r=`${PWD_COMMAND}`; export r; \
4415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4416 $(HOST_EXPORTS) \
4417 for flag in $(EXTRA_HOST_FLAGS) ; do \
4418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4419 done; \
4420 echo "Doing html in opcodes" ; \
4421 (cd $(HOST_SUBDIR)/opcodes && \
4422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4424 "RANLIB=$${RANLIB}" \
4425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4426 html) \
4427 || exit 1
4429 @endif opcodes
4431 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4432 maybe-TAGS-opcodes:
4433 @if opcodes
4434 maybe-TAGS-opcodes: TAGS-opcodes
4436 TAGS-opcodes: \
4437 configure-opcodes
4438 @[ -f ./opcodes/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 $(HOST_EXPORTS) \
4442 for flag in $(EXTRA_HOST_FLAGS) ; do \
4443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4444 done; \
4445 echo "Doing TAGS in opcodes" ; \
4446 (cd $(HOST_SUBDIR)/opcodes && \
4447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4449 "RANLIB=$${RANLIB}" \
4450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4451 TAGS) \
4452 || exit 1
4454 @endif opcodes
4456 .PHONY: maybe-install-info-opcodes install-info-opcodes
4457 maybe-install-info-opcodes:
4458 @if opcodes
4459 maybe-install-info-opcodes: install-info-opcodes
4461 install-info-opcodes: \
4462 configure-opcodes \
4463 info-opcodes
4464 @[ -f ./opcodes/Makefile ] || exit 0; \
4465 r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(HOST_EXPORTS) \
4468 for flag in $(EXTRA_HOST_FLAGS) ; do \
4469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4470 done; \
4471 echo "Doing install-info in opcodes" ; \
4472 (cd $(HOST_SUBDIR)/opcodes && \
4473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4475 "RANLIB=$${RANLIB}" \
4476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4477 install-info) \
4478 || exit 1
4480 @endif opcodes
4482 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4483 maybe-install-pdf-opcodes:
4484 @if opcodes
4485 maybe-install-pdf-opcodes: install-pdf-opcodes
4487 install-pdf-opcodes: \
4488 configure-opcodes \
4489 pdf-opcodes
4490 @[ -f ./opcodes/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing install-pdf in opcodes" ; \
4498 (cd $(HOST_SUBDIR)/opcodes && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4503 install-pdf) \
4504 || exit 1
4506 @endif opcodes
4508 .PHONY: maybe-install-html-opcodes install-html-opcodes
4509 maybe-install-html-opcodes:
4510 @if opcodes
4511 maybe-install-html-opcodes: install-html-opcodes
4513 install-html-opcodes: \
4514 configure-opcodes \
4515 html-opcodes
4516 @[ -f ./opcodes/Makefile ] || exit 0; \
4517 r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(HOST_EXPORTS) \
4520 for flag in $(EXTRA_HOST_FLAGS) ; do \
4521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 done; \
4523 echo "Doing install-html in opcodes" ; \
4524 (cd $(HOST_SUBDIR)/opcodes && \
4525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4527 "RANLIB=$${RANLIB}" \
4528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4529 install-html) \
4530 || exit 1
4532 @endif opcodes
4534 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4535 maybe-installcheck-opcodes:
4536 @if opcodes
4537 maybe-installcheck-opcodes: installcheck-opcodes
4539 installcheck-opcodes: \
4540 configure-opcodes
4541 @[ -f ./opcodes/Makefile ] || exit 0; \
4542 r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 $(HOST_EXPORTS) \
4545 for flag in $(EXTRA_HOST_FLAGS) ; do \
4546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4547 done; \
4548 echo "Doing installcheck in opcodes" ; \
4549 (cd $(HOST_SUBDIR)/opcodes && \
4550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4552 "RANLIB=$${RANLIB}" \
4553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4554 installcheck) \
4555 || exit 1
4557 @endif opcodes
4559 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4560 maybe-mostlyclean-opcodes:
4561 @if opcodes
4562 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4564 mostlyclean-opcodes:
4565 @[ -f ./opcodes/Makefile ] || exit 0; \
4566 r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 $(HOST_EXPORTS) \
4569 for flag in $(EXTRA_HOST_FLAGS) ; do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571 done; \
4572 echo "Doing mostlyclean in opcodes" ; \
4573 (cd $(HOST_SUBDIR)/opcodes && \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4578 mostlyclean) \
4579 || exit 1
4581 @endif opcodes
4583 .PHONY: maybe-clean-opcodes clean-opcodes
4584 maybe-clean-opcodes:
4585 @if opcodes
4586 maybe-clean-opcodes: clean-opcodes
4588 clean-opcodes:
4589 @[ -f ./opcodes/Makefile ] || exit 0; \
4590 r=`${PWD_COMMAND}`; export r; \
4591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4592 $(HOST_EXPORTS) \
4593 for flag in $(EXTRA_HOST_FLAGS) ; do \
4594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4595 done; \
4596 echo "Doing clean in opcodes" ; \
4597 (cd $(HOST_SUBDIR)/opcodes && \
4598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4600 "RANLIB=$${RANLIB}" \
4601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4602 clean) \
4603 || exit 1
4605 @endif opcodes
4607 .PHONY: maybe-distclean-opcodes distclean-opcodes
4608 maybe-distclean-opcodes:
4609 @if opcodes
4610 maybe-distclean-opcodes: distclean-opcodes
4612 distclean-opcodes:
4613 @[ -f ./opcodes/Makefile ] || exit 0; \
4614 r=`${PWD_COMMAND}`; export r; \
4615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4616 $(HOST_EXPORTS) \
4617 for flag in $(EXTRA_HOST_FLAGS) ; do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4619 done; \
4620 echo "Doing distclean in opcodes" ; \
4621 (cd $(HOST_SUBDIR)/opcodes && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4626 distclean) \
4627 || exit 1
4629 @endif opcodes
4631 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4632 maybe-maintainer-clean-opcodes:
4633 @if opcodes
4634 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4636 maintainer-clean-opcodes:
4637 @[ -f ./opcodes/Makefile ] || exit 0; \
4638 r=`${PWD_COMMAND}`; export r; \
4639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4640 $(HOST_EXPORTS) \
4641 for flag in $(EXTRA_HOST_FLAGS) ; do \
4642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4643 done; \
4644 echo "Doing maintainer-clean in opcodes" ; \
4645 (cd $(HOST_SUBDIR)/opcodes && \
4646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4648 "RANLIB=$${RANLIB}" \
4649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4650 maintainer-clean) \
4651 || exit 1
4653 @endif opcodes
4657 .PHONY: configure-binutils maybe-configure-binutils
4658 maybe-configure-binutils:
4659 @if gcc-bootstrap
4660 configure-binutils: stage_current
4661 @endif gcc-bootstrap
4662 @if binutils
4663 maybe-configure-binutils: configure-binutils
4664 configure-binutils:
4665 @r=`${PWD_COMMAND}`; export r; \
4666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4667 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4669 $(HOST_EXPORTS) \
4670 echo Configuring in $(HOST_SUBDIR)/binutils; \
4671 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4672 case $(srcdir) in \
4673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4674 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4676 esac; \
4677 srcdiroption="--srcdir=$${topdir}/binutils"; \
4678 libsrcdir="$$s/binutils"; \
4679 $(SHELL) $${libsrcdir}/configure \
4680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4681 --target=${target_alias} $${srcdiroption} \
4682 || exit 1
4683 @endif binutils
4687 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4688 maybe-configure-stage1-binutils:
4689 @if binutils-bootstrap
4690 maybe-configure-stage1-binutils: configure-stage1-binutils
4691 configure-stage1-binutils:
4692 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4694 @r=`${PWD_COMMAND}`; export r; \
4695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696 TFLAGS="$(STAGE1_TFLAGS)"; \
4697 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4698 $(HOST_EXPORTS) \
4699 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4700 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4701 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4702 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4704 cd $(HOST_SUBDIR)/binutils || exit 1; \
4705 case $(srcdir) in \
4706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4707 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4709 esac; \
4710 srcdiroption="--srcdir=$${topdir}/binutils"; \
4711 libsrcdir="$$s/binutils"; \
4712 $(SHELL) $${libsrcdir}/configure \
4713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4714 --target=${target_alias} $${srcdiroption} \
4715 $(STAGE1_CONFIGURE_FLAGS)
4716 @endif binutils-bootstrap
4718 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4719 maybe-configure-stage2-binutils:
4720 @if binutils-bootstrap
4721 maybe-configure-stage2-binutils: configure-stage2-binutils
4722 configure-stage2-binutils:
4723 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4725 @r=`${PWD_COMMAND}`; export r; \
4726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4727 TFLAGS="$(STAGE2_TFLAGS)"; \
4728 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4729 $(HOST_EXPORTS) \
4730 $(POSTSTAGE1_HOST_EXPORTS) \
4731 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4732 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4733 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4734 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4736 cd $(HOST_SUBDIR)/binutils || exit 1; \
4737 case $(srcdir) in \
4738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4739 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4741 esac; \
4742 srcdiroption="--srcdir=$${topdir}/binutils"; \
4743 libsrcdir="$$s/binutils"; \
4744 $(SHELL) $${libsrcdir}/configure \
4745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4746 --target=${target_alias} $${srcdiroption} \
4747 --with-build-libsubdir=$(HOST_SUBDIR) \
4748 $(STAGE2_CONFIGURE_FLAGS)
4749 @endif binutils-bootstrap
4751 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4752 maybe-configure-stage3-binutils:
4753 @if binutils-bootstrap
4754 maybe-configure-stage3-binutils: configure-stage3-binutils
4755 configure-stage3-binutils:
4756 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4758 @r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 TFLAGS="$(STAGE3_TFLAGS)"; \
4761 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4762 $(HOST_EXPORTS) \
4763 $(POSTSTAGE1_HOST_EXPORTS) \
4764 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4765 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4766 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4767 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4769 cd $(HOST_SUBDIR)/binutils || exit 1; \
4770 case $(srcdir) in \
4771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4772 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4774 esac; \
4775 srcdiroption="--srcdir=$${topdir}/binutils"; \
4776 libsrcdir="$$s/binutils"; \
4777 $(SHELL) $${libsrcdir}/configure \
4778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4779 --target=${target_alias} $${srcdiroption} \
4780 --with-build-libsubdir=$(HOST_SUBDIR) \
4781 $(STAGE3_CONFIGURE_FLAGS)
4782 @endif binutils-bootstrap
4784 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4785 maybe-configure-stage4-binutils:
4786 @if binutils-bootstrap
4787 maybe-configure-stage4-binutils: configure-stage4-binutils
4788 configure-stage4-binutils:
4789 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4791 @r=`${PWD_COMMAND}`; export r; \
4792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4793 TFLAGS="$(STAGE4_TFLAGS)"; \
4794 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4795 $(HOST_EXPORTS) \
4796 $(POSTSTAGE1_HOST_EXPORTS) \
4797 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4798 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4799 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4800 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4802 cd $(HOST_SUBDIR)/binutils || exit 1; \
4803 case $(srcdir) in \
4804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4805 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4807 esac; \
4808 srcdiroption="--srcdir=$${topdir}/binutils"; \
4809 libsrcdir="$$s/binutils"; \
4810 $(SHELL) $${libsrcdir}/configure \
4811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4812 --target=${target_alias} $${srcdiroption} \
4813 --with-build-libsubdir=$(HOST_SUBDIR) \
4814 $(STAGE4_CONFIGURE_FLAGS)
4815 @endif binutils-bootstrap
4817 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4818 maybe-configure-stageprofile-binutils:
4819 @if binutils-bootstrap
4820 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4821 configure-stageprofile-binutils:
4822 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4824 @r=`${PWD_COMMAND}`; export r; \
4825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4826 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4827 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4828 $(HOST_EXPORTS) \
4829 $(POSTSTAGE1_HOST_EXPORTS) \
4830 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4831 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4832 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4833 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4835 cd $(HOST_SUBDIR)/binutils || exit 1; \
4836 case $(srcdir) in \
4837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4838 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4840 esac; \
4841 srcdiroption="--srcdir=$${topdir}/binutils"; \
4842 libsrcdir="$$s/binutils"; \
4843 $(SHELL) $${libsrcdir}/configure \
4844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4845 --target=${target_alias} $${srcdiroption} \
4846 --with-build-libsubdir=$(HOST_SUBDIR) \
4847 $(STAGEprofile_CONFIGURE_FLAGS)
4848 @endif binutils-bootstrap
4850 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4851 maybe-configure-stagefeedback-binutils:
4852 @if binutils-bootstrap
4853 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4854 configure-stagefeedback-binutils:
4855 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4860 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4861 $(HOST_EXPORTS) \
4862 $(POSTSTAGE1_HOST_EXPORTS) \
4863 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4864 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4865 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4866 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4868 cd $(HOST_SUBDIR)/binutils || exit 1; \
4869 case $(srcdir) in \
4870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4871 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4873 esac; \
4874 srcdiroption="--srcdir=$${topdir}/binutils"; \
4875 libsrcdir="$$s/binutils"; \
4876 $(SHELL) $${libsrcdir}/configure \
4877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4878 --target=${target_alias} $${srcdiroption} \
4879 --with-build-libsubdir=$(HOST_SUBDIR) \
4880 $(STAGEfeedback_CONFIGURE_FLAGS)
4881 @endif binutils-bootstrap
4887 .PHONY: all-binutils maybe-all-binutils
4888 maybe-all-binutils:
4889 @if gcc-bootstrap
4890 all-binutils: stage_current
4891 @endif gcc-bootstrap
4892 @if binutils
4893 TARGET-binutils=all
4894 maybe-all-binutils: all-binutils
4895 all-binutils: configure-binutils
4896 @r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 $(HOST_EXPORTS) \
4899 (cd $(HOST_SUBDIR)/binutils && \
4900 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4901 $(TARGET-binutils))
4902 @endif binutils
4906 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4907 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4908 maybe-all-stage1-binutils:
4909 maybe-clean-stage1-binutils:
4910 @if binutils-bootstrap
4911 maybe-all-stage1-binutils: all-stage1-binutils
4912 all-stage1: all-stage1-binutils
4913 TARGET-stage1-binutils = $(TARGET-binutils)
4914 all-stage1-binutils: configure-stage1-binutils
4915 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4916 @r=`${PWD_COMMAND}`; export r; \
4917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4918 TFLAGS="$(STAGE1_TFLAGS)"; \
4919 $(HOST_EXPORTS) \
4920 cd $(HOST_SUBDIR)/binutils && \
4921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4922 CFLAGS="$(STAGE1_CFLAGS)" \
4923 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4924 LIBCFLAGS="$(LIBCFLAGS)" \
4925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4928 $(EXTRA_HOST_FLAGS) \
4929 TFLAGS="$(STAGE1_TFLAGS)" \
4930 $(TARGET-stage1-binutils)
4932 maybe-clean-stage1-binutils: clean-stage1-binutils
4933 clean-stage1: clean-stage1-binutils
4934 clean-stage1-binutils:
4935 @if [ $(current_stage) = stage1 ]; then \
4936 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4937 else \
4938 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4939 $(MAKE) stage1-start; \
4940 fi; \
4941 cd $(HOST_SUBDIR)/binutils && \
4942 $(MAKE) $(EXTRA_HOST_FLAGS) \
4943 clean
4944 @endif binutils-bootstrap
4947 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4948 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4949 maybe-all-stage2-binutils:
4950 maybe-clean-stage2-binutils:
4951 @if binutils-bootstrap
4952 maybe-all-stage2-binutils: all-stage2-binutils
4953 all-stage2: all-stage2-binutils
4954 TARGET-stage2-binutils = $(TARGET-binutils)
4955 all-stage2-binutils: configure-stage2-binutils
4956 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4957 @r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 TFLAGS="$(STAGE2_TFLAGS)"; \
4960 $(HOST_EXPORTS) \
4961 $(POSTSTAGE1_HOST_EXPORTS) \
4962 cd $(HOST_SUBDIR)/binutils && \
4963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4964 CFLAGS="$(STAGE2_CFLAGS)" \
4965 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4966 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4970 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4971 TFLAGS="$(STAGE2_TFLAGS)" \
4972 $(TARGET-stage2-binutils)
4974 maybe-clean-stage2-binutils: clean-stage2-binutils
4975 clean-stage2: clean-stage2-binutils
4976 clean-stage2-binutils:
4977 @if [ $(current_stage) = stage2 ]; then \
4978 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4979 else \
4980 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4981 $(MAKE) stage2-start; \
4982 fi; \
4983 cd $(HOST_SUBDIR)/binutils && \
4984 $(MAKE) $(EXTRA_HOST_FLAGS) \
4985 $(POSTSTAGE1_FLAGS_TO_PASS) \
4986 clean
4987 @endif binutils-bootstrap
4990 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4991 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4992 maybe-all-stage3-binutils:
4993 maybe-clean-stage3-binutils:
4994 @if binutils-bootstrap
4995 maybe-all-stage3-binutils: all-stage3-binutils
4996 all-stage3: all-stage3-binutils
4997 TARGET-stage3-binutils = $(TARGET-binutils)
4998 all-stage3-binutils: configure-stage3-binutils
4999 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5000 @r=`${PWD_COMMAND}`; export r; \
5001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 TFLAGS="$(STAGE3_TFLAGS)"; \
5003 $(HOST_EXPORTS) \
5004 $(POSTSTAGE1_HOST_EXPORTS) \
5005 cd $(HOST_SUBDIR)/binutils && \
5006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5007 CFLAGS="$(STAGE3_CFLAGS)" \
5008 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5009 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5014 TFLAGS="$(STAGE3_TFLAGS)" \
5015 $(TARGET-stage3-binutils)
5017 maybe-clean-stage3-binutils: clean-stage3-binutils
5018 clean-stage3: clean-stage3-binutils
5019 clean-stage3-binutils:
5020 @if [ $(current_stage) = stage3 ]; then \
5021 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5022 else \
5023 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5024 $(MAKE) stage3-start; \
5025 fi; \
5026 cd $(HOST_SUBDIR)/binutils && \
5027 $(MAKE) $(EXTRA_HOST_FLAGS) \
5028 $(POSTSTAGE1_FLAGS_TO_PASS) \
5029 clean
5030 @endif binutils-bootstrap
5033 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5034 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5035 maybe-all-stage4-binutils:
5036 maybe-clean-stage4-binutils:
5037 @if binutils-bootstrap
5038 maybe-all-stage4-binutils: all-stage4-binutils
5039 all-stage4: all-stage4-binutils
5040 TARGET-stage4-binutils = $(TARGET-binutils)
5041 all-stage4-binutils: configure-stage4-binutils
5042 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5043 @r=`${PWD_COMMAND}`; export r; \
5044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5045 TFLAGS="$(STAGE4_TFLAGS)"; \
5046 $(HOST_EXPORTS) \
5047 $(POSTSTAGE1_HOST_EXPORTS) \
5048 cd $(HOST_SUBDIR)/binutils && \
5049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5050 CFLAGS="$(STAGE4_CFLAGS)" \
5051 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5052 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5056 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5057 TFLAGS="$(STAGE4_TFLAGS)" \
5058 $(TARGET-stage4-binutils)
5060 maybe-clean-stage4-binutils: clean-stage4-binutils
5061 clean-stage4: clean-stage4-binutils
5062 clean-stage4-binutils:
5063 @if [ $(current_stage) = stage4 ]; then \
5064 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5065 else \
5066 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5067 $(MAKE) stage4-start; \
5068 fi; \
5069 cd $(HOST_SUBDIR)/binutils && \
5070 $(MAKE) $(EXTRA_HOST_FLAGS) \
5071 $(POSTSTAGE1_FLAGS_TO_PASS) \
5072 clean
5073 @endif binutils-bootstrap
5076 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5077 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5078 maybe-all-stageprofile-binutils:
5079 maybe-clean-stageprofile-binutils:
5080 @if binutils-bootstrap
5081 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5082 all-stageprofile: all-stageprofile-binutils
5083 TARGET-stageprofile-binutils = $(TARGET-binutils)
5084 all-stageprofile-binutils: configure-stageprofile-binutils
5085 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5086 @r=`${PWD_COMMAND}`; export r; \
5087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5088 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5089 $(HOST_EXPORTS) \
5090 $(POSTSTAGE1_HOST_EXPORTS) \
5091 cd $(HOST_SUBDIR)/binutils && \
5092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5093 CFLAGS="$(STAGEprofile_CFLAGS)" \
5094 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5095 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5099 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5100 TFLAGS="$(STAGEprofile_TFLAGS)" \
5101 $(TARGET-stageprofile-binutils)
5103 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5104 clean-stageprofile: clean-stageprofile-binutils
5105 clean-stageprofile-binutils:
5106 @if [ $(current_stage) = stageprofile ]; then \
5107 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5108 else \
5109 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5110 $(MAKE) stageprofile-start; \
5111 fi; \
5112 cd $(HOST_SUBDIR)/binutils && \
5113 $(MAKE) $(EXTRA_HOST_FLAGS) \
5114 $(POSTSTAGE1_FLAGS_TO_PASS) \
5115 clean
5116 @endif binutils-bootstrap
5119 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5120 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5121 maybe-all-stagefeedback-binutils:
5122 maybe-clean-stagefeedback-binutils:
5123 @if binutils-bootstrap
5124 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5125 all-stagefeedback: all-stagefeedback-binutils
5126 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5127 all-stagefeedback-binutils: configure-stagefeedback-binutils
5128 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5129 @r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5132 $(HOST_EXPORTS) \
5133 $(POSTSTAGE1_HOST_EXPORTS) \
5134 cd $(HOST_SUBDIR)/binutils && \
5135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5136 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5137 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5138 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5143 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5144 $(TARGET-stagefeedback-binutils)
5146 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5147 clean-stagefeedback: clean-stagefeedback-binutils
5148 clean-stagefeedback-binutils:
5149 @if [ $(current_stage) = stagefeedback ]; then \
5150 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5151 else \
5152 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5153 $(MAKE) stagefeedback-start; \
5154 fi; \
5155 cd $(HOST_SUBDIR)/binutils && \
5156 $(MAKE) $(EXTRA_HOST_FLAGS) \
5157 $(POSTSTAGE1_FLAGS_TO_PASS) \
5158 clean
5159 @endif binutils-bootstrap
5165 .PHONY: check-binutils maybe-check-binutils
5166 maybe-check-binutils:
5167 @if binutils
5168 maybe-check-binutils: check-binutils
5170 check-binutils:
5171 @: $(MAKE); $(unstage)
5172 @r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 $(HOST_EXPORTS) \
5175 (cd $(HOST_SUBDIR)/binutils && \
5176 $(MAKE) $(FLAGS_TO_PASS) check)
5178 @endif binutils
5180 .PHONY: install-binutils maybe-install-binutils
5181 maybe-install-binutils:
5182 @if binutils
5183 maybe-install-binutils: install-binutils
5185 install-binutils: installdirs
5186 @: $(MAKE); $(unstage)
5187 @r=`${PWD_COMMAND}`; export r; \
5188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5189 $(HOST_EXPORTS) \
5190 (cd $(HOST_SUBDIR)/binutils && \
5191 $(MAKE) $(FLAGS_TO_PASS) install)
5193 @endif binutils
5195 .PHONY: install-strip-binutils maybe-install-strip-binutils
5196 maybe-install-strip-binutils:
5197 @if binutils
5198 maybe-install-strip-binutils: install-strip-binutils
5200 install-strip-binutils: installdirs
5201 @: $(MAKE); $(unstage)
5202 @r=`${PWD_COMMAND}`; export r; \
5203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5204 $(HOST_EXPORTS) \
5205 (cd $(HOST_SUBDIR)/binutils && \
5206 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5208 @endif binutils
5210 # Other targets (info, dvi, pdf, etc.)
5212 .PHONY: maybe-info-binutils info-binutils
5213 maybe-info-binutils:
5214 @if binutils
5215 maybe-info-binutils: info-binutils
5217 info-binutils: \
5218 configure-binutils
5219 @[ -f ./binutils/Makefile ] || exit 0; \
5220 r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 $(HOST_EXPORTS) \
5223 for flag in $(EXTRA_HOST_FLAGS) ; do \
5224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5225 done; \
5226 echo "Doing info in binutils" ; \
5227 (cd $(HOST_SUBDIR)/binutils && \
5228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5230 "RANLIB=$${RANLIB}" \
5231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5232 info) \
5233 || exit 1
5235 @endif binutils
5237 .PHONY: maybe-dvi-binutils dvi-binutils
5238 maybe-dvi-binutils:
5239 @if binutils
5240 maybe-dvi-binutils: dvi-binutils
5242 dvi-binutils: \
5243 configure-binutils
5244 @[ -f ./binutils/Makefile ] || exit 0; \
5245 r=`${PWD_COMMAND}`; export r; \
5246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5247 $(HOST_EXPORTS) \
5248 for flag in $(EXTRA_HOST_FLAGS) ; do \
5249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5250 done; \
5251 echo "Doing dvi in binutils" ; \
5252 (cd $(HOST_SUBDIR)/binutils && \
5253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5255 "RANLIB=$${RANLIB}" \
5256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5257 dvi) \
5258 || exit 1
5260 @endif binutils
5262 .PHONY: maybe-pdf-binutils pdf-binutils
5263 maybe-pdf-binutils:
5264 @if binutils
5265 maybe-pdf-binutils: pdf-binutils
5267 pdf-binutils: \
5268 configure-binutils
5269 @[ -f ./binutils/Makefile ] || exit 0; \
5270 r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 $(HOST_EXPORTS) \
5273 for flag in $(EXTRA_HOST_FLAGS) ; do \
5274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5275 done; \
5276 echo "Doing pdf in binutils" ; \
5277 (cd $(HOST_SUBDIR)/binutils && \
5278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5280 "RANLIB=$${RANLIB}" \
5281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5282 pdf) \
5283 || exit 1
5285 @endif binutils
5287 .PHONY: maybe-html-binutils html-binutils
5288 maybe-html-binutils:
5289 @if binutils
5290 maybe-html-binutils: html-binutils
5292 html-binutils: \
5293 configure-binutils
5294 @[ -f ./binutils/Makefile ] || exit 0; \
5295 r=`${PWD_COMMAND}`; export r; \
5296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 $(HOST_EXPORTS) \
5298 for flag in $(EXTRA_HOST_FLAGS) ; do \
5299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5300 done; \
5301 echo "Doing html in binutils" ; \
5302 (cd $(HOST_SUBDIR)/binutils && \
5303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5305 "RANLIB=$${RANLIB}" \
5306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5307 html) \
5308 || exit 1
5310 @endif binutils
5312 .PHONY: maybe-TAGS-binutils TAGS-binutils
5313 maybe-TAGS-binutils:
5314 @if binutils
5315 maybe-TAGS-binutils: TAGS-binutils
5317 TAGS-binutils: \
5318 configure-binutils
5319 @[ -f ./binutils/Makefile ] || exit 0; \
5320 r=`${PWD_COMMAND}`; export r; \
5321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5322 $(HOST_EXPORTS) \
5323 for flag in $(EXTRA_HOST_FLAGS) ; do \
5324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 done; \
5326 echo "Doing TAGS in binutils" ; \
5327 (cd $(HOST_SUBDIR)/binutils && \
5328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5330 "RANLIB=$${RANLIB}" \
5331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5332 TAGS) \
5333 || exit 1
5335 @endif binutils
5337 .PHONY: maybe-install-info-binutils install-info-binutils
5338 maybe-install-info-binutils:
5339 @if binutils
5340 maybe-install-info-binutils: install-info-binutils
5342 install-info-binutils: \
5343 configure-binutils \
5344 info-binutils
5345 @[ -f ./binutils/Makefile ] || exit 0; \
5346 r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 $(HOST_EXPORTS) \
5349 for flag in $(EXTRA_HOST_FLAGS) ; do \
5350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 done; \
5352 echo "Doing install-info in binutils" ; \
5353 (cd $(HOST_SUBDIR)/binutils && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5356 "RANLIB=$${RANLIB}" \
5357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5358 install-info) \
5359 || exit 1
5361 @endif binutils
5363 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5364 maybe-install-pdf-binutils:
5365 @if binutils
5366 maybe-install-pdf-binutils: install-pdf-binutils
5368 install-pdf-binutils: \
5369 configure-binutils \
5370 pdf-binutils
5371 @[ -f ./binutils/Makefile ] || exit 0; \
5372 r=`${PWD_COMMAND}`; export r; \
5373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 $(HOST_EXPORTS) \
5375 for flag in $(EXTRA_HOST_FLAGS) ; do \
5376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5377 done; \
5378 echo "Doing install-pdf in binutils" ; \
5379 (cd $(HOST_SUBDIR)/binutils && \
5380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5382 "RANLIB=$${RANLIB}" \
5383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5384 install-pdf) \
5385 || exit 1
5387 @endif binutils
5389 .PHONY: maybe-install-html-binutils install-html-binutils
5390 maybe-install-html-binutils:
5391 @if binutils
5392 maybe-install-html-binutils: install-html-binutils
5394 install-html-binutils: \
5395 configure-binutils \
5396 html-binutils
5397 @[ -f ./binutils/Makefile ] || exit 0; \
5398 r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400 $(HOST_EXPORTS) \
5401 for flag in $(EXTRA_HOST_FLAGS) ; do \
5402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5403 done; \
5404 echo "Doing install-html in binutils" ; \
5405 (cd $(HOST_SUBDIR)/binutils && \
5406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408 "RANLIB=$${RANLIB}" \
5409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5410 install-html) \
5411 || exit 1
5413 @endif binutils
5415 .PHONY: maybe-installcheck-binutils installcheck-binutils
5416 maybe-installcheck-binutils:
5417 @if binutils
5418 maybe-installcheck-binutils: installcheck-binutils
5420 installcheck-binutils: \
5421 configure-binutils
5422 @[ -f ./binutils/Makefile ] || exit 0; \
5423 r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5425 $(HOST_EXPORTS) \
5426 for flag in $(EXTRA_HOST_FLAGS) ; do \
5427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5428 done; \
5429 echo "Doing installcheck in binutils" ; \
5430 (cd $(HOST_SUBDIR)/binutils && \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433 "RANLIB=$${RANLIB}" \
5434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5435 installcheck) \
5436 || exit 1
5438 @endif binutils
5440 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5441 maybe-mostlyclean-binutils:
5442 @if binutils
5443 maybe-mostlyclean-binutils: mostlyclean-binutils
5445 mostlyclean-binutils:
5446 @[ -f ./binutils/Makefile ] || exit 0; \
5447 r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 $(HOST_EXPORTS) \
5450 for flag in $(EXTRA_HOST_FLAGS) ; do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing mostlyclean in binutils" ; \
5454 (cd $(HOST_SUBDIR)/binutils && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5459 mostlyclean) \
5460 || exit 1
5462 @endif binutils
5464 .PHONY: maybe-clean-binutils clean-binutils
5465 maybe-clean-binutils:
5466 @if binutils
5467 maybe-clean-binutils: clean-binutils
5469 clean-binutils:
5470 @[ -f ./binutils/Makefile ] || exit 0; \
5471 r=`${PWD_COMMAND}`; export r; \
5472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5473 $(HOST_EXPORTS) \
5474 for flag in $(EXTRA_HOST_FLAGS) ; do \
5475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5476 done; \
5477 echo "Doing clean in binutils" ; \
5478 (cd $(HOST_SUBDIR)/binutils && \
5479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5481 "RANLIB=$${RANLIB}" \
5482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5483 clean) \
5484 || exit 1
5486 @endif binutils
5488 .PHONY: maybe-distclean-binutils distclean-binutils
5489 maybe-distclean-binutils:
5490 @if binutils
5491 maybe-distclean-binutils: distclean-binutils
5493 distclean-binutils:
5494 @[ -f ./binutils/Makefile ] || exit 0; \
5495 r=`${PWD_COMMAND}`; export r; \
5496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5497 $(HOST_EXPORTS) \
5498 for flag in $(EXTRA_HOST_FLAGS) ; do \
5499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5500 done; \
5501 echo "Doing distclean in binutils" ; \
5502 (cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5505 "RANLIB=$${RANLIB}" \
5506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5507 distclean) \
5508 || exit 1
5510 @endif binutils
5512 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5513 maybe-maintainer-clean-binutils:
5514 @if binutils
5515 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5517 maintainer-clean-binutils:
5518 @[ -f ./binutils/Makefile ] || exit 0; \
5519 r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 for flag in $(EXTRA_HOST_FLAGS) ; do \
5523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5524 done; \
5525 echo "Doing maintainer-clean in binutils" ; \
5526 (cd $(HOST_SUBDIR)/binutils && \
5527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5529 "RANLIB=$${RANLIB}" \
5530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5531 maintainer-clean) \
5532 || exit 1
5534 @endif binutils
5538 .PHONY: configure-bison maybe-configure-bison
5539 maybe-configure-bison:
5540 @if gcc-bootstrap
5541 configure-bison: stage_current
5542 @endif gcc-bootstrap
5543 @if bison
5544 maybe-configure-bison: configure-bison
5545 configure-bison:
5546 @: $(MAKE); $(unstage)
5547 @r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5551 $(HOST_EXPORTS) \
5552 echo Configuring in $(HOST_SUBDIR)/bison; \
5553 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5554 case $(srcdir) in \
5555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5556 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5558 esac; \
5559 srcdiroption="--srcdir=$${topdir}/bison"; \
5560 libsrcdir="$$s/bison"; \
5561 $(SHELL) $${libsrcdir}/configure \
5562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5563 --target=${target_alias} $${srcdiroption} \
5564 || exit 1
5565 @endif bison
5571 .PHONY: all-bison maybe-all-bison
5572 maybe-all-bison:
5573 @if gcc-bootstrap
5574 all-bison: stage_current
5575 @endif gcc-bootstrap
5576 @if bison
5577 TARGET-bison=all
5578 maybe-all-bison: all-bison
5579 all-bison: configure-bison
5580 @: $(MAKE); $(unstage)
5581 @r=`${PWD_COMMAND}`; export r; \
5582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5583 $(HOST_EXPORTS) \
5584 (cd $(HOST_SUBDIR)/bison && \
5585 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5586 $(TARGET-bison))
5587 @endif bison
5592 .PHONY: check-bison maybe-check-bison
5593 maybe-check-bison:
5594 @if bison
5595 maybe-check-bison: check-bison
5597 # This module is only tested in a native toolchain.
5598 check-bison:
5599 @: $(MAKE); $(unstage)
5600 @if [ '$(host)' = '$(target)' ] ; then \
5601 r=`${PWD_COMMAND}`; export r; \
5602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5603 $(HOST_EXPORTS) \
5604 (cd $(HOST_SUBDIR)/bison && \
5605 $(MAKE) $(FLAGS_TO_PASS) check); \
5608 @endif bison
5610 .PHONY: install-bison maybe-install-bison
5611 maybe-install-bison:
5612 @if bison
5613 maybe-install-bison: install-bison
5615 install-bison: installdirs
5616 @: $(MAKE); $(unstage)
5617 @r=`${PWD_COMMAND}`; export r; \
5618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 $(HOST_EXPORTS) \
5620 (cd $(HOST_SUBDIR)/bison && \
5621 $(MAKE) $(FLAGS_TO_PASS) install)
5623 @endif bison
5625 .PHONY: install-strip-bison maybe-install-strip-bison
5626 maybe-install-strip-bison:
5627 @if bison
5628 maybe-install-strip-bison: install-strip-bison
5630 install-strip-bison: installdirs
5631 @: $(MAKE); $(unstage)
5632 @r=`${PWD_COMMAND}`; export r; \
5633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5634 $(HOST_EXPORTS) \
5635 (cd $(HOST_SUBDIR)/bison && \
5636 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5638 @endif bison
5640 # Other targets (info, dvi, pdf, etc.)
5642 .PHONY: maybe-info-bison info-bison
5643 maybe-info-bison:
5644 @if bison
5645 maybe-info-bison: info-bison
5647 info-bison: \
5648 configure-bison
5649 @: $(MAKE); $(unstage)
5650 @[ -f ./bison/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(HOST_EXPORTS) \
5654 for flag in $(EXTRA_HOST_FLAGS) ; do \
5655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5656 done; \
5657 echo "Doing info in bison" ; \
5658 (cd $(HOST_SUBDIR)/bison && \
5659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5661 "RANLIB=$${RANLIB}" \
5662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5663 info) \
5664 || exit 1
5666 @endif bison
5668 .PHONY: maybe-dvi-bison dvi-bison
5669 maybe-dvi-bison:
5670 @if bison
5671 maybe-dvi-bison: dvi-bison
5673 dvi-bison: \
5674 configure-bison
5675 @: $(MAKE); $(unstage)
5676 @[ -f ./bison/Makefile ] || exit 0; \
5677 r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(HOST_EXPORTS) \
5680 for flag in $(EXTRA_HOST_FLAGS) ; do \
5681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5682 done; \
5683 echo "Doing dvi in bison" ; \
5684 (cd $(HOST_SUBDIR)/bison && \
5685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5687 "RANLIB=$${RANLIB}" \
5688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5689 dvi) \
5690 || exit 1
5692 @endif bison
5694 .PHONY: maybe-pdf-bison pdf-bison
5695 maybe-pdf-bison:
5696 @if bison
5697 maybe-pdf-bison: pdf-bison
5699 pdf-bison: \
5700 configure-bison
5701 @: $(MAKE); $(unstage)
5702 @[ -f ./bison/Makefile ] || exit 0; \
5703 r=`${PWD_COMMAND}`; export r; \
5704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5705 $(HOST_EXPORTS) \
5706 for flag in $(EXTRA_HOST_FLAGS) ; do \
5707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5708 done; \
5709 echo "Doing pdf in bison" ; \
5710 (cd $(HOST_SUBDIR)/bison && \
5711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5713 "RANLIB=$${RANLIB}" \
5714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5715 pdf) \
5716 || exit 1
5718 @endif bison
5720 .PHONY: maybe-html-bison html-bison
5721 maybe-html-bison:
5722 @if bison
5723 maybe-html-bison: html-bison
5725 html-bison: \
5726 configure-bison
5727 @: $(MAKE); $(unstage)
5728 @[ -f ./bison/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS) ; do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing html in bison" ; \
5736 (cd $(HOST_SUBDIR)/bison && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5741 html) \
5742 || exit 1
5744 @endif bison
5746 .PHONY: maybe-TAGS-bison TAGS-bison
5747 maybe-TAGS-bison:
5748 @if bison
5749 maybe-TAGS-bison: TAGS-bison
5751 TAGS-bison: \
5752 configure-bison
5753 @: $(MAKE); $(unstage)
5754 @[ -f ./bison/Makefile ] || exit 0; \
5755 r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 $(HOST_EXPORTS) \
5758 for flag in $(EXTRA_HOST_FLAGS) ; do \
5759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5760 done; \
5761 echo "Doing TAGS in bison" ; \
5762 (cd $(HOST_SUBDIR)/bison && \
5763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5765 "RANLIB=$${RANLIB}" \
5766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5767 TAGS) \
5768 || exit 1
5770 @endif bison
5772 .PHONY: maybe-install-info-bison install-info-bison
5773 maybe-install-info-bison:
5774 @if bison
5775 maybe-install-info-bison: install-info-bison
5777 install-info-bison: \
5778 configure-bison \
5779 info-bison
5780 @: $(MAKE); $(unstage)
5781 @[ -f ./bison/Makefile ] || exit 0; \
5782 r=`${PWD_COMMAND}`; export r; \
5783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5784 $(HOST_EXPORTS) \
5785 for flag in $(EXTRA_HOST_FLAGS) ; do \
5786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5787 done; \
5788 echo "Doing install-info in bison" ; \
5789 (cd $(HOST_SUBDIR)/bison && \
5790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5792 "RANLIB=$${RANLIB}" \
5793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5794 install-info) \
5795 || exit 1
5797 @endif bison
5799 .PHONY: maybe-install-pdf-bison install-pdf-bison
5800 maybe-install-pdf-bison:
5801 @if bison
5802 maybe-install-pdf-bison: install-pdf-bison
5804 install-pdf-bison: \
5805 configure-bison \
5806 pdf-bison
5807 @: $(MAKE); $(unstage)
5808 @[ -f ./bison/Makefile ] || exit 0; \
5809 r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 for flag in $(EXTRA_HOST_FLAGS) ; do \
5813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5814 done; \
5815 echo "Doing install-pdf in bison" ; \
5816 (cd $(HOST_SUBDIR)/bison && \
5817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5819 "RANLIB=$${RANLIB}" \
5820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5821 install-pdf) \
5822 || exit 1
5824 @endif bison
5826 .PHONY: maybe-install-html-bison install-html-bison
5827 maybe-install-html-bison:
5828 @if bison
5829 maybe-install-html-bison: install-html-bison
5831 install-html-bison: \
5832 configure-bison \
5833 html-bison
5834 @: $(MAKE); $(unstage)
5835 @[ -f ./bison/Makefile ] || exit 0; \
5836 r=`${PWD_COMMAND}`; export r; \
5837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5838 $(HOST_EXPORTS) \
5839 for flag in $(EXTRA_HOST_FLAGS) ; do \
5840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5841 done; \
5842 echo "Doing install-html in bison" ; \
5843 (cd $(HOST_SUBDIR)/bison && \
5844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5846 "RANLIB=$${RANLIB}" \
5847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5848 install-html) \
5849 || exit 1
5851 @endif bison
5853 .PHONY: maybe-installcheck-bison installcheck-bison
5854 maybe-installcheck-bison:
5855 @if bison
5856 maybe-installcheck-bison: installcheck-bison
5858 installcheck-bison: \
5859 configure-bison
5860 @: $(MAKE); $(unstage)
5861 @[ -f ./bison/Makefile ] || exit 0; \
5862 r=`${PWD_COMMAND}`; export r; \
5863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5864 $(HOST_EXPORTS) \
5865 for flag in $(EXTRA_HOST_FLAGS) ; do \
5866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5867 done; \
5868 echo "Doing installcheck in bison" ; \
5869 (cd $(HOST_SUBDIR)/bison && \
5870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5872 "RANLIB=$${RANLIB}" \
5873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5874 installcheck) \
5875 || exit 1
5877 @endif bison
5879 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5880 maybe-mostlyclean-bison:
5881 @if bison
5882 maybe-mostlyclean-bison: mostlyclean-bison
5884 mostlyclean-bison:
5885 @: $(MAKE); $(unstage)
5886 @[ -f ./bison/Makefile ] || exit 0; \
5887 r=`${PWD_COMMAND}`; export r; \
5888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5889 $(HOST_EXPORTS) \
5890 for flag in $(EXTRA_HOST_FLAGS) ; do \
5891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5892 done; \
5893 echo "Doing mostlyclean in bison" ; \
5894 (cd $(HOST_SUBDIR)/bison && \
5895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5897 "RANLIB=$${RANLIB}" \
5898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5899 mostlyclean) \
5900 || exit 1
5902 @endif bison
5904 .PHONY: maybe-clean-bison clean-bison
5905 maybe-clean-bison:
5906 @if bison
5907 maybe-clean-bison: clean-bison
5909 clean-bison:
5910 @: $(MAKE); $(unstage)
5911 @[ -f ./bison/Makefile ] || exit 0; \
5912 r=`${PWD_COMMAND}`; export r; \
5913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5914 $(HOST_EXPORTS) \
5915 for flag in $(EXTRA_HOST_FLAGS) ; do \
5916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5917 done; \
5918 echo "Doing clean in bison" ; \
5919 (cd $(HOST_SUBDIR)/bison && \
5920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5922 "RANLIB=$${RANLIB}" \
5923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5924 clean) \
5925 || exit 1
5927 @endif bison
5929 .PHONY: maybe-distclean-bison distclean-bison
5930 maybe-distclean-bison:
5931 @if bison
5932 maybe-distclean-bison: distclean-bison
5934 distclean-bison:
5935 @: $(MAKE); $(unstage)
5936 @[ -f ./bison/Makefile ] || exit 0; \
5937 r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 $(HOST_EXPORTS) \
5940 for flag in $(EXTRA_HOST_FLAGS) ; do \
5941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5942 done; \
5943 echo "Doing distclean in bison" ; \
5944 (cd $(HOST_SUBDIR)/bison && \
5945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5947 "RANLIB=$${RANLIB}" \
5948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5949 distclean) \
5950 || exit 1
5952 @endif bison
5954 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5955 maybe-maintainer-clean-bison:
5956 @if bison
5957 maybe-maintainer-clean-bison: maintainer-clean-bison
5959 maintainer-clean-bison:
5960 @: $(MAKE); $(unstage)
5961 @[ -f ./bison/Makefile ] || exit 0; \
5962 r=`${PWD_COMMAND}`; export r; \
5963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5964 $(HOST_EXPORTS) \
5965 for flag in $(EXTRA_HOST_FLAGS) ; do \
5966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5967 done; \
5968 echo "Doing maintainer-clean in bison" ; \
5969 (cd $(HOST_SUBDIR)/bison && \
5970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5972 "RANLIB=$${RANLIB}" \
5973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5974 maintainer-clean) \
5975 || exit 1
5977 @endif bison
5981 .PHONY: configure-cgen maybe-configure-cgen
5982 maybe-configure-cgen:
5983 @if gcc-bootstrap
5984 configure-cgen: stage_current
5985 @endif gcc-bootstrap
5986 @if cgen
5987 maybe-configure-cgen: configure-cgen
5988 configure-cgen:
5989 @: $(MAKE); $(unstage)
5990 @r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5994 $(HOST_EXPORTS) \
5995 echo Configuring in $(HOST_SUBDIR)/cgen; \
5996 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5997 case $(srcdir) in \
5998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5999 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6001 esac; \
6002 srcdiroption="--srcdir=$${topdir}/cgen"; \
6003 libsrcdir="$$s/cgen"; \
6004 $(SHELL) $${libsrcdir}/configure \
6005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6006 --target=${target_alias} $${srcdiroption} \
6007 || exit 1
6008 @endif cgen
6014 .PHONY: all-cgen maybe-all-cgen
6015 maybe-all-cgen:
6016 @if gcc-bootstrap
6017 all-cgen: stage_current
6018 @endif gcc-bootstrap
6019 @if cgen
6020 TARGET-cgen=all
6021 maybe-all-cgen: all-cgen
6022 all-cgen: configure-cgen
6023 @: $(MAKE); $(unstage)
6024 @r=`${PWD_COMMAND}`; export r; \
6025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6026 $(HOST_EXPORTS) \
6027 (cd $(HOST_SUBDIR)/cgen && \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6029 $(TARGET-cgen))
6030 @endif cgen
6035 .PHONY: check-cgen maybe-check-cgen
6036 maybe-check-cgen:
6037 @if cgen
6038 maybe-check-cgen: check-cgen
6040 check-cgen:
6041 @: $(MAKE); $(unstage)
6042 @r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 $(HOST_EXPORTS) \
6045 (cd $(HOST_SUBDIR)/cgen && \
6046 $(MAKE) $(FLAGS_TO_PASS) check)
6048 @endif cgen
6050 .PHONY: install-cgen maybe-install-cgen
6051 maybe-install-cgen:
6052 @if cgen
6053 maybe-install-cgen: install-cgen
6055 install-cgen: installdirs
6056 @: $(MAKE); $(unstage)
6057 @r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 $(HOST_EXPORTS) \
6060 (cd $(HOST_SUBDIR)/cgen && \
6061 $(MAKE) $(FLAGS_TO_PASS) install)
6063 @endif cgen
6065 .PHONY: install-strip-cgen maybe-install-strip-cgen
6066 maybe-install-strip-cgen:
6067 @if cgen
6068 maybe-install-strip-cgen: install-strip-cgen
6070 install-strip-cgen: installdirs
6071 @: $(MAKE); $(unstage)
6072 @r=`${PWD_COMMAND}`; export r; \
6073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6074 $(HOST_EXPORTS) \
6075 (cd $(HOST_SUBDIR)/cgen && \
6076 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6078 @endif cgen
6080 # Other targets (info, dvi, pdf, etc.)
6082 .PHONY: maybe-info-cgen info-cgen
6083 maybe-info-cgen:
6084 @if cgen
6085 maybe-info-cgen: info-cgen
6087 info-cgen: \
6088 configure-cgen
6089 @: $(MAKE); $(unstage)
6090 @[ -f ./cgen/Makefile ] || exit 0; \
6091 r=`${PWD_COMMAND}`; export r; \
6092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6093 $(HOST_EXPORTS) \
6094 for flag in $(EXTRA_HOST_FLAGS) ; do \
6095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6096 done; \
6097 echo "Doing info in cgen" ; \
6098 (cd $(HOST_SUBDIR)/cgen && \
6099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6101 "RANLIB=$${RANLIB}" \
6102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6103 info) \
6104 || exit 1
6106 @endif cgen
6108 .PHONY: maybe-dvi-cgen dvi-cgen
6109 maybe-dvi-cgen:
6110 @if cgen
6111 maybe-dvi-cgen: dvi-cgen
6113 dvi-cgen: \
6114 configure-cgen
6115 @: $(MAKE); $(unstage)
6116 @[ -f ./cgen/Makefile ] || exit 0; \
6117 r=`${PWD_COMMAND}`; export r; \
6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119 $(HOST_EXPORTS) \
6120 for flag in $(EXTRA_HOST_FLAGS) ; do \
6121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6122 done; \
6123 echo "Doing dvi in cgen" ; \
6124 (cd $(HOST_SUBDIR)/cgen && \
6125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6127 "RANLIB=$${RANLIB}" \
6128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6129 dvi) \
6130 || exit 1
6132 @endif cgen
6134 .PHONY: maybe-pdf-cgen pdf-cgen
6135 maybe-pdf-cgen:
6136 @if cgen
6137 maybe-pdf-cgen: pdf-cgen
6139 pdf-cgen: \
6140 configure-cgen
6141 @: $(MAKE); $(unstage)
6142 @[ -f ./cgen/Makefile ] || exit 0; \
6143 r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 $(HOST_EXPORTS) \
6146 for flag in $(EXTRA_HOST_FLAGS) ; do \
6147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6148 done; \
6149 echo "Doing pdf in cgen" ; \
6150 (cd $(HOST_SUBDIR)/cgen && \
6151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6153 "RANLIB=$${RANLIB}" \
6154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6155 pdf) \
6156 || exit 1
6158 @endif cgen
6160 .PHONY: maybe-html-cgen html-cgen
6161 maybe-html-cgen:
6162 @if cgen
6163 maybe-html-cgen: html-cgen
6165 html-cgen: \
6166 configure-cgen
6167 @: $(MAKE); $(unstage)
6168 @[ -f ./cgen/Makefile ] || exit 0; \
6169 r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 for flag in $(EXTRA_HOST_FLAGS) ; do \
6173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6174 done; \
6175 echo "Doing html in cgen" ; \
6176 (cd $(HOST_SUBDIR)/cgen && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6179 "RANLIB=$${RANLIB}" \
6180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6181 html) \
6182 || exit 1
6184 @endif cgen
6186 .PHONY: maybe-TAGS-cgen TAGS-cgen
6187 maybe-TAGS-cgen:
6188 @if cgen
6189 maybe-TAGS-cgen: TAGS-cgen
6191 TAGS-cgen: \
6192 configure-cgen
6193 @: $(MAKE); $(unstage)
6194 @[ -f ./cgen/Makefile ] || exit 0; \
6195 r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 $(HOST_EXPORTS) \
6198 for flag in $(EXTRA_HOST_FLAGS) ; do \
6199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6200 done; \
6201 echo "Doing TAGS in cgen" ; \
6202 (cd $(HOST_SUBDIR)/cgen && \
6203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6205 "RANLIB=$${RANLIB}" \
6206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6207 TAGS) \
6208 || exit 1
6210 @endif cgen
6212 .PHONY: maybe-install-info-cgen install-info-cgen
6213 maybe-install-info-cgen:
6214 @if cgen
6215 maybe-install-info-cgen: install-info-cgen
6217 install-info-cgen: \
6218 configure-cgen \
6219 info-cgen
6220 @: $(MAKE); $(unstage)
6221 @[ -f ./cgen/Makefile ] || exit 0; \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6224 $(HOST_EXPORTS) \
6225 for flag in $(EXTRA_HOST_FLAGS) ; do \
6226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6227 done; \
6228 echo "Doing install-info in cgen" ; \
6229 (cd $(HOST_SUBDIR)/cgen && \
6230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6232 "RANLIB=$${RANLIB}" \
6233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6234 install-info) \
6235 || exit 1
6237 @endif cgen
6239 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6240 maybe-install-pdf-cgen:
6241 @if cgen
6242 maybe-install-pdf-cgen: install-pdf-cgen
6244 install-pdf-cgen: \
6245 configure-cgen \
6246 pdf-cgen
6247 @: $(MAKE); $(unstage)
6248 @[ -f ./cgen/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing install-pdf in cgen" ; \
6256 (cd $(HOST_SUBDIR)/cgen && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6261 install-pdf) \
6262 || exit 1
6264 @endif cgen
6266 .PHONY: maybe-install-html-cgen install-html-cgen
6267 maybe-install-html-cgen:
6268 @if cgen
6269 maybe-install-html-cgen: install-html-cgen
6271 install-html-cgen: \
6272 configure-cgen \
6273 html-cgen
6274 @: $(MAKE); $(unstage)
6275 @[ -f ./cgen/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 for flag in $(EXTRA_HOST_FLAGS) ; do \
6280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6281 done; \
6282 echo "Doing install-html in cgen" ; \
6283 (cd $(HOST_SUBDIR)/cgen && \
6284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6286 "RANLIB=$${RANLIB}" \
6287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6288 install-html) \
6289 || exit 1
6291 @endif cgen
6293 .PHONY: maybe-installcheck-cgen installcheck-cgen
6294 maybe-installcheck-cgen:
6295 @if cgen
6296 maybe-installcheck-cgen: installcheck-cgen
6298 installcheck-cgen: \
6299 configure-cgen
6300 @: $(MAKE); $(unstage)
6301 @[ -f ./cgen/Makefile ] || exit 0; \
6302 r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304 $(HOST_EXPORTS) \
6305 for flag in $(EXTRA_HOST_FLAGS) ; do \
6306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6307 done; \
6308 echo "Doing installcheck in cgen" ; \
6309 (cd $(HOST_SUBDIR)/cgen && \
6310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6312 "RANLIB=$${RANLIB}" \
6313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6314 installcheck) \
6315 || exit 1
6317 @endif cgen
6319 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6320 maybe-mostlyclean-cgen:
6321 @if cgen
6322 maybe-mostlyclean-cgen: mostlyclean-cgen
6324 mostlyclean-cgen:
6325 @: $(MAKE); $(unstage)
6326 @[ -f ./cgen/Makefile ] || exit 0; \
6327 r=`${PWD_COMMAND}`; export r; \
6328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6329 $(HOST_EXPORTS) \
6330 for flag in $(EXTRA_HOST_FLAGS) ; do \
6331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6332 done; \
6333 echo "Doing mostlyclean in cgen" ; \
6334 (cd $(HOST_SUBDIR)/cgen && \
6335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6337 "RANLIB=$${RANLIB}" \
6338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6339 mostlyclean) \
6340 || exit 1
6342 @endif cgen
6344 .PHONY: maybe-clean-cgen clean-cgen
6345 maybe-clean-cgen:
6346 @if cgen
6347 maybe-clean-cgen: clean-cgen
6349 clean-cgen:
6350 @: $(MAKE); $(unstage)
6351 @[ -f ./cgen/Makefile ] || exit 0; \
6352 r=`${PWD_COMMAND}`; export r; \
6353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6354 $(HOST_EXPORTS) \
6355 for flag in $(EXTRA_HOST_FLAGS) ; do \
6356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6357 done; \
6358 echo "Doing clean in cgen" ; \
6359 (cd $(HOST_SUBDIR)/cgen && \
6360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6362 "RANLIB=$${RANLIB}" \
6363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6364 clean) \
6365 || exit 1
6367 @endif cgen
6369 .PHONY: maybe-distclean-cgen distclean-cgen
6370 maybe-distclean-cgen:
6371 @if cgen
6372 maybe-distclean-cgen: distclean-cgen
6374 distclean-cgen:
6375 @: $(MAKE); $(unstage)
6376 @[ -f ./cgen/Makefile ] || exit 0; \
6377 r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 $(HOST_EXPORTS) \
6380 for flag in $(EXTRA_HOST_FLAGS) ; do \
6381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6382 done; \
6383 echo "Doing distclean in cgen" ; \
6384 (cd $(HOST_SUBDIR)/cgen && \
6385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6387 "RANLIB=$${RANLIB}" \
6388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6389 distclean) \
6390 || exit 1
6392 @endif cgen
6394 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6395 maybe-maintainer-clean-cgen:
6396 @if cgen
6397 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6399 maintainer-clean-cgen:
6400 @: $(MAKE); $(unstage)
6401 @[ -f ./cgen/Makefile ] || exit 0; \
6402 r=`${PWD_COMMAND}`; export r; \
6403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6404 $(HOST_EXPORTS) \
6405 for flag in $(EXTRA_HOST_FLAGS) ; do \
6406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6407 done; \
6408 echo "Doing maintainer-clean in cgen" ; \
6409 (cd $(HOST_SUBDIR)/cgen && \
6410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6412 "RANLIB=$${RANLIB}" \
6413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6414 maintainer-clean) \
6415 || exit 1
6417 @endif cgen
6421 .PHONY: configure-dejagnu maybe-configure-dejagnu
6422 maybe-configure-dejagnu:
6423 @if gcc-bootstrap
6424 configure-dejagnu: stage_current
6425 @endif gcc-bootstrap
6426 @if dejagnu
6427 maybe-configure-dejagnu: configure-dejagnu
6428 configure-dejagnu:
6429 @: $(MAKE); $(unstage)
6430 @r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6434 $(HOST_EXPORTS) \
6435 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6436 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6437 case $(srcdir) in \
6438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6439 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6441 esac; \
6442 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6443 libsrcdir="$$s/dejagnu"; \
6444 $(SHELL) $${libsrcdir}/configure \
6445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6446 --target=${target_alias} $${srcdiroption} \
6447 || exit 1
6448 @endif dejagnu
6454 .PHONY: all-dejagnu maybe-all-dejagnu
6455 maybe-all-dejagnu:
6456 @if gcc-bootstrap
6457 all-dejagnu: stage_current
6458 @endif gcc-bootstrap
6459 @if dejagnu
6460 TARGET-dejagnu=all
6461 maybe-all-dejagnu: all-dejagnu
6462 all-dejagnu: configure-dejagnu
6463 @: $(MAKE); $(unstage)
6464 @r=`${PWD_COMMAND}`; export r; \
6465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6466 $(HOST_EXPORTS) \
6467 (cd $(HOST_SUBDIR)/dejagnu && \
6468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6469 $(TARGET-dejagnu))
6470 @endif dejagnu
6475 .PHONY: check-dejagnu maybe-check-dejagnu
6476 maybe-check-dejagnu:
6477 @if dejagnu
6478 maybe-check-dejagnu: check-dejagnu
6480 check-dejagnu:
6481 @: $(MAKE); $(unstage)
6482 @r=`${PWD_COMMAND}`; export r; \
6483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6484 $(HOST_EXPORTS) \
6485 (cd $(HOST_SUBDIR)/dejagnu && \
6486 $(MAKE) $(FLAGS_TO_PASS) check)
6488 @endif dejagnu
6490 .PHONY: install-dejagnu maybe-install-dejagnu
6491 maybe-install-dejagnu:
6492 @if dejagnu
6493 maybe-install-dejagnu: install-dejagnu
6495 install-dejagnu: installdirs
6496 @: $(MAKE); $(unstage)
6497 @r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(HOST_EXPORTS) \
6500 (cd $(HOST_SUBDIR)/dejagnu && \
6501 $(MAKE) $(FLAGS_TO_PASS) install)
6503 @endif dejagnu
6505 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6506 maybe-install-strip-dejagnu:
6507 @if dejagnu
6508 maybe-install-strip-dejagnu: install-strip-dejagnu
6510 install-strip-dejagnu: installdirs
6511 @: $(MAKE); $(unstage)
6512 @r=`${PWD_COMMAND}`; export r; \
6513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6514 $(HOST_EXPORTS) \
6515 (cd $(HOST_SUBDIR)/dejagnu && \
6516 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6518 @endif dejagnu
6520 # Other targets (info, dvi, pdf, etc.)
6522 .PHONY: maybe-info-dejagnu info-dejagnu
6523 maybe-info-dejagnu:
6524 @if dejagnu
6525 maybe-info-dejagnu: info-dejagnu
6527 info-dejagnu: \
6528 configure-dejagnu
6529 @: $(MAKE); $(unstage)
6530 @[ -f ./dejagnu/Makefile ] || exit 0; \
6531 r=`${PWD_COMMAND}`; export r; \
6532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6533 $(HOST_EXPORTS) \
6534 for flag in $(EXTRA_HOST_FLAGS) ; do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 done; \
6537 echo "Doing info in dejagnu" ; \
6538 (cd $(HOST_SUBDIR)/dejagnu && \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6543 info) \
6544 || exit 1
6546 @endif dejagnu
6548 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6549 maybe-dvi-dejagnu:
6550 @if dejagnu
6551 maybe-dvi-dejagnu: dvi-dejagnu
6553 dvi-dejagnu: \
6554 configure-dejagnu
6555 @: $(MAKE); $(unstage)
6556 @[ -f ./dejagnu/Makefile ] || exit 0; \
6557 r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(HOST_EXPORTS) \
6560 for flag in $(EXTRA_HOST_FLAGS) ; do \
6561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6562 done; \
6563 echo "Doing dvi in dejagnu" ; \
6564 (cd $(HOST_SUBDIR)/dejagnu && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6567 "RANLIB=$${RANLIB}" \
6568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6569 dvi) \
6570 || exit 1
6572 @endif dejagnu
6574 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6575 maybe-pdf-dejagnu:
6576 @if dejagnu
6577 maybe-pdf-dejagnu: pdf-dejagnu
6579 pdf-dejagnu: \
6580 configure-dejagnu
6581 @: $(MAKE); $(unstage)
6582 @[ -f ./dejagnu/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 $(HOST_EXPORTS) \
6586 for flag in $(EXTRA_HOST_FLAGS) ; do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 done; \
6589 echo "Doing pdf in dejagnu" ; \
6590 (cd $(HOST_SUBDIR)/dejagnu && \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6595 pdf) \
6596 || exit 1
6598 @endif dejagnu
6600 .PHONY: maybe-html-dejagnu html-dejagnu
6601 maybe-html-dejagnu:
6602 @if dejagnu
6603 maybe-html-dejagnu: html-dejagnu
6605 html-dejagnu: \
6606 configure-dejagnu
6607 @: $(MAKE); $(unstage)
6608 @[ -f ./dejagnu/Makefile ] || exit 0; \
6609 r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 $(HOST_EXPORTS) \
6612 for flag in $(EXTRA_HOST_FLAGS) ; do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 done; \
6615 echo "Doing html in dejagnu" ; \
6616 (cd $(HOST_SUBDIR)/dejagnu && \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6621 html) \
6622 || exit 1
6624 @endif dejagnu
6626 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6627 maybe-TAGS-dejagnu:
6628 @if dejagnu
6629 maybe-TAGS-dejagnu: TAGS-dejagnu
6631 TAGS-dejagnu: \
6632 configure-dejagnu
6633 @: $(MAKE); $(unstage)
6634 @[ -f ./dejagnu/Makefile ] || exit 0; \
6635 r=`${PWD_COMMAND}`; export r; \
6636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6637 $(HOST_EXPORTS) \
6638 for flag in $(EXTRA_HOST_FLAGS) ; do \
6639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6640 done; \
6641 echo "Doing TAGS in dejagnu" ; \
6642 (cd $(HOST_SUBDIR)/dejagnu && \
6643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6645 "RANLIB=$${RANLIB}" \
6646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6647 TAGS) \
6648 || exit 1
6650 @endif dejagnu
6652 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6653 maybe-install-info-dejagnu:
6654 @if dejagnu
6655 maybe-install-info-dejagnu: install-info-dejagnu
6657 install-info-dejagnu: \
6658 configure-dejagnu \
6659 info-dejagnu
6660 @: $(MAKE); $(unstage)
6661 @[ -f ./dejagnu/Makefile ] || exit 0; \
6662 r=`${PWD_COMMAND}`; export r; \
6663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6664 $(HOST_EXPORTS) \
6665 for flag in $(EXTRA_HOST_FLAGS) ; do \
6666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6667 done; \
6668 echo "Doing install-info in dejagnu" ; \
6669 (cd $(HOST_SUBDIR)/dejagnu && \
6670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6672 "RANLIB=$${RANLIB}" \
6673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6674 install-info) \
6675 || exit 1
6677 @endif dejagnu
6679 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6680 maybe-install-pdf-dejagnu:
6681 @if dejagnu
6682 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6684 install-pdf-dejagnu: \
6685 configure-dejagnu \
6686 pdf-dejagnu
6687 @: $(MAKE); $(unstage)
6688 @[ -f ./dejagnu/Makefile ] || exit 0; \
6689 r=`${PWD_COMMAND}`; export r; \
6690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6691 $(HOST_EXPORTS) \
6692 for flag in $(EXTRA_HOST_FLAGS) ; do \
6693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6694 done; \
6695 echo "Doing install-pdf in dejagnu" ; \
6696 (cd $(HOST_SUBDIR)/dejagnu && \
6697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6699 "RANLIB=$${RANLIB}" \
6700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6701 install-pdf) \
6702 || exit 1
6704 @endif dejagnu
6706 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6707 maybe-install-html-dejagnu:
6708 @if dejagnu
6709 maybe-install-html-dejagnu: install-html-dejagnu
6711 install-html-dejagnu: \
6712 configure-dejagnu \
6713 html-dejagnu
6714 @: $(MAKE); $(unstage)
6715 @[ -f ./dejagnu/Makefile ] || exit 0; \
6716 r=`${PWD_COMMAND}`; export r; \
6717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718 $(HOST_EXPORTS) \
6719 for flag in $(EXTRA_HOST_FLAGS) ; do \
6720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6721 done; \
6722 echo "Doing install-html in dejagnu" ; \
6723 (cd $(HOST_SUBDIR)/dejagnu && \
6724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6726 "RANLIB=$${RANLIB}" \
6727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6728 install-html) \
6729 || exit 1
6731 @endif dejagnu
6733 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6734 maybe-installcheck-dejagnu:
6735 @if dejagnu
6736 maybe-installcheck-dejagnu: installcheck-dejagnu
6738 installcheck-dejagnu: \
6739 configure-dejagnu
6740 @: $(MAKE); $(unstage)
6741 @[ -f ./dejagnu/Makefile ] || exit 0; \
6742 r=`${PWD_COMMAND}`; export r; \
6743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6744 $(HOST_EXPORTS) \
6745 for flag in $(EXTRA_HOST_FLAGS) ; do \
6746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6747 done; \
6748 echo "Doing installcheck in dejagnu" ; \
6749 (cd $(HOST_SUBDIR)/dejagnu && \
6750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6752 "RANLIB=$${RANLIB}" \
6753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6754 installcheck) \
6755 || exit 1
6757 @endif dejagnu
6759 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6760 maybe-mostlyclean-dejagnu:
6761 @if dejagnu
6762 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6764 mostlyclean-dejagnu:
6765 @: $(MAKE); $(unstage)
6766 @[ -f ./dejagnu/Makefile ] || exit 0; \
6767 r=`${PWD_COMMAND}`; export r; \
6768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769 $(HOST_EXPORTS) \
6770 for flag in $(EXTRA_HOST_FLAGS) ; do \
6771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6772 done; \
6773 echo "Doing mostlyclean in dejagnu" ; \
6774 (cd $(HOST_SUBDIR)/dejagnu && \
6775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6777 "RANLIB=$${RANLIB}" \
6778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6779 mostlyclean) \
6780 || exit 1
6782 @endif dejagnu
6784 .PHONY: maybe-clean-dejagnu clean-dejagnu
6785 maybe-clean-dejagnu:
6786 @if dejagnu
6787 maybe-clean-dejagnu: clean-dejagnu
6789 clean-dejagnu:
6790 @: $(MAKE); $(unstage)
6791 @[ -f ./dejagnu/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(HOST_EXPORTS) \
6795 for flag in $(EXTRA_HOST_FLAGS) ; do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing clean in dejagnu" ; \
6799 (cd $(HOST_SUBDIR)/dejagnu && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6804 clean) \
6805 || exit 1
6807 @endif dejagnu
6809 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6810 maybe-distclean-dejagnu:
6811 @if dejagnu
6812 maybe-distclean-dejagnu: distclean-dejagnu
6814 distclean-dejagnu:
6815 @: $(MAKE); $(unstage)
6816 @[ -f ./dejagnu/Makefile ] || exit 0; \
6817 r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 $(HOST_EXPORTS) \
6820 for flag in $(EXTRA_HOST_FLAGS) ; do \
6821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 done; \
6823 echo "Doing distclean in dejagnu" ; \
6824 (cd $(HOST_SUBDIR)/dejagnu && \
6825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6827 "RANLIB=$${RANLIB}" \
6828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6829 distclean) \
6830 || exit 1
6832 @endif dejagnu
6834 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6835 maybe-maintainer-clean-dejagnu:
6836 @if dejagnu
6837 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6839 maintainer-clean-dejagnu:
6840 @: $(MAKE); $(unstage)
6841 @[ -f ./dejagnu/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing maintainer-clean in dejagnu" ; \
6849 (cd $(HOST_SUBDIR)/dejagnu && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6854 maintainer-clean) \
6855 || exit 1
6857 @endif dejagnu
6861 .PHONY: configure-etc maybe-configure-etc
6862 maybe-configure-etc:
6863 @if gcc-bootstrap
6864 configure-etc: stage_current
6865 @endif gcc-bootstrap
6866 @if etc
6867 maybe-configure-etc: configure-etc
6868 configure-etc:
6869 @: $(MAKE); $(unstage)
6870 @r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6874 $(HOST_EXPORTS) \
6875 echo Configuring in $(HOST_SUBDIR)/etc; \
6876 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6877 case $(srcdir) in \
6878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6879 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6881 esac; \
6882 srcdiroption="--srcdir=$${topdir}/etc"; \
6883 libsrcdir="$$s/etc"; \
6884 $(SHELL) $${libsrcdir}/configure \
6885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6886 --target=${target_alias} $${srcdiroption} \
6887 || exit 1
6888 @endif etc
6894 .PHONY: all-etc maybe-all-etc
6895 maybe-all-etc:
6896 @if gcc-bootstrap
6897 all-etc: stage_current
6898 @endif gcc-bootstrap
6899 @if etc
6900 TARGET-etc=all
6901 maybe-all-etc: all-etc
6902 all-etc: configure-etc
6903 @: $(MAKE); $(unstage)
6904 @r=`${PWD_COMMAND}`; export r; \
6905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6906 $(HOST_EXPORTS) \
6907 (cd $(HOST_SUBDIR)/etc && \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6909 $(TARGET-etc))
6910 @endif etc
6915 .PHONY: check-etc maybe-check-etc
6916 maybe-check-etc:
6917 @if etc
6918 maybe-check-etc: check-etc
6920 check-etc:
6921 @: $(MAKE); $(unstage)
6922 @r=`${PWD_COMMAND}`; export r; \
6923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6924 $(HOST_EXPORTS) \
6925 (cd $(HOST_SUBDIR)/etc && \
6926 $(MAKE) $(FLAGS_TO_PASS) check)
6928 @endif etc
6930 .PHONY: install-etc maybe-install-etc
6931 maybe-install-etc:
6932 @if etc
6933 maybe-install-etc: install-etc
6935 install-etc: installdirs
6936 @: $(MAKE); $(unstage)
6937 @r=`${PWD_COMMAND}`; export r; \
6938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 $(HOST_EXPORTS) \
6940 (cd $(HOST_SUBDIR)/etc && \
6941 $(MAKE) $(FLAGS_TO_PASS) install)
6943 @endif etc
6945 .PHONY: install-strip-etc maybe-install-strip-etc
6946 maybe-install-strip-etc:
6947 @if etc
6948 maybe-install-strip-etc: install-strip-etc
6950 install-strip-etc: installdirs
6951 @: $(MAKE); $(unstage)
6952 @r=`${PWD_COMMAND}`; export r; \
6953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6954 $(HOST_EXPORTS) \
6955 (cd $(HOST_SUBDIR)/etc && \
6956 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6958 @endif etc
6960 # Other targets (info, dvi, pdf, etc.)
6962 .PHONY: maybe-info-etc info-etc
6963 maybe-info-etc:
6964 @if etc
6965 maybe-info-etc: info-etc
6967 info-etc: \
6968 configure-etc
6969 @: $(MAKE); $(unstage)
6970 @[ -f ./etc/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing info in etc" ; \
6978 (cd $(HOST_SUBDIR)/etc && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6983 info) \
6984 || exit 1
6986 @endif etc
6988 .PHONY: maybe-dvi-etc dvi-etc
6989 maybe-dvi-etc:
6990 @if etc
6991 maybe-dvi-etc: dvi-etc
6993 dvi-etc: \
6994 configure-etc
6995 @: $(MAKE); $(unstage)
6996 @[ -f ./etc/Makefile ] || exit 0; \
6997 r=`${PWD_COMMAND}`; export r; \
6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 $(HOST_EXPORTS) \
7000 for flag in $(EXTRA_HOST_FLAGS) ; do \
7001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7002 done; \
7003 echo "Doing dvi in etc" ; \
7004 (cd $(HOST_SUBDIR)/etc && \
7005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7007 "RANLIB=$${RANLIB}" \
7008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7009 dvi) \
7010 || exit 1
7012 @endif etc
7014 .PHONY: maybe-pdf-etc pdf-etc
7015 maybe-pdf-etc:
7016 @if etc
7017 maybe-pdf-etc: pdf-etc
7019 pdf-etc: \
7020 configure-etc
7021 @: $(MAKE); $(unstage)
7022 @[ -f ./etc/Makefile ] || exit 0; \
7023 r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025 $(HOST_EXPORTS) \
7026 for flag in $(EXTRA_HOST_FLAGS) ; do \
7027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7028 done; \
7029 echo "Doing pdf in etc" ; \
7030 (cd $(HOST_SUBDIR)/etc && \
7031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7033 "RANLIB=$${RANLIB}" \
7034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7035 pdf) \
7036 || exit 1
7038 @endif etc
7040 .PHONY: maybe-html-etc html-etc
7041 maybe-html-etc:
7042 @if etc
7043 maybe-html-etc: html-etc
7045 html-etc: \
7046 configure-etc
7047 @: $(MAKE); $(unstage)
7048 @[ -f ./etc/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing html in etc" ; \
7056 (cd $(HOST_SUBDIR)/etc && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7061 html) \
7062 || exit 1
7064 @endif etc
7066 .PHONY: maybe-TAGS-etc TAGS-etc
7067 maybe-TAGS-etc:
7068 @if etc
7069 maybe-TAGS-etc: TAGS-etc
7071 TAGS-etc: \
7072 configure-etc
7073 @: $(MAKE); $(unstage)
7074 @[ -f ./etc/Makefile ] || exit 0; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 for flag in $(EXTRA_HOST_FLAGS) ; do \
7079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7080 done; \
7081 echo "Doing TAGS in etc" ; \
7082 (cd $(HOST_SUBDIR)/etc && \
7083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7085 "RANLIB=$${RANLIB}" \
7086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7087 TAGS) \
7088 || exit 1
7090 @endif etc
7092 .PHONY: maybe-install-info-etc install-info-etc
7093 maybe-install-info-etc:
7094 @if etc
7095 maybe-install-info-etc: install-info-etc
7097 install-info-etc: \
7098 configure-etc \
7099 info-etc
7100 @: $(MAKE); $(unstage)
7101 @[ -f ./etc/Makefile ] || exit 0; \
7102 r=`${PWD_COMMAND}`; export r; \
7103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7104 $(HOST_EXPORTS) \
7105 for flag in $(EXTRA_HOST_FLAGS) ; do \
7106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7107 done; \
7108 echo "Doing install-info in etc" ; \
7109 (cd $(HOST_SUBDIR)/etc && \
7110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7112 "RANLIB=$${RANLIB}" \
7113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7114 install-info) \
7115 || exit 1
7117 @endif etc
7119 .PHONY: maybe-install-pdf-etc install-pdf-etc
7120 maybe-install-pdf-etc:
7121 @if etc
7122 maybe-install-pdf-etc: install-pdf-etc
7124 install-pdf-etc: \
7125 configure-etc \
7126 pdf-etc
7127 @: $(MAKE); $(unstage)
7128 @[ -f ./etc/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134 done; \
7135 echo "Doing install-pdf in etc" ; \
7136 (cd $(HOST_SUBDIR)/etc && \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7141 install-pdf) \
7142 || exit 1
7144 @endif etc
7146 .PHONY: maybe-install-html-etc install-html-etc
7147 maybe-install-html-etc:
7148 @if etc
7149 maybe-install-html-etc: install-html-etc
7151 install-html-etc: \
7152 configure-etc \
7153 html-etc
7154 @: $(MAKE); $(unstage)
7155 @[ -f ./etc/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing install-html in etc" ; \
7163 (cd $(HOST_SUBDIR)/etc && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7168 install-html) \
7169 || exit 1
7171 @endif etc
7173 .PHONY: maybe-installcheck-etc installcheck-etc
7174 maybe-installcheck-etc:
7175 @if etc
7176 maybe-installcheck-etc: installcheck-etc
7178 installcheck-etc: \
7179 configure-etc
7180 @: $(MAKE); $(unstage)
7181 @[ -f ./etc/Makefile ] || exit 0; \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(HOST_EXPORTS) \
7185 for flag in $(EXTRA_HOST_FLAGS) ; do \
7186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 done; \
7188 echo "Doing installcheck in etc" ; \
7189 (cd $(HOST_SUBDIR)/etc && \
7190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7192 "RANLIB=$${RANLIB}" \
7193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7194 installcheck) \
7195 || exit 1
7197 @endif etc
7199 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7200 maybe-mostlyclean-etc:
7201 @if etc
7202 maybe-mostlyclean-etc: mostlyclean-etc
7204 mostlyclean-etc:
7205 @: $(MAKE); $(unstage)
7206 @[ -f ./etc/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing mostlyclean in etc" ; \
7214 (cd $(HOST_SUBDIR)/etc && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7219 mostlyclean) \
7220 || exit 1
7222 @endif etc
7224 .PHONY: maybe-clean-etc clean-etc
7225 maybe-clean-etc:
7226 @if etc
7227 maybe-clean-etc: clean-etc
7229 clean-etc:
7230 @: $(MAKE); $(unstage)
7231 @[ -f ./etc/Makefile ] || exit 0; \
7232 r=`${PWD_COMMAND}`; export r; \
7233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7234 $(HOST_EXPORTS) \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7237 done; \
7238 echo "Doing clean in etc" ; \
7239 (cd $(HOST_SUBDIR)/etc && \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7244 clean) \
7245 || exit 1
7247 @endif etc
7249 .PHONY: maybe-distclean-etc distclean-etc
7250 maybe-distclean-etc:
7251 @if etc
7252 maybe-distclean-etc: distclean-etc
7254 distclean-etc:
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./etc/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing distclean in etc" ; \
7264 (cd $(HOST_SUBDIR)/etc && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 distclean) \
7270 || exit 1
7272 @endif etc
7274 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7275 maybe-maintainer-clean-etc:
7276 @if etc
7277 maybe-maintainer-clean-etc: maintainer-clean-etc
7279 maintainer-clean-etc:
7280 @: $(MAKE); $(unstage)
7281 @[ -f ./etc/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing maintainer-clean in etc" ; \
7289 (cd $(HOST_SUBDIR)/etc && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7294 maintainer-clean) \
7295 || exit 1
7297 @endif etc
7301 .PHONY: configure-fastjar maybe-configure-fastjar
7302 maybe-configure-fastjar:
7303 @if gcc-bootstrap
7304 configure-fastjar: stage_current
7305 @endif gcc-bootstrap
7306 @if fastjar
7307 maybe-configure-fastjar: configure-fastjar
7308 configure-fastjar:
7309 @: $(MAKE); $(unstage)
7310 @r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7314 $(HOST_EXPORTS) \
7315 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7316 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7317 case $(srcdir) in \
7318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7319 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7321 esac; \
7322 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7323 libsrcdir="$$s/fastjar"; \
7324 $(SHELL) $${libsrcdir}/configure \
7325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7326 --target=${target_alias} $${srcdiroption} \
7327 || exit 1
7328 @endif fastjar
7334 .PHONY: all-fastjar maybe-all-fastjar
7335 maybe-all-fastjar:
7336 @if gcc-bootstrap
7337 all-fastjar: stage_current
7338 @endif gcc-bootstrap
7339 @if fastjar
7340 TARGET-fastjar=all
7341 maybe-all-fastjar: all-fastjar
7342 all-fastjar: configure-fastjar
7343 @: $(MAKE); $(unstage)
7344 @r=`${PWD_COMMAND}`; export r; \
7345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7346 $(HOST_EXPORTS) \
7347 (cd $(HOST_SUBDIR)/fastjar && \
7348 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7349 $(TARGET-fastjar))
7350 @endif fastjar
7355 .PHONY: check-fastjar maybe-check-fastjar
7356 maybe-check-fastjar:
7357 @if fastjar
7358 maybe-check-fastjar: check-fastjar
7360 # This module is only tested in a native toolchain.
7361 check-fastjar:
7362 @: $(MAKE); $(unstage)
7363 @if [ '$(host)' = '$(target)' ] ; then \
7364 r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(HOST_EXPORTS) \
7367 (cd $(HOST_SUBDIR)/fastjar && \
7368 $(MAKE) $(FLAGS_TO_PASS) check); \
7371 @endif fastjar
7373 .PHONY: install-fastjar maybe-install-fastjar
7374 maybe-install-fastjar:
7375 @if fastjar
7376 maybe-install-fastjar: install-fastjar
7378 install-fastjar: installdirs
7379 @: $(MAKE); $(unstage)
7380 @r=`${PWD_COMMAND}`; export r; \
7381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7382 $(HOST_EXPORTS) \
7383 (cd $(HOST_SUBDIR)/fastjar && \
7384 $(MAKE) $(FLAGS_TO_PASS) install)
7386 @endif fastjar
7388 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7389 maybe-install-strip-fastjar:
7390 @if fastjar
7391 maybe-install-strip-fastjar: install-strip-fastjar
7393 install-strip-fastjar: installdirs
7394 @: $(MAKE); $(unstage)
7395 @r=`${PWD_COMMAND}`; export r; \
7396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7397 $(HOST_EXPORTS) \
7398 (cd $(HOST_SUBDIR)/fastjar && \
7399 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7401 @endif fastjar
7403 # Other targets (info, dvi, pdf, etc.)
7405 .PHONY: maybe-info-fastjar info-fastjar
7406 maybe-info-fastjar:
7407 @if fastjar
7408 maybe-info-fastjar: info-fastjar
7410 info-fastjar: \
7411 configure-fastjar
7412 @: $(MAKE); $(unstage)
7413 @[ -f ./fastjar/Makefile ] || exit 0; \
7414 r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(HOST_EXPORTS) \
7417 for flag in $(EXTRA_HOST_FLAGS) ; do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 done; \
7420 echo "Doing info in fastjar" ; \
7421 (cd $(HOST_SUBDIR)/fastjar && \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7426 info) \
7427 || exit 1
7429 @endif fastjar
7431 .PHONY: maybe-dvi-fastjar dvi-fastjar
7432 maybe-dvi-fastjar:
7433 @if fastjar
7434 maybe-dvi-fastjar: dvi-fastjar
7436 dvi-fastjar: \
7437 configure-fastjar
7438 @: $(MAKE); $(unstage)
7439 @[ -f ./fastjar/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing dvi in fastjar" ; \
7447 (cd $(HOST_SUBDIR)/fastjar && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7452 dvi) \
7453 || exit 1
7455 @endif fastjar
7457 .PHONY: maybe-pdf-fastjar pdf-fastjar
7458 maybe-pdf-fastjar:
7459 @if fastjar
7460 maybe-pdf-fastjar: pdf-fastjar
7462 pdf-fastjar: \
7463 configure-fastjar
7464 @: $(MAKE); $(unstage)
7465 @[ -f ./fastjar/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing pdf in fastjar" ; \
7473 (cd $(HOST_SUBDIR)/fastjar && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7478 pdf) \
7479 || exit 1
7481 @endif fastjar
7483 .PHONY: maybe-html-fastjar html-fastjar
7484 maybe-html-fastjar:
7485 @if fastjar
7486 maybe-html-fastjar: html-fastjar
7488 html-fastjar: \
7489 configure-fastjar
7490 @: $(MAKE); $(unstage)
7491 @[ -f ./fastjar/Makefile ] || exit 0; \
7492 r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 $(HOST_EXPORTS) \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 done; \
7498 echo "Doing html in fastjar" ; \
7499 (cd $(HOST_SUBDIR)/fastjar && \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7504 html) \
7505 || exit 1
7507 @endif fastjar
7509 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7510 maybe-TAGS-fastjar:
7511 @if fastjar
7512 maybe-TAGS-fastjar: TAGS-fastjar
7514 TAGS-fastjar: \
7515 configure-fastjar
7516 @: $(MAKE); $(unstage)
7517 @[ -f ./fastjar/Makefile ] || exit 0; \
7518 r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(HOST_EXPORTS) \
7521 for flag in $(EXTRA_HOST_FLAGS) ; do \
7522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 done; \
7524 echo "Doing TAGS in fastjar" ; \
7525 (cd $(HOST_SUBDIR)/fastjar && \
7526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7528 "RANLIB=$${RANLIB}" \
7529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7530 TAGS) \
7531 || exit 1
7533 @endif fastjar
7535 .PHONY: maybe-install-info-fastjar install-info-fastjar
7536 maybe-install-info-fastjar:
7537 @if fastjar
7538 maybe-install-info-fastjar: install-info-fastjar
7540 install-info-fastjar: \
7541 configure-fastjar \
7542 info-fastjar
7543 @: $(MAKE); $(unstage)
7544 @[ -f ./fastjar/Makefile ] || exit 0; \
7545 r=`${PWD_COMMAND}`; export r; \
7546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7547 $(HOST_EXPORTS) \
7548 for flag in $(EXTRA_HOST_FLAGS) ; do \
7549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7550 done; \
7551 echo "Doing install-info in fastjar" ; \
7552 (cd $(HOST_SUBDIR)/fastjar && \
7553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7555 "RANLIB=$${RANLIB}" \
7556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7557 install-info) \
7558 || exit 1
7560 @endif fastjar
7562 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7563 maybe-install-pdf-fastjar:
7564 @if fastjar
7565 maybe-install-pdf-fastjar: install-pdf-fastjar
7567 install-pdf-fastjar: \
7568 configure-fastjar \
7569 pdf-fastjar
7570 @: $(MAKE); $(unstage)
7571 @[ -f ./fastjar/Makefile ] || exit 0; \
7572 r=`${PWD_COMMAND}`; export r; \
7573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7574 $(HOST_EXPORTS) \
7575 for flag in $(EXTRA_HOST_FLAGS) ; do \
7576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7577 done; \
7578 echo "Doing install-pdf in fastjar" ; \
7579 (cd $(HOST_SUBDIR)/fastjar && \
7580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7582 "RANLIB=$${RANLIB}" \
7583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7584 install-pdf) \
7585 || exit 1
7587 @endif fastjar
7589 .PHONY: maybe-install-html-fastjar install-html-fastjar
7590 maybe-install-html-fastjar:
7591 @if fastjar
7592 maybe-install-html-fastjar: install-html-fastjar
7594 install-html-fastjar: \
7595 configure-fastjar \
7596 html-fastjar
7597 @: $(MAKE); $(unstage)
7598 @[ -f ./fastjar/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(HOST_EXPORTS) \
7602 for flag in $(EXTRA_HOST_FLAGS) ; do \
7603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7604 done; \
7605 echo "Doing install-html in fastjar" ; \
7606 (cd $(HOST_SUBDIR)/fastjar && \
7607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7609 "RANLIB=$${RANLIB}" \
7610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7611 install-html) \
7612 || exit 1
7614 @endif fastjar
7616 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7617 maybe-installcheck-fastjar:
7618 @if fastjar
7619 maybe-installcheck-fastjar: installcheck-fastjar
7621 installcheck-fastjar: \
7622 configure-fastjar
7623 @: $(MAKE); $(unstage)
7624 @[ -f ./fastjar/Makefile ] || exit 0; \
7625 r=`${PWD_COMMAND}`; export r; \
7626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7627 $(HOST_EXPORTS) \
7628 for flag in $(EXTRA_HOST_FLAGS) ; do \
7629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7630 done; \
7631 echo "Doing installcheck in fastjar" ; \
7632 (cd $(HOST_SUBDIR)/fastjar && \
7633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635 "RANLIB=$${RANLIB}" \
7636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7637 installcheck) \
7638 || exit 1
7640 @endif fastjar
7642 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7643 maybe-mostlyclean-fastjar:
7644 @if fastjar
7645 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7647 mostlyclean-fastjar:
7648 @: $(MAKE); $(unstage)
7649 @[ -f ./fastjar/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing mostlyclean in fastjar" ; \
7657 (cd $(HOST_SUBDIR)/fastjar && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7662 mostlyclean) \
7663 || exit 1
7665 @endif fastjar
7667 .PHONY: maybe-clean-fastjar clean-fastjar
7668 maybe-clean-fastjar:
7669 @if fastjar
7670 maybe-clean-fastjar: clean-fastjar
7672 clean-fastjar:
7673 @: $(MAKE); $(unstage)
7674 @[ -f ./fastjar/Makefile ] || exit 0; \
7675 r=`${PWD_COMMAND}`; export r; \
7676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7677 $(HOST_EXPORTS) \
7678 for flag in $(EXTRA_HOST_FLAGS) ; do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680 done; \
7681 echo "Doing clean in fastjar" ; \
7682 (cd $(HOST_SUBDIR)/fastjar && \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7687 clean) \
7688 || exit 1
7690 @endif fastjar
7692 .PHONY: maybe-distclean-fastjar distclean-fastjar
7693 maybe-distclean-fastjar:
7694 @if fastjar
7695 maybe-distclean-fastjar: distclean-fastjar
7697 distclean-fastjar:
7698 @: $(MAKE); $(unstage)
7699 @[ -f ./fastjar/Makefile ] || exit 0; \
7700 r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702 $(HOST_EXPORTS) \
7703 for flag in $(EXTRA_HOST_FLAGS) ; do \
7704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7705 done; \
7706 echo "Doing distclean in fastjar" ; \
7707 (cd $(HOST_SUBDIR)/fastjar && \
7708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7710 "RANLIB=$${RANLIB}" \
7711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7712 distclean) \
7713 || exit 1
7715 @endif fastjar
7717 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7718 maybe-maintainer-clean-fastjar:
7719 @if fastjar
7720 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7722 maintainer-clean-fastjar:
7723 @: $(MAKE); $(unstage)
7724 @[ -f ./fastjar/Makefile ] || exit 0; \
7725 r=`${PWD_COMMAND}`; export r; \
7726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7727 $(HOST_EXPORTS) \
7728 for flag in $(EXTRA_HOST_FLAGS) ; do \
7729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7730 done; \
7731 echo "Doing maintainer-clean in fastjar" ; \
7732 (cd $(HOST_SUBDIR)/fastjar && \
7733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7735 "RANLIB=$${RANLIB}" \
7736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7737 maintainer-clean) \
7738 || exit 1
7740 @endif fastjar
7744 .PHONY: configure-fixincludes maybe-configure-fixincludes
7745 maybe-configure-fixincludes:
7746 @if gcc-bootstrap
7747 configure-fixincludes: stage_current
7748 @endif gcc-bootstrap
7749 @if fixincludes
7750 maybe-configure-fixincludes: configure-fixincludes
7751 configure-fixincludes:
7752 @: $(MAKE); $(unstage)
7753 @r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7755 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7757 $(HOST_EXPORTS) \
7758 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7759 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7760 case $(srcdir) in \
7761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7762 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7764 esac; \
7765 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7766 libsrcdir="$$s/fixincludes"; \
7767 $(SHELL) $${libsrcdir}/configure \
7768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7769 --target=${target_alias} $${srcdiroption} \
7770 || exit 1
7771 @endif fixincludes
7777 .PHONY: all-fixincludes maybe-all-fixincludes
7778 maybe-all-fixincludes:
7779 @if gcc-bootstrap
7780 all-fixincludes: stage_current
7781 @endif gcc-bootstrap
7782 @if fixincludes
7783 TARGET-fixincludes=all
7784 maybe-all-fixincludes: all-fixincludes
7785 all-fixincludes: configure-fixincludes
7786 @: $(MAKE); $(unstage)
7787 @r=`${PWD_COMMAND}`; export r; \
7788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7789 $(HOST_EXPORTS) \
7790 (cd $(HOST_SUBDIR)/fixincludes && \
7791 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7792 $(TARGET-fixincludes))
7793 @endif fixincludes
7798 .PHONY: check-fixincludes maybe-check-fixincludes
7799 maybe-check-fixincludes:
7800 @if fixincludes
7801 maybe-check-fixincludes: check-fixincludes
7803 check-fixincludes:
7804 @: $(MAKE); $(unstage)
7805 @r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(HOST_EXPORTS) \
7808 (cd $(HOST_SUBDIR)/fixincludes && \
7809 $(MAKE) $(FLAGS_TO_PASS) check)
7811 @endif fixincludes
7813 .PHONY: install-fixincludes maybe-install-fixincludes
7814 maybe-install-fixincludes:
7815 @if fixincludes
7816 maybe-install-fixincludes: install-fixincludes
7818 install-fixincludes: installdirs
7819 @: $(MAKE); $(unstage)
7820 @r=`${PWD_COMMAND}`; export r; \
7821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7822 $(HOST_EXPORTS) \
7823 (cd $(HOST_SUBDIR)/fixincludes && \
7824 $(MAKE) $(FLAGS_TO_PASS) install)
7826 @endif fixincludes
7828 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7829 maybe-install-strip-fixincludes:
7830 @if fixincludes
7831 maybe-install-strip-fixincludes: install-strip-fixincludes
7833 install-strip-fixincludes: installdirs
7834 @: $(MAKE); $(unstage)
7835 @r=`${PWD_COMMAND}`; export r; \
7836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7837 $(HOST_EXPORTS) \
7838 (cd $(HOST_SUBDIR)/fixincludes && \
7839 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7841 @endif fixincludes
7843 # Other targets (info, dvi, pdf, etc.)
7845 .PHONY: maybe-info-fixincludes info-fixincludes
7846 maybe-info-fixincludes:
7847 @if fixincludes
7848 maybe-info-fixincludes: info-fixincludes
7850 info-fixincludes: \
7851 configure-fixincludes
7852 @: $(MAKE); $(unstage)
7853 @[ -f ./fixincludes/Makefile ] || exit 0; \
7854 r=`${PWD_COMMAND}`; export r; \
7855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7856 $(HOST_EXPORTS) \
7857 for flag in $(EXTRA_HOST_FLAGS) ; do \
7858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7859 done; \
7860 echo "Doing info in fixincludes" ; \
7861 (cd $(HOST_SUBDIR)/fixincludes && \
7862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7864 "RANLIB=$${RANLIB}" \
7865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7866 info) \
7867 || exit 1
7869 @endif fixincludes
7871 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7872 maybe-dvi-fixincludes:
7873 @if fixincludes
7874 maybe-dvi-fixincludes: dvi-fixincludes
7876 dvi-fixincludes: \
7877 configure-fixincludes
7878 @: $(MAKE); $(unstage)
7879 @[ -f ./fixincludes/Makefile ] || exit 0; \
7880 r=`${PWD_COMMAND}`; export r; \
7881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7882 $(HOST_EXPORTS) \
7883 for flag in $(EXTRA_HOST_FLAGS) ; do \
7884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7885 done; \
7886 echo "Doing dvi in fixincludes" ; \
7887 (cd $(HOST_SUBDIR)/fixincludes && \
7888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7890 "RANLIB=$${RANLIB}" \
7891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7892 dvi) \
7893 || exit 1
7895 @endif fixincludes
7897 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7898 maybe-pdf-fixincludes:
7899 @if fixincludes
7900 maybe-pdf-fixincludes: pdf-fixincludes
7902 pdf-fixincludes: \
7903 configure-fixincludes
7904 @: $(MAKE); $(unstage)
7905 @[ -f ./fixincludes/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 $(HOST_EXPORTS) \
7909 for flag in $(EXTRA_HOST_FLAGS) ; do \
7910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7911 done; \
7912 echo "Doing pdf in fixincludes" ; \
7913 (cd $(HOST_SUBDIR)/fixincludes && \
7914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916 "RANLIB=$${RANLIB}" \
7917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7918 pdf) \
7919 || exit 1
7921 @endif fixincludes
7923 .PHONY: maybe-html-fixincludes html-fixincludes
7924 maybe-html-fixincludes:
7925 @if fixincludes
7926 maybe-html-fixincludes: html-fixincludes
7928 html-fixincludes: \
7929 configure-fixincludes
7930 @: $(MAKE); $(unstage)
7931 @[ -f ./fixincludes/Makefile ] || exit 0; \
7932 r=`${PWD_COMMAND}`; export r; \
7933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7934 $(HOST_EXPORTS) \
7935 for flag in $(EXTRA_HOST_FLAGS) ; do \
7936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7937 done; \
7938 echo "Doing html in fixincludes" ; \
7939 (cd $(HOST_SUBDIR)/fixincludes && \
7940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7942 "RANLIB=$${RANLIB}" \
7943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7944 html) \
7945 || exit 1
7947 @endif fixincludes
7949 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7950 maybe-TAGS-fixincludes:
7951 @if fixincludes
7952 maybe-TAGS-fixincludes: TAGS-fixincludes
7954 # fixincludes doesn't support TAGS.
7955 TAGS-fixincludes:
7957 @endif fixincludes
7959 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7960 maybe-install-info-fixincludes:
7961 @if fixincludes
7962 maybe-install-info-fixincludes: install-info-fixincludes
7964 install-info-fixincludes: \
7965 configure-fixincludes \
7966 info-fixincludes
7967 @: $(MAKE); $(unstage)
7968 @[ -f ./fixincludes/Makefile ] || exit 0; \
7969 r=`${PWD_COMMAND}`; export r; \
7970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7971 $(HOST_EXPORTS) \
7972 for flag in $(EXTRA_HOST_FLAGS) ; do \
7973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7974 done; \
7975 echo "Doing install-info in fixincludes" ; \
7976 (cd $(HOST_SUBDIR)/fixincludes && \
7977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7979 "RANLIB=$${RANLIB}" \
7980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7981 install-info) \
7982 || exit 1
7984 @endif fixincludes
7986 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7987 maybe-install-pdf-fixincludes:
7988 @if fixincludes
7989 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7991 install-pdf-fixincludes: \
7992 configure-fixincludes \
7993 pdf-fixincludes
7994 @: $(MAKE); $(unstage)
7995 @[ -f ./fixincludes/Makefile ] || exit 0; \
7996 r=`${PWD_COMMAND}`; export r; \
7997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998 $(HOST_EXPORTS) \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 done; \
8002 echo "Doing install-pdf in fixincludes" ; \
8003 (cd $(HOST_SUBDIR)/fixincludes && \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8008 install-pdf) \
8009 || exit 1
8011 @endif fixincludes
8013 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8014 maybe-install-html-fixincludes:
8015 @if fixincludes
8016 maybe-install-html-fixincludes: install-html-fixincludes
8018 install-html-fixincludes: \
8019 configure-fixincludes \
8020 html-fixincludes
8021 @: $(MAKE); $(unstage)
8022 @[ -f ./fixincludes/Makefile ] || exit 0; \
8023 r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 $(HOST_EXPORTS) \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 done; \
8029 echo "Doing install-html in fixincludes" ; \
8030 (cd $(HOST_SUBDIR)/fixincludes && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8035 install-html) \
8036 || exit 1
8038 @endif fixincludes
8040 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8041 maybe-installcheck-fixincludes:
8042 @if fixincludes
8043 maybe-installcheck-fixincludes: installcheck-fixincludes
8045 installcheck-fixincludes: \
8046 configure-fixincludes
8047 @: $(MAKE); $(unstage)
8048 @[ -f ./fixincludes/Makefile ] || exit 0; \
8049 r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 $(HOST_EXPORTS) \
8052 for flag in $(EXTRA_HOST_FLAGS) ; do \
8053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8054 done; \
8055 echo "Doing installcheck in fixincludes" ; \
8056 (cd $(HOST_SUBDIR)/fixincludes && \
8057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8059 "RANLIB=$${RANLIB}" \
8060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8061 installcheck) \
8062 || exit 1
8064 @endif fixincludes
8066 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8067 maybe-mostlyclean-fixincludes:
8068 @if fixincludes
8069 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8071 mostlyclean-fixincludes:
8072 @: $(MAKE); $(unstage)
8073 @[ -f ./fixincludes/Makefile ] || exit 0; \
8074 r=`${PWD_COMMAND}`; export r; \
8075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 $(HOST_EXPORTS) \
8077 for flag in $(EXTRA_HOST_FLAGS) ; do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 done; \
8080 echo "Doing mostlyclean in fixincludes" ; \
8081 (cd $(HOST_SUBDIR)/fixincludes && \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8086 mostlyclean) \
8087 || exit 1
8089 @endif fixincludes
8091 .PHONY: maybe-clean-fixincludes clean-fixincludes
8092 maybe-clean-fixincludes:
8093 @if fixincludes
8094 maybe-clean-fixincludes: clean-fixincludes
8096 clean-fixincludes:
8097 @: $(MAKE); $(unstage)
8098 @[ -f ./fixincludes/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(HOST_EXPORTS) \
8102 for flag in $(EXTRA_HOST_FLAGS) ; do \
8103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8104 done; \
8105 echo "Doing clean in fixincludes" ; \
8106 (cd $(HOST_SUBDIR)/fixincludes && \
8107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8109 "RANLIB=$${RANLIB}" \
8110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8111 clean) \
8112 || exit 1
8114 @endif fixincludes
8116 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8117 maybe-distclean-fixincludes:
8118 @if fixincludes
8119 maybe-distclean-fixincludes: distclean-fixincludes
8121 distclean-fixincludes:
8122 @: $(MAKE); $(unstage)
8123 @[ -f ./fixincludes/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(HOST_EXPORTS) \
8127 for flag in $(EXTRA_HOST_FLAGS) ; do \
8128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8129 done; \
8130 echo "Doing distclean in fixincludes" ; \
8131 (cd $(HOST_SUBDIR)/fixincludes && \
8132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8134 "RANLIB=$${RANLIB}" \
8135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8136 distclean) \
8137 || exit 1
8139 @endif fixincludes
8141 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8142 maybe-maintainer-clean-fixincludes:
8143 @if fixincludes
8144 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8146 maintainer-clean-fixincludes:
8147 @: $(MAKE); $(unstage)
8148 @[ -f ./fixincludes/Makefile ] || exit 0; \
8149 r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 $(HOST_EXPORTS) \
8152 for flag in $(EXTRA_HOST_FLAGS) ; do \
8153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8154 done; \
8155 echo "Doing maintainer-clean in fixincludes" ; \
8156 (cd $(HOST_SUBDIR)/fixincludes && \
8157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8159 "RANLIB=$${RANLIB}" \
8160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8161 maintainer-clean) \
8162 || exit 1
8164 @endif fixincludes
8168 .PHONY: configure-flex maybe-configure-flex
8169 maybe-configure-flex:
8170 @if gcc-bootstrap
8171 configure-flex: stage_current
8172 @endif gcc-bootstrap
8173 @if flex
8174 maybe-configure-flex: configure-flex
8175 configure-flex:
8176 @: $(MAKE); $(unstage)
8177 @r=`${PWD_COMMAND}`; export r; \
8178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8179 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8181 $(HOST_EXPORTS) \
8182 echo Configuring in $(HOST_SUBDIR)/flex; \
8183 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8184 case $(srcdir) in \
8185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8186 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8188 esac; \
8189 srcdiroption="--srcdir=$${topdir}/flex"; \
8190 libsrcdir="$$s/flex"; \
8191 $(SHELL) $${libsrcdir}/configure \
8192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8193 --target=${target_alias} $${srcdiroption} \
8194 || exit 1
8195 @endif flex
8201 .PHONY: all-flex maybe-all-flex
8202 maybe-all-flex:
8203 @if gcc-bootstrap
8204 all-flex: stage_current
8205 @endif gcc-bootstrap
8206 @if flex
8207 TARGET-flex=all
8208 maybe-all-flex: all-flex
8209 all-flex: configure-flex
8210 @: $(MAKE); $(unstage)
8211 @r=`${PWD_COMMAND}`; export r; \
8212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8213 $(HOST_EXPORTS) \
8214 (cd $(HOST_SUBDIR)/flex && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8216 $(TARGET-flex))
8217 @endif flex
8222 .PHONY: check-flex maybe-check-flex
8223 maybe-check-flex:
8224 @if flex
8225 maybe-check-flex: check-flex
8227 # This module is only tested in a native toolchain.
8228 check-flex:
8229 @: $(MAKE); $(unstage)
8230 @if [ '$(host)' = '$(target)' ] ; then \
8231 r=`${PWD_COMMAND}`; export r; \
8232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8233 $(HOST_EXPORTS) \
8234 (cd $(HOST_SUBDIR)/flex && \
8235 $(MAKE) $(FLAGS_TO_PASS) check); \
8238 @endif flex
8240 .PHONY: install-flex maybe-install-flex
8241 maybe-install-flex:
8242 @if flex
8243 maybe-install-flex: install-flex
8245 install-flex: installdirs
8246 @: $(MAKE); $(unstage)
8247 @r=`${PWD_COMMAND}`; export r; \
8248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8249 $(HOST_EXPORTS) \
8250 (cd $(HOST_SUBDIR)/flex && \
8251 $(MAKE) $(FLAGS_TO_PASS) install)
8253 @endif flex
8255 .PHONY: install-strip-flex maybe-install-strip-flex
8256 maybe-install-strip-flex:
8257 @if flex
8258 maybe-install-strip-flex: install-strip-flex
8260 install-strip-flex: installdirs
8261 @: $(MAKE); $(unstage)
8262 @r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 $(HOST_EXPORTS) \
8265 (cd $(HOST_SUBDIR)/flex && \
8266 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8268 @endif flex
8270 # Other targets (info, dvi, pdf, etc.)
8272 .PHONY: maybe-info-flex info-flex
8273 maybe-info-flex:
8274 @if flex
8275 maybe-info-flex: info-flex
8277 info-flex: \
8278 configure-flex
8279 @: $(MAKE); $(unstage)
8280 @[ -f ./flex/Makefile ] || exit 0; \
8281 r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(HOST_EXPORTS) \
8284 for flag in $(EXTRA_HOST_FLAGS) ; do \
8285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8286 done; \
8287 echo "Doing info in flex" ; \
8288 (cd $(HOST_SUBDIR)/flex && \
8289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8291 "RANLIB=$${RANLIB}" \
8292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8293 info) \
8294 || exit 1
8296 @endif flex
8298 .PHONY: maybe-dvi-flex dvi-flex
8299 maybe-dvi-flex:
8300 @if flex
8301 maybe-dvi-flex: dvi-flex
8303 dvi-flex: \
8304 configure-flex
8305 @: $(MAKE); $(unstage)
8306 @[ -f ./flex/Makefile ] || exit 0; \
8307 r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8309 $(HOST_EXPORTS) \
8310 for flag in $(EXTRA_HOST_FLAGS) ; do \
8311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8312 done; \
8313 echo "Doing dvi in flex" ; \
8314 (cd $(HOST_SUBDIR)/flex && \
8315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8317 "RANLIB=$${RANLIB}" \
8318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8319 dvi) \
8320 || exit 1
8322 @endif flex
8324 .PHONY: maybe-pdf-flex pdf-flex
8325 maybe-pdf-flex:
8326 @if flex
8327 maybe-pdf-flex: pdf-flex
8329 pdf-flex: \
8330 configure-flex
8331 @: $(MAKE); $(unstage)
8332 @[ -f ./flex/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(HOST_EXPORTS) \
8336 for flag in $(EXTRA_HOST_FLAGS) ; do \
8337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8338 done; \
8339 echo "Doing pdf in flex" ; \
8340 (cd $(HOST_SUBDIR)/flex && \
8341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8343 "RANLIB=$${RANLIB}" \
8344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8345 pdf) \
8346 || exit 1
8348 @endif flex
8350 .PHONY: maybe-html-flex html-flex
8351 maybe-html-flex:
8352 @if flex
8353 maybe-html-flex: html-flex
8355 html-flex: \
8356 configure-flex
8357 @: $(MAKE); $(unstage)
8358 @[ -f ./flex/Makefile ] || exit 0; \
8359 r=`${PWD_COMMAND}`; export r; \
8360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8361 $(HOST_EXPORTS) \
8362 for flag in $(EXTRA_HOST_FLAGS) ; do \
8363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8364 done; \
8365 echo "Doing html in flex" ; \
8366 (cd $(HOST_SUBDIR)/flex && \
8367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8369 "RANLIB=$${RANLIB}" \
8370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8371 html) \
8372 || exit 1
8374 @endif flex
8376 .PHONY: maybe-TAGS-flex TAGS-flex
8377 maybe-TAGS-flex:
8378 @if flex
8379 maybe-TAGS-flex: TAGS-flex
8381 TAGS-flex: \
8382 configure-flex
8383 @: $(MAKE); $(unstage)
8384 @[ -f ./flex/Makefile ] || exit 0; \
8385 r=`${PWD_COMMAND}`; export r; \
8386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8387 $(HOST_EXPORTS) \
8388 for flag in $(EXTRA_HOST_FLAGS) ; do \
8389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8390 done; \
8391 echo "Doing TAGS in flex" ; \
8392 (cd $(HOST_SUBDIR)/flex && \
8393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8395 "RANLIB=$${RANLIB}" \
8396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8397 TAGS) \
8398 || exit 1
8400 @endif flex
8402 .PHONY: maybe-install-info-flex install-info-flex
8403 maybe-install-info-flex:
8404 @if flex
8405 maybe-install-info-flex: install-info-flex
8407 install-info-flex: \
8408 configure-flex \
8409 info-flex
8410 @: $(MAKE); $(unstage)
8411 @[ -f ./flex/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8414 $(HOST_EXPORTS) \
8415 for flag in $(EXTRA_HOST_FLAGS) ; do \
8416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8417 done; \
8418 echo "Doing install-info in flex" ; \
8419 (cd $(HOST_SUBDIR)/flex && \
8420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8422 "RANLIB=$${RANLIB}" \
8423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8424 install-info) \
8425 || exit 1
8427 @endif flex
8429 .PHONY: maybe-install-pdf-flex install-pdf-flex
8430 maybe-install-pdf-flex:
8431 @if flex
8432 maybe-install-pdf-flex: install-pdf-flex
8434 install-pdf-flex: \
8435 configure-flex \
8436 pdf-flex
8437 @: $(MAKE); $(unstage)
8438 @[ -f ./flex/Makefile ] || exit 0; \
8439 r=`${PWD_COMMAND}`; export r; \
8440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 $(HOST_EXPORTS) \
8442 for flag in $(EXTRA_HOST_FLAGS) ; do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 done; \
8445 echo "Doing install-pdf in flex" ; \
8446 (cd $(HOST_SUBDIR)/flex && \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8451 install-pdf) \
8452 || exit 1
8454 @endif flex
8456 .PHONY: maybe-install-html-flex install-html-flex
8457 maybe-install-html-flex:
8458 @if flex
8459 maybe-install-html-flex: install-html-flex
8461 install-html-flex: \
8462 configure-flex \
8463 html-flex
8464 @: $(MAKE); $(unstage)
8465 @[ -f ./flex/Makefile ] || exit 0; \
8466 r=`${PWD_COMMAND}`; export r; \
8467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8468 $(HOST_EXPORTS) \
8469 for flag in $(EXTRA_HOST_FLAGS) ; do \
8470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8471 done; \
8472 echo "Doing install-html in flex" ; \
8473 (cd $(HOST_SUBDIR)/flex && \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476 "RANLIB=$${RANLIB}" \
8477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8478 install-html) \
8479 || exit 1
8481 @endif flex
8483 .PHONY: maybe-installcheck-flex installcheck-flex
8484 maybe-installcheck-flex:
8485 @if flex
8486 maybe-installcheck-flex: installcheck-flex
8488 installcheck-flex: \
8489 configure-flex
8490 @: $(MAKE); $(unstage)
8491 @[ -f ./flex/Makefile ] || exit 0; \
8492 r=`${PWD_COMMAND}`; export r; \
8493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8494 $(HOST_EXPORTS) \
8495 for flag in $(EXTRA_HOST_FLAGS) ; do \
8496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8497 done; \
8498 echo "Doing installcheck in flex" ; \
8499 (cd $(HOST_SUBDIR)/flex && \
8500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502 "RANLIB=$${RANLIB}" \
8503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8504 installcheck) \
8505 || exit 1
8507 @endif flex
8509 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8510 maybe-mostlyclean-flex:
8511 @if flex
8512 maybe-mostlyclean-flex: mostlyclean-flex
8514 mostlyclean-flex:
8515 @: $(MAKE); $(unstage)
8516 @[ -f ./flex/Makefile ] || exit 0; \
8517 r=`${PWD_COMMAND}`; export r; \
8518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8519 $(HOST_EXPORTS) \
8520 for flag in $(EXTRA_HOST_FLAGS) ; do \
8521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8522 done; \
8523 echo "Doing mostlyclean in flex" ; \
8524 (cd $(HOST_SUBDIR)/flex && \
8525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8527 "RANLIB=$${RANLIB}" \
8528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8529 mostlyclean) \
8530 || exit 1
8532 @endif flex
8534 .PHONY: maybe-clean-flex clean-flex
8535 maybe-clean-flex:
8536 @if flex
8537 maybe-clean-flex: clean-flex
8539 clean-flex:
8540 @: $(MAKE); $(unstage)
8541 @[ -f ./flex/Makefile ] || exit 0; \
8542 r=`${PWD_COMMAND}`; export r; \
8543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8544 $(HOST_EXPORTS) \
8545 for flag in $(EXTRA_HOST_FLAGS) ; do \
8546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8547 done; \
8548 echo "Doing clean in flex" ; \
8549 (cd $(HOST_SUBDIR)/flex && \
8550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8552 "RANLIB=$${RANLIB}" \
8553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8554 clean) \
8555 || exit 1
8557 @endif flex
8559 .PHONY: maybe-distclean-flex distclean-flex
8560 maybe-distclean-flex:
8561 @if flex
8562 maybe-distclean-flex: distclean-flex
8564 distclean-flex:
8565 @: $(MAKE); $(unstage)
8566 @[ -f ./flex/Makefile ] || exit 0; \
8567 r=`${PWD_COMMAND}`; export r; \
8568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8569 $(HOST_EXPORTS) \
8570 for flag in $(EXTRA_HOST_FLAGS) ; do \
8571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8572 done; \
8573 echo "Doing distclean in flex" ; \
8574 (cd $(HOST_SUBDIR)/flex && \
8575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8577 "RANLIB=$${RANLIB}" \
8578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8579 distclean) \
8580 || exit 1
8582 @endif flex
8584 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8585 maybe-maintainer-clean-flex:
8586 @if flex
8587 maybe-maintainer-clean-flex: maintainer-clean-flex
8589 maintainer-clean-flex:
8590 @: $(MAKE); $(unstage)
8591 @[ -f ./flex/Makefile ] || exit 0; \
8592 r=`${PWD_COMMAND}`; export r; \
8593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 $(HOST_EXPORTS) \
8595 for flag in $(EXTRA_HOST_FLAGS) ; do \
8596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8597 done; \
8598 echo "Doing maintainer-clean in flex" ; \
8599 (cd $(HOST_SUBDIR)/flex && \
8600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602 "RANLIB=$${RANLIB}" \
8603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8604 maintainer-clean) \
8605 || exit 1
8607 @endif flex
8611 .PHONY: configure-gas maybe-configure-gas
8612 maybe-configure-gas:
8613 @if gcc-bootstrap
8614 configure-gas: stage_current
8615 @endif gcc-bootstrap
8616 @if gas
8617 maybe-configure-gas: configure-gas
8618 configure-gas:
8619 @r=`${PWD_COMMAND}`; export r; \
8620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8623 $(HOST_EXPORTS) \
8624 echo Configuring in $(HOST_SUBDIR)/gas; \
8625 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8626 case $(srcdir) in \
8627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8628 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8630 esac; \
8631 srcdiroption="--srcdir=$${topdir}/gas"; \
8632 libsrcdir="$$s/gas"; \
8633 $(SHELL) $${libsrcdir}/configure \
8634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8635 --target=${target_alias} $${srcdiroption} \
8636 || exit 1
8637 @endif gas
8641 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8642 maybe-configure-stage1-gas:
8643 @if gas-bootstrap
8644 maybe-configure-stage1-gas: configure-stage1-gas
8645 configure-stage1-gas:
8646 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8647 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8648 @r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 TFLAGS="$(STAGE1_TFLAGS)"; \
8651 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8652 $(HOST_EXPORTS) \
8653 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8654 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8655 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8656 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8658 cd $(HOST_SUBDIR)/gas || exit 1; \
8659 case $(srcdir) in \
8660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8661 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8663 esac; \
8664 srcdiroption="--srcdir=$${topdir}/gas"; \
8665 libsrcdir="$$s/gas"; \
8666 $(SHELL) $${libsrcdir}/configure \
8667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8668 --target=${target_alias} $${srcdiroption} \
8669 $(STAGE1_CONFIGURE_FLAGS)
8670 @endif gas-bootstrap
8672 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8673 maybe-configure-stage2-gas:
8674 @if gas-bootstrap
8675 maybe-configure-stage2-gas: configure-stage2-gas
8676 configure-stage2-gas:
8677 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8679 @r=`${PWD_COMMAND}`; export r; \
8680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8681 TFLAGS="$(STAGE2_TFLAGS)"; \
8682 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8683 $(HOST_EXPORTS) \
8684 $(POSTSTAGE1_HOST_EXPORTS) \
8685 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8686 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8687 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8688 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8690 cd $(HOST_SUBDIR)/gas || exit 1; \
8691 case $(srcdir) in \
8692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8693 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8695 esac; \
8696 srcdiroption="--srcdir=$${topdir}/gas"; \
8697 libsrcdir="$$s/gas"; \
8698 $(SHELL) $${libsrcdir}/configure \
8699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8700 --target=${target_alias} $${srcdiroption} \
8701 --with-build-libsubdir=$(HOST_SUBDIR) \
8702 $(STAGE2_CONFIGURE_FLAGS)
8703 @endif gas-bootstrap
8705 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8706 maybe-configure-stage3-gas:
8707 @if gas-bootstrap
8708 maybe-configure-stage3-gas: configure-stage3-gas
8709 configure-stage3-gas:
8710 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8712 @r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 TFLAGS="$(STAGE3_TFLAGS)"; \
8715 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8716 $(HOST_EXPORTS) \
8717 $(POSTSTAGE1_HOST_EXPORTS) \
8718 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8719 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8720 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8721 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8723 cd $(HOST_SUBDIR)/gas || exit 1; \
8724 case $(srcdir) in \
8725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8726 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8728 esac; \
8729 srcdiroption="--srcdir=$${topdir}/gas"; \
8730 libsrcdir="$$s/gas"; \
8731 $(SHELL) $${libsrcdir}/configure \
8732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8733 --target=${target_alias} $${srcdiroption} \
8734 --with-build-libsubdir=$(HOST_SUBDIR) \
8735 $(STAGE3_CONFIGURE_FLAGS)
8736 @endif gas-bootstrap
8738 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8739 maybe-configure-stage4-gas:
8740 @if gas-bootstrap
8741 maybe-configure-stage4-gas: configure-stage4-gas
8742 configure-stage4-gas:
8743 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8745 @r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 TFLAGS="$(STAGE4_TFLAGS)"; \
8748 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8749 $(HOST_EXPORTS) \
8750 $(POSTSTAGE1_HOST_EXPORTS) \
8751 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8752 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8753 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8754 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8756 cd $(HOST_SUBDIR)/gas || exit 1; \
8757 case $(srcdir) in \
8758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8759 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8761 esac; \
8762 srcdiroption="--srcdir=$${topdir}/gas"; \
8763 libsrcdir="$$s/gas"; \
8764 $(SHELL) $${libsrcdir}/configure \
8765 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8766 --target=${target_alias} $${srcdiroption} \
8767 --with-build-libsubdir=$(HOST_SUBDIR) \
8768 $(STAGE4_CONFIGURE_FLAGS)
8769 @endif gas-bootstrap
8771 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8772 maybe-configure-stageprofile-gas:
8773 @if gas-bootstrap
8774 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8775 configure-stageprofile-gas:
8776 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8778 @r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8781 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8782 $(HOST_EXPORTS) \
8783 $(POSTSTAGE1_HOST_EXPORTS) \
8784 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8785 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8786 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8787 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8789 cd $(HOST_SUBDIR)/gas || exit 1; \
8790 case $(srcdir) in \
8791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8792 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8794 esac; \
8795 srcdiroption="--srcdir=$${topdir}/gas"; \
8796 libsrcdir="$$s/gas"; \
8797 $(SHELL) $${libsrcdir}/configure \
8798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8799 --target=${target_alias} $${srcdiroption} \
8800 --with-build-libsubdir=$(HOST_SUBDIR) \
8801 $(STAGEprofile_CONFIGURE_FLAGS)
8802 @endif gas-bootstrap
8804 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8805 maybe-configure-stagefeedback-gas:
8806 @if gas-bootstrap
8807 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8808 configure-stagefeedback-gas:
8809 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8811 @r=`${PWD_COMMAND}`; export r; \
8812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8813 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8814 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8815 $(HOST_EXPORTS) \
8816 $(POSTSTAGE1_HOST_EXPORTS) \
8817 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8818 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8819 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8820 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8822 cd $(HOST_SUBDIR)/gas || exit 1; \
8823 case $(srcdir) in \
8824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8825 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8827 esac; \
8828 srcdiroption="--srcdir=$${topdir}/gas"; \
8829 libsrcdir="$$s/gas"; \
8830 $(SHELL) $${libsrcdir}/configure \
8831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8832 --target=${target_alias} $${srcdiroption} \
8833 --with-build-libsubdir=$(HOST_SUBDIR) \
8834 $(STAGEfeedback_CONFIGURE_FLAGS)
8835 @endif gas-bootstrap
8841 .PHONY: all-gas maybe-all-gas
8842 maybe-all-gas:
8843 @if gcc-bootstrap
8844 all-gas: stage_current
8845 @endif gcc-bootstrap
8846 @if gas
8847 TARGET-gas=all
8848 maybe-all-gas: all-gas
8849 all-gas: configure-gas
8850 @r=`${PWD_COMMAND}`; export r; \
8851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8852 $(HOST_EXPORTS) \
8853 (cd $(HOST_SUBDIR)/gas && \
8854 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8855 $(TARGET-gas))
8856 @endif gas
8860 .PHONY: all-stage1-gas maybe-all-stage1-gas
8861 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8862 maybe-all-stage1-gas:
8863 maybe-clean-stage1-gas:
8864 @if gas-bootstrap
8865 maybe-all-stage1-gas: all-stage1-gas
8866 all-stage1: all-stage1-gas
8867 TARGET-stage1-gas = $(TARGET-gas)
8868 all-stage1-gas: configure-stage1-gas
8869 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8870 @r=`${PWD_COMMAND}`; export r; \
8871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8872 TFLAGS="$(STAGE1_TFLAGS)"; \
8873 $(HOST_EXPORTS) \
8874 cd $(HOST_SUBDIR)/gas && \
8875 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8876 CFLAGS="$(STAGE1_CFLAGS)" \
8877 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8878 LIBCFLAGS="$(LIBCFLAGS)" \
8879 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8880 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8881 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8882 $(EXTRA_HOST_FLAGS) \
8883 TFLAGS="$(STAGE1_TFLAGS)" \
8884 $(TARGET-stage1-gas)
8886 maybe-clean-stage1-gas: clean-stage1-gas
8887 clean-stage1: clean-stage1-gas
8888 clean-stage1-gas:
8889 @if [ $(current_stage) = stage1 ]; then \
8890 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8891 else \
8892 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8893 $(MAKE) stage1-start; \
8894 fi; \
8895 cd $(HOST_SUBDIR)/gas && \
8896 $(MAKE) $(EXTRA_HOST_FLAGS) \
8897 clean
8898 @endif gas-bootstrap
8901 .PHONY: all-stage2-gas maybe-all-stage2-gas
8902 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8903 maybe-all-stage2-gas:
8904 maybe-clean-stage2-gas:
8905 @if gas-bootstrap
8906 maybe-all-stage2-gas: all-stage2-gas
8907 all-stage2: all-stage2-gas
8908 TARGET-stage2-gas = $(TARGET-gas)
8909 all-stage2-gas: configure-stage2-gas
8910 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8911 @r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 TFLAGS="$(STAGE2_TFLAGS)"; \
8914 $(HOST_EXPORTS) \
8915 $(POSTSTAGE1_HOST_EXPORTS) \
8916 cd $(HOST_SUBDIR)/gas && \
8917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8918 CFLAGS="$(STAGE2_CFLAGS)" \
8919 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8920 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8924 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8925 TFLAGS="$(STAGE2_TFLAGS)" \
8926 $(TARGET-stage2-gas)
8928 maybe-clean-stage2-gas: clean-stage2-gas
8929 clean-stage2: clean-stage2-gas
8930 clean-stage2-gas:
8931 @if [ $(current_stage) = stage2 ]; then \
8932 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8933 else \
8934 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8935 $(MAKE) stage2-start; \
8936 fi; \
8937 cd $(HOST_SUBDIR)/gas && \
8938 $(MAKE) $(EXTRA_HOST_FLAGS) \
8939 $(POSTSTAGE1_FLAGS_TO_PASS) \
8940 clean
8941 @endif gas-bootstrap
8944 .PHONY: all-stage3-gas maybe-all-stage3-gas
8945 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8946 maybe-all-stage3-gas:
8947 maybe-clean-stage3-gas:
8948 @if gas-bootstrap
8949 maybe-all-stage3-gas: all-stage3-gas
8950 all-stage3: all-stage3-gas
8951 TARGET-stage3-gas = $(TARGET-gas)
8952 all-stage3-gas: configure-stage3-gas
8953 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8954 @r=`${PWD_COMMAND}`; export r; \
8955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8956 TFLAGS="$(STAGE3_TFLAGS)"; \
8957 $(HOST_EXPORTS) \
8958 $(POSTSTAGE1_HOST_EXPORTS) \
8959 cd $(HOST_SUBDIR)/gas && \
8960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8961 CFLAGS="$(STAGE3_CFLAGS)" \
8962 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8963 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8968 TFLAGS="$(STAGE3_TFLAGS)" \
8969 $(TARGET-stage3-gas)
8971 maybe-clean-stage3-gas: clean-stage3-gas
8972 clean-stage3: clean-stage3-gas
8973 clean-stage3-gas:
8974 @if [ $(current_stage) = stage3 ]; then \
8975 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8976 else \
8977 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8978 $(MAKE) stage3-start; \
8979 fi; \
8980 cd $(HOST_SUBDIR)/gas && \
8981 $(MAKE) $(EXTRA_HOST_FLAGS) \
8982 $(POSTSTAGE1_FLAGS_TO_PASS) \
8983 clean
8984 @endif gas-bootstrap
8987 .PHONY: all-stage4-gas maybe-all-stage4-gas
8988 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8989 maybe-all-stage4-gas:
8990 maybe-clean-stage4-gas:
8991 @if gas-bootstrap
8992 maybe-all-stage4-gas: all-stage4-gas
8993 all-stage4: all-stage4-gas
8994 TARGET-stage4-gas = $(TARGET-gas)
8995 all-stage4-gas: configure-stage4-gas
8996 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8997 @r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 TFLAGS="$(STAGE4_TFLAGS)"; \
9000 $(HOST_EXPORTS) \
9001 $(POSTSTAGE1_HOST_EXPORTS) \
9002 cd $(HOST_SUBDIR)/gas && \
9003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9004 CFLAGS="$(STAGE4_CFLAGS)" \
9005 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9006 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9011 TFLAGS="$(STAGE4_TFLAGS)" \
9012 $(TARGET-stage4-gas)
9014 maybe-clean-stage4-gas: clean-stage4-gas
9015 clean-stage4: clean-stage4-gas
9016 clean-stage4-gas:
9017 @if [ $(current_stage) = stage4 ]; then \
9018 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9019 else \
9020 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9021 $(MAKE) stage4-start; \
9022 fi; \
9023 cd $(HOST_SUBDIR)/gas && \
9024 $(MAKE) $(EXTRA_HOST_FLAGS) \
9025 $(POSTSTAGE1_FLAGS_TO_PASS) \
9026 clean
9027 @endif gas-bootstrap
9030 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9031 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9032 maybe-all-stageprofile-gas:
9033 maybe-clean-stageprofile-gas:
9034 @if gas-bootstrap
9035 maybe-all-stageprofile-gas: all-stageprofile-gas
9036 all-stageprofile: all-stageprofile-gas
9037 TARGET-stageprofile-gas = $(TARGET-gas)
9038 all-stageprofile-gas: configure-stageprofile-gas
9039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9040 @r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9043 $(HOST_EXPORTS) \
9044 $(POSTSTAGE1_HOST_EXPORTS) \
9045 cd $(HOST_SUBDIR)/gas && \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9047 CFLAGS="$(STAGEprofile_CFLAGS)" \
9048 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9049 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9054 TFLAGS="$(STAGEprofile_TFLAGS)" \
9055 $(TARGET-stageprofile-gas)
9057 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9058 clean-stageprofile: clean-stageprofile-gas
9059 clean-stageprofile-gas:
9060 @if [ $(current_stage) = stageprofile ]; then \
9061 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9062 else \
9063 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9064 $(MAKE) stageprofile-start; \
9065 fi; \
9066 cd $(HOST_SUBDIR)/gas && \
9067 $(MAKE) $(EXTRA_HOST_FLAGS) \
9068 $(POSTSTAGE1_FLAGS_TO_PASS) \
9069 clean
9070 @endif gas-bootstrap
9073 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9074 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9075 maybe-all-stagefeedback-gas:
9076 maybe-clean-stagefeedback-gas:
9077 @if gas-bootstrap
9078 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9079 all-stagefeedback: all-stagefeedback-gas
9080 TARGET-stagefeedback-gas = $(TARGET-gas)
9081 all-stagefeedback-gas: configure-stagefeedback-gas
9082 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9083 @r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9086 $(HOST_EXPORTS) \
9087 $(POSTSTAGE1_HOST_EXPORTS) \
9088 cd $(HOST_SUBDIR)/gas && \
9089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9090 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9091 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9092 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9097 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9098 $(TARGET-stagefeedback-gas)
9100 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9101 clean-stagefeedback: clean-stagefeedback-gas
9102 clean-stagefeedback-gas:
9103 @if [ $(current_stage) = stagefeedback ]; then \
9104 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9105 else \
9106 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9107 $(MAKE) stagefeedback-start; \
9108 fi; \
9109 cd $(HOST_SUBDIR)/gas && \
9110 $(MAKE) $(EXTRA_HOST_FLAGS) \
9111 $(POSTSTAGE1_FLAGS_TO_PASS) \
9112 clean
9113 @endif gas-bootstrap
9119 .PHONY: check-gas maybe-check-gas
9120 maybe-check-gas:
9121 @if gas
9122 maybe-check-gas: check-gas
9124 check-gas:
9125 @: $(MAKE); $(unstage)
9126 @r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 $(HOST_EXPORTS) \
9129 (cd $(HOST_SUBDIR)/gas && \
9130 $(MAKE) $(FLAGS_TO_PASS) check)
9132 @endif gas
9134 .PHONY: install-gas maybe-install-gas
9135 maybe-install-gas:
9136 @if gas
9137 maybe-install-gas: install-gas
9139 install-gas: installdirs
9140 @: $(MAKE); $(unstage)
9141 @r=`${PWD_COMMAND}`; export r; \
9142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9143 $(HOST_EXPORTS) \
9144 (cd $(HOST_SUBDIR)/gas && \
9145 $(MAKE) $(FLAGS_TO_PASS) install)
9147 @endif gas
9149 .PHONY: install-strip-gas maybe-install-strip-gas
9150 maybe-install-strip-gas:
9151 @if gas
9152 maybe-install-strip-gas: install-strip-gas
9154 install-strip-gas: installdirs
9155 @: $(MAKE); $(unstage)
9156 @r=`${PWD_COMMAND}`; export r; \
9157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9158 $(HOST_EXPORTS) \
9159 (cd $(HOST_SUBDIR)/gas && \
9160 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9162 @endif gas
9164 # Other targets (info, dvi, pdf, etc.)
9166 .PHONY: maybe-info-gas info-gas
9167 maybe-info-gas:
9168 @if gas
9169 maybe-info-gas: info-gas
9171 info-gas: \
9172 configure-gas
9173 @[ -f ./gas/Makefile ] || exit 0; \
9174 r=`${PWD_COMMAND}`; export r; \
9175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9176 $(HOST_EXPORTS) \
9177 for flag in $(EXTRA_HOST_FLAGS) ; do \
9178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9179 done; \
9180 echo "Doing info in gas" ; \
9181 (cd $(HOST_SUBDIR)/gas && \
9182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9184 "RANLIB=$${RANLIB}" \
9185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9186 info) \
9187 || exit 1
9189 @endif gas
9191 .PHONY: maybe-dvi-gas dvi-gas
9192 maybe-dvi-gas:
9193 @if gas
9194 maybe-dvi-gas: dvi-gas
9196 dvi-gas: \
9197 configure-gas
9198 @[ -f ./gas/Makefile ] || exit 0; \
9199 r=`${PWD_COMMAND}`; export r; \
9200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 $(HOST_EXPORTS) \
9202 for flag in $(EXTRA_HOST_FLAGS) ; do \
9203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9204 done; \
9205 echo "Doing dvi in gas" ; \
9206 (cd $(HOST_SUBDIR)/gas && \
9207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9209 "RANLIB=$${RANLIB}" \
9210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9211 dvi) \
9212 || exit 1
9214 @endif gas
9216 .PHONY: maybe-pdf-gas pdf-gas
9217 maybe-pdf-gas:
9218 @if gas
9219 maybe-pdf-gas: pdf-gas
9221 pdf-gas: \
9222 configure-gas
9223 @[ -f ./gas/Makefile ] || exit 0; \
9224 r=`${PWD_COMMAND}`; export r; \
9225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9226 $(HOST_EXPORTS) \
9227 for flag in $(EXTRA_HOST_FLAGS) ; do \
9228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9229 done; \
9230 echo "Doing pdf in gas" ; \
9231 (cd $(HOST_SUBDIR)/gas && \
9232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9234 "RANLIB=$${RANLIB}" \
9235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9236 pdf) \
9237 || exit 1
9239 @endif gas
9241 .PHONY: maybe-html-gas html-gas
9242 maybe-html-gas:
9243 @if gas
9244 maybe-html-gas: html-gas
9246 html-gas: \
9247 configure-gas
9248 @[ -f ./gas/Makefile ] || exit 0; \
9249 r=`${PWD_COMMAND}`; export r; \
9250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9251 $(HOST_EXPORTS) \
9252 for flag in $(EXTRA_HOST_FLAGS) ; do \
9253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9254 done; \
9255 echo "Doing html in gas" ; \
9256 (cd $(HOST_SUBDIR)/gas && \
9257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9259 "RANLIB=$${RANLIB}" \
9260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9261 html) \
9262 || exit 1
9264 @endif gas
9266 .PHONY: maybe-TAGS-gas TAGS-gas
9267 maybe-TAGS-gas:
9268 @if gas
9269 maybe-TAGS-gas: TAGS-gas
9271 TAGS-gas: \
9272 configure-gas
9273 @[ -f ./gas/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing TAGS in gas" ; \
9281 (cd $(HOST_SUBDIR)/gas && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9286 TAGS) \
9287 || exit 1
9289 @endif gas
9291 .PHONY: maybe-install-info-gas install-info-gas
9292 maybe-install-info-gas:
9293 @if gas
9294 maybe-install-info-gas: install-info-gas
9296 install-info-gas: \
9297 configure-gas \
9298 info-gas
9299 @[ -f ./gas/Makefile ] || exit 0; \
9300 r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 $(HOST_EXPORTS) \
9303 for flag in $(EXTRA_HOST_FLAGS) ; do \
9304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 done; \
9306 echo "Doing install-info in gas" ; \
9307 (cd $(HOST_SUBDIR)/gas && \
9308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9310 "RANLIB=$${RANLIB}" \
9311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9312 install-info) \
9313 || exit 1
9315 @endif gas
9317 .PHONY: maybe-install-pdf-gas install-pdf-gas
9318 maybe-install-pdf-gas:
9319 @if gas
9320 maybe-install-pdf-gas: install-pdf-gas
9322 install-pdf-gas: \
9323 configure-gas \
9324 pdf-gas
9325 @[ -f ./gas/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 for flag in $(EXTRA_HOST_FLAGS) ; do \
9330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 done; \
9332 echo "Doing install-pdf in gas" ; \
9333 (cd $(HOST_SUBDIR)/gas && \
9334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9336 "RANLIB=$${RANLIB}" \
9337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9338 install-pdf) \
9339 || exit 1
9341 @endif gas
9343 .PHONY: maybe-install-html-gas install-html-gas
9344 maybe-install-html-gas:
9345 @if gas
9346 maybe-install-html-gas: install-html-gas
9348 install-html-gas: \
9349 configure-gas \
9350 html-gas
9351 @[ -f ./gas/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 for flag in $(EXTRA_HOST_FLAGS) ; do \
9356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9357 done; \
9358 echo "Doing install-html in gas" ; \
9359 (cd $(HOST_SUBDIR)/gas && \
9360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9362 "RANLIB=$${RANLIB}" \
9363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9364 install-html) \
9365 || exit 1
9367 @endif gas
9369 .PHONY: maybe-installcheck-gas installcheck-gas
9370 maybe-installcheck-gas:
9371 @if gas
9372 maybe-installcheck-gas: installcheck-gas
9374 installcheck-gas: \
9375 configure-gas
9376 @[ -f ./gas/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 done; \
9383 echo "Doing installcheck in gas" ; \
9384 (cd $(HOST_SUBDIR)/gas && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9389 installcheck) \
9390 || exit 1
9392 @endif gas
9394 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9395 maybe-mostlyclean-gas:
9396 @if gas
9397 maybe-mostlyclean-gas: mostlyclean-gas
9399 mostlyclean-gas:
9400 @[ -f ./gas/Makefile ] || exit 0; \
9401 r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 $(HOST_EXPORTS) \
9404 for flag in $(EXTRA_HOST_FLAGS) ; do \
9405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 done; \
9407 echo "Doing mostlyclean in gas" ; \
9408 (cd $(HOST_SUBDIR)/gas && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9411 "RANLIB=$${RANLIB}" \
9412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9413 mostlyclean) \
9414 || exit 1
9416 @endif gas
9418 .PHONY: maybe-clean-gas clean-gas
9419 maybe-clean-gas:
9420 @if gas
9421 maybe-clean-gas: clean-gas
9423 clean-gas:
9424 @[ -f ./gas/Makefile ] || exit 0; \
9425 r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 $(HOST_EXPORTS) \
9428 for flag in $(EXTRA_HOST_FLAGS) ; do \
9429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9430 done; \
9431 echo "Doing clean in gas" ; \
9432 (cd $(HOST_SUBDIR)/gas && \
9433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9435 "RANLIB=$${RANLIB}" \
9436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9437 clean) \
9438 || exit 1
9440 @endif gas
9442 .PHONY: maybe-distclean-gas distclean-gas
9443 maybe-distclean-gas:
9444 @if gas
9445 maybe-distclean-gas: distclean-gas
9447 distclean-gas:
9448 @[ -f ./gas/Makefile ] || exit 0; \
9449 r=`${PWD_COMMAND}`; export r; \
9450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9451 $(HOST_EXPORTS) \
9452 for flag in $(EXTRA_HOST_FLAGS) ; do \
9453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9454 done; \
9455 echo "Doing distclean in gas" ; \
9456 (cd $(HOST_SUBDIR)/gas && \
9457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9459 "RANLIB=$${RANLIB}" \
9460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9461 distclean) \
9462 || exit 1
9464 @endif gas
9466 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9467 maybe-maintainer-clean-gas:
9468 @if gas
9469 maybe-maintainer-clean-gas: maintainer-clean-gas
9471 maintainer-clean-gas:
9472 @[ -f ./gas/Makefile ] || exit 0; \
9473 r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 $(HOST_EXPORTS) \
9476 for flag in $(EXTRA_HOST_FLAGS) ; do \
9477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9478 done; \
9479 echo "Doing maintainer-clean in gas" ; \
9480 (cd $(HOST_SUBDIR)/gas && \
9481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9483 "RANLIB=$${RANLIB}" \
9484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9485 maintainer-clean) \
9486 || exit 1
9488 @endif gas
9492 .PHONY: configure-gcc maybe-configure-gcc
9493 maybe-configure-gcc:
9494 @if gcc-bootstrap
9495 configure-gcc: stage_current
9496 @endif gcc-bootstrap
9497 @if gcc
9498 maybe-configure-gcc: configure-gcc
9499 configure-gcc:
9500 @r=`${PWD_COMMAND}`; export r; \
9501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9502 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9504 $(HOST_EXPORTS) \
9505 echo Configuring in $(HOST_SUBDIR)/gcc; \
9506 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9507 case $(srcdir) in \
9508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9509 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9511 esac; \
9512 srcdiroption="--srcdir=$${topdir}/gcc"; \
9513 libsrcdir="$$s/gcc"; \
9514 $(SHELL) $${libsrcdir}/configure \
9515 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9516 --target=${target_alias} $${srcdiroption} \
9517 || exit 1
9518 @endif gcc
9522 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9523 maybe-configure-stage1-gcc:
9524 @if gcc-bootstrap
9525 maybe-configure-stage1-gcc: configure-stage1-gcc
9526 configure-stage1-gcc:
9527 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9528 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9529 @r=`${PWD_COMMAND}`; export r; \
9530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9531 TFLAGS="$(STAGE1_TFLAGS)"; \
9532 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9533 $(HOST_EXPORTS) \
9534 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9535 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9536 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9537 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9539 cd $(HOST_SUBDIR)/gcc || exit 1; \
9540 case $(srcdir) in \
9541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9542 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9544 esac; \
9545 srcdiroption="--srcdir=$${topdir}/gcc"; \
9546 libsrcdir="$$s/gcc"; \
9547 $(SHELL) $${libsrcdir}/configure \
9548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9549 --target=${target_alias} $${srcdiroption} \
9550 $(STAGE1_CONFIGURE_FLAGS)
9551 @endif gcc-bootstrap
9553 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9554 maybe-configure-stage2-gcc:
9555 @if gcc-bootstrap
9556 maybe-configure-stage2-gcc: configure-stage2-gcc
9557 configure-stage2-gcc:
9558 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9560 @r=`${PWD_COMMAND}`; export r; \
9561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 TFLAGS="$(STAGE2_TFLAGS)"; \
9563 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9564 $(HOST_EXPORTS) \
9565 $(POSTSTAGE1_HOST_EXPORTS) \
9566 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9567 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9568 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9569 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9571 cd $(HOST_SUBDIR)/gcc || exit 1; \
9572 case $(srcdir) in \
9573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9574 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9576 esac; \
9577 srcdiroption="--srcdir=$${topdir}/gcc"; \
9578 libsrcdir="$$s/gcc"; \
9579 $(SHELL) $${libsrcdir}/configure \
9580 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9581 --target=${target_alias} $${srcdiroption} \
9582 --with-build-libsubdir=$(HOST_SUBDIR) \
9583 $(STAGE2_CONFIGURE_FLAGS)
9584 @endif gcc-bootstrap
9586 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9587 maybe-configure-stage3-gcc:
9588 @if gcc-bootstrap
9589 maybe-configure-stage3-gcc: configure-stage3-gcc
9590 configure-stage3-gcc:
9591 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9592 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9593 @r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 TFLAGS="$(STAGE3_TFLAGS)"; \
9596 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9597 $(HOST_EXPORTS) \
9598 $(POSTSTAGE1_HOST_EXPORTS) \
9599 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9600 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9601 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9602 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9604 cd $(HOST_SUBDIR)/gcc || exit 1; \
9605 case $(srcdir) in \
9606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9607 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9609 esac; \
9610 srcdiroption="--srcdir=$${topdir}/gcc"; \
9611 libsrcdir="$$s/gcc"; \
9612 $(SHELL) $${libsrcdir}/configure \
9613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9614 --target=${target_alias} $${srcdiroption} \
9615 --with-build-libsubdir=$(HOST_SUBDIR) \
9616 $(STAGE3_CONFIGURE_FLAGS)
9617 @endif gcc-bootstrap
9619 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9620 maybe-configure-stage4-gcc:
9621 @if gcc-bootstrap
9622 maybe-configure-stage4-gcc: configure-stage4-gcc
9623 configure-stage4-gcc:
9624 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9626 @r=`${PWD_COMMAND}`; export r; \
9627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9628 TFLAGS="$(STAGE4_TFLAGS)"; \
9629 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9630 $(HOST_EXPORTS) \
9631 $(POSTSTAGE1_HOST_EXPORTS) \
9632 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9633 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9634 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9635 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9637 cd $(HOST_SUBDIR)/gcc || exit 1; \
9638 case $(srcdir) in \
9639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9640 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9642 esac; \
9643 srcdiroption="--srcdir=$${topdir}/gcc"; \
9644 libsrcdir="$$s/gcc"; \
9645 $(SHELL) $${libsrcdir}/configure \
9646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9647 --target=${target_alias} $${srcdiroption} \
9648 --with-build-libsubdir=$(HOST_SUBDIR) \
9649 $(STAGE4_CONFIGURE_FLAGS)
9650 @endif gcc-bootstrap
9652 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9653 maybe-configure-stageprofile-gcc:
9654 @if gcc-bootstrap
9655 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9656 configure-stageprofile-gcc:
9657 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9659 @r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9662 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9663 $(HOST_EXPORTS) \
9664 $(POSTSTAGE1_HOST_EXPORTS) \
9665 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9666 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9667 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9668 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9670 cd $(HOST_SUBDIR)/gcc || exit 1; \
9671 case $(srcdir) in \
9672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9673 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9675 esac; \
9676 srcdiroption="--srcdir=$${topdir}/gcc"; \
9677 libsrcdir="$$s/gcc"; \
9678 $(SHELL) $${libsrcdir}/configure \
9679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9680 --target=${target_alias} $${srcdiroption} \
9681 --with-build-libsubdir=$(HOST_SUBDIR) \
9682 $(STAGEprofile_CONFIGURE_FLAGS)
9683 @endif gcc-bootstrap
9685 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9686 maybe-configure-stagefeedback-gcc:
9687 @if gcc-bootstrap
9688 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9689 configure-stagefeedback-gcc:
9690 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9692 @r=`${PWD_COMMAND}`; export r; \
9693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9694 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9695 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9696 $(HOST_EXPORTS) \
9697 $(POSTSTAGE1_HOST_EXPORTS) \
9698 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9699 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9700 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9701 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9703 cd $(HOST_SUBDIR)/gcc || exit 1; \
9704 case $(srcdir) in \
9705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9706 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9708 esac; \
9709 srcdiroption="--srcdir=$${topdir}/gcc"; \
9710 libsrcdir="$$s/gcc"; \
9711 $(SHELL) $${libsrcdir}/configure \
9712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9713 --target=${target_alias} $${srcdiroption} \
9714 --with-build-libsubdir=$(HOST_SUBDIR) \
9715 $(STAGEfeedback_CONFIGURE_FLAGS)
9716 @endif gcc-bootstrap
9722 .PHONY: all-gcc maybe-all-gcc
9723 maybe-all-gcc:
9724 @if gcc-bootstrap
9725 all-gcc: stage_current
9726 @endif gcc-bootstrap
9727 @if gcc
9728 TARGET-gcc=all
9729 maybe-all-gcc: all-gcc
9730 all-gcc: configure-gcc
9731 @r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733 $(HOST_EXPORTS) \
9734 (cd $(HOST_SUBDIR)/gcc && \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9736 $(TARGET-gcc))
9737 @endif gcc
9741 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9742 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9743 maybe-all-stage1-gcc:
9744 maybe-clean-stage1-gcc:
9745 @if gcc-bootstrap
9746 maybe-all-stage1-gcc: all-stage1-gcc
9747 all-stage1: all-stage1-gcc
9748 TARGET-stage1-gcc = $(TARGET-gcc)
9749 all-stage1-gcc: configure-stage1-gcc
9750 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9751 @r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 TFLAGS="$(STAGE1_TFLAGS)"; \
9754 $(HOST_EXPORTS) \
9755 cd $(HOST_SUBDIR)/gcc && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9757 CFLAGS="$(STAGE1_CFLAGS)" \
9758 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9759 LIBCFLAGS="$(LIBCFLAGS)" \
9760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9763 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9764 TFLAGS="$(STAGE1_TFLAGS)" \
9765 $(TARGET-stage1-gcc)
9767 maybe-clean-stage1-gcc: clean-stage1-gcc
9768 clean-stage1: clean-stage1-gcc
9769 clean-stage1-gcc:
9770 @if [ $(current_stage) = stage1 ]; then \
9771 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9772 else \
9773 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9774 $(MAKE) stage1-start; \
9775 fi; \
9776 cd $(HOST_SUBDIR)/gcc && \
9777 $(MAKE) $(EXTRA_HOST_FLAGS) \
9778 $(EXTRA_GCC_FLAGS) clean
9779 @endif gcc-bootstrap
9782 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9783 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9784 maybe-all-stage2-gcc:
9785 maybe-clean-stage2-gcc:
9786 @if gcc-bootstrap
9787 maybe-all-stage2-gcc: all-stage2-gcc
9788 all-stage2: all-stage2-gcc
9789 TARGET-stage2-gcc = $(TARGET-gcc)
9790 all-stage2-gcc: configure-stage2-gcc
9791 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9792 @r=`${PWD_COMMAND}`; export r; \
9793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 TFLAGS="$(STAGE2_TFLAGS)"; \
9795 $(HOST_EXPORTS) \
9796 $(POSTSTAGE1_HOST_EXPORTS) \
9797 cd $(HOST_SUBDIR)/gcc && \
9798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9799 CFLAGS="$(STAGE2_CFLAGS)" \
9800 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9801 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9806 TFLAGS="$(STAGE2_TFLAGS)" \
9807 $(TARGET-stage2-gcc)
9809 maybe-clean-stage2-gcc: clean-stage2-gcc
9810 clean-stage2: clean-stage2-gcc
9811 clean-stage2-gcc:
9812 @if [ $(current_stage) = stage2 ]; then \
9813 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9814 else \
9815 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9816 $(MAKE) stage2-start; \
9817 fi; \
9818 cd $(HOST_SUBDIR)/gcc && \
9819 $(MAKE) $(EXTRA_HOST_FLAGS) \
9820 $(POSTSTAGE1_FLAGS_TO_PASS) \
9821 $(EXTRA_GCC_FLAGS) clean
9822 @endif gcc-bootstrap
9825 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9826 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9827 maybe-all-stage3-gcc:
9828 maybe-clean-stage3-gcc:
9829 @if gcc-bootstrap
9830 maybe-all-stage3-gcc: all-stage3-gcc
9831 all-stage3: all-stage3-gcc
9832 TARGET-stage3-gcc = $(TARGET-gcc)
9833 all-stage3-gcc: configure-stage3-gcc
9834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9835 @r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837 TFLAGS="$(STAGE3_TFLAGS)"; \
9838 $(HOST_EXPORTS) \
9839 $(POSTSTAGE1_HOST_EXPORTS) \
9840 cd $(HOST_SUBDIR)/gcc && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9842 CFLAGS="$(STAGE3_CFLAGS)" \
9843 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9844 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9849 TFLAGS="$(STAGE3_TFLAGS)" \
9850 $(TARGET-stage3-gcc)
9852 maybe-clean-stage3-gcc: clean-stage3-gcc
9853 clean-stage3: clean-stage3-gcc
9854 clean-stage3-gcc:
9855 @if [ $(current_stage) = stage3 ]; then \
9856 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9857 else \
9858 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9859 $(MAKE) stage3-start; \
9860 fi; \
9861 cd $(HOST_SUBDIR)/gcc && \
9862 $(MAKE) $(EXTRA_HOST_FLAGS) \
9863 $(POSTSTAGE1_FLAGS_TO_PASS) \
9864 $(EXTRA_GCC_FLAGS) clean
9865 @endif gcc-bootstrap
9868 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9869 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9870 maybe-all-stage4-gcc:
9871 maybe-clean-stage4-gcc:
9872 @if gcc-bootstrap
9873 maybe-all-stage4-gcc: all-stage4-gcc
9874 all-stage4: all-stage4-gcc
9875 TARGET-stage4-gcc = $(TARGET-gcc)
9876 all-stage4-gcc: configure-stage4-gcc
9877 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9878 @r=`${PWD_COMMAND}`; export r; \
9879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9880 TFLAGS="$(STAGE4_TFLAGS)"; \
9881 $(HOST_EXPORTS) \
9882 $(POSTSTAGE1_HOST_EXPORTS) \
9883 cd $(HOST_SUBDIR)/gcc && \
9884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9885 CFLAGS="$(STAGE4_CFLAGS)" \
9886 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9887 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9891 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9892 TFLAGS="$(STAGE4_TFLAGS)" \
9893 $(TARGET-stage4-gcc)
9895 maybe-clean-stage4-gcc: clean-stage4-gcc
9896 clean-stage4: clean-stage4-gcc
9897 clean-stage4-gcc:
9898 @if [ $(current_stage) = stage4 ]; then \
9899 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9900 else \
9901 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9902 $(MAKE) stage4-start; \
9903 fi; \
9904 cd $(HOST_SUBDIR)/gcc && \
9905 $(MAKE) $(EXTRA_HOST_FLAGS) \
9906 $(POSTSTAGE1_FLAGS_TO_PASS) \
9907 $(EXTRA_GCC_FLAGS) clean
9908 @endif gcc-bootstrap
9911 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9912 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9913 maybe-all-stageprofile-gcc:
9914 maybe-clean-stageprofile-gcc:
9915 @if gcc-bootstrap
9916 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9917 all-stageprofile: all-stageprofile-gcc
9918 TARGET-stageprofile-gcc = $(TARGET-gcc)
9919 all-stageprofile-gcc: configure-stageprofile-gcc
9920 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9921 @r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9924 $(HOST_EXPORTS) \
9925 $(POSTSTAGE1_HOST_EXPORTS) \
9926 cd $(HOST_SUBDIR)/gcc && \
9927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9928 CFLAGS="$(STAGEprofile_CFLAGS)" \
9929 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9930 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9935 TFLAGS="$(STAGEprofile_TFLAGS)" \
9936 $(TARGET-stageprofile-gcc)
9938 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9939 clean-stageprofile: clean-stageprofile-gcc
9940 clean-stageprofile-gcc:
9941 @if [ $(current_stage) = stageprofile ]; then \
9942 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9943 else \
9944 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9945 $(MAKE) stageprofile-start; \
9946 fi; \
9947 cd $(HOST_SUBDIR)/gcc && \
9948 $(MAKE) $(EXTRA_HOST_FLAGS) \
9949 $(POSTSTAGE1_FLAGS_TO_PASS) \
9950 $(EXTRA_GCC_FLAGS) clean
9951 @endif gcc-bootstrap
9954 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9955 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9956 maybe-all-stagefeedback-gcc:
9957 maybe-clean-stagefeedback-gcc:
9958 @if gcc-bootstrap
9959 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9960 all-stagefeedback: all-stagefeedback-gcc
9961 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9962 all-stagefeedback-gcc: configure-stagefeedback-gcc
9963 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9964 @r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9967 $(HOST_EXPORTS) \
9968 $(POSTSTAGE1_HOST_EXPORTS) \
9969 cd $(HOST_SUBDIR)/gcc && \
9970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9971 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9972 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9973 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9978 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9979 $(TARGET-stagefeedback-gcc)
9981 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9982 clean-stagefeedback: clean-stagefeedback-gcc
9983 clean-stagefeedback-gcc:
9984 @if [ $(current_stage) = stagefeedback ]; then \
9985 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9986 else \
9987 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9988 $(MAKE) stagefeedback-start; \
9989 fi; \
9990 cd $(HOST_SUBDIR)/gcc && \
9991 $(MAKE) $(EXTRA_HOST_FLAGS) \
9992 $(POSTSTAGE1_FLAGS_TO_PASS) \
9993 $(EXTRA_GCC_FLAGS) clean
9994 @endif gcc-bootstrap
10000 .PHONY: check-gcc maybe-check-gcc
10001 maybe-check-gcc:
10002 @if gcc
10003 maybe-check-gcc: check-gcc
10005 check-gcc:
10006 @: $(MAKE); $(unstage)
10007 @r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 $(HOST_EXPORTS) \
10010 (cd $(HOST_SUBDIR)/gcc && \
10011 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10013 @endif gcc
10015 .PHONY: install-gcc maybe-install-gcc
10016 maybe-install-gcc:
10017 @if gcc
10018 maybe-install-gcc: install-gcc
10020 install-gcc: installdirs
10021 @: $(MAKE); $(unstage)
10022 @r=`${PWD_COMMAND}`; export r; \
10023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10024 $(HOST_EXPORTS) \
10025 (cd $(HOST_SUBDIR)/gcc && \
10026 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10028 @endif gcc
10030 .PHONY: install-strip-gcc maybe-install-strip-gcc
10031 maybe-install-strip-gcc:
10032 @if gcc
10033 maybe-install-strip-gcc: install-strip-gcc
10035 install-strip-gcc: installdirs
10036 @: $(MAKE); $(unstage)
10037 @r=`${PWD_COMMAND}`; export r; \
10038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 $(HOST_EXPORTS) \
10040 (cd $(HOST_SUBDIR)/gcc && \
10041 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10043 @endif gcc
10045 # Other targets (info, dvi, pdf, etc.)
10047 .PHONY: maybe-info-gcc info-gcc
10048 maybe-info-gcc:
10049 @if gcc
10050 maybe-info-gcc: info-gcc
10052 info-gcc: \
10053 configure-gcc
10054 @[ -f ./gcc/Makefile ] || exit 0; \
10055 r=`${PWD_COMMAND}`; export r; \
10056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10057 $(HOST_EXPORTS) \
10058 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10060 done; \
10061 echo "Doing info in gcc" ; \
10062 (cd $(HOST_SUBDIR)/gcc && \
10063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10065 "RANLIB=$${RANLIB}" \
10066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10067 info) \
10068 || exit 1
10070 @endif gcc
10072 .PHONY: maybe-dvi-gcc dvi-gcc
10073 maybe-dvi-gcc:
10074 @if gcc
10075 maybe-dvi-gcc: dvi-gcc
10077 dvi-gcc: \
10078 configure-gcc
10079 @[ -f ./gcc/Makefile ] || exit 0; \
10080 r=`${PWD_COMMAND}`; export r; \
10081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10082 $(HOST_EXPORTS) \
10083 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10085 done; \
10086 echo "Doing dvi in gcc" ; \
10087 (cd $(HOST_SUBDIR)/gcc && \
10088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10090 "RANLIB=$${RANLIB}" \
10091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10092 dvi) \
10093 || exit 1
10095 @endif gcc
10097 .PHONY: maybe-pdf-gcc pdf-gcc
10098 maybe-pdf-gcc:
10099 @if gcc
10100 maybe-pdf-gcc: pdf-gcc
10102 pdf-gcc: \
10103 configure-gcc
10104 @[ -f ./gcc/Makefile ] || exit 0; \
10105 r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(HOST_EXPORTS) \
10108 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10110 done; \
10111 echo "Doing pdf in gcc" ; \
10112 (cd $(HOST_SUBDIR)/gcc && \
10113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10115 "RANLIB=$${RANLIB}" \
10116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10117 pdf) \
10118 || exit 1
10120 @endif gcc
10122 .PHONY: maybe-html-gcc html-gcc
10123 maybe-html-gcc:
10124 @if gcc
10125 maybe-html-gcc: html-gcc
10127 html-gcc: \
10128 configure-gcc
10129 @[ -f ./gcc/Makefile ] || exit 0; \
10130 r=`${PWD_COMMAND}`; export r; \
10131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10132 $(HOST_EXPORTS) \
10133 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10135 done; \
10136 echo "Doing html in gcc" ; \
10137 (cd $(HOST_SUBDIR)/gcc && \
10138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10140 "RANLIB=$${RANLIB}" \
10141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10142 html) \
10143 || exit 1
10145 @endif gcc
10147 .PHONY: maybe-TAGS-gcc TAGS-gcc
10148 maybe-TAGS-gcc:
10149 @if gcc
10150 maybe-TAGS-gcc: TAGS-gcc
10152 TAGS-gcc: \
10153 configure-gcc
10154 @[ -f ./gcc/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing TAGS in gcc" ; \
10162 (cd $(HOST_SUBDIR)/gcc && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10167 TAGS) \
10168 || exit 1
10170 @endif gcc
10172 .PHONY: maybe-install-info-gcc install-info-gcc
10173 maybe-install-info-gcc:
10174 @if gcc
10175 maybe-install-info-gcc: install-info-gcc
10177 install-info-gcc: \
10178 configure-gcc \
10179 info-gcc
10180 @[ -f ./gcc/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10183 $(HOST_EXPORTS) \
10184 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10186 done; \
10187 echo "Doing install-info in gcc" ; \
10188 (cd $(HOST_SUBDIR)/gcc && \
10189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10191 "RANLIB=$${RANLIB}" \
10192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10193 install-info) \
10194 || exit 1
10196 @endif gcc
10198 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10199 maybe-install-pdf-gcc:
10200 @if gcc
10201 maybe-install-pdf-gcc: install-pdf-gcc
10203 install-pdf-gcc: \
10204 configure-gcc \
10205 pdf-gcc
10206 @[ -f ./gcc/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing install-pdf in gcc" ; \
10214 (cd $(HOST_SUBDIR)/gcc && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10219 install-pdf) \
10220 || exit 1
10222 @endif gcc
10224 .PHONY: maybe-install-html-gcc install-html-gcc
10225 maybe-install-html-gcc:
10226 @if gcc
10227 maybe-install-html-gcc: install-html-gcc
10229 install-html-gcc: \
10230 configure-gcc \
10231 html-gcc
10232 @[ -f ./gcc/Makefile ] || exit 0; \
10233 r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 $(HOST_EXPORTS) \
10236 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10238 done; \
10239 echo "Doing install-html in gcc" ; \
10240 (cd $(HOST_SUBDIR)/gcc && \
10241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10243 "RANLIB=$${RANLIB}" \
10244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10245 install-html) \
10246 || exit 1
10248 @endif gcc
10250 .PHONY: maybe-installcheck-gcc installcheck-gcc
10251 maybe-installcheck-gcc:
10252 @if gcc
10253 maybe-installcheck-gcc: installcheck-gcc
10255 installcheck-gcc: \
10256 configure-gcc
10257 @[ -f ./gcc/Makefile ] || exit 0; \
10258 r=`${PWD_COMMAND}`; export r; \
10259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10260 $(HOST_EXPORTS) \
10261 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10263 done; \
10264 echo "Doing installcheck in gcc" ; \
10265 (cd $(HOST_SUBDIR)/gcc && \
10266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10268 "RANLIB=$${RANLIB}" \
10269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10270 installcheck) \
10271 || exit 1
10273 @endif gcc
10275 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10276 maybe-mostlyclean-gcc:
10277 @if gcc
10278 maybe-mostlyclean-gcc: mostlyclean-gcc
10280 mostlyclean-gcc:
10281 @[ -f ./gcc/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 $(HOST_EXPORTS) \
10285 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10287 done; \
10288 echo "Doing mostlyclean in gcc" ; \
10289 (cd $(HOST_SUBDIR)/gcc && \
10290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10292 "RANLIB=$${RANLIB}" \
10293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10294 mostlyclean) \
10295 || exit 1
10297 @endif gcc
10299 .PHONY: maybe-clean-gcc clean-gcc
10300 maybe-clean-gcc:
10301 @if gcc
10302 maybe-clean-gcc: clean-gcc
10304 clean-gcc:
10305 @[ -f ./gcc/Makefile ] || exit 0; \
10306 r=`${PWD_COMMAND}`; export r; \
10307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10308 $(HOST_EXPORTS) \
10309 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10311 done; \
10312 echo "Doing clean in gcc" ; \
10313 (cd $(HOST_SUBDIR)/gcc && \
10314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10316 "RANLIB=$${RANLIB}" \
10317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10318 clean) \
10319 || exit 1
10321 @endif gcc
10323 .PHONY: maybe-distclean-gcc distclean-gcc
10324 maybe-distclean-gcc:
10325 @if gcc
10326 maybe-distclean-gcc: distclean-gcc
10328 distclean-gcc:
10329 @[ -f ./gcc/Makefile ] || exit 0; \
10330 r=`${PWD_COMMAND}`; export r; \
10331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10332 $(HOST_EXPORTS) \
10333 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10335 done; \
10336 echo "Doing distclean in gcc" ; \
10337 (cd $(HOST_SUBDIR)/gcc && \
10338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10340 "RANLIB=$${RANLIB}" \
10341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10342 distclean) \
10343 || exit 1
10345 @endif gcc
10347 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10348 maybe-maintainer-clean-gcc:
10349 @if gcc
10350 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10352 maintainer-clean-gcc:
10353 @[ -f ./gcc/Makefile ] || exit 0; \
10354 r=`${PWD_COMMAND}`; export r; \
10355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 $(HOST_EXPORTS) \
10357 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10359 done; \
10360 echo "Doing maintainer-clean in gcc" ; \
10361 (cd $(HOST_SUBDIR)/gcc && \
10362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10364 "RANLIB=$${RANLIB}" \
10365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10366 maintainer-clean) \
10367 || exit 1
10369 @endif gcc
10373 .PHONY: configure-gmp maybe-configure-gmp
10374 maybe-configure-gmp:
10375 @if gcc-bootstrap
10376 configure-gmp: stage_current
10377 @endif gcc-bootstrap
10378 @if gmp
10379 maybe-configure-gmp: configure-gmp
10380 configure-gmp:
10381 @r=`${PWD_COMMAND}`; export r; \
10382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10383 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10385 $(HOST_EXPORTS) \
10386 echo Configuring in $(HOST_SUBDIR)/gmp; \
10387 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10388 case $(srcdir) in \
10389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10390 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10392 esac; \
10393 srcdiroption="--srcdir=$${topdir}/gmp"; \
10394 libsrcdir="$$s/gmp"; \
10395 $(SHELL) $${libsrcdir}/configure \
10396 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10397 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10398 || exit 1
10399 @endif gmp
10403 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10404 maybe-configure-stage1-gmp:
10405 @if gmp-bootstrap
10406 maybe-configure-stage1-gmp: configure-stage1-gmp
10407 configure-stage1-gmp:
10408 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10410 @r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 TFLAGS="$(STAGE1_TFLAGS)"; \
10413 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10414 $(HOST_EXPORTS) \
10415 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10416 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10417 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10418 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10420 cd $(HOST_SUBDIR)/gmp || exit 1; \
10421 case $(srcdir) in \
10422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10423 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10425 esac; \
10426 srcdiroption="--srcdir=$${topdir}/gmp"; \
10427 libsrcdir="$$s/gmp"; \
10428 $(SHELL) $${libsrcdir}/configure \
10429 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10430 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10431 $(STAGE1_CONFIGURE_FLAGS) \
10432 --disable-shared
10433 @endif gmp-bootstrap
10435 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10436 maybe-configure-stage2-gmp:
10437 @if gmp-bootstrap
10438 maybe-configure-stage2-gmp: configure-stage2-gmp
10439 configure-stage2-gmp:
10440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10442 @r=`${PWD_COMMAND}`; export r; \
10443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10444 TFLAGS="$(STAGE2_TFLAGS)"; \
10445 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10446 $(HOST_EXPORTS) \
10447 $(POSTSTAGE1_HOST_EXPORTS) \
10448 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10449 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10450 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10451 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10453 cd $(HOST_SUBDIR)/gmp || exit 1; \
10454 case $(srcdir) in \
10455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10456 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10458 esac; \
10459 srcdiroption="--srcdir=$${topdir}/gmp"; \
10460 libsrcdir="$$s/gmp"; \
10461 $(SHELL) $${libsrcdir}/configure \
10462 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10463 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10464 --with-build-libsubdir=$(HOST_SUBDIR) \
10465 $(STAGE2_CONFIGURE_FLAGS) \
10466 --disable-shared
10467 @endif gmp-bootstrap
10469 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10470 maybe-configure-stage3-gmp:
10471 @if gmp-bootstrap
10472 maybe-configure-stage3-gmp: configure-stage3-gmp
10473 configure-stage3-gmp:
10474 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10476 @r=`${PWD_COMMAND}`; export r; \
10477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10478 TFLAGS="$(STAGE3_TFLAGS)"; \
10479 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10480 $(HOST_EXPORTS) \
10481 $(POSTSTAGE1_HOST_EXPORTS) \
10482 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10483 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10484 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10485 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10487 cd $(HOST_SUBDIR)/gmp || exit 1; \
10488 case $(srcdir) in \
10489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10490 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10492 esac; \
10493 srcdiroption="--srcdir=$${topdir}/gmp"; \
10494 libsrcdir="$$s/gmp"; \
10495 $(SHELL) $${libsrcdir}/configure \
10496 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10497 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10498 --with-build-libsubdir=$(HOST_SUBDIR) \
10499 $(STAGE3_CONFIGURE_FLAGS) \
10500 --disable-shared
10501 @endif gmp-bootstrap
10503 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10504 maybe-configure-stage4-gmp:
10505 @if gmp-bootstrap
10506 maybe-configure-stage4-gmp: configure-stage4-gmp
10507 configure-stage4-gmp:
10508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10510 @r=`${PWD_COMMAND}`; export r; \
10511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10512 TFLAGS="$(STAGE4_TFLAGS)"; \
10513 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10514 $(HOST_EXPORTS) \
10515 $(POSTSTAGE1_HOST_EXPORTS) \
10516 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10517 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10518 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10519 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10521 cd $(HOST_SUBDIR)/gmp || exit 1; \
10522 case $(srcdir) in \
10523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10524 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10526 esac; \
10527 srcdiroption="--srcdir=$${topdir}/gmp"; \
10528 libsrcdir="$$s/gmp"; \
10529 $(SHELL) $${libsrcdir}/configure \
10530 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10531 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10532 --with-build-libsubdir=$(HOST_SUBDIR) \
10533 $(STAGE4_CONFIGURE_FLAGS) \
10534 --disable-shared
10535 @endif gmp-bootstrap
10537 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10538 maybe-configure-stageprofile-gmp:
10539 @if gmp-bootstrap
10540 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10541 configure-stageprofile-gmp:
10542 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10544 @r=`${PWD_COMMAND}`; export r; \
10545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10547 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10548 $(HOST_EXPORTS) \
10549 $(POSTSTAGE1_HOST_EXPORTS) \
10550 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10551 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10552 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10553 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10555 cd $(HOST_SUBDIR)/gmp || exit 1; \
10556 case $(srcdir) in \
10557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10558 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10560 esac; \
10561 srcdiroption="--srcdir=$${topdir}/gmp"; \
10562 libsrcdir="$$s/gmp"; \
10563 $(SHELL) $${libsrcdir}/configure \
10564 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10565 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10566 --with-build-libsubdir=$(HOST_SUBDIR) \
10567 $(STAGEprofile_CONFIGURE_FLAGS) \
10568 --disable-shared
10569 @endif gmp-bootstrap
10571 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10572 maybe-configure-stagefeedback-gmp:
10573 @if gmp-bootstrap
10574 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10575 configure-stagefeedback-gmp:
10576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10578 @r=`${PWD_COMMAND}`; export r; \
10579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10580 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10581 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10582 $(HOST_EXPORTS) \
10583 $(POSTSTAGE1_HOST_EXPORTS) \
10584 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10585 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10586 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10587 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10589 cd $(HOST_SUBDIR)/gmp || exit 1; \
10590 case $(srcdir) in \
10591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10592 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10594 esac; \
10595 srcdiroption="--srcdir=$${topdir}/gmp"; \
10596 libsrcdir="$$s/gmp"; \
10597 $(SHELL) $${libsrcdir}/configure \
10598 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10599 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10600 --with-build-libsubdir=$(HOST_SUBDIR) \
10601 $(STAGEfeedback_CONFIGURE_FLAGS) \
10602 --disable-shared
10603 @endif gmp-bootstrap
10609 .PHONY: all-gmp maybe-all-gmp
10610 maybe-all-gmp:
10611 @if gcc-bootstrap
10612 all-gmp: stage_current
10613 @endif gcc-bootstrap
10614 @if gmp
10615 TARGET-gmp=all
10616 maybe-all-gmp: all-gmp
10617 all-gmp: configure-gmp
10618 @r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10620 $(HOST_EXPORTS) \
10621 (cd $(HOST_SUBDIR)/gmp && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10623 $(TARGET-gmp))
10624 @endif gmp
10628 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10629 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10630 maybe-all-stage1-gmp:
10631 maybe-clean-stage1-gmp:
10632 @if gmp-bootstrap
10633 maybe-all-stage1-gmp: all-stage1-gmp
10634 all-stage1: all-stage1-gmp
10635 TARGET-stage1-gmp = $(TARGET-gmp)
10636 all-stage1-gmp: configure-stage1-gmp
10637 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10638 @r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640 TFLAGS="$(STAGE1_TFLAGS)"; \
10641 $(HOST_EXPORTS) \
10642 cd $(HOST_SUBDIR)/gmp && \
10643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10644 CFLAGS="$(STAGE1_CFLAGS)" \
10645 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10646 LIBCFLAGS="$(LIBCFLAGS)" \
10647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10650 $(EXTRA_HOST_FLAGS) \
10651 TFLAGS="$(STAGE1_TFLAGS)" \
10652 $(TARGET-stage1-gmp)
10654 maybe-clean-stage1-gmp: clean-stage1-gmp
10655 clean-stage1: clean-stage1-gmp
10656 clean-stage1-gmp:
10657 @if [ $(current_stage) = stage1 ]; then \
10658 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10659 else \
10660 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10661 $(MAKE) stage1-start; \
10662 fi; \
10663 cd $(HOST_SUBDIR)/gmp && \
10664 $(MAKE) $(EXTRA_HOST_FLAGS) \
10665 clean
10666 @endif gmp-bootstrap
10669 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10670 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10671 maybe-all-stage2-gmp:
10672 maybe-clean-stage2-gmp:
10673 @if gmp-bootstrap
10674 maybe-all-stage2-gmp: all-stage2-gmp
10675 all-stage2: all-stage2-gmp
10676 TARGET-stage2-gmp = $(TARGET-gmp)
10677 all-stage2-gmp: configure-stage2-gmp
10678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10679 @r=`${PWD_COMMAND}`; export r; \
10680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 TFLAGS="$(STAGE2_TFLAGS)"; \
10682 $(HOST_EXPORTS) \
10683 $(POSTSTAGE1_HOST_EXPORTS) \
10684 cd $(HOST_SUBDIR)/gmp && \
10685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10686 CFLAGS="$(STAGE2_CFLAGS)" \
10687 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10688 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10693 TFLAGS="$(STAGE2_TFLAGS)" \
10694 $(TARGET-stage2-gmp)
10696 maybe-clean-stage2-gmp: clean-stage2-gmp
10697 clean-stage2: clean-stage2-gmp
10698 clean-stage2-gmp:
10699 @if [ $(current_stage) = stage2 ]; then \
10700 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10701 else \
10702 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10703 $(MAKE) stage2-start; \
10704 fi; \
10705 cd $(HOST_SUBDIR)/gmp && \
10706 $(MAKE) $(EXTRA_HOST_FLAGS) \
10707 $(POSTSTAGE1_FLAGS_TO_PASS) \
10708 clean
10709 @endif gmp-bootstrap
10712 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10713 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10714 maybe-all-stage3-gmp:
10715 maybe-clean-stage3-gmp:
10716 @if gmp-bootstrap
10717 maybe-all-stage3-gmp: all-stage3-gmp
10718 all-stage3: all-stage3-gmp
10719 TARGET-stage3-gmp = $(TARGET-gmp)
10720 all-stage3-gmp: configure-stage3-gmp
10721 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10722 @r=`${PWD_COMMAND}`; export r; \
10723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10724 TFLAGS="$(STAGE3_TFLAGS)"; \
10725 $(HOST_EXPORTS) \
10726 $(POSTSTAGE1_HOST_EXPORTS) \
10727 cd $(HOST_SUBDIR)/gmp && \
10728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10729 CFLAGS="$(STAGE3_CFLAGS)" \
10730 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10731 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10736 TFLAGS="$(STAGE3_TFLAGS)" \
10737 $(TARGET-stage3-gmp)
10739 maybe-clean-stage3-gmp: clean-stage3-gmp
10740 clean-stage3: clean-stage3-gmp
10741 clean-stage3-gmp:
10742 @if [ $(current_stage) = stage3 ]; then \
10743 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10744 else \
10745 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10746 $(MAKE) stage3-start; \
10747 fi; \
10748 cd $(HOST_SUBDIR)/gmp && \
10749 $(MAKE) $(EXTRA_HOST_FLAGS) \
10750 $(POSTSTAGE1_FLAGS_TO_PASS) \
10751 clean
10752 @endif gmp-bootstrap
10755 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10756 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10757 maybe-all-stage4-gmp:
10758 maybe-clean-stage4-gmp:
10759 @if gmp-bootstrap
10760 maybe-all-stage4-gmp: all-stage4-gmp
10761 all-stage4: all-stage4-gmp
10762 TARGET-stage4-gmp = $(TARGET-gmp)
10763 all-stage4-gmp: configure-stage4-gmp
10764 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10765 @r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 TFLAGS="$(STAGE4_TFLAGS)"; \
10768 $(HOST_EXPORTS) \
10769 $(POSTSTAGE1_HOST_EXPORTS) \
10770 cd $(HOST_SUBDIR)/gmp && \
10771 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10772 CFLAGS="$(STAGE4_CFLAGS)" \
10773 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10774 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10775 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10776 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10777 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10778 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10779 TFLAGS="$(STAGE4_TFLAGS)" \
10780 $(TARGET-stage4-gmp)
10782 maybe-clean-stage4-gmp: clean-stage4-gmp
10783 clean-stage4: clean-stage4-gmp
10784 clean-stage4-gmp:
10785 @if [ $(current_stage) = stage4 ]; then \
10786 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10787 else \
10788 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10789 $(MAKE) stage4-start; \
10790 fi; \
10791 cd $(HOST_SUBDIR)/gmp && \
10792 $(MAKE) $(EXTRA_HOST_FLAGS) \
10793 $(POSTSTAGE1_FLAGS_TO_PASS) \
10794 clean
10795 @endif gmp-bootstrap
10798 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10799 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10800 maybe-all-stageprofile-gmp:
10801 maybe-clean-stageprofile-gmp:
10802 @if gmp-bootstrap
10803 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10804 all-stageprofile: all-stageprofile-gmp
10805 TARGET-stageprofile-gmp = $(TARGET-gmp)
10806 all-stageprofile-gmp: configure-stageprofile-gmp
10807 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10808 @r=`${PWD_COMMAND}`; export r; \
10809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10810 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10811 $(HOST_EXPORTS) \
10812 $(POSTSTAGE1_HOST_EXPORTS) \
10813 cd $(HOST_SUBDIR)/gmp && \
10814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10815 CFLAGS="$(STAGEprofile_CFLAGS)" \
10816 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10817 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10821 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10822 TFLAGS="$(STAGEprofile_TFLAGS)" \
10823 $(TARGET-stageprofile-gmp)
10825 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10826 clean-stageprofile: clean-stageprofile-gmp
10827 clean-stageprofile-gmp:
10828 @if [ $(current_stage) = stageprofile ]; then \
10829 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10830 else \
10831 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10832 $(MAKE) stageprofile-start; \
10833 fi; \
10834 cd $(HOST_SUBDIR)/gmp && \
10835 $(MAKE) $(EXTRA_HOST_FLAGS) \
10836 $(POSTSTAGE1_FLAGS_TO_PASS) \
10837 clean
10838 @endif gmp-bootstrap
10841 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10842 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10843 maybe-all-stagefeedback-gmp:
10844 maybe-clean-stagefeedback-gmp:
10845 @if gmp-bootstrap
10846 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10847 all-stagefeedback: all-stagefeedback-gmp
10848 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10849 all-stagefeedback-gmp: configure-stagefeedback-gmp
10850 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10851 @r=`${PWD_COMMAND}`; export r; \
10852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10854 $(HOST_EXPORTS) \
10855 $(POSTSTAGE1_HOST_EXPORTS) \
10856 cd $(HOST_SUBDIR)/gmp && \
10857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10858 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10859 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10860 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10864 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10865 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10866 $(TARGET-stagefeedback-gmp)
10868 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10869 clean-stagefeedback: clean-stagefeedback-gmp
10870 clean-stagefeedback-gmp:
10871 @if [ $(current_stage) = stagefeedback ]; then \
10872 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10873 else \
10874 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10875 $(MAKE) stagefeedback-start; \
10876 fi; \
10877 cd $(HOST_SUBDIR)/gmp && \
10878 $(MAKE) $(EXTRA_HOST_FLAGS) \
10879 $(POSTSTAGE1_FLAGS_TO_PASS) \
10880 clean
10881 @endif gmp-bootstrap
10887 .PHONY: check-gmp maybe-check-gmp
10888 maybe-check-gmp:
10889 @if gmp
10890 maybe-check-gmp: check-gmp
10892 check-gmp:
10893 @: $(MAKE); $(unstage)
10894 @r=`${PWD_COMMAND}`; export r; \
10895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10896 $(HOST_EXPORTS) \
10897 (cd $(HOST_SUBDIR)/gmp && \
10898 $(MAKE) $(FLAGS_TO_PASS) check)
10900 @endif gmp
10902 .PHONY: install-gmp maybe-install-gmp
10903 maybe-install-gmp:
10904 @if gmp
10905 maybe-install-gmp: install-gmp
10907 install-gmp:
10909 @endif gmp
10911 .PHONY: install-strip-gmp maybe-install-strip-gmp
10912 maybe-install-strip-gmp:
10913 @if gmp
10914 maybe-install-strip-gmp: install-strip-gmp
10916 install-strip-gmp:
10918 @endif gmp
10920 # Other targets (info, dvi, pdf, etc.)
10922 .PHONY: maybe-info-gmp info-gmp
10923 maybe-info-gmp:
10924 @if gmp
10925 maybe-info-gmp: info-gmp
10927 info-gmp: \
10928 configure-gmp
10929 @[ -f ./gmp/Makefile ] || exit 0; \
10930 r=`${PWD_COMMAND}`; export r; \
10931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10932 $(HOST_EXPORTS) \
10933 for flag in $(EXTRA_HOST_FLAGS) ; do \
10934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10935 done; \
10936 echo "Doing info in gmp" ; \
10937 (cd $(HOST_SUBDIR)/gmp && \
10938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10940 "RANLIB=$${RANLIB}" \
10941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10942 info) \
10943 || exit 1
10945 @endif gmp
10947 .PHONY: maybe-dvi-gmp dvi-gmp
10948 maybe-dvi-gmp:
10949 @if gmp
10950 maybe-dvi-gmp: dvi-gmp
10952 dvi-gmp: \
10953 configure-gmp
10954 @[ -f ./gmp/Makefile ] || exit 0; \
10955 r=`${PWD_COMMAND}`; export r; \
10956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10957 $(HOST_EXPORTS) \
10958 for flag in $(EXTRA_HOST_FLAGS) ; do \
10959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10960 done; \
10961 echo "Doing dvi in gmp" ; \
10962 (cd $(HOST_SUBDIR)/gmp && \
10963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10965 "RANLIB=$${RANLIB}" \
10966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10967 dvi) \
10968 || exit 1
10970 @endif gmp
10972 .PHONY: maybe-pdf-gmp pdf-gmp
10973 maybe-pdf-gmp:
10974 @if gmp
10975 maybe-pdf-gmp: pdf-gmp
10977 pdf-gmp: \
10978 configure-gmp
10979 @[ -f ./gmp/Makefile ] || exit 0; \
10980 r=`${PWD_COMMAND}`; export r; \
10981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10982 $(HOST_EXPORTS) \
10983 for flag in $(EXTRA_HOST_FLAGS) ; do \
10984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10985 done; \
10986 echo "Doing pdf in gmp" ; \
10987 (cd $(HOST_SUBDIR)/gmp && \
10988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10990 "RANLIB=$${RANLIB}" \
10991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10992 pdf) \
10993 || exit 1
10995 @endif gmp
10997 .PHONY: maybe-html-gmp html-gmp
10998 maybe-html-gmp:
10999 @if gmp
11000 maybe-html-gmp: html-gmp
11002 html-gmp: \
11003 configure-gmp
11004 @[ -f ./gmp/Makefile ] || exit 0; \
11005 r=`${PWD_COMMAND}`; export r; \
11006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11007 $(HOST_EXPORTS) \
11008 for flag in $(EXTRA_HOST_FLAGS) ; do \
11009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11010 done; \
11011 echo "Doing html in gmp" ; \
11012 (cd $(HOST_SUBDIR)/gmp && \
11013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11015 "RANLIB=$${RANLIB}" \
11016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11017 html) \
11018 || exit 1
11020 @endif gmp
11022 .PHONY: maybe-TAGS-gmp TAGS-gmp
11023 maybe-TAGS-gmp:
11024 @if gmp
11025 maybe-TAGS-gmp: TAGS-gmp
11027 TAGS-gmp: \
11028 configure-gmp
11029 @[ -f ./gmp/Makefile ] || exit 0; \
11030 r=`${PWD_COMMAND}`; export r; \
11031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11032 $(HOST_EXPORTS) \
11033 for flag in $(EXTRA_HOST_FLAGS) ; do \
11034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11035 done; \
11036 echo "Doing TAGS in gmp" ; \
11037 (cd $(HOST_SUBDIR)/gmp && \
11038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11040 "RANLIB=$${RANLIB}" \
11041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11042 TAGS) \
11043 || exit 1
11045 @endif gmp
11047 .PHONY: maybe-install-info-gmp install-info-gmp
11048 maybe-install-info-gmp:
11049 @if gmp
11050 maybe-install-info-gmp: install-info-gmp
11052 install-info-gmp: \
11053 configure-gmp \
11054 info-gmp
11055 @[ -f ./gmp/Makefile ] || exit 0; \
11056 r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 $(HOST_EXPORTS) \
11059 for flag in $(EXTRA_HOST_FLAGS) ; do \
11060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11061 done; \
11062 echo "Doing install-info in gmp" ; \
11063 (cd $(HOST_SUBDIR)/gmp && \
11064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11066 "RANLIB=$${RANLIB}" \
11067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11068 install-info) \
11069 || exit 1
11071 @endif gmp
11073 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11074 maybe-install-pdf-gmp:
11075 @if gmp
11076 maybe-install-pdf-gmp: install-pdf-gmp
11078 install-pdf-gmp: \
11079 configure-gmp \
11080 pdf-gmp
11081 @[ -f ./gmp/Makefile ] || exit 0; \
11082 r=`${PWD_COMMAND}`; export r; \
11083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 $(HOST_EXPORTS) \
11085 for flag in $(EXTRA_HOST_FLAGS) ; do \
11086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11087 done; \
11088 echo "Doing install-pdf in gmp" ; \
11089 (cd $(HOST_SUBDIR)/gmp && \
11090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11092 "RANLIB=$${RANLIB}" \
11093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11094 install-pdf) \
11095 || exit 1
11097 @endif gmp
11099 .PHONY: maybe-install-html-gmp install-html-gmp
11100 maybe-install-html-gmp:
11101 @if gmp
11102 maybe-install-html-gmp: install-html-gmp
11104 install-html-gmp: \
11105 configure-gmp \
11106 html-gmp
11107 @[ -f ./gmp/Makefile ] || exit 0; \
11108 r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 $(HOST_EXPORTS) \
11111 for flag in $(EXTRA_HOST_FLAGS) ; do \
11112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11113 done; \
11114 echo "Doing install-html in gmp" ; \
11115 (cd $(HOST_SUBDIR)/gmp && \
11116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11118 "RANLIB=$${RANLIB}" \
11119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11120 install-html) \
11121 || exit 1
11123 @endif gmp
11125 .PHONY: maybe-installcheck-gmp installcheck-gmp
11126 maybe-installcheck-gmp:
11127 @if gmp
11128 maybe-installcheck-gmp: installcheck-gmp
11130 installcheck-gmp: \
11131 configure-gmp
11132 @[ -f ./gmp/Makefile ] || exit 0; \
11133 r=`${PWD_COMMAND}`; export r; \
11134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11135 $(HOST_EXPORTS) \
11136 for flag in $(EXTRA_HOST_FLAGS) ; do \
11137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11138 done; \
11139 echo "Doing installcheck in gmp" ; \
11140 (cd $(HOST_SUBDIR)/gmp && \
11141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11143 "RANLIB=$${RANLIB}" \
11144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11145 installcheck) \
11146 || exit 1
11148 @endif gmp
11150 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11151 maybe-mostlyclean-gmp:
11152 @if gmp
11153 maybe-mostlyclean-gmp: mostlyclean-gmp
11155 mostlyclean-gmp:
11156 @[ -f ./gmp/Makefile ] || exit 0; \
11157 r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(HOST_EXPORTS) \
11160 for flag in $(EXTRA_HOST_FLAGS) ; do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing mostlyclean in gmp" ; \
11164 (cd $(HOST_SUBDIR)/gmp && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11169 mostlyclean) \
11170 || exit 1
11172 @endif gmp
11174 .PHONY: maybe-clean-gmp clean-gmp
11175 maybe-clean-gmp:
11176 @if gmp
11177 maybe-clean-gmp: clean-gmp
11179 clean-gmp:
11180 @[ -f ./gmp/Makefile ] || exit 0; \
11181 r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(HOST_EXPORTS) \
11184 for flag in $(EXTRA_HOST_FLAGS) ; do \
11185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11186 done; \
11187 echo "Doing clean in gmp" ; \
11188 (cd $(HOST_SUBDIR)/gmp && \
11189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11191 "RANLIB=$${RANLIB}" \
11192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11193 clean) \
11194 || exit 1
11196 @endif gmp
11198 .PHONY: maybe-distclean-gmp distclean-gmp
11199 maybe-distclean-gmp:
11200 @if gmp
11201 maybe-distclean-gmp: distclean-gmp
11203 distclean-gmp:
11204 @[ -f ./gmp/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing distclean in gmp" ; \
11212 (cd $(HOST_SUBDIR)/gmp && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11217 distclean) \
11218 || exit 1
11220 @endif gmp
11222 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11223 maybe-maintainer-clean-gmp:
11224 @if gmp
11225 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11227 maintainer-clean-gmp:
11228 @[ -f ./gmp/Makefile ] || exit 0; \
11229 r=`${PWD_COMMAND}`; export r; \
11230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11231 $(HOST_EXPORTS) \
11232 for flag in $(EXTRA_HOST_FLAGS) ; do \
11233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11234 done; \
11235 echo "Doing maintainer-clean in gmp" ; \
11236 (cd $(HOST_SUBDIR)/gmp && \
11237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239 "RANLIB=$${RANLIB}" \
11240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11241 maintainer-clean) \
11242 || exit 1
11244 @endif gmp
11248 .PHONY: configure-mpfr maybe-configure-mpfr
11249 maybe-configure-mpfr:
11250 @if gcc-bootstrap
11251 configure-mpfr: stage_current
11252 @endif gcc-bootstrap
11253 @if mpfr
11254 maybe-configure-mpfr: configure-mpfr
11255 configure-mpfr:
11256 @r=`${PWD_COMMAND}`; export r; \
11257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11258 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11260 $(HOST_EXPORTS) \
11261 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11262 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11263 case $(srcdir) in \
11264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11265 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11267 esac; \
11268 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11269 libsrcdir="$$s/mpfr"; \
11270 $(SHELL) $${libsrcdir}/configure \
11271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11272 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11273 || exit 1
11274 @endif mpfr
11278 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11279 maybe-configure-stage1-mpfr:
11280 @if mpfr-bootstrap
11281 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11282 configure-stage1-mpfr:
11283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 TFLAGS="$(STAGE1_TFLAGS)"; \
11288 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11289 $(HOST_EXPORTS) \
11290 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11291 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11292 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11293 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11295 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11296 case $(srcdir) in \
11297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11298 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11300 esac; \
11301 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11302 libsrcdir="$$s/mpfr"; \
11303 $(SHELL) $${libsrcdir}/configure \
11304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11305 --target=${target_alias} $${srcdiroption} \
11306 $(STAGE1_CONFIGURE_FLAGS) \
11307 --disable-shared @extra_mpfr_configure_flags@
11308 @endif mpfr-bootstrap
11310 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11311 maybe-configure-stage2-mpfr:
11312 @if mpfr-bootstrap
11313 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11314 configure-stage2-mpfr:
11315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11317 @r=`${PWD_COMMAND}`; export r; \
11318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11319 TFLAGS="$(STAGE2_TFLAGS)"; \
11320 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11321 $(HOST_EXPORTS) \
11322 $(POSTSTAGE1_HOST_EXPORTS) \
11323 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11324 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11325 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11326 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11328 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11329 case $(srcdir) in \
11330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11331 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11333 esac; \
11334 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11335 libsrcdir="$$s/mpfr"; \
11336 $(SHELL) $${libsrcdir}/configure \
11337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11338 --target=${target_alias} $${srcdiroption} \
11339 --with-build-libsubdir=$(HOST_SUBDIR) \
11340 $(STAGE2_CONFIGURE_FLAGS) \
11341 --disable-shared @extra_mpfr_configure_flags@
11342 @endif mpfr-bootstrap
11344 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11345 maybe-configure-stage3-mpfr:
11346 @if mpfr-bootstrap
11347 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11348 configure-stage3-mpfr:
11349 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11351 @r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11353 TFLAGS="$(STAGE3_TFLAGS)"; \
11354 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11355 $(HOST_EXPORTS) \
11356 $(POSTSTAGE1_HOST_EXPORTS) \
11357 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11358 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11359 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11360 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11362 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11363 case $(srcdir) in \
11364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11365 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11367 esac; \
11368 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11369 libsrcdir="$$s/mpfr"; \
11370 $(SHELL) $${libsrcdir}/configure \
11371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11372 --target=${target_alias} $${srcdiroption} \
11373 --with-build-libsubdir=$(HOST_SUBDIR) \
11374 $(STAGE3_CONFIGURE_FLAGS) \
11375 --disable-shared @extra_mpfr_configure_flags@
11376 @endif mpfr-bootstrap
11378 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11379 maybe-configure-stage4-mpfr:
11380 @if mpfr-bootstrap
11381 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11382 configure-stage4-mpfr:
11383 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11385 @r=`${PWD_COMMAND}`; export r; \
11386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11387 TFLAGS="$(STAGE4_TFLAGS)"; \
11388 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11389 $(HOST_EXPORTS) \
11390 $(POSTSTAGE1_HOST_EXPORTS) \
11391 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11392 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11393 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11394 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11396 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11397 case $(srcdir) in \
11398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11399 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11401 esac; \
11402 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11403 libsrcdir="$$s/mpfr"; \
11404 $(SHELL) $${libsrcdir}/configure \
11405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11406 --target=${target_alias} $${srcdiroption} \
11407 --with-build-libsubdir=$(HOST_SUBDIR) \
11408 $(STAGE4_CONFIGURE_FLAGS) \
11409 --disable-shared @extra_mpfr_configure_flags@
11410 @endif mpfr-bootstrap
11412 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11413 maybe-configure-stageprofile-mpfr:
11414 @if mpfr-bootstrap
11415 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11416 configure-stageprofile-mpfr:
11417 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11419 @r=`${PWD_COMMAND}`; export r; \
11420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11421 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11422 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11423 $(HOST_EXPORTS) \
11424 $(POSTSTAGE1_HOST_EXPORTS) \
11425 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11426 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11427 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11428 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11430 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11431 case $(srcdir) in \
11432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11433 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11435 esac; \
11436 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11437 libsrcdir="$$s/mpfr"; \
11438 $(SHELL) $${libsrcdir}/configure \
11439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11440 --target=${target_alias} $${srcdiroption} \
11441 --with-build-libsubdir=$(HOST_SUBDIR) \
11442 $(STAGEprofile_CONFIGURE_FLAGS) \
11443 --disable-shared @extra_mpfr_configure_flags@
11444 @endif mpfr-bootstrap
11446 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11447 maybe-configure-stagefeedback-mpfr:
11448 @if mpfr-bootstrap
11449 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11450 configure-stagefeedback-mpfr:
11451 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11453 @r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11456 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11457 $(HOST_EXPORTS) \
11458 $(POSTSTAGE1_HOST_EXPORTS) \
11459 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11460 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11461 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11462 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11464 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11465 case $(srcdir) in \
11466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11467 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11469 esac; \
11470 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11471 libsrcdir="$$s/mpfr"; \
11472 $(SHELL) $${libsrcdir}/configure \
11473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11474 --target=${target_alias} $${srcdiroption} \
11475 --with-build-libsubdir=$(HOST_SUBDIR) \
11476 $(STAGEfeedback_CONFIGURE_FLAGS) \
11477 --disable-shared @extra_mpfr_configure_flags@
11478 @endif mpfr-bootstrap
11484 .PHONY: all-mpfr maybe-all-mpfr
11485 maybe-all-mpfr:
11486 @if gcc-bootstrap
11487 all-mpfr: stage_current
11488 @endif gcc-bootstrap
11489 @if mpfr
11490 TARGET-mpfr=all
11491 maybe-all-mpfr: all-mpfr
11492 all-mpfr: configure-mpfr
11493 @r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(HOST_EXPORTS) \
11496 (cd $(HOST_SUBDIR)/mpfr && \
11497 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11498 $(TARGET-mpfr))
11499 @endif mpfr
11503 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11504 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11505 maybe-all-stage1-mpfr:
11506 maybe-clean-stage1-mpfr:
11507 @if mpfr-bootstrap
11508 maybe-all-stage1-mpfr: all-stage1-mpfr
11509 all-stage1: all-stage1-mpfr
11510 TARGET-stage1-mpfr = $(TARGET-mpfr)
11511 all-stage1-mpfr: configure-stage1-mpfr
11512 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11513 @r=`${PWD_COMMAND}`; export r; \
11514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 TFLAGS="$(STAGE1_TFLAGS)"; \
11516 $(HOST_EXPORTS) \
11517 cd $(HOST_SUBDIR)/mpfr && \
11518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11519 CFLAGS="$(STAGE1_CFLAGS)" \
11520 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11521 LIBCFLAGS="$(LIBCFLAGS)" \
11522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11525 $(EXTRA_HOST_FLAGS) \
11526 TFLAGS="$(STAGE1_TFLAGS)" \
11527 $(TARGET-stage1-mpfr)
11529 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11530 clean-stage1: clean-stage1-mpfr
11531 clean-stage1-mpfr:
11532 @if [ $(current_stage) = stage1 ]; then \
11533 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11534 else \
11535 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11536 $(MAKE) stage1-start; \
11537 fi; \
11538 cd $(HOST_SUBDIR)/mpfr && \
11539 $(MAKE) $(EXTRA_HOST_FLAGS) \
11540 clean
11541 @endif mpfr-bootstrap
11544 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11545 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11546 maybe-all-stage2-mpfr:
11547 maybe-clean-stage2-mpfr:
11548 @if mpfr-bootstrap
11549 maybe-all-stage2-mpfr: all-stage2-mpfr
11550 all-stage2: all-stage2-mpfr
11551 TARGET-stage2-mpfr = $(TARGET-mpfr)
11552 all-stage2-mpfr: configure-stage2-mpfr
11553 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11554 @r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 TFLAGS="$(STAGE2_TFLAGS)"; \
11557 $(HOST_EXPORTS) \
11558 $(POSTSTAGE1_HOST_EXPORTS) \
11559 cd $(HOST_SUBDIR)/mpfr && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11561 CFLAGS="$(STAGE2_CFLAGS)" \
11562 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11563 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11564 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11565 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11566 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11567 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11568 TFLAGS="$(STAGE2_TFLAGS)" \
11569 $(TARGET-stage2-mpfr)
11571 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11572 clean-stage2: clean-stage2-mpfr
11573 clean-stage2-mpfr:
11574 @if [ $(current_stage) = stage2 ]; then \
11575 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11576 else \
11577 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11578 $(MAKE) stage2-start; \
11579 fi; \
11580 cd $(HOST_SUBDIR)/mpfr && \
11581 $(MAKE) $(EXTRA_HOST_FLAGS) \
11582 $(POSTSTAGE1_FLAGS_TO_PASS) \
11583 clean
11584 @endif mpfr-bootstrap
11587 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11588 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11589 maybe-all-stage3-mpfr:
11590 maybe-clean-stage3-mpfr:
11591 @if mpfr-bootstrap
11592 maybe-all-stage3-mpfr: all-stage3-mpfr
11593 all-stage3: all-stage3-mpfr
11594 TARGET-stage3-mpfr = $(TARGET-mpfr)
11595 all-stage3-mpfr: configure-stage3-mpfr
11596 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11597 @r=`${PWD_COMMAND}`; export r; \
11598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 TFLAGS="$(STAGE3_TFLAGS)"; \
11600 $(HOST_EXPORTS) \
11601 $(POSTSTAGE1_HOST_EXPORTS) \
11602 cd $(HOST_SUBDIR)/mpfr && \
11603 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11604 CFLAGS="$(STAGE3_CFLAGS)" \
11605 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11606 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11607 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11608 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11609 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11610 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11611 TFLAGS="$(STAGE3_TFLAGS)" \
11612 $(TARGET-stage3-mpfr)
11614 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11615 clean-stage3: clean-stage3-mpfr
11616 clean-stage3-mpfr:
11617 @if [ $(current_stage) = stage3 ]; then \
11618 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11619 else \
11620 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11621 $(MAKE) stage3-start; \
11622 fi; \
11623 cd $(HOST_SUBDIR)/mpfr && \
11624 $(MAKE) $(EXTRA_HOST_FLAGS) \
11625 $(POSTSTAGE1_FLAGS_TO_PASS) \
11626 clean
11627 @endif mpfr-bootstrap
11630 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11631 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11632 maybe-all-stage4-mpfr:
11633 maybe-clean-stage4-mpfr:
11634 @if mpfr-bootstrap
11635 maybe-all-stage4-mpfr: all-stage4-mpfr
11636 all-stage4: all-stage4-mpfr
11637 TARGET-stage4-mpfr = $(TARGET-mpfr)
11638 all-stage4-mpfr: configure-stage4-mpfr
11639 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11640 @r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11642 TFLAGS="$(STAGE4_TFLAGS)"; \
11643 $(HOST_EXPORTS) \
11644 $(POSTSTAGE1_HOST_EXPORTS) \
11645 cd $(HOST_SUBDIR)/mpfr && \
11646 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11647 CFLAGS="$(STAGE4_CFLAGS)" \
11648 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11649 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11650 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11651 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11652 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11653 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11654 TFLAGS="$(STAGE4_TFLAGS)" \
11655 $(TARGET-stage4-mpfr)
11657 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11658 clean-stage4: clean-stage4-mpfr
11659 clean-stage4-mpfr:
11660 @if [ $(current_stage) = stage4 ]; then \
11661 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11662 else \
11663 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11664 $(MAKE) stage4-start; \
11665 fi; \
11666 cd $(HOST_SUBDIR)/mpfr && \
11667 $(MAKE) $(EXTRA_HOST_FLAGS) \
11668 $(POSTSTAGE1_FLAGS_TO_PASS) \
11669 clean
11670 @endif mpfr-bootstrap
11673 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11674 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11675 maybe-all-stageprofile-mpfr:
11676 maybe-clean-stageprofile-mpfr:
11677 @if mpfr-bootstrap
11678 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11679 all-stageprofile: all-stageprofile-mpfr
11680 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11681 all-stageprofile-mpfr: configure-stageprofile-mpfr
11682 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11683 @r=`${PWD_COMMAND}`; export r; \
11684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11686 $(HOST_EXPORTS) \
11687 $(POSTSTAGE1_HOST_EXPORTS) \
11688 cd $(HOST_SUBDIR)/mpfr && \
11689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11690 CFLAGS="$(STAGEprofile_CFLAGS)" \
11691 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11692 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11697 TFLAGS="$(STAGEprofile_TFLAGS)" \
11698 $(TARGET-stageprofile-mpfr)
11700 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11701 clean-stageprofile: clean-stageprofile-mpfr
11702 clean-stageprofile-mpfr:
11703 @if [ $(current_stage) = stageprofile ]; then \
11704 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11705 else \
11706 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11707 $(MAKE) stageprofile-start; \
11708 fi; \
11709 cd $(HOST_SUBDIR)/mpfr && \
11710 $(MAKE) $(EXTRA_HOST_FLAGS) \
11711 $(POSTSTAGE1_FLAGS_TO_PASS) \
11712 clean
11713 @endif mpfr-bootstrap
11716 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11717 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11718 maybe-all-stagefeedback-mpfr:
11719 maybe-clean-stagefeedback-mpfr:
11720 @if mpfr-bootstrap
11721 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11722 all-stagefeedback: all-stagefeedback-mpfr
11723 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11724 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11725 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11726 @r=`${PWD_COMMAND}`; export r; \
11727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11728 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11729 $(HOST_EXPORTS) \
11730 $(POSTSTAGE1_HOST_EXPORTS) \
11731 cd $(HOST_SUBDIR)/mpfr && \
11732 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11733 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11734 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11735 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11736 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11737 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11738 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11739 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11740 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11741 $(TARGET-stagefeedback-mpfr)
11743 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11744 clean-stagefeedback: clean-stagefeedback-mpfr
11745 clean-stagefeedback-mpfr:
11746 @if [ $(current_stage) = stagefeedback ]; then \
11747 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11748 else \
11749 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11750 $(MAKE) stagefeedback-start; \
11751 fi; \
11752 cd $(HOST_SUBDIR)/mpfr && \
11753 $(MAKE) $(EXTRA_HOST_FLAGS) \
11754 $(POSTSTAGE1_FLAGS_TO_PASS) \
11755 clean
11756 @endif mpfr-bootstrap
11762 .PHONY: check-mpfr maybe-check-mpfr
11763 maybe-check-mpfr:
11764 @if mpfr
11765 maybe-check-mpfr: check-mpfr
11767 check-mpfr:
11768 @: $(MAKE); $(unstage)
11769 @r=`${PWD_COMMAND}`; export r; \
11770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11771 $(HOST_EXPORTS) \
11772 (cd $(HOST_SUBDIR)/mpfr && \
11773 $(MAKE) $(FLAGS_TO_PASS) check)
11775 @endif mpfr
11777 .PHONY: install-mpfr maybe-install-mpfr
11778 maybe-install-mpfr:
11779 @if mpfr
11780 maybe-install-mpfr: install-mpfr
11782 install-mpfr:
11784 @endif mpfr
11786 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11787 maybe-install-strip-mpfr:
11788 @if mpfr
11789 maybe-install-strip-mpfr: install-strip-mpfr
11791 install-strip-mpfr:
11793 @endif mpfr
11795 # Other targets (info, dvi, pdf, etc.)
11797 .PHONY: maybe-info-mpfr info-mpfr
11798 maybe-info-mpfr:
11799 @if mpfr
11800 maybe-info-mpfr: info-mpfr
11802 info-mpfr: \
11803 configure-mpfr
11804 @[ -f ./mpfr/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) ; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing info in mpfr" ; \
11812 (cd $(HOST_SUBDIR)/mpfr && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11817 info) \
11818 || exit 1
11820 @endif mpfr
11822 .PHONY: maybe-dvi-mpfr dvi-mpfr
11823 maybe-dvi-mpfr:
11824 @if mpfr
11825 maybe-dvi-mpfr: dvi-mpfr
11827 dvi-mpfr: \
11828 configure-mpfr
11829 @[ -f ./mpfr/Makefile ] || exit 0; \
11830 r=`${PWD_COMMAND}`; export r; \
11831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11832 $(HOST_EXPORTS) \
11833 for flag in $(EXTRA_HOST_FLAGS) ; do \
11834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11835 done; \
11836 echo "Doing dvi in mpfr" ; \
11837 (cd $(HOST_SUBDIR)/mpfr && \
11838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11840 "RANLIB=$${RANLIB}" \
11841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11842 dvi) \
11843 || exit 1
11845 @endif mpfr
11847 .PHONY: maybe-pdf-mpfr pdf-mpfr
11848 maybe-pdf-mpfr:
11849 @if mpfr
11850 maybe-pdf-mpfr: pdf-mpfr
11852 pdf-mpfr: \
11853 configure-mpfr
11854 @[ -f ./mpfr/Makefile ] || exit 0; \
11855 r=`${PWD_COMMAND}`; export r; \
11856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857 $(HOST_EXPORTS) \
11858 for flag in $(EXTRA_HOST_FLAGS) ; do \
11859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11860 done; \
11861 echo "Doing pdf in mpfr" ; \
11862 (cd $(HOST_SUBDIR)/mpfr && \
11863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11865 "RANLIB=$${RANLIB}" \
11866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11867 pdf) \
11868 || exit 1
11870 @endif mpfr
11872 .PHONY: maybe-html-mpfr html-mpfr
11873 maybe-html-mpfr:
11874 @if mpfr
11875 maybe-html-mpfr: html-mpfr
11877 html-mpfr: \
11878 configure-mpfr
11879 @[ -f ./mpfr/Makefile ] || exit 0; \
11880 r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 $(HOST_EXPORTS) \
11883 for flag in $(EXTRA_HOST_FLAGS) ; do \
11884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11885 done; \
11886 echo "Doing html in mpfr" ; \
11887 (cd $(HOST_SUBDIR)/mpfr && \
11888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11890 "RANLIB=$${RANLIB}" \
11891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11892 html) \
11893 || exit 1
11895 @endif mpfr
11897 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11898 maybe-TAGS-mpfr:
11899 @if mpfr
11900 maybe-TAGS-mpfr: TAGS-mpfr
11902 TAGS-mpfr: \
11903 configure-mpfr
11904 @[ -f ./mpfr/Makefile ] || exit 0; \
11905 r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(HOST_EXPORTS) \
11908 for flag in $(EXTRA_HOST_FLAGS) ; do \
11909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11910 done; \
11911 echo "Doing TAGS in mpfr" ; \
11912 (cd $(HOST_SUBDIR)/mpfr && \
11913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11915 "RANLIB=$${RANLIB}" \
11916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11917 TAGS) \
11918 || exit 1
11920 @endif mpfr
11922 .PHONY: maybe-install-info-mpfr install-info-mpfr
11923 maybe-install-info-mpfr:
11924 @if mpfr
11925 maybe-install-info-mpfr: install-info-mpfr
11927 install-info-mpfr: \
11928 configure-mpfr \
11929 info-mpfr
11930 @[ -f ./mpfr/Makefile ] || exit 0; \
11931 r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(HOST_EXPORTS) \
11934 for flag in $(EXTRA_HOST_FLAGS) ; do \
11935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11936 done; \
11937 echo "Doing install-info in mpfr" ; \
11938 (cd $(HOST_SUBDIR)/mpfr && \
11939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11941 "RANLIB=$${RANLIB}" \
11942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11943 install-info) \
11944 || exit 1
11946 @endif mpfr
11948 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11949 maybe-install-pdf-mpfr:
11950 @if mpfr
11951 maybe-install-pdf-mpfr: install-pdf-mpfr
11953 install-pdf-mpfr: \
11954 configure-mpfr \
11955 pdf-mpfr
11956 @[ -f ./mpfr/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(HOST_EXPORTS) \
11960 for flag in $(EXTRA_HOST_FLAGS) ; do \
11961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11962 done; \
11963 echo "Doing install-pdf in mpfr" ; \
11964 (cd $(HOST_SUBDIR)/mpfr && \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11967 "RANLIB=$${RANLIB}" \
11968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11969 install-pdf) \
11970 || exit 1
11972 @endif mpfr
11974 .PHONY: maybe-install-html-mpfr install-html-mpfr
11975 maybe-install-html-mpfr:
11976 @if mpfr
11977 maybe-install-html-mpfr: install-html-mpfr
11979 install-html-mpfr: \
11980 configure-mpfr \
11981 html-mpfr
11982 @[ -f ./mpfr/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985 $(HOST_EXPORTS) \
11986 for flag in $(EXTRA_HOST_FLAGS) ; do \
11987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11988 done; \
11989 echo "Doing install-html in mpfr" ; \
11990 (cd $(HOST_SUBDIR)/mpfr && \
11991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11993 "RANLIB=$${RANLIB}" \
11994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11995 install-html) \
11996 || exit 1
11998 @endif mpfr
12000 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12001 maybe-installcheck-mpfr:
12002 @if mpfr
12003 maybe-installcheck-mpfr: installcheck-mpfr
12005 installcheck-mpfr: \
12006 configure-mpfr
12007 @[ -f ./mpfr/Makefile ] || exit 0; \
12008 r=`${PWD_COMMAND}`; export r; \
12009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12010 $(HOST_EXPORTS) \
12011 for flag in $(EXTRA_HOST_FLAGS) ; do \
12012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12013 done; \
12014 echo "Doing installcheck in mpfr" ; \
12015 (cd $(HOST_SUBDIR)/mpfr && \
12016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12018 "RANLIB=$${RANLIB}" \
12019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12020 installcheck) \
12021 || exit 1
12023 @endif mpfr
12025 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12026 maybe-mostlyclean-mpfr:
12027 @if mpfr
12028 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12030 mostlyclean-mpfr:
12031 @[ -f ./mpfr/Makefile ] || exit 0; \
12032 r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 $(HOST_EXPORTS) \
12035 for flag in $(EXTRA_HOST_FLAGS) ; do \
12036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12037 done; \
12038 echo "Doing mostlyclean in mpfr" ; \
12039 (cd $(HOST_SUBDIR)/mpfr && \
12040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042 "RANLIB=$${RANLIB}" \
12043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12044 mostlyclean) \
12045 || exit 1
12047 @endif mpfr
12049 .PHONY: maybe-clean-mpfr clean-mpfr
12050 maybe-clean-mpfr:
12051 @if mpfr
12052 maybe-clean-mpfr: clean-mpfr
12054 clean-mpfr:
12055 @[ -f ./mpfr/Makefile ] || exit 0; \
12056 r=`${PWD_COMMAND}`; export r; \
12057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12058 $(HOST_EXPORTS) \
12059 for flag in $(EXTRA_HOST_FLAGS) ; do \
12060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12061 done; \
12062 echo "Doing clean in mpfr" ; \
12063 (cd $(HOST_SUBDIR)/mpfr && \
12064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12066 "RANLIB=$${RANLIB}" \
12067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12068 clean) \
12069 || exit 1
12071 @endif mpfr
12073 .PHONY: maybe-distclean-mpfr distclean-mpfr
12074 maybe-distclean-mpfr:
12075 @if mpfr
12076 maybe-distclean-mpfr: distclean-mpfr
12078 distclean-mpfr:
12079 @[ -f ./mpfr/Makefile ] || exit 0; \
12080 r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12082 $(HOST_EXPORTS) \
12083 for flag in $(EXTRA_HOST_FLAGS) ; do \
12084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12085 done; \
12086 echo "Doing distclean in mpfr" ; \
12087 (cd $(HOST_SUBDIR)/mpfr && \
12088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12090 "RANLIB=$${RANLIB}" \
12091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12092 distclean) \
12093 || exit 1
12095 @endif mpfr
12097 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12098 maybe-maintainer-clean-mpfr:
12099 @if mpfr
12100 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12102 maintainer-clean-mpfr:
12103 @[ -f ./mpfr/Makefile ] || exit 0; \
12104 r=`${PWD_COMMAND}`; export r; \
12105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12106 $(HOST_EXPORTS) \
12107 for flag in $(EXTRA_HOST_FLAGS) ; do \
12108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12109 done; \
12110 echo "Doing maintainer-clean in mpfr" ; \
12111 (cd $(HOST_SUBDIR)/mpfr && \
12112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12114 "RANLIB=$${RANLIB}" \
12115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12116 maintainer-clean) \
12117 || exit 1
12119 @endif mpfr
12123 .PHONY: configure-mpc maybe-configure-mpc
12124 maybe-configure-mpc:
12125 @if gcc-bootstrap
12126 configure-mpc: stage_current
12127 @endif gcc-bootstrap
12128 @if mpc
12129 maybe-configure-mpc: configure-mpc
12130 configure-mpc:
12131 @r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12135 $(HOST_EXPORTS) \
12136 echo Configuring in $(HOST_SUBDIR)/mpc; \
12137 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12138 case $(srcdir) in \
12139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12140 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12142 esac; \
12143 srcdiroption="--srcdir=$${topdir}/mpc"; \
12144 libsrcdir="$$s/mpc"; \
12145 $(SHELL) $${libsrcdir}/configure \
12146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12147 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12148 || exit 1
12149 @endif mpc
12153 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12154 maybe-configure-stage1-mpc:
12155 @if mpc-bootstrap
12156 maybe-configure-stage1-mpc: configure-stage1-mpc
12157 configure-stage1-mpc:
12158 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12160 @r=`${PWD_COMMAND}`; export r; \
12161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12162 TFLAGS="$(STAGE1_TFLAGS)"; \
12163 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12164 $(HOST_EXPORTS) \
12165 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12166 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12167 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12168 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12170 cd $(HOST_SUBDIR)/mpc || exit 1; \
12171 case $(srcdir) in \
12172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12173 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12175 esac; \
12176 srcdiroption="--srcdir=$${topdir}/mpc"; \
12177 libsrcdir="$$s/mpc"; \
12178 $(SHELL) $${libsrcdir}/configure \
12179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12180 --target=${target_alias} $${srcdiroption} \
12181 $(STAGE1_CONFIGURE_FLAGS) \
12182 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12183 @endif mpc-bootstrap
12185 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12186 maybe-configure-stage2-mpc:
12187 @if mpc-bootstrap
12188 maybe-configure-stage2-mpc: configure-stage2-mpc
12189 configure-stage2-mpc:
12190 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12192 @r=`${PWD_COMMAND}`; export r; \
12193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12194 TFLAGS="$(STAGE2_TFLAGS)"; \
12195 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12196 $(HOST_EXPORTS) \
12197 $(POSTSTAGE1_HOST_EXPORTS) \
12198 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12199 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12200 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12201 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12203 cd $(HOST_SUBDIR)/mpc || exit 1; \
12204 case $(srcdir) in \
12205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12206 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12208 esac; \
12209 srcdiroption="--srcdir=$${topdir}/mpc"; \
12210 libsrcdir="$$s/mpc"; \
12211 $(SHELL) $${libsrcdir}/configure \
12212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12213 --target=${target_alias} $${srcdiroption} \
12214 --with-build-libsubdir=$(HOST_SUBDIR) \
12215 $(STAGE2_CONFIGURE_FLAGS) \
12216 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12217 @endif mpc-bootstrap
12219 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12220 maybe-configure-stage3-mpc:
12221 @if mpc-bootstrap
12222 maybe-configure-stage3-mpc: configure-stage3-mpc
12223 configure-stage3-mpc:
12224 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12225 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12226 @r=`${PWD_COMMAND}`; export r; \
12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12228 TFLAGS="$(STAGE3_TFLAGS)"; \
12229 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12230 $(HOST_EXPORTS) \
12231 $(POSTSTAGE1_HOST_EXPORTS) \
12232 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12233 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12234 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12235 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12237 cd $(HOST_SUBDIR)/mpc || exit 1; \
12238 case $(srcdir) in \
12239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12240 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12242 esac; \
12243 srcdiroption="--srcdir=$${topdir}/mpc"; \
12244 libsrcdir="$$s/mpc"; \
12245 $(SHELL) $${libsrcdir}/configure \
12246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12247 --target=${target_alias} $${srcdiroption} \
12248 --with-build-libsubdir=$(HOST_SUBDIR) \
12249 $(STAGE3_CONFIGURE_FLAGS) \
12250 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12251 @endif mpc-bootstrap
12253 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12254 maybe-configure-stage4-mpc:
12255 @if mpc-bootstrap
12256 maybe-configure-stage4-mpc: configure-stage4-mpc
12257 configure-stage4-mpc:
12258 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12260 @r=`${PWD_COMMAND}`; export r; \
12261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12262 TFLAGS="$(STAGE4_TFLAGS)"; \
12263 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12264 $(HOST_EXPORTS) \
12265 $(POSTSTAGE1_HOST_EXPORTS) \
12266 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12267 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12268 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12269 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12271 cd $(HOST_SUBDIR)/mpc || exit 1; \
12272 case $(srcdir) in \
12273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12274 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12276 esac; \
12277 srcdiroption="--srcdir=$${topdir}/mpc"; \
12278 libsrcdir="$$s/mpc"; \
12279 $(SHELL) $${libsrcdir}/configure \
12280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12281 --target=${target_alias} $${srcdiroption} \
12282 --with-build-libsubdir=$(HOST_SUBDIR) \
12283 $(STAGE4_CONFIGURE_FLAGS) \
12284 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12285 @endif mpc-bootstrap
12287 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12288 maybe-configure-stageprofile-mpc:
12289 @if mpc-bootstrap
12290 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12291 configure-stageprofile-mpc:
12292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12294 @r=`${PWD_COMMAND}`; export r; \
12295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12297 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12298 $(HOST_EXPORTS) \
12299 $(POSTSTAGE1_HOST_EXPORTS) \
12300 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12301 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12302 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12303 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12305 cd $(HOST_SUBDIR)/mpc || exit 1; \
12306 case $(srcdir) in \
12307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12308 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12310 esac; \
12311 srcdiroption="--srcdir=$${topdir}/mpc"; \
12312 libsrcdir="$$s/mpc"; \
12313 $(SHELL) $${libsrcdir}/configure \
12314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12315 --target=${target_alias} $${srcdiroption} \
12316 --with-build-libsubdir=$(HOST_SUBDIR) \
12317 $(STAGEprofile_CONFIGURE_FLAGS) \
12318 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12319 @endif mpc-bootstrap
12321 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12322 maybe-configure-stagefeedback-mpc:
12323 @if mpc-bootstrap
12324 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12325 configure-stagefeedback-mpc:
12326 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12328 @r=`${PWD_COMMAND}`; export r; \
12329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12330 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12331 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12332 $(HOST_EXPORTS) \
12333 $(POSTSTAGE1_HOST_EXPORTS) \
12334 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12335 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12336 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12337 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12339 cd $(HOST_SUBDIR)/mpc || exit 1; \
12340 case $(srcdir) in \
12341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12342 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12344 esac; \
12345 srcdiroption="--srcdir=$${topdir}/mpc"; \
12346 libsrcdir="$$s/mpc"; \
12347 $(SHELL) $${libsrcdir}/configure \
12348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12349 --target=${target_alias} $${srcdiroption} \
12350 --with-build-libsubdir=$(HOST_SUBDIR) \
12351 $(STAGEfeedback_CONFIGURE_FLAGS) \
12352 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12353 @endif mpc-bootstrap
12359 .PHONY: all-mpc maybe-all-mpc
12360 maybe-all-mpc:
12361 @if gcc-bootstrap
12362 all-mpc: stage_current
12363 @endif gcc-bootstrap
12364 @if mpc
12365 TARGET-mpc=all
12366 maybe-all-mpc: all-mpc
12367 all-mpc: configure-mpc
12368 @r=`${PWD_COMMAND}`; export r; \
12369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12370 $(HOST_EXPORTS) \
12371 (cd $(HOST_SUBDIR)/mpc && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12373 $(TARGET-mpc))
12374 @endif mpc
12378 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12379 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12380 maybe-all-stage1-mpc:
12381 maybe-clean-stage1-mpc:
12382 @if mpc-bootstrap
12383 maybe-all-stage1-mpc: all-stage1-mpc
12384 all-stage1: all-stage1-mpc
12385 TARGET-stage1-mpc = $(TARGET-mpc)
12386 all-stage1-mpc: configure-stage1-mpc
12387 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12388 @r=`${PWD_COMMAND}`; export r; \
12389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12390 TFLAGS="$(STAGE1_TFLAGS)"; \
12391 $(HOST_EXPORTS) \
12392 cd $(HOST_SUBDIR)/mpc && \
12393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12394 CFLAGS="$(STAGE1_CFLAGS)" \
12395 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12396 LIBCFLAGS="$(LIBCFLAGS)" \
12397 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12398 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12399 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12400 $(EXTRA_HOST_FLAGS) \
12401 TFLAGS="$(STAGE1_TFLAGS)" \
12402 $(TARGET-stage1-mpc)
12404 maybe-clean-stage1-mpc: clean-stage1-mpc
12405 clean-stage1: clean-stage1-mpc
12406 clean-stage1-mpc:
12407 @if [ $(current_stage) = stage1 ]; then \
12408 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12409 else \
12410 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12411 $(MAKE) stage1-start; \
12412 fi; \
12413 cd $(HOST_SUBDIR)/mpc && \
12414 $(MAKE) $(EXTRA_HOST_FLAGS) \
12415 clean
12416 @endif mpc-bootstrap
12419 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12420 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12421 maybe-all-stage2-mpc:
12422 maybe-clean-stage2-mpc:
12423 @if mpc-bootstrap
12424 maybe-all-stage2-mpc: all-stage2-mpc
12425 all-stage2: all-stage2-mpc
12426 TARGET-stage2-mpc = $(TARGET-mpc)
12427 all-stage2-mpc: configure-stage2-mpc
12428 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12429 @r=`${PWD_COMMAND}`; export r; \
12430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12431 TFLAGS="$(STAGE2_TFLAGS)"; \
12432 $(HOST_EXPORTS) \
12433 $(POSTSTAGE1_HOST_EXPORTS) \
12434 cd $(HOST_SUBDIR)/mpc && \
12435 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12436 CFLAGS="$(STAGE2_CFLAGS)" \
12437 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12438 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12442 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12443 TFLAGS="$(STAGE2_TFLAGS)" \
12444 $(TARGET-stage2-mpc)
12446 maybe-clean-stage2-mpc: clean-stage2-mpc
12447 clean-stage2: clean-stage2-mpc
12448 clean-stage2-mpc:
12449 @if [ $(current_stage) = stage2 ]; then \
12450 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12451 else \
12452 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12453 $(MAKE) stage2-start; \
12454 fi; \
12455 cd $(HOST_SUBDIR)/mpc && \
12456 $(MAKE) $(EXTRA_HOST_FLAGS) \
12457 $(POSTSTAGE1_FLAGS_TO_PASS) \
12458 clean
12459 @endif mpc-bootstrap
12462 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12463 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12464 maybe-all-stage3-mpc:
12465 maybe-clean-stage3-mpc:
12466 @if mpc-bootstrap
12467 maybe-all-stage3-mpc: all-stage3-mpc
12468 all-stage3: all-stage3-mpc
12469 TARGET-stage3-mpc = $(TARGET-mpc)
12470 all-stage3-mpc: configure-stage3-mpc
12471 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12472 @r=`${PWD_COMMAND}`; export r; \
12473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12474 TFLAGS="$(STAGE3_TFLAGS)"; \
12475 $(HOST_EXPORTS) \
12476 $(POSTSTAGE1_HOST_EXPORTS) \
12477 cd $(HOST_SUBDIR)/mpc && \
12478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12479 CFLAGS="$(STAGE3_CFLAGS)" \
12480 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12481 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12486 TFLAGS="$(STAGE3_TFLAGS)" \
12487 $(TARGET-stage3-mpc)
12489 maybe-clean-stage3-mpc: clean-stage3-mpc
12490 clean-stage3: clean-stage3-mpc
12491 clean-stage3-mpc:
12492 @if [ $(current_stage) = stage3 ]; then \
12493 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12494 else \
12495 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12496 $(MAKE) stage3-start; \
12497 fi; \
12498 cd $(HOST_SUBDIR)/mpc && \
12499 $(MAKE) $(EXTRA_HOST_FLAGS) \
12500 $(POSTSTAGE1_FLAGS_TO_PASS) \
12501 clean
12502 @endif mpc-bootstrap
12505 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12506 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12507 maybe-all-stage4-mpc:
12508 maybe-clean-stage4-mpc:
12509 @if mpc-bootstrap
12510 maybe-all-stage4-mpc: all-stage4-mpc
12511 all-stage4: all-stage4-mpc
12512 TARGET-stage4-mpc = $(TARGET-mpc)
12513 all-stage4-mpc: configure-stage4-mpc
12514 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12515 @r=`${PWD_COMMAND}`; export r; \
12516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12517 TFLAGS="$(STAGE4_TFLAGS)"; \
12518 $(HOST_EXPORTS) \
12519 $(POSTSTAGE1_HOST_EXPORTS) \
12520 cd $(HOST_SUBDIR)/mpc && \
12521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12522 CFLAGS="$(STAGE4_CFLAGS)" \
12523 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12524 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12529 TFLAGS="$(STAGE4_TFLAGS)" \
12530 $(TARGET-stage4-mpc)
12532 maybe-clean-stage4-mpc: clean-stage4-mpc
12533 clean-stage4: clean-stage4-mpc
12534 clean-stage4-mpc:
12535 @if [ $(current_stage) = stage4 ]; then \
12536 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12537 else \
12538 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12539 $(MAKE) stage4-start; \
12540 fi; \
12541 cd $(HOST_SUBDIR)/mpc && \
12542 $(MAKE) $(EXTRA_HOST_FLAGS) \
12543 $(POSTSTAGE1_FLAGS_TO_PASS) \
12544 clean
12545 @endif mpc-bootstrap
12548 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12549 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12550 maybe-all-stageprofile-mpc:
12551 maybe-clean-stageprofile-mpc:
12552 @if mpc-bootstrap
12553 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12554 all-stageprofile: all-stageprofile-mpc
12555 TARGET-stageprofile-mpc = $(TARGET-mpc)
12556 all-stageprofile-mpc: configure-stageprofile-mpc
12557 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12558 @r=`${PWD_COMMAND}`; export r; \
12559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12561 $(HOST_EXPORTS) \
12562 $(POSTSTAGE1_HOST_EXPORTS) \
12563 cd $(HOST_SUBDIR)/mpc && \
12564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12565 CFLAGS="$(STAGEprofile_CFLAGS)" \
12566 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12567 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12572 TFLAGS="$(STAGEprofile_TFLAGS)" \
12573 $(TARGET-stageprofile-mpc)
12575 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12576 clean-stageprofile: clean-stageprofile-mpc
12577 clean-stageprofile-mpc:
12578 @if [ $(current_stage) = stageprofile ]; then \
12579 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12580 else \
12581 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12582 $(MAKE) stageprofile-start; \
12583 fi; \
12584 cd $(HOST_SUBDIR)/mpc && \
12585 $(MAKE) $(EXTRA_HOST_FLAGS) \
12586 $(POSTSTAGE1_FLAGS_TO_PASS) \
12587 clean
12588 @endif mpc-bootstrap
12591 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12592 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12593 maybe-all-stagefeedback-mpc:
12594 maybe-clean-stagefeedback-mpc:
12595 @if mpc-bootstrap
12596 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12597 all-stagefeedback: all-stagefeedback-mpc
12598 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12599 all-stagefeedback-mpc: configure-stagefeedback-mpc
12600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12601 @r=`${PWD_COMMAND}`; export r; \
12602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12603 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12604 $(HOST_EXPORTS) \
12605 $(POSTSTAGE1_HOST_EXPORTS) \
12606 cd $(HOST_SUBDIR)/mpc && \
12607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12608 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12615 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12616 $(TARGET-stagefeedback-mpc)
12618 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12619 clean-stagefeedback: clean-stagefeedback-mpc
12620 clean-stagefeedback-mpc:
12621 @if [ $(current_stage) = stagefeedback ]; then \
12622 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12623 else \
12624 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12625 $(MAKE) stagefeedback-start; \
12626 fi; \
12627 cd $(HOST_SUBDIR)/mpc && \
12628 $(MAKE) $(EXTRA_HOST_FLAGS) \
12629 $(POSTSTAGE1_FLAGS_TO_PASS) \
12630 clean
12631 @endif mpc-bootstrap
12637 .PHONY: check-mpc maybe-check-mpc
12638 maybe-check-mpc:
12639 @if mpc
12640 maybe-check-mpc: check-mpc
12642 check-mpc:
12643 @: $(MAKE); $(unstage)
12644 @r=`${PWD_COMMAND}`; export r; \
12645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 $(HOST_EXPORTS) \
12647 (cd $(HOST_SUBDIR)/mpc && \
12648 $(MAKE) $(FLAGS_TO_PASS) check)
12650 @endif mpc
12652 .PHONY: install-mpc maybe-install-mpc
12653 maybe-install-mpc:
12654 @if mpc
12655 maybe-install-mpc: install-mpc
12657 install-mpc:
12659 @endif mpc
12661 .PHONY: install-strip-mpc maybe-install-strip-mpc
12662 maybe-install-strip-mpc:
12663 @if mpc
12664 maybe-install-strip-mpc: install-strip-mpc
12666 install-strip-mpc:
12668 @endif mpc
12670 # Other targets (info, dvi, pdf, etc.)
12672 .PHONY: maybe-info-mpc info-mpc
12673 maybe-info-mpc:
12674 @if mpc
12675 maybe-info-mpc: info-mpc
12677 info-mpc: \
12678 configure-mpc
12679 @[ -f ./mpc/Makefile ] || exit 0; \
12680 r=`${PWD_COMMAND}`; export r; \
12681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12682 $(HOST_EXPORTS) \
12683 for flag in $(EXTRA_HOST_FLAGS) ; do \
12684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12685 done; \
12686 echo "Doing info in mpc" ; \
12687 (cd $(HOST_SUBDIR)/mpc && \
12688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12690 "RANLIB=$${RANLIB}" \
12691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12692 info) \
12693 || exit 1
12695 @endif mpc
12697 .PHONY: maybe-dvi-mpc dvi-mpc
12698 maybe-dvi-mpc:
12699 @if mpc
12700 maybe-dvi-mpc: dvi-mpc
12702 dvi-mpc: \
12703 configure-mpc
12704 @[ -f ./mpc/Makefile ] || exit 0; \
12705 r=`${PWD_COMMAND}`; export r; \
12706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12707 $(HOST_EXPORTS) \
12708 for flag in $(EXTRA_HOST_FLAGS) ; do \
12709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12710 done; \
12711 echo "Doing dvi in mpc" ; \
12712 (cd $(HOST_SUBDIR)/mpc && \
12713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12715 "RANLIB=$${RANLIB}" \
12716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12717 dvi) \
12718 || exit 1
12720 @endif mpc
12722 .PHONY: maybe-pdf-mpc pdf-mpc
12723 maybe-pdf-mpc:
12724 @if mpc
12725 maybe-pdf-mpc: pdf-mpc
12727 pdf-mpc: \
12728 configure-mpc
12729 @[ -f ./mpc/Makefile ] || exit 0; \
12730 r=`${PWD_COMMAND}`; export r; \
12731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732 $(HOST_EXPORTS) \
12733 for flag in $(EXTRA_HOST_FLAGS) ; do \
12734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12735 done; \
12736 echo "Doing pdf in mpc" ; \
12737 (cd $(HOST_SUBDIR)/mpc && \
12738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740 "RANLIB=$${RANLIB}" \
12741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12742 pdf) \
12743 || exit 1
12745 @endif mpc
12747 .PHONY: maybe-html-mpc html-mpc
12748 maybe-html-mpc:
12749 @if mpc
12750 maybe-html-mpc: html-mpc
12752 html-mpc: \
12753 configure-mpc
12754 @[ -f ./mpc/Makefile ] || exit 0; \
12755 r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 $(HOST_EXPORTS) \
12758 for flag in $(EXTRA_HOST_FLAGS) ; do \
12759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12760 done; \
12761 echo "Doing html in mpc" ; \
12762 (cd $(HOST_SUBDIR)/mpc && \
12763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12765 "RANLIB=$${RANLIB}" \
12766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12767 html) \
12768 || exit 1
12770 @endif mpc
12772 .PHONY: maybe-TAGS-mpc TAGS-mpc
12773 maybe-TAGS-mpc:
12774 @if mpc
12775 maybe-TAGS-mpc: TAGS-mpc
12777 TAGS-mpc: \
12778 configure-mpc
12779 @[ -f ./mpc/Makefile ] || exit 0; \
12780 r=`${PWD_COMMAND}`; export r; \
12781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12782 $(HOST_EXPORTS) \
12783 for flag in $(EXTRA_HOST_FLAGS) ; do \
12784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12785 done; \
12786 echo "Doing TAGS in mpc" ; \
12787 (cd $(HOST_SUBDIR)/mpc && \
12788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12790 "RANLIB=$${RANLIB}" \
12791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12792 TAGS) \
12793 || exit 1
12795 @endif mpc
12797 .PHONY: maybe-install-info-mpc install-info-mpc
12798 maybe-install-info-mpc:
12799 @if mpc
12800 maybe-install-info-mpc: install-info-mpc
12802 install-info-mpc: \
12803 configure-mpc \
12804 info-mpc
12805 @[ -f ./mpc/Makefile ] || exit 0; \
12806 r=`${PWD_COMMAND}`; export r; \
12807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 $(HOST_EXPORTS) \
12809 for flag in $(EXTRA_HOST_FLAGS) ; do \
12810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12811 done; \
12812 echo "Doing install-info in mpc" ; \
12813 (cd $(HOST_SUBDIR)/mpc && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12816 "RANLIB=$${RANLIB}" \
12817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12818 install-info) \
12819 || exit 1
12821 @endif mpc
12823 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12824 maybe-install-pdf-mpc:
12825 @if mpc
12826 maybe-install-pdf-mpc: install-pdf-mpc
12828 install-pdf-mpc: \
12829 configure-mpc \
12830 pdf-mpc
12831 @[ -f ./mpc/Makefile ] || exit 0; \
12832 r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(HOST_EXPORTS) \
12835 for flag in $(EXTRA_HOST_FLAGS) ; do \
12836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12837 done; \
12838 echo "Doing install-pdf in mpc" ; \
12839 (cd $(HOST_SUBDIR)/mpc && \
12840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12842 "RANLIB=$${RANLIB}" \
12843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12844 install-pdf) \
12845 || exit 1
12847 @endif mpc
12849 .PHONY: maybe-install-html-mpc install-html-mpc
12850 maybe-install-html-mpc:
12851 @if mpc
12852 maybe-install-html-mpc: install-html-mpc
12854 install-html-mpc: \
12855 configure-mpc \
12856 html-mpc
12857 @[ -f ./mpc/Makefile ] || exit 0; \
12858 r=`${PWD_COMMAND}`; export r; \
12859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12860 $(HOST_EXPORTS) \
12861 for flag in $(EXTRA_HOST_FLAGS) ; do \
12862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12863 done; \
12864 echo "Doing install-html in mpc" ; \
12865 (cd $(HOST_SUBDIR)/mpc && \
12866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12868 "RANLIB=$${RANLIB}" \
12869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12870 install-html) \
12871 || exit 1
12873 @endif mpc
12875 .PHONY: maybe-installcheck-mpc installcheck-mpc
12876 maybe-installcheck-mpc:
12877 @if mpc
12878 maybe-installcheck-mpc: installcheck-mpc
12880 installcheck-mpc: \
12881 configure-mpc
12882 @[ -f ./mpc/Makefile ] || exit 0; \
12883 r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(HOST_EXPORTS) \
12886 for flag in $(EXTRA_HOST_FLAGS) ; do \
12887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12888 done; \
12889 echo "Doing installcheck in mpc" ; \
12890 (cd $(HOST_SUBDIR)/mpc && \
12891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12893 "RANLIB=$${RANLIB}" \
12894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12895 installcheck) \
12896 || exit 1
12898 @endif mpc
12900 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12901 maybe-mostlyclean-mpc:
12902 @if mpc
12903 maybe-mostlyclean-mpc: mostlyclean-mpc
12905 mostlyclean-mpc:
12906 @[ -f ./mpc/Makefile ] || exit 0; \
12907 r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(HOST_EXPORTS) \
12910 for flag in $(EXTRA_HOST_FLAGS) ; do \
12911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12912 done; \
12913 echo "Doing mostlyclean in mpc" ; \
12914 (cd $(HOST_SUBDIR)/mpc && \
12915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12917 "RANLIB=$${RANLIB}" \
12918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12919 mostlyclean) \
12920 || exit 1
12922 @endif mpc
12924 .PHONY: maybe-clean-mpc clean-mpc
12925 maybe-clean-mpc:
12926 @if mpc
12927 maybe-clean-mpc: clean-mpc
12929 clean-mpc:
12930 @[ -f ./mpc/Makefile ] || exit 0; \
12931 r=`${PWD_COMMAND}`; export r; \
12932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12933 $(HOST_EXPORTS) \
12934 for flag in $(EXTRA_HOST_FLAGS) ; do \
12935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12936 done; \
12937 echo "Doing clean in mpc" ; \
12938 (cd $(HOST_SUBDIR)/mpc && \
12939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12941 "RANLIB=$${RANLIB}" \
12942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12943 clean) \
12944 || exit 1
12946 @endif mpc
12948 .PHONY: maybe-distclean-mpc distclean-mpc
12949 maybe-distclean-mpc:
12950 @if mpc
12951 maybe-distclean-mpc: distclean-mpc
12953 distclean-mpc:
12954 @[ -f ./mpc/Makefile ] || exit 0; \
12955 r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(HOST_EXPORTS) \
12958 for flag in $(EXTRA_HOST_FLAGS) ; do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 done; \
12961 echo "Doing distclean in mpc" ; \
12962 (cd $(HOST_SUBDIR)/mpc && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12967 distclean) \
12968 || exit 1
12970 @endif mpc
12972 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12973 maybe-maintainer-clean-mpc:
12974 @if mpc
12975 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12977 maintainer-clean-mpc:
12978 @[ -f ./mpc/Makefile ] || exit 0; \
12979 r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 $(HOST_EXPORTS) \
12982 for flag in $(EXTRA_HOST_FLAGS) ; do \
12983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12984 done; \
12985 echo "Doing maintainer-clean in mpc" ; \
12986 (cd $(HOST_SUBDIR)/mpc && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12989 "RANLIB=$${RANLIB}" \
12990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12991 maintainer-clean) \
12992 || exit 1
12994 @endif mpc
12998 .PHONY: configure-isl maybe-configure-isl
12999 maybe-configure-isl:
13000 @if gcc-bootstrap
13001 configure-isl: stage_current
13002 @endif gcc-bootstrap
13003 @if isl
13004 maybe-configure-isl: configure-isl
13005 configure-isl:
13006 @r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13010 $(HOST_EXPORTS) \
13011 echo Configuring in $(HOST_SUBDIR)/isl; \
13012 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13013 case $(srcdir) in \
13014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13015 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13017 esac; \
13018 srcdiroption="--srcdir=$${topdir}/isl"; \
13019 libsrcdir="$$s/isl"; \
13020 $(SHELL) $${libsrcdir}/configure \
13021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13022 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13023 || exit 1
13024 @endif isl
13028 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13029 maybe-configure-stage1-isl:
13030 @if isl-bootstrap
13031 maybe-configure-stage1-isl: configure-stage1-isl
13032 configure-stage1-isl:
13033 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13035 @r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 TFLAGS="$(STAGE1_TFLAGS)"; \
13038 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13039 $(HOST_EXPORTS) \
13040 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13041 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13042 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13043 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13045 cd $(HOST_SUBDIR)/isl || exit 1; \
13046 case $(srcdir) in \
13047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13048 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13050 esac; \
13051 srcdiroption="--srcdir=$${topdir}/isl"; \
13052 libsrcdir="$$s/isl"; \
13053 $(SHELL) $${libsrcdir}/configure \
13054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13055 --target=${target_alias} $${srcdiroption} \
13056 $(STAGE1_CONFIGURE_FLAGS) \
13057 --disable-shared @extra_isl_gmp_configure_flags@
13058 @endif isl-bootstrap
13060 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13061 maybe-configure-stage2-isl:
13062 @if isl-bootstrap
13063 maybe-configure-stage2-isl: configure-stage2-isl
13064 configure-stage2-isl:
13065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13066 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13067 @r=`${PWD_COMMAND}`; export r; \
13068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13069 TFLAGS="$(STAGE2_TFLAGS)"; \
13070 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13071 $(HOST_EXPORTS) \
13072 $(POSTSTAGE1_HOST_EXPORTS) \
13073 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13074 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13075 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13076 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13078 cd $(HOST_SUBDIR)/isl || exit 1; \
13079 case $(srcdir) in \
13080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13081 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13083 esac; \
13084 srcdiroption="--srcdir=$${topdir}/isl"; \
13085 libsrcdir="$$s/isl"; \
13086 $(SHELL) $${libsrcdir}/configure \
13087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13088 --target=${target_alias} $${srcdiroption} \
13089 --with-build-libsubdir=$(HOST_SUBDIR) \
13090 $(STAGE2_CONFIGURE_FLAGS) \
13091 --disable-shared @extra_isl_gmp_configure_flags@
13092 @endif isl-bootstrap
13094 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13095 maybe-configure-stage3-isl:
13096 @if isl-bootstrap
13097 maybe-configure-stage3-isl: configure-stage3-isl
13098 configure-stage3-isl:
13099 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13101 @r=`${PWD_COMMAND}`; export r; \
13102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13103 TFLAGS="$(STAGE3_TFLAGS)"; \
13104 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13105 $(HOST_EXPORTS) \
13106 $(POSTSTAGE1_HOST_EXPORTS) \
13107 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13108 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13109 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13110 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13112 cd $(HOST_SUBDIR)/isl || exit 1; \
13113 case $(srcdir) in \
13114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13115 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13117 esac; \
13118 srcdiroption="--srcdir=$${topdir}/isl"; \
13119 libsrcdir="$$s/isl"; \
13120 $(SHELL) $${libsrcdir}/configure \
13121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13122 --target=${target_alias} $${srcdiroption} \
13123 --with-build-libsubdir=$(HOST_SUBDIR) \
13124 $(STAGE3_CONFIGURE_FLAGS) \
13125 --disable-shared @extra_isl_gmp_configure_flags@
13126 @endif isl-bootstrap
13128 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13129 maybe-configure-stage4-isl:
13130 @if isl-bootstrap
13131 maybe-configure-stage4-isl: configure-stage4-isl
13132 configure-stage4-isl:
13133 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13135 @r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 TFLAGS="$(STAGE4_TFLAGS)"; \
13138 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13139 $(HOST_EXPORTS) \
13140 $(POSTSTAGE1_HOST_EXPORTS) \
13141 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13142 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13143 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13144 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13146 cd $(HOST_SUBDIR)/isl || exit 1; \
13147 case $(srcdir) in \
13148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13149 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13151 esac; \
13152 srcdiroption="--srcdir=$${topdir}/isl"; \
13153 libsrcdir="$$s/isl"; \
13154 $(SHELL) $${libsrcdir}/configure \
13155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13156 --target=${target_alias} $${srcdiroption} \
13157 --with-build-libsubdir=$(HOST_SUBDIR) \
13158 $(STAGE4_CONFIGURE_FLAGS) \
13159 --disable-shared @extra_isl_gmp_configure_flags@
13160 @endif isl-bootstrap
13162 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13163 maybe-configure-stageprofile-isl:
13164 @if isl-bootstrap
13165 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13166 configure-stageprofile-isl:
13167 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13169 @r=`${PWD_COMMAND}`; export r; \
13170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13171 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13172 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13173 $(HOST_EXPORTS) \
13174 $(POSTSTAGE1_HOST_EXPORTS) \
13175 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13176 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13177 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13178 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13180 cd $(HOST_SUBDIR)/isl || exit 1; \
13181 case $(srcdir) in \
13182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13183 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13185 esac; \
13186 srcdiroption="--srcdir=$${topdir}/isl"; \
13187 libsrcdir="$$s/isl"; \
13188 $(SHELL) $${libsrcdir}/configure \
13189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13190 --target=${target_alias} $${srcdiroption} \
13191 --with-build-libsubdir=$(HOST_SUBDIR) \
13192 $(STAGEprofile_CONFIGURE_FLAGS) \
13193 --disable-shared @extra_isl_gmp_configure_flags@
13194 @endif isl-bootstrap
13196 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13197 maybe-configure-stagefeedback-isl:
13198 @if isl-bootstrap
13199 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13200 configure-stagefeedback-isl:
13201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13203 @r=`${PWD_COMMAND}`; export r; \
13204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13206 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13207 $(HOST_EXPORTS) \
13208 $(POSTSTAGE1_HOST_EXPORTS) \
13209 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13210 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13211 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13212 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13214 cd $(HOST_SUBDIR)/isl || exit 1; \
13215 case $(srcdir) in \
13216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13217 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13219 esac; \
13220 srcdiroption="--srcdir=$${topdir}/isl"; \
13221 libsrcdir="$$s/isl"; \
13222 $(SHELL) $${libsrcdir}/configure \
13223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13224 --target=${target_alias} $${srcdiroption} \
13225 --with-build-libsubdir=$(HOST_SUBDIR) \
13226 $(STAGEfeedback_CONFIGURE_FLAGS) \
13227 --disable-shared @extra_isl_gmp_configure_flags@
13228 @endif isl-bootstrap
13234 .PHONY: all-isl maybe-all-isl
13235 maybe-all-isl:
13236 @if gcc-bootstrap
13237 all-isl: stage_current
13238 @endif gcc-bootstrap
13239 @if isl
13240 TARGET-isl=all
13241 maybe-all-isl: all-isl
13242 all-isl: configure-isl
13243 @r=`${PWD_COMMAND}`; export r; \
13244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 $(HOST_EXPORTS) \
13246 (cd $(HOST_SUBDIR)/isl && \
13247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) V=1 \
13248 $(TARGET-isl))
13249 @endif isl
13253 .PHONY: all-stage1-isl maybe-all-stage1-isl
13254 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13255 maybe-all-stage1-isl:
13256 maybe-clean-stage1-isl:
13257 @if isl-bootstrap
13258 maybe-all-stage1-isl: all-stage1-isl
13259 all-stage1: all-stage1-isl
13260 TARGET-stage1-isl = $(TARGET-isl)
13261 all-stage1-isl: configure-stage1-isl
13262 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13263 @r=`${PWD_COMMAND}`; export r; \
13264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13265 TFLAGS="$(STAGE1_TFLAGS)"; \
13266 $(HOST_EXPORTS) \
13267 cd $(HOST_SUBDIR)/isl && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13269 CFLAGS="$(STAGE1_CFLAGS)" \
13270 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13271 LIBCFLAGS="$(LIBCFLAGS)" \
13272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13275 $(EXTRA_HOST_FLAGS) V=1 \
13276 TFLAGS="$(STAGE1_TFLAGS)" \
13277 $(TARGET-stage1-isl)
13279 maybe-clean-stage1-isl: clean-stage1-isl
13280 clean-stage1: clean-stage1-isl
13281 clean-stage1-isl:
13282 @if [ $(current_stage) = stage1 ]; then \
13283 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13284 else \
13285 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13286 $(MAKE) stage1-start; \
13287 fi; \
13288 cd $(HOST_SUBDIR)/isl && \
13289 $(MAKE) $(EXTRA_HOST_FLAGS) \
13290 V=1 clean
13291 @endif isl-bootstrap
13294 .PHONY: all-stage2-isl maybe-all-stage2-isl
13295 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13296 maybe-all-stage2-isl:
13297 maybe-clean-stage2-isl:
13298 @if isl-bootstrap
13299 maybe-all-stage2-isl: all-stage2-isl
13300 all-stage2: all-stage2-isl
13301 TARGET-stage2-isl = $(TARGET-isl)
13302 all-stage2-isl: configure-stage2-isl
13303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13304 @r=`${PWD_COMMAND}`; export r; \
13305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13306 TFLAGS="$(STAGE2_TFLAGS)"; \
13307 $(HOST_EXPORTS) \
13308 $(POSTSTAGE1_HOST_EXPORTS) \
13309 cd $(HOST_SUBDIR)/isl && \
13310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13311 CFLAGS="$(STAGE2_CFLAGS)" \
13312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13318 TFLAGS="$(STAGE2_TFLAGS)" \
13319 $(TARGET-stage2-isl)
13321 maybe-clean-stage2-isl: clean-stage2-isl
13322 clean-stage2: clean-stage2-isl
13323 clean-stage2-isl:
13324 @if [ $(current_stage) = stage2 ]; then \
13325 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13326 else \
13327 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13328 $(MAKE) stage2-start; \
13329 fi; \
13330 cd $(HOST_SUBDIR)/isl && \
13331 $(MAKE) $(EXTRA_HOST_FLAGS) \
13332 $(POSTSTAGE1_FLAGS_TO_PASS) \
13333 V=1 clean
13334 @endif isl-bootstrap
13337 .PHONY: all-stage3-isl maybe-all-stage3-isl
13338 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13339 maybe-all-stage3-isl:
13340 maybe-clean-stage3-isl:
13341 @if isl-bootstrap
13342 maybe-all-stage3-isl: all-stage3-isl
13343 all-stage3: all-stage3-isl
13344 TARGET-stage3-isl = $(TARGET-isl)
13345 all-stage3-isl: configure-stage3-isl
13346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13347 @r=`${PWD_COMMAND}`; export r; \
13348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349 TFLAGS="$(STAGE3_TFLAGS)"; \
13350 $(HOST_EXPORTS) \
13351 $(POSTSTAGE1_HOST_EXPORTS) \
13352 cd $(HOST_SUBDIR)/isl && \
13353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13354 CFLAGS="$(STAGE3_CFLAGS)" \
13355 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13356 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13361 TFLAGS="$(STAGE3_TFLAGS)" \
13362 $(TARGET-stage3-isl)
13364 maybe-clean-stage3-isl: clean-stage3-isl
13365 clean-stage3: clean-stage3-isl
13366 clean-stage3-isl:
13367 @if [ $(current_stage) = stage3 ]; then \
13368 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13369 else \
13370 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13371 $(MAKE) stage3-start; \
13372 fi; \
13373 cd $(HOST_SUBDIR)/isl && \
13374 $(MAKE) $(EXTRA_HOST_FLAGS) \
13375 $(POSTSTAGE1_FLAGS_TO_PASS) \
13376 V=1 clean
13377 @endif isl-bootstrap
13380 .PHONY: all-stage4-isl maybe-all-stage4-isl
13381 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13382 maybe-all-stage4-isl:
13383 maybe-clean-stage4-isl:
13384 @if isl-bootstrap
13385 maybe-all-stage4-isl: all-stage4-isl
13386 all-stage4: all-stage4-isl
13387 TARGET-stage4-isl = $(TARGET-isl)
13388 all-stage4-isl: configure-stage4-isl
13389 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13390 @r=`${PWD_COMMAND}`; export r; \
13391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13392 TFLAGS="$(STAGE4_TFLAGS)"; \
13393 $(HOST_EXPORTS) \
13394 $(POSTSTAGE1_HOST_EXPORTS) \
13395 cd $(HOST_SUBDIR)/isl && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13397 CFLAGS="$(STAGE4_CFLAGS)" \
13398 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13399 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13404 TFLAGS="$(STAGE4_TFLAGS)" \
13405 $(TARGET-stage4-isl)
13407 maybe-clean-stage4-isl: clean-stage4-isl
13408 clean-stage4: clean-stage4-isl
13409 clean-stage4-isl:
13410 @if [ $(current_stage) = stage4 ]; then \
13411 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13412 else \
13413 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13414 $(MAKE) stage4-start; \
13415 fi; \
13416 cd $(HOST_SUBDIR)/isl && \
13417 $(MAKE) $(EXTRA_HOST_FLAGS) \
13418 $(POSTSTAGE1_FLAGS_TO_PASS) \
13419 V=1 clean
13420 @endif isl-bootstrap
13423 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13424 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13425 maybe-all-stageprofile-isl:
13426 maybe-clean-stageprofile-isl:
13427 @if isl-bootstrap
13428 maybe-all-stageprofile-isl: all-stageprofile-isl
13429 all-stageprofile: all-stageprofile-isl
13430 TARGET-stageprofile-isl = $(TARGET-isl)
13431 all-stageprofile-isl: configure-stageprofile-isl
13432 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13433 @r=`${PWD_COMMAND}`; export r; \
13434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13435 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13436 $(HOST_EXPORTS) \
13437 $(POSTSTAGE1_HOST_EXPORTS) \
13438 cd $(HOST_SUBDIR)/isl && \
13439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13440 CFLAGS="$(STAGEprofile_CFLAGS)" \
13441 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13442 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13447 TFLAGS="$(STAGEprofile_TFLAGS)" \
13448 $(TARGET-stageprofile-isl)
13450 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13451 clean-stageprofile: clean-stageprofile-isl
13452 clean-stageprofile-isl:
13453 @if [ $(current_stage) = stageprofile ]; then \
13454 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13455 else \
13456 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13457 $(MAKE) stageprofile-start; \
13458 fi; \
13459 cd $(HOST_SUBDIR)/isl && \
13460 $(MAKE) $(EXTRA_HOST_FLAGS) \
13461 $(POSTSTAGE1_FLAGS_TO_PASS) \
13462 V=1 clean
13463 @endif isl-bootstrap
13466 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13467 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13468 maybe-all-stagefeedback-isl:
13469 maybe-clean-stagefeedback-isl:
13470 @if isl-bootstrap
13471 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13472 all-stagefeedback: all-stagefeedback-isl
13473 TARGET-stagefeedback-isl = $(TARGET-isl)
13474 all-stagefeedback-isl: configure-stagefeedback-isl
13475 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13476 @r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13479 $(HOST_EXPORTS) \
13480 $(POSTSTAGE1_HOST_EXPORTS) \
13481 cd $(HOST_SUBDIR)/isl && \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13483 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13484 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13485 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13490 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13491 $(TARGET-stagefeedback-isl)
13493 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13494 clean-stagefeedback: clean-stagefeedback-isl
13495 clean-stagefeedback-isl:
13496 @if [ $(current_stage) = stagefeedback ]; then \
13497 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13498 else \
13499 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13500 $(MAKE) stagefeedback-start; \
13501 fi; \
13502 cd $(HOST_SUBDIR)/isl && \
13503 $(MAKE) $(EXTRA_HOST_FLAGS) \
13504 $(POSTSTAGE1_FLAGS_TO_PASS) \
13505 V=1 clean
13506 @endif isl-bootstrap
13512 .PHONY: check-isl maybe-check-isl
13513 maybe-check-isl:
13514 @if isl
13515 maybe-check-isl: check-isl
13517 check-isl:
13518 @: $(MAKE); $(unstage)
13519 @r=`${PWD_COMMAND}`; export r; \
13520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 $(HOST_EXPORTS) \
13522 (cd $(HOST_SUBDIR)/isl && \
13523 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13525 @endif isl
13527 .PHONY: install-isl maybe-install-isl
13528 maybe-install-isl:
13529 @if isl
13530 maybe-install-isl: install-isl
13532 install-isl:
13534 @endif isl
13536 .PHONY: install-strip-isl maybe-install-strip-isl
13537 maybe-install-strip-isl:
13538 @if isl
13539 maybe-install-strip-isl: install-strip-isl
13541 install-strip-isl:
13543 @endif isl
13545 # Other targets (info, dvi, pdf, etc.)
13547 .PHONY: maybe-info-isl info-isl
13548 maybe-info-isl:
13549 @if isl
13550 maybe-info-isl: info-isl
13552 info-isl: \
13553 configure-isl
13554 @[ -f ./isl/Makefile ] || exit 0; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 $(HOST_EXPORTS) \
13558 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13560 done; \
13561 echo "Doing info in isl" ; \
13562 (cd $(HOST_SUBDIR)/isl && \
13563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565 "RANLIB=$${RANLIB}" \
13566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13567 info) \
13568 || exit 1
13570 @endif isl
13572 .PHONY: maybe-dvi-isl dvi-isl
13573 maybe-dvi-isl:
13574 @if isl
13575 maybe-dvi-isl: dvi-isl
13577 dvi-isl: \
13578 configure-isl
13579 @[ -f ./isl/Makefile ] || exit 0; \
13580 r=`${PWD_COMMAND}`; export r; \
13581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582 $(HOST_EXPORTS) \
13583 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13585 done; \
13586 echo "Doing dvi in isl" ; \
13587 (cd $(HOST_SUBDIR)/isl && \
13588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13590 "RANLIB=$${RANLIB}" \
13591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13592 dvi) \
13593 || exit 1
13595 @endif isl
13597 .PHONY: maybe-pdf-isl pdf-isl
13598 maybe-pdf-isl:
13599 @if isl
13600 maybe-pdf-isl: pdf-isl
13602 pdf-isl: \
13603 configure-isl
13604 @[ -f ./isl/Makefile ] || exit 0; \
13605 r=`${PWD_COMMAND}`; export r; \
13606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13607 $(HOST_EXPORTS) \
13608 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13610 done; \
13611 echo "Doing pdf in isl" ; \
13612 (cd $(HOST_SUBDIR)/isl && \
13613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13615 "RANLIB=$${RANLIB}" \
13616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13617 pdf) \
13618 || exit 1
13620 @endif isl
13622 .PHONY: maybe-html-isl html-isl
13623 maybe-html-isl:
13624 @if isl
13625 maybe-html-isl: html-isl
13627 html-isl: \
13628 configure-isl
13629 @[ -f ./isl/Makefile ] || exit 0; \
13630 r=`${PWD_COMMAND}`; export r; \
13631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13632 $(HOST_EXPORTS) \
13633 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13635 done; \
13636 echo "Doing html in isl" ; \
13637 (cd $(HOST_SUBDIR)/isl && \
13638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13640 "RANLIB=$${RANLIB}" \
13641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13642 html) \
13643 || exit 1
13645 @endif isl
13647 .PHONY: maybe-TAGS-isl TAGS-isl
13648 maybe-TAGS-isl:
13649 @if isl
13650 maybe-TAGS-isl: TAGS-isl
13652 TAGS-isl: \
13653 configure-isl
13654 @[ -f ./isl/Makefile ] || exit 0; \
13655 r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 $(HOST_EXPORTS) \
13658 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660 done; \
13661 echo "Doing TAGS in isl" ; \
13662 (cd $(HOST_SUBDIR)/isl && \
13663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665 "RANLIB=$${RANLIB}" \
13666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13667 TAGS) \
13668 || exit 1
13670 @endif isl
13672 .PHONY: maybe-install-info-isl install-info-isl
13673 maybe-install-info-isl:
13674 @if isl
13675 maybe-install-info-isl: install-info-isl
13677 install-info-isl: \
13678 configure-isl \
13679 info-isl
13680 @[ -f ./isl/Makefile ] || exit 0; \
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 $(HOST_EXPORTS) \
13684 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 done; \
13687 echo "Doing install-info in isl" ; \
13688 (cd $(HOST_SUBDIR)/isl && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13693 install-info) \
13694 || exit 1
13696 @endif isl
13698 .PHONY: maybe-install-pdf-isl install-pdf-isl
13699 maybe-install-pdf-isl:
13700 @if isl
13701 maybe-install-pdf-isl: install-pdf-isl
13703 install-pdf-isl: \
13704 configure-isl \
13705 pdf-isl
13706 @[ -f ./isl/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13712 done; \
13713 echo "Doing install-pdf in isl" ; \
13714 (cd $(HOST_SUBDIR)/isl && \
13715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717 "RANLIB=$${RANLIB}" \
13718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13719 install-pdf) \
13720 || exit 1
13722 @endif isl
13724 .PHONY: maybe-install-html-isl install-html-isl
13725 maybe-install-html-isl:
13726 @if isl
13727 maybe-install-html-isl: install-html-isl
13729 install-html-isl: \
13730 configure-isl \
13731 html-isl
13732 @[ -f ./isl/Makefile ] || exit 0; \
13733 r=`${PWD_COMMAND}`; export r; \
13734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13735 $(HOST_EXPORTS) \
13736 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13738 done; \
13739 echo "Doing install-html in isl" ; \
13740 (cd $(HOST_SUBDIR)/isl && \
13741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13743 "RANLIB=$${RANLIB}" \
13744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13745 install-html) \
13746 || exit 1
13748 @endif isl
13750 .PHONY: maybe-installcheck-isl installcheck-isl
13751 maybe-installcheck-isl:
13752 @if isl
13753 maybe-installcheck-isl: installcheck-isl
13755 installcheck-isl: \
13756 configure-isl
13757 @[ -f ./isl/Makefile ] || exit 0; \
13758 r=`${PWD_COMMAND}`; export r; \
13759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13760 $(HOST_EXPORTS) \
13761 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13763 done; \
13764 echo "Doing installcheck in isl" ; \
13765 (cd $(HOST_SUBDIR)/isl && \
13766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13768 "RANLIB=$${RANLIB}" \
13769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13770 installcheck) \
13771 || exit 1
13773 @endif isl
13775 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13776 maybe-mostlyclean-isl:
13777 @if isl
13778 maybe-mostlyclean-isl: mostlyclean-isl
13780 mostlyclean-isl:
13781 @[ -f ./isl/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13787 done; \
13788 echo "Doing mostlyclean in isl" ; \
13789 (cd $(HOST_SUBDIR)/isl && \
13790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13792 "RANLIB=$${RANLIB}" \
13793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13794 mostlyclean) \
13795 || exit 1
13797 @endif isl
13799 .PHONY: maybe-clean-isl clean-isl
13800 maybe-clean-isl:
13801 @if isl
13802 maybe-clean-isl: clean-isl
13804 clean-isl:
13805 @[ -f ./isl/Makefile ] || exit 0; \
13806 r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13808 $(HOST_EXPORTS) \
13809 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13811 done; \
13812 echo "Doing clean in isl" ; \
13813 (cd $(HOST_SUBDIR)/isl && \
13814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13816 "RANLIB=$${RANLIB}" \
13817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13818 clean) \
13819 || exit 1
13821 @endif isl
13823 .PHONY: maybe-distclean-isl distclean-isl
13824 maybe-distclean-isl:
13825 @if isl
13826 maybe-distclean-isl: distclean-isl
13828 distclean-isl:
13829 @[ -f ./isl/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 done; \
13836 echo "Doing distclean in isl" ; \
13837 (cd $(HOST_SUBDIR)/isl && \
13838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13840 "RANLIB=$${RANLIB}" \
13841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13842 distclean) \
13843 || exit 1
13845 @endif isl
13847 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13848 maybe-maintainer-clean-isl:
13849 @if isl
13850 maybe-maintainer-clean-isl: maintainer-clean-isl
13852 maintainer-clean-isl:
13853 @[ -f ./isl/Makefile ] || exit 0; \
13854 r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(HOST_EXPORTS) \
13857 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13859 done; \
13860 echo "Doing maintainer-clean in isl" ; \
13861 (cd $(HOST_SUBDIR)/isl && \
13862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13864 "RANLIB=$${RANLIB}" \
13865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13866 maintainer-clean) \
13867 || exit 1
13869 @endif isl
13873 .PHONY: configure-cloog maybe-configure-cloog
13874 maybe-configure-cloog:
13875 @if gcc-bootstrap
13876 configure-cloog: stage_current
13877 @endif gcc-bootstrap
13878 @if cloog
13879 maybe-configure-cloog: configure-cloog
13880 configure-cloog:
13881 @r=`${PWD_COMMAND}`; export r; \
13882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13883 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13885 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13886 echo Configuring in $(HOST_SUBDIR)/cloog; \
13887 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13888 case $(srcdir) in \
13889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13890 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13892 esac; \
13893 srcdiroption="--srcdir=$${topdir}/cloog"; \
13894 libsrcdir="$$s/cloog"; \
13895 $(SHELL) $${libsrcdir}/configure \
13896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13897 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13898 || exit 1
13899 @endif cloog
13903 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13904 maybe-configure-stage1-cloog:
13905 @if cloog-bootstrap
13906 maybe-configure-stage1-cloog: configure-stage1-cloog
13907 configure-stage1-cloog:
13908 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13910 @r=`${PWD_COMMAND}`; export r; \
13911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13912 TFLAGS="$(STAGE1_TFLAGS)"; \
13913 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13914 $(HOST_EXPORTS) \
13915 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13916 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13917 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13918 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13920 cd $(HOST_SUBDIR)/cloog || exit 1; \
13921 case $(srcdir) in \
13922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13923 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13925 esac; \
13926 srcdiroption="--srcdir=$${topdir}/cloog"; \
13927 libsrcdir="$$s/cloog"; \
13928 $(SHELL) $${libsrcdir}/configure \
13929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13930 --target=${target_alias} $${srcdiroption} \
13931 $(STAGE1_CONFIGURE_FLAGS) \
13932 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13933 @endif cloog-bootstrap
13935 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13936 maybe-configure-stage2-cloog:
13937 @if cloog-bootstrap
13938 maybe-configure-stage2-cloog: configure-stage2-cloog
13939 configure-stage2-cloog:
13940 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13942 @r=`${PWD_COMMAND}`; export r; \
13943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13944 TFLAGS="$(STAGE2_TFLAGS)"; \
13945 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13946 $(HOST_EXPORTS) \
13947 $(POSTSTAGE1_HOST_EXPORTS) \
13948 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13949 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13950 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13951 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13953 cd $(HOST_SUBDIR)/cloog || exit 1; \
13954 case $(srcdir) in \
13955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13956 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13958 esac; \
13959 srcdiroption="--srcdir=$${topdir}/cloog"; \
13960 libsrcdir="$$s/cloog"; \
13961 $(SHELL) $${libsrcdir}/configure \
13962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13963 --target=${target_alias} $${srcdiroption} \
13964 --with-build-libsubdir=$(HOST_SUBDIR) \
13965 $(STAGE2_CONFIGURE_FLAGS) \
13966 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13967 @endif cloog-bootstrap
13969 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13970 maybe-configure-stage3-cloog:
13971 @if cloog-bootstrap
13972 maybe-configure-stage3-cloog: configure-stage3-cloog
13973 configure-stage3-cloog:
13974 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13976 @r=`${PWD_COMMAND}`; export r; \
13977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13978 TFLAGS="$(STAGE3_TFLAGS)"; \
13979 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13980 $(HOST_EXPORTS) \
13981 $(POSTSTAGE1_HOST_EXPORTS) \
13982 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13983 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13984 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13985 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13987 cd $(HOST_SUBDIR)/cloog || exit 1; \
13988 case $(srcdir) in \
13989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13990 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13992 esac; \
13993 srcdiroption="--srcdir=$${topdir}/cloog"; \
13994 libsrcdir="$$s/cloog"; \
13995 $(SHELL) $${libsrcdir}/configure \
13996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13997 --target=${target_alias} $${srcdiroption} \
13998 --with-build-libsubdir=$(HOST_SUBDIR) \
13999 $(STAGE3_CONFIGURE_FLAGS) \
14000 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14001 @endif cloog-bootstrap
14003 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14004 maybe-configure-stage4-cloog:
14005 @if cloog-bootstrap
14006 maybe-configure-stage4-cloog: configure-stage4-cloog
14007 configure-stage4-cloog:
14008 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14010 @r=`${PWD_COMMAND}`; export r; \
14011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14012 TFLAGS="$(STAGE4_TFLAGS)"; \
14013 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14014 $(HOST_EXPORTS) \
14015 $(POSTSTAGE1_HOST_EXPORTS) \
14016 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14017 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14018 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14019 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14021 cd $(HOST_SUBDIR)/cloog || exit 1; \
14022 case $(srcdir) in \
14023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14024 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14026 esac; \
14027 srcdiroption="--srcdir=$${topdir}/cloog"; \
14028 libsrcdir="$$s/cloog"; \
14029 $(SHELL) $${libsrcdir}/configure \
14030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14031 --target=${target_alias} $${srcdiroption} \
14032 --with-build-libsubdir=$(HOST_SUBDIR) \
14033 $(STAGE4_CONFIGURE_FLAGS) \
14034 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14035 @endif cloog-bootstrap
14037 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14038 maybe-configure-stageprofile-cloog:
14039 @if cloog-bootstrap
14040 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14041 configure-stageprofile-cloog:
14042 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14044 @r=`${PWD_COMMAND}`; export r; \
14045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14046 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14047 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14048 $(HOST_EXPORTS) \
14049 $(POSTSTAGE1_HOST_EXPORTS) \
14050 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14051 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14052 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14053 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14055 cd $(HOST_SUBDIR)/cloog || exit 1; \
14056 case $(srcdir) in \
14057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14058 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14060 esac; \
14061 srcdiroption="--srcdir=$${topdir}/cloog"; \
14062 libsrcdir="$$s/cloog"; \
14063 $(SHELL) $${libsrcdir}/configure \
14064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14065 --target=${target_alias} $${srcdiroption} \
14066 --with-build-libsubdir=$(HOST_SUBDIR) \
14067 $(STAGEprofile_CONFIGURE_FLAGS) \
14068 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14069 @endif cloog-bootstrap
14071 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14072 maybe-configure-stagefeedback-cloog:
14073 @if cloog-bootstrap
14074 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14075 configure-stagefeedback-cloog:
14076 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14078 @r=`${PWD_COMMAND}`; export r; \
14079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14080 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14081 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14082 $(HOST_EXPORTS) \
14083 $(POSTSTAGE1_HOST_EXPORTS) \
14084 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14085 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14086 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14087 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14089 cd $(HOST_SUBDIR)/cloog || exit 1; \
14090 case $(srcdir) in \
14091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14092 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14094 esac; \
14095 srcdiroption="--srcdir=$${topdir}/cloog"; \
14096 libsrcdir="$$s/cloog"; \
14097 $(SHELL) $${libsrcdir}/configure \
14098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14099 --target=${target_alias} $${srcdiroption} \
14100 --with-build-libsubdir=$(HOST_SUBDIR) \
14101 $(STAGEfeedback_CONFIGURE_FLAGS) \
14102 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14103 @endif cloog-bootstrap
14109 .PHONY: all-cloog maybe-all-cloog
14110 maybe-all-cloog:
14111 @if gcc-bootstrap
14112 all-cloog: stage_current
14113 @endif gcc-bootstrap
14114 @if cloog
14115 TARGET-cloog=all
14116 maybe-all-cloog: all-cloog
14117 all-cloog: configure-cloog
14118 @r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14121 (cd $(HOST_SUBDIR)/cloog && \
14122 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14123 $(TARGET-cloog))
14124 @endif cloog
14128 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14129 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14130 maybe-all-stage1-cloog:
14131 maybe-clean-stage1-cloog:
14132 @if cloog-bootstrap
14133 maybe-all-stage1-cloog: all-stage1-cloog
14134 all-stage1: all-stage1-cloog
14135 TARGET-stage1-cloog = $(TARGET-cloog)
14136 all-stage1-cloog: configure-stage1-cloog
14137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14138 @r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14140 TFLAGS="$(STAGE1_TFLAGS)"; \
14141 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14142 cd $(HOST_SUBDIR)/cloog && \
14143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14144 CFLAGS="$(STAGE1_CFLAGS)" \
14145 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14146 LIBCFLAGS="$(LIBCFLAGS)" \
14147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14150 $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14151 TFLAGS="$(STAGE1_TFLAGS)" \
14152 $(TARGET-stage1-cloog)
14154 maybe-clean-stage1-cloog: clean-stage1-cloog
14155 clean-stage1: clean-stage1-cloog
14156 clean-stage1-cloog:
14157 @if [ $(current_stage) = stage1 ]; then \
14158 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14159 else \
14160 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14161 $(MAKE) stage1-start; \
14162 fi; \
14163 cd $(HOST_SUBDIR)/cloog && \
14164 $(MAKE) $(EXTRA_HOST_FLAGS) \
14165 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14166 @endif cloog-bootstrap
14169 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14170 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14171 maybe-all-stage2-cloog:
14172 maybe-clean-stage2-cloog:
14173 @if cloog-bootstrap
14174 maybe-all-stage2-cloog: all-stage2-cloog
14175 all-stage2: all-stage2-cloog
14176 TARGET-stage2-cloog = $(TARGET-cloog)
14177 all-stage2-cloog: configure-stage2-cloog
14178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14179 @r=`${PWD_COMMAND}`; export r; \
14180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14181 TFLAGS="$(STAGE2_TFLAGS)"; \
14182 $(HOST_EXPORTS) \
14183 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14184 cd $(HOST_SUBDIR)/cloog && \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14186 CFLAGS="$(STAGE2_CFLAGS)" \
14187 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14188 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14193 TFLAGS="$(STAGE2_TFLAGS)" \
14194 $(TARGET-stage2-cloog)
14196 maybe-clean-stage2-cloog: clean-stage2-cloog
14197 clean-stage2: clean-stage2-cloog
14198 clean-stage2-cloog:
14199 @if [ $(current_stage) = stage2 ]; then \
14200 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14201 else \
14202 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14203 $(MAKE) stage2-start; \
14204 fi; \
14205 cd $(HOST_SUBDIR)/cloog && \
14206 $(MAKE) $(EXTRA_HOST_FLAGS) \
14207 $(POSTSTAGE1_FLAGS_TO_PASS) \
14208 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14209 @endif cloog-bootstrap
14212 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14213 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14214 maybe-all-stage3-cloog:
14215 maybe-clean-stage3-cloog:
14216 @if cloog-bootstrap
14217 maybe-all-stage3-cloog: all-stage3-cloog
14218 all-stage3: all-stage3-cloog
14219 TARGET-stage3-cloog = $(TARGET-cloog)
14220 all-stage3-cloog: configure-stage3-cloog
14221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14222 @r=`${PWD_COMMAND}`; export r; \
14223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14224 TFLAGS="$(STAGE3_TFLAGS)"; \
14225 $(HOST_EXPORTS) \
14226 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14227 cd $(HOST_SUBDIR)/cloog && \
14228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14229 CFLAGS="$(STAGE3_CFLAGS)" \
14230 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14231 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14236 TFLAGS="$(STAGE3_TFLAGS)" \
14237 $(TARGET-stage3-cloog)
14239 maybe-clean-stage3-cloog: clean-stage3-cloog
14240 clean-stage3: clean-stage3-cloog
14241 clean-stage3-cloog:
14242 @if [ $(current_stage) = stage3 ]; then \
14243 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14244 else \
14245 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14246 $(MAKE) stage3-start; \
14247 fi; \
14248 cd $(HOST_SUBDIR)/cloog && \
14249 $(MAKE) $(EXTRA_HOST_FLAGS) \
14250 $(POSTSTAGE1_FLAGS_TO_PASS) \
14251 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14252 @endif cloog-bootstrap
14255 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14256 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14257 maybe-all-stage4-cloog:
14258 maybe-clean-stage4-cloog:
14259 @if cloog-bootstrap
14260 maybe-all-stage4-cloog: all-stage4-cloog
14261 all-stage4: all-stage4-cloog
14262 TARGET-stage4-cloog = $(TARGET-cloog)
14263 all-stage4-cloog: configure-stage4-cloog
14264 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14265 @r=`${PWD_COMMAND}`; export r; \
14266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14267 TFLAGS="$(STAGE4_TFLAGS)"; \
14268 $(HOST_EXPORTS) \
14269 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14270 cd $(HOST_SUBDIR)/cloog && \
14271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14272 CFLAGS="$(STAGE4_CFLAGS)" \
14273 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14274 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14279 TFLAGS="$(STAGE4_TFLAGS)" \
14280 $(TARGET-stage4-cloog)
14282 maybe-clean-stage4-cloog: clean-stage4-cloog
14283 clean-stage4: clean-stage4-cloog
14284 clean-stage4-cloog:
14285 @if [ $(current_stage) = stage4 ]; then \
14286 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14287 else \
14288 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14289 $(MAKE) stage4-start; \
14290 fi; \
14291 cd $(HOST_SUBDIR)/cloog && \
14292 $(MAKE) $(EXTRA_HOST_FLAGS) \
14293 $(POSTSTAGE1_FLAGS_TO_PASS) \
14294 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14295 @endif cloog-bootstrap
14298 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14299 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14300 maybe-all-stageprofile-cloog:
14301 maybe-clean-stageprofile-cloog:
14302 @if cloog-bootstrap
14303 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14304 all-stageprofile: all-stageprofile-cloog
14305 TARGET-stageprofile-cloog = $(TARGET-cloog)
14306 all-stageprofile-cloog: configure-stageprofile-cloog
14307 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14308 @r=`${PWD_COMMAND}`; export r; \
14309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14310 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14311 $(HOST_EXPORTS) \
14312 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14313 cd $(HOST_SUBDIR)/cloog && \
14314 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14315 CFLAGS="$(STAGEprofile_CFLAGS)" \
14316 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14317 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14322 TFLAGS="$(STAGEprofile_TFLAGS)" \
14323 $(TARGET-stageprofile-cloog)
14325 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14326 clean-stageprofile: clean-stageprofile-cloog
14327 clean-stageprofile-cloog:
14328 @if [ $(current_stage) = stageprofile ]; then \
14329 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14330 else \
14331 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14332 $(MAKE) stageprofile-start; \
14333 fi; \
14334 cd $(HOST_SUBDIR)/cloog && \
14335 $(MAKE) $(EXTRA_HOST_FLAGS) \
14336 $(POSTSTAGE1_FLAGS_TO_PASS) \
14337 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14338 @endif cloog-bootstrap
14341 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14342 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14343 maybe-all-stagefeedback-cloog:
14344 maybe-clean-stagefeedback-cloog:
14345 @if cloog-bootstrap
14346 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14347 all-stagefeedback: all-stagefeedback-cloog
14348 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14349 all-stagefeedback-cloog: configure-stagefeedback-cloog
14350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14351 @r=`${PWD_COMMAND}`; export r; \
14352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14354 $(HOST_EXPORTS) \
14355 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14356 cd $(HOST_SUBDIR)/cloog && \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14358 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14365 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14366 $(TARGET-stagefeedback-cloog)
14368 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14369 clean-stagefeedback: clean-stagefeedback-cloog
14370 clean-stagefeedback-cloog:
14371 @if [ $(current_stage) = stagefeedback ]; then \
14372 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14373 else \
14374 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14375 $(MAKE) stagefeedback-start; \
14376 fi; \
14377 cd $(HOST_SUBDIR)/cloog && \
14378 $(MAKE) $(EXTRA_HOST_FLAGS) \
14379 $(POSTSTAGE1_FLAGS_TO_PASS) \
14380 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14381 @endif cloog-bootstrap
14387 .PHONY: check-cloog maybe-check-cloog
14388 maybe-check-cloog:
14389 @if cloog
14390 maybe-check-cloog: check-cloog
14392 check-cloog:
14393 @: $(MAKE); $(unstage)
14394 @r=`${PWD_COMMAND}`; export r; \
14395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14396 $(HOST_EXPORTS) \
14397 (cd $(HOST_SUBDIR)/cloog && \
14398 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14400 @endif cloog
14402 .PHONY: install-cloog maybe-install-cloog
14403 maybe-install-cloog:
14404 @if cloog
14405 maybe-install-cloog: install-cloog
14407 install-cloog:
14409 @endif cloog
14411 .PHONY: install-strip-cloog maybe-install-strip-cloog
14412 maybe-install-strip-cloog:
14413 @if cloog
14414 maybe-install-strip-cloog: install-strip-cloog
14416 install-strip-cloog:
14418 @endif cloog
14420 # Other targets (info, dvi, pdf, etc.)
14422 .PHONY: maybe-info-cloog info-cloog
14423 maybe-info-cloog:
14424 @if cloog
14425 maybe-info-cloog: info-cloog
14427 info-cloog: \
14428 configure-cloog
14429 @[ -f ./cloog/Makefile ] || exit 0; \
14430 r=`${PWD_COMMAND}`; export r; \
14431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14432 $(HOST_EXPORTS) \
14433 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14435 done; \
14436 echo "Doing info in cloog" ; \
14437 (cd $(HOST_SUBDIR)/cloog && \
14438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14440 "RANLIB=$${RANLIB}" \
14441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14442 info) \
14443 || exit 1
14445 @endif cloog
14447 .PHONY: maybe-dvi-cloog dvi-cloog
14448 maybe-dvi-cloog:
14449 @if cloog
14450 maybe-dvi-cloog: dvi-cloog
14452 dvi-cloog: \
14453 configure-cloog
14454 @[ -f ./cloog/Makefile ] || exit 0; \
14455 r=`${PWD_COMMAND}`; export r; \
14456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14457 $(HOST_EXPORTS) \
14458 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14460 done; \
14461 echo "Doing dvi in cloog" ; \
14462 (cd $(HOST_SUBDIR)/cloog && \
14463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14465 "RANLIB=$${RANLIB}" \
14466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14467 dvi) \
14468 || exit 1
14470 @endif cloog
14472 .PHONY: maybe-pdf-cloog pdf-cloog
14473 maybe-pdf-cloog:
14474 @if cloog
14475 maybe-pdf-cloog: pdf-cloog
14477 pdf-cloog: \
14478 configure-cloog
14479 @[ -f ./cloog/Makefile ] || exit 0; \
14480 r=`${PWD_COMMAND}`; export r; \
14481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14482 $(HOST_EXPORTS) \
14483 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14485 done; \
14486 echo "Doing pdf in cloog" ; \
14487 (cd $(HOST_SUBDIR)/cloog && \
14488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14490 "RANLIB=$${RANLIB}" \
14491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14492 pdf) \
14493 || exit 1
14495 @endif cloog
14497 .PHONY: maybe-html-cloog html-cloog
14498 maybe-html-cloog:
14499 @if cloog
14500 maybe-html-cloog: html-cloog
14502 html-cloog: \
14503 configure-cloog
14504 @[ -f ./cloog/Makefile ] || exit 0; \
14505 r=`${PWD_COMMAND}`; export r; \
14506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507 $(HOST_EXPORTS) \
14508 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14510 done; \
14511 echo "Doing html in cloog" ; \
14512 (cd $(HOST_SUBDIR)/cloog && \
14513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14515 "RANLIB=$${RANLIB}" \
14516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14517 html) \
14518 || exit 1
14520 @endif cloog
14522 .PHONY: maybe-TAGS-cloog TAGS-cloog
14523 maybe-TAGS-cloog:
14524 @if cloog
14525 maybe-TAGS-cloog: TAGS-cloog
14527 TAGS-cloog: \
14528 configure-cloog
14529 @[ -f ./cloog/Makefile ] || exit 0; \
14530 r=`${PWD_COMMAND}`; export r; \
14531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14532 $(HOST_EXPORTS) \
14533 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14535 done; \
14536 echo "Doing TAGS in cloog" ; \
14537 (cd $(HOST_SUBDIR)/cloog && \
14538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14540 "RANLIB=$${RANLIB}" \
14541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14542 TAGS) \
14543 || exit 1
14545 @endif cloog
14547 .PHONY: maybe-install-info-cloog install-info-cloog
14548 maybe-install-info-cloog:
14549 @if cloog
14550 maybe-install-info-cloog: install-info-cloog
14552 install-info-cloog: \
14553 configure-cloog \
14554 info-cloog
14555 @[ -f ./cloog/Makefile ] || exit 0; \
14556 r=`${PWD_COMMAND}`; export r; \
14557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14558 $(HOST_EXPORTS) \
14559 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14561 done; \
14562 echo "Doing install-info in cloog" ; \
14563 (cd $(HOST_SUBDIR)/cloog && \
14564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14566 "RANLIB=$${RANLIB}" \
14567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14568 install-info) \
14569 || exit 1
14571 @endif cloog
14573 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14574 maybe-install-pdf-cloog:
14575 @if cloog
14576 maybe-install-pdf-cloog: install-pdf-cloog
14578 install-pdf-cloog: \
14579 configure-cloog \
14580 pdf-cloog
14581 @[ -f ./cloog/Makefile ] || exit 0; \
14582 r=`${PWD_COMMAND}`; export r; \
14583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 $(HOST_EXPORTS) \
14585 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14587 done; \
14588 echo "Doing install-pdf in cloog" ; \
14589 (cd $(HOST_SUBDIR)/cloog && \
14590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14592 "RANLIB=$${RANLIB}" \
14593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14594 install-pdf) \
14595 || exit 1
14597 @endif cloog
14599 .PHONY: maybe-install-html-cloog install-html-cloog
14600 maybe-install-html-cloog:
14601 @if cloog
14602 maybe-install-html-cloog: install-html-cloog
14604 install-html-cloog: \
14605 configure-cloog \
14606 html-cloog
14607 @[ -f ./cloog/Makefile ] || exit 0; \
14608 r=`${PWD_COMMAND}`; export r; \
14609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 $(HOST_EXPORTS) \
14611 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14613 done; \
14614 echo "Doing install-html in cloog" ; \
14615 (cd $(HOST_SUBDIR)/cloog && \
14616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14618 "RANLIB=$${RANLIB}" \
14619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14620 install-html) \
14621 || exit 1
14623 @endif cloog
14625 .PHONY: maybe-installcheck-cloog installcheck-cloog
14626 maybe-installcheck-cloog:
14627 @if cloog
14628 maybe-installcheck-cloog: installcheck-cloog
14630 installcheck-cloog: \
14631 configure-cloog
14632 @[ -f ./cloog/Makefile ] || exit 0; \
14633 r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14635 $(HOST_EXPORTS) \
14636 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14638 done; \
14639 echo "Doing installcheck in cloog" ; \
14640 (cd $(HOST_SUBDIR)/cloog && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14643 "RANLIB=$${RANLIB}" \
14644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14645 installcheck) \
14646 || exit 1
14648 @endif cloog
14650 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14651 maybe-mostlyclean-cloog:
14652 @if cloog
14653 maybe-mostlyclean-cloog: mostlyclean-cloog
14655 mostlyclean-cloog:
14656 @[ -f ./cloog/Makefile ] || exit 0; \
14657 r=`${PWD_COMMAND}`; export r; \
14658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14659 $(HOST_EXPORTS) \
14660 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14662 done; \
14663 echo "Doing mostlyclean in cloog" ; \
14664 (cd $(HOST_SUBDIR)/cloog && \
14665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14667 "RANLIB=$${RANLIB}" \
14668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14669 mostlyclean) \
14670 || exit 1
14672 @endif cloog
14674 .PHONY: maybe-clean-cloog clean-cloog
14675 maybe-clean-cloog:
14676 @if cloog
14677 maybe-clean-cloog: clean-cloog
14679 clean-cloog:
14680 @[ -f ./cloog/Makefile ] || exit 0; \
14681 r=`${PWD_COMMAND}`; export r; \
14682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14683 $(HOST_EXPORTS) \
14684 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14686 done; \
14687 echo "Doing clean in cloog" ; \
14688 (cd $(HOST_SUBDIR)/cloog && \
14689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14691 "RANLIB=$${RANLIB}" \
14692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14693 clean) \
14694 || exit 1
14696 @endif cloog
14698 .PHONY: maybe-distclean-cloog distclean-cloog
14699 maybe-distclean-cloog:
14700 @if cloog
14701 maybe-distclean-cloog: distclean-cloog
14703 distclean-cloog:
14704 @[ -f ./cloog/Makefile ] || exit 0; \
14705 r=`${PWD_COMMAND}`; export r; \
14706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14707 $(HOST_EXPORTS) \
14708 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14710 done; \
14711 echo "Doing distclean in cloog" ; \
14712 (cd $(HOST_SUBDIR)/cloog && \
14713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14715 "RANLIB=$${RANLIB}" \
14716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14717 distclean) \
14718 || exit 1
14720 @endif cloog
14722 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14723 maybe-maintainer-clean-cloog:
14724 @if cloog
14725 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14727 maintainer-clean-cloog:
14728 @[ -f ./cloog/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731 $(HOST_EXPORTS) \
14732 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14734 done; \
14735 echo "Doing maintainer-clean in cloog" ; \
14736 (cd $(HOST_SUBDIR)/cloog && \
14737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14739 "RANLIB=$${RANLIB}" \
14740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14741 maintainer-clean) \
14742 || exit 1
14744 @endif cloog
14748 .PHONY: configure-libelf maybe-configure-libelf
14749 maybe-configure-libelf:
14750 @if gcc-bootstrap
14751 configure-libelf: stage_current
14752 @endif gcc-bootstrap
14753 @if libelf
14754 maybe-configure-libelf: configure-libelf
14755 configure-libelf:
14756 @r=`${PWD_COMMAND}`; export r; \
14757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14758 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14760 $(HOST_EXPORTS) \
14761 echo Configuring in $(HOST_SUBDIR)/libelf; \
14762 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14763 case $(srcdir) in \
14764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14765 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14767 esac; \
14768 srcdiroption="--srcdir=$${topdir}/libelf"; \
14769 libsrcdir="$$s/libelf"; \
14770 $(SHELL) $${libsrcdir}/configure \
14771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14772 --target=${target_alias} $${srcdiroption} --disable-shared \
14773 || exit 1
14774 @endif libelf
14778 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14779 maybe-configure-stage1-libelf:
14780 @if libelf-bootstrap
14781 maybe-configure-stage1-libelf: configure-stage1-libelf
14782 configure-stage1-libelf:
14783 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14785 @r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 TFLAGS="$(STAGE1_TFLAGS)"; \
14788 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14789 $(HOST_EXPORTS) \
14790 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14791 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14792 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14793 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14795 cd $(HOST_SUBDIR)/libelf || exit 1; \
14796 case $(srcdir) in \
14797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14798 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14800 esac; \
14801 srcdiroption="--srcdir=$${topdir}/libelf"; \
14802 libsrcdir="$$s/libelf"; \
14803 $(SHELL) $${libsrcdir}/configure \
14804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14805 --target=${target_alias} $${srcdiroption} \
14806 $(STAGE1_CONFIGURE_FLAGS) \
14807 --disable-shared
14808 @endif libelf-bootstrap
14810 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14811 maybe-configure-stage2-libelf:
14812 @if libelf-bootstrap
14813 maybe-configure-stage2-libelf: configure-stage2-libelf
14814 configure-stage2-libelf:
14815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14817 @r=`${PWD_COMMAND}`; export r; \
14818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14819 TFLAGS="$(STAGE2_TFLAGS)"; \
14820 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14821 $(HOST_EXPORTS) \
14822 $(POSTSTAGE1_HOST_EXPORTS) \
14823 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14824 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14825 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14826 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14828 cd $(HOST_SUBDIR)/libelf || exit 1; \
14829 case $(srcdir) in \
14830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14831 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14833 esac; \
14834 srcdiroption="--srcdir=$${topdir}/libelf"; \
14835 libsrcdir="$$s/libelf"; \
14836 $(SHELL) $${libsrcdir}/configure \
14837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14838 --target=${target_alias} $${srcdiroption} \
14839 --with-build-libsubdir=$(HOST_SUBDIR) \
14840 $(STAGE2_CONFIGURE_FLAGS) \
14841 --disable-shared
14842 @endif libelf-bootstrap
14844 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14845 maybe-configure-stage3-libelf:
14846 @if libelf-bootstrap
14847 maybe-configure-stage3-libelf: configure-stage3-libelf
14848 configure-stage3-libelf:
14849 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14851 @r=`${PWD_COMMAND}`; export r; \
14852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 TFLAGS="$(STAGE3_TFLAGS)"; \
14854 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14855 $(HOST_EXPORTS) \
14856 $(POSTSTAGE1_HOST_EXPORTS) \
14857 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14858 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14859 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14860 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14862 cd $(HOST_SUBDIR)/libelf || exit 1; \
14863 case $(srcdir) in \
14864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14865 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14867 esac; \
14868 srcdiroption="--srcdir=$${topdir}/libelf"; \
14869 libsrcdir="$$s/libelf"; \
14870 $(SHELL) $${libsrcdir}/configure \
14871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14872 --target=${target_alias} $${srcdiroption} \
14873 --with-build-libsubdir=$(HOST_SUBDIR) \
14874 $(STAGE3_CONFIGURE_FLAGS) \
14875 --disable-shared
14876 @endif libelf-bootstrap
14878 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14879 maybe-configure-stage4-libelf:
14880 @if libelf-bootstrap
14881 maybe-configure-stage4-libelf: configure-stage4-libelf
14882 configure-stage4-libelf:
14883 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14885 @r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14887 TFLAGS="$(STAGE4_TFLAGS)"; \
14888 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14889 $(HOST_EXPORTS) \
14890 $(POSTSTAGE1_HOST_EXPORTS) \
14891 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14892 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14893 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14894 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14896 cd $(HOST_SUBDIR)/libelf || exit 1; \
14897 case $(srcdir) in \
14898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14899 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14901 esac; \
14902 srcdiroption="--srcdir=$${topdir}/libelf"; \
14903 libsrcdir="$$s/libelf"; \
14904 $(SHELL) $${libsrcdir}/configure \
14905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14906 --target=${target_alias} $${srcdiroption} \
14907 --with-build-libsubdir=$(HOST_SUBDIR) \
14908 $(STAGE4_CONFIGURE_FLAGS) \
14909 --disable-shared
14910 @endif libelf-bootstrap
14912 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14913 maybe-configure-stageprofile-libelf:
14914 @if libelf-bootstrap
14915 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14916 configure-stageprofile-libelf:
14917 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14919 @r=`${PWD_COMMAND}`; export r; \
14920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14921 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14922 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14923 $(HOST_EXPORTS) \
14924 $(POSTSTAGE1_HOST_EXPORTS) \
14925 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14926 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14927 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14928 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14930 cd $(HOST_SUBDIR)/libelf || exit 1; \
14931 case $(srcdir) in \
14932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14933 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14935 esac; \
14936 srcdiroption="--srcdir=$${topdir}/libelf"; \
14937 libsrcdir="$$s/libelf"; \
14938 $(SHELL) $${libsrcdir}/configure \
14939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14940 --target=${target_alias} $${srcdiroption} \
14941 --with-build-libsubdir=$(HOST_SUBDIR) \
14942 $(STAGEprofile_CONFIGURE_FLAGS) \
14943 --disable-shared
14944 @endif libelf-bootstrap
14946 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14947 maybe-configure-stagefeedback-libelf:
14948 @if libelf-bootstrap
14949 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14950 configure-stagefeedback-libelf:
14951 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14953 @r=`${PWD_COMMAND}`; export r; \
14954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14955 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14956 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14957 $(HOST_EXPORTS) \
14958 $(POSTSTAGE1_HOST_EXPORTS) \
14959 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14960 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14961 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14962 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14964 cd $(HOST_SUBDIR)/libelf || exit 1; \
14965 case $(srcdir) in \
14966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14967 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14969 esac; \
14970 srcdiroption="--srcdir=$${topdir}/libelf"; \
14971 libsrcdir="$$s/libelf"; \
14972 $(SHELL) $${libsrcdir}/configure \
14973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14974 --target=${target_alias} $${srcdiroption} \
14975 --with-build-libsubdir=$(HOST_SUBDIR) \
14976 $(STAGEfeedback_CONFIGURE_FLAGS) \
14977 --disable-shared
14978 @endif libelf-bootstrap
14984 .PHONY: all-libelf maybe-all-libelf
14985 maybe-all-libelf:
14986 @if gcc-bootstrap
14987 all-libelf: stage_current
14988 @endif gcc-bootstrap
14989 @if libelf
14990 TARGET-libelf=all
14991 maybe-all-libelf: all-libelf
14992 all-libelf: configure-libelf
14993 @r=`${PWD_COMMAND}`; export r; \
14994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14995 $(HOST_EXPORTS) \
14996 (cd $(HOST_SUBDIR)/libelf && \
14997 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14998 $(TARGET-libelf))
14999 @endif libelf
15003 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15004 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15005 maybe-all-stage1-libelf:
15006 maybe-clean-stage1-libelf:
15007 @if libelf-bootstrap
15008 maybe-all-stage1-libelf: all-stage1-libelf
15009 all-stage1: all-stage1-libelf
15010 TARGET-stage1-libelf = $(TARGET-libelf)
15011 all-stage1-libelf: configure-stage1-libelf
15012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15013 @r=`${PWD_COMMAND}`; export r; \
15014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15015 TFLAGS="$(STAGE1_TFLAGS)"; \
15016 $(HOST_EXPORTS) \
15017 cd $(HOST_SUBDIR)/libelf && \
15018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15019 CFLAGS="$(STAGE1_CFLAGS)" \
15020 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15021 LIBCFLAGS="$(LIBCFLAGS)" \
15022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15025 $(EXTRA_HOST_FLAGS) \
15026 TFLAGS="$(STAGE1_TFLAGS)" \
15027 $(TARGET-stage1-libelf)
15029 maybe-clean-stage1-libelf: clean-stage1-libelf
15030 clean-stage1: clean-stage1-libelf
15031 clean-stage1-libelf:
15032 @if [ $(current_stage) = stage1 ]; then \
15033 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15034 else \
15035 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15036 $(MAKE) stage1-start; \
15037 fi; \
15038 cd $(HOST_SUBDIR)/libelf && \
15039 $(MAKE) $(EXTRA_HOST_FLAGS) \
15040 clean
15041 @endif libelf-bootstrap
15044 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15045 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15046 maybe-all-stage2-libelf:
15047 maybe-clean-stage2-libelf:
15048 @if libelf-bootstrap
15049 maybe-all-stage2-libelf: all-stage2-libelf
15050 all-stage2: all-stage2-libelf
15051 TARGET-stage2-libelf = $(TARGET-libelf)
15052 all-stage2-libelf: configure-stage2-libelf
15053 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15054 @r=`${PWD_COMMAND}`; export r; \
15055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15056 TFLAGS="$(STAGE2_TFLAGS)"; \
15057 $(HOST_EXPORTS) \
15058 $(POSTSTAGE1_HOST_EXPORTS) \
15059 cd $(HOST_SUBDIR)/libelf && \
15060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15061 CFLAGS="$(STAGE2_CFLAGS)" \
15062 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15063 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15067 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15068 TFLAGS="$(STAGE2_TFLAGS)" \
15069 $(TARGET-stage2-libelf)
15071 maybe-clean-stage2-libelf: clean-stage2-libelf
15072 clean-stage2: clean-stage2-libelf
15073 clean-stage2-libelf:
15074 @if [ $(current_stage) = stage2 ]; then \
15075 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15076 else \
15077 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15078 $(MAKE) stage2-start; \
15079 fi; \
15080 cd $(HOST_SUBDIR)/libelf && \
15081 $(MAKE) $(EXTRA_HOST_FLAGS) \
15082 $(POSTSTAGE1_FLAGS_TO_PASS) \
15083 clean
15084 @endif libelf-bootstrap
15087 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15088 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15089 maybe-all-stage3-libelf:
15090 maybe-clean-stage3-libelf:
15091 @if libelf-bootstrap
15092 maybe-all-stage3-libelf: all-stage3-libelf
15093 all-stage3: all-stage3-libelf
15094 TARGET-stage3-libelf = $(TARGET-libelf)
15095 all-stage3-libelf: configure-stage3-libelf
15096 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15097 @r=`${PWD_COMMAND}`; export r; \
15098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15099 TFLAGS="$(STAGE3_TFLAGS)"; \
15100 $(HOST_EXPORTS) \
15101 $(POSTSTAGE1_HOST_EXPORTS) \
15102 cd $(HOST_SUBDIR)/libelf && \
15103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15104 CFLAGS="$(STAGE3_CFLAGS)" \
15105 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15106 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15111 TFLAGS="$(STAGE3_TFLAGS)" \
15112 $(TARGET-stage3-libelf)
15114 maybe-clean-stage3-libelf: clean-stage3-libelf
15115 clean-stage3: clean-stage3-libelf
15116 clean-stage3-libelf:
15117 @if [ $(current_stage) = stage3 ]; then \
15118 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15119 else \
15120 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15121 $(MAKE) stage3-start; \
15122 fi; \
15123 cd $(HOST_SUBDIR)/libelf && \
15124 $(MAKE) $(EXTRA_HOST_FLAGS) \
15125 $(POSTSTAGE1_FLAGS_TO_PASS) \
15126 clean
15127 @endif libelf-bootstrap
15130 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15131 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15132 maybe-all-stage4-libelf:
15133 maybe-clean-stage4-libelf:
15134 @if libelf-bootstrap
15135 maybe-all-stage4-libelf: all-stage4-libelf
15136 all-stage4: all-stage4-libelf
15137 TARGET-stage4-libelf = $(TARGET-libelf)
15138 all-stage4-libelf: configure-stage4-libelf
15139 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15140 @r=`${PWD_COMMAND}`; export r; \
15141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 TFLAGS="$(STAGE4_TFLAGS)"; \
15143 $(HOST_EXPORTS) \
15144 $(POSTSTAGE1_HOST_EXPORTS) \
15145 cd $(HOST_SUBDIR)/libelf && \
15146 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15147 CFLAGS="$(STAGE4_CFLAGS)" \
15148 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15149 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15150 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15151 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15152 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15153 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15154 TFLAGS="$(STAGE4_TFLAGS)" \
15155 $(TARGET-stage4-libelf)
15157 maybe-clean-stage4-libelf: clean-stage4-libelf
15158 clean-stage4: clean-stage4-libelf
15159 clean-stage4-libelf:
15160 @if [ $(current_stage) = stage4 ]; then \
15161 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15162 else \
15163 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15164 $(MAKE) stage4-start; \
15165 fi; \
15166 cd $(HOST_SUBDIR)/libelf && \
15167 $(MAKE) $(EXTRA_HOST_FLAGS) \
15168 $(POSTSTAGE1_FLAGS_TO_PASS) \
15169 clean
15170 @endif libelf-bootstrap
15173 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15174 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15175 maybe-all-stageprofile-libelf:
15176 maybe-clean-stageprofile-libelf:
15177 @if libelf-bootstrap
15178 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15179 all-stageprofile: all-stageprofile-libelf
15180 TARGET-stageprofile-libelf = $(TARGET-libelf)
15181 all-stageprofile-libelf: configure-stageprofile-libelf
15182 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15183 @r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15186 $(HOST_EXPORTS) \
15187 $(POSTSTAGE1_HOST_EXPORTS) \
15188 cd $(HOST_SUBDIR)/libelf && \
15189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15190 CFLAGS="$(STAGEprofile_CFLAGS)" \
15191 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15192 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15196 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15197 TFLAGS="$(STAGEprofile_TFLAGS)" \
15198 $(TARGET-stageprofile-libelf)
15200 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15201 clean-stageprofile: clean-stageprofile-libelf
15202 clean-stageprofile-libelf:
15203 @if [ $(current_stage) = stageprofile ]; then \
15204 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15205 else \
15206 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15207 $(MAKE) stageprofile-start; \
15208 fi; \
15209 cd $(HOST_SUBDIR)/libelf && \
15210 $(MAKE) $(EXTRA_HOST_FLAGS) \
15211 $(POSTSTAGE1_FLAGS_TO_PASS) \
15212 clean
15213 @endif libelf-bootstrap
15216 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15217 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15218 maybe-all-stagefeedback-libelf:
15219 maybe-clean-stagefeedback-libelf:
15220 @if libelf-bootstrap
15221 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15222 all-stagefeedback: all-stagefeedback-libelf
15223 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15224 all-stagefeedback-libelf: configure-stagefeedback-libelf
15225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15226 @r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15229 $(HOST_EXPORTS) \
15230 $(POSTSTAGE1_HOST_EXPORTS) \
15231 cd $(HOST_SUBDIR)/libelf && \
15232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15233 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15234 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15235 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15239 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15240 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15241 $(TARGET-stagefeedback-libelf)
15243 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15244 clean-stagefeedback: clean-stagefeedback-libelf
15245 clean-stagefeedback-libelf:
15246 @if [ $(current_stage) = stagefeedback ]; then \
15247 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15248 else \
15249 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15250 $(MAKE) stagefeedback-start; \
15251 fi; \
15252 cd $(HOST_SUBDIR)/libelf && \
15253 $(MAKE) $(EXTRA_HOST_FLAGS) \
15254 $(POSTSTAGE1_FLAGS_TO_PASS) \
15255 clean
15256 @endif libelf-bootstrap
15262 .PHONY: check-libelf maybe-check-libelf
15263 maybe-check-libelf:
15264 @if libelf
15265 maybe-check-libelf: check-libelf
15267 check-libelf:
15268 @: $(MAKE); $(unstage)
15269 @r=`${PWD_COMMAND}`; export r; \
15270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15271 $(HOST_EXPORTS) \
15272 (cd $(HOST_SUBDIR)/libelf && \
15273 $(MAKE) $(FLAGS_TO_PASS) check)
15275 @endif libelf
15277 .PHONY: install-libelf maybe-install-libelf
15278 maybe-install-libelf:
15279 @if libelf
15280 maybe-install-libelf: install-libelf
15282 install-libelf:
15284 @endif libelf
15286 .PHONY: install-strip-libelf maybe-install-strip-libelf
15287 maybe-install-strip-libelf:
15288 @if libelf
15289 maybe-install-strip-libelf: install-strip-libelf
15291 install-strip-libelf:
15293 @endif libelf
15295 # Other targets (info, dvi, pdf, etc.)
15297 .PHONY: maybe-info-libelf info-libelf
15298 maybe-info-libelf:
15299 @if libelf
15300 maybe-info-libelf: info-libelf
15302 info-libelf: \
15303 configure-libelf
15304 @[ -f ./libelf/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307 $(HOST_EXPORTS) \
15308 for flag in $(EXTRA_HOST_FLAGS) ; do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 done; \
15311 echo "Doing info in libelf" ; \
15312 (cd $(HOST_SUBDIR)/libelf && \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15317 info) \
15318 || exit 1
15320 @endif libelf
15322 .PHONY: maybe-dvi-libelf dvi-libelf
15323 maybe-dvi-libelf:
15324 @if libelf
15325 maybe-dvi-libelf: dvi-libelf
15327 dvi-libelf: \
15328 configure-libelf
15329 @[ -f ./libelf/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing dvi in libelf" ; \
15337 (cd $(HOST_SUBDIR)/libelf && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15342 dvi) \
15343 || exit 1
15345 @endif libelf
15347 .PHONY: maybe-pdf-libelf pdf-libelf
15348 maybe-pdf-libelf:
15349 @if libelf
15350 maybe-pdf-libelf: pdf-libelf
15352 pdf-libelf: \
15353 configure-libelf
15354 @[ -f ./libelf/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 $(HOST_EXPORTS) \
15358 for flag in $(EXTRA_HOST_FLAGS) ; do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360 done; \
15361 echo "Doing pdf in libelf" ; \
15362 (cd $(HOST_SUBDIR)/libelf && \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15367 pdf) \
15368 || exit 1
15370 @endif libelf
15372 .PHONY: maybe-html-libelf html-libelf
15373 maybe-html-libelf:
15374 @if libelf
15375 maybe-html-libelf: html-libelf
15377 html-libelf: \
15378 configure-libelf
15379 @[ -f ./libelf/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing html in libelf" ; \
15387 (cd $(HOST_SUBDIR)/libelf && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15392 html) \
15393 || exit 1
15395 @endif libelf
15397 .PHONY: maybe-TAGS-libelf TAGS-libelf
15398 maybe-TAGS-libelf:
15399 @if libelf
15400 maybe-TAGS-libelf: TAGS-libelf
15402 TAGS-libelf: \
15403 configure-libelf
15404 @[ -f ./libelf/Makefile ] || exit 0; \
15405 r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407 $(HOST_EXPORTS) \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 done; \
15411 echo "Doing TAGS in libelf" ; \
15412 (cd $(HOST_SUBDIR)/libelf && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15417 TAGS) \
15418 || exit 1
15420 @endif libelf
15422 .PHONY: maybe-install-info-libelf install-info-libelf
15423 maybe-install-info-libelf:
15424 @if libelf
15425 maybe-install-info-libelf: install-info-libelf
15427 install-info-libelf: \
15428 configure-libelf \
15429 info-libelf
15430 @[ -f ./libelf/Makefile ] || exit 0; \
15431 r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 $(HOST_EXPORTS) \
15434 for flag in $(EXTRA_HOST_FLAGS) ; do \
15435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15436 done; \
15437 echo "Doing install-info in libelf" ; \
15438 (cd $(HOST_SUBDIR)/libelf && \
15439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15441 "RANLIB=$${RANLIB}" \
15442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15443 install-info) \
15444 || exit 1
15446 @endif libelf
15448 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15449 maybe-install-pdf-libelf:
15450 @if libelf
15451 maybe-install-pdf-libelf: install-pdf-libelf
15453 install-pdf-libelf: \
15454 configure-libelf \
15455 pdf-libelf
15456 @[ -f ./libelf/Makefile ] || exit 0; \
15457 r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 $(HOST_EXPORTS) \
15460 for flag in $(EXTRA_HOST_FLAGS) ; do \
15461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15462 done; \
15463 echo "Doing install-pdf in libelf" ; \
15464 (cd $(HOST_SUBDIR)/libelf && \
15465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15467 "RANLIB=$${RANLIB}" \
15468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15469 install-pdf) \
15470 || exit 1
15472 @endif libelf
15474 .PHONY: maybe-install-html-libelf install-html-libelf
15475 maybe-install-html-libelf:
15476 @if libelf
15477 maybe-install-html-libelf: install-html-libelf
15479 install-html-libelf: \
15480 configure-libelf \
15481 html-libelf
15482 @[ -f ./libelf/Makefile ] || exit 0; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(HOST_EXPORTS) \
15486 for flag in $(EXTRA_HOST_FLAGS) ; do \
15487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 done; \
15489 echo "Doing install-html in libelf" ; \
15490 (cd $(HOST_SUBDIR)/libelf && \
15491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15493 "RANLIB=$${RANLIB}" \
15494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15495 install-html) \
15496 || exit 1
15498 @endif libelf
15500 .PHONY: maybe-installcheck-libelf installcheck-libelf
15501 maybe-installcheck-libelf:
15502 @if libelf
15503 maybe-installcheck-libelf: installcheck-libelf
15505 installcheck-libelf: \
15506 configure-libelf
15507 @[ -f ./libelf/Makefile ] || exit 0; \
15508 r=`${PWD_COMMAND}`; export r; \
15509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15510 $(HOST_EXPORTS) \
15511 for flag in $(EXTRA_HOST_FLAGS) ; do \
15512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15513 done; \
15514 echo "Doing installcheck in libelf" ; \
15515 (cd $(HOST_SUBDIR)/libelf && \
15516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15518 "RANLIB=$${RANLIB}" \
15519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15520 installcheck) \
15521 || exit 1
15523 @endif libelf
15525 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15526 maybe-mostlyclean-libelf:
15527 @if libelf
15528 maybe-mostlyclean-libelf: mostlyclean-libelf
15530 mostlyclean-libelf:
15531 @[ -f ./libelf/Makefile ] || exit 0; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 for flag in $(EXTRA_HOST_FLAGS) ; do \
15536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15537 done; \
15538 echo "Doing mostlyclean in libelf" ; \
15539 (cd $(HOST_SUBDIR)/libelf && \
15540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15542 "RANLIB=$${RANLIB}" \
15543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15544 mostlyclean) \
15545 || exit 1
15547 @endif libelf
15549 .PHONY: maybe-clean-libelf clean-libelf
15550 maybe-clean-libelf:
15551 @if libelf
15552 maybe-clean-libelf: clean-libelf
15554 clean-libelf:
15555 @[ -f ./libelf/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing clean in libelf" ; \
15563 (cd $(HOST_SUBDIR)/libelf && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15568 clean) \
15569 || exit 1
15571 @endif libelf
15573 .PHONY: maybe-distclean-libelf distclean-libelf
15574 maybe-distclean-libelf:
15575 @if libelf
15576 maybe-distclean-libelf: distclean-libelf
15578 distclean-libelf:
15579 @[ -f ./libelf/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing distclean in libelf" ; \
15587 (cd $(HOST_SUBDIR)/libelf && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15592 distclean) \
15593 || exit 1
15595 @endif libelf
15597 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15598 maybe-maintainer-clean-libelf:
15599 @if libelf
15600 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15602 maintainer-clean-libelf:
15603 @[ -f ./libelf/Makefile ] || exit 0; \
15604 r=`${PWD_COMMAND}`; export r; \
15605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15606 $(HOST_EXPORTS) \
15607 for flag in $(EXTRA_HOST_FLAGS) ; do \
15608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15609 done; \
15610 echo "Doing maintainer-clean in libelf" ; \
15611 (cd $(HOST_SUBDIR)/libelf && \
15612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15614 "RANLIB=$${RANLIB}" \
15615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15616 maintainer-clean) \
15617 || exit 1
15619 @endif libelf
15623 .PHONY: configure-gold maybe-configure-gold
15624 maybe-configure-gold:
15625 @if gcc-bootstrap
15626 configure-gold: stage_current
15627 @endif gcc-bootstrap
15628 @if gold
15629 maybe-configure-gold: configure-gold
15630 configure-gold:
15631 @r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15635 $(HOST_EXPORTS) \
15636 echo Configuring in $(HOST_SUBDIR)/gold; \
15637 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15638 case $(srcdir) in \
15639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15640 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15642 esac; \
15643 srcdiroption="--srcdir=$${topdir}/gold"; \
15644 libsrcdir="$$s/gold"; \
15645 $(SHELL) $${libsrcdir}/configure \
15646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15647 --target=${target_alias} $${srcdiroption} \
15648 || exit 1
15649 @endif gold
15653 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15654 maybe-configure-stage1-gold:
15655 @if gold-bootstrap
15656 maybe-configure-stage1-gold: configure-stage1-gold
15657 configure-stage1-gold:
15658 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15660 @r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662 TFLAGS="$(STAGE1_TFLAGS)"; \
15663 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15664 $(HOST_EXPORTS) \
15665 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15666 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15667 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15668 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15670 cd $(HOST_SUBDIR)/gold || exit 1; \
15671 case $(srcdir) in \
15672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15673 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15675 esac; \
15676 srcdiroption="--srcdir=$${topdir}/gold"; \
15677 libsrcdir="$$s/gold"; \
15678 $(SHELL) $${libsrcdir}/configure \
15679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15680 --target=${target_alias} $${srcdiroption} \
15681 $(STAGE1_CONFIGURE_FLAGS)
15682 @endif gold-bootstrap
15684 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15685 maybe-configure-stage2-gold:
15686 @if gold-bootstrap
15687 maybe-configure-stage2-gold: configure-stage2-gold
15688 configure-stage2-gold:
15689 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15691 @r=`${PWD_COMMAND}`; export r; \
15692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15693 TFLAGS="$(STAGE2_TFLAGS)"; \
15694 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15695 $(HOST_EXPORTS) \
15696 $(POSTSTAGE1_HOST_EXPORTS) \
15697 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15698 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15699 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15700 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15702 cd $(HOST_SUBDIR)/gold || exit 1; \
15703 case $(srcdir) in \
15704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15705 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15707 esac; \
15708 srcdiroption="--srcdir=$${topdir}/gold"; \
15709 libsrcdir="$$s/gold"; \
15710 $(SHELL) $${libsrcdir}/configure \
15711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15712 --target=${target_alias} $${srcdiroption} \
15713 --with-build-libsubdir=$(HOST_SUBDIR) \
15714 $(STAGE2_CONFIGURE_FLAGS)
15715 @endif gold-bootstrap
15717 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15718 maybe-configure-stage3-gold:
15719 @if gold-bootstrap
15720 maybe-configure-stage3-gold: configure-stage3-gold
15721 configure-stage3-gold:
15722 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15724 @r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 TFLAGS="$(STAGE3_TFLAGS)"; \
15727 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15728 $(HOST_EXPORTS) \
15729 $(POSTSTAGE1_HOST_EXPORTS) \
15730 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15731 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15732 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15733 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15735 cd $(HOST_SUBDIR)/gold || exit 1; \
15736 case $(srcdir) in \
15737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15738 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15740 esac; \
15741 srcdiroption="--srcdir=$${topdir}/gold"; \
15742 libsrcdir="$$s/gold"; \
15743 $(SHELL) $${libsrcdir}/configure \
15744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15745 --target=${target_alias} $${srcdiroption} \
15746 --with-build-libsubdir=$(HOST_SUBDIR) \
15747 $(STAGE3_CONFIGURE_FLAGS)
15748 @endif gold-bootstrap
15750 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15751 maybe-configure-stage4-gold:
15752 @if gold-bootstrap
15753 maybe-configure-stage4-gold: configure-stage4-gold
15754 configure-stage4-gold:
15755 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15757 @r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 TFLAGS="$(STAGE4_TFLAGS)"; \
15760 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15761 $(HOST_EXPORTS) \
15762 $(POSTSTAGE1_HOST_EXPORTS) \
15763 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15764 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15765 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15766 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15768 cd $(HOST_SUBDIR)/gold || exit 1; \
15769 case $(srcdir) in \
15770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15771 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15773 esac; \
15774 srcdiroption="--srcdir=$${topdir}/gold"; \
15775 libsrcdir="$$s/gold"; \
15776 $(SHELL) $${libsrcdir}/configure \
15777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15778 --target=${target_alias} $${srcdiroption} \
15779 --with-build-libsubdir=$(HOST_SUBDIR) \
15780 $(STAGE4_CONFIGURE_FLAGS)
15781 @endif gold-bootstrap
15783 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15784 maybe-configure-stageprofile-gold:
15785 @if gold-bootstrap
15786 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15787 configure-stageprofile-gold:
15788 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15790 @r=`${PWD_COMMAND}`; export r; \
15791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15793 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15794 $(HOST_EXPORTS) \
15795 $(POSTSTAGE1_HOST_EXPORTS) \
15796 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15797 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15798 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15799 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15801 cd $(HOST_SUBDIR)/gold || exit 1; \
15802 case $(srcdir) in \
15803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15804 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15806 esac; \
15807 srcdiroption="--srcdir=$${topdir}/gold"; \
15808 libsrcdir="$$s/gold"; \
15809 $(SHELL) $${libsrcdir}/configure \
15810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15811 --target=${target_alias} $${srcdiroption} \
15812 --with-build-libsubdir=$(HOST_SUBDIR) \
15813 $(STAGEprofile_CONFIGURE_FLAGS)
15814 @endif gold-bootstrap
15816 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15817 maybe-configure-stagefeedback-gold:
15818 @if gold-bootstrap
15819 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15820 configure-stagefeedback-gold:
15821 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15823 @r=`${PWD_COMMAND}`; export r; \
15824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15826 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15827 $(HOST_EXPORTS) \
15828 $(POSTSTAGE1_HOST_EXPORTS) \
15829 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15830 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15831 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15832 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15834 cd $(HOST_SUBDIR)/gold || exit 1; \
15835 case $(srcdir) in \
15836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15837 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15839 esac; \
15840 srcdiroption="--srcdir=$${topdir}/gold"; \
15841 libsrcdir="$$s/gold"; \
15842 $(SHELL) $${libsrcdir}/configure \
15843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15844 --target=${target_alias} $${srcdiroption} \
15845 --with-build-libsubdir=$(HOST_SUBDIR) \
15846 $(STAGEfeedback_CONFIGURE_FLAGS)
15847 @endif gold-bootstrap
15853 .PHONY: all-gold maybe-all-gold
15854 maybe-all-gold:
15855 @if gcc-bootstrap
15856 all-gold: stage_current
15857 @endif gcc-bootstrap
15858 @if gold
15859 TARGET-gold=all
15860 maybe-all-gold: all-gold
15861 all-gold: configure-gold
15862 @r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 (cd $(HOST_SUBDIR)/gold && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15867 $(TARGET-gold))
15868 @endif gold
15872 .PHONY: all-stage1-gold maybe-all-stage1-gold
15873 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15874 maybe-all-stage1-gold:
15875 maybe-clean-stage1-gold:
15876 @if gold-bootstrap
15877 maybe-all-stage1-gold: all-stage1-gold
15878 all-stage1: all-stage1-gold
15879 TARGET-stage1-gold = $(TARGET-gold)
15880 all-stage1-gold: configure-stage1-gold
15881 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15882 @r=`${PWD_COMMAND}`; export r; \
15883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15884 TFLAGS="$(STAGE1_TFLAGS)"; \
15885 $(HOST_EXPORTS) \
15886 cd $(HOST_SUBDIR)/gold && \
15887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15888 CFLAGS="$(STAGE1_CFLAGS)" \
15889 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15890 LIBCFLAGS="$(LIBCFLAGS)" \
15891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15894 $(EXTRA_HOST_FLAGS) \
15895 TFLAGS="$(STAGE1_TFLAGS)" \
15896 $(TARGET-stage1-gold)
15898 maybe-clean-stage1-gold: clean-stage1-gold
15899 clean-stage1: clean-stage1-gold
15900 clean-stage1-gold:
15901 @if [ $(current_stage) = stage1 ]; then \
15902 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15903 else \
15904 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15905 $(MAKE) stage1-start; \
15906 fi; \
15907 cd $(HOST_SUBDIR)/gold && \
15908 $(MAKE) $(EXTRA_HOST_FLAGS) \
15909 clean
15910 @endif gold-bootstrap
15913 .PHONY: all-stage2-gold maybe-all-stage2-gold
15914 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15915 maybe-all-stage2-gold:
15916 maybe-clean-stage2-gold:
15917 @if gold-bootstrap
15918 maybe-all-stage2-gold: all-stage2-gold
15919 all-stage2: all-stage2-gold
15920 TARGET-stage2-gold = $(TARGET-gold)
15921 all-stage2-gold: configure-stage2-gold
15922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15923 @r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15925 TFLAGS="$(STAGE2_TFLAGS)"; \
15926 $(HOST_EXPORTS) \
15927 $(POSTSTAGE1_HOST_EXPORTS) \
15928 cd $(HOST_SUBDIR)/gold && \
15929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15930 CFLAGS="$(STAGE2_CFLAGS)" \
15931 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15932 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15937 TFLAGS="$(STAGE2_TFLAGS)" \
15938 $(TARGET-stage2-gold)
15940 maybe-clean-stage2-gold: clean-stage2-gold
15941 clean-stage2: clean-stage2-gold
15942 clean-stage2-gold:
15943 @if [ $(current_stage) = stage2 ]; then \
15944 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15945 else \
15946 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15947 $(MAKE) stage2-start; \
15948 fi; \
15949 cd $(HOST_SUBDIR)/gold && \
15950 $(MAKE) $(EXTRA_HOST_FLAGS) \
15951 $(POSTSTAGE1_FLAGS_TO_PASS) \
15952 clean
15953 @endif gold-bootstrap
15956 .PHONY: all-stage3-gold maybe-all-stage3-gold
15957 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15958 maybe-all-stage3-gold:
15959 maybe-clean-stage3-gold:
15960 @if gold-bootstrap
15961 maybe-all-stage3-gold: all-stage3-gold
15962 all-stage3: all-stage3-gold
15963 TARGET-stage3-gold = $(TARGET-gold)
15964 all-stage3-gold: configure-stage3-gold
15965 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15966 @r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 TFLAGS="$(STAGE3_TFLAGS)"; \
15969 $(HOST_EXPORTS) \
15970 $(POSTSTAGE1_HOST_EXPORTS) \
15971 cd $(HOST_SUBDIR)/gold && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15973 CFLAGS="$(STAGE3_CFLAGS)" \
15974 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15975 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15980 TFLAGS="$(STAGE3_TFLAGS)" \
15981 $(TARGET-stage3-gold)
15983 maybe-clean-stage3-gold: clean-stage3-gold
15984 clean-stage3: clean-stage3-gold
15985 clean-stage3-gold:
15986 @if [ $(current_stage) = stage3 ]; then \
15987 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15988 else \
15989 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15990 $(MAKE) stage3-start; \
15991 fi; \
15992 cd $(HOST_SUBDIR)/gold && \
15993 $(MAKE) $(EXTRA_HOST_FLAGS) \
15994 $(POSTSTAGE1_FLAGS_TO_PASS) \
15995 clean
15996 @endif gold-bootstrap
15999 .PHONY: all-stage4-gold maybe-all-stage4-gold
16000 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16001 maybe-all-stage4-gold:
16002 maybe-clean-stage4-gold:
16003 @if gold-bootstrap
16004 maybe-all-stage4-gold: all-stage4-gold
16005 all-stage4: all-stage4-gold
16006 TARGET-stage4-gold = $(TARGET-gold)
16007 all-stage4-gold: configure-stage4-gold
16008 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16009 @r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16011 TFLAGS="$(STAGE4_TFLAGS)"; \
16012 $(HOST_EXPORTS) \
16013 $(POSTSTAGE1_HOST_EXPORTS) \
16014 cd $(HOST_SUBDIR)/gold && \
16015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16016 CFLAGS="$(STAGE4_CFLAGS)" \
16017 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16018 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16023 TFLAGS="$(STAGE4_TFLAGS)" \
16024 $(TARGET-stage4-gold)
16026 maybe-clean-stage4-gold: clean-stage4-gold
16027 clean-stage4: clean-stage4-gold
16028 clean-stage4-gold:
16029 @if [ $(current_stage) = stage4 ]; then \
16030 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16031 else \
16032 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16033 $(MAKE) stage4-start; \
16034 fi; \
16035 cd $(HOST_SUBDIR)/gold && \
16036 $(MAKE) $(EXTRA_HOST_FLAGS) \
16037 $(POSTSTAGE1_FLAGS_TO_PASS) \
16038 clean
16039 @endif gold-bootstrap
16042 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16043 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16044 maybe-all-stageprofile-gold:
16045 maybe-clean-stageprofile-gold:
16046 @if gold-bootstrap
16047 maybe-all-stageprofile-gold: all-stageprofile-gold
16048 all-stageprofile: all-stageprofile-gold
16049 TARGET-stageprofile-gold = $(TARGET-gold)
16050 all-stageprofile-gold: configure-stageprofile-gold
16051 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16052 @r=`${PWD_COMMAND}`; export r; \
16053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16055 $(HOST_EXPORTS) \
16056 $(POSTSTAGE1_HOST_EXPORTS) \
16057 cd $(HOST_SUBDIR)/gold && \
16058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16059 CFLAGS="$(STAGEprofile_CFLAGS)" \
16060 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16061 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16065 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16066 TFLAGS="$(STAGEprofile_TFLAGS)" \
16067 $(TARGET-stageprofile-gold)
16069 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16070 clean-stageprofile: clean-stageprofile-gold
16071 clean-stageprofile-gold:
16072 @if [ $(current_stage) = stageprofile ]; then \
16073 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16074 else \
16075 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16076 $(MAKE) stageprofile-start; \
16077 fi; \
16078 cd $(HOST_SUBDIR)/gold && \
16079 $(MAKE) $(EXTRA_HOST_FLAGS) \
16080 $(POSTSTAGE1_FLAGS_TO_PASS) \
16081 clean
16082 @endif gold-bootstrap
16085 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16086 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16087 maybe-all-stagefeedback-gold:
16088 maybe-clean-stagefeedback-gold:
16089 @if gold-bootstrap
16090 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16091 all-stagefeedback: all-stagefeedback-gold
16092 TARGET-stagefeedback-gold = $(TARGET-gold)
16093 all-stagefeedback-gold: configure-stagefeedback-gold
16094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16095 @r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16098 $(HOST_EXPORTS) \
16099 $(POSTSTAGE1_HOST_EXPORTS) \
16100 cd $(HOST_SUBDIR)/gold && \
16101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16110 $(TARGET-stagefeedback-gold)
16112 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16113 clean-stagefeedback: clean-stagefeedback-gold
16114 clean-stagefeedback-gold:
16115 @if [ $(current_stage) = stagefeedback ]; then \
16116 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16117 else \
16118 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16119 $(MAKE) stagefeedback-start; \
16120 fi; \
16121 cd $(HOST_SUBDIR)/gold && \
16122 $(MAKE) $(EXTRA_HOST_FLAGS) \
16123 $(POSTSTAGE1_FLAGS_TO_PASS) \
16124 clean
16125 @endif gold-bootstrap
16131 .PHONY: check-gold maybe-check-gold
16132 maybe-check-gold:
16133 @if gold
16134 maybe-check-gold: check-gold
16136 check-gold:
16137 @: $(MAKE); $(unstage)
16138 @r=`${PWD_COMMAND}`; export r; \
16139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16140 $(HOST_EXPORTS) \
16141 (cd $(HOST_SUBDIR)/gold && \
16142 $(MAKE) $(FLAGS_TO_PASS) check)
16144 @endif gold
16146 .PHONY: install-gold maybe-install-gold
16147 maybe-install-gold:
16148 @if gold
16149 maybe-install-gold: install-gold
16151 install-gold: installdirs
16152 @: $(MAKE); $(unstage)
16153 @r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 $(HOST_EXPORTS) \
16156 (cd $(HOST_SUBDIR)/gold && \
16157 $(MAKE) $(FLAGS_TO_PASS) install)
16159 @endif gold
16161 .PHONY: install-strip-gold maybe-install-strip-gold
16162 maybe-install-strip-gold:
16163 @if gold
16164 maybe-install-strip-gold: install-strip-gold
16166 install-strip-gold: installdirs
16167 @: $(MAKE); $(unstage)
16168 @r=`${PWD_COMMAND}`; export r; \
16169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 $(HOST_EXPORTS) \
16171 (cd $(HOST_SUBDIR)/gold && \
16172 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16174 @endif gold
16176 # Other targets (info, dvi, pdf, etc.)
16178 .PHONY: maybe-info-gold info-gold
16179 maybe-info-gold:
16180 @if gold
16181 maybe-info-gold: info-gold
16183 info-gold: \
16184 configure-gold
16185 @[ -f ./gold/Makefile ] || exit 0; \
16186 r=`${PWD_COMMAND}`; export r; \
16187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 $(HOST_EXPORTS) \
16189 for flag in $(EXTRA_HOST_FLAGS) ; do \
16190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16191 done; \
16192 echo "Doing info in gold" ; \
16193 (cd $(HOST_SUBDIR)/gold && \
16194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16196 "RANLIB=$${RANLIB}" \
16197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16198 info) \
16199 || exit 1
16201 @endif gold
16203 .PHONY: maybe-dvi-gold dvi-gold
16204 maybe-dvi-gold:
16205 @if gold
16206 maybe-dvi-gold: dvi-gold
16208 dvi-gold: \
16209 configure-gold
16210 @[ -f ./gold/Makefile ] || exit 0; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(HOST_EXPORTS) \
16214 for flag in $(EXTRA_HOST_FLAGS) ; do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16216 done; \
16217 echo "Doing dvi in gold" ; \
16218 (cd $(HOST_SUBDIR)/gold && \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16223 dvi) \
16224 || exit 1
16226 @endif gold
16228 .PHONY: maybe-pdf-gold pdf-gold
16229 maybe-pdf-gold:
16230 @if gold
16231 maybe-pdf-gold: pdf-gold
16233 pdf-gold: \
16234 configure-gold
16235 @[ -f ./gold/Makefile ] || exit 0; \
16236 r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 $(HOST_EXPORTS) \
16239 for flag in $(EXTRA_HOST_FLAGS) ; do \
16240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16241 done; \
16242 echo "Doing pdf in gold" ; \
16243 (cd $(HOST_SUBDIR)/gold && \
16244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16246 "RANLIB=$${RANLIB}" \
16247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16248 pdf) \
16249 || exit 1
16251 @endif gold
16253 .PHONY: maybe-html-gold html-gold
16254 maybe-html-gold:
16255 @if gold
16256 maybe-html-gold: html-gold
16258 html-gold: \
16259 configure-gold
16260 @[ -f ./gold/Makefile ] || exit 0; \
16261 r=`${PWD_COMMAND}`; export r; \
16262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16263 $(HOST_EXPORTS) \
16264 for flag in $(EXTRA_HOST_FLAGS) ; do \
16265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16266 done; \
16267 echo "Doing html in gold" ; \
16268 (cd $(HOST_SUBDIR)/gold && \
16269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16271 "RANLIB=$${RANLIB}" \
16272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16273 html) \
16274 || exit 1
16276 @endif gold
16278 .PHONY: maybe-TAGS-gold TAGS-gold
16279 maybe-TAGS-gold:
16280 @if gold
16281 maybe-TAGS-gold: TAGS-gold
16283 TAGS-gold: \
16284 configure-gold
16285 @[ -f ./gold/Makefile ] || exit 0; \
16286 r=`${PWD_COMMAND}`; export r; \
16287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 $(HOST_EXPORTS) \
16289 for flag in $(EXTRA_HOST_FLAGS) ; do \
16290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16291 done; \
16292 echo "Doing TAGS in gold" ; \
16293 (cd $(HOST_SUBDIR)/gold && \
16294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16296 "RANLIB=$${RANLIB}" \
16297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16298 TAGS) \
16299 || exit 1
16301 @endif gold
16303 .PHONY: maybe-install-info-gold install-info-gold
16304 maybe-install-info-gold:
16305 @if gold
16306 maybe-install-info-gold: install-info-gold
16308 install-info-gold: \
16309 configure-gold \
16310 info-gold
16311 @[ -f ./gold/Makefile ] || exit 0; \
16312 r=`${PWD_COMMAND}`; export r; \
16313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16314 $(HOST_EXPORTS) \
16315 for flag in $(EXTRA_HOST_FLAGS) ; do \
16316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16317 done; \
16318 echo "Doing install-info in gold" ; \
16319 (cd $(HOST_SUBDIR)/gold && \
16320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16322 "RANLIB=$${RANLIB}" \
16323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16324 install-info) \
16325 || exit 1
16327 @endif gold
16329 .PHONY: maybe-install-pdf-gold install-pdf-gold
16330 maybe-install-pdf-gold:
16331 @if gold
16332 maybe-install-pdf-gold: install-pdf-gold
16334 install-pdf-gold: \
16335 configure-gold \
16336 pdf-gold
16337 @[ -f ./gold/Makefile ] || exit 0; \
16338 r=`${PWD_COMMAND}`; export r; \
16339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 $(HOST_EXPORTS) \
16341 for flag in $(EXTRA_HOST_FLAGS) ; do \
16342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16343 done; \
16344 echo "Doing install-pdf in gold" ; \
16345 (cd $(HOST_SUBDIR)/gold && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16348 "RANLIB=$${RANLIB}" \
16349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16350 install-pdf) \
16351 || exit 1
16353 @endif gold
16355 .PHONY: maybe-install-html-gold install-html-gold
16356 maybe-install-html-gold:
16357 @if gold
16358 maybe-install-html-gold: install-html-gold
16360 install-html-gold: \
16361 configure-gold \
16362 html-gold
16363 @[ -f ./gold/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing install-html in gold" ; \
16371 (cd $(HOST_SUBDIR)/gold && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16376 install-html) \
16377 || exit 1
16379 @endif gold
16381 .PHONY: maybe-installcheck-gold installcheck-gold
16382 maybe-installcheck-gold:
16383 @if gold
16384 maybe-installcheck-gold: installcheck-gold
16386 installcheck-gold: \
16387 configure-gold
16388 @[ -f ./gold/Makefile ] || exit 0; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 done; \
16395 echo "Doing installcheck in gold" ; \
16396 (cd $(HOST_SUBDIR)/gold && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16401 installcheck) \
16402 || exit 1
16404 @endif gold
16406 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16407 maybe-mostlyclean-gold:
16408 @if gold
16409 maybe-mostlyclean-gold: mostlyclean-gold
16411 mostlyclean-gold:
16412 @[ -f ./gold/Makefile ] || exit 0; \
16413 r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 $(HOST_EXPORTS) \
16416 for flag in $(EXTRA_HOST_FLAGS) ; do \
16417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16418 done; \
16419 echo "Doing mostlyclean in gold" ; \
16420 (cd $(HOST_SUBDIR)/gold && \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16423 "RANLIB=$${RANLIB}" \
16424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16425 mostlyclean) \
16426 || exit 1
16428 @endif gold
16430 .PHONY: maybe-clean-gold clean-gold
16431 maybe-clean-gold:
16432 @if gold
16433 maybe-clean-gold: clean-gold
16435 clean-gold:
16436 @[ -f ./gold/Makefile ] || exit 0; \
16437 r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 $(HOST_EXPORTS) \
16440 for flag in $(EXTRA_HOST_FLAGS) ; do \
16441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16442 done; \
16443 echo "Doing clean in gold" ; \
16444 (cd $(HOST_SUBDIR)/gold && \
16445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16447 "RANLIB=$${RANLIB}" \
16448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16449 clean) \
16450 || exit 1
16452 @endif gold
16454 .PHONY: maybe-distclean-gold distclean-gold
16455 maybe-distclean-gold:
16456 @if gold
16457 maybe-distclean-gold: distclean-gold
16459 distclean-gold:
16460 @[ -f ./gold/Makefile ] || exit 0; \
16461 r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463 $(HOST_EXPORTS) \
16464 for flag in $(EXTRA_HOST_FLAGS) ; do \
16465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16466 done; \
16467 echo "Doing distclean in gold" ; \
16468 (cd $(HOST_SUBDIR)/gold && \
16469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16471 "RANLIB=$${RANLIB}" \
16472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16473 distclean) \
16474 || exit 1
16476 @endif gold
16478 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16479 maybe-maintainer-clean-gold:
16480 @if gold
16481 maybe-maintainer-clean-gold: maintainer-clean-gold
16483 maintainer-clean-gold:
16484 @[ -f ./gold/Makefile ] || exit 0; \
16485 r=`${PWD_COMMAND}`; export r; \
16486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16487 $(HOST_EXPORTS) \
16488 for flag in $(EXTRA_HOST_FLAGS) ; do \
16489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16490 done; \
16491 echo "Doing maintainer-clean in gold" ; \
16492 (cd $(HOST_SUBDIR)/gold && \
16493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16495 "RANLIB=$${RANLIB}" \
16496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16497 maintainer-clean) \
16498 || exit 1
16500 @endif gold
16504 .PHONY: configure-gprof maybe-configure-gprof
16505 maybe-configure-gprof:
16506 @if gcc-bootstrap
16507 configure-gprof: stage_current
16508 @endif gcc-bootstrap
16509 @if gprof
16510 maybe-configure-gprof: configure-gprof
16511 configure-gprof:
16512 @: $(MAKE); $(unstage)
16513 @r=`${PWD_COMMAND}`; export r; \
16514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16515 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16517 $(HOST_EXPORTS) \
16518 echo Configuring in $(HOST_SUBDIR)/gprof; \
16519 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16520 case $(srcdir) in \
16521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16522 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16524 esac; \
16525 srcdiroption="--srcdir=$${topdir}/gprof"; \
16526 libsrcdir="$$s/gprof"; \
16527 $(SHELL) $${libsrcdir}/configure \
16528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16529 --target=${target_alias} $${srcdiroption} \
16530 || exit 1
16531 @endif gprof
16537 .PHONY: all-gprof maybe-all-gprof
16538 maybe-all-gprof:
16539 @if gcc-bootstrap
16540 all-gprof: stage_current
16541 @endif gcc-bootstrap
16542 @if gprof
16543 TARGET-gprof=all
16544 maybe-all-gprof: all-gprof
16545 all-gprof: configure-gprof
16546 @: $(MAKE); $(unstage)
16547 @r=`${PWD_COMMAND}`; export r; \
16548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16549 $(HOST_EXPORTS) \
16550 (cd $(HOST_SUBDIR)/gprof && \
16551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16552 $(TARGET-gprof))
16553 @endif gprof
16558 .PHONY: check-gprof maybe-check-gprof
16559 maybe-check-gprof:
16560 @if gprof
16561 maybe-check-gprof: check-gprof
16563 check-gprof:
16564 @: $(MAKE); $(unstage)
16565 @r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 (cd $(HOST_SUBDIR)/gprof && \
16569 $(MAKE) $(FLAGS_TO_PASS) check)
16571 @endif gprof
16573 .PHONY: install-gprof maybe-install-gprof
16574 maybe-install-gprof:
16575 @if gprof
16576 maybe-install-gprof: install-gprof
16578 install-gprof: installdirs
16579 @: $(MAKE); $(unstage)
16580 @r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(HOST_EXPORTS) \
16583 (cd $(HOST_SUBDIR)/gprof && \
16584 $(MAKE) $(FLAGS_TO_PASS) install)
16586 @endif gprof
16588 .PHONY: install-strip-gprof maybe-install-strip-gprof
16589 maybe-install-strip-gprof:
16590 @if gprof
16591 maybe-install-strip-gprof: install-strip-gprof
16593 install-strip-gprof: installdirs
16594 @: $(MAKE); $(unstage)
16595 @r=`${PWD_COMMAND}`; export r; \
16596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16597 $(HOST_EXPORTS) \
16598 (cd $(HOST_SUBDIR)/gprof && \
16599 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16601 @endif gprof
16603 # Other targets (info, dvi, pdf, etc.)
16605 .PHONY: maybe-info-gprof info-gprof
16606 maybe-info-gprof:
16607 @if gprof
16608 maybe-info-gprof: info-gprof
16610 info-gprof: \
16611 configure-gprof
16612 @: $(MAKE); $(unstage)
16613 @[ -f ./gprof/Makefile ] || exit 0; \
16614 r=`${PWD_COMMAND}`; export r; \
16615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16616 $(HOST_EXPORTS) \
16617 for flag in $(EXTRA_HOST_FLAGS) ; do \
16618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16619 done; \
16620 echo "Doing info in gprof" ; \
16621 (cd $(HOST_SUBDIR)/gprof && \
16622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16624 "RANLIB=$${RANLIB}" \
16625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16626 info) \
16627 || exit 1
16629 @endif gprof
16631 .PHONY: maybe-dvi-gprof dvi-gprof
16632 maybe-dvi-gprof:
16633 @if gprof
16634 maybe-dvi-gprof: dvi-gprof
16636 dvi-gprof: \
16637 configure-gprof
16638 @: $(MAKE); $(unstage)
16639 @[ -f ./gprof/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642 $(HOST_EXPORTS) \
16643 for flag in $(EXTRA_HOST_FLAGS) ; do \
16644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16645 done; \
16646 echo "Doing dvi in gprof" ; \
16647 (cd $(HOST_SUBDIR)/gprof && \
16648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16650 "RANLIB=$${RANLIB}" \
16651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16652 dvi) \
16653 || exit 1
16655 @endif gprof
16657 .PHONY: maybe-pdf-gprof pdf-gprof
16658 maybe-pdf-gprof:
16659 @if gprof
16660 maybe-pdf-gprof: pdf-gprof
16662 pdf-gprof: \
16663 configure-gprof
16664 @: $(MAKE); $(unstage)
16665 @[ -f ./gprof/Makefile ] || exit 0; \
16666 r=`${PWD_COMMAND}`; export r; \
16667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16668 $(HOST_EXPORTS) \
16669 for flag in $(EXTRA_HOST_FLAGS) ; do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 done; \
16672 echo "Doing pdf in gprof" ; \
16673 (cd $(HOST_SUBDIR)/gprof && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16678 pdf) \
16679 || exit 1
16681 @endif gprof
16683 .PHONY: maybe-html-gprof html-gprof
16684 maybe-html-gprof:
16685 @if gprof
16686 maybe-html-gprof: html-gprof
16688 html-gprof: \
16689 configure-gprof
16690 @: $(MAKE); $(unstage)
16691 @[ -f ./gprof/Makefile ] || exit 0; \
16692 r=`${PWD_COMMAND}`; export r; \
16693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16694 $(HOST_EXPORTS) \
16695 for flag in $(EXTRA_HOST_FLAGS) ; do \
16696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16697 done; \
16698 echo "Doing html in gprof" ; \
16699 (cd $(HOST_SUBDIR)/gprof && \
16700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16702 "RANLIB=$${RANLIB}" \
16703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16704 html) \
16705 || exit 1
16707 @endif gprof
16709 .PHONY: maybe-TAGS-gprof TAGS-gprof
16710 maybe-TAGS-gprof:
16711 @if gprof
16712 maybe-TAGS-gprof: TAGS-gprof
16714 TAGS-gprof: \
16715 configure-gprof
16716 @: $(MAKE); $(unstage)
16717 @[ -f ./gprof/Makefile ] || exit 0; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(HOST_EXPORTS) \
16721 for flag in $(EXTRA_HOST_FLAGS) ; do \
16722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 done; \
16724 echo "Doing TAGS in gprof" ; \
16725 (cd $(HOST_SUBDIR)/gprof && \
16726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16728 "RANLIB=$${RANLIB}" \
16729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16730 TAGS) \
16731 || exit 1
16733 @endif gprof
16735 .PHONY: maybe-install-info-gprof install-info-gprof
16736 maybe-install-info-gprof:
16737 @if gprof
16738 maybe-install-info-gprof: install-info-gprof
16740 install-info-gprof: \
16741 configure-gprof \
16742 info-gprof
16743 @: $(MAKE); $(unstage)
16744 @[ -f ./gprof/Makefile ] || exit 0; \
16745 r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 $(HOST_EXPORTS) \
16748 for flag in $(EXTRA_HOST_FLAGS) ; do \
16749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16750 done; \
16751 echo "Doing install-info in gprof" ; \
16752 (cd $(HOST_SUBDIR)/gprof && \
16753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16755 "RANLIB=$${RANLIB}" \
16756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16757 install-info) \
16758 || exit 1
16760 @endif gprof
16762 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16763 maybe-install-pdf-gprof:
16764 @if gprof
16765 maybe-install-pdf-gprof: install-pdf-gprof
16767 install-pdf-gprof: \
16768 configure-gprof \
16769 pdf-gprof
16770 @: $(MAKE); $(unstage)
16771 @[ -f ./gprof/Makefile ] || exit 0; \
16772 r=`${PWD_COMMAND}`; export r; \
16773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16774 $(HOST_EXPORTS) \
16775 for flag in $(EXTRA_HOST_FLAGS) ; do \
16776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16777 done; \
16778 echo "Doing install-pdf in gprof" ; \
16779 (cd $(HOST_SUBDIR)/gprof && \
16780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16782 "RANLIB=$${RANLIB}" \
16783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16784 install-pdf) \
16785 || exit 1
16787 @endif gprof
16789 .PHONY: maybe-install-html-gprof install-html-gprof
16790 maybe-install-html-gprof:
16791 @if gprof
16792 maybe-install-html-gprof: install-html-gprof
16794 install-html-gprof: \
16795 configure-gprof \
16796 html-gprof
16797 @: $(MAKE); $(unstage)
16798 @[ -f ./gprof/Makefile ] || exit 0; \
16799 r=`${PWD_COMMAND}`; export r; \
16800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16801 $(HOST_EXPORTS) \
16802 for flag in $(EXTRA_HOST_FLAGS) ; do \
16803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16804 done; \
16805 echo "Doing install-html in gprof" ; \
16806 (cd $(HOST_SUBDIR)/gprof && \
16807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16809 "RANLIB=$${RANLIB}" \
16810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16811 install-html) \
16812 || exit 1
16814 @endif gprof
16816 .PHONY: maybe-installcheck-gprof installcheck-gprof
16817 maybe-installcheck-gprof:
16818 @if gprof
16819 maybe-installcheck-gprof: installcheck-gprof
16821 installcheck-gprof: \
16822 configure-gprof
16823 @: $(MAKE); $(unstage)
16824 @[ -f ./gprof/Makefile ] || exit 0; \
16825 r=`${PWD_COMMAND}`; export r; \
16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16827 $(HOST_EXPORTS) \
16828 for flag in $(EXTRA_HOST_FLAGS) ; do \
16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16830 done; \
16831 echo "Doing installcheck in gprof" ; \
16832 (cd $(HOST_SUBDIR)/gprof && \
16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16835 "RANLIB=$${RANLIB}" \
16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16837 installcheck) \
16838 || exit 1
16840 @endif gprof
16842 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16843 maybe-mostlyclean-gprof:
16844 @if gprof
16845 maybe-mostlyclean-gprof: mostlyclean-gprof
16847 mostlyclean-gprof:
16848 @: $(MAKE); $(unstage)
16849 @[ -f ./gprof/Makefile ] || exit 0; \
16850 r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 $(HOST_EXPORTS) \
16853 for flag in $(EXTRA_HOST_FLAGS) ; do \
16854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16855 done; \
16856 echo "Doing mostlyclean in gprof" ; \
16857 (cd $(HOST_SUBDIR)/gprof && \
16858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16860 "RANLIB=$${RANLIB}" \
16861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16862 mostlyclean) \
16863 || exit 1
16865 @endif gprof
16867 .PHONY: maybe-clean-gprof clean-gprof
16868 maybe-clean-gprof:
16869 @if gprof
16870 maybe-clean-gprof: clean-gprof
16872 clean-gprof:
16873 @: $(MAKE); $(unstage)
16874 @[ -f ./gprof/Makefile ] || exit 0; \
16875 r=`${PWD_COMMAND}`; export r; \
16876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 $(HOST_EXPORTS) \
16878 for flag in $(EXTRA_HOST_FLAGS) ; do \
16879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16880 done; \
16881 echo "Doing clean in gprof" ; \
16882 (cd $(HOST_SUBDIR)/gprof && \
16883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16885 "RANLIB=$${RANLIB}" \
16886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16887 clean) \
16888 || exit 1
16890 @endif gprof
16892 .PHONY: maybe-distclean-gprof distclean-gprof
16893 maybe-distclean-gprof:
16894 @if gprof
16895 maybe-distclean-gprof: distclean-gprof
16897 distclean-gprof:
16898 @: $(MAKE); $(unstage)
16899 @[ -f ./gprof/Makefile ] || exit 0; \
16900 r=`${PWD_COMMAND}`; export r; \
16901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16902 $(HOST_EXPORTS) \
16903 for flag in $(EXTRA_HOST_FLAGS) ; do \
16904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16905 done; \
16906 echo "Doing distclean in gprof" ; \
16907 (cd $(HOST_SUBDIR)/gprof && \
16908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16910 "RANLIB=$${RANLIB}" \
16911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16912 distclean) \
16913 || exit 1
16915 @endif gprof
16917 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16918 maybe-maintainer-clean-gprof:
16919 @if gprof
16920 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16922 maintainer-clean-gprof:
16923 @: $(MAKE); $(unstage)
16924 @[ -f ./gprof/Makefile ] || exit 0; \
16925 r=`${PWD_COMMAND}`; export r; \
16926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16927 $(HOST_EXPORTS) \
16928 for flag in $(EXTRA_HOST_FLAGS) ; do \
16929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16930 done; \
16931 echo "Doing maintainer-clean in gprof" ; \
16932 (cd $(HOST_SUBDIR)/gprof && \
16933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935 "RANLIB=$${RANLIB}" \
16936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16937 maintainer-clean) \
16938 || exit 1
16940 @endif gprof
16944 .PHONY: configure-intl maybe-configure-intl
16945 maybe-configure-intl:
16946 @if gcc-bootstrap
16947 configure-intl: stage_current
16948 @endif gcc-bootstrap
16949 @if intl
16950 maybe-configure-intl: configure-intl
16951 configure-intl:
16952 @r=`${PWD_COMMAND}`; export r; \
16953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16954 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16956 $(HOST_EXPORTS) \
16957 echo Configuring in $(HOST_SUBDIR)/intl; \
16958 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16959 case $(srcdir) in \
16960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16961 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16963 esac; \
16964 srcdiroption="--srcdir=$${topdir}/intl"; \
16965 libsrcdir="$$s/intl"; \
16966 $(SHELL) $${libsrcdir}/configure \
16967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16968 --target=${target_alias} $${srcdiroption} \
16969 || exit 1
16970 @endif intl
16974 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16975 maybe-configure-stage1-intl:
16976 @if intl-bootstrap
16977 maybe-configure-stage1-intl: configure-stage1-intl
16978 configure-stage1-intl:
16979 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16981 @r=`${PWD_COMMAND}`; export r; \
16982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16983 TFLAGS="$(STAGE1_TFLAGS)"; \
16984 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16985 $(HOST_EXPORTS) \
16986 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16987 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16988 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16989 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16991 cd $(HOST_SUBDIR)/intl || exit 1; \
16992 case $(srcdir) in \
16993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16994 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16996 esac; \
16997 srcdiroption="--srcdir=$${topdir}/intl"; \
16998 libsrcdir="$$s/intl"; \
16999 $(SHELL) $${libsrcdir}/configure \
17000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17001 --target=${target_alias} $${srcdiroption} \
17002 $(STAGE1_CONFIGURE_FLAGS)
17003 @endif intl-bootstrap
17005 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17006 maybe-configure-stage2-intl:
17007 @if intl-bootstrap
17008 maybe-configure-stage2-intl: configure-stage2-intl
17009 configure-stage2-intl:
17010 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17012 @r=`${PWD_COMMAND}`; export r; \
17013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17014 TFLAGS="$(STAGE2_TFLAGS)"; \
17015 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17016 $(HOST_EXPORTS) \
17017 $(POSTSTAGE1_HOST_EXPORTS) \
17018 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17019 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17020 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17021 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17023 cd $(HOST_SUBDIR)/intl || exit 1; \
17024 case $(srcdir) in \
17025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17026 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17028 esac; \
17029 srcdiroption="--srcdir=$${topdir}/intl"; \
17030 libsrcdir="$$s/intl"; \
17031 $(SHELL) $${libsrcdir}/configure \
17032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17033 --target=${target_alias} $${srcdiroption} \
17034 --with-build-libsubdir=$(HOST_SUBDIR) \
17035 $(STAGE2_CONFIGURE_FLAGS)
17036 @endif intl-bootstrap
17038 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17039 maybe-configure-stage3-intl:
17040 @if intl-bootstrap
17041 maybe-configure-stage3-intl: configure-stage3-intl
17042 configure-stage3-intl:
17043 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17045 @r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 TFLAGS="$(STAGE3_TFLAGS)"; \
17048 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17049 $(HOST_EXPORTS) \
17050 $(POSTSTAGE1_HOST_EXPORTS) \
17051 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17052 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17053 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17054 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17056 cd $(HOST_SUBDIR)/intl || exit 1; \
17057 case $(srcdir) in \
17058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17059 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17061 esac; \
17062 srcdiroption="--srcdir=$${topdir}/intl"; \
17063 libsrcdir="$$s/intl"; \
17064 $(SHELL) $${libsrcdir}/configure \
17065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17066 --target=${target_alias} $${srcdiroption} \
17067 --with-build-libsubdir=$(HOST_SUBDIR) \
17068 $(STAGE3_CONFIGURE_FLAGS)
17069 @endif intl-bootstrap
17071 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17072 maybe-configure-stage4-intl:
17073 @if intl-bootstrap
17074 maybe-configure-stage4-intl: configure-stage4-intl
17075 configure-stage4-intl:
17076 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17078 @r=`${PWD_COMMAND}`; export r; \
17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 TFLAGS="$(STAGE4_TFLAGS)"; \
17081 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17082 $(HOST_EXPORTS) \
17083 $(POSTSTAGE1_HOST_EXPORTS) \
17084 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17085 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17086 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17087 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17089 cd $(HOST_SUBDIR)/intl || exit 1; \
17090 case $(srcdir) in \
17091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17092 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17094 esac; \
17095 srcdiroption="--srcdir=$${topdir}/intl"; \
17096 libsrcdir="$$s/intl"; \
17097 $(SHELL) $${libsrcdir}/configure \
17098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17099 --target=${target_alias} $${srcdiroption} \
17100 --with-build-libsubdir=$(HOST_SUBDIR) \
17101 $(STAGE4_CONFIGURE_FLAGS)
17102 @endif intl-bootstrap
17104 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17105 maybe-configure-stageprofile-intl:
17106 @if intl-bootstrap
17107 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17108 configure-stageprofile-intl:
17109 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17111 @r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17114 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17115 $(HOST_EXPORTS) \
17116 $(POSTSTAGE1_HOST_EXPORTS) \
17117 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17118 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17119 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17120 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17122 cd $(HOST_SUBDIR)/intl || exit 1; \
17123 case $(srcdir) in \
17124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17125 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17127 esac; \
17128 srcdiroption="--srcdir=$${topdir}/intl"; \
17129 libsrcdir="$$s/intl"; \
17130 $(SHELL) $${libsrcdir}/configure \
17131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17132 --target=${target_alias} $${srcdiroption} \
17133 --with-build-libsubdir=$(HOST_SUBDIR) \
17134 $(STAGEprofile_CONFIGURE_FLAGS)
17135 @endif intl-bootstrap
17137 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17138 maybe-configure-stagefeedback-intl:
17139 @if intl-bootstrap
17140 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17141 configure-stagefeedback-intl:
17142 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17144 @r=`${PWD_COMMAND}`; export r; \
17145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17147 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17148 $(HOST_EXPORTS) \
17149 $(POSTSTAGE1_HOST_EXPORTS) \
17150 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17151 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17152 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17153 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17155 cd $(HOST_SUBDIR)/intl || exit 1; \
17156 case $(srcdir) in \
17157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17158 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17160 esac; \
17161 srcdiroption="--srcdir=$${topdir}/intl"; \
17162 libsrcdir="$$s/intl"; \
17163 $(SHELL) $${libsrcdir}/configure \
17164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17165 --target=${target_alias} $${srcdiroption} \
17166 --with-build-libsubdir=$(HOST_SUBDIR) \
17167 $(STAGEfeedback_CONFIGURE_FLAGS)
17168 @endif intl-bootstrap
17174 .PHONY: all-intl maybe-all-intl
17175 maybe-all-intl:
17176 @if gcc-bootstrap
17177 all-intl: stage_current
17178 @endif gcc-bootstrap
17179 @if intl
17180 TARGET-intl=all
17181 maybe-all-intl: all-intl
17182 all-intl: configure-intl
17183 @r=`${PWD_COMMAND}`; export r; \
17184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17185 $(HOST_EXPORTS) \
17186 (cd $(HOST_SUBDIR)/intl && \
17187 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17188 $(TARGET-intl))
17189 @endif intl
17193 .PHONY: all-stage1-intl maybe-all-stage1-intl
17194 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17195 maybe-all-stage1-intl:
17196 maybe-clean-stage1-intl:
17197 @if intl-bootstrap
17198 maybe-all-stage1-intl: all-stage1-intl
17199 all-stage1: all-stage1-intl
17200 TARGET-stage1-intl = $(TARGET-intl)
17201 all-stage1-intl: configure-stage1-intl
17202 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17203 @r=`${PWD_COMMAND}`; export r; \
17204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 TFLAGS="$(STAGE1_TFLAGS)"; \
17206 $(HOST_EXPORTS) \
17207 cd $(HOST_SUBDIR)/intl && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17209 CFLAGS="$(STAGE1_CFLAGS)" \
17210 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17211 LIBCFLAGS="$(LIBCFLAGS)" \
17212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17215 $(EXTRA_HOST_FLAGS) \
17216 TFLAGS="$(STAGE1_TFLAGS)" \
17217 $(TARGET-stage1-intl)
17219 maybe-clean-stage1-intl: clean-stage1-intl
17220 clean-stage1: clean-stage1-intl
17221 clean-stage1-intl:
17222 @if [ $(current_stage) = stage1 ]; then \
17223 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17224 else \
17225 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17226 $(MAKE) stage1-start; \
17227 fi; \
17228 cd $(HOST_SUBDIR)/intl && \
17229 $(MAKE) $(EXTRA_HOST_FLAGS) \
17230 clean
17231 @endif intl-bootstrap
17234 .PHONY: all-stage2-intl maybe-all-stage2-intl
17235 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17236 maybe-all-stage2-intl:
17237 maybe-clean-stage2-intl:
17238 @if intl-bootstrap
17239 maybe-all-stage2-intl: all-stage2-intl
17240 all-stage2: all-stage2-intl
17241 TARGET-stage2-intl = $(TARGET-intl)
17242 all-stage2-intl: configure-stage2-intl
17243 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17244 @r=`${PWD_COMMAND}`; export r; \
17245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17246 TFLAGS="$(STAGE2_TFLAGS)"; \
17247 $(HOST_EXPORTS) \
17248 $(POSTSTAGE1_HOST_EXPORTS) \
17249 cd $(HOST_SUBDIR)/intl && \
17250 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17251 CFLAGS="$(STAGE2_CFLAGS)" \
17252 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17253 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17254 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17255 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17256 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17257 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17258 TFLAGS="$(STAGE2_TFLAGS)" \
17259 $(TARGET-stage2-intl)
17261 maybe-clean-stage2-intl: clean-stage2-intl
17262 clean-stage2: clean-stage2-intl
17263 clean-stage2-intl:
17264 @if [ $(current_stage) = stage2 ]; then \
17265 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17266 else \
17267 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17268 $(MAKE) stage2-start; \
17269 fi; \
17270 cd $(HOST_SUBDIR)/intl && \
17271 $(MAKE) $(EXTRA_HOST_FLAGS) \
17272 $(POSTSTAGE1_FLAGS_TO_PASS) \
17273 clean
17274 @endif intl-bootstrap
17277 .PHONY: all-stage3-intl maybe-all-stage3-intl
17278 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17279 maybe-all-stage3-intl:
17280 maybe-clean-stage3-intl:
17281 @if intl-bootstrap
17282 maybe-all-stage3-intl: all-stage3-intl
17283 all-stage3: all-stage3-intl
17284 TARGET-stage3-intl = $(TARGET-intl)
17285 all-stage3-intl: configure-stage3-intl
17286 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17287 @r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 TFLAGS="$(STAGE3_TFLAGS)"; \
17290 $(HOST_EXPORTS) \
17291 $(POSTSTAGE1_HOST_EXPORTS) \
17292 cd $(HOST_SUBDIR)/intl && \
17293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17294 CFLAGS="$(STAGE3_CFLAGS)" \
17295 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17296 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17301 TFLAGS="$(STAGE3_TFLAGS)" \
17302 $(TARGET-stage3-intl)
17304 maybe-clean-stage3-intl: clean-stage3-intl
17305 clean-stage3: clean-stage3-intl
17306 clean-stage3-intl:
17307 @if [ $(current_stage) = stage3 ]; then \
17308 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17309 else \
17310 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17311 $(MAKE) stage3-start; \
17312 fi; \
17313 cd $(HOST_SUBDIR)/intl && \
17314 $(MAKE) $(EXTRA_HOST_FLAGS) \
17315 $(POSTSTAGE1_FLAGS_TO_PASS) \
17316 clean
17317 @endif intl-bootstrap
17320 .PHONY: all-stage4-intl maybe-all-stage4-intl
17321 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17322 maybe-all-stage4-intl:
17323 maybe-clean-stage4-intl:
17324 @if intl-bootstrap
17325 maybe-all-stage4-intl: all-stage4-intl
17326 all-stage4: all-stage4-intl
17327 TARGET-stage4-intl = $(TARGET-intl)
17328 all-stage4-intl: configure-stage4-intl
17329 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17330 @r=`${PWD_COMMAND}`; export r; \
17331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17332 TFLAGS="$(STAGE4_TFLAGS)"; \
17333 $(HOST_EXPORTS) \
17334 $(POSTSTAGE1_HOST_EXPORTS) \
17335 cd $(HOST_SUBDIR)/intl && \
17336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17337 CFLAGS="$(STAGE4_CFLAGS)" \
17338 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17339 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17344 TFLAGS="$(STAGE4_TFLAGS)" \
17345 $(TARGET-stage4-intl)
17347 maybe-clean-stage4-intl: clean-stage4-intl
17348 clean-stage4: clean-stage4-intl
17349 clean-stage4-intl:
17350 @if [ $(current_stage) = stage4 ]; then \
17351 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17352 else \
17353 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17354 $(MAKE) stage4-start; \
17355 fi; \
17356 cd $(HOST_SUBDIR)/intl && \
17357 $(MAKE) $(EXTRA_HOST_FLAGS) \
17358 $(POSTSTAGE1_FLAGS_TO_PASS) \
17359 clean
17360 @endif intl-bootstrap
17363 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17364 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17365 maybe-all-stageprofile-intl:
17366 maybe-clean-stageprofile-intl:
17367 @if intl-bootstrap
17368 maybe-all-stageprofile-intl: all-stageprofile-intl
17369 all-stageprofile: all-stageprofile-intl
17370 TARGET-stageprofile-intl = $(TARGET-intl)
17371 all-stageprofile-intl: configure-stageprofile-intl
17372 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17373 @r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17376 $(HOST_EXPORTS) \
17377 $(POSTSTAGE1_HOST_EXPORTS) \
17378 cd $(HOST_SUBDIR)/intl && \
17379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17380 CFLAGS="$(STAGEprofile_CFLAGS)" \
17381 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17382 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17387 TFLAGS="$(STAGEprofile_TFLAGS)" \
17388 $(TARGET-stageprofile-intl)
17390 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17391 clean-stageprofile: clean-stageprofile-intl
17392 clean-stageprofile-intl:
17393 @if [ $(current_stage) = stageprofile ]; then \
17394 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17395 else \
17396 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17397 $(MAKE) stageprofile-start; \
17398 fi; \
17399 cd $(HOST_SUBDIR)/intl && \
17400 $(MAKE) $(EXTRA_HOST_FLAGS) \
17401 $(POSTSTAGE1_FLAGS_TO_PASS) \
17402 clean
17403 @endif intl-bootstrap
17406 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17407 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17408 maybe-all-stagefeedback-intl:
17409 maybe-clean-stagefeedback-intl:
17410 @if intl-bootstrap
17411 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17412 all-stagefeedback: all-stagefeedback-intl
17413 TARGET-stagefeedback-intl = $(TARGET-intl)
17414 all-stagefeedback-intl: configure-stagefeedback-intl
17415 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17416 @r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17418 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17419 $(HOST_EXPORTS) \
17420 $(POSTSTAGE1_HOST_EXPORTS) \
17421 cd $(HOST_SUBDIR)/intl && \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17423 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17424 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17425 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17426 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17427 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17428 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17429 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17430 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17431 $(TARGET-stagefeedback-intl)
17433 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17434 clean-stagefeedback: clean-stagefeedback-intl
17435 clean-stagefeedback-intl:
17436 @if [ $(current_stage) = stagefeedback ]; then \
17437 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17438 else \
17439 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17440 $(MAKE) stagefeedback-start; \
17441 fi; \
17442 cd $(HOST_SUBDIR)/intl && \
17443 $(MAKE) $(EXTRA_HOST_FLAGS) \
17444 $(POSTSTAGE1_FLAGS_TO_PASS) \
17445 clean
17446 @endif intl-bootstrap
17452 .PHONY: check-intl maybe-check-intl
17453 maybe-check-intl:
17454 @if intl
17455 maybe-check-intl: check-intl
17457 check-intl:
17458 @: $(MAKE); $(unstage)
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 (cd $(HOST_SUBDIR)/intl && \
17463 $(MAKE) $(FLAGS_TO_PASS) check)
17465 @endif intl
17467 .PHONY: install-intl maybe-install-intl
17468 maybe-install-intl:
17469 @if intl
17470 maybe-install-intl: install-intl
17472 install-intl: installdirs
17473 @: $(MAKE); $(unstage)
17474 @r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17476 $(HOST_EXPORTS) \
17477 (cd $(HOST_SUBDIR)/intl && \
17478 $(MAKE) $(FLAGS_TO_PASS) install)
17480 @endif intl
17482 .PHONY: install-strip-intl maybe-install-strip-intl
17483 maybe-install-strip-intl:
17484 @if intl
17485 maybe-install-strip-intl: install-strip-intl
17487 install-strip-intl: installdirs
17488 @: $(MAKE); $(unstage)
17489 @r=`${PWD_COMMAND}`; export r; \
17490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17491 $(HOST_EXPORTS) \
17492 (cd $(HOST_SUBDIR)/intl && \
17493 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17495 @endif intl
17497 # Other targets (info, dvi, pdf, etc.)
17499 .PHONY: maybe-info-intl info-intl
17500 maybe-info-intl:
17501 @if intl
17502 maybe-info-intl: info-intl
17504 info-intl: \
17505 configure-intl
17506 @[ -f ./intl/Makefile ] || exit 0; \
17507 r=`${PWD_COMMAND}`; export r; \
17508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17509 $(HOST_EXPORTS) \
17510 for flag in $(EXTRA_HOST_FLAGS) ; do \
17511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17512 done; \
17513 echo "Doing info in intl" ; \
17514 (cd $(HOST_SUBDIR)/intl && \
17515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17517 "RANLIB=$${RANLIB}" \
17518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17519 info) \
17520 || exit 1
17522 @endif intl
17524 .PHONY: maybe-dvi-intl dvi-intl
17525 maybe-dvi-intl:
17526 @if intl
17527 maybe-dvi-intl: dvi-intl
17529 dvi-intl: \
17530 configure-intl
17531 @[ -f ./intl/Makefile ] || exit 0; \
17532 r=`${PWD_COMMAND}`; export r; \
17533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17534 $(HOST_EXPORTS) \
17535 for flag in $(EXTRA_HOST_FLAGS) ; do \
17536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17537 done; \
17538 echo "Doing dvi in intl" ; \
17539 (cd $(HOST_SUBDIR)/intl && \
17540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17542 "RANLIB=$${RANLIB}" \
17543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17544 dvi) \
17545 || exit 1
17547 @endif intl
17549 .PHONY: maybe-pdf-intl pdf-intl
17550 maybe-pdf-intl:
17551 @if intl
17552 maybe-pdf-intl: pdf-intl
17554 pdf-intl: \
17555 configure-intl
17556 @[ -f ./intl/Makefile ] || exit 0; \
17557 r=`${PWD_COMMAND}`; export r; \
17558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17559 $(HOST_EXPORTS) \
17560 for flag in $(EXTRA_HOST_FLAGS) ; do \
17561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17562 done; \
17563 echo "Doing pdf in intl" ; \
17564 (cd $(HOST_SUBDIR)/intl && \
17565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17567 "RANLIB=$${RANLIB}" \
17568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17569 pdf) \
17570 || exit 1
17572 @endif intl
17574 .PHONY: maybe-html-intl html-intl
17575 maybe-html-intl:
17576 @if intl
17577 maybe-html-intl: html-intl
17579 html-intl: \
17580 configure-intl
17581 @[ -f ./intl/Makefile ] || exit 0; \
17582 r=`${PWD_COMMAND}`; export r; \
17583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17584 $(HOST_EXPORTS) \
17585 for flag in $(EXTRA_HOST_FLAGS) ; do \
17586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17587 done; \
17588 echo "Doing html in intl" ; \
17589 (cd $(HOST_SUBDIR)/intl && \
17590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17592 "RANLIB=$${RANLIB}" \
17593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17594 html) \
17595 || exit 1
17597 @endif intl
17599 .PHONY: maybe-TAGS-intl TAGS-intl
17600 maybe-TAGS-intl:
17601 @if intl
17602 maybe-TAGS-intl: TAGS-intl
17604 TAGS-intl: \
17605 configure-intl
17606 @[ -f ./intl/Makefile ] || exit 0; \
17607 r=`${PWD_COMMAND}`; export r; \
17608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17609 $(HOST_EXPORTS) \
17610 for flag in $(EXTRA_HOST_FLAGS) ; do \
17611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17612 done; \
17613 echo "Doing TAGS in intl" ; \
17614 (cd $(HOST_SUBDIR)/intl && \
17615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17617 "RANLIB=$${RANLIB}" \
17618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17619 TAGS) \
17620 || exit 1
17622 @endif intl
17624 .PHONY: maybe-install-info-intl install-info-intl
17625 maybe-install-info-intl:
17626 @if intl
17627 maybe-install-info-intl: install-info-intl
17629 install-info-intl: \
17630 configure-intl \
17631 info-intl
17632 @[ -f ./intl/Makefile ] || exit 0; \
17633 r=`${PWD_COMMAND}`; export r; \
17634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17635 $(HOST_EXPORTS) \
17636 for flag in $(EXTRA_HOST_FLAGS) ; do \
17637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17638 done; \
17639 echo "Doing install-info in intl" ; \
17640 (cd $(HOST_SUBDIR)/intl && \
17641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17643 "RANLIB=$${RANLIB}" \
17644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17645 install-info) \
17646 || exit 1
17648 @endif intl
17650 .PHONY: maybe-install-pdf-intl install-pdf-intl
17651 maybe-install-pdf-intl:
17652 @if intl
17653 maybe-install-pdf-intl: install-pdf-intl
17655 install-pdf-intl: \
17656 configure-intl \
17657 pdf-intl
17658 @[ -f ./intl/Makefile ] || exit 0; \
17659 r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 for flag in $(EXTRA_HOST_FLAGS) ; do \
17663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17664 done; \
17665 echo "Doing install-pdf in intl" ; \
17666 (cd $(HOST_SUBDIR)/intl && \
17667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17669 "RANLIB=$${RANLIB}" \
17670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17671 install-pdf) \
17672 || exit 1
17674 @endif intl
17676 .PHONY: maybe-install-html-intl install-html-intl
17677 maybe-install-html-intl:
17678 @if intl
17679 maybe-install-html-intl: install-html-intl
17681 install-html-intl: \
17682 configure-intl \
17683 html-intl
17684 @[ -f ./intl/Makefile ] || exit 0; \
17685 r=`${PWD_COMMAND}`; export r; \
17686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17687 $(HOST_EXPORTS) \
17688 for flag in $(EXTRA_HOST_FLAGS) ; do \
17689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17690 done; \
17691 echo "Doing install-html in intl" ; \
17692 (cd $(HOST_SUBDIR)/intl && \
17693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17695 "RANLIB=$${RANLIB}" \
17696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17697 install-html) \
17698 || exit 1
17700 @endif intl
17702 .PHONY: maybe-installcheck-intl installcheck-intl
17703 maybe-installcheck-intl:
17704 @if intl
17705 maybe-installcheck-intl: installcheck-intl
17707 installcheck-intl: \
17708 configure-intl
17709 @[ -f ./intl/Makefile ] || exit 0; \
17710 r=`${PWD_COMMAND}`; export r; \
17711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712 $(HOST_EXPORTS) \
17713 for flag in $(EXTRA_HOST_FLAGS) ; do \
17714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17715 done; \
17716 echo "Doing installcheck in intl" ; \
17717 (cd $(HOST_SUBDIR)/intl && \
17718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17720 "RANLIB=$${RANLIB}" \
17721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17722 installcheck) \
17723 || exit 1
17725 @endif intl
17727 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17728 maybe-mostlyclean-intl:
17729 @if intl
17730 maybe-mostlyclean-intl: mostlyclean-intl
17732 mostlyclean-intl:
17733 @[ -f ./intl/Makefile ] || exit 0; \
17734 r=`${PWD_COMMAND}`; export r; \
17735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17736 $(HOST_EXPORTS) \
17737 for flag in $(EXTRA_HOST_FLAGS) ; do \
17738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17739 done; \
17740 echo "Doing mostlyclean in intl" ; \
17741 (cd $(HOST_SUBDIR)/intl && \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17744 "RANLIB=$${RANLIB}" \
17745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17746 mostlyclean) \
17747 || exit 1
17749 @endif intl
17751 .PHONY: maybe-clean-intl clean-intl
17752 maybe-clean-intl:
17753 @if intl
17754 maybe-clean-intl: clean-intl
17756 clean-intl:
17757 @[ -f ./intl/Makefile ] || exit 0; \
17758 r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17760 $(HOST_EXPORTS) \
17761 for flag in $(EXTRA_HOST_FLAGS) ; do \
17762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17763 done; \
17764 echo "Doing clean in intl" ; \
17765 (cd $(HOST_SUBDIR)/intl && \
17766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17768 "RANLIB=$${RANLIB}" \
17769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17770 clean) \
17771 || exit 1
17773 @endif intl
17775 .PHONY: maybe-distclean-intl distclean-intl
17776 maybe-distclean-intl:
17777 @if intl
17778 maybe-distclean-intl: distclean-intl
17780 distclean-intl:
17781 @[ -f ./intl/Makefile ] || exit 0; \
17782 r=`${PWD_COMMAND}`; export r; \
17783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 $(HOST_EXPORTS) \
17785 for flag in $(EXTRA_HOST_FLAGS) ; do \
17786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17787 done; \
17788 echo "Doing distclean in intl" ; \
17789 (cd $(HOST_SUBDIR)/intl && \
17790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17792 "RANLIB=$${RANLIB}" \
17793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17794 distclean) \
17795 || exit 1
17797 @endif intl
17799 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17800 maybe-maintainer-clean-intl:
17801 @if intl
17802 maybe-maintainer-clean-intl: maintainer-clean-intl
17804 maintainer-clean-intl:
17805 @[ -f ./intl/Makefile ] || exit 0; \
17806 r=`${PWD_COMMAND}`; export r; \
17807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 $(HOST_EXPORTS) \
17809 for flag in $(EXTRA_HOST_FLAGS) ; do \
17810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17811 done; \
17812 echo "Doing maintainer-clean in intl" ; \
17813 (cd $(HOST_SUBDIR)/intl && \
17814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17816 "RANLIB=$${RANLIB}" \
17817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17818 maintainer-clean) \
17819 || exit 1
17821 @endif intl
17825 .PHONY: configure-tcl maybe-configure-tcl
17826 maybe-configure-tcl:
17827 @if gcc-bootstrap
17828 configure-tcl: stage_current
17829 @endif gcc-bootstrap
17830 @if tcl
17831 maybe-configure-tcl: configure-tcl
17832 configure-tcl:
17833 @: $(MAKE); $(unstage)
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17838 $(HOST_EXPORTS) \
17839 echo Configuring in $(HOST_SUBDIR)/tcl; \
17840 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17841 case $(srcdir) in \
17842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17843 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17845 esac; \
17846 srcdiroption="--srcdir=$${topdir}/tcl"; \
17847 libsrcdir="$$s/tcl"; \
17848 $(SHELL) $${libsrcdir}/configure \
17849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17850 --target=${target_alias} $${srcdiroption} \
17851 || exit 1
17852 @endif tcl
17858 .PHONY: all-tcl maybe-all-tcl
17859 maybe-all-tcl:
17860 @if gcc-bootstrap
17861 all-tcl: stage_current
17862 @endif gcc-bootstrap
17863 @if tcl
17864 TARGET-tcl=all
17865 maybe-all-tcl: all-tcl
17866 all-tcl: configure-tcl
17867 @: $(MAKE); $(unstage)
17868 @r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 $(HOST_EXPORTS) \
17871 (cd $(HOST_SUBDIR)/tcl && \
17872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17873 $(TARGET-tcl))
17874 @endif tcl
17879 .PHONY: check-tcl maybe-check-tcl
17880 maybe-check-tcl:
17881 @if tcl
17882 maybe-check-tcl: check-tcl
17884 check-tcl:
17885 @: $(MAKE); $(unstage)
17886 @r=`${PWD_COMMAND}`; export r; \
17887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17888 $(HOST_EXPORTS) \
17889 (cd $(HOST_SUBDIR)/tcl && \
17890 $(MAKE) $(FLAGS_TO_PASS) check)
17892 @endif tcl
17894 .PHONY: install-tcl maybe-install-tcl
17895 maybe-install-tcl:
17896 @if tcl
17897 maybe-install-tcl: install-tcl
17899 install-tcl: installdirs
17900 @: $(MAKE); $(unstage)
17901 @r=`${PWD_COMMAND}`; export r; \
17902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17903 $(HOST_EXPORTS) \
17904 (cd $(HOST_SUBDIR)/tcl && \
17905 $(MAKE) $(FLAGS_TO_PASS) install)
17907 @endif tcl
17909 .PHONY: install-strip-tcl maybe-install-strip-tcl
17910 maybe-install-strip-tcl:
17911 @if tcl
17912 maybe-install-strip-tcl: install-strip-tcl
17914 install-strip-tcl: installdirs
17915 @: $(MAKE); $(unstage)
17916 @r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 $(HOST_EXPORTS) \
17919 (cd $(HOST_SUBDIR)/tcl && \
17920 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17922 @endif tcl
17924 # Other targets (info, dvi, pdf, etc.)
17926 .PHONY: maybe-info-tcl info-tcl
17927 maybe-info-tcl:
17928 @if tcl
17929 maybe-info-tcl: info-tcl
17931 info-tcl: \
17932 configure-tcl
17933 @: $(MAKE); $(unstage)
17934 @[ -f ./tcl/Makefile ] || exit 0; \
17935 r=`${PWD_COMMAND}`; export r; \
17936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17937 $(HOST_EXPORTS) \
17938 for flag in $(EXTRA_HOST_FLAGS) ; do \
17939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17940 done; \
17941 echo "Doing info in tcl" ; \
17942 (cd $(HOST_SUBDIR)/tcl && \
17943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17945 "RANLIB=$${RANLIB}" \
17946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17947 info) \
17948 || exit 1
17950 @endif tcl
17952 .PHONY: maybe-dvi-tcl dvi-tcl
17953 maybe-dvi-tcl:
17954 @if tcl
17955 maybe-dvi-tcl: dvi-tcl
17957 dvi-tcl: \
17958 configure-tcl
17959 @: $(MAKE); $(unstage)
17960 @[ -f ./tcl/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 $(HOST_EXPORTS) \
17964 for flag in $(EXTRA_HOST_FLAGS) ; do \
17965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17966 done; \
17967 echo "Doing dvi in tcl" ; \
17968 (cd $(HOST_SUBDIR)/tcl && \
17969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17971 "RANLIB=$${RANLIB}" \
17972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17973 dvi) \
17974 || exit 1
17976 @endif tcl
17978 .PHONY: maybe-pdf-tcl pdf-tcl
17979 maybe-pdf-tcl:
17980 @if tcl
17981 maybe-pdf-tcl: pdf-tcl
17983 pdf-tcl: \
17984 configure-tcl
17985 @: $(MAKE); $(unstage)
17986 @[ -f ./tcl/Makefile ] || exit 0; \
17987 r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 $(HOST_EXPORTS) \
17990 for flag in $(EXTRA_HOST_FLAGS) ; do \
17991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17992 done; \
17993 echo "Doing pdf in tcl" ; \
17994 (cd $(HOST_SUBDIR)/tcl && \
17995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17997 "RANLIB=$${RANLIB}" \
17998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17999 pdf) \
18000 || exit 1
18002 @endif tcl
18004 .PHONY: maybe-html-tcl html-tcl
18005 maybe-html-tcl:
18006 @if tcl
18007 maybe-html-tcl: html-tcl
18009 html-tcl: \
18010 configure-tcl
18011 @: $(MAKE); $(unstage)
18012 @[ -f ./tcl/Makefile ] || exit 0; \
18013 r=`${PWD_COMMAND}`; export r; \
18014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18015 $(HOST_EXPORTS) \
18016 for flag in $(EXTRA_HOST_FLAGS) ; do \
18017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18018 done; \
18019 echo "Doing html in tcl" ; \
18020 (cd $(HOST_SUBDIR)/tcl && \
18021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18023 "RANLIB=$${RANLIB}" \
18024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18025 html) \
18026 || exit 1
18028 @endif tcl
18030 .PHONY: maybe-TAGS-tcl TAGS-tcl
18031 maybe-TAGS-tcl:
18032 @if tcl
18033 maybe-TAGS-tcl: TAGS-tcl
18035 TAGS-tcl: \
18036 configure-tcl
18037 @: $(MAKE); $(unstage)
18038 @[ -f ./tcl/Makefile ] || exit 0; \
18039 r=`${PWD_COMMAND}`; export r; \
18040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18041 $(HOST_EXPORTS) \
18042 for flag in $(EXTRA_HOST_FLAGS) ; do \
18043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18044 done; \
18045 echo "Doing TAGS in tcl" ; \
18046 (cd $(HOST_SUBDIR)/tcl && \
18047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18049 "RANLIB=$${RANLIB}" \
18050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18051 TAGS) \
18052 || exit 1
18054 @endif tcl
18056 .PHONY: maybe-install-info-tcl install-info-tcl
18057 maybe-install-info-tcl:
18058 @if tcl
18059 maybe-install-info-tcl: install-info-tcl
18061 install-info-tcl: \
18062 configure-tcl \
18063 info-tcl
18064 @: $(MAKE); $(unstage)
18065 @[ -f ./tcl/Makefile ] || exit 0; \
18066 r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18068 $(HOST_EXPORTS) \
18069 for flag in $(EXTRA_HOST_FLAGS) ; do \
18070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18071 done; \
18072 echo "Doing install-info in tcl" ; \
18073 (cd $(HOST_SUBDIR)/tcl && \
18074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18076 "RANLIB=$${RANLIB}" \
18077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18078 install-info) \
18079 || exit 1
18081 @endif tcl
18083 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18084 maybe-install-pdf-tcl:
18085 @if tcl
18086 maybe-install-pdf-tcl: install-pdf-tcl
18088 install-pdf-tcl: \
18089 configure-tcl \
18090 pdf-tcl
18091 @: $(MAKE); $(unstage)
18092 @[ -f ./tcl/Makefile ] || exit 0; \
18093 r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS) ; do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing install-pdf in tcl" ; \
18100 (cd $(HOST_SUBDIR)/tcl && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18105 install-pdf) \
18106 || exit 1
18108 @endif tcl
18110 .PHONY: maybe-install-html-tcl install-html-tcl
18111 maybe-install-html-tcl:
18112 @if tcl
18113 maybe-install-html-tcl: install-html-tcl
18115 install-html-tcl: \
18116 configure-tcl \
18117 html-tcl
18118 @: $(MAKE); $(unstage)
18119 @[ -f ./tcl/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122 $(HOST_EXPORTS) \
18123 for flag in $(EXTRA_HOST_FLAGS) ; do \
18124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18125 done; \
18126 echo "Doing install-html in tcl" ; \
18127 (cd $(HOST_SUBDIR)/tcl && \
18128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130 "RANLIB=$${RANLIB}" \
18131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18132 install-html) \
18133 || exit 1
18135 @endif tcl
18137 .PHONY: maybe-installcheck-tcl installcheck-tcl
18138 maybe-installcheck-tcl:
18139 @if tcl
18140 maybe-installcheck-tcl: installcheck-tcl
18142 installcheck-tcl: \
18143 configure-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 installcheck 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 installcheck) \
18159 || exit 1
18161 @endif tcl
18163 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18164 maybe-mostlyclean-tcl:
18165 @if tcl
18166 maybe-mostlyclean-tcl: mostlyclean-tcl
18168 # tcl doesn't support mostlyclean.
18169 mostlyclean-tcl:
18171 @endif tcl
18173 .PHONY: maybe-clean-tcl clean-tcl
18174 maybe-clean-tcl:
18175 @if tcl
18176 maybe-clean-tcl: clean-tcl
18178 clean-tcl:
18179 @: $(MAKE); $(unstage)
18180 @[ -f ./tcl/Makefile ] || exit 0; \
18181 r=`${PWD_COMMAND}`; export r; \
18182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18183 $(HOST_EXPORTS) \
18184 for flag in $(EXTRA_HOST_FLAGS) ; do \
18185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18186 done; \
18187 echo "Doing clean in tcl" ; \
18188 (cd $(HOST_SUBDIR)/tcl && \
18189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18191 "RANLIB=$${RANLIB}" \
18192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18193 clean) \
18194 || exit 1
18196 @endif tcl
18198 .PHONY: maybe-distclean-tcl distclean-tcl
18199 maybe-distclean-tcl:
18200 @if tcl
18201 maybe-distclean-tcl: distclean-tcl
18203 distclean-tcl:
18204 @: $(MAKE); $(unstage)
18205 @[ -f ./tcl/Makefile ] || exit 0; \
18206 r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 $(HOST_EXPORTS) \
18209 for flag in $(EXTRA_HOST_FLAGS) ; do \
18210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18211 done; \
18212 echo "Doing distclean in tcl" ; \
18213 (cd $(HOST_SUBDIR)/tcl && \
18214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18216 "RANLIB=$${RANLIB}" \
18217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18218 distclean) \
18219 || exit 1
18221 @endif tcl
18223 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18224 maybe-maintainer-clean-tcl:
18225 @if tcl
18226 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18228 maintainer-clean-tcl:
18229 @: $(MAKE); $(unstage)
18230 @[ -f ./tcl/Makefile ] || exit 0; \
18231 r=`${PWD_COMMAND}`; export r; \
18232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18233 $(HOST_EXPORTS) \
18234 for flag in $(EXTRA_HOST_FLAGS) ; do \
18235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18236 done; \
18237 echo "Doing maintainer-clean in tcl" ; \
18238 (cd $(HOST_SUBDIR)/tcl && \
18239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18241 "RANLIB=$${RANLIB}" \
18242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18243 maintainer-clean) \
18244 || exit 1
18246 @endif tcl
18250 .PHONY: configure-itcl maybe-configure-itcl
18251 maybe-configure-itcl:
18252 @if gcc-bootstrap
18253 configure-itcl: stage_current
18254 @endif gcc-bootstrap
18255 @if itcl
18256 maybe-configure-itcl: configure-itcl
18257 configure-itcl:
18258 @: $(MAKE); $(unstage)
18259 @r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18261 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18263 $(HOST_EXPORTS) \
18264 echo Configuring in $(HOST_SUBDIR)/itcl; \
18265 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18266 case $(srcdir) in \
18267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18268 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18270 esac; \
18271 srcdiroption="--srcdir=$${topdir}/itcl"; \
18272 libsrcdir="$$s/itcl"; \
18273 $(SHELL) $${libsrcdir}/configure \
18274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18275 --target=${target_alias} $${srcdiroption} \
18276 || exit 1
18277 @endif itcl
18283 .PHONY: all-itcl maybe-all-itcl
18284 maybe-all-itcl:
18285 @if gcc-bootstrap
18286 all-itcl: stage_current
18287 @endif gcc-bootstrap
18288 @if itcl
18289 TARGET-itcl=all
18290 maybe-all-itcl: all-itcl
18291 all-itcl: configure-itcl
18292 @: $(MAKE); $(unstage)
18293 @r=`${PWD_COMMAND}`; export r; \
18294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18295 $(HOST_EXPORTS) \
18296 (cd $(HOST_SUBDIR)/itcl && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18298 $(TARGET-itcl))
18299 @endif itcl
18304 .PHONY: check-itcl maybe-check-itcl
18305 maybe-check-itcl:
18306 @if itcl
18307 maybe-check-itcl: check-itcl
18309 check-itcl:
18310 @: $(MAKE); $(unstage)
18311 @r=`${PWD_COMMAND}`; export r; \
18312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 $(HOST_EXPORTS) \
18314 (cd $(HOST_SUBDIR)/itcl && \
18315 $(MAKE) $(FLAGS_TO_PASS) check)
18317 @endif itcl
18319 .PHONY: install-itcl maybe-install-itcl
18320 maybe-install-itcl:
18321 @if itcl
18322 maybe-install-itcl: install-itcl
18324 install-itcl: installdirs
18325 @: $(MAKE); $(unstage)
18326 @r=`${PWD_COMMAND}`; export r; \
18327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 $(HOST_EXPORTS) \
18329 (cd $(HOST_SUBDIR)/itcl && \
18330 $(MAKE) $(FLAGS_TO_PASS) install)
18332 @endif itcl
18334 .PHONY: install-strip-itcl maybe-install-strip-itcl
18335 maybe-install-strip-itcl:
18336 @if itcl
18337 maybe-install-strip-itcl: install-strip-itcl
18339 install-strip-itcl: installdirs
18340 @: $(MAKE); $(unstage)
18341 @r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343 $(HOST_EXPORTS) \
18344 (cd $(HOST_SUBDIR)/itcl && \
18345 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18347 @endif itcl
18349 # Other targets (info, dvi, pdf, etc.)
18351 .PHONY: maybe-info-itcl info-itcl
18352 maybe-info-itcl:
18353 @if itcl
18354 maybe-info-itcl: info-itcl
18356 info-itcl: \
18357 configure-itcl
18358 @: $(MAKE); $(unstage)
18359 @[ -f ./itcl/Makefile ] || exit 0; \
18360 r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18362 $(HOST_EXPORTS) \
18363 for flag in $(EXTRA_HOST_FLAGS) ; do \
18364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18365 done; \
18366 echo "Doing info in itcl" ; \
18367 (cd $(HOST_SUBDIR)/itcl && \
18368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18370 "RANLIB=$${RANLIB}" \
18371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18372 info) \
18373 || exit 1
18375 @endif itcl
18377 .PHONY: maybe-dvi-itcl dvi-itcl
18378 maybe-dvi-itcl:
18379 @if itcl
18380 maybe-dvi-itcl: dvi-itcl
18382 dvi-itcl: \
18383 configure-itcl
18384 @: $(MAKE); $(unstage)
18385 @[ -f ./itcl/Makefile ] || exit 0; \
18386 r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388 $(HOST_EXPORTS) \
18389 for flag in $(EXTRA_HOST_FLAGS) ; do \
18390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18391 done; \
18392 echo "Doing dvi in itcl" ; \
18393 (cd $(HOST_SUBDIR)/itcl && \
18394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18396 "RANLIB=$${RANLIB}" \
18397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18398 dvi) \
18399 || exit 1
18401 @endif itcl
18403 .PHONY: maybe-pdf-itcl pdf-itcl
18404 maybe-pdf-itcl:
18405 @if itcl
18406 maybe-pdf-itcl: pdf-itcl
18408 pdf-itcl: \
18409 configure-itcl
18410 @: $(MAKE); $(unstage)
18411 @[ -f ./itcl/Makefile ] || exit 0; \
18412 r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18414 $(HOST_EXPORTS) \
18415 for flag in $(EXTRA_HOST_FLAGS) ; do \
18416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18417 done; \
18418 echo "Doing pdf in itcl" ; \
18419 (cd $(HOST_SUBDIR)/itcl && \
18420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18422 "RANLIB=$${RANLIB}" \
18423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18424 pdf) \
18425 || exit 1
18427 @endif itcl
18429 .PHONY: maybe-html-itcl html-itcl
18430 maybe-html-itcl:
18431 @if itcl
18432 maybe-html-itcl: html-itcl
18434 html-itcl: \
18435 configure-itcl
18436 @: $(MAKE); $(unstage)
18437 @[ -f ./itcl/Makefile ] || exit 0; \
18438 r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 $(HOST_EXPORTS) \
18441 for flag in $(EXTRA_HOST_FLAGS) ; do \
18442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18443 done; \
18444 echo "Doing html in itcl" ; \
18445 (cd $(HOST_SUBDIR)/itcl && \
18446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18448 "RANLIB=$${RANLIB}" \
18449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18450 html) \
18451 || exit 1
18453 @endif itcl
18455 .PHONY: maybe-TAGS-itcl TAGS-itcl
18456 maybe-TAGS-itcl:
18457 @if itcl
18458 maybe-TAGS-itcl: TAGS-itcl
18460 TAGS-itcl: \
18461 configure-itcl
18462 @: $(MAKE); $(unstage)
18463 @[ -f ./itcl/Makefile ] || exit 0; \
18464 r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18466 $(HOST_EXPORTS) \
18467 for flag in $(EXTRA_HOST_FLAGS) ; do \
18468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18469 done; \
18470 echo "Doing TAGS in itcl" ; \
18471 (cd $(HOST_SUBDIR)/itcl && \
18472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18474 "RANLIB=$${RANLIB}" \
18475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18476 TAGS) \
18477 || exit 1
18479 @endif itcl
18481 .PHONY: maybe-install-info-itcl install-info-itcl
18482 maybe-install-info-itcl:
18483 @if itcl
18484 maybe-install-info-itcl: install-info-itcl
18486 install-info-itcl: \
18487 configure-itcl \
18488 info-itcl
18489 @: $(MAKE); $(unstage)
18490 @[ -f ./itcl/Makefile ] || exit 0; \
18491 r=`${PWD_COMMAND}`; export r; \
18492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18493 $(HOST_EXPORTS) \
18494 for flag in $(EXTRA_HOST_FLAGS) ; do \
18495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18496 done; \
18497 echo "Doing install-info in itcl" ; \
18498 (cd $(HOST_SUBDIR)/itcl && \
18499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18501 "RANLIB=$${RANLIB}" \
18502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18503 install-info) \
18504 || exit 1
18506 @endif itcl
18508 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18509 maybe-install-pdf-itcl:
18510 @if itcl
18511 maybe-install-pdf-itcl: install-pdf-itcl
18513 install-pdf-itcl: \
18514 configure-itcl \
18515 pdf-itcl
18516 @: $(MAKE); $(unstage)
18517 @[ -f ./itcl/Makefile ] || exit 0; \
18518 r=`${PWD_COMMAND}`; export r; \
18519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 $(HOST_EXPORTS) \
18521 for flag in $(EXTRA_HOST_FLAGS) ; do \
18522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18523 done; \
18524 echo "Doing install-pdf in itcl" ; \
18525 (cd $(HOST_SUBDIR)/itcl && \
18526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18528 "RANLIB=$${RANLIB}" \
18529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18530 install-pdf) \
18531 || exit 1
18533 @endif itcl
18535 .PHONY: maybe-install-html-itcl install-html-itcl
18536 maybe-install-html-itcl:
18537 @if itcl
18538 maybe-install-html-itcl: install-html-itcl
18540 install-html-itcl: \
18541 configure-itcl \
18542 html-itcl
18543 @: $(MAKE); $(unstage)
18544 @[ -f ./itcl/Makefile ] || exit 0; \
18545 r=`${PWD_COMMAND}`; export r; \
18546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18547 $(HOST_EXPORTS) \
18548 for flag in $(EXTRA_HOST_FLAGS) ; do \
18549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18550 done; \
18551 echo "Doing install-html in itcl" ; \
18552 (cd $(HOST_SUBDIR)/itcl && \
18553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18555 "RANLIB=$${RANLIB}" \
18556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18557 install-html) \
18558 || exit 1
18560 @endif itcl
18562 .PHONY: maybe-installcheck-itcl installcheck-itcl
18563 maybe-installcheck-itcl:
18564 @if itcl
18565 maybe-installcheck-itcl: installcheck-itcl
18567 installcheck-itcl: \
18568 configure-itcl
18569 @: $(MAKE); $(unstage)
18570 @[ -f ./itcl/Makefile ] || exit 0; \
18571 r=`${PWD_COMMAND}`; export r; \
18572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18573 $(HOST_EXPORTS) \
18574 for flag in $(EXTRA_HOST_FLAGS) ; do \
18575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18576 done; \
18577 echo "Doing installcheck in itcl" ; \
18578 (cd $(HOST_SUBDIR)/itcl && \
18579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18581 "RANLIB=$${RANLIB}" \
18582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18583 installcheck) \
18584 || exit 1
18586 @endif itcl
18588 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18589 maybe-mostlyclean-itcl:
18590 @if itcl
18591 maybe-mostlyclean-itcl: mostlyclean-itcl
18593 mostlyclean-itcl:
18594 @: $(MAKE); $(unstage)
18595 @[ -f ./itcl/Makefile ] || exit 0; \
18596 r=`${PWD_COMMAND}`; export r; \
18597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18598 $(HOST_EXPORTS) \
18599 for flag in $(EXTRA_HOST_FLAGS) ; do \
18600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18601 done; \
18602 echo "Doing mostlyclean in itcl" ; \
18603 (cd $(HOST_SUBDIR)/itcl && \
18604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18606 "RANLIB=$${RANLIB}" \
18607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18608 mostlyclean) \
18609 || exit 1
18611 @endif itcl
18613 .PHONY: maybe-clean-itcl clean-itcl
18614 maybe-clean-itcl:
18615 @if itcl
18616 maybe-clean-itcl: clean-itcl
18618 clean-itcl:
18619 @: $(MAKE); $(unstage)
18620 @[ -f ./itcl/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623 $(HOST_EXPORTS) \
18624 for flag in $(EXTRA_HOST_FLAGS) ; do \
18625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18626 done; \
18627 echo "Doing clean in itcl" ; \
18628 (cd $(HOST_SUBDIR)/itcl && \
18629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18631 "RANLIB=$${RANLIB}" \
18632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18633 clean) \
18634 || exit 1
18636 @endif itcl
18638 .PHONY: maybe-distclean-itcl distclean-itcl
18639 maybe-distclean-itcl:
18640 @if itcl
18641 maybe-distclean-itcl: distclean-itcl
18643 distclean-itcl:
18644 @: $(MAKE); $(unstage)
18645 @[ -f ./itcl/Makefile ] || exit 0; \
18646 r=`${PWD_COMMAND}`; export r; \
18647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18648 $(HOST_EXPORTS) \
18649 for flag in $(EXTRA_HOST_FLAGS) ; do \
18650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18651 done; \
18652 echo "Doing distclean in itcl" ; \
18653 (cd $(HOST_SUBDIR)/itcl && \
18654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18656 "RANLIB=$${RANLIB}" \
18657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18658 distclean) \
18659 || exit 1
18661 @endif itcl
18663 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18664 maybe-maintainer-clean-itcl:
18665 @if itcl
18666 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18668 maintainer-clean-itcl:
18669 @: $(MAKE); $(unstage)
18670 @[ -f ./itcl/Makefile ] || exit 0; \
18671 r=`${PWD_COMMAND}`; export r; \
18672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18673 $(HOST_EXPORTS) \
18674 for flag in $(EXTRA_HOST_FLAGS) ; do \
18675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18676 done; \
18677 echo "Doing maintainer-clean in itcl" ; \
18678 (cd $(HOST_SUBDIR)/itcl && \
18679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18681 "RANLIB=$${RANLIB}" \
18682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18683 maintainer-clean) \
18684 || exit 1
18686 @endif itcl
18690 .PHONY: configure-ld maybe-configure-ld
18691 maybe-configure-ld:
18692 @if gcc-bootstrap
18693 configure-ld: stage_current
18694 @endif gcc-bootstrap
18695 @if ld
18696 maybe-configure-ld: configure-ld
18697 configure-ld:
18698 @r=`${PWD_COMMAND}`; export r; \
18699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18700 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18702 $(HOST_EXPORTS) \
18703 echo Configuring in $(HOST_SUBDIR)/ld; \
18704 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18705 case $(srcdir) in \
18706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18707 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18709 esac; \
18710 srcdiroption="--srcdir=$${topdir}/ld"; \
18711 libsrcdir="$$s/ld"; \
18712 $(SHELL) $${libsrcdir}/configure \
18713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18714 --target=${target_alias} $${srcdiroption} \
18715 || exit 1
18716 @endif ld
18720 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18721 maybe-configure-stage1-ld:
18722 @if ld-bootstrap
18723 maybe-configure-stage1-ld: configure-stage1-ld
18724 configure-stage1-ld:
18725 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18727 @r=`${PWD_COMMAND}`; export r; \
18728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18729 TFLAGS="$(STAGE1_TFLAGS)"; \
18730 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18731 $(HOST_EXPORTS) \
18732 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18733 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18734 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18735 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18737 cd $(HOST_SUBDIR)/ld || exit 1; \
18738 case $(srcdir) in \
18739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18740 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18742 esac; \
18743 srcdiroption="--srcdir=$${topdir}/ld"; \
18744 libsrcdir="$$s/ld"; \
18745 $(SHELL) $${libsrcdir}/configure \
18746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18747 --target=${target_alias} $${srcdiroption} \
18748 $(STAGE1_CONFIGURE_FLAGS)
18749 @endif ld-bootstrap
18751 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18752 maybe-configure-stage2-ld:
18753 @if ld-bootstrap
18754 maybe-configure-stage2-ld: configure-stage2-ld
18755 configure-stage2-ld:
18756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18758 @r=`${PWD_COMMAND}`; export r; \
18759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 TFLAGS="$(STAGE2_TFLAGS)"; \
18761 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18762 $(HOST_EXPORTS) \
18763 $(POSTSTAGE1_HOST_EXPORTS) \
18764 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18765 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18766 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18767 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18769 cd $(HOST_SUBDIR)/ld || exit 1; \
18770 case $(srcdir) in \
18771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18772 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18774 esac; \
18775 srcdiroption="--srcdir=$${topdir}/ld"; \
18776 libsrcdir="$$s/ld"; \
18777 $(SHELL) $${libsrcdir}/configure \
18778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18779 --target=${target_alias} $${srcdiroption} \
18780 --with-build-libsubdir=$(HOST_SUBDIR) \
18781 $(STAGE2_CONFIGURE_FLAGS)
18782 @endif ld-bootstrap
18784 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18785 maybe-configure-stage3-ld:
18786 @if ld-bootstrap
18787 maybe-configure-stage3-ld: configure-stage3-ld
18788 configure-stage3-ld:
18789 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18791 @r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 TFLAGS="$(STAGE3_TFLAGS)"; \
18794 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18795 $(HOST_EXPORTS) \
18796 $(POSTSTAGE1_HOST_EXPORTS) \
18797 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18798 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18799 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18800 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18802 cd $(HOST_SUBDIR)/ld || exit 1; \
18803 case $(srcdir) in \
18804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18805 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18807 esac; \
18808 srcdiroption="--srcdir=$${topdir}/ld"; \
18809 libsrcdir="$$s/ld"; \
18810 $(SHELL) $${libsrcdir}/configure \
18811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18812 --target=${target_alias} $${srcdiroption} \
18813 --with-build-libsubdir=$(HOST_SUBDIR) \
18814 $(STAGE3_CONFIGURE_FLAGS)
18815 @endif ld-bootstrap
18817 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18818 maybe-configure-stage4-ld:
18819 @if ld-bootstrap
18820 maybe-configure-stage4-ld: configure-stage4-ld
18821 configure-stage4-ld:
18822 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18824 @r=`${PWD_COMMAND}`; export r; \
18825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18826 TFLAGS="$(STAGE4_TFLAGS)"; \
18827 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18828 $(HOST_EXPORTS) \
18829 $(POSTSTAGE1_HOST_EXPORTS) \
18830 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18831 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18832 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18833 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18835 cd $(HOST_SUBDIR)/ld || exit 1; \
18836 case $(srcdir) in \
18837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18838 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18840 esac; \
18841 srcdiroption="--srcdir=$${topdir}/ld"; \
18842 libsrcdir="$$s/ld"; \
18843 $(SHELL) $${libsrcdir}/configure \
18844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18845 --target=${target_alias} $${srcdiroption} \
18846 --with-build-libsubdir=$(HOST_SUBDIR) \
18847 $(STAGE4_CONFIGURE_FLAGS)
18848 @endif ld-bootstrap
18850 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18851 maybe-configure-stageprofile-ld:
18852 @if ld-bootstrap
18853 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18854 configure-stageprofile-ld:
18855 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18857 @r=`${PWD_COMMAND}`; export r; \
18858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18859 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18860 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18861 $(HOST_EXPORTS) \
18862 $(POSTSTAGE1_HOST_EXPORTS) \
18863 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18864 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18865 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18866 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18868 cd $(HOST_SUBDIR)/ld || exit 1; \
18869 case $(srcdir) in \
18870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18871 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18873 esac; \
18874 srcdiroption="--srcdir=$${topdir}/ld"; \
18875 libsrcdir="$$s/ld"; \
18876 $(SHELL) $${libsrcdir}/configure \
18877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18878 --target=${target_alias} $${srcdiroption} \
18879 --with-build-libsubdir=$(HOST_SUBDIR) \
18880 $(STAGEprofile_CONFIGURE_FLAGS)
18881 @endif ld-bootstrap
18883 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18884 maybe-configure-stagefeedback-ld:
18885 @if ld-bootstrap
18886 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18887 configure-stagefeedback-ld:
18888 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18889 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18890 @r=`${PWD_COMMAND}`; export r; \
18891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18892 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18893 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18894 $(HOST_EXPORTS) \
18895 $(POSTSTAGE1_HOST_EXPORTS) \
18896 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18897 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18898 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18899 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18901 cd $(HOST_SUBDIR)/ld || exit 1; \
18902 case $(srcdir) in \
18903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18904 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18906 esac; \
18907 srcdiroption="--srcdir=$${topdir}/ld"; \
18908 libsrcdir="$$s/ld"; \
18909 $(SHELL) $${libsrcdir}/configure \
18910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18911 --target=${target_alias} $${srcdiroption} \
18912 --with-build-libsubdir=$(HOST_SUBDIR) \
18913 $(STAGEfeedback_CONFIGURE_FLAGS)
18914 @endif ld-bootstrap
18920 .PHONY: all-ld maybe-all-ld
18921 maybe-all-ld:
18922 @if gcc-bootstrap
18923 all-ld: stage_current
18924 @endif gcc-bootstrap
18925 @if ld
18926 TARGET-ld=all
18927 maybe-all-ld: all-ld
18928 all-ld: configure-ld
18929 @r=`${PWD_COMMAND}`; export r; \
18930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18931 $(HOST_EXPORTS) \
18932 (cd $(HOST_SUBDIR)/ld && \
18933 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18934 $(TARGET-ld))
18935 @endif ld
18939 .PHONY: all-stage1-ld maybe-all-stage1-ld
18940 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18941 maybe-all-stage1-ld:
18942 maybe-clean-stage1-ld:
18943 @if ld-bootstrap
18944 maybe-all-stage1-ld: all-stage1-ld
18945 all-stage1: all-stage1-ld
18946 TARGET-stage1-ld = $(TARGET-ld)
18947 all-stage1-ld: configure-stage1-ld
18948 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18949 @r=`${PWD_COMMAND}`; export r; \
18950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18951 TFLAGS="$(STAGE1_TFLAGS)"; \
18952 $(HOST_EXPORTS) \
18953 cd $(HOST_SUBDIR)/ld && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18955 CFLAGS="$(STAGE1_CFLAGS)" \
18956 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18957 LIBCFLAGS="$(LIBCFLAGS)" \
18958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18961 $(EXTRA_HOST_FLAGS) \
18962 TFLAGS="$(STAGE1_TFLAGS)" \
18963 $(TARGET-stage1-ld)
18965 maybe-clean-stage1-ld: clean-stage1-ld
18966 clean-stage1: clean-stage1-ld
18967 clean-stage1-ld:
18968 @if [ $(current_stage) = stage1 ]; then \
18969 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18970 else \
18971 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18972 $(MAKE) stage1-start; \
18973 fi; \
18974 cd $(HOST_SUBDIR)/ld && \
18975 $(MAKE) $(EXTRA_HOST_FLAGS) \
18976 clean
18977 @endif ld-bootstrap
18980 .PHONY: all-stage2-ld maybe-all-stage2-ld
18981 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18982 maybe-all-stage2-ld:
18983 maybe-clean-stage2-ld:
18984 @if ld-bootstrap
18985 maybe-all-stage2-ld: all-stage2-ld
18986 all-stage2: all-stage2-ld
18987 TARGET-stage2-ld = $(TARGET-ld)
18988 all-stage2-ld: configure-stage2-ld
18989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18990 @r=`${PWD_COMMAND}`; export r; \
18991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992 TFLAGS="$(STAGE2_TFLAGS)"; \
18993 $(HOST_EXPORTS) \
18994 $(POSTSTAGE1_HOST_EXPORTS) \
18995 cd $(HOST_SUBDIR)/ld && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18997 CFLAGS="$(STAGE2_CFLAGS)" \
18998 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18999 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19004 TFLAGS="$(STAGE2_TFLAGS)" \
19005 $(TARGET-stage2-ld)
19007 maybe-clean-stage2-ld: clean-stage2-ld
19008 clean-stage2: clean-stage2-ld
19009 clean-stage2-ld:
19010 @if [ $(current_stage) = stage2 ]; then \
19011 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19012 else \
19013 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19014 $(MAKE) stage2-start; \
19015 fi; \
19016 cd $(HOST_SUBDIR)/ld && \
19017 $(MAKE) $(EXTRA_HOST_FLAGS) \
19018 $(POSTSTAGE1_FLAGS_TO_PASS) \
19019 clean
19020 @endif ld-bootstrap
19023 .PHONY: all-stage3-ld maybe-all-stage3-ld
19024 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19025 maybe-all-stage3-ld:
19026 maybe-clean-stage3-ld:
19027 @if ld-bootstrap
19028 maybe-all-stage3-ld: all-stage3-ld
19029 all-stage3: all-stage3-ld
19030 TARGET-stage3-ld = $(TARGET-ld)
19031 all-stage3-ld: configure-stage3-ld
19032 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19033 @r=`${PWD_COMMAND}`; export r; \
19034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19035 TFLAGS="$(STAGE3_TFLAGS)"; \
19036 $(HOST_EXPORTS) \
19037 $(POSTSTAGE1_HOST_EXPORTS) \
19038 cd $(HOST_SUBDIR)/ld && \
19039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19040 CFLAGS="$(STAGE3_CFLAGS)" \
19041 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19042 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19047 TFLAGS="$(STAGE3_TFLAGS)" \
19048 $(TARGET-stage3-ld)
19050 maybe-clean-stage3-ld: clean-stage3-ld
19051 clean-stage3: clean-stage3-ld
19052 clean-stage3-ld:
19053 @if [ $(current_stage) = stage3 ]; then \
19054 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19055 else \
19056 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19057 $(MAKE) stage3-start; \
19058 fi; \
19059 cd $(HOST_SUBDIR)/ld && \
19060 $(MAKE) $(EXTRA_HOST_FLAGS) \
19061 $(POSTSTAGE1_FLAGS_TO_PASS) \
19062 clean
19063 @endif ld-bootstrap
19066 .PHONY: all-stage4-ld maybe-all-stage4-ld
19067 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19068 maybe-all-stage4-ld:
19069 maybe-clean-stage4-ld:
19070 @if ld-bootstrap
19071 maybe-all-stage4-ld: all-stage4-ld
19072 all-stage4: all-stage4-ld
19073 TARGET-stage4-ld = $(TARGET-ld)
19074 all-stage4-ld: configure-stage4-ld
19075 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19076 @r=`${PWD_COMMAND}`; export r; \
19077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19078 TFLAGS="$(STAGE4_TFLAGS)"; \
19079 $(HOST_EXPORTS) \
19080 $(POSTSTAGE1_HOST_EXPORTS) \
19081 cd $(HOST_SUBDIR)/ld && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19083 CFLAGS="$(STAGE4_CFLAGS)" \
19084 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19085 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19090 TFLAGS="$(STAGE4_TFLAGS)" \
19091 $(TARGET-stage4-ld)
19093 maybe-clean-stage4-ld: clean-stage4-ld
19094 clean-stage4: clean-stage4-ld
19095 clean-stage4-ld:
19096 @if [ $(current_stage) = stage4 ]; then \
19097 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19098 else \
19099 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19100 $(MAKE) stage4-start; \
19101 fi; \
19102 cd $(HOST_SUBDIR)/ld && \
19103 $(MAKE) $(EXTRA_HOST_FLAGS) \
19104 $(POSTSTAGE1_FLAGS_TO_PASS) \
19105 clean
19106 @endif ld-bootstrap
19109 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19110 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19111 maybe-all-stageprofile-ld:
19112 maybe-clean-stageprofile-ld:
19113 @if ld-bootstrap
19114 maybe-all-stageprofile-ld: all-stageprofile-ld
19115 all-stageprofile: all-stageprofile-ld
19116 TARGET-stageprofile-ld = $(TARGET-ld)
19117 all-stageprofile-ld: configure-stageprofile-ld
19118 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19119 @r=`${PWD_COMMAND}`; export r; \
19120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19121 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19122 $(HOST_EXPORTS) \
19123 $(POSTSTAGE1_HOST_EXPORTS) \
19124 cd $(HOST_SUBDIR)/ld && \
19125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19126 CFLAGS="$(STAGEprofile_CFLAGS)" \
19127 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19128 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19133 TFLAGS="$(STAGEprofile_TFLAGS)" \
19134 $(TARGET-stageprofile-ld)
19136 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19137 clean-stageprofile: clean-stageprofile-ld
19138 clean-stageprofile-ld:
19139 @if [ $(current_stage) = stageprofile ]; then \
19140 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19141 else \
19142 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19143 $(MAKE) stageprofile-start; \
19144 fi; \
19145 cd $(HOST_SUBDIR)/ld && \
19146 $(MAKE) $(EXTRA_HOST_FLAGS) \
19147 $(POSTSTAGE1_FLAGS_TO_PASS) \
19148 clean
19149 @endif ld-bootstrap
19152 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19153 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19154 maybe-all-stagefeedback-ld:
19155 maybe-clean-stagefeedback-ld:
19156 @if ld-bootstrap
19157 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19158 all-stagefeedback: all-stagefeedback-ld
19159 TARGET-stagefeedback-ld = $(TARGET-ld)
19160 all-stagefeedback-ld: configure-stagefeedback-ld
19161 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19162 @r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19165 $(HOST_EXPORTS) \
19166 $(POSTSTAGE1_HOST_EXPORTS) \
19167 cd $(HOST_SUBDIR)/ld && \
19168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19169 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19170 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19171 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19176 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19177 $(TARGET-stagefeedback-ld)
19179 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19180 clean-stagefeedback: clean-stagefeedback-ld
19181 clean-stagefeedback-ld:
19182 @if [ $(current_stage) = stagefeedback ]; then \
19183 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19184 else \
19185 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19186 $(MAKE) stagefeedback-start; \
19187 fi; \
19188 cd $(HOST_SUBDIR)/ld && \
19189 $(MAKE) $(EXTRA_HOST_FLAGS) \
19190 $(POSTSTAGE1_FLAGS_TO_PASS) \
19191 clean
19192 @endif ld-bootstrap
19198 .PHONY: check-ld maybe-check-ld
19199 maybe-check-ld:
19200 @if ld
19201 maybe-check-ld: check-ld
19203 check-ld:
19204 @: $(MAKE); $(unstage)
19205 @r=`${PWD_COMMAND}`; export r; \
19206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19207 $(HOST_EXPORTS) \
19208 (cd $(HOST_SUBDIR)/ld && \
19209 $(MAKE) $(FLAGS_TO_PASS) check)
19211 @endif ld
19213 .PHONY: install-ld maybe-install-ld
19214 maybe-install-ld:
19215 @if ld
19216 maybe-install-ld: install-ld
19218 install-ld: installdirs
19219 @: $(MAKE); $(unstage)
19220 @r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19222 $(HOST_EXPORTS) \
19223 (cd $(HOST_SUBDIR)/ld && \
19224 $(MAKE) $(FLAGS_TO_PASS) install)
19226 @endif ld
19228 .PHONY: install-strip-ld maybe-install-strip-ld
19229 maybe-install-strip-ld:
19230 @if ld
19231 maybe-install-strip-ld: install-strip-ld
19233 install-strip-ld: installdirs
19234 @: $(MAKE); $(unstage)
19235 @r=`${PWD_COMMAND}`; export r; \
19236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19237 $(HOST_EXPORTS) \
19238 (cd $(HOST_SUBDIR)/ld && \
19239 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19241 @endif ld
19243 # Other targets (info, dvi, pdf, etc.)
19245 .PHONY: maybe-info-ld info-ld
19246 maybe-info-ld:
19247 @if ld
19248 maybe-info-ld: info-ld
19250 info-ld: \
19251 configure-ld
19252 @[ -f ./ld/Makefile ] || exit 0; \
19253 r=`${PWD_COMMAND}`; export r; \
19254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing info in ld" ; \
19260 (cd $(HOST_SUBDIR)/ld && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19265 info) \
19266 || exit 1
19268 @endif ld
19270 .PHONY: maybe-dvi-ld dvi-ld
19271 maybe-dvi-ld:
19272 @if ld
19273 maybe-dvi-ld: dvi-ld
19275 dvi-ld: \
19276 configure-ld
19277 @[ -f ./ld/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing dvi in ld" ; \
19285 (cd $(HOST_SUBDIR)/ld && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19290 dvi) \
19291 || exit 1
19293 @endif ld
19295 .PHONY: maybe-pdf-ld pdf-ld
19296 maybe-pdf-ld:
19297 @if ld
19298 maybe-pdf-ld: pdf-ld
19300 pdf-ld: \
19301 configure-ld
19302 @[ -f ./ld/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing pdf in ld" ; \
19310 (cd $(HOST_SUBDIR)/ld && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19315 pdf) \
19316 || exit 1
19318 @endif ld
19320 .PHONY: maybe-html-ld html-ld
19321 maybe-html-ld:
19322 @if ld
19323 maybe-html-ld: html-ld
19325 html-ld: \
19326 configure-ld
19327 @[ -f ./ld/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing html in ld" ; \
19335 (cd $(HOST_SUBDIR)/ld && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19340 html) \
19341 || exit 1
19343 @endif ld
19345 .PHONY: maybe-TAGS-ld TAGS-ld
19346 maybe-TAGS-ld:
19347 @if ld
19348 maybe-TAGS-ld: TAGS-ld
19350 TAGS-ld: \
19351 configure-ld
19352 @[ -f ./ld/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing TAGS in ld" ; \
19360 (cd $(HOST_SUBDIR)/ld && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19365 TAGS) \
19366 || exit 1
19368 @endif ld
19370 .PHONY: maybe-install-info-ld install-info-ld
19371 maybe-install-info-ld:
19372 @if ld
19373 maybe-install-info-ld: install-info-ld
19375 install-info-ld: \
19376 configure-ld \
19377 info-ld
19378 @[ -f ./ld/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing install-info in ld" ; \
19386 (cd $(HOST_SUBDIR)/ld && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19391 install-info) \
19392 || exit 1
19394 @endif ld
19396 .PHONY: maybe-install-pdf-ld install-pdf-ld
19397 maybe-install-pdf-ld:
19398 @if ld
19399 maybe-install-pdf-ld: install-pdf-ld
19401 install-pdf-ld: \
19402 configure-ld \
19403 pdf-ld
19404 @[ -f ./ld/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 for flag in $(EXTRA_HOST_FLAGS) ; do \
19409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 done; \
19411 echo "Doing install-pdf in ld" ; \
19412 (cd $(HOST_SUBDIR)/ld && \
19413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19415 "RANLIB=$${RANLIB}" \
19416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19417 install-pdf) \
19418 || exit 1
19420 @endif ld
19422 .PHONY: maybe-install-html-ld install-html-ld
19423 maybe-install-html-ld:
19424 @if ld
19425 maybe-install-html-ld: install-html-ld
19427 install-html-ld: \
19428 configure-ld \
19429 html-ld
19430 @[ -f ./ld/Makefile ] || exit 0; \
19431 r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 for flag in $(EXTRA_HOST_FLAGS) ; do \
19435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19436 done; \
19437 echo "Doing install-html in ld" ; \
19438 (cd $(HOST_SUBDIR)/ld && \
19439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19441 "RANLIB=$${RANLIB}" \
19442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19443 install-html) \
19444 || exit 1
19446 @endif ld
19448 .PHONY: maybe-installcheck-ld installcheck-ld
19449 maybe-installcheck-ld:
19450 @if ld
19451 maybe-installcheck-ld: installcheck-ld
19453 installcheck-ld: \
19454 configure-ld
19455 @[ -f ./ld/Makefile ] || exit 0; \
19456 r=`${PWD_COMMAND}`; export r; \
19457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19458 $(HOST_EXPORTS) \
19459 for flag in $(EXTRA_HOST_FLAGS) ; do \
19460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19461 done; \
19462 echo "Doing installcheck in ld" ; \
19463 (cd $(HOST_SUBDIR)/ld && \
19464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19466 "RANLIB=$${RANLIB}" \
19467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19468 installcheck) \
19469 || exit 1
19471 @endif ld
19473 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19474 maybe-mostlyclean-ld:
19475 @if ld
19476 maybe-mostlyclean-ld: mostlyclean-ld
19478 mostlyclean-ld:
19479 @[ -f ./ld/Makefile ] || exit 0; \
19480 r=`${PWD_COMMAND}`; export r; \
19481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19482 $(HOST_EXPORTS) \
19483 for flag in $(EXTRA_HOST_FLAGS) ; do \
19484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19485 done; \
19486 echo "Doing mostlyclean in ld" ; \
19487 (cd $(HOST_SUBDIR)/ld && \
19488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19490 "RANLIB=$${RANLIB}" \
19491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19492 mostlyclean) \
19493 || exit 1
19495 @endif ld
19497 .PHONY: maybe-clean-ld clean-ld
19498 maybe-clean-ld:
19499 @if ld
19500 maybe-clean-ld: clean-ld
19502 clean-ld:
19503 @[ -f ./ld/Makefile ] || exit 0; \
19504 r=`${PWD_COMMAND}`; export r; \
19505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing clean in ld" ; \
19511 (cd $(HOST_SUBDIR)/ld && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19516 clean) \
19517 || exit 1
19519 @endif ld
19521 .PHONY: maybe-distclean-ld distclean-ld
19522 maybe-distclean-ld:
19523 @if ld
19524 maybe-distclean-ld: distclean-ld
19526 distclean-ld:
19527 @[ -f ./ld/Makefile ] || exit 0; \
19528 r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 $(HOST_EXPORTS) \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 done; \
19534 echo "Doing distclean in ld" ; \
19535 (cd $(HOST_SUBDIR)/ld && \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19540 distclean) \
19541 || exit 1
19543 @endif ld
19545 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19546 maybe-maintainer-clean-ld:
19547 @if ld
19548 maybe-maintainer-clean-ld: maintainer-clean-ld
19550 maintainer-clean-ld:
19551 @[ -f ./ld/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(HOST_EXPORTS) \
19555 for flag in $(EXTRA_HOST_FLAGS) ; do \
19556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19557 done; \
19558 echo "Doing maintainer-clean in ld" ; \
19559 (cd $(HOST_SUBDIR)/ld && \
19560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19562 "RANLIB=$${RANLIB}" \
19563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19564 maintainer-clean) \
19565 || exit 1
19567 @endif ld
19571 .PHONY: configure-libcpp maybe-configure-libcpp
19572 maybe-configure-libcpp:
19573 @if gcc-bootstrap
19574 configure-libcpp: stage_current
19575 @endif gcc-bootstrap
19576 @if libcpp
19577 maybe-configure-libcpp: configure-libcpp
19578 configure-libcpp:
19579 @r=`${PWD_COMMAND}`; export r; \
19580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19583 $(HOST_EXPORTS) \
19584 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19585 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19586 case $(srcdir) in \
19587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19588 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19590 esac; \
19591 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19592 libsrcdir="$$s/libcpp"; \
19593 $(SHELL) $${libsrcdir}/configure \
19594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19595 --target=${target_alias} $${srcdiroption} \
19596 || exit 1
19597 @endif libcpp
19601 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19602 maybe-configure-stage1-libcpp:
19603 @if libcpp-bootstrap
19604 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19605 configure-stage1-libcpp:
19606 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19608 @r=`${PWD_COMMAND}`; export r; \
19609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19610 TFLAGS="$(STAGE1_TFLAGS)"; \
19611 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19612 $(HOST_EXPORTS) \
19613 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19614 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19615 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19616 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19618 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19619 case $(srcdir) in \
19620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19621 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19623 esac; \
19624 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19625 libsrcdir="$$s/libcpp"; \
19626 $(SHELL) $${libsrcdir}/configure \
19627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19628 --target=${target_alias} $${srcdiroption} \
19629 $(STAGE1_CONFIGURE_FLAGS)
19630 @endif libcpp-bootstrap
19632 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19633 maybe-configure-stage2-libcpp:
19634 @if libcpp-bootstrap
19635 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19636 configure-stage2-libcpp:
19637 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19639 @r=`${PWD_COMMAND}`; export r; \
19640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19641 TFLAGS="$(STAGE2_TFLAGS)"; \
19642 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19643 $(HOST_EXPORTS) \
19644 $(POSTSTAGE1_HOST_EXPORTS) \
19645 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19646 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19647 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19648 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19650 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19651 case $(srcdir) in \
19652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19653 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19655 esac; \
19656 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19657 libsrcdir="$$s/libcpp"; \
19658 $(SHELL) $${libsrcdir}/configure \
19659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19660 --target=${target_alias} $${srcdiroption} \
19661 --with-build-libsubdir=$(HOST_SUBDIR) \
19662 $(STAGE2_CONFIGURE_FLAGS)
19663 @endif libcpp-bootstrap
19665 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19666 maybe-configure-stage3-libcpp:
19667 @if libcpp-bootstrap
19668 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19669 configure-stage3-libcpp:
19670 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19672 @r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 TFLAGS="$(STAGE3_TFLAGS)"; \
19675 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19676 $(HOST_EXPORTS) \
19677 $(POSTSTAGE1_HOST_EXPORTS) \
19678 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19679 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19680 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19681 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19683 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19684 case $(srcdir) in \
19685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19686 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19688 esac; \
19689 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19690 libsrcdir="$$s/libcpp"; \
19691 $(SHELL) $${libsrcdir}/configure \
19692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19693 --target=${target_alias} $${srcdiroption} \
19694 --with-build-libsubdir=$(HOST_SUBDIR) \
19695 $(STAGE3_CONFIGURE_FLAGS)
19696 @endif libcpp-bootstrap
19698 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19699 maybe-configure-stage4-libcpp:
19700 @if libcpp-bootstrap
19701 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19702 configure-stage4-libcpp:
19703 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19705 @r=`${PWD_COMMAND}`; export r; \
19706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19707 TFLAGS="$(STAGE4_TFLAGS)"; \
19708 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19709 $(HOST_EXPORTS) \
19710 $(POSTSTAGE1_HOST_EXPORTS) \
19711 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19712 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19713 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19714 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19716 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19717 case $(srcdir) in \
19718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19719 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19721 esac; \
19722 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19723 libsrcdir="$$s/libcpp"; \
19724 $(SHELL) $${libsrcdir}/configure \
19725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19726 --target=${target_alias} $${srcdiroption} \
19727 --with-build-libsubdir=$(HOST_SUBDIR) \
19728 $(STAGE4_CONFIGURE_FLAGS)
19729 @endif libcpp-bootstrap
19731 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19732 maybe-configure-stageprofile-libcpp:
19733 @if libcpp-bootstrap
19734 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19735 configure-stageprofile-libcpp:
19736 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19738 @r=`${PWD_COMMAND}`; export r; \
19739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19740 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19741 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19742 $(HOST_EXPORTS) \
19743 $(POSTSTAGE1_HOST_EXPORTS) \
19744 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19745 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19746 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19747 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19749 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19750 case $(srcdir) in \
19751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19752 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19754 esac; \
19755 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19756 libsrcdir="$$s/libcpp"; \
19757 $(SHELL) $${libsrcdir}/configure \
19758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19759 --target=${target_alias} $${srcdiroption} \
19760 --with-build-libsubdir=$(HOST_SUBDIR) \
19761 $(STAGEprofile_CONFIGURE_FLAGS)
19762 @endif libcpp-bootstrap
19764 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19765 maybe-configure-stagefeedback-libcpp:
19766 @if libcpp-bootstrap
19767 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19768 configure-stagefeedback-libcpp:
19769 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19771 @r=`${PWD_COMMAND}`; export r; \
19772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19774 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19775 $(HOST_EXPORTS) \
19776 $(POSTSTAGE1_HOST_EXPORTS) \
19777 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19778 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19779 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19780 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19782 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19783 case $(srcdir) in \
19784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19785 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19787 esac; \
19788 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19789 libsrcdir="$$s/libcpp"; \
19790 $(SHELL) $${libsrcdir}/configure \
19791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19792 --target=${target_alias} $${srcdiroption} \
19793 --with-build-libsubdir=$(HOST_SUBDIR) \
19794 $(STAGEfeedback_CONFIGURE_FLAGS)
19795 @endif libcpp-bootstrap
19801 .PHONY: all-libcpp maybe-all-libcpp
19802 maybe-all-libcpp:
19803 @if gcc-bootstrap
19804 all-libcpp: stage_current
19805 @endif gcc-bootstrap
19806 @if libcpp
19807 TARGET-libcpp=all
19808 maybe-all-libcpp: all-libcpp
19809 all-libcpp: configure-libcpp
19810 @r=`${PWD_COMMAND}`; export r; \
19811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19812 $(HOST_EXPORTS) \
19813 (cd $(HOST_SUBDIR)/libcpp && \
19814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19815 $(TARGET-libcpp))
19816 @endif libcpp
19820 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19821 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19822 maybe-all-stage1-libcpp:
19823 maybe-clean-stage1-libcpp:
19824 @if libcpp-bootstrap
19825 maybe-all-stage1-libcpp: all-stage1-libcpp
19826 all-stage1: all-stage1-libcpp
19827 TARGET-stage1-libcpp = $(TARGET-libcpp)
19828 all-stage1-libcpp: configure-stage1-libcpp
19829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19830 @r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 TFLAGS="$(STAGE1_TFLAGS)"; \
19833 $(HOST_EXPORTS) \
19834 cd $(HOST_SUBDIR)/libcpp && \
19835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19836 CFLAGS="$(STAGE1_CFLAGS)" \
19837 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19838 LIBCFLAGS="$(LIBCFLAGS)" \
19839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19842 $(EXTRA_HOST_FLAGS) \
19843 TFLAGS="$(STAGE1_TFLAGS)" \
19844 $(TARGET-stage1-libcpp)
19846 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19847 clean-stage1: clean-stage1-libcpp
19848 clean-stage1-libcpp:
19849 @if [ $(current_stage) = stage1 ]; then \
19850 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19851 else \
19852 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19853 $(MAKE) stage1-start; \
19854 fi; \
19855 cd $(HOST_SUBDIR)/libcpp && \
19856 $(MAKE) $(EXTRA_HOST_FLAGS) \
19857 clean
19858 @endif libcpp-bootstrap
19861 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19862 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19863 maybe-all-stage2-libcpp:
19864 maybe-clean-stage2-libcpp:
19865 @if libcpp-bootstrap
19866 maybe-all-stage2-libcpp: all-stage2-libcpp
19867 all-stage2: all-stage2-libcpp
19868 TARGET-stage2-libcpp = $(TARGET-libcpp)
19869 all-stage2-libcpp: configure-stage2-libcpp
19870 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19871 @r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 TFLAGS="$(STAGE2_TFLAGS)"; \
19874 $(HOST_EXPORTS) \
19875 $(POSTSTAGE1_HOST_EXPORTS) \
19876 cd $(HOST_SUBDIR)/libcpp && \
19877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19878 CFLAGS="$(STAGE2_CFLAGS)" \
19879 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19880 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19885 TFLAGS="$(STAGE2_TFLAGS)" \
19886 $(TARGET-stage2-libcpp)
19888 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19889 clean-stage2: clean-stage2-libcpp
19890 clean-stage2-libcpp:
19891 @if [ $(current_stage) = stage2 ]; then \
19892 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19893 else \
19894 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19895 $(MAKE) stage2-start; \
19896 fi; \
19897 cd $(HOST_SUBDIR)/libcpp && \
19898 $(MAKE) $(EXTRA_HOST_FLAGS) \
19899 $(POSTSTAGE1_FLAGS_TO_PASS) \
19900 clean
19901 @endif libcpp-bootstrap
19904 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19905 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19906 maybe-all-stage3-libcpp:
19907 maybe-clean-stage3-libcpp:
19908 @if libcpp-bootstrap
19909 maybe-all-stage3-libcpp: all-stage3-libcpp
19910 all-stage3: all-stage3-libcpp
19911 TARGET-stage3-libcpp = $(TARGET-libcpp)
19912 all-stage3-libcpp: configure-stage3-libcpp
19913 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19914 @r=`${PWD_COMMAND}`; export r; \
19915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19916 TFLAGS="$(STAGE3_TFLAGS)"; \
19917 $(HOST_EXPORTS) \
19918 $(POSTSTAGE1_HOST_EXPORTS) \
19919 cd $(HOST_SUBDIR)/libcpp && \
19920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19921 CFLAGS="$(STAGE3_CFLAGS)" \
19922 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19923 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19928 TFLAGS="$(STAGE3_TFLAGS)" \
19929 $(TARGET-stage3-libcpp)
19931 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19932 clean-stage3: clean-stage3-libcpp
19933 clean-stage3-libcpp:
19934 @if [ $(current_stage) = stage3 ]; then \
19935 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19936 else \
19937 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19938 $(MAKE) stage3-start; \
19939 fi; \
19940 cd $(HOST_SUBDIR)/libcpp && \
19941 $(MAKE) $(EXTRA_HOST_FLAGS) \
19942 $(POSTSTAGE1_FLAGS_TO_PASS) \
19943 clean
19944 @endif libcpp-bootstrap
19947 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19948 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19949 maybe-all-stage4-libcpp:
19950 maybe-clean-stage4-libcpp:
19951 @if libcpp-bootstrap
19952 maybe-all-stage4-libcpp: all-stage4-libcpp
19953 all-stage4: all-stage4-libcpp
19954 TARGET-stage4-libcpp = $(TARGET-libcpp)
19955 all-stage4-libcpp: configure-stage4-libcpp
19956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19957 @r=`${PWD_COMMAND}`; export r; \
19958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19959 TFLAGS="$(STAGE4_TFLAGS)"; \
19960 $(HOST_EXPORTS) \
19961 $(POSTSTAGE1_HOST_EXPORTS) \
19962 cd $(HOST_SUBDIR)/libcpp && \
19963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19964 CFLAGS="$(STAGE4_CFLAGS)" \
19965 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19966 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19970 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19971 TFLAGS="$(STAGE4_TFLAGS)" \
19972 $(TARGET-stage4-libcpp)
19974 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19975 clean-stage4: clean-stage4-libcpp
19976 clean-stage4-libcpp:
19977 @if [ $(current_stage) = stage4 ]; then \
19978 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19979 else \
19980 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19981 $(MAKE) stage4-start; \
19982 fi; \
19983 cd $(HOST_SUBDIR)/libcpp && \
19984 $(MAKE) $(EXTRA_HOST_FLAGS) \
19985 $(POSTSTAGE1_FLAGS_TO_PASS) \
19986 clean
19987 @endif libcpp-bootstrap
19990 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19991 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19992 maybe-all-stageprofile-libcpp:
19993 maybe-clean-stageprofile-libcpp:
19994 @if libcpp-bootstrap
19995 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19996 all-stageprofile: all-stageprofile-libcpp
19997 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19998 all-stageprofile-libcpp: configure-stageprofile-libcpp
19999 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20000 @r=`${PWD_COMMAND}`; export r; \
20001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20002 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20003 $(HOST_EXPORTS) \
20004 $(POSTSTAGE1_HOST_EXPORTS) \
20005 cd $(HOST_SUBDIR)/libcpp && \
20006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20007 CFLAGS="$(STAGEprofile_CFLAGS)" \
20008 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20009 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20014 TFLAGS="$(STAGEprofile_TFLAGS)" \
20015 $(TARGET-stageprofile-libcpp)
20017 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20018 clean-stageprofile: clean-stageprofile-libcpp
20019 clean-stageprofile-libcpp:
20020 @if [ $(current_stage) = stageprofile ]; then \
20021 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20022 else \
20023 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20024 $(MAKE) stageprofile-start; \
20025 fi; \
20026 cd $(HOST_SUBDIR)/libcpp && \
20027 $(MAKE) $(EXTRA_HOST_FLAGS) \
20028 $(POSTSTAGE1_FLAGS_TO_PASS) \
20029 clean
20030 @endif libcpp-bootstrap
20033 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20034 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20035 maybe-all-stagefeedback-libcpp:
20036 maybe-clean-stagefeedback-libcpp:
20037 @if libcpp-bootstrap
20038 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20039 all-stagefeedback: all-stagefeedback-libcpp
20040 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20041 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20042 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20043 @r=`${PWD_COMMAND}`; export r; \
20044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20046 $(HOST_EXPORTS) \
20047 $(POSTSTAGE1_HOST_EXPORTS) \
20048 cd $(HOST_SUBDIR)/libcpp && \
20049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20050 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20051 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20052 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20056 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20057 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20058 $(TARGET-stagefeedback-libcpp)
20060 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20061 clean-stagefeedback: clean-stagefeedback-libcpp
20062 clean-stagefeedback-libcpp:
20063 @if [ $(current_stage) = stagefeedback ]; then \
20064 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20065 else \
20066 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20067 $(MAKE) stagefeedback-start; \
20068 fi; \
20069 cd $(HOST_SUBDIR)/libcpp && \
20070 $(MAKE) $(EXTRA_HOST_FLAGS) \
20071 $(POSTSTAGE1_FLAGS_TO_PASS) \
20072 clean
20073 @endif libcpp-bootstrap
20079 .PHONY: check-libcpp maybe-check-libcpp
20080 maybe-check-libcpp:
20081 @if libcpp
20082 maybe-check-libcpp: check-libcpp
20084 check-libcpp:
20085 @: $(MAKE); $(unstage)
20086 @r=`${PWD_COMMAND}`; export r; \
20087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20088 $(HOST_EXPORTS) \
20089 (cd $(HOST_SUBDIR)/libcpp && \
20090 $(MAKE) $(FLAGS_TO_PASS) check)
20092 @endif libcpp
20094 .PHONY: install-libcpp maybe-install-libcpp
20095 maybe-install-libcpp:
20096 @if libcpp
20097 maybe-install-libcpp: install-libcpp
20099 install-libcpp: installdirs
20100 @: $(MAKE); $(unstage)
20101 @r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 $(HOST_EXPORTS) \
20104 (cd $(HOST_SUBDIR)/libcpp && \
20105 $(MAKE) $(FLAGS_TO_PASS) install)
20107 @endif libcpp
20109 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20110 maybe-install-strip-libcpp:
20111 @if libcpp
20112 maybe-install-strip-libcpp: install-strip-libcpp
20114 install-strip-libcpp: installdirs
20115 @: $(MAKE); $(unstage)
20116 @r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(HOST_EXPORTS) \
20119 (cd $(HOST_SUBDIR)/libcpp && \
20120 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20122 @endif libcpp
20124 # Other targets (info, dvi, pdf, etc.)
20126 .PHONY: maybe-info-libcpp info-libcpp
20127 maybe-info-libcpp:
20128 @if libcpp
20129 maybe-info-libcpp: info-libcpp
20131 info-libcpp: \
20132 configure-libcpp
20133 @[ -f ./libcpp/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 done; \
20140 echo "Doing info in libcpp" ; \
20141 (cd $(HOST_SUBDIR)/libcpp && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20146 info) \
20147 || exit 1
20149 @endif libcpp
20151 .PHONY: maybe-dvi-libcpp dvi-libcpp
20152 maybe-dvi-libcpp:
20153 @if libcpp
20154 maybe-dvi-libcpp: dvi-libcpp
20156 dvi-libcpp: \
20157 configure-libcpp
20158 @[ -f ./libcpp/Makefile ] || exit 0; \
20159 r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 $(HOST_EXPORTS) \
20162 for flag in $(EXTRA_HOST_FLAGS) ; do \
20163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20164 done; \
20165 echo "Doing dvi in libcpp" ; \
20166 (cd $(HOST_SUBDIR)/libcpp && \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169 "RANLIB=$${RANLIB}" \
20170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20171 dvi) \
20172 || exit 1
20174 @endif libcpp
20176 .PHONY: maybe-pdf-libcpp pdf-libcpp
20177 maybe-pdf-libcpp:
20178 @if libcpp
20179 maybe-pdf-libcpp: pdf-libcpp
20181 pdf-libcpp: \
20182 configure-libcpp
20183 @[ -f ./libcpp/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(HOST_EXPORTS) \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 done; \
20190 echo "Doing pdf in libcpp" ; \
20191 (cd $(HOST_SUBDIR)/libcpp && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20196 pdf) \
20197 || exit 1
20199 @endif libcpp
20201 .PHONY: maybe-html-libcpp html-libcpp
20202 maybe-html-libcpp:
20203 @if libcpp
20204 maybe-html-libcpp: html-libcpp
20206 html-libcpp: \
20207 configure-libcpp
20208 @[ -f ./libcpp/Makefile ] || exit 0; \
20209 r=`${PWD_COMMAND}`; export r; \
20210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20211 $(HOST_EXPORTS) \
20212 for flag in $(EXTRA_HOST_FLAGS) ; do \
20213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20214 done; \
20215 echo "Doing html in libcpp" ; \
20216 (cd $(HOST_SUBDIR)/libcpp && \
20217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20219 "RANLIB=$${RANLIB}" \
20220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20221 html) \
20222 || exit 1
20224 @endif libcpp
20226 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20227 maybe-TAGS-libcpp:
20228 @if libcpp
20229 maybe-TAGS-libcpp: TAGS-libcpp
20231 TAGS-libcpp: \
20232 configure-libcpp
20233 @[ -f ./libcpp/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 $(HOST_EXPORTS) \
20237 for flag in $(EXTRA_HOST_FLAGS) ; do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239 done; \
20240 echo "Doing TAGS in libcpp" ; \
20241 (cd $(HOST_SUBDIR)/libcpp && \
20242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20244 "RANLIB=$${RANLIB}" \
20245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20246 TAGS) \
20247 || exit 1
20249 @endif libcpp
20251 .PHONY: maybe-install-info-libcpp install-info-libcpp
20252 maybe-install-info-libcpp:
20253 @if libcpp
20254 maybe-install-info-libcpp: install-info-libcpp
20256 install-info-libcpp: \
20257 configure-libcpp \
20258 info-libcpp
20259 @[ -f ./libcpp/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing install-info in libcpp" ; \
20267 (cd $(HOST_SUBDIR)/libcpp && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20272 install-info) \
20273 || exit 1
20275 @endif libcpp
20277 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20278 maybe-install-pdf-libcpp:
20279 @if libcpp
20280 maybe-install-pdf-libcpp: install-pdf-libcpp
20282 install-pdf-libcpp: \
20283 configure-libcpp \
20284 pdf-libcpp
20285 @[ -f ./libcpp/Makefile ] || exit 0; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 done; \
20292 echo "Doing install-pdf in libcpp" ; \
20293 (cd $(HOST_SUBDIR)/libcpp && \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20298 install-pdf) \
20299 || exit 1
20301 @endif libcpp
20303 .PHONY: maybe-install-html-libcpp install-html-libcpp
20304 maybe-install-html-libcpp:
20305 @if libcpp
20306 maybe-install-html-libcpp: install-html-libcpp
20308 install-html-libcpp: \
20309 configure-libcpp \
20310 html-libcpp
20311 @[ -f ./libcpp/Makefile ] || exit 0; \
20312 r=`${PWD_COMMAND}`; export r; \
20313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 $(HOST_EXPORTS) \
20315 for flag in $(EXTRA_HOST_FLAGS) ; do \
20316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20317 done; \
20318 echo "Doing install-html in libcpp" ; \
20319 (cd $(HOST_SUBDIR)/libcpp && \
20320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20322 "RANLIB=$${RANLIB}" \
20323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20324 install-html) \
20325 || exit 1
20327 @endif libcpp
20329 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20330 maybe-installcheck-libcpp:
20331 @if libcpp
20332 maybe-installcheck-libcpp: installcheck-libcpp
20334 installcheck-libcpp: \
20335 configure-libcpp
20336 @[ -f ./libcpp/Makefile ] || exit 0; \
20337 r=`${PWD_COMMAND}`; export r; \
20338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 $(HOST_EXPORTS) \
20340 for flag in $(EXTRA_HOST_FLAGS) ; do \
20341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20342 done; \
20343 echo "Doing installcheck in libcpp" ; \
20344 (cd $(HOST_SUBDIR)/libcpp && \
20345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20347 "RANLIB=$${RANLIB}" \
20348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20349 installcheck) \
20350 || exit 1
20352 @endif libcpp
20354 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20355 maybe-mostlyclean-libcpp:
20356 @if libcpp
20357 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20359 mostlyclean-libcpp:
20360 @[ -f ./libcpp/Makefile ] || exit 0; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 for flag in $(EXTRA_HOST_FLAGS) ; do \
20365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 done; \
20367 echo "Doing mostlyclean in libcpp" ; \
20368 (cd $(HOST_SUBDIR)/libcpp && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20371 "RANLIB=$${RANLIB}" \
20372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20373 mostlyclean) \
20374 || exit 1
20376 @endif libcpp
20378 .PHONY: maybe-clean-libcpp clean-libcpp
20379 maybe-clean-libcpp:
20380 @if libcpp
20381 maybe-clean-libcpp: clean-libcpp
20383 clean-libcpp:
20384 @[ -f ./libcpp/Makefile ] || exit 0; \
20385 r=`${PWD_COMMAND}`; export r; \
20386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 $(HOST_EXPORTS) \
20388 for flag in $(EXTRA_HOST_FLAGS) ; do \
20389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20390 done; \
20391 echo "Doing clean in libcpp" ; \
20392 (cd $(HOST_SUBDIR)/libcpp && \
20393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20395 "RANLIB=$${RANLIB}" \
20396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20397 clean) \
20398 || exit 1
20400 @endif libcpp
20402 .PHONY: maybe-distclean-libcpp distclean-libcpp
20403 maybe-distclean-libcpp:
20404 @if libcpp
20405 maybe-distclean-libcpp: distclean-libcpp
20407 distclean-libcpp:
20408 @[ -f ./libcpp/Makefile ] || exit 0; \
20409 r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 $(HOST_EXPORTS) \
20412 for flag in $(EXTRA_HOST_FLAGS) ; do \
20413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20414 done; \
20415 echo "Doing distclean in libcpp" ; \
20416 (cd $(HOST_SUBDIR)/libcpp && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20419 "RANLIB=$${RANLIB}" \
20420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20421 distclean) \
20422 || exit 1
20424 @endif libcpp
20426 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20427 maybe-maintainer-clean-libcpp:
20428 @if libcpp
20429 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20431 maintainer-clean-libcpp:
20432 @[ -f ./libcpp/Makefile ] || exit 0; \
20433 r=`${PWD_COMMAND}`; export r; \
20434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20435 $(HOST_EXPORTS) \
20436 for flag in $(EXTRA_HOST_FLAGS) ; do \
20437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20438 done; \
20439 echo "Doing maintainer-clean in libcpp" ; \
20440 (cd $(HOST_SUBDIR)/libcpp && \
20441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20443 "RANLIB=$${RANLIB}" \
20444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20445 maintainer-clean) \
20446 || exit 1
20448 @endif libcpp
20452 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20453 maybe-configure-libdecnumber:
20454 @if gcc-bootstrap
20455 configure-libdecnumber: stage_current
20456 @endif gcc-bootstrap
20457 @if libdecnumber
20458 maybe-configure-libdecnumber: configure-libdecnumber
20459 configure-libdecnumber:
20460 @r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20462 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20464 $(HOST_EXPORTS) \
20465 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20466 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20467 case $(srcdir) in \
20468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20469 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20471 esac; \
20472 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20473 libsrcdir="$$s/libdecnumber"; \
20474 $(SHELL) $${libsrcdir}/configure \
20475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20476 --target=${target_alias} $${srcdiroption} \
20477 || exit 1
20478 @endif libdecnumber
20482 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20483 maybe-configure-stage1-libdecnumber:
20484 @if libdecnumber-bootstrap
20485 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20486 configure-stage1-libdecnumber:
20487 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20489 @r=`${PWD_COMMAND}`; export r; \
20490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20491 TFLAGS="$(STAGE1_TFLAGS)"; \
20492 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20493 $(HOST_EXPORTS) \
20494 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20495 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20496 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20497 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20499 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20500 case $(srcdir) in \
20501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20502 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20504 esac; \
20505 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20506 libsrcdir="$$s/libdecnumber"; \
20507 $(SHELL) $${libsrcdir}/configure \
20508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20509 --target=${target_alias} $${srcdiroption} \
20510 $(STAGE1_CONFIGURE_FLAGS)
20511 @endif libdecnumber-bootstrap
20513 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20514 maybe-configure-stage2-libdecnumber:
20515 @if libdecnumber-bootstrap
20516 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20517 configure-stage2-libdecnumber:
20518 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20520 @r=`${PWD_COMMAND}`; export r; \
20521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20522 TFLAGS="$(STAGE2_TFLAGS)"; \
20523 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20524 $(HOST_EXPORTS) \
20525 $(POSTSTAGE1_HOST_EXPORTS) \
20526 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20527 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20528 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20529 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20531 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20532 case $(srcdir) in \
20533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20534 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20536 esac; \
20537 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20538 libsrcdir="$$s/libdecnumber"; \
20539 $(SHELL) $${libsrcdir}/configure \
20540 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20541 --target=${target_alias} $${srcdiroption} \
20542 --with-build-libsubdir=$(HOST_SUBDIR) \
20543 $(STAGE2_CONFIGURE_FLAGS)
20544 @endif libdecnumber-bootstrap
20546 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20547 maybe-configure-stage3-libdecnumber:
20548 @if libdecnumber-bootstrap
20549 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20550 configure-stage3-libdecnumber:
20551 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20552 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20553 @r=`${PWD_COMMAND}`; export r; \
20554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20555 TFLAGS="$(STAGE3_TFLAGS)"; \
20556 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20557 $(HOST_EXPORTS) \
20558 $(POSTSTAGE1_HOST_EXPORTS) \
20559 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20560 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20561 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20562 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20564 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20565 case $(srcdir) in \
20566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20567 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20569 esac; \
20570 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20571 libsrcdir="$$s/libdecnumber"; \
20572 $(SHELL) $${libsrcdir}/configure \
20573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20574 --target=${target_alias} $${srcdiroption} \
20575 --with-build-libsubdir=$(HOST_SUBDIR) \
20576 $(STAGE3_CONFIGURE_FLAGS)
20577 @endif libdecnumber-bootstrap
20579 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20580 maybe-configure-stage4-libdecnumber:
20581 @if libdecnumber-bootstrap
20582 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20583 configure-stage4-libdecnumber:
20584 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20586 @r=`${PWD_COMMAND}`; export r; \
20587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20588 TFLAGS="$(STAGE4_TFLAGS)"; \
20589 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20590 $(HOST_EXPORTS) \
20591 $(POSTSTAGE1_HOST_EXPORTS) \
20592 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20593 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20594 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20595 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20597 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20598 case $(srcdir) in \
20599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20600 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20602 esac; \
20603 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20604 libsrcdir="$$s/libdecnumber"; \
20605 $(SHELL) $${libsrcdir}/configure \
20606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20607 --target=${target_alias} $${srcdiroption} \
20608 --with-build-libsubdir=$(HOST_SUBDIR) \
20609 $(STAGE4_CONFIGURE_FLAGS)
20610 @endif libdecnumber-bootstrap
20612 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20613 maybe-configure-stageprofile-libdecnumber:
20614 @if libdecnumber-bootstrap
20615 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20616 configure-stageprofile-libdecnumber:
20617 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20619 @r=`${PWD_COMMAND}`; export r; \
20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20622 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20623 $(HOST_EXPORTS) \
20624 $(POSTSTAGE1_HOST_EXPORTS) \
20625 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20626 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20627 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20628 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20630 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20631 case $(srcdir) in \
20632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20633 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20635 esac; \
20636 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20637 libsrcdir="$$s/libdecnumber"; \
20638 $(SHELL) $${libsrcdir}/configure \
20639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20640 --target=${target_alias} $${srcdiroption} \
20641 --with-build-libsubdir=$(HOST_SUBDIR) \
20642 $(STAGEprofile_CONFIGURE_FLAGS)
20643 @endif libdecnumber-bootstrap
20645 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20646 maybe-configure-stagefeedback-libdecnumber:
20647 @if libdecnumber-bootstrap
20648 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20649 configure-stagefeedback-libdecnumber:
20650 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20652 @r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20655 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20656 $(HOST_EXPORTS) \
20657 $(POSTSTAGE1_HOST_EXPORTS) \
20658 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20659 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20660 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20661 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20663 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20664 case $(srcdir) in \
20665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20666 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20668 esac; \
20669 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20670 libsrcdir="$$s/libdecnumber"; \
20671 $(SHELL) $${libsrcdir}/configure \
20672 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20673 --target=${target_alias} $${srcdiroption} \
20674 --with-build-libsubdir=$(HOST_SUBDIR) \
20675 $(STAGEfeedback_CONFIGURE_FLAGS)
20676 @endif libdecnumber-bootstrap
20682 .PHONY: all-libdecnumber maybe-all-libdecnumber
20683 maybe-all-libdecnumber:
20684 @if gcc-bootstrap
20685 all-libdecnumber: stage_current
20686 @endif gcc-bootstrap
20687 @if libdecnumber
20688 TARGET-libdecnumber=all
20689 maybe-all-libdecnumber: all-libdecnumber
20690 all-libdecnumber: configure-libdecnumber
20691 @r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(HOST_EXPORTS) \
20694 (cd $(HOST_SUBDIR)/libdecnumber && \
20695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20696 $(TARGET-libdecnumber))
20697 @endif libdecnumber
20701 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20702 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20703 maybe-all-stage1-libdecnumber:
20704 maybe-clean-stage1-libdecnumber:
20705 @if libdecnumber-bootstrap
20706 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20707 all-stage1: all-stage1-libdecnumber
20708 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20709 all-stage1-libdecnumber: configure-stage1-libdecnumber
20710 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20711 @r=`${PWD_COMMAND}`; export r; \
20712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20713 TFLAGS="$(STAGE1_TFLAGS)"; \
20714 $(HOST_EXPORTS) \
20715 cd $(HOST_SUBDIR)/libdecnumber && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20717 CFLAGS="$(STAGE1_CFLAGS)" \
20718 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20719 LIBCFLAGS="$(LIBCFLAGS)" \
20720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20723 $(EXTRA_HOST_FLAGS) \
20724 TFLAGS="$(STAGE1_TFLAGS)" \
20725 $(TARGET-stage1-libdecnumber)
20727 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20728 clean-stage1: clean-stage1-libdecnumber
20729 clean-stage1-libdecnumber:
20730 @if [ $(current_stage) = stage1 ]; then \
20731 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20732 else \
20733 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20734 $(MAKE) stage1-start; \
20735 fi; \
20736 cd $(HOST_SUBDIR)/libdecnumber && \
20737 $(MAKE) $(EXTRA_HOST_FLAGS) \
20738 clean
20739 @endif libdecnumber-bootstrap
20742 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20743 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20744 maybe-all-stage2-libdecnumber:
20745 maybe-clean-stage2-libdecnumber:
20746 @if libdecnumber-bootstrap
20747 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20748 all-stage2: all-stage2-libdecnumber
20749 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20750 all-stage2-libdecnumber: configure-stage2-libdecnumber
20751 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20752 @r=`${PWD_COMMAND}`; export r; \
20753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20754 TFLAGS="$(STAGE2_TFLAGS)"; \
20755 $(HOST_EXPORTS) \
20756 $(POSTSTAGE1_HOST_EXPORTS) \
20757 cd $(HOST_SUBDIR)/libdecnumber && \
20758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20759 CFLAGS="$(STAGE2_CFLAGS)" \
20760 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20761 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20765 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20766 TFLAGS="$(STAGE2_TFLAGS)" \
20767 $(TARGET-stage2-libdecnumber)
20769 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20770 clean-stage2: clean-stage2-libdecnumber
20771 clean-stage2-libdecnumber:
20772 @if [ $(current_stage) = stage2 ]; then \
20773 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20774 else \
20775 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20776 $(MAKE) stage2-start; \
20777 fi; \
20778 cd $(HOST_SUBDIR)/libdecnumber && \
20779 $(MAKE) $(EXTRA_HOST_FLAGS) \
20780 $(POSTSTAGE1_FLAGS_TO_PASS) \
20781 clean
20782 @endif libdecnumber-bootstrap
20785 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20786 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20787 maybe-all-stage3-libdecnumber:
20788 maybe-clean-stage3-libdecnumber:
20789 @if libdecnumber-bootstrap
20790 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20791 all-stage3: all-stage3-libdecnumber
20792 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20793 all-stage3-libdecnumber: configure-stage3-libdecnumber
20794 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20795 @r=`${PWD_COMMAND}`; export r; \
20796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20797 TFLAGS="$(STAGE3_TFLAGS)"; \
20798 $(HOST_EXPORTS) \
20799 $(POSTSTAGE1_HOST_EXPORTS) \
20800 cd $(HOST_SUBDIR)/libdecnumber && \
20801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20802 CFLAGS="$(STAGE3_CFLAGS)" \
20803 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20804 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20808 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20809 TFLAGS="$(STAGE3_TFLAGS)" \
20810 $(TARGET-stage3-libdecnumber)
20812 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20813 clean-stage3: clean-stage3-libdecnumber
20814 clean-stage3-libdecnumber:
20815 @if [ $(current_stage) = stage3 ]; then \
20816 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20817 else \
20818 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20819 $(MAKE) stage3-start; \
20820 fi; \
20821 cd $(HOST_SUBDIR)/libdecnumber && \
20822 $(MAKE) $(EXTRA_HOST_FLAGS) \
20823 $(POSTSTAGE1_FLAGS_TO_PASS) \
20824 clean
20825 @endif libdecnumber-bootstrap
20828 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20829 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20830 maybe-all-stage4-libdecnumber:
20831 maybe-clean-stage4-libdecnumber:
20832 @if libdecnumber-bootstrap
20833 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20834 all-stage4: all-stage4-libdecnumber
20835 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20836 all-stage4-libdecnumber: configure-stage4-libdecnumber
20837 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20838 @r=`${PWD_COMMAND}`; export r; \
20839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20840 TFLAGS="$(STAGE4_TFLAGS)"; \
20841 $(HOST_EXPORTS) \
20842 $(POSTSTAGE1_HOST_EXPORTS) \
20843 cd $(HOST_SUBDIR)/libdecnumber && \
20844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20845 CFLAGS="$(STAGE4_CFLAGS)" \
20846 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20847 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20852 TFLAGS="$(STAGE4_TFLAGS)" \
20853 $(TARGET-stage4-libdecnumber)
20855 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20856 clean-stage4: clean-stage4-libdecnumber
20857 clean-stage4-libdecnumber:
20858 @if [ $(current_stage) = stage4 ]; then \
20859 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20860 else \
20861 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20862 $(MAKE) stage4-start; \
20863 fi; \
20864 cd $(HOST_SUBDIR)/libdecnumber && \
20865 $(MAKE) $(EXTRA_HOST_FLAGS) \
20866 $(POSTSTAGE1_FLAGS_TO_PASS) \
20867 clean
20868 @endif libdecnumber-bootstrap
20871 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20872 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20873 maybe-all-stageprofile-libdecnumber:
20874 maybe-clean-stageprofile-libdecnumber:
20875 @if libdecnumber-bootstrap
20876 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20877 all-stageprofile: all-stageprofile-libdecnumber
20878 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20879 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20880 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20881 @r=`${PWD_COMMAND}`; export r; \
20882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20883 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20884 $(HOST_EXPORTS) \
20885 $(POSTSTAGE1_HOST_EXPORTS) \
20886 cd $(HOST_SUBDIR)/libdecnumber && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20888 CFLAGS="$(STAGEprofile_CFLAGS)" \
20889 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20890 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20894 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20895 TFLAGS="$(STAGEprofile_TFLAGS)" \
20896 $(TARGET-stageprofile-libdecnumber)
20898 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20899 clean-stageprofile: clean-stageprofile-libdecnumber
20900 clean-stageprofile-libdecnumber:
20901 @if [ $(current_stage) = stageprofile ]; then \
20902 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20903 else \
20904 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20905 $(MAKE) stageprofile-start; \
20906 fi; \
20907 cd $(HOST_SUBDIR)/libdecnumber && \
20908 $(MAKE) $(EXTRA_HOST_FLAGS) \
20909 $(POSTSTAGE1_FLAGS_TO_PASS) \
20910 clean
20911 @endif libdecnumber-bootstrap
20914 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20915 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20916 maybe-all-stagefeedback-libdecnumber:
20917 maybe-clean-stagefeedback-libdecnumber:
20918 @if libdecnumber-bootstrap
20919 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20920 all-stagefeedback: all-stagefeedback-libdecnumber
20921 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20922 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20923 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20924 @r=`${PWD_COMMAND}`; export r; \
20925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20926 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20927 $(HOST_EXPORTS) \
20928 $(POSTSTAGE1_HOST_EXPORTS) \
20929 cd $(HOST_SUBDIR)/libdecnumber && \
20930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20931 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20932 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20933 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20938 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20939 $(TARGET-stagefeedback-libdecnumber)
20941 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20942 clean-stagefeedback: clean-stagefeedback-libdecnumber
20943 clean-stagefeedback-libdecnumber:
20944 @if [ $(current_stage) = stagefeedback ]; then \
20945 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20946 else \
20947 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20948 $(MAKE) stagefeedback-start; \
20949 fi; \
20950 cd $(HOST_SUBDIR)/libdecnumber && \
20951 $(MAKE) $(EXTRA_HOST_FLAGS) \
20952 $(POSTSTAGE1_FLAGS_TO_PASS) \
20953 clean
20954 @endif libdecnumber-bootstrap
20960 .PHONY: check-libdecnumber maybe-check-libdecnumber
20961 maybe-check-libdecnumber:
20962 @if libdecnumber
20963 maybe-check-libdecnumber: check-libdecnumber
20965 check-libdecnumber:
20966 @: $(MAKE); $(unstage)
20967 @r=`${PWD_COMMAND}`; export r; \
20968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20969 $(HOST_EXPORTS) \
20970 (cd $(HOST_SUBDIR)/libdecnumber && \
20971 $(MAKE) $(FLAGS_TO_PASS) check)
20973 @endif libdecnumber
20975 .PHONY: install-libdecnumber maybe-install-libdecnumber
20976 maybe-install-libdecnumber:
20977 @if libdecnumber
20978 maybe-install-libdecnumber: install-libdecnumber
20980 install-libdecnumber: installdirs
20981 @: $(MAKE); $(unstage)
20982 @r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 $(HOST_EXPORTS) \
20985 (cd $(HOST_SUBDIR)/libdecnumber && \
20986 $(MAKE) $(FLAGS_TO_PASS) install)
20988 @endif libdecnumber
20990 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20991 maybe-install-strip-libdecnumber:
20992 @if libdecnumber
20993 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20995 install-strip-libdecnumber: installdirs
20996 @: $(MAKE); $(unstage)
20997 @r=`${PWD_COMMAND}`; export r; \
20998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20999 $(HOST_EXPORTS) \
21000 (cd $(HOST_SUBDIR)/libdecnumber && \
21001 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21003 @endif libdecnumber
21005 # Other targets (info, dvi, pdf, etc.)
21007 .PHONY: maybe-info-libdecnumber info-libdecnumber
21008 maybe-info-libdecnumber:
21009 @if libdecnumber
21010 maybe-info-libdecnumber: info-libdecnumber
21012 info-libdecnumber: \
21013 configure-libdecnumber
21014 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21015 r=`${PWD_COMMAND}`; export r; \
21016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21017 $(HOST_EXPORTS) \
21018 for flag in $(EXTRA_HOST_FLAGS) ; do \
21019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21020 done; \
21021 echo "Doing info in libdecnumber" ; \
21022 (cd $(HOST_SUBDIR)/libdecnumber && \
21023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21025 "RANLIB=$${RANLIB}" \
21026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21027 info) \
21028 || exit 1
21030 @endif libdecnumber
21032 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21033 maybe-dvi-libdecnumber:
21034 @if libdecnumber
21035 maybe-dvi-libdecnumber: dvi-libdecnumber
21037 dvi-libdecnumber: \
21038 configure-libdecnumber
21039 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21040 r=`${PWD_COMMAND}`; export r; \
21041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21042 $(HOST_EXPORTS) \
21043 for flag in $(EXTRA_HOST_FLAGS) ; do \
21044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21045 done; \
21046 echo "Doing dvi in libdecnumber" ; \
21047 (cd $(HOST_SUBDIR)/libdecnumber && \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050 "RANLIB=$${RANLIB}" \
21051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21052 dvi) \
21053 || exit 1
21055 @endif libdecnumber
21057 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21058 maybe-pdf-libdecnumber:
21059 @if libdecnumber
21060 maybe-pdf-libdecnumber: pdf-libdecnumber
21062 pdf-libdecnumber: \
21063 configure-libdecnumber
21064 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21067 $(HOST_EXPORTS) \
21068 for flag in $(EXTRA_HOST_FLAGS) ; do \
21069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070 done; \
21071 echo "Doing pdf in libdecnumber" ; \
21072 (cd $(HOST_SUBDIR)/libdecnumber && \
21073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075 "RANLIB=$${RANLIB}" \
21076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21077 pdf) \
21078 || exit 1
21080 @endif libdecnumber
21082 .PHONY: maybe-html-libdecnumber html-libdecnumber
21083 maybe-html-libdecnumber:
21084 @if libdecnumber
21085 maybe-html-libdecnumber: html-libdecnumber
21087 html-libdecnumber: \
21088 configure-libdecnumber
21089 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21090 r=`${PWD_COMMAND}`; export r; \
21091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21092 $(HOST_EXPORTS) \
21093 for flag in $(EXTRA_HOST_FLAGS) ; do \
21094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21095 done; \
21096 echo "Doing html in libdecnumber" ; \
21097 (cd $(HOST_SUBDIR)/libdecnumber && \
21098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21100 "RANLIB=$${RANLIB}" \
21101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21102 html) \
21103 || exit 1
21105 @endif libdecnumber
21107 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21108 maybe-TAGS-libdecnumber:
21109 @if libdecnumber
21110 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21112 TAGS-libdecnumber: \
21113 configure-libdecnumber
21114 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(HOST_EXPORTS) \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120 done; \
21121 echo "Doing TAGS in libdecnumber" ; \
21122 (cd $(HOST_SUBDIR)/libdecnumber && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21127 TAGS) \
21128 || exit 1
21130 @endif libdecnumber
21132 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21133 maybe-install-info-libdecnumber:
21134 @if libdecnumber
21135 maybe-install-info-libdecnumber: install-info-libdecnumber
21137 install-info-libdecnumber: \
21138 configure-libdecnumber \
21139 info-libdecnumber
21140 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143 $(HOST_EXPORTS) \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146 done; \
21147 echo "Doing install-info in libdecnumber" ; \
21148 (cd $(HOST_SUBDIR)/libdecnumber && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21153 install-info) \
21154 || exit 1
21156 @endif libdecnumber
21158 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21159 maybe-install-pdf-libdecnumber:
21160 @if libdecnumber
21161 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21163 install-pdf-libdecnumber: \
21164 configure-libdecnumber \
21165 pdf-libdecnumber
21166 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21167 r=`${PWD_COMMAND}`; export r; \
21168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 $(HOST_EXPORTS) \
21170 for flag in $(EXTRA_HOST_FLAGS) ; do \
21171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21172 done; \
21173 echo "Doing install-pdf in libdecnumber" ; \
21174 (cd $(HOST_SUBDIR)/libdecnumber && \
21175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21177 "RANLIB=$${RANLIB}" \
21178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21179 install-pdf) \
21180 || exit 1
21182 @endif libdecnumber
21184 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21185 maybe-install-html-libdecnumber:
21186 @if libdecnumber
21187 maybe-install-html-libdecnumber: install-html-libdecnumber
21189 install-html-libdecnumber: \
21190 configure-libdecnumber \
21191 html-libdecnumber
21192 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21193 r=`${PWD_COMMAND}`; export r; \
21194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21195 $(HOST_EXPORTS) \
21196 for flag in $(EXTRA_HOST_FLAGS) ; do \
21197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21198 done; \
21199 echo "Doing install-html in libdecnumber" ; \
21200 (cd $(HOST_SUBDIR)/libdecnumber && \
21201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21203 "RANLIB=$${RANLIB}" \
21204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21205 install-html) \
21206 || exit 1
21208 @endif libdecnumber
21210 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21211 maybe-installcheck-libdecnumber:
21212 @if libdecnumber
21213 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21215 installcheck-libdecnumber: \
21216 configure-libdecnumber
21217 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21218 r=`${PWD_COMMAND}`; export r; \
21219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21220 $(HOST_EXPORTS) \
21221 for flag in $(EXTRA_HOST_FLAGS) ; do \
21222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21223 done; \
21224 echo "Doing installcheck in libdecnumber" ; \
21225 (cd $(HOST_SUBDIR)/libdecnumber && \
21226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21228 "RANLIB=$${RANLIB}" \
21229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21230 installcheck) \
21231 || exit 1
21233 @endif libdecnumber
21235 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21236 maybe-mostlyclean-libdecnumber:
21237 @if libdecnumber
21238 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21240 mostlyclean-libdecnumber:
21241 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21242 r=`${PWD_COMMAND}`; export r; \
21243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21244 $(HOST_EXPORTS) \
21245 for flag in $(EXTRA_HOST_FLAGS) ; do \
21246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21247 done; \
21248 echo "Doing mostlyclean in libdecnumber" ; \
21249 (cd $(HOST_SUBDIR)/libdecnumber && \
21250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21252 "RANLIB=$${RANLIB}" \
21253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21254 mostlyclean) \
21255 || exit 1
21257 @endif libdecnumber
21259 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21260 maybe-clean-libdecnumber:
21261 @if libdecnumber
21262 maybe-clean-libdecnumber: clean-libdecnumber
21264 clean-libdecnumber:
21265 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21266 r=`${PWD_COMMAND}`; export r; \
21267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21268 $(HOST_EXPORTS) \
21269 for flag in $(EXTRA_HOST_FLAGS) ; do \
21270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21271 done; \
21272 echo "Doing clean in libdecnumber" ; \
21273 (cd $(HOST_SUBDIR)/libdecnumber && \
21274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21276 "RANLIB=$${RANLIB}" \
21277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21278 clean) \
21279 || exit 1
21281 @endif libdecnumber
21283 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21284 maybe-distclean-libdecnumber:
21285 @if libdecnumber
21286 maybe-distclean-libdecnumber: distclean-libdecnumber
21288 distclean-libdecnumber:
21289 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 for flag in $(EXTRA_HOST_FLAGS) ; do \
21294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21295 done; \
21296 echo "Doing distclean in libdecnumber" ; \
21297 (cd $(HOST_SUBDIR)/libdecnumber && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21300 "RANLIB=$${RANLIB}" \
21301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21302 distclean) \
21303 || exit 1
21305 @endif libdecnumber
21307 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21308 maybe-maintainer-clean-libdecnumber:
21309 @if libdecnumber
21310 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21312 maintainer-clean-libdecnumber:
21313 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21314 r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 $(HOST_EXPORTS) \
21317 for flag in $(EXTRA_HOST_FLAGS) ; do \
21318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21319 done; \
21320 echo "Doing maintainer-clean in libdecnumber" ; \
21321 (cd $(HOST_SUBDIR)/libdecnumber && \
21322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21324 "RANLIB=$${RANLIB}" \
21325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21326 maintainer-clean) \
21327 || exit 1
21329 @endif libdecnumber
21333 .PHONY: configure-libgui maybe-configure-libgui
21334 maybe-configure-libgui:
21335 @if gcc-bootstrap
21336 configure-libgui: stage_current
21337 @endif gcc-bootstrap
21338 @if libgui
21339 maybe-configure-libgui: configure-libgui
21340 configure-libgui:
21341 @: $(MAKE); $(unstage)
21342 @r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21346 $(HOST_EXPORTS) \
21347 echo Configuring in $(HOST_SUBDIR)/libgui; \
21348 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21349 case $(srcdir) in \
21350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21351 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21353 esac; \
21354 srcdiroption="--srcdir=$${topdir}/libgui"; \
21355 libsrcdir="$$s/libgui"; \
21356 $(SHELL) $${libsrcdir}/configure \
21357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21358 --target=${target_alias} $${srcdiroption} \
21359 || exit 1
21360 @endif libgui
21366 .PHONY: all-libgui maybe-all-libgui
21367 maybe-all-libgui:
21368 @if gcc-bootstrap
21369 all-libgui: stage_current
21370 @endif gcc-bootstrap
21371 @if libgui
21372 TARGET-libgui=all
21373 maybe-all-libgui: all-libgui
21374 all-libgui: configure-libgui
21375 @: $(MAKE); $(unstage)
21376 @r=`${PWD_COMMAND}`; export r; \
21377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21378 $(HOST_EXPORTS) \
21379 (cd $(HOST_SUBDIR)/libgui && \
21380 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21381 $(TARGET-libgui))
21382 @endif libgui
21387 .PHONY: check-libgui maybe-check-libgui
21388 maybe-check-libgui:
21389 @if libgui
21390 maybe-check-libgui: check-libgui
21392 check-libgui:
21393 @: $(MAKE); $(unstage)
21394 @r=`${PWD_COMMAND}`; export r; \
21395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21396 $(HOST_EXPORTS) \
21397 (cd $(HOST_SUBDIR)/libgui && \
21398 $(MAKE) $(FLAGS_TO_PASS) check)
21400 @endif libgui
21402 .PHONY: install-libgui maybe-install-libgui
21403 maybe-install-libgui:
21404 @if libgui
21405 maybe-install-libgui: install-libgui
21407 install-libgui: installdirs
21408 @: $(MAKE); $(unstage)
21409 @r=`${PWD_COMMAND}`; export r; \
21410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21411 $(HOST_EXPORTS) \
21412 (cd $(HOST_SUBDIR)/libgui && \
21413 $(MAKE) $(FLAGS_TO_PASS) install)
21415 @endif libgui
21417 .PHONY: install-strip-libgui maybe-install-strip-libgui
21418 maybe-install-strip-libgui:
21419 @if libgui
21420 maybe-install-strip-libgui: install-strip-libgui
21422 install-strip-libgui: installdirs
21423 @: $(MAKE); $(unstage)
21424 @r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426 $(HOST_EXPORTS) \
21427 (cd $(HOST_SUBDIR)/libgui && \
21428 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21430 @endif libgui
21432 # Other targets (info, dvi, pdf, etc.)
21434 .PHONY: maybe-info-libgui info-libgui
21435 maybe-info-libgui:
21436 @if libgui
21437 maybe-info-libgui: info-libgui
21439 info-libgui: \
21440 configure-libgui
21441 @: $(MAKE); $(unstage)
21442 @[ -f ./libgui/Makefile ] || exit 0; \
21443 r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 $(HOST_EXPORTS) \
21446 for flag in $(EXTRA_HOST_FLAGS) ; do \
21447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21448 done; \
21449 echo "Doing info in libgui" ; \
21450 (cd $(HOST_SUBDIR)/libgui && \
21451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21453 "RANLIB=$${RANLIB}" \
21454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21455 info) \
21456 || exit 1
21458 @endif libgui
21460 .PHONY: maybe-dvi-libgui dvi-libgui
21461 maybe-dvi-libgui:
21462 @if libgui
21463 maybe-dvi-libgui: dvi-libgui
21465 dvi-libgui: \
21466 configure-libgui
21467 @: $(MAKE); $(unstage)
21468 @[ -f ./libgui/Makefile ] || exit 0; \
21469 r=`${PWD_COMMAND}`; export r; \
21470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21471 $(HOST_EXPORTS) \
21472 for flag in $(EXTRA_HOST_FLAGS) ; do \
21473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21474 done; \
21475 echo "Doing dvi in libgui" ; \
21476 (cd $(HOST_SUBDIR)/libgui && \
21477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21479 "RANLIB=$${RANLIB}" \
21480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21481 dvi) \
21482 || exit 1
21484 @endif libgui
21486 .PHONY: maybe-pdf-libgui pdf-libgui
21487 maybe-pdf-libgui:
21488 @if libgui
21489 maybe-pdf-libgui: pdf-libgui
21491 pdf-libgui: \
21492 configure-libgui
21493 @: $(MAKE); $(unstage)
21494 @[ -f ./libgui/Makefile ] || exit 0; \
21495 r=`${PWD_COMMAND}`; export r; \
21496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21497 $(HOST_EXPORTS) \
21498 for flag in $(EXTRA_HOST_FLAGS) ; do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21500 done; \
21501 echo "Doing pdf in libgui" ; \
21502 (cd $(HOST_SUBDIR)/libgui && \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21507 pdf) \
21508 || exit 1
21510 @endif libgui
21512 .PHONY: maybe-html-libgui html-libgui
21513 maybe-html-libgui:
21514 @if libgui
21515 maybe-html-libgui: html-libgui
21517 html-libgui: \
21518 configure-libgui
21519 @: $(MAKE); $(unstage)
21520 @[ -f ./libgui/Makefile ] || exit 0; \
21521 r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 $(HOST_EXPORTS) \
21524 for flag in $(EXTRA_HOST_FLAGS) ; do \
21525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21526 done; \
21527 echo "Doing html in libgui" ; \
21528 (cd $(HOST_SUBDIR)/libgui && \
21529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21531 "RANLIB=$${RANLIB}" \
21532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21533 html) \
21534 || exit 1
21536 @endif libgui
21538 .PHONY: maybe-TAGS-libgui TAGS-libgui
21539 maybe-TAGS-libgui:
21540 @if libgui
21541 maybe-TAGS-libgui: TAGS-libgui
21543 TAGS-libgui: \
21544 configure-libgui
21545 @: $(MAKE); $(unstage)
21546 @[ -f ./libgui/Makefile ] || exit 0; \
21547 r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 $(HOST_EXPORTS) \
21550 for flag in $(EXTRA_HOST_FLAGS) ; do \
21551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21552 done; \
21553 echo "Doing TAGS in libgui" ; \
21554 (cd $(HOST_SUBDIR)/libgui && \
21555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21557 "RANLIB=$${RANLIB}" \
21558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21559 TAGS) \
21560 || exit 1
21562 @endif libgui
21564 .PHONY: maybe-install-info-libgui install-info-libgui
21565 maybe-install-info-libgui:
21566 @if libgui
21567 maybe-install-info-libgui: install-info-libgui
21569 install-info-libgui: \
21570 configure-libgui \
21571 info-libgui
21572 @: $(MAKE); $(unstage)
21573 @[ -f ./libgui/Makefile ] || exit 0; \
21574 r=`${PWD_COMMAND}`; export r; \
21575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21576 $(HOST_EXPORTS) \
21577 for flag in $(EXTRA_HOST_FLAGS) ; do \
21578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21579 done; \
21580 echo "Doing install-info in libgui" ; \
21581 (cd $(HOST_SUBDIR)/libgui && \
21582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21584 "RANLIB=$${RANLIB}" \
21585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21586 install-info) \
21587 || exit 1
21589 @endif libgui
21591 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21592 maybe-install-pdf-libgui:
21593 @if libgui
21594 maybe-install-pdf-libgui: install-pdf-libgui
21596 install-pdf-libgui: \
21597 configure-libgui \
21598 pdf-libgui
21599 @: $(MAKE); $(unstage)
21600 @[ -f ./libgui/Makefile ] || exit 0; \
21601 r=`${PWD_COMMAND}`; export r; \
21602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21603 $(HOST_EXPORTS) \
21604 for flag in $(EXTRA_HOST_FLAGS) ; do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21606 done; \
21607 echo "Doing install-pdf in libgui" ; \
21608 (cd $(HOST_SUBDIR)/libgui && \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21613 install-pdf) \
21614 || exit 1
21616 @endif libgui
21618 .PHONY: maybe-install-html-libgui install-html-libgui
21619 maybe-install-html-libgui:
21620 @if libgui
21621 maybe-install-html-libgui: install-html-libgui
21623 install-html-libgui: \
21624 configure-libgui \
21625 html-libgui
21626 @: $(MAKE); $(unstage)
21627 @[ -f ./libgui/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 for flag in $(EXTRA_HOST_FLAGS) ; do \
21632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 done; \
21634 echo "Doing install-html in libgui" ; \
21635 (cd $(HOST_SUBDIR)/libgui && \
21636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21638 "RANLIB=$${RANLIB}" \
21639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21640 install-html) \
21641 || exit 1
21643 @endif libgui
21645 .PHONY: maybe-installcheck-libgui installcheck-libgui
21646 maybe-installcheck-libgui:
21647 @if libgui
21648 maybe-installcheck-libgui: installcheck-libgui
21650 installcheck-libgui: \
21651 configure-libgui
21652 @: $(MAKE); $(unstage)
21653 @[ -f ./libgui/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS) ; do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing installcheck in libgui" ; \
21661 (cd $(HOST_SUBDIR)/libgui && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21666 installcheck) \
21667 || exit 1
21669 @endif libgui
21671 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21672 maybe-mostlyclean-libgui:
21673 @if libgui
21674 maybe-mostlyclean-libgui: mostlyclean-libgui
21676 mostlyclean-libgui:
21677 @: $(MAKE); $(unstage)
21678 @[ -f ./libgui/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 for flag in $(EXTRA_HOST_FLAGS) ; do \
21683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21684 done; \
21685 echo "Doing mostlyclean in libgui" ; \
21686 (cd $(HOST_SUBDIR)/libgui && \
21687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21689 "RANLIB=$${RANLIB}" \
21690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21691 mostlyclean) \
21692 || exit 1
21694 @endif libgui
21696 .PHONY: maybe-clean-libgui clean-libgui
21697 maybe-clean-libgui:
21698 @if libgui
21699 maybe-clean-libgui: clean-libgui
21701 clean-libgui:
21702 @: $(MAKE); $(unstage)
21703 @[ -f ./libgui/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing clean in libgui" ; \
21711 (cd $(HOST_SUBDIR)/libgui && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21716 clean) \
21717 || exit 1
21719 @endif libgui
21721 .PHONY: maybe-distclean-libgui distclean-libgui
21722 maybe-distclean-libgui:
21723 @if libgui
21724 maybe-distclean-libgui: distclean-libgui
21726 distclean-libgui:
21727 @: $(MAKE); $(unstage)
21728 @[ -f ./libgui/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(HOST_EXPORTS) \
21732 for flag in $(EXTRA_HOST_FLAGS) ; do \
21733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21734 done; \
21735 echo "Doing distclean in libgui" ; \
21736 (cd $(HOST_SUBDIR)/libgui && \
21737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21739 "RANLIB=$${RANLIB}" \
21740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21741 distclean) \
21742 || exit 1
21744 @endif libgui
21746 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21747 maybe-maintainer-clean-libgui:
21748 @if libgui
21749 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21751 maintainer-clean-libgui:
21752 @: $(MAKE); $(unstage)
21753 @[ -f ./libgui/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(HOST_EXPORTS) \
21757 for flag in $(EXTRA_HOST_FLAGS) ; do \
21758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21759 done; \
21760 echo "Doing maintainer-clean in libgui" ; \
21761 (cd $(HOST_SUBDIR)/libgui && \
21762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21764 "RANLIB=$${RANLIB}" \
21765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21766 maintainer-clean) \
21767 || exit 1
21769 @endif libgui
21773 .PHONY: configure-libiberty maybe-configure-libiberty
21774 maybe-configure-libiberty:
21775 @if gcc-bootstrap
21776 configure-libiberty: stage_current
21777 @endif gcc-bootstrap
21778 @if libiberty
21779 maybe-configure-libiberty: configure-libiberty
21780 configure-libiberty:
21781 @r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21785 $(HOST_EXPORTS) \
21786 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21787 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21788 case $(srcdir) in \
21789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21790 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21792 esac; \
21793 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21794 libsrcdir="$$s/libiberty"; \
21795 $(SHELL) $${libsrcdir}/configure \
21796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21797 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21798 || exit 1
21799 @endif libiberty
21803 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21804 maybe-configure-stage1-libiberty:
21805 @if libiberty-bootstrap
21806 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21807 configure-stage1-libiberty:
21808 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21810 @r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 TFLAGS="$(STAGE1_TFLAGS)"; \
21813 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21814 $(HOST_EXPORTS) \
21815 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21816 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21817 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21818 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21820 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21821 case $(srcdir) in \
21822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21823 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21825 esac; \
21826 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21827 libsrcdir="$$s/libiberty"; \
21828 $(SHELL) $${libsrcdir}/configure \
21829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21830 --target=${target_alias} $${srcdiroption} \
21831 $(STAGE1_CONFIGURE_FLAGS) \
21832 @extra_host_libiberty_configure_flags@
21833 @endif libiberty-bootstrap
21835 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21836 maybe-configure-stage2-libiberty:
21837 @if libiberty-bootstrap
21838 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21839 configure-stage2-libiberty:
21840 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21842 @r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 TFLAGS="$(STAGE2_TFLAGS)"; \
21845 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21846 $(HOST_EXPORTS) \
21847 $(POSTSTAGE1_HOST_EXPORTS) \
21848 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21849 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21850 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21851 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21853 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21854 case $(srcdir) in \
21855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21856 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21858 esac; \
21859 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21860 libsrcdir="$$s/libiberty"; \
21861 $(SHELL) $${libsrcdir}/configure \
21862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21863 --target=${target_alias} $${srcdiroption} \
21864 --with-build-libsubdir=$(HOST_SUBDIR) \
21865 $(STAGE2_CONFIGURE_FLAGS) \
21866 @extra_host_libiberty_configure_flags@
21867 @endif libiberty-bootstrap
21869 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21870 maybe-configure-stage3-libiberty:
21871 @if libiberty-bootstrap
21872 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21873 configure-stage3-libiberty:
21874 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21875 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21876 @r=`${PWD_COMMAND}`; export r; \
21877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21878 TFLAGS="$(STAGE3_TFLAGS)"; \
21879 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21880 $(HOST_EXPORTS) \
21881 $(POSTSTAGE1_HOST_EXPORTS) \
21882 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21883 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21884 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21885 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21887 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21888 case $(srcdir) in \
21889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21890 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21892 esac; \
21893 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21894 libsrcdir="$$s/libiberty"; \
21895 $(SHELL) $${libsrcdir}/configure \
21896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21897 --target=${target_alias} $${srcdiroption} \
21898 --with-build-libsubdir=$(HOST_SUBDIR) \
21899 $(STAGE3_CONFIGURE_FLAGS) \
21900 @extra_host_libiberty_configure_flags@
21901 @endif libiberty-bootstrap
21903 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21904 maybe-configure-stage4-libiberty:
21905 @if libiberty-bootstrap
21906 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21907 configure-stage4-libiberty:
21908 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21910 @r=`${PWD_COMMAND}`; export r; \
21911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21912 TFLAGS="$(STAGE4_TFLAGS)"; \
21913 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21914 $(HOST_EXPORTS) \
21915 $(POSTSTAGE1_HOST_EXPORTS) \
21916 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21917 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21918 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21919 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21921 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21922 case $(srcdir) in \
21923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21924 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21926 esac; \
21927 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21928 libsrcdir="$$s/libiberty"; \
21929 $(SHELL) $${libsrcdir}/configure \
21930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21931 --target=${target_alias} $${srcdiroption} \
21932 --with-build-libsubdir=$(HOST_SUBDIR) \
21933 $(STAGE4_CONFIGURE_FLAGS) \
21934 @extra_host_libiberty_configure_flags@
21935 @endif libiberty-bootstrap
21937 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21938 maybe-configure-stageprofile-libiberty:
21939 @if libiberty-bootstrap
21940 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21941 configure-stageprofile-libiberty:
21942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21944 @r=`${PWD_COMMAND}`; export r; \
21945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21946 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21947 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21948 $(HOST_EXPORTS) \
21949 $(POSTSTAGE1_HOST_EXPORTS) \
21950 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21951 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21952 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21953 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21955 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21956 case $(srcdir) in \
21957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21958 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21960 esac; \
21961 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21962 libsrcdir="$$s/libiberty"; \
21963 $(SHELL) $${libsrcdir}/configure \
21964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21965 --target=${target_alias} $${srcdiroption} \
21966 --with-build-libsubdir=$(HOST_SUBDIR) \
21967 $(STAGEprofile_CONFIGURE_FLAGS) \
21968 @extra_host_libiberty_configure_flags@
21969 @endif libiberty-bootstrap
21971 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21972 maybe-configure-stagefeedback-libiberty:
21973 @if libiberty-bootstrap
21974 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21975 configure-stagefeedback-libiberty:
21976 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21978 @r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21981 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21982 $(HOST_EXPORTS) \
21983 $(POSTSTAGE1_HOST_EXPORTS) \
21984 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21985 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21986 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21987 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21989 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21990 case $(srcdir) in \
21991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21992 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21994 esac; \
21995 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21996 libsrcdir="$$s/libiberty"; \
21997 $(SHELL) $${libsrcdir}/configure \
21998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21999 --target=${target_alias} $${srcdiroption} \
22000 --with-build-libsubdir=$(HOST_SUBDIR) \
22001 $(STAGEfeedback_CONFIGURE_FLAGS) \
22002 @extra_host_libiberty_configure_flags@
22003 @endif libiberty-bootstrap
22009 .PHONY: all-libiberty maybe-all-libiberty
22010 maybe-all-libiberty:
22011 @if gcc-bootstrap
22012 all-libiberty: stage_current
22013 @endif gcc-bootstrap
22014 @if libiberty
22015 TARGET-libiberty=all
22016 maybe-all-libiberty: all-libiberty
22017 all-libiberty: configure-libiberty
22018 @r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 $(HOST_EXPORTS) \
22021 (cd $(HOST_SUBDIR)/libiberty && \
22022 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22023 $(TARGET-libiberty))
22024 @endif libiberty
22028 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22029 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22030 maybe-all-stage1-libiberty:
22031 maybe-clean-stage1-libiberty:
22032 @if libiberty-bootstrap
22033 maybe-all-stage1-libiberty: all-stage1-libiberty
22034 all-stage1: all-stage1-libiberty
22035 TARGET-stage1-libiberty = $(TARGET-libiberty)
22036 all-stage1-libiberty: configure-stage1-libiberty
22037 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22038 @r=`${PWD_COMMAND}`; export r; \
22039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22040 TFLAGS="$(STAGE1_TFLAGS)"; \
22041 $(HOST_EXPORTS) \
22042 cd $(HOST_SUBDIR)/libiberty && \
22043 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22044 CFLAGS="$(STAGE1_CFLAGS)" \
22045 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22046 LIBCFLAGS="$(LIBCFLAGS)" \
22047 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22048 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22049 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22050 $(EXTRA_HOST_FLAGS) \
22051 TFLAGS="$(STAGE1_TFLAGS)" \
22052 $(TARGET-stage1-libiberty)
22054 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22055 clean-stage1: clean-stage1-libiberty
22056 clean-stage1-libiberty:
22057 @if [ $(current_stage) = stage1 ]; then \
22058 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22059 else \
22060 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22061 $(MAKE) stage1-start; \
22062 fi; \
22063 cd $(HOST_SUBDIR)/libiberty && \
22064 $(MAKE) $(EXTRA_HOST_FLAGS) \
22065 clean
22066 @endif libiberty-bootstrap
22069 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22070 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22071 maybe-all-stage2-libiberty:
22072 maybe-clean-stage2-libiberty:
22073 @if libiberty-bootstrap
22074 maybe-all-stage2-libiberty: all-stage2-libiberty
22075 all-stage2: all-stage2-libiberty
22076 TARGET-stage2-libiberty = $(TARGET-libiberty)
22077 all-stage2-libiberty: configure-stage2-libiberty
22078 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22079 @r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 TFLAGS="$(STAGE2_TFLAGS)"; \
22082 $(HOST_EXPORTS) \
22083 $(POSTSTAGE1_HOST_EXPORTS) \
22084 cd $(HOST_SUBDIR)/libiberty && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22086 CFLAGS="$(STAGE2_CFLAGS)" \
22087 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22088 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22089 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22090 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22091 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22092 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22093 TFLAGS="$(STAGE2_TFLAGS)" \
22094 $(TARGET-stage2-libiberty)
22096 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22097 clean-stage2: clean-stage2-libiberty
22098 clean-stage2-libiberty:
22099 @if [ $(current_stage) = stage2 ]; then \
22100 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22101 else \
22102 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22103 $(MAKE) stage2-start; \
22104 fi; \
22105 cd $(HOST_SUBDIR)/libiberty && \
22106 $(MAKE) $(EXTRA_HOST_FLAGS) \
22107 $(POSTSTAGE1_FLAGS_TO_PASS) \
22108 clean
22109 @endif libiberty-bootstrap
22112 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22113 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22114 maybe-all-stage3-libiberty:
22115 maybe-clean-stage3-libiberty:
22116 @if libiberty-bootstrap
22117 maybe-all-stage3-libiberty: all-stage3-libiberty
22118 all-stage3: all-stage3-libiberty
22119 TARGET-stage3-libiberty = $(TARGET-libiberty)
22120 all-stage3-libiberty: configure-stage3-libiberty
22121 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22122 @r=`${PWD_COMMAND}`; export r; \
22123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22124 TFLAGS="$(STAGE3_TFLAGS)"; \
22125 $(HOST_EXPORTS) \
22126 $(POSTSTAGE1_HOST_EXPORTS) \
22127 cd $(HOST_SUBDIR)/libiberty && \
22128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22129 CFLAGS="$(STAGE3_CFLAGS)" \
22130 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22131 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22136 TFLAGS="$(STAGE3_TFLAGS)" \
22137 $(TARGET-stage3-libiberty)
22139 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22140 clean-stage3: clean-stage3-libiberty
22141 clean-stage3-libiberty:
22142 @if [ $(current_stage) = stage3 ]; then \
22143 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22144 else \
22145 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22146 $(MAKE) stage3-start; \
22147 fi; \
22148 cd $(HOST_SUBDIR)/libiberty && \
22149 $(MAKE) $(EXTRA_HOST_FLAGS) \
22150 $(POSTSTAGE1_FLAGS_TO_PASS) \
22151 clean
22152 @endif libiberty-bootstrap
22155 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22156 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22157 maybe-all-stage4-libiberty:
22158 maybe-clean-stage4-libiberty:
22159 @if libiberty-bootstrap
22160 maybe-all-stage4-libiberty: all-stage4-libiberty
22161 all-stage4: all-stage4-libiberty
22162 TARGET-stage4-libiberty = $(TARGET-libiberty)
22163 all-stage4-libiberty: configure-stage4-libiberty
22164 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22165 @r=`${PWD_COMMAND}`; export r; \
22166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 TFLAGS="$(STAGE4_TFLAGS)"; \
22168 $(HOST_EXPORTS) \
22169 $(POSTSTAGE1_HOST_EXPORTS) \
22170 cd $(HOST_SUBDIR)/libiberty && \
22171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22172 CFLAGS="$(STAGE4_CFLAGS)" \
22173 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22174 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22179 TFLAGS="$(STAGE4_TFLAGS)" \
22180 $(TARGET-stage4-libiberty)
22182 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22183 clean-stage4: clean-stage4-libiberty
22184 clean-stage4-libiberty:
22185 @if [ $(current_stage) = stage4 ]; then \
22186 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22187 else \
22188 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22189 $(MAKE) stage4-start; \
22190 fi; \
22191 cd $(HOST_SUBDIR)/libiberty && \
22192 $(MAKE) $(EXTRA_HOST_FLAGS) \
22193 $(POSTSTAGE1_FLAGS_TO_PASS) \
22194 clean
22195 @endif libiberty-bootstrap
22198 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22199 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22200 maybe-all-stageprofile-libiberty:
22201 maybe-clean-stageprofile-libiberty:
22202 @if libiberty-bootstrap
22203 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22204 all-stageprofile: all-stageprofile-libiberty
22205 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22206 all-stageprofile-libiberty: configure-stageprofile-libiberty
22207 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22208 @r=`${PWD_COMMAND}`; export r; \
22209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22211 $(HOST_EXPORTS) \
22212 $(POSTSTAGE1_HOST_EXPORTS) \
22213 cd $(HOST_SUBDIR)/libiberty && \
22214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22215 CFLAGS="$(STAGEprofile_CFLAGS)" \
22216 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22217 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22222 TFLAGS="$(STAGEprofile_TFLAGS)" \
22223 $(TARGET-stageprofile-libiberty)
22225 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22226 clean-stageprofile: clean-stageprofile-libiberty
22227 clean-stageprofile-libiberty:
22228 @if [ $(current_stage) = stageprofile ]; then \
22229 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22230 else \
22231 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22232 $(MAKE) stageprofile-start; \
22233 fi; \
22234 cd $(HOST_SUBDIR)/libiberty && \
22235 $(MAKE) $(EXTRA_HOST_FLAGS) \
22236 $(POSTSTAGE1_FLAGS_TO_PASS) \
22237 clean
22238 @endif libiberty-bootstrap
22241 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22242 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22243 maybe-all-stagefeedback-libiberty:
22244 maybe-clean-stagefeedback-libiberty:
22245 @if libiberty-bootstrap
22246 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22247 all-stagefeedback: all-stagefeedback-libiberty
22248 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22249 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22250 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22251 @r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22254 $(HOST_EXPORTS) \
22255 $(POSTSTAGE1_HOST_EXPORTS) \
22256 cd $(HOST_SUBDIR)/libiberty && \
22257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22258 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22259 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22260 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22265 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22266 $(TARGET-stagefeedback-libiberty)
22268 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22269 clean-stagefeedback: clean-stagefeedback-libiberty
22270 clean-stagefeedback-libiberty:
22271 @if [ $(current_stage) = stagefeedback ]; then \
22272 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22273 else \
22274 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22275 $(MAKE) stagefeedback-start; \
22276 fi; \
22277 cd $(HOST_SUBDIR)/libiberty && \
22278 $(MAKE) $(EXTRA_HOST_FLAGS) \
22279 $(POSTSTAGE1_FLAGS_TO_PASS) \
22280 clean
22281 @endif libiberty-bootstrap
22287 .PHONY: check-libiberty maybe-check-libiberty
22288 maybe-check-libiberty:
22289 @if libiberty
22290 maybe-check-libiberty: check-libiberty
22292 check-libiberty:
22293 @: $(MAKE); $(unstage)
22294 @r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 $(HOST_EXPORTS) \
22297 (cd $(HOST_SUBDIR)/libiberty && \
22298 $(MAKE) $(FLAGS_TO_PASS) check)
22300 @endif libiberty
22302 .PHONY: install-libiberty maybe-install-libiberty
22303 maybe-install-libiberty:
22304 @if libiberty
22305 maybe-install-libiberty: install-libiberty
22307 install-libiberty: installdirs
22308 @: $(MAKE); $(unstage)
22309 @r=`${PWD_COMMAND}`; export r; \
22310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22311 $(HOST_EXPORTS) \
22312 (cd $(HOST_SUBDIR)/libiberty && \
22313 $(MAKE) $(FLAGS_TO_PASS) install)
22315 @endif libiberty
22317 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22318 maybe-install-strip-libiberty:
22319 @if libiberty
22320 maybe-install-strip-libiberty: install-strip-libiberty
22322 install-strip-libiberty: installdirs
22323 @: $(MAKE); $(unstage)
22324 @r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22326 $(HOST_EXPORTS) \
22327 (cd $(HOST_SUBDIR)/libiberty && \
22328 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22330 @endif libiberty
22332 # Other targets (info, dvi, pdf, etc.)
22334 .PHONY: maybe-info-libiberty info-libiberty
22335 maybe-info-libiberty:
22336 @if libiberty
22337 maybe-info-libiberty: info-libiberty
22339 info-libiberty: \
22340 configure-libiberty
22341 @[ -f ./libiberty/Makefile ] || exit 0; \
22342 r=`${PWD_COMMAND}`; export r; \
22343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22344 $(HOST_EXPORTS) \
22345 for flag in $(EXTRA_HOST_FLAGS) ; do \
22346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22347 done; \
22348 echo "Doing info in libiberty" ; \
22349 (cd $(HOST_SUBDIR)/libiberty && \
22350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22352 "RANLIB=$${RANLIB}" \
22353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22354 info) \
22355 || exit 1
22357 @endif libiberty
22359 .PHONY: maybe-dvi-libiberty dvi-libiberty
22360 maybe-dvi-libiberty:
22361 @if libiberty
22362 maybe-dvi-libiberty: dvi-libiberty
22364 dvi-libiberty: \
22365 configure-libiberty
22366 @[ -f ./libiberty/Makefile ] || exit 0; \
22367 r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(HOST_EXPORTS) \
22370 for flag in $(EXTRA_HOST_FLAGS) ; do \
22371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22372 done; \
22373 echo "Doing dvi in libiberty" ; \
22374 (cd $(HOST_SUBDIR)/libiberty && \
22375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22377 "RANLIB=$${RANLIB}" \
22378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22379 dvi) \
22380 || exit 1
22382 @endif libiberty
22384 .PHONY: maybe-pdf-libiberty pdf-libiberty
22385 maybe-pdf-libiberty:
22386 @if libiberty
22387 maybe-pdf-libiberty: pdf-libiberty
22389 pdf-libiberty: \
22390 configure-libiberty
22391 @[ -f ./libiberty/Makefile ] || exit 0; \
22392 r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(HOST_EXPORTS) \
22395 for flag in $(EXTRA_HOST_FLAGS) ; do \
22396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22397 done; \
22398 echo "Doing pdf in libiberty" ; \
22399 (cd $(HOST_SUBDIR)/libiberty && \
22400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22402 "RANLIB=$${RANLIB}" \
22403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22404 pdf) \
22405 || exit 1
22407 @endif libiberty
22409 .PHONY: maybe-html-libiberty html-libiberty
22410 maybe-html-libiberty:
22411 @if libiberty
22412 maybe-html-libiberty: html-libiberty
22414 html-libiberty: \
22415 configure-libiberty
22416 @[ -f ./libiberty/Makefile ] || exit 0; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419 $(HOST_EXPORTS) \
22420 for flag in $(EXTRA_HOST_FLAGS) ; do \
22421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22422 done; \
22423 echo "Doing html in libiberty" ; \
22424 (cd $(HOST_SUBDIR)/libiberty && \
22425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22427 "RANLIB=$${RANLIB}" \
22428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22429 html) \
22430 || exit 1
22432 @endif libiberty
22434 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22435 maybe-TAGS-libiberty:
22436 @if libiberty
22437 maybe-TAGS-libiberty: TAGS-libiberty
22439 TAGS-libiberty: \
22440 configure-libiberty
22441 @[ -f ./libiberty/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 $(HOST_EXPORTS) \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 done; \
22448 echo "Doing TAGS in libiberty" ; \
22449 (cd $(HOST_SUBDIR)/libiberty && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22454 TAGS) \
22455 || exit 1
22457 @endif libiberty
22459 .PHONY: maybe-install-info-libiberty install-info-libiberty
22460 maybe-install-info-libiberty:
22461 @if libiberty
22462 maybe-install-info-libiberty: install-info-libiberty
22464 install-info-libiberty: \
22465 configure-libiberty \
22466 info-libiberty
22467 @[ -f ./libiberty/Makefile ] || exit 0; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 for flag in $(EXTRA_HOST_FLAGS) ; do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 echo "Doing install-info in libiberty" ; \
22475 (cd $(HOST_SUBDIR)/libiberty && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22480 install-info) \
22481 || exit 1
22483 @endif libiberty
22485 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22486 maybe-install-pdf-libiberty:
22487 @if libiberty
22488 maybe-install-pdf-libiberty: install-pdf-libiberty
22490 install-pdf-libiberty: \
22491 configure-libiberty \
22492 pdf-libiberty
22493 @[ -f ./libiberty/Makefile ] || exit 0; \
22494 r=`${PWD_COMMAND}`; export r; \
22495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22496 $(HOST_EXPORTS) \
22497 for flag in $(EXTRA_HOST_FLAGS) ; do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499 done; \
22500 echo "Doing install-pdf in libiberty" ; \
22501 (cd $(HOST_SUBDIR)/libiberty && \
22502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22504 "RANLIB=$${RANLIB}" \
22505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22506 install-pdf) \
22507 || exit 1
22509 @endif libiberty
22511 .PHONY: maybe-install-html-libiberty install-html-libiberty
22512 maybe-install-html-libiberty:
22513 @if libiberty
22514 maybe-install-html-libiberty: install-html-libiberty
22516 install-html-libiberty: \
22517 configure-libiberty \
22518 html-libiberty
22519 @[ -f ./libiberty/Makefile ] || exit 0; \
22520 r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 for flag in $(EXTRA_HOST_FLAGS) ; do \
22524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22525 done; \
22526 echo "Doing install-html in libiberty" ; \
22527 (cd $(HOST_SUBDIR)/libiberty && \
22528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22530 "RANLIB=$${RANLIB}" \
22531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22532 install-html) \
22533 || exit 1
22535 @endif libiberty
22537 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22538 maybe-installcheck-libiberty:
22539 @if libiberty
22540 maybe-installcheck-libiberty: installcheck-libiberty
22542 installcheck-libiberty: \
22543 configure-libiberty
22544 @[ -f ./libiberty/Makefile ] || exit 0; \
22545 r=`${PWD_COMMAND}`; export r; \
22546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22547 $(HOST_EXPORTS) \
22548 for flag in $(EXTRA_HOST_FLAGS) ; do \
22549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22550 done; \
22551 echo "Doing installcheck in libiberty" ; \
22552 (cd $(HOST_SUBDIR)/libiberty && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22557 installcheck) \
22558 || exit 1
22560 @endif libiberty
22562 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22563 maybe-mostlyclean-libiberty:
22564 @if libiberty
22565 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22567 mostlyclean-libiberty:
22568 @[ -f ./libiberty/Makefile ] || exit 0; \
22569 r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 $(HOST_EXPORTS) \
22572 for flag in $(EXTRA_HOST_FLAGS) ; do \
22573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22574 done; \
22575 echo "Doing mostlyclean in libiberty" ; \
22576 (cd $(HOST_SUBDIR)/libiberty && \
22577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22579 "RANLIB=$${RANLIB}" \
22580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22581 mostlyclean) \
22582 || exit 1
22584 @endif libiberty
22586 .PHONY: maybe-clean-libiberty clean-libiberty
22587 maybe-clean-libiberty:
22588 @if libiberty
22589 maybe-clean-libiberty: clean-libiberty
22591 clean-libiberty:
22592 @[ -f ./libiberty/Makefile ] || exit 0; \
22593 r=`${PWD_COMMAND}`; export r; \
22594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22595 $(HOST_EXPORTS) \
22596 for flag in $(EXTRA_HOST_FLAGS) ; do \
22597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22598 done; \
22599 echo "Doing clean in libiberty" ; \
22600 (cd $(HOST_SUBDIR)/libiberty && \
22601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22603 "RANLIB=$${RANLIB}" \
22604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22605 clean) \
22606 || exit 1
22608 @endif libiberty
22610 .PHONY: maybe-distclean-libiberty distclean-libiberty
22611 maybe-distclean-libiberty:
22612 @if libiberty
22613 maybe-distclean-libiberty: distclean-libiberty
22615 distclean-libiberty:
22616 @[ -f ./libiberty/Makefile ] || exit 0; \
22617 r=`${PWD_COMMAND}`; export r; \
22618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 $(HOST_EXPORTS) \
22620 for flag in $(EXTRA_HOST_FLAGS) ; do \
22621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22622 done; \
22623 echo "Doing distclean in libiberty" ; \
22624 (cd $(HOST_SUBDIR)/libiberty && \
22625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22627 "RANLIB=$${RANLIB}" \
22628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22629 distclean) \
22630 || exit 1
22632 @endif libiberty
22634 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22635 maybe-maintainer-clean-libiberty:
22636 @if libiberty
22637 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22639 maintainer-clean-libiberty:
22640 @[ -f ./libiberty/Makefile ] || exit 0; \
22641 r=`${PWD_COMMAND}`; export r; \
22642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 $(HOST_EXPORTS) \
22644 for flag in $(EXTRA_HOST_FLAGS) ; do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22646 done; \
22647 echo "Doing maintainer-clean in libiberty" ; \
22648 (cd $(HOST_SUBDIR)/libiberty && \
22649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22651 "RANLIB=$${RANLIB}" \
22652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22653 maintainer-clean) \
22654 || exit 1
22656 @endif libiberty
22660 .PHONY: configure-libiconv maybe-configure-libiconv
22661 maybe-configure-libiconv:
22662 @if gcc-bootstrap
22663 configure-libiconv: stage_current
22664 @endif gcc-bootstrap
22665 @if libiconv
22666 maybe-configure-libiconv: configure-libiconv
22667 configure-libiconv:
22668 @: $(MAKE); $(unstage)
22669 @r=`${PWD_COMMAND}`; export r; \
22670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22671 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22673 $(HOST_EXPORTS) \
22674 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22675 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22676 case $(srcdir) in \
22677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22678 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22680 esac; \
22681 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22682 libsrcdir="$$s/libiconv"; \
22683 $(SHELL) $${libsrcdir}/configure \
22684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22685 --target=${target_alias} $${srcdiroption} --disable-shared \
22686 || exit 1
22687 @endif libiconv
22693 .PHONY: all-libiconv maybe-all-libiconv
22694 maybe-all-libiconv:
22695 @if gcc-bootstrap
22696 all-libiconv: stage_current
22697 @endif gcc-bootstrap
22698 @if libiconv
22699 TARGET-libiconv=all
22700 maybe-all-libiconv: all-libiconv
22701 all-libiconv: configure-libiconv
22702 @: $(MAKE); $(unstage)
22703 @r=`${PWD_COMMAND}`; export r; \
22704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22705 $(HOST_EXPORTS) \
22706 (cd $(HOST_SUBDIR)/libiconv && \
22707 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22708 $(TARGET-libiconv))
22709 @endif libiconv
22714 .PHONY: check-libiconv maybe-check-libiconv
22715 maybe-check-libiconv:
22716 @if libiconv
22717 maybe-check-libiconv: check-libiconv
22719 check-libiconv:
22720 @: $(MAKE); $(unstage)
22721 @r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 $(HOST_EXPORTS) \
22724 (cd $(HOST_SUBDIR)/libiconv && \
22725 $(MAKE) $(FLAGS_TO_PASS) check)
22727 @endif libiconv
22729 .PHONY: install-libiconv maybe-install-libiconv
22730 maybe-install-libiconv:
22731 @if libiconv
22732 maybe-install-libiconv: install-libiconv
22734 install-libiconv:
22736 @endif libiconv
22738 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22739 maybe-install-strip-libiconv:
22740 @if libiconv
22741 maybe-install-strip-libiconv: install-strip-libiconv
22743 install-strip-libiconv:
22745 @endif libiconv
22747 # Other targets (info, dvi, pdf, etc.)
22749 .PHONY: maybe-info-libiconv info-libiconv
22750 maybe-info-libiconv:
22751 @if libiconv
22752 maybe-info-libiconv: info-libiconv
22754 info-libiconv: \
22755 configure-libiconv
22756 @: $(MAKE); $(unstage)
22757 @[ -f ./libiconv/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing info in libiconv" ; \
22765 (cd $(HOST_SUBDIR)/libiconv && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22770 info) \
22771 || exit 1
22773 @endif libiconv
22775 .PHONY: maybe-dvi-libiconv dvi-libiconv
22776 maybe-dvi-libiconv:
22777 @if libiconv
22778 maybe-dvi-libiconv: dvi-libiconv
22780 dvi-libiconv: \
22781 configure-libiconv
22782 @: $(MAKE); $(unstage)
22783 @[ -f ./libiconv/Makefile ] || exit 0; \
22784 r=`${PWD_COMMAND}`; export r; \
22785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 $(HOST_EXPORTS) \
22787 for flag in $(EXTRA_HOST_FLAGS) ; do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 echo "Doing dvi in libiconv" ; \
22791 (cd $(HOST_SUBDIR)/libiconv && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22796 dvi) \
22797 || exit 1
22799 @endif libiconv
22801 .PHONY: maybe-pdf-libiconv pdf-libiconv
22802 maybe-pdf-libiconv:
22803 @if libiconv
22804 maybe-pdf-libiconv: pdf-libiconv
22806 pdf-libiconv: \
22807 configure-libiconv
22808 @: $(MAKE); $(unstage)
22809 @[ -f ./libiconv/Makefile ] || exit 0; \
22810 r=`${PWD_COMMAND}`; export r; \
22811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22812 $(HOST_EXPORTS) \
22813 for flag in $(EXTRA_HOST_FLAGS) ; do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 done; \
22816 echo "Doing pdf in libiconv" ; \
22817 (cd $(HOST_SUBDIR)/libiconv && \
22818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22820 "RANLIB=$${RANLIB}" \
22821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22822 pdf) \
22823 || exit 1
22825 @endif libiconv
22827 .PHONY: maybe-html-libiconv html-libiconv
22828 maybe-html-libiconv:
22829 @if libiconv
22830 maybe-html-libiconv: html-libiconv
22832 html-libiconv: \
22833 configure-libiconv
22834 @: $(MAKE); $(unstage)
22835 @[ -f ./libiconv/Makefile ] || exit 0; \
22836 r=`${PWD_COMMAND}`; export r; \
22837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22838 $(HOST_EXPORTS) \
22839 for flag in $(EXTRA_HOST_FLAGS) ; do \
22840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22841 done; \
22842 echo "Doing html in libiconv" ; \
22843 (cd $(HOST_SUBDIR)/libiconv && \
22844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22846 "RANLIB=$${RANLIB}" \
22847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22848 html) \
22849 || exit 1
22851 @endif libiconv
22853 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22854 maybe-TAGS-libiconv:
22855 @if libiconv
22856 maybe-TAGS-libiconv: TAGS-libiconv
22858 TAGS-libiconv: \
22859 configure-libiconv
22860 @: $(MAKE); $(unstage)
22861 @[ -f ./libiconv/Makefile ] || exit 0; \
22862 r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22864 $(HOST_EXPORTS) \
22865 for flag in $(EXTRA_HOST_FLAGS) ; do \
22866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22867 done; \
22868 echo "Doing TAGS in libiconv" ; \
22869 (cd $(HOST_SUBDIR)/libiconv && \
22870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22872 "RANLIB=$${RANLIB}" \
22873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22874 TAGS) \
22875 || exit 1
22877 @endif libiconv
22879 .PHONY: maybe-install-info-libiconv install-info-libiconv
22880 maybe-install-info-libiconv:
22881 @if libiconv
22882 maybe-install-info-libiconv: install-info-libiconv
22884 # libiconv doesn't support install-info.
22885 install-info-libiconv:
22887 @endif libiconv
22889 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22890 maybe-install-pdf-libiconv:
22891 @if libiconv
22892 maybe-install-pdf-libiconv: install-pdf-libiconv
22894 # libiconv doesn't support install-pdf.
22895 install-pdf-libiconv:
22897 @endif libiconv
22899 .PHONY: maybe-install-html-libiconv install-html-libiconv
22900 maybe-install-html-libiconv:
22901 @if libiconv
22902 maybe-install-html-libiconv: install-html-libiconv
22904 # libiconv doesn't support install-html.
22905 install-html-libiconv:
22907 @endif libiconv
22909 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22910 maybe-installcheck-libiconv:
22911 @if libiconv
22912 maybe-installcheck-libiconv: installcheck-libiconv
22914 installcheck-libiconv: \
22915 configure-libiconv
22916 @: $(MAKE); $(unstage)
22917 @[ -f ./libiconv/Makefile ] || exit 0; \
22918 r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22920 $(HOST_EXPORTS) \
22921 for flag in $(EXTRA_HOST_FLAGS) ; do \
22922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22923 done; \
22924 echo "Doing installcheck in libiconv" ; \
22925 (cd $(HOST_SUBDIR)/libiconv && \
22926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22928 "RANLIB=$${RANLIB}" \
22929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22930 installcheck) \
22931 || exit 1
22933 @endif libiconv
22935 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22936 maybe-mostlyclean-libiconv:
22937 @if libiconv
22938 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22940 mostlyclean-libiconv:
22941 @: $(MAKE); $(unstage)
22942 @[ -f ./libiconv/Makefile ] || exit 0; \
22943 r=`${PWD_COMMAND}`; export r; \
22944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22945 $(HOST_EXPORTS) \
22946 for flag in $(EXTRA_HOST_FLAGS) ; do \
22947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22948 done; \
22949 echo "Doing mostlyclean in libiconv" ; \
22950 (cd $(HOST_SUBDIR)/libiconv && \
22951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22953 "RANLIB=$${RANLIB}" \
22954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22955 mostlyclean) \
22956 || exit 1
22958 @endif libiconv
22960 .PHONY: maybe-clean-libiconv clean-libiconv
22961 maybe-clean-libiconv:
22962 @if libiconv
22963 maybe-clean-libiconv: clean-libiconv
22965 clean-libiconv:
22966 @: $(MAKE); $(unstage)
22967 @[ -f ./libiconv/Makefile ] || exit 0; \
22968 r=`${PWD_COMMAND}`; export r; \
22969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22970 $(HOST_EXPORTS) \
22971 for flag in $(EXTRA_HOST_FLAGS) ; do \
22972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22973 done; \
22974 echo "Doing clean in libiconv" ; \
22975 (cd $(HOST_SUBDIR)/libiconv && \
22976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22978 "RANLIB=$${RANLIB}" \
22979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22980 clean) \
22981 || exit 1
22983 @endif libiconv
22985 .PHONY: maybe-distclean-libiconv distclean-libiconv
22986 maybe-distclean-libiconv:
22987 @if libiconv
22988 maybe-distclean-libiconv: distclean-libiconv
22990 distclean-libiconv:
22991 @: $(MAKE); $(unstage)
22992 @[ -f ./libiconv/Makefile ] || exit 0; \
22993 r=`${PWD_COMMAND}`; export r; \
22994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22995 $(HOST_EXPORTS) \
22996 for flag in $(EXTRA_HOST_FLAGS) ; do \
22997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22998 done; \
22999 echo "Doing distclean in libiconv" ; \
23000 (cd $(HOST_SUBDIR)/libiconv && \
23001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23003 "RANLIB=$${RANLIB}" \
23004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23005 distclean) \
23006 || exit 1
23008 @endif libiconv
23010 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23011 maybe-maintainer-clean-libiconv:
23012 @if libiconv
23013 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23015 maintainer-clean-libiconv:
23016 @: $(MAKE); $(unstage)
23017 @[ -f ./libiconv/Makefile ] || exit 0; \
23018 r=`${PWD_COMMAND}`; export r; \
23019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23020 $(HOST_EXPORTS) \
23021 for flag in $(EXTRA_HOST_FLAGS) ; do \
23022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23023 done; \
23024 echo "Doing maintainer-clean in libiconv" ; \
23025 (cd $(HOST_SUBDIR)/libiconv && \
23026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23028 "RANLIB=$${RANLIB}" \
23029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23030 maintainer-clean) \
23031 || exit 1
23033 @endif libiconv
23037 .PHONY: configure-m4 maybe-configure-m4
23038 maybe-configure-m4:
23039 @if gcc-bootstrap
23040 configure-m4: stage_current
23041 @endif gcc-bootstrap
23042 @if m4
23043 maybe-configure-m4: configure-m4
23044 configure-m4:
23045 @: $(MAKE); $(unstage)
23046 @r=`${PWD_COMMAND}`; export r; \
23047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23048 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23050 $(HOST_EXPORTS) \
23051 echo Configuring in $(HOST_SUBDIR)/m4; \
23052 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23053 case $(srcdir) in \
23054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23055 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23057 esac; \
23058 srcdiroption="--srcdir=$${topdir}/m4"; \
23059 libsrcdir="$$s/m4"; \
23060 $(SHELL) $${libsrcdir}/configure \
23061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23062 --target=${target_alias} $${srcdiroption} \
23063 || exit 1
23064 @endif m4
23070 .PHONY: all-m4 maybe-all-m4
23071 maybe-all-m4:
23072 @if gcc-bootstrap
23073 all-m4: stage_current
23074 @endif gcc-bootstrap
23075 @if m4
23076 TARGET-m4=all
23077 maybe-all-m4: all-m4
23078 all-m4: configure-m4
23079 @: $(MAKE); $(unstage)
23080 @r=`${PWD_COMMAND}`; export r; \
23081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23082 $(HOST_EXPORTS) \
23083 (cd $(HOST_SUBDIR)/m4 && \
23084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23085 $(TARGET-m4))
23086 @endif m4
23091 .PHONY: check-m4 maybe-check-m4
23092 maybe-check-m4:
23093 @if m4
23094 maybe-check-m4: check-m4
23096 check-m4:
23097 @: $(MAKE); $(unstage)
23098 @r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 (cd $(HOST_SUBDIR)/m4 && \
23102 $(MAKE) $(FLAGS_TO_PASS) check)
23104 @endif m4
23106 .PHONY: install-m4 maybe-install-m4
23107 maybe-install-m4:
23108 @if m4
23109 maybe-install-m4: install-m4
23111 install-m4: installdirs
23112 @: $(MAKE); $(unstage)
23113 @r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(HOST_EXPORTS) \
23116 (cd $(HOST_SUBDIR)/m4 && \
23117 $(MAKE) $(FLAGS_TO_PASS) install)
23119 @endif m4
23121 .PHONY: install-strip-m4 maybe-install-strip-m4
23122 maybe-install-strip-m4:
23123 @if m4
23124 maybe-install-strip-m4: install-strip-m4
23126 install-strip-m4: installdirs
23127 @: $(MAKE); $(unstage)
23128 @r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(HOST_EXPORTS) \
23131 (cd $(HOST_SUBDIR)/m4 && \
23132 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23134 @endif m4
23136 # Other targets (info, dvi, pdf, etc.)
23138 .PHONY: maybe-info-m4 info-m4
23139 maybe-info-m4:
23140 @if m4
23141 maybe-info-m4: info-m4
23143 info-m4: \
23144 configure-m4
23145 @: $(MAKE); $(unstage)
23146 @[ -f ./m4/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(HOST_EXPORTS) \
23150 for flag in $(EXTRA_HOST_FLAGS) ; do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 done; \
23153 echo "Doing info in m4" ; \
23154 (cd $(HOST_SUBDIR)/m4 && \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23159 info) \
23160 || exit 1
23162 @endif m4
23164 .PHONY: maybe-dvi-m4 dvi-m4
23165 maybe-dvi-m4:
23166 @if m4
23167 maybe-dvi-m4: dvi-m4
23169 dvi-m4: \
23170 configure-m4
23171 @: $(MAKE); $(unstage)
23172 @[ -f ./m4/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) ; do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing dvi in m4" ; \
23180 (cd $(HOST_SUBDIR)/m4 && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23185 dvi) \
23186 || exit 1
23188 @endif m4
23190 .PHONY: maybe-pdf-m4 pdf-m4
23191 maybe-pdf-m4:
23192 @if m4
23193 maybe-pdf-m4: pdf-m4
23195 pdf-m4: \
23196 configure-m4
23197 @: $(MAKE); $(unstage)
23198 @[ -f ./m4/Makefile ] || exit 0; \
23199 r=`${PWD_COMMAND}`; export r; \
23200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23201 $(HOST_EXPORTS) \
23202 for flag in $(EXTRA_HOST_FLAGS) ; do \
23203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23204 done; \
23205 echo "Doing pdf in m4" ; \
23206 (cd $(HOST_SUBDIR)/m4 && \
23207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23209 "RANLIB=$${RANLIB}" \
23210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23211 pdf) \
23212 || exit 1
23214 @endif m4
23216 .PHONY: maybe-html-m4 html-m4
23217 maybe-html-m4:
23218 @if m4
23219 maybe-html-m4: html-m4
23221 html-m4: \
23222 configure-m4
23223 @: $(MAKE); $(unstage)
23224 @[ -f ./m4/Makefile ] || exit 0; \
23225 r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23227 $(HOST_EXPORTS) \
23228 for flag in $(EXTRA_HOST_FLAGS) ; do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23230 done; \
23231 echo "Doing html in m4" ; \
23232 (cd $(HOST_SUBDIR)/m4 && \
23233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23235 "RANLIB=$${RANLIB}" \
23236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23237 html) \
23238 || exit 1
23240 @endif m4
23242 .PHONY: maybe-TAGS-m4 TAGS-m4
23243 maybe-TAGS-m4:
23244 @if m4
23245 maybe-TAGS-m4: TAGS-m4
23247 TAGS-m4: \
23248 configure-m4
23249 @: $(MAKE); $(unstage)
23250 @[ -f ./m4/Makefile ] || exit 0; \
23251 r=`${PWD_COMMAND}`; export r; \
23252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23253 $(HOST_EXPORTS) \
23254 for flag in $(EXTRA_HOST_FLAGS) ; do \
23255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23256 done; \
23257 echo "Doing TAGS in m4" ; \
23258 (cd $(HOST_SUBDIR)/m4 && \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23261 "RANLIB=$${RANLIB}" \
23262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23263 TAGS) \
23264 || exit 1
23266 @endif m4
23268 .PHONY: maybe-install-info-m4 install-info-m4
23269 maybe-install-info-m4:
23270 @if m4
23271 maybe-install-info-m4: install-info-m4
23273 install-info-m4: \
23274 configure-m4 \
23275 info-m4
23276 @: $(MAKE); $(unstage)
23277 @[ -f ./m4/Makefile ] || exit 0; \
23278 r=`${PWD_COMMAND}`; export r; \
23279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23280 $(HOST_EXPORTS) \
23281 for flag in $(EXTRA_HOST_FLAGS) ; do \
23282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23283 done; \
23284 echo "Doing install-info in m4" ; \
23285 (cd $(HOST_SUBDIR)/m4 && \
23286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23288 "RANLIB=$${RANLIB}" \
23289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23290 install-info) \
23291 || exit 1
23293 @endif m4
23295 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23296 maybe-install-pdf-m4:
23297 @if m4
23298 maybe-install-pdf-m4: install-pdf-m4
23300 install-pdf-m4: \
23301 configure-m4 \
23302 pdf-m4
23303 @: $(MAKE); $(unstage)
23304 @[ -f ./m4/Makefile ] || exit 0; \
23305 r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 $(HOST_EXPORTS) \
23308 for flag in $(EXTRA_HOST_FLAGS) ; do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310 done; \
23311 echo "Doing install-pdf in m4" ; \
23312 (cd $(HOST_SUBDIR)/m4 && \
23313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315 "RANLIB=$${RANLIB}" \
23316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23317 install-pdf) \
23318 || exit 1
23320 @endif m4
23322 .PHONY: maybe-install-html-m4 install-html-m4
23323 maybe-install-html-m4:
23324 @if m4
23325 maybe-install-html-m4: install-html-m4
23327 install-html-m4: \
23328 configure-m4 \
23329 html-m4
23330 @: $(MAKE); $(unstage)
23331 @[ -f ./m4/Makefile ] || exit 0; \
23332 r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 $(HOST_EXPORTS) \
23335 for flag in $(EXTRA_HOST_FLAGS) ; do \
23336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23337 done; \
23338 echo "Doing install-html in m4" ; \
23339 (cd $(HOST_SUBDIR)/m4 && \
23340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342 "RANLIB=$${RANLIB}" \
23343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23344 install-html) \
23345 || exit 1
23347 @endif m4
23349 .PHONY: maybe-installcheck-m4 installcheck-m4
23350 maybe-installcheck-m4:
23351 @if m4
23352 maybe-installcheck-m4: installcheck-m4
23354 installcheck-m4: \
23355 configure-m4
23356 @: $(MAKE); $(unstage)
23357 @[ -f ./m4/Makefile ] || exit 0; \
23358 r=`${PWD_COMMAND}`; export r; \
23359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23360 $(HOST_EXPORTS) \
23361 for flag in $(EXTRA_HOST_FLAGS) ; do \
23362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23363 done; \
23364 echo "Doing installcheck in m4" ; \
23365 (cd $(HOST_SUBDIR)/m4 && \
23366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23368 "RANLIB=$${RANLIB}" \
23369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23370 installcheck) \
23371 || exit 1
23373 @endif m4
23375 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23376 maybe-mostlyclean-m4:
23377 @if m4
23378 maybe-mostlyclean-m4: mostlyclean-m4
23380 mostlyclean-m4:
23381 @: $(MAKE); $(unstage)
23382 @[ -f ./m4/Makefile ] || exit 0; \
23383 r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 $(HOST_EXPORTS) \
23386 for flag in $(EXTRA_HOST_FLAGS) ; do \
23387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23388 done; \
23389 echo "Doing mostlyclean in m4" ; \
23390 (cd $(HOST_SUBDIR)/m4 && \
23391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23393 "RANLIB=$${RANLIB}" \
23394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23395 mostlyclean) \
23396 || exit 1
23398 @endif m4
23400 .PHONY: maybe-clean-m4 clean-m4
23401 maybe-clean-m4:
23402 @if m4
23403 maybe-clean-m4: clean-m4
23405 clean-m4:
23406 @: $(MAKE); $(unstage)
23407 @[ -f ./m4/Makefile ] || exit 0; \
23408 r=`${PWD_COMMAND}`; export r; \
23409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23410 $(HOST_EXPORTS) \
23411 for flag in $(EXTRA_HOST_FLAGS) ; do \
23412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23413 done; \
23414 echo "Doing clean in m4" ; \
23415 (cd $(HOST_SUBDIR)/m4 && \
23416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23418 "RANLIB=$${RANLIB}" \
23419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23420 clean) \
23421 || exit 1
23423 @endif m4
23425 .PHONY: maybe-distclean-m4 distclean-m4
23426 maybe-distclean-m4:
23427 @if m4
23428 maybe-distclean-m4: distclean-m4
23430 distclean-m4:
23431 @: $(MAKE); $(unstage)
23432 @[ -f ./m4/Makefile ] || exit 0; \
23433 r=`${PWD_COMMAND}`; export r; \
23434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23435 $(HOST_EXPORTS) \
23436 for flag in $(EXTRA_HOST_FLAGS) ; do \
23437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23438 done; \
23439 echo "Doing distclean in m4" ; \
23440 (cd $(HOST_SUBDIR)/m4 && \
23441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23443 "RANLIB=$${RANLIB}" \
23444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23445 distclean) \
23446 || exit 1
23448 @endif m4
23450 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23451 maybe-maintainer-clean-m4:
23452 @if m4
23453 maybe-maintainer-clean-m4: maintainer-clean-m4
23455 maintainer-clean-m4:
23456 @: $(MAKE); $(unstage)
23457 @[ -f ./m4/Makefile ] || exit 0; \
23458 r=`${PWD_COMMAND}`; export r; \
23459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 $(HOST_EXPORTS) \
23461 for flag in $(EXTRA_HOST_FLAGS) ; do \
23462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23463 done; \
23464 echo "Doing maintainer-clean in m4" ; \
23465 (cd $(HOST_SUBDIR)/m4 && \
23466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23468 "RANLIB=$${RANLIB}" \
23469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23470 maintainer-clean) \
23471 || exit 1
23473 @endif m4
23477 .PHONY: configure-readline maybe-configure-readline
23478 maybe-configure-readline:
23479 @if gcc-bootstrap
23480 configure-readline: stage_current
23481 @endif gcc-bootstrap
23482 @if readline
23483 maybe-configure-readline: configure-readline
23484 configure-readline:
23485 @: $(MAKE); $(unstage)
23486 @r=`${PWD_COMMAND}`; export r; \
23487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23488 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23490 $(HOST_EXPORTS) \
23491 echo Configuring in $(HOST_SUBDIR)/readline; \
23492 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23493 case $(srcdir) in \
23494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23495 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23497 esac; \
23498 srcdiroption="--srcdir=$${topdir}/readline"; \
23499 libsrcdir="$$s/readline"; \
23500 $(SHELL) $${libsrcdir}/configure \
23501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23502 --target=${target_alias} $${srcdiroption} \
23503 || exit 1
23504 @endif readline
23510 .PHONY: all-readline maybe-all-readline
23511 maybe-all-readline:
23512 @if gcc-bootstrap
23513 all-readline: stage_current
23514 @endif gcc-bootstrap
23515 @if readline
23516 TARGET-readline=all
23517 maybe-all-readline: all-readline
23518 all-readline: configure-readline
23519 @: $(MAKE); $(unstage)
23520 @r=`${PWD_COMMAND}`; export r; \
23521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23522 $(HOST_EXPORTS) \
23523 (cd $(HOST_SUBDIR)/readline && \
23524 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23525 $(TARGET-readline))
23526 @endif readline
23531 .PHONY: check-readline maybe-check-readline
23532 maybe-check-readline:
23533 @if readline
23534 maybe-check-readline: check-readline
23536 check-readline:
23537 @: $(MAKE); $(unstage)
23538 @r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(HOST_EXPORTS) \
23541 (cd $(HOST_SUBDIR)/readline && \
23542 $(MAKE) $(FLAGS_TO_PASS) check)
23544 @endif readline
23546 .PHONY: install-readline maybe-install-readline
23547 maybe-install-readline:
23548 @if readline
23549 maybe-install-readline: install-readline
23551 install-readline: installdirs
23552 @: $(MAKE); $(unstage)
23553 @r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23555 $(HOST_EXPORTS) \
23556 (cd $(HOST_SUBDIR)/readline && \
23557 $(MAKE) $(FLAGS_TO_PASS) install)
23559 @endif readline
23561 .PHONY: install-strip-readline maybe-install-strip-readline
23562 maybe-install-strip-readline:
23563 @if readline
23564 maybe-install-strip-readline: install-strip-readline
23566 install-strip-readline: installdirs
23567 @: $(MAKE); $(unstage)
23568 @r=`${PWD_COMMAND}`; export r; \
23569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23570 $(HOST_EXPORTS) \
23571 (cd $(HOST_SUBDIR)/readline && \
23572 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23574 @endif readline
23576 # Other targets (info, dvi, pdf, etc.)
23578 .PHONY: maybe-info-readline info-readline
23579 maybe-info-readline:
23580 @if readline
23581 maybe-info-readline: info-readline
23583 info-readline: \
23584 configure-readline
23585 @: $(MAKE); $(unstage)
23586 @[ -f ./readline/Makefile ] || exit 0; \
23587 r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589 $(HOST_EXPORTS) \
23590 for flag in $(EXTRA_HOST_FLAGS) ; do \
23591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23592 done; \
23593 echo "Doing info in readline" ; \
23594 (cd $(HOST_SUBDIR)/readline && \
23595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23597 "RANLIB=$${RANLIB}" \
23598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23599 info) \
23600 || exit 1
23602 @endif readline
23604 .PHONY: maybe-dvi-readline dvi-readline
23605 maybe-dvi-readline:
23606 @if readline
23607 maybe-dvi-readline: dvi-readline
23609 dvi-readline: \
23610 configure-readline
23611 @: $(MAKE); $(unstage)
23612 @[ -f ./readline/Makefile ] || exit 0; \
23613 r=`${PWD_COMMAND}`; export r; \
23614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23615 $(HOST_EXPORTS) \
23616 for flag in $(EXTRA_HOST_FLAGS) ; do \
23617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23618 done; \
23619 echo "Doing dvi in readline" ; \
23620 (cd $(HOST_SUBDIR)/readline && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23623 "RANLIB=$${RANLIB}" \
23624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23625 dvi) \
23626 || exit 1
23628 @endif readline
23630 .PHONY: maybe-pdf-readline pdf-readline
23631 maybe-pdf-readline:
23632 @if readline
23633 maybe-pdf-readline: pdf-readline
23635 pdf-readline: \
23636 configure-readline
23637 @: $(MAKE); $(unstage)
23638 @[ -f ./readline/Makefile ] || exit 0; \
23639 r=`${PWD_COMMAND}`; export r; \
23640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 $(HOST_EXPORTS) \
23642 for flag in $(EXTRA_HOST_FLAGS) ; do \
23643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23644 done; \
23645 echo "Doing pdf in readline" ; \
23646 (cd $(HOST_SUBDIR)/readline && \
23647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23649 "RANLIB=$${RANLIB}" \
23650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23651 pdf) \
23652 || exit 1
23654 @endif readline
23656 .PHONY: maybe-html-readline html-readline
23657 maybe-html-readline:
23658 @if readline
23659 maybe-html-readline: html-readline
23661 html-readline: \
23662 configure-readline
23663 @: $(MAKE); $(unstage)
23664 @[ -f ./readline/Makefile ] || exit 0; \
23665 r=`${PWD_COMMAND}`; export r; \
23666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23667 $(HOST_EXPORTS) \
23668 for flag in $(EXTRA_HOST_FLAGS) ; do \
23669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23670 done; \
23671 echo "Doing html in readline" ; \
23672 (cd $(HOST_SUBDIR)/readline && \
23673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23675 "RANLIB=$${RANLIB}" \
23676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23677 html) \
23678 || exit 1
23680 @endif readline
23682 .PHONY: maybe-TAGS-readline TAGS-readline
23683 maybe-TAGS-readline:
23684 @if readline
23685 maybe-TAGS-readline: TAGS-readline
23687 TAGS-readline: \
23688 configure-readline
23689 @: $(MAKE); $(unstage)
23690 @[ -f ./readline/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing TAGS in readline" ; \
23698 (cd $(HOST_SUBDIR)/readline && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23703 TAGS) \
23704 || exit 1
23706 @endif readline
23708 .PHONY: maybe-install-info-readline install-info-readline
23709 maybe-install-info-readline:
23710 @if readline
23711 maybe-install-info-readline: install-info-readline
23713 install-info-readline: \
23714 configure-readline \
23715 info-readline
23716 @: $(MAKE); $(unstage)
23717 @[ -f ./readline/Makefile ] || exit 0; \
23718 r=`${PWD_COMMAND}`; export r; \
23719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23720 $(HOST_EXPORTS) \
23721 for flag in $(EXTRA_HOST_FLAGS) ; do \
23722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23723 done; \
23724 echo "Doing install-info in readline" ; \
23725 (cd $(HOST_SUBDIR)/readline && \
23726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23728 "RANLIB=$${RANLIB}" \
23729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23730 install-info) \
23731 || exit 1
23733 @endif readline
23735 .PHONY: maybe-install-pdf-readline install-pdf-readline
23736 maybe-install-pdf-readline:
23737 @if readline
23738 maybe-install-pdf-readline: install-pdf-readline
23740 install-pdf-readline: \
23741 configure-readline \
23742 pdf-readline
23743 @: $(MAKE); $(unstage)
23744 @[ -f ./readline/Makefile ] || exit 0; \
23745 r=`${PWD_COMMAND}`; export r; \
23746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23747 $(HOST_EXPORTS) \
23748 for flag in $(EXTRA_HOST_FLAGS) ; do \
23749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23750 done; \
23751 echo "Doing install-pdf in readline" ; \
23752 (cd $(HOST_SUBDIR)/readline && \
23753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23755 "RANLIB=$${RANLIB}" \
23756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23757 install-pdf) \
23758 || exit 1
23760 @endif readline
23762 .PHONY: maybe-install-html-readline install-html-readline
23763 maybe-install-html-readline:
23764 @if readline
23765 maybe-install-html-readline: install-html-readline
23767 install-html-readline: \
23768 configure-readline \
23769 html-readline
23770 @: $(MAKE); $(unstage)
23771 @[ -f ./readline/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing install-html in readline" ; \
23779 (cd $(HOST_SUBDIR)/readline && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23784 install-html) \
23785 || exit 1
23787 @endif readline
23789 .PHONY: maybe-installcheck-readline installcheck-readline
23790 maybe-installcheck-readline:
23791 @if readline
23792 maybe-installcheck-readline: installcheck-readline
23794 installcheck-readline: \
23795 configure-readline
23796 @: $(MAKE); $(unstage)
23797 @[ -f ./readline/Makefile ] || exit 0; \
23798 r=`${PWD_COMMAND}`; export r; \
23799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23800 $(HOST_EXPORTS) \
23801 for flag in $(EXTRA_HOST_FLAGS) ; do \
23802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23803 done; \
23804 echo "Doing installcheck in readline" ; \
23805 (cd $(HOST_SUBDIR)/readline && \
23806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23808 "RANLIB=$${RANLIB}" \
23809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23810 installcheck) \
23811 || exit 1
23813 @endif readline
23815 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23816 maybe-mostlyclean-readline:
23817 @if readline
23818 maybe-mostlyclean-readline: mostlyclean-readline
23820 mostlyclean-readline:
23821 @: $(MAKE); $(unstage)
23822 @[ -f ./readline/Makefile ] || exit 0; \
23823 r=`${PWD_COMMAND}`; export r; \
23824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23825 $(HOST_EXPORTS) \
23826 for flag in $(EXTRA_HOST_FLAGS) ; do \
23827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23828 done; \
23829 echo "Doing mostlyclean in readline" ; \
23830 (cd $(HOST_SUBDIR)/readline && \
23831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23833 "RANLIB=$${RANLIB}" \
23834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23835 mostlyclean) \
23836 || exit 1
23838 @endif readline
23840 .PHONY: maybe-clean-readline clean-readline
23841 maybe-clean-readline:
23842 @if readline
23843 maybe-clean-readline: clean-readline
23845 clean-readline:
23846 @: $(MAKE); $(unstage)
23847 @[ -f ./readline/Makefile ] || exit 0; \
23848 r=`${PWD_COMMAND}`; export r; \
23849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 $(HOST_EXPORTS) \
23851 for flag in $(EXTRA_HOST_FLAGS) ; do \
23852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23853 done; \
23854 echo "Doing clean in readline" ; \
23855 (cd $(HOST_SUBDIR)/readline && \
23856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23858 "RANLIB=$${RANLIB}" \
23859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23860 clean) \
23861 || exit 1
23863 @endif readline
23865 .PHONY: maybe-distclean-readline distclean-readline
23866 maybe-distclean-readline:
23867 @if readline
23868 maybe-distclean-readline: distclean-readline
23870 distclean-readline:
23871 @: $(MAKE); $(unstage)
23872 @[ -f ./readline/Makefile ] || exit 0; \
23873 r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23875 $(HOST_EXPORTS) \
23876 for flag in $(EXTRA_HOST_FLAGS) ; do \
23877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23878 done; \
23879 echo "Doing distclean in readline" ; \
23880 (cd $(HOST_SUBDIR)/readline && \
23881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23883 "RANLIB=$${RANLIB}" \
23884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23885 distclean) \
23886 || exit 1
23888 @endif readline
23890 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23891 maybe-maintainer-clean-readline:
23892 @if readline
23893 maybe-maintainer-clean-readline: maintainer-clean-readline
23895 maintainer-clean-readline:
23896 @: $(MAKE); $(unstage)
23897 @[ -f ./readline/Makefile ] || exit 0; \
23898 r=`${PWD_COMMAND}`; export r; \
23899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23900 $(HOST_EXPORTS) \
23901 for flag in $(EXTRA_HOST_FLAGS) ; do \
23902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23903 done; \
23904 echo "Doing maintainer-clean in readline" ; \
23905 (cd $(HOST_SUBDIR)/readline && \
23906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23908 "RANLIB=$${RANLIB}" \
23909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23910 maintainer-clean) \
23911 || exit 1
23913 @endif readline
23917 .PHONY: configure-sid maybe-configure-sid
23918 maybe-configure-sid:
23919 @if gcc-bootstrap
23920 configure-sid: stage_current
23921 @endif gcc-bootstrap
23922 @if sid
23923 maybe-configure-sid: configure-sid
23924 configure-sid:
23925 @: $(MAKE); $(unstage)
23926 @r=`${PWD_COMMAND}`; export r; \
23927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23928 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23930 $(HOST_EXPORTS) \
23931 echo Configuring in $(HOST_SUBDIR)/sid; \
23932 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23933 case $(srcdir) in \
23934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23935 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23937 esac; \
23938 srcdiroption="--srcdir=$${topdir}/sid"; \
23939 libsrcdir="$$s/sid"; \
23940 $(SHELL) $${libsrcdir}/configure \
23941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23942 --target=${target_alias} $${srcdiroption} \
23943 || exit 1
23944 @endif sid
23950 .PHONY: all-sid maybe-all-sid
23951 maybe-all-sid:
23952 @if gcc-bootstrap
23953 all-sid: stage_current
23954 @endif gcc-bootstrap
23955 @if sid
23956 TARGET-sid=all
23957 maybe-all-sid: all-sid
23958 all-sid: configure-sid
23959 @: $(MAKE); $(unstage)
23960 @r=`${PWD_COMMAND}`; export r; \
23961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23962 $(HOST_EXPORTS) \
23963 (cd $(HOST_SUBDIR)/sid && \
23964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23965 $(TARGET-sid))
23966 @endif sid
23971 .PHONY: check-sid maybe-check-sid
23972 maybe-check-sid:
23973 @if sid
23974 maybe-check-sid: check-sid
23976 check-sid:
23977 @: $(MAKE); $(unstage)
23978 @r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 $(HOST_EXPORTS) \
23981 (cd $(HOST_SUBDIR)/sid && \
23982 $(MAKE) $(FLAGS_TO_PASS) check)
23984 @endif sid
23986 .PHONY: install-sid maybe-install-sid
23987 maybe-install-sid:
23988 @if sid
23989 maybe-install-sid: install-sid
23991 install-sid: installdirs
23992 @: $(MAKE); $(unstage)
23993 @r=`${PWD_COMMAND}`; export r; \
23994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23995 $(HOST_EXPORTS) \
23996 (cd $(HOST_SUBDIR)/sid && \
23997 $(MAKE) $(FLAGS_TO_PASS) install)
23999 @endif sid
24001 .PHONY: install-strip-sid maybe-install-strip-sid
24002 maybe-install-strip-sid:
24003 @if sid
24004 maybe-install-strip-sid: install-strip-sid
24006 install-strip-sid: installdirs
24007 @: $(MAKE); $(unstage)
24008 @r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 (cd $(HOST_SUBDIR)/sid && \
24012 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24014 @endif sid
24016 # Other targets (info, dvi, pdf, etc.)
24018 .PHONY: maybe-info-sid info-sid
24019 maybe-info-sid:
24020 @if sid
24021 maybe-info-sid: info-sid
24023 info-sid: \
24024 configure-sid
24025 @: $(MAKE); $(unstage)
24026 @[ -f ./sid/Makefile ] || exit 0; \
24027 r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(HOST_EXPORTS) \
24030 for flag in $(EXTRA_HOST_FLAGS) ; do \
24031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24032 done; \
24033 echo "Doing info in sid" ; \
24034 (cd $(HOST_SUBDIR)/sid && \
24035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24037 "RANLIB=$${RANLIB}" \
24038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24039 info) \
24040 || exit 1
24042 @endif sid
24044 .PHONY: maybe-dvi-sid dvi-sid
24045 maybe-dvi-sid:
24046 @if sid
24047 maybe-dvi-sid: dvi-sid
24049 dvi-sid: \
24050 configure-sid
24051 @: $(MAKE); $(unstage)
24052 @[ -f ./sid/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing dvi in sid" ; \
24060 (cd $(HOST_SUBDIR)/sid && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24065 dvi) \
24066 || exit 1
24068 @endif sid
24070 .PHONY: maybe-pdf-sid pdf-sid
24071 maybe-pdf-sid:
24072 @if sid
24073 maybe-pdf-sid: pdf-sid
24075 pdf-sid: \
24076 configure-sid
24077 @: $(MAKE); $(unstage)
24078 @[ -f ./sid/Makefile ] || exit 0; \
24079 r=`${PWD_COMMAND}`; export r; \
24080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 $(HOST_EXPORTS) \
24082 for flag in $(EXTRA_HOST_FLAGS) ; do \
24083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24084 done; \
24085 echo "Doing pdf in sid" ; \
24086 (cd $(HOST_SUBDIR)/sid && \
24087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24089 "RANLIB=$${RANLIB}" \
24090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24091 pdf) \
24092 || exit 1
24094 @endif sid
24096 .PHONY: maybe-html-sid html-sid
24097 maybe-html-sid:
24098 @if sid
24099 maybe-html-sid: html-sid
24101 html-sid: \
24102 configure-sid
24103 @: $(MAKE); $(unstage)
24104 @[ -f ./sid/Makefile ] || exit 0; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 for flag in $(EXTRA_HOST_FLAGS) ; do \
24109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24110 done; \
24111 echo "Doing html in sid" ; \
24112 (cd $(HOST_SUBDIR)/sid && \
24113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24115 "RANLIB=$${RANLIB}" \
24116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24117 html) \
24118 || exit 1
24120 @endif sid
24122 .PHONY: maybe-TAGS-sid TAGS-sid
24123 maybe-TAGS-sid:
24124 @if sid
24125 maybe-TAGS-sid: TAGS-sid
24127 TAGS-sid: \
24128 configure-sid
24129 @: $(MAKE); $(unstage)
24130 @[ -f ./sid/Makefile ] || exit 0; \
24131 r=`${PWD_COMMAND}`; export r; \
24132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24133 $(HOST_EXPORTS) \
24134 for flag in $(EXTRA_HOST_FLAGS) ; do \
24135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24136 done; \
24137 echo "Doing TAGS in sid" ; \
24138 (cd $(HOST_SUBDIR)/sid && \
24139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24141 "RANLIB=$${RANLIB}" \
24142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24143 TAGS) \
24144 || exit 1
24146 @endif sid
24148 .PHONY: maybe-install-info-sid install-info-sid
24149 maybe-install-info-sid:
24150 @if sid
24151 maybe-install-info-sid: install-info-sid
24153 install-info-sid: \
24154 configure-sid \
24155 info-sid
24156 @: $(MAKE); $(unstage)
24157 @[ -f ./sid/Makefile ] || exit 0; \
24158 r=`${PWD_COMMAND}`; export r; \
24159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24160 $(HOST_EXPORTS) \
24161 for flag in $(EXTRA_HOST_FLAGS) ; do \
24162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24163 done; \
24164 echo "Doing install-info in sid" ; \
24165 (cd $(HOST_SUBDIR)/sid && \
24166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24168 "RANLIB=$${RANLIB}" \
24169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24170 install-info) \
24171 || exit 1
24173 @endif sid
24175 .PHONY: maybe-install-pdf-sid install-pdf-sid
24176 maybe-install-pdf-sid:
24177 @if sid
24178 maybe-install-pdf-sid: install-pdf-sid
24180 install-pdf-sid: \
24181 configure-sid \
24182 pdf-sid
24183 @: $(MAKE); $(unstage)
24184 @[ -f ./sid/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(HOST_EXPORTS) \
24188 for flag in $(EXTRA_HOST_FLAGS) ; do \
24189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24190 done; \
24191 echo "Doing install-pdf in sid" ; \
24192 (cd $(HOST_SUBDIR)/sid && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24195 "RANLIB=$${RANLIB}" \
24196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24197 install-pdf) \
24198 || exit 1
24200 @endif sid
24202 .PHONY: maybe-install-html-sid install-html-sid
24203 maybe-install-html-sid:
24204 @if sid
24205 maybe-install-html-sid: install-html-sid
24207 install-html-sid: \
24208 configure-sid \
24209 html-sid
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./sid/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(HOST_EXPORTS) \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 done; \
24218 echo "Doing install-html in sid" ; \
24219 (cd $(HOST_SUBDIR)/sid && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24224 install-html) \
24225 || exit 1
24227 @endif sid
24229 .PHONY: maybe-installcheck-sid installcheck-sid
24230 maybe-installcheck-sid:
24231 @if sid
24232 maybe-installcheck-sid: installcheck-sid
24234 installcheck-sid: \
24235 configure-sid
24236 @: $(MAKE); $(unstage)
24237 @[ -f ./sid/Makefile ] || exit 0; \
24238 r=`${PWD_COMMAND}`; export r; \
24239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24240 $(HOST_EXPORTS) \
24241 for flag in $(EXTRA_HOST_FLAGS) ; do \
24242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24243 done; \
24244 echo "Doing installcheck in sid" ; \
24245 (cd $(HOST_SUBDIR)/sid && \
24246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24248 "RANLIB=$${RANLIB}" \
24249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24250 installcheck) \
24251 || exit 1
24253 @endif sid
24255 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24256 maybe-mostlyclean-sid:
24257 @if sid
24258 maybe-mostlyclean-sid: mostlyclean-sid
24260 mostlyclean-sid:
24261 @: $(MAKE); $(unstage)
24262 @[ -f ./sid/Makefile ] || exit 0; \
24263 r=`${PWD_COMMAND}`; export r; \
24264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24265 $(HOST_EXPORTS) \
24266 for flag in $(EXTRA_HOST_FLAGS) ; do \
24267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24268 done; \
24269 echo "Doing mostlyclean in sid" ; \
24270 (cd $(HOST_SUBDIR)/sid && \
24271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24273 "RANLIB=$${RANLIB}" \
24274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24275 mostlyclean) \
24276 || exit 1
24278 @endif sid
24280 .PHONY: maybe-clean-sid clean-sid
24281 maybe-clean-sid:
24282 @if sid
24283 maybe-clean-sid: clean-sid
24285 clean-sid:
24286 @: $(MAKE); $(unstage)
24287 @[ -f ./sid/Makefile ] || exit 0; \
24288 r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(HOST_EXPORTS) \
24291 for flag in $(EXTRA_HOST_FLAGS) ; do \
24292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24293 done; \
24294 echo "Doing clean in sid" ; \
24295 (cd $(HOST_SUBDIR)/sid && \
24296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24298 "RANLIB=$${RANLIB}" \
24299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24300 clean) \
24301 || exit 1
24303 @endif sid
24305 .PHONY: maybe-distclean-sid distclean-sid
24306 maybe-distclean-sid:
24307 @if sid
24308 maybe-distclean-sid: distclean-sid
24310 distclean-sid:
24311 @: $(MAKE); $(unstage)
24312 @[ -f ./sid/Makefile ] || exit 0; \
24313 r=`${PWD_COMMAND}`; export r; \
24314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24315 $(HOST_EXPORTS) \
24316 for flag in $(EXTRA_HOST_FLAGS) ; do \
24317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24318 done; \
24319 echo "Doing distclean in sid" ; \
24320 (cd $(HOST_SUBDIR)/sid && \
24321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24323 "RANLIB=$${RANLIB}" \
24324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24325 distclean) \
24326 || exit 1
24328 @endif sid
24330 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24331 maybe-maintainer-clean-sid:
24332 @if sid
24333 maybe-maintainer-clean-sid: maintainer-clean-sid
24335 maintainer-clean-sid:
24336 @: $(MAKE); $(unstage)
24337 @[ -f ./sid/Makefile ] || exit 0; \
24338 r=`${PWD_COMMAND}`; export r; \
24339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24340 $(HOST_EXPORTS) \
24341 for flag in $(EXTRA_HOST_FLAGS) ; do \
24342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24343 done; \
24344 echo "Doing maintainer-clean in sid" ; \
24345 (cd $(HOST_SUBDIR)/sid && \
24346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24348 "RANLIB=$${RANLIB}" \
24349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24350 maintainer-clean) \
24351 || exit 1
24353 @endif sid
24357 .PHONY: configure-sim maybe-configure-sim
24358 maybe-configure-sim:
24359 @if gcc-bootstrap
24360 configure-sim: stage_current
24361 @endif gcc-bootstrap
24362 @if sim
24363 maybe-configure-sim: configure-sim
24364 configure-sim:
24365 @: $(MAKE); $(unstage)
24366 @r=`${PWD_COMMAND}`; export r; \
24367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24368 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24370 $(HOST_EXPORTS) \
24371 echo Configuring in $(HOST_SUBDIR)/sim; \
24372 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24373 case $(srcdir) in \
24374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24375 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24377 esac; \
24378 srcdiroption="--srcdir=$${topdir}/sim"; \
24379 libsrcdir="$$s/sim"; \
24380 $(SHELL) $${libsrcdir}/configure \
24381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24382 --target=${target_alias} $${srcdiroption} \
24383 || exit 1
24384 @endif sim
24390 .PHONY: all-sim maybe-all-sim
24391 maybe-all-sim:
24392 @if gcc-bootstrap
24393 all-sim: stage_current
24394 @endif gcc-bootstrap
24395 @if sim
24396 TARGET-sim=all
24397 maybe-all-sim: all-sim
24398 all-sim: configure-sim
24399 @: $(MAKE); $(unstage)
24400 @r=`${PWD_COMMAND}`; export r; \
24401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24402 $(HOST_EXPORTS) \
24403 (cd $(HOST_SUBDIR)/sim && \
24404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24405 $(TARGET-sim))
24406 @endif sim
24411 .PHONY: check-sim maybe-check-sim
24412 maybe-check-sim:
24413 @if sim
24414 maybe-check-sim: check-sim
24416 check-sim:
24417 @: $(MAKE); $(unstage)
24418 @r=`${PWD_COMMAND}`; export r; \
24419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24420 $(HOST_EXPORTS) \
24421 (cd $(HOST_SUBDIR)/sim && \
24422 $(MAKE) $(FLAGS_TO_PASS) check)
24424 @endif sim
24426 .PHONY: install-sim maybe-install-sim
24427 maybe-install-sim:
24428 @if sim
24429 maybe-install-sim: install-sim
24431 install-sim: installdirs
24432 @: $(MAKE); $(unstage)
24433 @r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(HOST_EXPORTS) \
24436 (cd $(HOST_SUBDIR)/sim && \
24437 $(MAKE) $(FLAGS_TO_PASS) install)
24439 @endif sim
24441 .PHONY: install-strip-sim maybe-install-strip-sim
24442 maybe-install-strip-sim:
24443 @if sim
24444 maybe-install-strip-sim: install-strip-sim
24446 install-strip-sim: installdirs
24447 @: $(MAKE); $(unstage)
24448 @r=`${PWD_COMMAND}`; export r; \
24449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 $(HOST_EXPORTS) \
24451 (cd $(HOST_SUBDIR)/sim && \
24452 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24454 @endif sim
24456 # Other targets (info, dvi, pdf, etc.)
24458 .PHONY: maybe-info-sim info-sim
24459 maybe-info-sim:
24460 @if sim
24461 maybe-info-sim: info-sim
24463 info-sim: \
24464 configure-sim
24465 @: $(MAKE); $(unstage)
24466 @[ -f ./sim/Makefile ] || exit 0; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(HOST_EXPORTS) \
24470 for flag in $(EXTRA_HOST_FLAGS) ; do \
24471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24472 done; \
24473 echo "Doing info in sim" ; \
24474 (cd $(HOST_SUBDIR)/sim && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24479 info) \
24480 || exit 1
24482 @endif sim
24484 .PHONY: maybe-dvi-sim dvi-sim
24485 maybe-dvi-sim:
24486 @if sim
24487 maybe-dvi-sim: dvi-sim
24489 dvi-sim: \
24490 configure-sim
24491 @: $(MAKE); $(unstage)
24492 @[ -f ./sim/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing dvi in sim" ; \
24500 (cd $(HOST_SUBDIR)/sim && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24505 dvi) \
24506 || exit 1
24508 @endif sim
24510 .PHONY: maybe-pdf-sim pdf-sim
24511 maybe-pdf-sim:
24512 @if sim
24513 maybe-pdf-sim: pdf-sim
24515 pdf-sim: \
24516 configure-sim
24517 @: $(MAKE); $(unstage)
24518 @[ -f ./sim/Makefile ] || exit 0; \
24519 r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 $(HOST_EXPORTS) \
24522 for flag in $(EXTRA_HOST_FLAGS) ; do \
24523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24524 done; \
24525 echo "Doing pdf in sim" ; \
24526 (cd $(HOST_SUBDIR)/sim && \
24527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24529 "RANLIB=$${RANLIB}" \
24530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24531 pdf) \
24532 || exit 1
24534 @endif sim
24536 .PHONY: maybe-html-sim html-sim
24537 maybe-html-sim:
24538 @if sim
24539 maybe-html-sim: html-sim
24541 html-sim: \
24542 configure-sim
24543 @: $(MAKE); $(unstage)
24544 @[ -f ./sim/Makefile ] || exit 0; \
24545 r=`${PWD_COMMAND}`; export r; \
24546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24547 $(HOST_EXPORTS) \
24548 for flag in $(EXTRA_HOST_FLAGS) ; do \
24549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24550 done; \
24551 echo "Doing html in sim" ; \
24552 (cd $(HOST_SUBDIR)/sim && \
24553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24555 "RANLIB=$${RANLIB}" \
24556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24557 html) \
24558 || exit 1
24560 @endif sim
24562 .PHONY: maybe-TAGS-sim TAGS-sim
24563 maybe-TAGS-sim:
24564 @if sim
24565 maybe-TAGS-sim: TAGS-sim
24567 TAGS-sim: \
24568 configure-sim
24569 @: $(MAKE); $(unstage)
24570 @[ -f ./sim/Makefile ] || exit 0; \
24571 r=`${PWD_COMMAND}`; export r; \
24572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24573 $(HOST_EXPORTS) \
24574 for flag in $(EXTRA_HOST_FLAGS) ; do \
24575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24576 done; \
24577 echo "Doing TAGS in sim" ; \
24578 (cd $(HOST_SUBDIR)/sim && \
24579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24581 "RANLIB=$${RANLIB}" \
24582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24583 TAGS) \
24584 || exit 1
24586 @endif sim
24588 .PHONY: maybe-install-info-sim install-info-sim
24589 maybe-install-info-sim:
24590 @if sim
24591 maybe-install-info-sim: install-info-sim
24593 install-info-sim: \
24594 configure-sim \
24595 info-sim
24596 @: $(MAKE); $(unstage)
24597 @[ -f ./sim/Makefile ] || exit 0; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(HOST_EXPORTS) \
24601 for flag in $(EXTRA_HOST_FLAGS) ; do \
24602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24603 done; \
24604 echo "Doing install-info in sim" ; \
24605 (cd $(HOST_SUBDIR)/sim && \
24606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24608 "RANLIB=$${RANLIB}" \
24609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24610 install-info) \
24611 || exit 1
24613 @endif sim
24615 .PHONY: maybe-install-pdf-sim install-pdf-sim
24616 maybe-install-pdf-sim:
24617 @if sim
24618 maybe-install-pdf-sim: install-pdf-sim
24620 install-pdf-sim: \
24621 configure-sim \
24622 pdf-sim
24623 @: $(MAKE); $(unstage)
24624 @[ -f ./sim/Makefile ] || exit 0; \
24625 r=`${PWD_COMMAND}`; export r; \
24626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24627 $(HOST_EXPORTS) \
24628 for flag in $(EXTRA_HOST_FLAGS) ; do \
24629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24630 done; \
24631 echo "Doing install-pdf in sim" ; \
24632 (cd $(HOST_SUBDIR)/sim && \
24633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24635 "RANLIB=$${RANLIB}" \
24636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24637 install-pdf) \
24638 || exit 1
24640 @endif sim
24642 .PHONY: maybe-install-html-sim install-html-sim
24643 maybe-install-html-sim:
24644 @if sim
24645 maybe-install-html-sim: install-html-sim
24647 install-html-sim: \
24648 configure-sim \
24649 html-sim
24650 @: $(MAKE); $(unstage)
24651 @[ -f ./sim/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(HOST_EXPORTS) \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 done; \
24658 echo "Doing install-html in sim" ; \
24659 (cd $(HOST_SUBDIR)/sim && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24664 install-html) \
24665 || exit 1
24667 @endif sim
24669 .PHONY: maybe-installcheck-sim installcheck-sim
24670 maybe-installcheck-sim:
24671 @if sim
24672 maybe-installcheck-sim: installcheck-sim
24674 installcheck-sim: \
24675 configure-sim
24676 @: $(MAKE); $(unstage)
24677 @[ -f ./sim/Makefile ] || exit 0; \
24678 r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(HOST_EXPORTS) \
24681 for flag in $(EXTRA_HOST_FLAGS) ; do \
24682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24683 done; \
24684 echo "Doing installcheck in sim" ; \
24685 (cd $(HOST_SUBDIR)/sim && \
24686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688 "RANLIB=$${RANLIB}" \
24689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24690 installcheck) \
24691 || exit 1
24693 @endif sim
24695 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24696 maybe-mostlyclean-sim:
24697 @if sim
24698 maybe-mostlyclean-sim: mostlyclean-sim
24700 mostlyclean-sim:
24701 @: $(MAKE); $(unstage)
24702 @[ -f ./sim/Makefile ] || exit 0; \
24703 r=`${PWD_COMMAND}`; export r; \
24704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24705 $(HOST_EXPORTS) \
24706 for flag in $(EXTRA_HOST_FLAGS) ; do \
24707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24708 done; \
24709 echo "Doing mostlyclean in sim" ; \
24710 (cd $(HOST_SUBDIR)/sim && \
24711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24713 "RANLIB=$${RANLIB}" \
24714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24715 mostlyclean) \
24716 || exit 1
24718 @endif sim
24720 .PHONY: maybe-clean-sim clean-sim
24721 maybe-clean-sim:
24722 @if sim
24723 maybe-clean-sim: clean-sim
24725 clean-sim:
24726 @: $(MAKE); $(unstage)
24727 @[ -f ./sim/Makefile ] || exit 0; \
24728 r=`${PWD_COMMAND}`; export r; \
24729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 $(HOST_EXPORTS) \
24731 for flag in $(EXTRA_HOST_FLAGS) ; do \
24732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24733 done; \
24734 echo "Doing clean in sim" ; \
24735 (cd $(HOST_SUBDIR)/sim && \
24736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24738 "RANLIB=$${RANLIB}" \
24739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24740 clean) \
24741 || exit 1
24743 @endif sim
24745 .PHONY: maybe-distclean-sim distclean-sim
24746 maybe-distclean-sim:
24747 @if sim
24748 maybe-distclean-sim: distclean-sim
24750 distclean-sim:
24751 @: $(MAKE); $(unstage)
24752 @[ -f ./sim/Makefile ] || exit 0; \
24753 r=`${PWD_COMMAND}`; export r; \
24754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24755 $(HOST_EXPORTS) \
24756 for flag in $(EXTRA_HOST_FLAGS) ; do \
24757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24758 done; \
24759 echo "Doing distclean in sim" ; \
24760 (cd $(HOST_SUBDIR)/sim && \
24761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24763 "RANLIB=$${RANLIB}" \
24764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24765 distclean) \
24766 || exit 1
24768 @endif sim
24770 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24771 maybe-maintainer-clean-sim:
24772 @if sim
24773 maybe-maintainer-clean-sim: maintainer-clean-sim
24775 maintainer-clean-sim:
24776 @: $(MAKE); $(unstage)
24777 @[ -f ./sim/Makefile ] || exit 0; \
24778 r=`${PWD_COMMAND}`; export r; \
24779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24780 $(HOST_EXPORTS) \
24781 for flag in $(EXTRA_HOST_FLAGS) ; do \
24782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24783 done; \
24784 echo "Doing maintainer-clean in sim" ; \
24785 (cd $(HOST_SUBDIR)/sim && \
24786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24788 "RANLIB=$${RANLIB}" \
24789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24790 maintainer-clean) \
24791 || exit 1
24793 @endif sim
24797 .PHONY: configure-texinfo maybe-configure-texinfo
24798 maybe-configure-texinfo:
24799 @if gcc-bootstrap
24800 configure-texinfo: stage_current
24801 @endif gcc-bootstrap
24802 @if texinfo
24803 maybe-configure-texinfo: configure-texinfo
24804 configure-texinfo:
24805 @: $(MAKE); $(unstage)
24806 @r=`${PWD_COMMAND}`; export r; \
24807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24810 $(HOST_EXPORTS) \
24811 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24812 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24813 case $(srcdir) in \
24814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24815 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24817 esac; \
24818 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24819 libsrcdir="$$s/texinfo"; \
24820 $(SHELL) $${libsrcdir}/configure \
24821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24822 --target=${target_alias} $${srcdiroption} \
24823 || exit 1
24824 @endif texinfo
24830 .PHONY: all-texinfo maybe-all-texinfo
24831 maybe-all-texinfo:
24832 @if gcc-bootstrap
24833 all-texinfo: stage_current
24834 @endif gcc-bootstrap
24835 @if texinfo
24836 TARGET-texinfo=all
24837 maybe-all-texinfo: all-texinfo
24838 all-texinfo: configure-texinfo
24839 @: $(MAKE); $(unstage)
24840 @r=`${PWD_COMMAND}`; export r; \
24841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24842 $(HOST_EXPORTS) \
24843 (cd $(HOST_SUBDIR)/texinfo && \
24844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24845 $(TARGET-texinfo))
24846 @endif texinfo
24851 .PHONY: check-texinfo maybe-check-texinfo
24852 maybe-check-texinfo:
24853 @if texinfo
24854 maybe-check-texinfo: check-texinfo
24856 check-texinfo:
24857 @: $(MAKE); $(unstage)
24858 @r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 $(HOST_EXPORTS) \
24861 (cd $(HOST_SUBDIR)/texinfo && \
24862 $(MAKE) $(FLAGS_TO_PASS) check)
24864 @endif texinfo
24866 .PHONY: install-texinfo maybe-install-texinfo
24867 maybe-install-texinfo:
24868 @if texinfo
24869 maybe-install-texinfo: install-texinfo
24871 install-texinfo:
24873 @endif texinfo
24875 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24876 maybe-install-strip-texinfo:
24877 @if texinfo
24878 maybe-install-strip-texinfo: install-strip-texinfo
24880 install-strip-texinfo:
24882 @endif texinfo
24884 # Other targets (info, dvi, pdf, etc.)
24886 .PHONY: maybe-info-texinfo info-texinfo
24887 maybe-info-texinfo:
24888 @if texinfo
24889 maybe-info-texinfo: info-texinfo
24891 info-texinfo: \
24892 configure-texinfo
24893 @: $(MAKE); $(unstage)
24894 @[ -f ./texinfo/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing info in texinfo" ; \
24902 (cd $(HOST_SUBDIR)/texinfo && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24907 info) \
24908 || exit 1
24910 @endif texinfo
24912 .PHONY: maybe-dvi-texinfo dvi-texinfo
24913 maybe-dvi-texinfo:
24914 @if texinfo
24915 maybe-dvi-texinfo: dvi-texinfo
24917 dvi-texinfo: \
24918 configure-texinfo
24919 @: $(MAKE); $(unstage)
24920 @[ -f ./texinfo/Makefile ] || exit 0; \
24921 r=`${PWD_COMMAND}`; export r; \
24922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24923 $(HOST_EXPORTS) \
24924 for flag in $(EXTRA_HOST_FLAGS) ; do \
24925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24926 done; \
24927 echo "Doing dvi in texinfo" ; \
24928 (cd $(HOST_SUBDIR)/texinfo && \
24929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24931 "RANLIB=$${RANLIB}" \
24932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24933 dvi) \
24934 || exit 1
24936 @endif texinfo
24938 .PHONY: maybe-pdf-texinfo pdf-texinfo
24939 maybe-pdf-texinfo:
24940 @if texinfo
24941 maybe-pdf-texinfo: pdf-texinfo
24943 pdf-texinfo: \
24944 configure-texinfo
24945 @: $(MAKE); $(unstage)
24946 @[ -f ./texinfo/Makefile ] || exit 0; \
24947 r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 $(HOST_EXPORTS) \
24950 for flag in $(EXTRA_HOST_FLAGS) ; do \
24951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24952 done; \
24953 echo "Doing pdf in texinfo" ; \
24954 (cd $(HOST_SUBDIR)/texinfo && \
24955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24957 "RANLIB=$${RANLIB}" \
24958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24959 pdf) \
24960 || exit 1
24962 @endif texinfo
24964 .PHONY: maybe-html-texinfo html-texinfo
24965 maybe-html-texinfo:
24966 @if texinfo
24967 maybe-html-texinfo: html-texinfo
24969 html-texinfo: \
24970 configure-texinfo
24971 @: $(MAKE); $(unstage)
24972 @[ -f ./texinfo/Makefile ] || exit 0; \
24973 r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 for flag in $(EXTRA_HOST_FLAGS) ; do \
24977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24978 done; \
24979 echo "Doing html in texinfo" ; \
24980 (cd $(HOST_SUBDIR)/texinfo && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24985 html) \
24986 || exit 1
24988 @endif texinfo
24990 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24991 maybe-TAGS-texinfo:
24992 @if texinfo
24993 maybe-TAGS-texinfo: TAGS-texinfo
24995 TAGS-texinfo: \
24996 configure-texinfo
24997 @: $(MAKE); $(unstage)
24998 @[ -f ./texinfo/Makefile ] || exit 0; \
24999 r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 $(HOST_EXPORTS) \
25002 for flag in $(EXTRA_HOST_FLAGS) ; do \
25003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25004 done; \
25005 echo "Doing TAGS in texinfo" ; \
25006 (cd $(HOST_SUBDIR)/texinfo && \
25007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25009 "RANLIB=$${RANLIB}" \
25010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25011 TAGS) \
25012 || exit 1
25014 @endif texinfo
25016 .PHONY: maybe-install-info-texinfo install-info-texinfo
25017 maybe-install-info-texinfo:
25018 @if texinfo
25019 maybe-install-info-texinfo: install-info-texinfo
25021 install-info-texinfo: \
25022 configure-texinfo \
25023 info-texinfo
25024 @: $(MAKE); $(unstage)
25025 @[ -f ./texinfo/Makefile ] || exit 0; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028 $(HOST_EXPORTS) \
25029 for flag in $(EXTRA_HOST_FLAGS) ; do \
25030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25031 done; \
25032 echo "Doing install-info in texinfo" ; \
25033 (cd $(HOST_SUBDIR)/texinfo && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036 "RANLIB=$${RANLIB}" \
25037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25038 install-info) \
25039 || exit 1
25041 @endif texinfo
25043 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25044 maybe-install-pdf-texinfo:
25045 @if texinfo
25046 maybe-install-pdf-texinfo: install-pdf-texinfo
25048 install-pdf-texinfo: \
25049 configure-texinfo \
25050 pdf-texinfo
25051 @: $(MAKE); $(unstage)
25052 @[ -f ./texinfo/Makefile ] || exit 0; \
25053 r=`${PWD_COMMAND}`; export r; \
25054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 $(HOST_EXPORTS) \
25056 for flag in $(EXTRA_HOST_FLAGS) ; do \
25057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25058 done; \
25059 echo "Doing install-pdf in texinfo" ; \
25060 (cd $(HOST_SUBDIR)/texinfo && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25065 install-pdf) \
25066 || exit 1
25068 @endif texinfo
25070 .PHONY: maybe-install-html-texinfo install-html-texinfo
25071 maybe-install-html-texinfo:
25072 @if texinfo
25073 maybe-install-html-texinfo: install-html-texinfo
25075 install-html-texinfo: \
25076 configure-texinfo \
25077 html-texinfo
25078 @: $(MAKE); $(unstage)
25079 @[ -f ./texinfo/Makefile ] || exit 0; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(HOST_EXPORTS) \
25083 for flag in $(EXTRA_HOST_FLAGS) ; do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 echo "Doing install-html in texinfo" ; \
25087 (cd $(HOST_SUBDIR)/texinfo && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090 "RANLIB=$${RANLIB}" \
25091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25092 install-html) \
25093 || exit 1
25095 @endif texinfo
25097 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25098 maybe-installcheck-texinfo:
25099 @if texinfo
25100 maybe-installcheck-texinfo: installcheck-texinfo
25102 installcheck-texinfo: \
25103 configure-texinfo
25104 @: $(MAKE); $(unstage)
25105 @[ -f ./texinfo/Makefile ] || exit 0; \
25106 r=`${PWD_COMMAND}`; export r; \
25107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108 $(HOST_EXPORTS) \
25109 for flag in $(EXTRA_HOST_FLAGS) ; do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25111 done; \
25112 echo "Doing installcheck in texinfo" ; \
25113 (cd $(HOST_SUBDIR)/texinfo && \
25114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25116 "RANLIB=$${RANLIB}" \
25117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25118 installcheck) \
25119 || exit 1
25121 @endif texinfo
25123 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25124 maybe-mostlyclean-texinfo:
25125 @if texinfo
25126 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25128 mostlyclean-texinfo:
25129 @: $(MAKE); $(unstage)
25130 @[ -f ./texinfo/Makefile ] || exit 0; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 $(HOST_EXPORTS) \
25134 for flag in $(EXTRA_HOST_FLAGS) ; do \
25135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25136 done; \
25137 echo "Doing mostlyclean in texinfo" ; \
25138 (cd $(HOST_SUBDIR)/texinfo && \
25139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25141 "RANLIB=$${RANLIB}" \
25142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25143 mostlyclean) \
25144 || exit 1
25146 @endif texinfo
25148 .PHONY: maybe-clean-texinfo clean-texinfo
25149 maybe-clean-texinfo:
25150 @if texinfo
25151 maybe-clean-texinfo: clean-texinfo
25153 clean-texinfo:
25154 @: $(MAKE); $(unstage)
25155 @[ -f ./texinfo/Makefile ] || exit 0; \
25156 r=`${PWD_COMMAND}`; export r; \
25157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25158 $(HOST_EXPORTS) \
25159 for flag in $(EXTRA_HOST_FLAGS) ; do \
25160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25161 done; \
25162 echo "Doing clean in texinfo" ; \
25163 (cd $(HOST_SUBDIR)/texinfo && \
25164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25166 "RANLIB=$${RANLIB}" \
25167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25168 clean) \
25169 || exit 1
25171 @endif texinfo
25173 .PHONY: maybe-distclean-texinfo distclean-texinfo
25174 maybe-distclean-texinfo:
25175 @if texinfo
25176 maybe-distclean-texinfo: distclean-texinfo
25178 distclean-texinfo:
25179 @: $(MAKE); $(unstage)
25180 @[ -f ./texinfo/Makefile ] || exit 0; \
25181 r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 $(HOST_EXPORTS) \
25184 for flag in $(EXTRA_HOST_FLAGS) ; do \
25185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25186 done; \
25187 echo "Doing distclean in texinfo" ; \
25188 (cd $(HOST_SUBDIR)/texinfo && \
25189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25191 "RANLIB=$${RANLIB}" \
25192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25193 distclean) \
25194 || exit 1
25196 @endif texinfo
25198 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25199 maybe-maintainer-clean-texinfo:
25200 @if texinfo
25201 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25203 maintainer-clean-texinfo:
25204 @: $(MAKE); $(unstage)
25205 @[ -f ./texinfo/Makefile ] || exit 0; \
25206 r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(HOST_EXPORTS) \
25209 for flag in $(EXTRA_HOST_FLAGS) ; do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 echo "Doing maintainer-clean in texinfo" ; \
25213 (cd $(HOST_SUBDIR)/texinfo && \
25214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25216 "RANLIB=$${RANLIB}" \
25217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25218 maintainer-clean) \
25219 || exit 1
25221 @endif texinfo
25225 .PHONY: configure-zlib maybe-configure-zlib
25226 maybe-configure-zlib:
25227 @if gcc-bootstrap
25228 configure-zlib: stage_current
25229 @endif gcc-bootstrap
25230 @if zlib
25231 maybe-configure-zlib: configure-zlib
25232 configure-zlib:
25233 @r=`${PWD_COMMAND}`; export r; \
25234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25237 $(HOST_EXPORTS) \
25238 echo Configuring in $(HOST_SUBDIR)/zlib; \
25239 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25240 case $(srcdir) in \
25241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25242 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25244 esac; \
25245 srcdiroption="--srcdir=$${topdir}/zlib"; \
25246 libsrcdir="$$s/zlib"; \
25247 $(SHELL) $${libsrcdir}/configure \
25248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25249 --target=${target_alias} $${srcdiroption} \
25250 || exit 1
25251 @endif zlib
25255 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25256 maybe-configure-stage1-zlib:
25257 @if zlib-bootstrap
25258 maybe-configure-stage1-zlib: configure-stage1-zlib
25259 configure-stage1-zlib:
25260 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25262 @r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264 TFLAGS="$(STAGE1_TFLAGS)"; \
25265 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25266 $(HOST_EXPORTS) \
25267 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25268 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25269 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25270 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25272 cd $(HOST_SUBDIR)/zlib || exit 1; \
25273 case $(srcdir) in \
25274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25275 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25277 esac; \
25278 srcdiroption="--srcdir=$${topdir}/zlib"; \
25279 libsrcdir="$$s/zlib"; \
25280 $(SHELL) $${libsrcdir}/configure \
25281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25282 --target=${target_alias} $${srcdiroption} \
25283 $(STAGE1_CONFIGURE_FLAGS)
25284 @endif zlib-bootstrap
25286 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25287 maybe-configure-stage2-zlib:
25288 @if zlib-bootstrap
25289 maybe-configure-stage2-zlib: configure-stage2-zlib
25290 configure-stage2-zlib:
25291 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25293 @r=`${PWD_COMMAND}`; export r; \
25294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25295 TFLAGS="$(STAGE2_TFLAGS)"; \
25296 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25297 $(HOST_EXPORTS) \
25298 $(POSTSTAGE1_HOST_EXPORTS) \
25299 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25300 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25301 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25302 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25304 cd $(HOST_SUBDIR)/zlib || exit 1; \
25305 case $(srcdir) in \
25306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25307 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25309 esac; \
25310 srcdiroption="--srcdir=$${topdir}/zlib"; \
25311 libsrcdir="$$s/zlib"; \
25312 $(SHELL) $${libsrcdir}/configure \
25313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25314 --target=${target_alias} $${srcdiroption} \
25315 --with-build-libsubdir=$(HOST_SUBDIR) \
25316 $(STAGE2_CONFIGURE_FLAGS)
25317 @endif zlib-bootstrap
25319 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25320 maybe-configure-stage3-zlib:
25321 @if zlib-bootstrap
25322 maybe-configure-stage3-zlib: configure-stage3-zlib
25323 configure-stage3-zlib:
25324 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25326 @r=`${PWD_COMMAND}`; export r; \
25327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 TFLAGS="$(STAGE3_TFLAGS)"; \
25329 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25330 $(HOST_EXPORTS) \
25331 $(POSTSTAGE1_HOST_EXPORTS) \
25332 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25333 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25334 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25335 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25337 cd $(HOST_SUBDIR)/zlib || exit 1; \
25338 case $(srcdir) in \
25339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25340 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25342 esac; \
25343 srcdiroption="--srcdir=$${topdir}/zlib"; \
25344 libsrcdir="$$s/zlib"; \
25345 $(SHELL) $${libsrcdir}/configure \
25346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25347 --target=${target_alias} $${srcdiroption} \
25348 --with-build-libsubdir=$(HOST_SUBDIR) \
25349 $(STAGE3_CONFIGURE_FLAGS)
25350 @endif zlib-bootstrap
25352 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25353 maybe-configure-stage4-zlib:
25354 @if zlib-bootstrap
25355 maybe-configure-stage4-zlib: configure-stage4-zlib
25356 configure-stage4-zlib:
25357 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25359 @r=`${PWD_COMMAND}`; export r; \
25360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25361 TFLAGS="$(STAGE4_TFLAGS)"; \
25362 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25363 $(HOST_EXPORTS) \
25364 $(POSTSTAGE1_HOST_EXPORTS) \
25365 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25366 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25367 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25368 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25370 cd $(HOST_SUBDIR)/zlib || exit 1; \
25371 case $(srcdir) in \
25372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25373 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25375 esac; \
25376 srcdiroption="--srcdir=$${topdir}/zlib"; \
25377 libsrcdir="$$s/zlib"; \
25378 $(SHELL) $${libsrcdir}/configure \
25379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25380 --target=${target_alias} $${srcdiroption} \
25381 --with-build-libsubdir=$(HOST_SUBDIR) \
25382 $(STAGE4_CONFIGURE_FLAGS)
25383 @endif zlib-bootstrap
25385 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25386 maybe-configure-stageprofile-zlib:
25387 @if zlib-bootstrap
25388 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25389 configure-stageprofile-zlib:
25390 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25392 @r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25395 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25396 $(HOST_EXPORTS) \
25397 $(POSTSTAGE1_HOST_EXPORTS) \
25398 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25399 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25400 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25401 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25403 cd $(HOST_SUBDIR)/zlib || exit 1; \
25404 case $(srcdir) in \
25405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25406 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25408 esac; \
25409 srcdiroption="--srcdir=$${topdir}/zlib"; \
25410 libsrcdir="$$s/zlib"; \
25411 $(SHELL) $${libsrcdir}/configure \
25412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25413 --target=${target_alias} $${srcdiroption} \
25414 --with-build-libsubdir=$(HOST_SUBDIR) \
25415 $(STAGEprofile_CONFIGURE_FLAGS)
25416 @endif zlib-bootstrap
25418 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25419 maybe-configure-stagefeedback-zlib:
25420 @if zlib-bootstrap
25421 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25422 configure-stagefeedback-zlib:
25423 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25425 @r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25428 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25429 $(HOST_EXPORTS) \
25430 $(POSTSTAGE1_HOST_EXPORTS) \
25431 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25432 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25433 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25434 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25436 cd $(HOST_SUBDIR)/zlib || exit 1; \
25437 case $(srcdir) in \
25438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25439 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25441 esac; \
25442 srcdiroption="--srcdir=$${topdir}/zlib"; \
25443 libsrcdir="$$s/zlib"; \
25444 $(SHELL) $${libsrcdir}/configure \
25445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25446 --target=${target_alias} $${srcdiroption} \
25447 --with-build-libsubdir=$(HOST_SUBDIR) \
25448 $(STAGEfeedback_CONFIGURE_FLAGS)
25449 @endif zlib-bootstrap
25455 .PHONY: all-zlib maybe-all-zlib
25456 maybe-all-zlib:
25457 @if gcc-bootstrap
25458 all-zlib: stage_current
25459 @endif gcc-bootstrap
25460 @if zlib
25461 TARGET-zlib=all
25462 maybe-all-zlib: all-zlib
25463 all-zlib: configure-zlib
25464 @r=`${PWD_COMMAND}`; export r; \
25465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25466 $(HOST_EXPORTS) \
25467 (cd $(HOST_SUBDIR)/zlib && \
25468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25469 $(TARGET-zlib))
25470 @endif zlib
25474 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25475 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25476 maybe-all-stage1-zlib:
25477 maybe-clean-stage1-zlib:
25478 @if zlib-bootstrap
25479 maybe-all-stage1-zlib: all-stage1-zlib
25480 all-stage1: all-stage1-zlib
25481 TARGET-stage1-zlib = $(TARGET-zlib)
25482 all-stage1-zlib: configure-stage1-zlib
25483 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25484 @r=`${PWD_COMMAND}`; export r; \
25485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25486 TFLAGS="$(STAGE1_TFLAGS)"; \
25487 $(HOST_EXPORTS) \
25488 cd $(HOST_SUBDIR)/zlib && \
25489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25490 CFLAGS="$(STAGE1_CFLAGS)" \
25491 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25492 LIBCFLAGS="$(LIBCFLAGS)" \
25493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25496 $(EXTRA_HOST_FLAGS) \
25497 TFLAGS="$(STAGE1_TFLAGS)" \
25498 $(TARGET-stage1-zlib)
25500 maybe-clean-stage1-zlib: clean-stage1-zlib
25501 clean-stage1: clean-stage1-zlib
25502 clean-stage1-zlib:
25503 @if [ $(current_stage) = stage1 ]; then \
25504 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25505 else \
25506 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25507 $(MAKE) stage1-start; \
25508 fi; \
25509 cd $(HOST_SUBDIR)/zlib && \
25510 $(MAKE) $(EXTRA_HOST_FLAGS) \
25511 clean
25512 @endif zlib-bootstrap
25515 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25516 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25517 maybe-all-stage2-zlib:
25518 maybe-clean-stage2-zlib:
25519 @if zlib-bootstrap
25520 maybe-all-stage2-zlib: all-stage2-zlib
25521 all-stage2: all-stage2-zlib
25522 TARGET-stage2-zlib = $(TARGET-zlib)
25523 all-stage2-zlib: configure-stage2-zlib
25524 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25525 @r=`${PWD_COMMAND}`; export r; \
25526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25527 TFLAGS="$(STAGE2_TFLAGS)"; \
25528 $(HOST_EXPORTS) \
25529 $(POSTSTAGE1_HOST_EXPORTS) \
25530 cd $(HOST_SUBDIR)/zlib && \
25531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25532 CFLAGS="$(STAGE2_CFLAGS)" \
25533 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25534 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25539 TFLAGS="$(STAGE2_TFLAGS)" \
25540 $(TARGET-stage2-zlib)
25542 maybe-clean-stage2-zlib: clean-stage2-zlib
25543 clean-stage2: clean-stage2-zlib
25544 clean-stage2-zlib:
25545 @if [ $(current_stage) = stage2 ]; then \
25546 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25547 else \
25548 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25549 $(MAKE) stage2-start; \
25550 fi; \
25551 cd $(HOST_SUBDIR)/zlib && \
25552 $(MAKE) $(EXTRA_HOST_FLAGS) \
25553 $(POSTSTAGE1_FLAGS_TO_PASS) \
25554 clean
25555 @endif zlib-bootstrap
25558 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25559 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25560 maybe-all-stage3-zlib:
25561 maybe-clean-stage3-zlib:
25562 @if zlib-bootstrap
25563 maybe-all-stage3-zlib: all-stage3-zlib
25564 all-stage3: all-stage3-zlib
25565 TARGET-stage3-zlib = $(TARGET-zlib)
25566 all-stage3-zlib: configure-stage3-zlib
25567 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25568 @r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 TFLAGS="$(STAGE3_TFLAGS)"; \
25571 $(HOST_EXPORTS) \
25572 $(POSTSTAGE1_HOST_EXPORTS) \
25573 cd $(HOST_SUBDIR)/zlib && \
25574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25575 CFLAGS="$(STAGE3_CFLAGS)" \
25576 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25577 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25582 TFLAGS="$(STAGE3_TFLAGS)" \
25583 $(TARGET-stage3-zlib)
25585 maybe-clean-stage3-zlib: clean-stage3-zlib
25586 clean-stage3: clean-stage3-zlib
25587 clean-stage3-zlib:
25588 @if [ $(current_stage) = stage3 ]; then \
25589 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25590 else \
25591 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25592 $(MAKE) stage3-start; \
25593 fi; \
25594 cd $(HOST_SUBDIR)/zlib && \
25595 $(MAKE) $(EXTRA_HOST_FLAGS) \
25596 $(POSTSTAGE1_FLAGS_TO_PASS) \
25597 clean
25598 @endif zlib-bootstrap
25601 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25602 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25603 maybe-all-stage4-zlib:
25604 maybe-clean-stage4-zlib:
25605 @if zlib-bootstrap
25606 maybe-all-stage4-zlib: all-stage4-zlib
25607 all-stage4: all-stage4-zlib
25608 TARGET-stage4-zlib = $(TARGET-zlib)
25609 all-stage4-zlib: configure-stage4-zlib
25610 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25611 @r=`${PWD_COMMAND}`; export r; \
25612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25613 TFLAGS="$(STAGE4_TFLAGS)"; \
25614 $(HOST_EXPORTS) \
25615 $(POSTSTAGE1_HOST_EXPORTS) \
25616 cd $(HOST_SUBDIR)/zlib && \
25617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25618 CFLAGS="$(STAGE4_CFLAGS)" \
25619 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25620 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25625 TFLAGS="$(STAGE4_TFLAGS)" \
25626 $(TARGET-stage4-zlib)
25628 maybe-clean-stage4-zlib: clean-stage4-zlib
25629 clean-stage4: clean-stage4-zlib
25630 clean-stage4-zlib:
25631 @if [ $(current_stage) = stage4 ]; then \
25632 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25633 else \
25634 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25635 $(MAKE) stage4-start; \
25636 fi; \
25637 cd $(HOST_SUBDIR)/zlib && \
25638 $(MAKE) $(EXTRA_HOST_FLAGS) \
25639 $(POSTSTAGE1_FLAGS_TO_PASS) \
25640 clean
25641 @endif zlib-bootstrap
25644 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25645 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25646 maybe-all-stageprofile-zlib:
25647 maybe-clean-stageprofile-zlib:
25648 @if zlib-bootstrap
25649 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25650 all-stageprofile: all-stageprofile-zlib
25651 TARGET-stageprofile-zlib = $(TARGET-zlib)
25652 all-stageprofile-zlib: configure-stageprofile-zlib
25653 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25657 $(HOST_EXPORTS) \
25658 $(POSTSTAGE1_HOST_EXPORTS) \
25659 cd $(HOST_SUBDIR)/zlib && \
25660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25661 CFLAGS="$(STAGEprofile_CFLAGS)" \
25662 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25663 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25667 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25668 TFLAGS="$(STAGEprofile_TFLAGS)" \
25669 $(TARGET-stageprofile-zlib)
25671 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25672 clean-stageprofile: clean-stageprofile-zlib
25673 clean-stageprofile-zlib:
25674 @if [ $(current_stage) = stageprofile ]; then \
25675 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25676 else \
25677 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25678 $(MAKE) stageprofile-start; \
25679 fi; \
25680 cd $(HOST_SUBDIR)/zlib && \
25681 $(MAKE) $(EXTRA_HOST_FLAGS) \
25682 $(POSTSTAGE1_FLAGS_TO_PASS) \
25683 clean
25684 @endif zlib-bootstrap
25687 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25688 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25689 maybe-all-stagefeedback-zlib:
25690 maybe-clean-stagefeedback-zlib:
25691 @if zlib-bootstrap
25692 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25693 all-stagefeedback: all-stagefeedback-zlib
25694 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25695 all-stagefeedback-zlib: configure-stagefeedback-zlib
25696 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25697 @r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25700 $(HOST_EXPORTS) \
25701 $(POSTSTAGE1_HOST_EXPORTS) \
25702 cd $(HOST_SUBDIR)/zlib && \
25703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25704 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25705 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25706 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25710 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25711 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25712 $(TARGET-stagefeedback-zlib)
25714 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25715 clean-stagefeedback: clean-stagefeedback-zlib
25716 clean-stagefeedback-zlib:
25717 @if [ $(current_stage) = stagefeedback ]; then \
25718 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25719 else \
25720 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25721 $(MAKE) stagefeedback-start; \
25722 fi; \
25723 cd $(HOST_SUBDIR)/zlib && \
25724 $(MAKE) $(EXTRA_HOST_FLAGS) \
25725 $(POSTSTAGE1_FLAGS_TO_PASS) \
25726 clean
25727 @endif zlib-bootstrap
25733 .PHONY: check-zlib maybe-check-zlib
25734 maybe-check-zlib:
25735 @if zlib
25736 maybe-check-zlib: check-zlib
25738 check-zlib:
25740 @endif zlib
25742 .PHONY: install-zlib maybe-install-zlib
25743 maybe-install-zlib:
25744 @if zlib
25745 maybe-install-zlib: install-zlib
25747 install-zlib:
25749 @endif zlib
25751 .PHONY: install-strip-zlib maybe-install-strip-zlib
25752 maybe-install-strip-zlib:
25753 @if zlib
25754 maybe-install-strip-zlib: install-strip-zlib
25756 install-strip-zlib:
25758 @endif zlib
25760 # Other targets (info, dvi, pdf, etc.)
25762 .PHONY: maybe-info-zlib info-zlib
25763 maybe-info-zlib:
25764 @if zlib
25765 maybe-info-zlib: info-zlib
25767 info-zlib: \
25768 configure-zlib
25769 @[ -f ./zlib/Makefile ] || exit 0; \
25770 r=`${PWD_COMMAND}`; export r; \
25771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25772 $(HOST_EXPORTS) \
25773 for flag in $(EXTRA_HOST_FLAGS) ; do \
25774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25775 done; \
25776 echo "Doing info in zlib" ; \
25777 (cd $(HOST_SUBDIR)/zlib && \
25778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25780 "RANLIB=$${RANLIB}" \
25781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25782 info) \
25783 || exit 1
25785 @endif zlib
25787 .PHONY: maybe-dvi-zlib dvi-zlib
25788 maybe-dvi-zlib:
25789 @if zlib
25790 maybe-dvi-zlib: dvi-zlib
25792 dvi-zlib: \
25793 configure-zlib
25794 @[ -f ./zlib/Makefile ] || exit 0; \
25795 r=`${PWD_COMMAND}`; export r; \
25796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25797 $(HOST_EXPORTS) \
25798 for flag in $(EXTRA_HOST_FLAGS) ; do \
25799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25800 done; \
25801 echo "Doing dvi in zlib" ; \
25802 (cd $(HOST_SUBDIR)/zlib && \
25803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25805 "RANLIB=$${RANLIB}" \
25806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25807 dvi) \
25808 || exit 1
25810 @endif zlib
25812 .PHONY: maybe-pdf-zlib pdf-zlib
25813 maybe-pdf-zlib:
25814 @if zlib
25815 maybe-pdf-zlib: pdf-zlib
25817 pdf-zlib: \
25818 configure-zlib
25819 @[ -f ./zlib/Makefile ] || exit 0; \
25820 r=`${PWD_COMMAND}`; export r; \
25821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25822 $(HOST_EXPORTS) \
25823 for flag in $(EXTRA_HOST_FLAGS) ; do \
25824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25825 done; \
25826 echo "Doing pdf in zlib" ; \
25827 (cd $(HOST_SUBDIR)/zlib && \
25828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25830 "RANLIB=$${RANLIB}" \
25831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25832 pdf) \
25833 || exit 1
25835 @endif zlib
25837 .PHONY: maybe-html-zlib html-zlib
25838 maybe-html-zlib:
25839 @if zlib
25840 maybe-html-zlib: html-zlib
25842 html-zlib: \
25843 configure-zlib
25844 @[ -f ./zlib/Makefile ] || exit 0; \
25845 r=`${PWD_COMMAND}`; export r; \
25846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25847 $(HOST_EXPORTS) \
25848 for flag in $(EXTRA_HOST_FLAGS) ; do \
25849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25850 done; \
25851 echo "Doing html in zlib" ; \
25852 (cd $(HOST_SUBDIR)/zlib && \
25853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25855 "RANLIB=$${RANLIB}" \
25856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25857 html) \
25858 || exit 1
25860 @endif zlib
25862 .PHONY: maybe-TAGS-zlib TAGS-zlib
25863 maybe-TAGS-zlib:
25864 @if zlib
25865 maybe-TAGS-zlib: TAGS-zlib
25867 TAGS-zlib: \
25868 configure-zlib
25869 @[ -f ./zlib/Makefile ] || exit 0; \
25870 r=`${PWD_COMMAND}`; export r; \
25871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872 $(HOST_EXPORTS) \
25873 for flag in $(EXTRA_HOST_FLAGS) ; do \
25874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25875 done; \
25876 echo "Doing TAGS in zlib" ; \
25877 (cd $(HOST_SUBDIR)/zlib && \
25878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25880 "RANLIB=$${RANLIB}" \
25881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25882 TAGS) \
25883 || exit 1
25885 @endif zlib
25887 .PHONY: maybe-install-info-zlib install-info-zlib
25888 maybe-install-info-zlib:
25889 @if zlib
25890 maybe-install-info-zlib: install-info-zlib
25892 install-info-zlib: \
25893 configure-zlib \
25894 info-zlib
25895 @[ -f ./zlib/Makefile ] || exit 0; \
25896 r=`${PWD_COMMAND}`; export r; \
25897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25898 $(HOST_EXPORTS) \
25899 for flag in $(EXTRA_HOST_FLAGS) ; do \
25900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25901 done; \
25902 echo "Doing install-info in zlib" ; \
25903 (cd $(HOST_SUBDIR)/zlib && \
25904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25906 "RANLIB=$${RANLIB}" \
25907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25908 install-info) \
25909 || exit 1
25911 @endif zlib
25913 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25914 maybe-install-pdf-zlib:
25915 @if zlib
25916 maybe-install-pdf-zlib: install-pdf-zlib
25918 install-pdf-zlib: \
25919 configure-zlib \
25920 pdf-zlib
25921 @[ -f ./zlib/Makefile ] || exit 0; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 for flag in $(EXTRA_HOST_FLAGS) ; do \
25926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25927 done; \
25928 echo "Doing install-pdf in zlib" ; \
25929 (cd $(HOST_SUBDIR)/zlib && \
25930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25932 "RANLIB=$${RANLIB}" \
25933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25934 install-pdf) \
25935 || exit 1
25937 @endif zlib
25939 .PHONY: maybe-install-html-zlib install-html-zlib
25940 maybe-install-html-zlib:
25941 @if zlib
25942 maybe-install-html-zlib: install-html-zlib
25944 install-html-zlib: \
25945 configure-zlib \
25946 html-zlib
25947 @[ -f ./zlib/Makefile ] || exit 0; \
25948 r=`${PWD_COMMAND}`; export r; \
25949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25950 $(HOST_EXPORTS) \
25951 for flag in $(EXTRA_HOST_FLAGS) ; do \
25952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25953 done; \
25954 echo "Doing install-html in zlib" ; \
25955 (cd $(HOST_SUBDIR)/zlib && \
25956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25958 "RANLIB=$${RANLIB}" \
25959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25960 install-html) \
25961 || exit 1
25963 @endif zlib
25965 .PHONY: maybe-installcheck-zlib installcheck-zlib
25966 maybe-installcheck-zlib:
25967 @if zlib
25968 maybe-installcheck-zlib: installcheck-zlib
25970 installcheck-zlib: \
25971 configure-zlib
25972 @[ -f ./zlib/Makefile ] || exit 0; \
25973 r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975 $(HOST_EXPORTS) \
25976 for flag in $(EXTRA_HOST_FLAGS) ; do \
25977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25978 done; \
25979 echo "Doing installcheck in zlib" ; \
25980 (cd $(HOST_SUBDIR)/zlib && \
25981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25983 "RANLIB=$${RANLIB}" \
25984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25985 installcheck) \
25986 || exit 1
25988 @endif zlib
25990 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25991 maybe-mostlyclean-zlib:
25992 @if zlib
25993 maybe-mostlyclean-zlib: mostlyclean-zlib
25995 mostlyclean-zlib:
25996 @[ -f ./zlib/Makefile ] || exit 0; \
25997 r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999 $(HOST_EXPORTS) \
26000 for flag in $(EXTRA_HOST_FLAGS) ; do \
26001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26002 done; \
26003 echo "Doing mostlyclean in zlib" ; \
26004 (cd $(HOST_SUBDIR)/zlib && \
26005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26007 "RANLIB=$${RANLIB}" \
26008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26009 mostlyclean) \
26010 || exit 1
26012 @endif zlib
26014 .PHONY: maybe-clean-zlib clean-zlib
26015 maybe-clean-zlib:
26016 @if zlib
26017 maybe-clean-zlib: clean-zlib
26019 clean-zlib:
26020 @[ -f ./zlib/Makefile ] || exit 0; \
26021 r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(HOST_EXPORTS) \
26024 for flag in $(EXTRA_HOST_FLAGS) ; do \
26025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26026 done; \
26027 echo "Doing clean in zlib" ; \
26028 (cd $(HOST_SUBDIR)/zlib && \
26029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26031 "RANLIB=$${RANLIB}" \
26032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26033 clean) \
26034 || exit 1
26036 @endif zlib
26038 .PHONY: maybe-distclean-zlib distclean-zlib
26039 maybe-distclean-zlib:
26040 @if zlib
26041 maybe-distclean-zlib: distclean-zlib
26043 distclean-zlib:
26044 @[ -f ./zlib/Makefile ] || exit 0; \
26045 r=`${PWD_COMMAND}`; export r; \
26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(HOST_EXPORTS) \
26048 for flag in $(EXTRA_HOST_FLAGS) ; do \
26049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26050 done; \
26051 echo "Doing distclean in zlib" ; \
26052 (cd $(HOST_SUBDIR)/zlib && \
26053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26055 "RANLIB=$${RANLIB}" \
26056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26057 distclean) \
26058 || exit 1
26060 @endif zlib
26062 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26063 maybe-maintainer-clean-zlib:
26064 @if zlib
26065 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26067 maintainer-clean-zlib:
26068 @[ -f ./zlib/Makefile ] || exit 0; \
26069 r=`${PWD_COMMAND}`; export r; \
26070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26071 $(HOST_EXPORTS) \
26072 for flag in $(EXTRA_HOST_FLAGS) ; do \
26073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26074 done; \
26075 echo "Doing maintainer-clean in zlib" ; \
26076 (cd $(HOST_SUBDIR)/zlib && \
26077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26079 "RANLIB=$${RANLIB}" \
26080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26081 maintainer-clean) \
26082 || exit 1
26084 @endif zlib
26088 .PHONY: configure-gdb maybe-configure-gdb
26089 maybe-configure-gdb:
26090 @if gcc-bootstrap
26091 configure-gdb: stage_current
26092 @endif gcc-bootstrap
26093 @if gdb
26094 maybe-configure-gdb: configure-gdb
26095 configure-gdb:
26096 @: $(MAKE); $(unstage)
26097 @r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26101 $(HOST_EXPORTS) \
26102 echo Configuring in $(HOST_SUBDIR)/gdb; \
26103 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26104 case $(srcdir) in \
26105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26106 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26108 esac; \
26109 srcdiroption="--srcdir=$${topdir}/gdb"; \
26110 libsrcdir="$$s/gdb"; \
26111 $(SHELL) $${libsrcdir}/configure \
26112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26113 --target=${target_alias} $${srcdiroption} \
26114 || exit 1
26115 @endif gdb
26121 .PHONY: all-gdb maybe-all-gdb
26122 maybe-all-gdb:
26123 @if gcc-bootstrap
26124 all-gdb: stage_current
26125 @endif gcc-bootstrap
26126 @if gdb
26127 TARGET-gdb=all
26128 maybe-all-gdb: all-gdb
26129 all-gdb: configure-gdb
26130 @: $(MAKE); $(unstage)
26131 @r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 $(HOST_EXPORTS) \
26134 (cd $(HOST_SUBDIR)/gdb && \
26135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26136 $(TARGET-gdb))
26137 @endif gdb
26142 .PHONY: check-gdb maybe-check-gdb
26143 maybe-check-gdb:
26144 @if gdb
26145 maybe-check-gdb: check-gdb
26147 check-gdb:
26148 @: $(MAKE); $(unstage)
26149 @r=`${PWD_COMMAND}`; export r; \
26150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26151 $(HOST_EXPORTS) \
26152 (cd $(HOST_SUBDIR)/gdb && \
26153 $(MAKE) $(FLAGS_TO_PASS) check)
26155 @endif gdb
26157 .PHONY: install-gdb maybe-install-gdb
26158 maybe-install-gdb:
26159 @if gdb
26160 maybe-install-gdb: install-gdb
26162 install-gdb: installdirs
26163 @: $(MAKE); $(unstage)
26164 @r=`${PWD_COMMAND}`; export r; \
26165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26166 $(HOST_EXPORTS) \
26167 (cd $(HOST_SUBDIR)/gdb && \
26168 $(MAKE) $(FLAGS_TO_PASS) install)
26170 @endif gdb
26172 .PHONY: install-strip-gdb maybe-install-strip-gdb
26173 maybe-install-strip-gdb:
26174 @if gdb
26175 maybe-install-strip-gdb: install-strip-gdb
26177 install-strip-gdb: installdirs
26178 @: $(MAKE); $(unstage)
26179 @r=`${PWD_COMMAND}`; export r; \
26180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 $(HOST_EXPORTS) \
26182 (cd $(HOST_SUBDIR)/gdb && \
26183 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26185 @endif gdb
26187 # Other targets (info, dvi, pdf, etc.)
26189 .PHONY: maybe-info-gdb info-gdb
26190 maybe-info-gdb:
26191 @if gdb
26192 maybe-info-gdb: info-gdb
26194 info-gdb: \
26195 configure-gdb
26196 @: $(MAKE); $(unstage)
26197 @[ -f ./gdb/Makefile ] || exit 0; \
26198 r=`${PWD_COMMAND}`; export r; \
26199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26200 $(HOST_EXPORTS) \
26201 for flag in $(EXTRA_HOST_FLAGS) ; do \
26202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26203 done; \
26204 echo "Doing info in gdb" ; \
26205 (cd $(HOST_SUBDIR)/gdb && \
26206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26208 "RANLIB=$${RANLIB}" \
26209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26210 info) \
26211 || exit 1
26213 @endif gdb
26215 .PHONY: maybe-dvi-gdb dvi-gdb
26216 maybe-dvi-gdb:
26217 @if gdb
26218 maybe-dvi-gdb: dvi-gdb
26220 dvi-gdb: \
26221 configure-gdb
26222 @: $(MAKE); $(unstage)
26223 @[ -f ./gdb/Makefile ] || exit 0; \
26224 r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(HOST_EXPORTS) \
26227 for flag in $(EXTRA_HOST_FLAGS) ; do \
26228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26229 done; \
26230 echo "Doing dvi in gdb" ; \
26231 (cd $(HOST_SUBDIR)/gdb && \
26232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26234 "RANLIB=$${RANLIB}" \
26235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26236 dvi) \
26237 || exit 1
26239 @endif gdb
26241 .PHONY: maybe-pdf-gdb pdf-gdb
26242 maybe-pdf-gdb:
26243 @if gdb
26244 maybe-pdf-gdb: pdf-gdb
26246 pdf-gdb: \
26247 configure-gdb
26248 @: $(MAKE); $(unstage)
26249 @[ -f ./gdb/Makefile ] || exit 0; \
26250 r=`${PWD_COMMAND}`; export r; \
26251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26252 $(HOST_EXPORTS) \
26253 for flag in $(EXTRA_HOST_FLAGS) ; do \
26254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26255 done; \
26256 echo "Doing pdf in gdb" ; \
26257 (cd $(HOST_SUBDIR)/gdb && \
26258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26260 "RANLIB=$${RANLIB}" \
26261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26262 pdf) \
26263 || exit 1
26265 @endif gdb
26267 .PHONY: maybe-html-gdb html-gdb
26268 maybe-html-gdb:
26269 @if gdb
26270 maybe-html-gdb: html-gdb
26272 html-gdb: \
26273 configure-gdb
26274 @: $(MAKE); $(unstage)
26275 @[ -f ./gdb/Makefile ] || exit 0; \
26276 r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 $(HOST_EXPORTS) \
26279 for flag in $(EXTRA_HOST_FLAGS) ; do \
26280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26281 done; \
26282 echo "Doing html in gdb" ; \
26283 (cd $(HOST_SUBDIR)/gdb && \
26284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26286 "RANLIB=$${RANLIB}" \
26287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26288 html) \
26289 || exit 1
26291 @endif gdb
26293 .PHONY: maybe-TAGS-gdb TAGS-gdb
26294 maybe-TAGS-gdb:
26295 @if gdb
26296 maybe-TAGS-gdb: TAGS-gdb
26298 TAGS-gdb: \
26299 configure-gdb
26300 @: $(MAKE); $(unstage)
26301 @[ -f ./gdb/Makefile ] || exit 0; \
26302 r=`${PWD_COMMAND}`; export r; \
26303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26304 $(HOST_EXPORTS) \
26305 for flag in $(EXTRA_HOST_FLAGS) ; do \
26306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26307 done; \
26308 echo "Doing TAGS in gdb" ; \
26309 (cd $(HOST_SUBDIR)/gdb && \
26310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26312 "RANLIB=$${RANLIB}" \
26313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26314 TAGS) \
26315 || exit 1
26317 @endif gdb
26319 .PHONY: maybe-install-info-gdb install-info-gdb
26320 maybe-install-info-gdb:
26321 @if gdb
26322 maybe-install-info-gdb: install-info-gdb
26324 install-info-gdb: \
26325 configure-gdb \
26326 info-gdb
26327 @: $(MAKE); $(unstage)
26328 @[ -f ./gdb/Makefile ] || exit 0; \
26329 r=`${PWD_COMMAND}`; export r; \
26330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26331 $(HOST_EXPORTS) \
26332 for flag in $(EXTRA_HOST_FLAGS) ; do \
26333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26334 done; \
26335 echo "Doing install-info in gdb" ; \
26336 (cd $(HOST_SUBDIR)/gdb && \
26337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26339 "RANLIB=$${RANLIB}" \
26340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26341 install-info) \
26342 || exit 1
26344 @endif gdb
26346 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26347 maybe-install-pdf-gdb:
26348 @if gdb
26349 maybe-install-pdf-gdb: install-pdf-gdb
26351 install-pdf-gdb: \
26352 configure-gdb \
26353 pdf-gdb
26354 @: $(MAKE); $(unstage)
26355 @[ -f ./gdb/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing install-pdf in gdb" ; \
26363 (cd $(HOST_SUBDIR)/gdb && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26368 install-pdf) \
26369 || exit 1
26371 @endif gdb
26373 .PHONY: maybe-install-html-gdb install-html-gdb
26374 maybe-install-html-gdb:
26375 @if gdb
26376 maybe-install-html-gdb: install-html-gdb
26378 install-html-gdb: \
26379 configure-gdb \
26380 html-gdb
26381 @: $(MAKE); $(unstage)
26382 @[ -f ./gdb/Makefile ] || exit 0; \
26383 r=`${PWD_COMMAND}`; export r; \
26384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26385 $(HOST_EXPORTS) \
26386 for flag in $(EXTRA_HOST_FLAGS) ; do \
26387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26388 done; \
26389 echo "Doing install-html in gdb" ; \
26390 (cd $(HOST_SUBDIR)/gdb && \
26391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26393 "RANLIB=$${RANLIB}" \
26394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26395 install-html) \
26396 || exit 1
26398 @endif gdb
26400 .PHONY: maybe-installcheck-gdb installcheck-gdb
26401 maybe-installcheck-gdb:
26402 @if gdb
26403 maybe-installcheck-gdb: installcheck-gdb
26405 installcheck-gdb: \
26406 configure-gdb
26407 @: $(MAKE); $(unstage)
26408 @[ -f ./gdb/Makefile ] || exit 0; \
26409 r=`${PWD_COMMAND}`; export r; \
26410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26411 $(HOST_EXPORTS) \
26412 for flag in $(EXTRA_HOST_FLAGS) ; do \
26413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26414 done; \
26415 echo "Doing installcheck in gdb" ; \
26416 (cd $(HOST_SUBDIR)/gdb && \
26417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26419 "RANLIB=$${RANLIB}" \
26420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26421 installcheck) \
26422 || exit 1
26424 @endif gdb
26426 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26427 maybe-mostlyclean-gdb:
26428 @if gdb
26429 maybe-mostlyclean-gdb: mostlyclean-gdb
26431 mostlyclean-gdb:
26432 @: $(MAKE); $(unstage)
26433 @[ -f ./gdb/Makefile ] || exit 0; \
26434 r=`${PWD_COMMAND}`; export r; \
26435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26436 $(HOST_EXPORTS) \
26437 for flag in $(EXTRA_HOST_FLAGS) ; do \
26438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26439 done; \
26440 echo "Doing mostlyclean in gdb" ; \
26441 (cd $(HOST_SUBDIR)/gdb && \
26442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26444 "RANLIB=$${RANLIB}" \
26445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26446 mostlyclean) \
26447 || exit 1
26449 @endif gdb
26451 .PHONY: maybe-clean-gdb clean-gdb
26452 maybe-clean-gdb:
26453 @if gdb
26454 maybe-clean-gdb: clean-gdb
26456 clean-gdb:
26457 @: $(MAKE); $(unstage)
26458 @[ -f ./gdb/Makefile ] || exit 0; \
26459 r=`${PWD_COMMAND}`; export r; \
26460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26461 $(HOST_EXPORTS) \
26462 for flag in $(EXTRA_HOST_FLAGS) ; do \
26463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26464 done; \
26465 echo "Doing clean in gdb" ; \
26466 (cd $(HOST_SUBDIR)/gdb && \
26467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26469 "RANLIB=$${RANLIB}" \
26470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26471 clean) \
26472 || exit 1
26474 @endif gdb
26476 .PHONY: maybe-distclean-gdb distclean-gdb
26477 maybe-distclean-gdb:
26478 @if gdb
26479 maybe-distclean-gdb: distclean-gdb
26481 distclean-gdb:
26482 @: $(MAKE); $(unstage)
26483 @[ -f ./gdb/Makefile ] || exit 0; \
26484 r=`${PWD_COMMAND}`; export r; \
26485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26486 $(HOST_EXPORTS) \
26487 for flag in $(EXTRA_HOST_FLAGS) ; do \
26488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26489 done; \
26490 echo "Doing distclean in gdb" ; \
26491 (cd $(HOST_SUBDIR)/gdb && \
26492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26494 "RANLIB=$${RANLIB}" \
26495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26496 distclean) \
26497 || exit 1
26499 @endif gdb
26501 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26502 maybe-maintainer-clean-gdb:
26503 @if gdb
26504 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26506 maintainer-clean-gdb:
26507 @: $(MAKE); $(unstage)
26508 @[ -f ./gdb/Makefile ] || exit 0; \
26509 r=`${PWD_COMMAND}`; export r; \
26510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26511 $(HOST_EXPORTS) \
26512 for flag in $(EXTRA_HOST_FLAGS) ; do \
26513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26514 done; \
26515 echo "Doing maintainer-clean in gdb" ; \
26516 (cd $(HOST_SUBDIR)/gdb && \
26517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26519 "RANLIB=$${RANLIB}" \
26520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26521 maintainer-clean) \
26522 || exit 1
26524 @endif gdb
26528 .PHONY: configure-expect maybe-configure-expect
26529 maybe-configure-expect:
26530 @if gcc-bootstrap
26531 configure-expect: stage_current
26532 @endif gcc-bootstrap
26533 @if expect
26534 maybe-configure-expect: configure-expect
26535 configure-expect:
26536 @: $(MAKE); $(unstage)
26537 @r=`${PWD_COMMAND}`; export r; \
26538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26539 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26541 $(HOST_EXPORTS) \
26542 echo Configuring in $(HOST_SUBDIR)/expect; \
26543 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26544 case $(srcdir) in \
26545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26546 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26548 esac; \
26549 srcdiroption="--srcdir=$${topdir}/expect"; \
26550 libsrcdir="$$s/expect"; \
26551 $(SHELL) $${libsrcdir}/configure \
26552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26553 --target=${target_alias} $${srcdiroption} \
26554 || exit 1
26555 @endif expect
26561 .PHONY: all-expect maybe-all-expect
26562 maybe-all-expect:
26563 @if gcc-bootstrap
26564 all-expect: stage_current
26565 @endif gcc-bootstrap
26566 @if expect
26567 TARGET-expect=all
26568 maybe-all-expect: all-expect
26569 all-expect: configure-expect
26570 @: $(MAKE); $(unstage)
26571 @r=`${PWD_COMMAND}`; export r; \
26572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26573 $(HOST_EXPORTS) \
26574 (cd $(HOST_SUBDIR)/expect && \
26575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26576 $(TARGET-expect))
26577 @endif expect
26582 .PHONY: check-expect maybe-check-expect
26583 maybe-check-expect:
26584 @if expect
26585 maybe-check-expect: check-expect
26587 check-expect:
26588 @: $(MAKE); $(unstage)
26589 @r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(HOST_EXPORTS) \
26592 (cd $(HOST_SUBDIR)/expect && \
26593 $(MAKE) $(FLAGS_TO_PASS) check)
26595 @endif expect
26597 .PHONY: install-expect maybe-install-expect
26598 maybe-install-expect:
26599 @if expect
26600 maybe-install-expect: install-expect
26602 install-expect: installdirs
26603 @: $(MAKE); $(unstage)
26604 @r=`${PWD_COMMAND}`; export r; \
26605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606 $(HOST_EXPORTS) \
26607 (cd $(HOST_SUBDIR)/expect && \
26608 $(MAKE) $(FLAGS_TO_PASS) install)
26610 @endif expect
26612 .PHONY: install-strip-expect maybe-install-strip-expect
26613 maybe-install-strip-expect:
26614 @if expect
26615 maybe-install-strip-expect: install-strip-expect
26617 install-strip-expect: installdirs
26618 @: $(MAKE); $(unstage)
26619 @r=`${PWD_COMMAND}`; export r; \
26620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26621 $(HOST_EXPORTS) \
26622 (cd $(HOST_SUBDIR)/expect && \
26623 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26625 @endif expect
26627 # Other targets (info, dvi, pdf, etc.)
26629 .PHONY: maybe-info-expect info-expect
26630 maybe-info-expect:
26631 @if expect
26632 maybe-info-expect: info-expect
26634 info-expect: \
26635 configure-expect
26636 @: $(MAKE); $(unstage)
26637 @[ -f ./expect/Makefile ] || exit 0; \
26638 r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(HOST_EXPORTS) \
26641 for flag in $(EXTRA_HOST_FLAGS) ; do \
26642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26643 done; \
26644 echo "Doing info in expect" ; \
26645 (cd $(HOST_SUBDIR)/expect && \
26646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26648 "RANLIB=$${RANLIB}" \
26649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26650 info) \
26651 || exit 1
26653 @endif expect
26655 .PHONY: maybe-dvi-expect dvi-expect
26656 maybe-dvi-expect:
26657 @if expect
26658 maybe-dvi-expect: dvi-expect
26660 dvi-expect: \
26661 configure-expect
26662 @: $(MAKE); $(unstage)
26663 @[ -f ./expect/Makefile ] || exit 0; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(HOST_EXPORTS) \
26667 for flag in $(EXTRA_HOST_FLAGS) ; do \
26668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26669 done; \
26670 echo "Doing dvi in expect" ; \
26671 (cd $(HOST_SUBDIR)/expect && \
26672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26674 "RANLIB=$${RANLIB}" \
26675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26676 dvi) \
26677 || exit 1
26679 @endif expect
26681 .PHONY: maybe-pdf-expect pdf-expect
26682 maybe-pdf-expect:
26683 @if expect
26684 maybe-pdf-expect: pdf-expect
26686 pdf-expect: \
26687 configure-expect
26688 @: $(MAKE); $(unstage)
26689 @[ -f ./expect/Makefile ] || exit 0; \
26690 r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(HOST_EXPORTS) \
26693 for flag in $(EXTRA_HOST_FLAGS) ; do \
26694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26695 done; \
26696 echo "Doing pdf in expect" ; \
26697 (cd $(HOST_SUBDIR)/expect && \
26698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26700 "RANLIB=$${RANLIB}" \
26701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26702 pdf) \
26703 || exit 1
26705 @endif expect
26707 .PHONY: maybe-html-expect html-expect
26708 maybe-html-expect:
26709 @if expect
26710 maybe-html-expect: html-expect
26712 html-expect: \
26713 configure-expect
26714 @: $(MAKE); $(unstage)
26715 @[ -f ./expect/Makefile ] || exit 0; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 for flag in $(EXTRA_HOST_FLAGS) ; do \
26720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26721 done; \
26722 echo "Doing html in expect" ; \
26723 (cd $(HOST_SUBDIR)/expect && \
26724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26726 "RANLIB=$${RANLIB}" \
26727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26728 html) \
26729 || exit 1
26731 @endif expect
26733 .PHONY: maybe-TAGS-expect TAGS-expect
26734 maybe-TAGS-expect:
26735 @if expect
26736 maybe-TAGS-expect: TAGS-expect
26738 TAGS-expect: \
26739 configure-expect
26740 @: $(MAKE); $(unstage)
26741 @[ -f ./expect/Makefile ] || exit 0; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 $(HOST_EXPORTS) \
26745 for flag in $(EXTRA_HOST_FLAGS) ; do \
26746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26747 done; \
26748 echo "Doing TAGS in expect" ; \
26749 (cd $(HOST_SUBDIR)/expect && \
26750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26752 "RANLIB=$${RANLIB}" \
26753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26754 TAGS) \
26755 || exit 1
26757 @endif expect
26759 .PHONY: maybe-install-info-expect install-info-expect
26760 maybe-install-info-expect:
26761 @if expect
26762 maybe-install-info-expect: install-info-expect
26764 install-info-expect: \
26765 configure-expect \
26766 info-expect
26767 @: $(MAKE); $(unstage)
26768 @[ -f ./expect/Makefile ] || exit 0; \
26769 r=`${PWD_COMMAND}`; export r; \
26770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26771 $(HOST_EXPORTS) \
26772 for flag in $(EXTRA_HOST_FLAGS) ; do \
26773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26774 done; \
26775 echo "Doing install-info in expect" ; \
26776 (cd $(HOST_SUBDIR)/expect && \
26777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26779 "RANLIB=$${RANLIB}" \
26780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26781 install-info) \
26782 || exit 1
26784 @endif expect
26786 .PHONY: maybe-install-pdf-expect install-pdf-expect
26787 maybe-install-pdf-expect:
26788 @if expect
26789 maybe-install-pdf-expect: install-pdf-expect
26791 install-pdf-expect: \
26792 configure-expect \
26793 pdf-expect
26794 @: $(MAKE); $(unstage)
26795 @[ -f ./expect/Makefile ] || exit 0; \
26796 r=`${PWD_COMMAND}`; export r; \
26797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26798 $(HOST_EXPORTS) \
26799 for flag in $(EXTRA_HOST_FLAGS) ; do \
26800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26801 done; \
26802 echo "Doing install-pdf in expect" ; \
26803 (cd $(HOST_SUBDIR)/expect && \
26804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26806 "RANLIB=$${RANLIB}" \
26807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26808 install-pdf) \
26809 || exit 1
26811 @endif expect
26813 .PHONY: maybe-install-html-expect install-html-expect
26814 maybe-install-html-expect:
26815 @if expect
26816 maybe-install-html-expect: install-html-expect
26818 install-html-expect: \
26819 configure-expect \
26820 html-expect
26821 @: $(MAKE); $(unstage)
26822 @[ -f ./expect/Makefile ] || exit 0; \
26823 r=`${PWD_COMMAND}`; export r; \
26824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26825 $(HOST_EXPORTS) \
26826 for flag in $(EXTRA_HOST_FLAGS) ; do \
26827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26828 done; \
26829 echo "Doing install-html in expect" ; \
26830 (cd $(HOST_SUBDIR)/expect && \
26831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26833 "RANLIB=$${RANLIB}" \
26834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26835 install-html) \
26836 || exit 1
26838 @endif expect
26840 .PHONY: maybe-installcheck-expect installcheck-expect
26841 maybe-installcheck-expect:
26842 @if expect
26843 maybe-installcheck-expect: installcheck-expect
26845 installcheck-expect: \
26846 configure-expect
26847 @: $(MAKE); $(unstage)
26848 @[ -f ./expect/Makefile ] || exit 0; \
26849 r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 $(HOST_EXPORTS) \
26852 for flag in $(EXTRA_HOST_FLAGS) ; do \
26853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26854 done; \
26855 echo "Doing installcheck in expect" ; \
26856 (cd $(HOST_SUBDIR)/expect && \
26857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26859 "RANLIB=$${RANLIB}" \
26860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26861 installcheck) \
26862 || exit 1
26864 @endif expect
26866 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26867 maybe-mostlyclean-expect:
26868 @if expect
26869 maybe-mostlyclean-expect: mostlyclean-expect
26871 mostlyclean-expect:
26872 @: $(MAKE); $(unstage)
26873 @[ -f ./expect/Makefile ] || exit 0; \
26874 r=`${PWD_COMMAND}`; export r; \
26875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876 $(HOST_EXPORTS) \
26877 for flag in $(EXTRA_HOST_FLAGS) ; do \
26878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26879 done; \
26880 echo "Doing mostlyclean in expect" ; \
26881 (cd $(HOST_SUBDIR)/expect && \
26882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884 "RANLIB=$${RANLIB}" \
26885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26886 mostlyclean) \
26887 || exit 1
26889 @endif expect
26891 .PHONY: maybe-clean-expect clean-expect
26892 maybe-clean-expect:
26893 @if expect
26894 maybe-clean-expect: clean-expect
26896 clean-expect:
26897 @: $(MAKE); $(unstage)
26898 @[ -f ./expect/Makefile ] || exit 0; \
26899 r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 $(HOST_EXPORTS) \
26902 for flag in $(EXTRA_HOST_FLAGS) ; do \
26903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26904 done; \
26905 echo "Doing clean in expect" ; \
26906 (cd $(HOST_SUBDIR)/expect && \
26907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26909 "RANLIB=$${RANLIB}" \
26910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26911 clean) \
26912 || exit 1
26914 @endif expect
26916 .PHONY: maybe-distclean-expect distclean-expect
26917 maybe-distclean-expect:
26918 @if expect
26919 maybe-distclean-expect: distclean-expect
26921 distclean-expect:
26922 @: $(MAKE); $(unstage)
26923 @[ -f ./expect/Makefile ] || exit 0; \
26924 r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 $(HOST_EXPORTS) \
26927 for flag in $(EXTRA_HOST_FLAGS) ; do \
26928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26929 done; \
26930 echo "Doing distclean in expect" ; \
26931 (cd $(HOST_SUBDIR)/expect && \
26932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26934 "RANLIB=$${RANLIB}" \
26935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26936 distclean) \
26937 || exit 1
26939 @endif expect
26941 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26942 maybe-maintainer-clean-expect:
26943 @if expect
26944 maybe-maintainer-clean-expect: maintainer-clean-expect
26946 maintainer-clean-expect:
26947 @: $(MAKE); $(unstage)
26948 @[ -f ./expect/Makefile ] || exit 0; \
26949 r=`${PWD_COMMAND}`; export r; \
26950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26951 $(HOST_EXPORTS) \
26952 for flag in $(EXTRA_HOST_FLAGS) ; do \
26953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26954 done; \
26955 echo "Doing maintainer-clean in expect" ; \
26956 (cd $(HOST_SUBDIR)/expect && \
26957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26959 "RANLIB=$${RANLIB}" \
26960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26961 maintainer-clean) \
26962 || exit 1
26964 @endif expect
26968 .PHONY: configure-guile maybe-configure-guile
26969 maybe-configure-guile:
26970 @if gcc-bootstrap
26971 configure-guile: stage_current
26972 @endif gcc-bootstrap
26973 @if guile
26974 maybe-configure-guile: configure-guile
26975 configure-guile:
26976 @: $(MAKE); $(unstage)
26977 @r=`${PWD_COMMAND}`; export r; \
26978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26981 $(HOST_EXPORTS) \
26982 echo Configuring in $(HOST_SUBDIR)/guile; \
26983 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26984 case $(srcdir) in \
26985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26986 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26988 esac; \
26989 srcdiroption="--srcdir=$${topdir}/guile"; \
26990 libsrcdir="$$s/guile"; \
26991 $(SHELL) $${libsrcdir}/configure \
26992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26993 --target=${target_alias} $${srcdiroption} \
26994 || exit 1
26995 @endif guile
27001 .PHONY: all-guile maybe-all-guile
27002 maybe-all-guile:
27003 @if gcc-bootstrap
27004 all-guile: stage_current
27005 @endif gcc-bootstrap
27006 @if guile
27007 TARGET-guile=all
27008 maybe-all-guile: all-guile
27009 all-guile: configure-guile
27010 @: $(MAKE); $(unstage)
27011 @r=`${PWD_COMMAND}`; export r; \
27012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(HOST_EXPORTS) \
27014 (cd $(HOST_SUBDIR)/guile && \
27015 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27016 $(TARGET-guile))
27017 @endif guile
27022 .PHONY: check-guile maybe-check-guile
27023 maybe-check-guile:
27024 @if guile
27025 maybe-check-guile: check-guile
27027 check-guile:
27028 @: $(MAKE); $(unstage)
27029 @r=`${PWD_COMMAND}`; export r; \
27030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27031 $(HOST_EXPORTS) \
27032 (cd $(HOST_SUBDIR)/guile && \
27033 $(MAKE) $(FLAGS_TO_PASS) check)
27035 @endif guile
27037 .PHONY: install-guile maybe-install-guile
27038 maybe-install-guile:
27039 @if guile
27040 maybe-install-guile: install-guile
27042 install-guile: installdirs
27043 @: $(MAKE); $(unstage)
27044 @r=`${PWD_COMMAND}`; export r; \
27045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27046 $(HOST_EXPORTS) \
27047 (cd $(HOST_SUBDIR)/guile && \
27048 $(MAKE) $(FLAGS_TO_PASS) install)
27050 @endif guile
27052 .PHONY: install-strip-guile maybe-install-strip-guile
27053 maybe-install-strip-guile:
27054 @if guile
27055 maybe-install-strip-guile: install-strip-guile
27057 install-strip-guile: installdirs
27058 @: $(MAKE); $(unstage)
27059 @r=`${PWD_COMMAND}`; export r; \
27060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27061 $(HOST_EXPORTS) \
27062 (cd $(HOST_SUBDIR)/guile && \
27063 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27065 @endif guile
27067 # Other targets (info, dvi, pdf, etc.)
27069 .PHONY: maybe-info-guile info-guile
27070 maybe-info-guile:
27071 @if guile
27072 maybe-info-guile: info-guile
27074 info-guile: \
27075 configure-guile
27076 @: $(MAKE); $(unstage)
27077 @[ -f ./guile/Makefile ] || exit 0; \
27078 r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 $(HOST_EXPORTS) \
27081 for flag in $(EXTRA_HOST_FLAGS) ; do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 done; \
27084 echo "Doing info in guile" ; \
27085 (cd $(HOST_SUBDIR)/guile && \
27086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27088 "RANLIB=$${RANLIB}" \
27089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27090 info) \
27091 || exit 1
27093 @endif guile
27095 .PHONY: maybe-dvi-guile dvi-guile
27096 maybe-dvi-guile:
27097 @if guile
27098 maybe-dvi-guile: dvi-guile
27100 dvi-guile: \
27101 configure-guile
27102 @: $(MAKE); $(unstage)
27103 @[ -f ./guile/Makefile ] || exit 0; \
27104 r=`${PWD_COMMAND}`; export r; \
27105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27106 $(HOST_EXPORTS) \
27107 for flag in $(EXTRA_HOST_FLAGS) ; do \
27108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27109 done; \
27110 echo "Doing dvi in guile" ; \
27111 (cd $(HOST_SUBDIR)/guile && \
27112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27114 "RANLIB=$${RANLIB}" \
27115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27116 dvi) \
27117 || exit 1
27119 @endif guile
27121 .PHONY: maybe-pdf-guile pdf-guile
27122 maybe-pdf-guile:
27123 @if guile
27124 maybe-pdf-guile: pdf-guile
27126 pdf-guile: \
27127 configure-guile
27128 @: $(MAKE); $(unstage)
27129 @[ -f ./guile/Makefile ] || exit 0; \
27130 r=`${PWD_COMMAND}`; export r; \
27131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(HOST_EXPORTS) \
27133 for flag in $(EXTRA_HOST_FLAGS) ; do \
27134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27135 done; \
27136 echo "Doing pdf in guile" ; \
27137 (cd $(HOST_SUBDIR)/guile && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27142 pdf) \
27143 || exit 1
27145 @endif guile
27147 .PHONY: maybe-html-guile html-guile
27148 maybe-html-guile:
27149 @if guile
27150 maybe-html-guile: html-guile
27152 html-guile: \
27153 configure-guile
27154 @: $(MAKE); $(unstage)
27155 @[ -f ./guile/Makefile ] || exit 0; \
27156 r=`${PWD_COMMAND}`; export r; \
27157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27158 $(HOST_EXPORTS) \
27159 for flag in $(EXTRA_HOST_FLAGS) ; do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27161 done; \
27162 echo "Doing html in guile" ; \
27163 (cd $(HOST_SUBDIR)/guile && \
27164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27166 "RANLIB=$${RANLIB}" \
27167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27168 html) \
27169 || exit 1
27171 @endif guile
27173 .PHONY: maybe-TAGS-guile TAGS-guile
27174 maybe-TAGS-guile:
27175 @if guile
27176 maybe-TAGS-guile: TAGS-guile
27178 TAGS-guile: \
27179 configure-guile
27180 @: $(MAKE); $(unstage)
27181 @[ -f ./guile/Makefile ] || exit 0; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 for flag in $(EXTRA_HOST_FLAGS) ; do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 echo "Doing TAGS in guile" ; \
27189 (cd $(HOST_SUBDIR)/guile && \
27190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27192 "RANLIB=$${RANLIB}" \
27193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27194 TAGS) \
27195 || exit 1
27197 @endif guile
27199 .PHONY: maybe-install-info-guile install-info-guile
27200 maybe-install-info-guile:
27201 @if guile
27202 maybe-install-info-guile: install-info-guile
27204 install-info-guile: \
27205 configure-guile \
27206 info-guile
27207 @: $(MAKE); $(unstage)
27208 @[ -f ./guile/Makefile ] || exit 0; \
27209 r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 $(HOST_EXPORTS) \
27212 for flag in $(EXTRA_HOST_FLAGS) ; do \
27213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27214 done; \
27215 echo "Doing install-info in guile" ; \
27216 (cd $(HOST_SUBDIR)/guile && \
27217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27219 "RANLIB=$${RANLIB}" \
27220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27221 install-info) \
27222 || exit 1
27224 @endif guile
27226 .PHONY: maybe-install-pdf-guile install-pdf-guile
27227 maybe-install-pdf-guile:
27228 @if guile
27229 maybe-install-pdf-guile: install-pdf-guile
27231 install-pdf-guile: \
27232 configure-guile \
27233 pdf-guile
27234 @: $(MAKE); $(unstage)
27235 @[ -f ./guile/Makefile ] || exit 0; \
27236 r=`${PWD_COMMAND}`; export r; \
27237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27238 $(HOST_EXPORTS) \
27239 for flag in $(EXTRA_HOST_FLAGS) ; do \
27240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27241 done; \
27242 echo "Doing install-pdf in guile" ; \
27243 (cd $(HOST_SUBDIR)/guile && \
27244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27246 "RANLIB=$${RANLIB}" \
27247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27248 install-pdf) \
27249 || exit 1
27251 @endif guile
27253 .PHONY: maybe-install-html-guile install-html-guile
27254 maybe-install-html-guile:
27255 @if guile
27256 maybe-install-html-guile: install-html-guile
27258 install-html-guile: \
27259 configure-guile \
27260 html-guile
27261 @: $(MAKE); $(unstage)
27262 @[ -f ./guile/Makefile ] || exit 0; \
27263 r=`${PWD_COMMAND}`; export r; \
27264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27265 $(HOST_EXPORTS) \
27266 for flag in $(EXTRA_HOST_FLAGS) ; do \
27267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27268 done; \
27269 echo "Doing install-html in guile" ; \
27270 (cd $(HOST_SUBDIR)/guile && \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27273 "RANLIB=$${RANLIB}" \
27274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27275 install-html) \
27276 || exit 1
27278 @endif guile
27280 .PHONY: maybe-installcheck-guile installcheck-guile
27281 maybe-installcheck-guile:
27282 @if guile
27283 maybe-installcheck-guile: installcheck-guile
27285 installcheck-guile: \
27286 configure-guile
27287 @: $(MAKE); $(unstage)
27288 @[ -f ./guile/Makefile ] || exit 0; \
27289 r=`${PWD_COMMAND}`; export r; \
27290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(HOST_EXPORTS) \
27292 for flag in $(EXTRA_HOST_FLAGS) ; do \
27293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27294 done; \
27295 echo "Doing installcheck in guile" ; \
27296 (cd $(HOST_SUBDIR)/guile && \
27297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27299 "RANLIB=$${RANLIB}" \
27300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27301 installcheck) \
27302 || exit 1
27304 @endif guile
27306 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27307 maybe-mostlyclean-guile:
27308 @if guile
27309 maybe-mostlyclean-guile: mostlyclean-guile
27311 mostlyclean-guile:
27312 @: $(MAKE); $(unstage)
27313 @[ -f ./guile/Makefile ] || exit 0; \
27314 r=`${PWD_COMMAND}`; export r; \
27315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27316 $(HOST_EXPORTS) \
27317 for flag in $(EXTRA_HOST_FLAGS) ; do \
27318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27319 done; \
27320 echo "Doing mostlyclean in guile" ; \
27321 (cd $(HOST_SUBDIR)/guile && \
27322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27324 "RANLIB=$${RANLIB}" \
27325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27326 mostlyclean) \
27327 || exit 1
27329 @endif guile
27331 .PHONY: maybe-clean-guile clean-guile
27332 maybe-clean-guile:
27333 @if guile
27334 maybe-clean-guile: clean-guile
27336 clean-guile:
27337 @: $(MAKE); $(unstage)
27338 @[ -f ./guile/Makefile ] || exit 0; \
27339 r=`${PWD_COMMAND}`; export r; \
27340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27341 $(HOST_EXPORTS) \
27342 for flag in $(EXTRA_HOST_FLAGS) ; do \
27343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27344 done; \
27345 echo "Doing clean in guile" ; \
27346 (cd $(HOST_SUBDIR)/guile && \
27347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27349 "RANLIB=$${RANLIB}" \
27350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27351 clean) \
27352 || exit 1
27354 @endif guile
27356 .PHONY: maybe-distclean-guile distclean-guile
27357 maybe-distclean-guile:
27358 @if guile
27359 maybe-distclean-guile: distclean-guile
27361 distclean-guile:
27362 @: $(MAKE); $(unstage)
27363 @[ -f ./guile/Makefile ] || exit 0; \
27364 r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(HOST_EXPORTS) \
27367 for flag in $(EXTRA_HOST_FLAGS) ; do \
27368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27369 done; \
27370 echo "Doing distclean in guile" ; \
27371 (cd $(HOST_SUBDIR)/guile && \
27372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27374 "RANLIB=$${RANLIB}" \
27375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27376 distclean) \
27377 || exit 1
27379 @endif guile
27381 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27382 maybe-maintainer-clean-guile:
27383 @if guile
27384 maybe-maintainer-clean-guile: maintainer-clean-guile
27386 maintainer-clean-guile:
27387 @: $(MAKE); $(unstage)
27388 @[ -f ./guile/Makefile ] || exit 0; \
27389 r=`${PWD_COMMAND}`; export r; \
27390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 $(HOST_EXPORTS) \
27392 for flag in $(EXTRA_HOST_FLAGS) ; do \
27393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27394 done; \
27395 echo "Doing maintainer-clean in guile" ; \
27396 (cd $(HOST_SUBDIR)/guile && \
27397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27399 "RANLIB=$${RANLIB}" \
27400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27401 maintainer-clean) \
27402 || exit 1
27404 @endif guile
27408 .PHONY: configure-tk maybe-configure-tk
27409 maybe-configure-tk:
27410 @if gcc-bootstrap
27411 configure-tk: stage_current
27412 @endif gcc-bootstrap
27413 @if tk
27414 maybe-configure-tk: configure-tk
27415 configure-tk:
27416 @: $(MAKE); $(unstage)
27417 @r=`${PWD_COMMAND}`; export r; \
27418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27419 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27421 $(HOST_EXPORTS) \
27422 echo Configuring in $(HOST_SUBDIR)/tk; \
27423 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27424 case $(srcdir) in \
27425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27426 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27428 esac; \
27429 srcdiroption="--srcdir=$${topdir}/tk"; \
27430 libsrcdir="$$s/tk"; \
27431 $(SHELL) $${libsrcdir}/configure \
27432 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27433 --target=${target_alias} $${srcdiroption} \
27434 || exit 1
27435 @endif tk
27441 .PHONY: all-tk maybe-all-tk
27442 maybe-all-tk:
27443 @if gcc-bootstrap
27444 all-tk: stage_current
27445 @endif gcc-bootstrap
27446 @if tk
27447 TARGET-tk=all
27448 maybe-all-tk: all-tk
27449 all-tk: configure-tk
27450 @: $(MAKE); $(unstage)
27451 @r=`${PWD_COMMAND}`; export r; \
27452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27453 $(HOST_EXPORTS) \
27454 (cd $(HOST_SUBDIR)/tk && \
27455 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27456 $(TARGET-tk))
27457 @endif tk
27462 .PHONY: check-tk maybe-check-tk
27463 maybe-check-tk:
27464 @if tk
27465 maybe-check-tk: check-tk
27467 check-tk:
27468 @: $(MAKE); $(unstage)
27469 @r=`${PWD_COMMAND}`; export r; \
27470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27471 $(HOST_EXPORTS) \
27472 (cd $(HOST_SUBDIR)/tk && \
27473 $(MAKE) $(FLAGS_TO_PASS) check)
27475 @endif tk
27477 .PHONY: install-tk maybe-install-tk
27478 maybe-install-tk:
27479 @if tk
27480 maybe-install-tk: install-tk
27482 install-tk: installdirs
27483 @: $(MAKE); $(unstage)
27484 @r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(HOST_EXPORTS) \
27487 (cd $(HOST_SUBDIR)/tk && \
27488 $(MAKE) $(FLAGS_TO_PASS) install)
27490 @endif tk
27492 .PHONY: install-strip-tk maybe-install-strip-tk
27493 maybe-install-strip-tk:
27494 @if tk
27495 maybe-install-strip-tk: install-strip-tk
27497 install-strip-tk: installdirs
27498 @: $(MAKE); $(unstage)
27499 @r=`${PWD_COMMAND}`; export r; \
27500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27501 $(HOST_EXPORTS) \
27502 (cd $(HOST_SUBDIR)/tk && \
27503 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27505 @endif tk
27507 # Other targets (info, dvi, pdf, etc.)
27509 .PHONY: maybe-info-tk info-tk
27510 maybe-info-tk:
27511 @if tk
27512 maybe-info-tk: info-tk
27514 info-tk: \
27515 configure-tk
27516 @: $(MAKE); $(unstage)
27517 @[ -f ./tk/Makefile ] || exit 0; \
27518 r=`${PWD_COMMAND}`; export r; \
27519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27520 $(HOST_EXPORTS) \
27521 for flag in $(EXTRA_HOST_FLAGS) ; do \
27522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27523 done; \
27524 echo "Doing info in tk" ; \
27525 (cd $(HOST_SUBDIR)/tk && \
27526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27528 "RANLIB=$${RANLIB}" \
27529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27530 info) \
27531 || exit 1
27533 @endif tk
27535 .PHONY: maybe-dvi-tk dvi-tk
27536 maybe-dvi-tk:
27537 @if tk
27538 maybe-dvi-tk: dvi-tk
27540 dvi-tk: \
27541 configure-tk
27542 @: $(MAKE); $(unstage)
27543 @[ -f ./tk/Makefile ] || exit 0; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 for flag in $(EXTRA_HOST_FLAGS) ; do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 echo "Doing dvi in tk" ; \
27551 (cd $(HOST_SUBDIR)/tk && \
27552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27554 "RANLIB=$${RANLIB}" \
27555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27556 dvi) \
27557 || exit 1
27559 @endif tk
27561 .PHONY: maybe-pdf-tk pdf-tk
27562 maybe-pdf-tk:
27563 @if tk
27564 maybe-pdf-tk: pdf-tk
27566 pdf-tk: \
27567 configure-tk
27568 @: $(MAKE); $(unstage)
27569 @[ -f ./tk/Makefile ] || exit 0; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(HOST_EXPORTS) \
27573 for flag in $(EXTRA_HOST_FLAGS) ; do \
27574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27575 done; \
27576 echo "Doing pdf in tk" ; \
27577 (cd $(HOST_SUBDIR)/tk && \
27578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27580 "RANLIB=$${RANLIB}" \
27581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27582 pdf) \
27583 || exit 1
27585 @endif tk
27587 .PHONY: maybe-html-tk html-tk
27588 maybe-html-tk:
27589 @if tk
27590 maybe-html-tk: html-tk
27592 html-tk: \
27593 configure-tk
27594 @: $(MAKE); $(unstage)
27595 @[ -f ./tk/Makefile ] || exit 0; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(HOST_EXPORTS) \
27599 for flag in $(EXTRA_HOST_FLAGS) ; do \
27600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27601 done; \
27602 echo "Doing html in tk" ; \
27603 (cd $(HOST_SUBDIR)/tk && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27608 html) \
27609 || exit 1
27611 @endif tk
27613 .PHONY: maybe-TAGS-tk TAGS-tk
27614 maybe-TAGS-tk:
27615 @if tk
27616 maybe-TAGS-tk: TAGS-tk
27618 TAGS-tk: \
27619 configure-tk
27620 @: $(MAKE); $(unstage)
27621 @[ -f ./tk/Makefile ] || exit 0; \
27622 r=`${PWD_COMMAND}`; export r; \
27623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27624 $(HOST_EXPORTS) \
27625 for flag in $(EXTRA_HOST_FLAGS) ; do \
27626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27627 done; \
27628 echo "Doing TAGS in tk" ; \
27629 (cd $(HOST_SUBDIR)/tk && \
27630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27632 "RANLIB=$${RANLIB}" \
27633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27634 TAGS) \
27635 || exit 1
27637 @endif tk
27639 .PHONY: maybe-install-info-tk install-info-tk
27640 maybe-install-info-tk:
27641 @if tk
27642 maybe-install-info-tk: install-info-tk
27644 install-info-tk: \
27645 configure-tk \
27646 info-tk
27647 @: $(MAKE); $(unstage)
27648 @[ -f ./tk/Makefile ] || exit 0; \
27649 r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27651 $(HOST_EXPORTS) \
27652 for flag in $(EXTRA_HOST_FLAGS) ; do \
27653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27654 done; \
27655 echo "Doing install-info in tk" ; \
27656 (cd $(HOST_SUBDIR)/tk && \
27657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27659 "RANLIB=$${RANLIB}" \
27660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27661 install-info) \
27662 || exit 1
27664 @endif tk
27666 .PHONY: maybe-install-pdf-tk install-pdf-tk
27667 maybe-install-pdf-tk:
27668 @if tk
27669 maybe-install-pdf-tk: install-pdf-tk
27671 install-pdf-tk: \
27672 configure-tk \
27673 pdf-tk
27674 @: $(MAKE); $(unstage)
27675 @[ -f ./tk/Makefile ] || exit 0; \
27676 r=`${PWD_COMMAND}`; export r; \
27677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27678 $(HOST_EXPORTS) \
27679 for flag in $(EXTRA_HOST_FLAGS) ; do \
27680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27681 done; \
27682 echo "Doing install-pdf in tk" ; \
27683 (cd $(HOST_SUBDIR)/tk && \
27684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27686 "RANLIB=$${RANLIB}" \
27687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27688 install-pdf) \
27689 || exit 1
27691 @endif tk
27693 .PHONY: maybe-install-html-tk install-html-tk
27694 maybe-install-html-tk:
27695 @if tk
27696 maybe-install-html-tk: install-html-tk
27698 install-html-tk: \
27699 configure-tk \
27700 html-tk
27701 @: $(MAKE); $(unstage)
27702 @[ -f ./tk/Makefile ] || exit 0; \
27703 r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(HOST_EXPORTS) \
27706 for flag in $(EXTRA_HOST_FLAGS) ; do \
27707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27708 done; \
27709 echo "Doing install-html in tk" ; \
27710 (cd $(HOST_SUBDIR)/tk && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27715 install-html) \
27716 || exit 1
27718 @endif tk
27720 .PHONY: maybe-installcheck-tk installcheck-tk
27721 maybe-installcheck-tk:
27722 @if tk
27723 maybe-installcheck-tk: installcheck-tk
27725 installcheck-tk: \
27726 configure-tk
27727 @: $(MAKE); $(unstage)
27728 @[ -f ./tk/Makefile ] || exit 0; \
27729 r=`${PWD_COMMAND}`; export r; \
27730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(HOST_EXPORTS) \
27732 for flag in $(EXTRA_HOST_FLAGS) ; do \
27733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27734 done; \
27735 echo "Doing installcheck in tk" ; \
27736 (cd $(HOST_SUBDIR)/tk && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27741 installcheck) \
27742 || exit 1
27744 @endif tk
27746 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27747 maybe-mostlyclean-tk:
27748 @if tk
27749 maybe-mostlyclean-tk: mostlyclean-tk
27751 mostlyclean-tk:
27752 @: $(MAKE); $(unstage)
27753 @[ -f ./tk/Makefile ] || exit 0; \
27754 r=`${PWD_COMMAND}`; export r; \
27755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 $(HOST_EXPORTS) \
27757 for flag in $(EXTRA_HOST_FLAGS) ; do \
27758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27759 done; \
27760 echo "Doing mostlyclean in tk" ; \
27761 (cd $(HOST_SUBDIR)/tk && \
27762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27764 "RANLIB=$${RANLIB}" \
27765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27766 mostlyclean) \
27767 || exit 1
27769 @endif tk
27771 .PHONY: maybe-clean-tk clean-tk
27772 maybe-clean-tk:
27773 @if tk
27774 maybe-clean-tk: clean-tk
27776 clean-tk:
27777 @: $(MAKE); $(unstage)
27778 @[ -f ./tk/Makefile ] || exit 0; \
27779 r=`${PWD_COMMAND}`; export r; \
27780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27781 $(HOST_EXPORTS) \
27782 for flag in $(EXTRA_HOST_FLAGS) ; do \
27783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27784 done; \
27785 echo "Doing clean in tk" ; \
27786 (cd $(HOST_SUBDIR)/tk && \
27787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27789 "RANLIB=$${RANLIB}" \
27790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27791 clean) \
27792 || exit 1
27794 @endif tk
27796 .PHONY: maybe-distclean-tk distclean-tk
27797 maybe-distclean-tk:
27798 @if tk
27799 maybe-distclean-tk: distclean-tk
27801 distclean-tk:
27802 @: $(MAKE); $(unstage)
27803 @[ -f ./tk/Makefile ] || exit 0; \
27804 r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(HOST_EXPORTS) \
27807 for flag in $(EXTRA_HOST_FLAGS) ; do \
27808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27809 done; \
27810 echo "Doing distclean in tk" ; \
27811 (cd $(HOST_SUBDIR)/tk && \
27812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814 "RANLIB=$${RANLIB}" \
27815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27816 distclean) \
27817 || exit 1
27819 @endif tk
27821 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27822 maybe-maintainer-clean-tk:
27823 @if tk
27824 maybe-maintainer-clean-tk: maintainer-clean-tk
27826 maintainer-clean-tk:
27827 @: $(MAKE); $(unstage)
27828 @[ -f ./tk/Makefile ] || exit 0; \
27829 r=`${PWD_COMMAND}`; export r; \
27830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 $(HOST_EXPORTS) \
27832 for flag in $(EXTRA_HOST_FLAGS) ; do \
27833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27834 done; \
27835 echo "Doing maintainer-clean in tk" ; \
27836 (cd $(HOST_SUBDIR)/tk && \
27837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839 "RANLIB=$${RANLIB}" \
27840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27841 maintainer-clean) \
27842 || exit 1
27844 @endif tk
27848 .PHONY: configure-libtermcap maybe-configure-libtermcap
27849 maybe-configure-libtermcap:
27850 @if gcc-bootstrap
27851 configure-libtermcap: stage_current
27852 @endif gcc-bootstrap
27853 @if libtermcap
27854 maybe-configure-libtermcap: configure-libtermcap
27855 configure-libtermcap:
27856 @: $(MAKE); $(unstage)
27857 @r=`${PWD_COMMAND}`; export r; \
27858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27859 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27861 $(HOST_EXPORTS) \
27862 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27863 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27864 case $(srcdir) in \
27865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27866 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27868 esac; \
27869 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27870 libsrcdir="$$s/libtermcap"; \
27871 $(SHELL) $${libsrcdir}/configure \
27872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27873 --target=${target_alias} $${srcdiroption} \
27874 || exit 1
27875 @endif libtermcap
27881 .PHONY: all-libtermcap maybe-all-libtermcap
27882 maybe-all-libtermcap:
27883 @if gcc-bootstrap
27884 all-libtermcap: stage_current
27885 @endif gcc-bootstrap
27886 @if libtermcap
27887 TARGET-libtermcap=all
27888 maybe-all-libtermcap: all-libtermcap
27889 all-libtermcap: configure-libtermcap
27890 @: $(MAKE); $(unstage)
27891 @r=`${PWD_COMMAND}`; export r; \
27892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27893 $(HOST_EXPORTS) \
27894 (cd $(HOST_SUBDIR)/libtermcap && \
27895 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27896 $(TARGET-libtermcap))
27897 @endif libtermcap
27902 .PHONY: check-libtermcap maybe-check-libtermcap
27903 maybe-check-libtermcap:
27904 @if libtermcap
27905 maybe-check-libtermcap: check-libtermcap
27907 check-libtermcap:
27909 @endif libtermcap
27911 .PHONY: install-libtermcap maybe-install-libtermcap
27912 maybe-install-libtermcap:
27913 @if libtermcap
27914 maybe-install-libtermcap: install-libtermcap
27916 install-libtermcap: installdirs
27917 @: $(MAKE); $(unstage)
27918 @r=`${PWD_COMMAND}`; export r; \
27919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27920 $(HOST_EXPORTS) \
27921 (cd $(HOST_SUBDIR)/libtermcap && \
27922 $(MAKE) $(FLAGS_TO_PASS) install)
27924 @endif libtermcap
27926 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27927 maybe-install-strip-libtermcap:
27928 @if libtermcap
27929 maybe-install-strip-libtermcap: install-strip-libtermcap
27931 install-strip-libtermcap: installdirs
27932 @: $(MAKE); $(unstage)
27933 @r=`${PWD_COMMAND}`; export r; \
27934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27935 $(HOST_EXPORTS) \
27936 (cd $(HOST_SUBDIR)/libtermcap && \
27937 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27939 @endif libtermcap
27941 # Other targets (info, dvi, pdf, etc.)
27943 .PHONY: maybe-info-libtermcap info-libtermcap
27944 maybe-info-libtermcap:
27945 @if libtermcap
27946 maybe-info-libtermcap: info-libtermcap
27948 info-libtermcap: \
27949 configure-libtermcap
27950 @: $(MAKE); $(unstage)
27951 @[ -f ./libtermcap/Makefile ] || exit 0; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 $(HOST_EXPORTS) \
27955 for flag in $(EXTRA_HOST_FLAGS) ; do \
27956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27957 done; \
27958 echo "Doing info in libtermcap" ; \
27959 (cd $(HOST_SUBDIR)/libtermcap && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27964 info) \
27965 || exit 1
27967 @endif libtermcap
27969 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27970 maybe-dvi-libtermcap:
27971 @if libtermcap
27972 maybe-dvi-libtermcap: dvi-libtermcap
27974 dvi-libtermcap: \
27975 configure-libtermcap
27976 @: $(MAKE); $(unstage)
27977 @[ -f ./libtermcap/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing dvi in libtermcap" ; \
27985 (cd $(HOST_SUBDIR)/libtermcap && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27990 dvi) \
27991 || exit 1
27993 @endif libtermcap
27995 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27996 maybe-pdf-libtermcap:
27997 @if libtermcap
27998 maybe-pdf-libtermcap: pdf-libtermcap
28000 pdf-libtermcap: \
28001 configure-libtermcap
28002 @: $(MAKE); $(unstage)
28003 @[ -f ./libtermcap/Makefile ] || exit 0; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(HOST_EXPORTS) \
28007 for flag in $(EXTRA_HOST_FLAGS) ; do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 echo "Doing pdf in libtermcap" ; \
28011 (cd $(HOST_SUBDIR)/libtermcap && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28016 pdf) \
28017 || exit 1
28019 @endif libtermcap
28021 .PHONY: maybe-html-libtermcap html-libtermcap
28022 maybe-html-libtermcap:
28023 @if libtermcap
28024 maybe-html-libtermcap: html-libtermcap
28026 html-libtermcap: \
28027 configure-libtermcap
28028 @: $(MAKE); $(unstage)
28029 @[ -f ./libtermcap/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing html in libtermcap" ; \
28037 (cd $(HOST_SUBDIR)/libtermcap && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 html) \
28043 || exit 1
28045 @endif libtermcap
28047 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28048 maybe-TAGS-libtermcap:
28049 @if libtermcap
28050 maybe-TAGS-libtermcap: TAGS-libtermcap
28052 TAGS-libtermcap: \
28053 configure-libtermcap
28054 @: $(MAKE); $(unstage)
28055 @[ -f ./libtermcap/Makefile ] || exit 0; \
28056 r=`${PWD_COMMAND}`; export r; \
28057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28058 $(HOST_EXPORTS) \
28059 for flag in $(EXTRA_HOST_FLAGS) ; do \
28060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28061 done; \
28062 echo "Doing TAGS in libtermcap" ; \
28063 (cd $(HOST_SUBDIR)/libtermcap && \
28064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28066 "RANLIB=$${RANLIB}" \
28067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28068 TAGS) \
28069 || exit 1
28071 @endif libtermcap
28073 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28074 maybe-install-info-libtermcap:
28075 @if libtermcap
28076 maybe-install-info-libtermcap: install-info-libtermcap
28078 install-info-libtermcap: \
28079 configure-libtermcap \
28080 info-libtermcap
28081 @: $(MAKE); $(unstage)
28082 @[ -f ./libtermcap/Makefile ] || exit 0; \
28083 r=`${PWD_COMMAND}`; export r; \
28084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28085 $(HOST_EXPORTS) \
28086 for flag in $(EXTRA_HOST_FLAGS) ; do \
28087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28088 done; \
28089 echo "Doing install-info in libtermcap" ; \
28090 (cd $(HOST_SUBDIR)/libtermcap && \
28091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28093 "RANLIB=$${RANLIB}" \
28094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28095 install-info) \
28096 || exit 1
28098 @endif libtermcap
28100 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28101 maybe-install-pdf-libtermcap:
28102 @if libtermcap
28103 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28105 install-pdf-libtermcap: \
28106 configure-libtermcap \
28107 pdf-libtermcap
28108 @: $(MAKE); $(unstage)
28109 @[ -f ./libtermcap/Makefile ] || exit 0; \
28110 r=`${PWD_COMMAND}`; export r; \
28111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28112 $(HOST_EXPORTS) \
28113 for flag in $(EXTRA_HOST_FLAGS) ; do \
28114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28115 done; \
28116 echo "Doing install-pdf in libtermcap" ; \
28117 (cd $(HOST_SUBDIR)/libtermcap && \
28118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28120 "RANLIB=$${RANLIB}" \
28121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28122 install-pdf) \
28123 || exit 1
28125 @endif libtermcap
28127 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28128 maybe-install-html-libtermcap:
28129 @if libtermcap
28130 maybe-install-html-libtermcap: install-html-libtermcap
28132 install-html-libtermcap: \
28133 configure-libtermcap \
28134 html-libtermcap
28135 @: $(MAKE); $(unstage)
28136 @[ -f ./libtermcap/Makefile ] || exit 0; \
28137 r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28139 $(HOST_EXPORTS) \
28140 for flag in $(EXTRA_HOST_FLAGS) ; do \
28141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28142 done; \
28143 echo "Doing install-html in libtermcap" ; \
28144 (cd $(HOST_SUBDIR)/libtermcap && \
28145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28147 "RANLIB=$${RANLIB}" \
28148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28149 install-html) \
28150 || exit 1
28152 @endif libtermcap
28154 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28155 maybe-installcheck-libtermcap:
28156 @if libtermcap
28157 maybe-installcheck-libtermcap: installcheck-libtermcap
28159 installcheck-libtermcap: \
28160 configure-libtermcap
28161 @: $(MAKE); $(unstage)
28162 @[ -f ./libtermcap/Makefile ] || exit 0; \
28163 r=`${PWD_COMMAND}`; export r; \
28164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28165 $(HOST_EXPORTS) \
28166 for flag in $(EXTRA_HOST_FLAGS) ; do \
28167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28168 done; \
28169 echo "Doing installcheck in libtermcap" ; \
28170 (cd $(HOST_SUBDIR)/libtermcap && \
28171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28173 "RANLIB=$${RANLIB}" \
28174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28175 installcheck) \
28176 || exit 1
28178 @endif libtermcap
28180 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28181 maybe-mostlyclean-libtermcap:
28182 @if libtermcap
28183 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28185 # libtermcap doesn't support mostlyclean.
28186 mostlyclean-libtermcap:
28188 @endif libtermcap
28190 .PHONY: maybe-clean-libtermcap clean-libtermcap
28191 maybe-clean-libtermcap:
28192 @if libtermcap
28193 maybe-clean-libtermcap: clean-libtermcap
28195 # libtermcap doesn't support clean.
28196 clean-libtermcap:
28198 @endif libtermcap
28200 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28201 maybe-distclean-libtermcap:
28202 @if libtermcap
28203 maybe-distclean-libtermcap: distclean-libtermcap
28205 # libtermcap doesn't support distclean.
28206 distclean-libtermcap:
28208 @endif libtermcap
28210 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28211 maybe-maintainer-clean-libtermcap:
28212 @if libtermcap
28213 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28215 # libtermcap doesn't support maintainer-clean.
28216 maintainer-clean-libtermcap:
28218 @endif libtermcap
28222 .PHONY: configure-utils maybe-configure-utils
28223 maybe-configure-utils:
28224 @if gcc-bootstrap
28225 configure-utils: stage_current
28226 @endif gcc-bootstrap
28227 @if utils
28228 maybe-configure-utils: configure-utils
28229 configure-utils:
28230 @: $(MAKE); $(unstage)
28231 @r=`${PWD_COMMAND}`; export r; \
28232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28233 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28235 $(HOST_EXPORTS) \
28236 echo Configuring in $(HOST_SUBDIR)/utils; \
28237 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28238 case $(srcdir) in \
28239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28240 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28242 esac; \
28243 srcdiroption="--srcdir=$${topdir}/utils"; \
28244 libsrcdir="$$s/utils"; \
28245 $(SHELL) $${libsrcdir}/configure \
28246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28247 --target=${target_alias} $${srcdiroption} \
28248 || exit 1
28249 @endif utils
28255 .PHONY: all-utils maybe-all-utils
28256 maybe-all-utils:
28257 @if gcc-bootstrap
28258 all-utils: stage_current
28259 @endif gcc-bootstrap
28260 @if utils
28261 TARGET-utils=all
28262 maybe-all-utils: all-utils
28263 all-utils: configure-utils
28264 @: $(MAKE); $(unstage)
28265 @r=`${PWD_COMMAND}`; export r; \
28266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28267 $(HOST_EXPORTS) \
28268 (cd $(HOST_SUBDIR)/utils && \
28269 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28270 $(TARGET-utils))
28271 @endif utils
28276 .PHONY: check-utils maybe-check-utils
28277 maybe-check-utils:
28278 @if utils
28279 maybe-check-utils: check-utils
28281 check-utils:
28283 @endif utils
28285 .PHONY: install-utils maybe-install-utils
28286 maybe-install-utils:
28287 @if utils
28288 maybe-install-utils: install-utils
28290 install-utils: installdirs
28291 @: $(MAKE); $(unstage)
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28294 $(HOST_EXPORTS) \
28295 (cd $(HOST_SUBDIR)/utils && \
28296 $(MAKE) $(FLAGS_TO_PASS) install)
28298 @endif utils
28300 .PHONY: install-strip-utils maybe-install-strip-utils
28301 maybe-install-strip-utils:
28302 @if utils
28303 maybe-install-strip-utils: install-strip-utils
28305 install-strip-utils: installdirs
28306 @: $(MAKE); $(unstage)
28307 @r=`${PWD_COMMAND}`; export r; \
28308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28309 $(HOST_EXPORTS) \
28310 (cd $(HOST_SUBDIR)/utils && \
28311 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28313 @endif utils
28315 # Other targets (info, dvi, pdf, etc.)
28317 .PHONY: maybe-info-utils info-utils
28318 maybe-info-utils:
28319 @if utils
28320 maybe-info-utils: info-utils
28322 info-utils: \
28323 configure-utils
28324 @: $(MAKE); $(unstage)
28325 @[ -f ./utils/Makefile ] || exit 0; \
28326 r=`${PWD_COMMAND}`; export r; \
28327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28328 $(HOST_EXPORTS) \
28329 for flag in $(EXTRA_HOST_FLAGS) ; do \
28330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28331 done; \
28332 echo "Doing info in utils" ; \
28333 (cd $(HOST_SUBDIR)/utils && \
28334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28336 "RANLIB=$${RANLIB}" \
28337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28338 info) \
28339 || exit 1
28341 @endif utils
28343 .PHONY: maybe-dvi-utils dvi-utils
28344 maybe-dvi-utils:
28345 @if utils
28346 maybe-dvi-utils: dvi-utils
28348 dvi-utils: \
28349 configure-utils
28350 @: $(MAKE); $(unstage)
28351 @[ -f ./utils/Makefile ] || exit 0; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28354 $(HOST_EXPORTS) \
28355 for flag in $(EXTRA_HOST_FLAGS) ; do \
28356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28357 done; \
28358 echo "Doing dvi in utils" ; \
28359 (cd $(HOST_SUBDIR)/utils && \
28360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28362 "RANLIB=$${RANLIB}" \
28363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28364 dvi) \
28365 || exit 1
28367 @endif utils
28369 .PHONY: maybe-pdf-utils pdf-utils
28370 maybe-pdf-utils:
28371 @if utils
28372 maybe-pdf-utils: pdf-utils
28374 pdf-utils: \
28375 configure-utils
28376 @: $(MAKE); $(unstage)
28377 @[ -f ./utils/Makefile ] || exit 0; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380 $(HOST_EXPORTS) \
28381 for flag in $(EXTRA_HOST_FLAGS) ; do \
28382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28383 done; \
28384 echo "Doing pdf in utils" ; \
28385 (cd $(HOST_SUBDIR)/utils && \
28386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28388 "RANLIB=$${RANLIB}" \
28389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28390 pdf) \
28391 || exit 1
28393 @endif utils
28395 .PHONY: maybe-html-utils html-utils
28396 maybe-html-utils:
28397 @if utils
28398 maybe-html-utils: html-utils
28400 html-utils: \
28401 configure-utils
28402 @: $(MAKE); $(unstage)
28403 @[ -f ./utils/Makefile ] || exit 0; \
28404 r=`${PWD_COMMAND}`; export r; \
28405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28406 $(HOST_EXPORTS) \
28407 for flag in $(EXTRA_HOST_FLAGS) ; do \
28408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28409 done; \
28410 echo "Doing html in utils" ; \
28411 (cd $(HOST_SUBDIR)/utils && \
28412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28414 "RANLIB=$${RANLIB}" \
28415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28416 html) \
28417 || exit 1
28419 @endif utils
28421 .PHONY: maybe-TAGS-utils TAGS-utils
28422 maybe-TAGS-utils:
28423 @if utils
28424 maybe-TAGS-utils: TAGS-utils
28426 TAGS-utils: \
28427 configure-utils
28428 @: $(MAKE); $(unstage)
28429 @[ -f ./utils/Makefile ] || exit 0; \
28430 r=`${PWD_COMMAND}`; export r; \
28431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28432 $(HOST_EXPORTS) \
28433 for flag in $(EXTRA_HOST_FLAGS) ; do \
28434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28435 done; \
28436 echo "Doing TAGS in utils" ; \
28437 (cd $(HOST_SUBDIR)/utils && \
28438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28440 "RANLIB=$${RANLIB}" \
28441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28442 TAGS) \
28443 || exit 1
28445 @endif utils
28447 .PHONY: maybe-install-info-utils install-info-utils
28448 maybe-install-info-utils:
28449 @if utils
28450 maybe-install-info-utils: install-info-utils
28452 install-info-utils: \
28453 configure-utils \
28454 info-utils
28455 @: $(MAKE); $(unstage)
28456 @[ -f ./utils/Makefile ] || exit 0; \
28457 r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28459 $(HOST_EXPORTS) \
28460 for flag in $(EXTRA_HOST_FLAGS) ; do \
28461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28462 done; \
28463 echo "Doing install-info in utils" ; \
28464 (cd $(HOST_SUBDIR)/utils && \
28465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28467 "RANLIB=$${RANLIB}" \
28468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28469 install-info) \
28470 || exit 1
28472 @endif utils
28474 .PHONY: maybe-install-pdf-utils install-pdf-utils
28475 maybe-install-pdf-utils:
28476 @if utils
28477 maybe-install-pdf-utils: install-pdf-utils
28479 install-pdf-utils: \
28480 configure-utils \
28481 pdf-utils
28482 @: $(MAKE); $(unstage)
28483 @[ -f ./utils/Makefile ] || exit 0; \
28484 r=`${PWD_COMMAND}`; export r; \
28485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28486 $(HOST_EXPORTS) \
28487 for flag in $(EXTRA_HOST_FLAGS) ; do \
28488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28489 done; \
28490 echo "Doing install-pdf in utils" ; \
28491 (cd $(HOST_SUBDIR)/utils && \
28492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28494 "RANLIB=$${RANLIB}" \
28495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28496 install-pdf) \
28497 || exit 1
28499 @endif utils
28501 .PHONY: maybe-install-html-utils install-html-utils
28502 maybe-install-html-utils:
28503 @if utils
28504 maybe-install-html-utils: install-html-utils
28506 install-html-utils: \
28507 configure-utils \
28508 html-utils
28509 @: $(MAKE); $(unstage)
28510 @[ -f ./utils/Makefile ] || exit 0; \
28511 r=`${PWD_COMMAND}`; export r; \
28512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28513 $(HOST_EXPORTS) \
28514 for flag in $(EXTRA_HOST_FLAGS) ; do \
28515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28516 done; \
28517 echo "Doing install-html in utils" ; \
28518 (cd $(HOST_SUBDIR)/utils && \
28519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28521 "RANLIB=$${RANLIB}" \
28522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28523 install-html) \
28524 || exit 1
28526 @endif utils
28528 .PHONY: maybe-installcheck-utils installcheck-utils
28529 maybe-installcheck-utils:
28530 @if utils
28531 maybe-installcheck-utils: installcheck-utils
28533 installcheck-utils: \
28534 configure-utils
28535 @: $(MAKE); $(unstage)
28536 @[ -f ./utils/Makefile ] || exit 0; \
28537 r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28539 $(HOST_EXPORTS) \
28540 for flag in $(EXTRA_HOST_FLAGS) ; do \
28541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28542 done; \
28543 echo "Doing installcheck in utils" ; \
28544 (cd $(HOST_SUBDIR)/utils && \
28545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28547 "RANLIB=$${RANLIB}" \
28548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28549 installcheck) \
28550 || exit 1
28552 @endif utils
28554 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28555 maybe-mostlyclean-utils:
28556 @if utils
28557 maybe-mostlyclean-utils: mostlyclean-utils
28559 mostlyclean-utils:
28560 @: $(MAKE); $(unstage)
28561 @[ -f ./utils/Makefile ] || exit 0; \
28562 r=`${PWD_COMMAND}`; export r; \
28563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28564 $(HOST_EXPORTS) \
28565 for flag in $(EXTRA_HOST_FLAGS) ; do \
28566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28567 done; \
28568 echo "Doing mostlyclean in utils" ; \
28569 (cd $(HOST_SUBDIR)/utils && \
28570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28572 "RANLIB=$${RANLIB}" \
28573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28574 mostlyclean) \
28575 || exit 1
28577 @endif utils
28579 .PHONY: maybe-clean-utils clean-utils
28580 maybe-clean-utils:
28581 @if utils
28582 maybe-clean-utils: clean-utils
28584 clean-utils:
28585 @: $(MAKE); $(unstage)
28586 @[ -f ./utils/Makefile ] || exit 0; \
28587 r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28589 $(HOST_EXPORTS) \
28590 for flag in $(EXTRA_HOST_FLAGS) ; do \
28591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28592 done; \
28593 echo "Doing clean in utils" ; \
28594 (cd $(HOST_SUBDIR)/utils && \
28595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28597 "RANLIB=$${RANLIB}" \
28598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28599 clean) \
28600 || exit 1
28602 @endif utils
28604 .PHONY: maybe-distclean-utils distclean-utils
28605 maybe-distclean-utils:
28606 @if utils
28607 maybe-distclean-utils: distclean-utils
28609 distclean-utils:
28610 @: $(MAKE); $(unstage)
28611 @[ -f ./utils/Makefile ] || exit 0; \
28612 r=`${PWD_COMMAND}`; export r; \
28613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28614 $(HOST_EXPORTS) \
28615 for flag in $(EXTRA_HOST_FLAGS) ; do \
28616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28617 done; \
28618 echo "Doing distclean in utils" ; \
28619 (cd $(HOST_SUBDIR)/utils && \
28620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28622 "RANLIB=$${RANLIB}" \
28623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28624 distclean) \
28625 || exit 1
28627 @endif utils
28629 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28630 maybe-maintainer-clean-utils:
28631 @if utils
28632 maybe-maintainer-clean-utils: maintainer-clean-utils
28634 maintainer-clean-utils:
28635 @: $(MAKE); $(unstage)
28636 @[ -f ./utils/Makefile ] || exit 0; \
28637 r=`${PWD_COMMAND}`; export r; \
28638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28639 $(HOST_EXPORTS) \
28640 for flag in $(EXTRA_HOST_FLAGS) ; do \
28641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28642 done; \
28643 echo "Doing maintainer-clean in utils" ; \
28644 (cd $(HOST_SUBDIR)/utils && \
28645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28647 "RANLIB=$${RANLIB}" \
28648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28649 maintainer-clean) \
28650 || exit 1
28652 @endif utils
28656 .PHONY: configure-gnattools maybe-configure-gnattools
28657 maybe-configure-gnattools:
28658 @if gcc-bootstrap
28659 configure-gnattools: stage_current
28660 @endif gcc-bootstrap
28661 @if gnattools
28662 maybe-configure-gnattools: configure-gnattools
28663 configure-gnattools:
28664 @: $(MAKE); $(unstage)
28665 @r=`${PWD_COMMAND}`; export r; \
28666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28667 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28669 $(HOST_EXPORTS) \
28670 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28671 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28672 case $(srcdir) in \
28673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28674 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28676 esac; \
28677 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28678 libsrcdir="$$s/gnattools"; \
28679 $(SHELL) $${libsrcdir}/configure \
28680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28681 --target=${target_alias} $${srcdiroption} \
28682 || exit 1
28683 @endif gnattools
28689 .PHONY: all-gnattools maybe-all-gnattools
28690 maybe-all-gnattools:
28691 @if gcc-bootstrap
28692 all-gnattools: stage_current
28693 @endif gcc-bootstrap
28694 @if gnattools
28695 TARGET-gnattools=all
28696 maybe-all-gnattools: all-gnattools
28697 all-gnattools: configure-gnattools
28698 @: $(MAKE); $(unstage)
28699 @r=`${PWD_COMMAND}`; export r; \
28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(HOST_EXPORTS) \
28702 (cd $(HOST_SUBDIR)/gnattools && \
28703 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28704 $(TARGET-gnattools))
28705 @endif gnattools
28710 .PHONY: check-gnattools maybe-check-gnattools
28711 maybe-check-gnattools:
28712 @if gnattools
28713 maybe-check-gnattools: check-gnattools
28715 check-gnattools:
28716 @: $(MAKE); $(unstage)
28717 @r=`${PWD_COMMAND}`; export r; \
28718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 $(HOST_EXPORTS) \
28720 (cd $(HOST_SUBDIR)/gnattools && \
28721 $(MAKE) $(FLAGS_TO_PASS) check)
28723 @endif gnattools
28725 .PHONY: install-gnattools maybe-install-gnattools
28726 maybe-install-gnattools:
28727 @if gnattools
28728 maybe-install-gnattools: install-gnattools
28730 install-gnattools: installdirs
28731 @: $(MAKE); $(unstage)
28732 @r=`${PWD_COMMAND}`; export r; \
28733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28734 $(HOST_EXPORTS) \
28735 (cd $(HOST_SUBDIR)/gnattools && \
28736 $(MAKE) $(FLAGS_TO_PASS) install)
28738 @endif gnattools
28740 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28741 maybe-install-strip-gnattools:
28742 @if gnattools
28743 maybe-install-strip-gnattools: install-strip-gnattools
28745 install-strip-gnattools: installdirs
28746 @: $(MAKE); $(unstage)
28747 @r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 (cd $(HOST_SUBDIR)/gnattools && \
28751 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28753 @endif gnattools
28755 # Other targets (info, dvi, pdf, etc.)
28757 .PHONY: maybe-info-gnattools info-gnattools
28758 maybe-info-gnattools:
28759 @if gnattools
28760 maybe-info-gnattools: info-gnattools
28762 info-gnattools: \
28763 configure-gnattools
28764 @: $(MAKE); $(unstage)
28765 @[ -f ./gnattools/Makefile ] || exit 0; \
28766 r=`${PWD_COMMAND}`; export r; \
28767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28768 $(HOST_EXPORTS) \
28769 for flag in $(EXTRA_HOST_FLAGS) ; do \
28770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28771 done; \
28772 echo "Doing info in gnattools" ; \
28773 (cd $(HOST_SUBDIR)/gnattools && \
28774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28776 "RANLIB=$${RANLIB}" \
28777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28778 info) \
28779 || exit 1
28781 @endif gnattools
28783 .PHONY: maybe-dvi-gnattools dvi-gnattools
28784 maybe-dvi-gnattools:
28785 @if gnattools
28786 maybe-dvi-gnattools: dvi-gnattools
28788 dvi-gnattools: \
28789 configure-gnattools
28790 @: $(MAKE); $(unstage)
28791 @[ -f ./gnattools/Makefile ] || exit 0; \
28792 r=`${PWD_COMMAND}`; export r; \
28793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28794 $(HOST_EXPORTS) \
28795 for flag in $(EXTRA_HOST_FLAGS) ; do \
28796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28797 done; \
28798 echo "Doing dvi in gnattools" ; \
28799 (cd $(HOST_SUBDIR)/gnattools && \
28800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28802 "RANLIB=$${RANLIB}" \
28803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28804 dvi) \
28805 || exit 1
28807 @endif gnattools
28809 .PHONY: maybe-pdf-gnattools pdf-gnattools
28810 maybe-pdf-gnattools:
28811 @if gnattools
28812 maybe-pdf-gnattools: pdf-gnattools
28814 pdf-gnattools: \
28815 configure-gnattools
28816 @: $(MAKE); $(unstage)
28817 @[ -f ./gnattools/Makefile ] || exit 0; \
28818 r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(HOST_EXPORTS) \
28821 for flag in $(EXTRA_HOST_FLAGS) ; do \
28822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28823 done; \
28824 echo "Doing pdf in gnattools" ; \
28825 (cd $(HOST_SUBDIR)/gnattools && \
28826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28828 "RANLIB=$${RANLIB}" \
28829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28830 pdf) \
28831 || exit 1
28833 @endif gnattools
28835 .PHONY: maybe-html-gnattools html-gnattools
28836 maybe-html-gnattools:
28837 @if gnattools
28838 maybe-html-gnattools: html-gnattools
28840 html-gnattools: \
28841 configure-gnattools
28842 @: $(MAKE); $(unstage)
28843 @[ -f ./gnattools/Makefile ] || exit 0; \
28844 r=`${PWD_COMMAND}`; export r; \
28845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28846 $(HOST_EXPORTS) \
28847 for flag in $(EXTRA_HOST_FLAGS) ; do \
28848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28849 done; \
28850 echo "Doing html in gnattools" ; \
28851 (cd $(HOST_SUBDIR)/gnattools && \
28852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28854 "RANLIB=$${RANLIB}" \
28855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28856 html) \
28857 || exit 1
28859 @endif gnattools
28861 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28862 maybe-TAGS-gnattools:
28863 @if gnattools
28864 maybe-TAGS-gnattools: TAGS-gnattools
28866 TAGS-gnattools: \
28867 configure-gnattools
28868 @: $(MAKE); $(unstage)
28869 @[ -f ./gnattools/Makefile ] || exit 0; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(HOST_EXPORTS) \
28873 for flag in $(EXTRA_HOST_FLAGS) ; do \
28874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28875 done; \
28876 echo "Doing TAGS in gnattools" ; \
28877 (cd $(HOST_SUBDIR)/gnattools && \
28878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28880 "RANLIB=$${RANLIB}" \
28881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28882 TAGS) \
28883 || exit 1
28885 @endif gnattools
28887 .PHONY: maybe-install-info-gnattools install-info-gnattools
28888 maybe-install-info-gnattools:
28889 @if gnattools
28890 maybe-install-info-gnattools: install-info-gnattools
28892 install-info-gnattools: \
28893 configure-gnattools \
28894 info-gnattools
28895 @: $(MAKE); $(unstage)
28896 @[ -f ./gnattools/Makefile ] || exit 0; \
28897 r=`${PWD_COMMAND}`; export r; \
28898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28899 $(HOST_EXPORTS) \
28900 for flag in $(EXTRA_HOST_FLAGS) ; do \
28901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28902 done; \
28903 echo "Doing install-info in gnattools" ; \
28904 (cd $(HOST_SUBDIR)/gnattools && \
28905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28907 "RANLIB=$${RANLIB}" \
28908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28909 install-info) \
28910 || exit 1
28912 @endif gnattools
28914 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28915 maybe-install-pdf-gnattools:
28916 @if gnattools
28917 maybe-install-pdf-gnattools: install-pdf-gnattools
28919 install-pdf-gnattools: \
28920 configure-gnattools \
28921 pdf-gnattools
28922 @: $(MAKE); $(unstage)
28923 @[ -f ./gnattools/Makefile ] || exit 0; \
28924 r=`${PWD_COMMAND}`; export r; \
28925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28926 $(HOST_EXPORTS) \
28927 for flag in $(EXTRA_HOST_FLAGS) ; do \
28928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28929 done; \
28930 echo "Doing install-pdf in gnattools" ; \
28931 (cd $(HOST_SUBDIR)/gnattools && \
28932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28934 "RANLIB=$${RANLIB}" \
28935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28936 install-pdf) \
28937 || exit 1
28939 @endif gnattools
28941 .PHONY: maybe-install-html-gnattools install-html-gnattools
28942 maybe-install-html-gnattools:
28943 @if gnattools
28944 maybe-install-html-gnattools: install-html-gnattools
28946 install-html-gnattools: \
28947 configure-gnattools \
28948 html-gnattools
28949 @: $(MAKE); $(unstage)
28950 @[ -f ./gnattools/Makefile ] || exit 0; \
28951 r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28953 $(HOST_EXPORTS) \
28954 for flag in $(EXTRA_HOST_FLAGS) ; do \
28955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28956 done; \
28957 echo "Doing install-html in gnattools" ; \
28958 (cd $(HOST_SUBDIR)/gnattools && \
28959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28961 "RANLIB=$${RANLIB}" \
28962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28963 install-html) \
28964 || exit 1
28966 @endif gnattools
28968 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28969 maybe-installcheck-gnattools:
28970 @if gnattools
28971 maybe-installcheck-gnattools: installcheck-gnattools
28973 installcheck-gnattools: \
28974 configure-gnattools
28975 @: $(MAKE); $(unstage)
28976 @[ -f ./gnattools/Makefile ] || exit 0; \
28977 r=`${PWD_COMMAND}`; export r; \
28978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28979 $(HOST_EXPORTS) \
28980 for flag in $(EXTRA_HOST_FLAGS) ; do \
28981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28982 done; \
28983 echo "Doing installcheck in gnattools" ; \
28984 (cd $(HOST_SUBDIR)/gnattools && \
28985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28987 "RANLIB=$${RANLIB}" \
28988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28989 installcheck) \
28990 || exit 1
28992 @endif gnattools
28994 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28995 maybe-mostlyclean-gnattools:
28996 @if gnattools
28997 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28999 mostlyclean-gnattools:
29000 @: $(MAKE); $(unstage)
29001 @[ -f ./gnattools/Makefile ] || exit 0; \
29002 r=`${PWD_COMMAND}`; export r; \
29003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29004 $(HOST_EXPORTS) \
29005 for flag in $(EXTRA_HOST_FLAGS) ; do \
29006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29007 done; \
29008 echo "Doing mostlyclean in gnattools" ; \
29009 (cd $(HOST_SUBDIR)/gnattools && \
29010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29012 "RANLIB=$${RANLIB}" \
29013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29014 mostlyclean) \
29015 || exit 1
29017 @endif gnattools
29019 .PHONY: maybe-clean-gnattools clean-gnattools
29020 maybe-clean-gnattools:
29021 @if gnattools
29022 maybe-clean-gnattools: clean-gnattools
29024 clean-gnattools:
29025 @: $(MAKE); $(unstage)
29026 @[ -f ./gnattools/Makefile ] || exit 0; \
29027 r=`${PWD_COMMAND}`; export r; \
29028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29029 $(HOST_EXPORTS) \
29030 for flag in $(EXTRA_HOST_FLAGS) ; do \
29031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29032 done; \
29033 echo "Doing clean in gnattools" ; \
29034 (cd $(HOST_SUBDIR)/gnattools && \
29035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29037 "RANLIB=$${RANLIB}" \
29038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29039 clean) \
29040 || exit 1
29042 @endif gnattools
29044 .PHONY: maybe-distclean-gnattools distclean-gnattools
29045 maybe-distclean-gnattools:
29046 @if gnattools
29047 maybe-distclean-gnattools: distclean-gnattools
29049 distclean-gnattools:
29050 @: $(MAKE); $(unstage)
29051 @[ -f ./gnattools/Makefile ] || exit 0; \
29052 r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29054 $(HOST_EXPORTS) \
29055 for flag in $(EXTRA_HOST_FLAGS) ; do \
29056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29057 done; \
29058 echo "Doing distclean in gnattools" ; \
29059 (cd $(HOST_SUBDIR)/gnattools && \
29060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29062 "RANLIB=$${RANLIB}" \
29063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29064 distclean) \
29065 || exit 1
29067 @endif gnattools
29069 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29070 maybe-maintainer-clean-gnattools:
29071 @if gnattools
29072 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29074 maintainer-clean-gnattools:
29075 @: $(MAKE); $(unstage)
29076 @[ -f ./gnattools/Makefile ] || exit 0; \
29077 r=`${PWD_COMMAND}`; export r; \
29078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29079 $(HOST_EXPORTS) \
29080 for flag in $(EXTRA_HOST_FLAGS) ; do \
29081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29082 done; \
29083 echo "Doing maintainer-clean in gnattools" ; \
29084 (cd $(HOST_SUBDIR)/gnattools && \
29085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29087 "RANLIB=$${RANLIB}" \
29088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29089 maintainer-clean) \
29090 || exit 1
29092 @endif gnattools
29096 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29097 maybe-configure-lto-plugin:
29098 @if gcc-bootstrap
29099 configure-lto-plugin: stage_current
29100 @endif gcc-bootstrap
29101 @if lto-plugin
29102 maybe-configure-lto-plugin: configure-lto-plugin
29103 configure-lto-plugin:
29104 @r=`${PWD_COMMAND}`; export r; \
29105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29106 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29108 $(HOST_EXPORTS) \
29109 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29110 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29111 case $(srcdir) in \
29112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29113 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29115 esac; \
29116 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29117 libsrcdir="$$s/lto-plugin"; \
29118 $(SHELL) $${libsrcdir}/configure \
29119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29120 --target=${target_alias} $${srcdiroption} --enable-shared \
29121 || exit 1
29122 @endif lto-plugin
29126 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29127 maybe-configure-stage1-lto-plugin:
29128 @if lto-plugin-bootstrap
29129 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29130 configure-stage1-lto-plugin:
29131 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29133 @r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 TFLAGS="$(STAGE1_TFLAGS)"; \
29136 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29137 $(HOST_EXPORTS) \
29138 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29139 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29140 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29141 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29143 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29144 case $(srcdir) in \
29145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29146 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29148 esac; \
29149 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29150 libsrcdir="$$s/lto-plugin"; \
29151 $(SHELL) $${libsrcdir}/configure \
29152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29153 --target=${target_alias} $${srcdiroption} \
29154 $(STAGE1_CONFIGURE_FLAGS) \
29155 --enable-shared
29156 @endif lto-plugin-bootstrap
29158 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29159 maybe-configure-stage2-lto-plugin:
29160 @if lto-plugin-bootstrap
29161 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29162 configure-stage2-lto-plugin:
29163 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29165 @r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29167 TFLAGS="$(STAGE2_TFLAGS)"; \
29168 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29169 $(HOST_EXPORTS) \
29170 $(POSTSTAGE1_HOST_EXPORTS) \
29171 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29172 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29173 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29174 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29176 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29177 case $(srcdir) in \
29178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29179 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29181 esac; \
29182 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29183 libsrcdir="$$s/lto-plugin"; \
29184 $(SHELL) $${libsrcdir}/configure \
29185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29186 --target=${target_alias} $${srcdiroption} \
29187 --with-build-libsubdir=$(HOST_SUBDIR) \
29188 $(STAGE2_CONFIGURE_FLAGS) \
29189 --enable-shared
29190 @endif lto-plugin-bootstrap
29192 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29193 maybe-configure-stage3-lto-plugin:
29194 @if lto-plugin-bootstrap
29195 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29196 configure-stage3-lto-plugin:
29197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29199 @r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 TFLAGS="$(STAGE3_TFLAGS)"; \
29202 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29203 $(HOST_EXPORTS) \
29204 $(POSTSTAGE1_HOST_EXPORTS) \
29205 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29206 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29207 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29208 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29210 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29211 case $(srcdir) in \
29212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29213 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29215 esac; \
29216 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29217 libsrcdir="$$s/lto-plugin"; \
29218 $(SHELL) $${libsrcdir}/configure \
29219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29220 --target=${target_alias} $${srcdiroption} \
29221 --with-build-libsubdir=$(HOST_SUBDIR) \
29222 $(STAGE3_CONFIGURE_FLAGS) \
29223 --enable-shared
29224 @endif lto-plugin-bootstrap
29226 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29227 maybe-configure-stage4-lto-plugin:
29228 @if lto-plugin-bootstrap
29229 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29230 configure-stage4-lto-plugin:
29231 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29233 @r=`${PWD_COMMAND}`; export r; \
29234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29235 TFLAGS="$(STAGE4_TFLAGS)"; \
29236 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29237 $(HOST_EXPORTS) \
29238 $(POSTSTAGE1_HOST_EXPORTS) \
29239 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29240 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29241 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29242 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29244 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29245 case $(srcdir) in \
29246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29247 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29249 esac; \
29250 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29251 libsrcdir="$$s/lto-plugin"; \
29252 $(SHELL) $${libsrcdir}/configure \
29253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29254 --target=${target_alias} $${srcdiroption} \
29255 --with-build-libsubdir=$(HOST_SUBDIR) \
29256 $(STAGE4_CONFIGURE_FLAGS) \
29257 --enable-shared
29258 @endif lto-plugin-bootstrap
29260 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29261 maybe-configure-stageprofile-lto-plugin:
29262 @if lto-plugin-bootstrap
29263 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29264 configure-stageprofile-lto-plugin:
29265 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29267 @r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29270 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29271 $(HOST_EXPORTS) \
29272 $(POSTSTAGE1_HOST_EXPORTS) \
29273 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29274 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29275 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29276 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29278 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29279 case $(srcdir) in \
29280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29281 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29283 esac; \
29284 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29285 libsrcdir="$$s/lto-plugin"; \
29286 $(SHELL) $${libsrcdir}/configure \
29287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29288 --target=${target_alias} $${srcdiroption} \
29289 --with-build-libsubdir=$(HOST_SUBDIR) \
29290 $(STAGEprofile_CONFIGURE_FLAGS) \
29291 --enable-shared
29292 @endif lto-plugin-bootstrap
29294 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29295 maybe-configure-stagefeedback-lto-plugin:
29296 @if lto-plugin-bootstrap
29297 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29298 configure-stagefeedback-lto-plugin:
29299 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29301 @r=`${PWD_COMMAND}`; export r; \
29302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29304 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29305 $(HOST_EXPORTS) \
29306 $(POSTSTAGE1_HOST_EXPORTS) \
29307 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29308 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29309 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29310 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29312 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29313 case $(srcdir) in \
29314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29315 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29317 esac; \
29318 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29319 libsrcdir="$$s/lto-plugin"; \
29320 $(SHELL) $${libsrcdir}/configure \
29321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29322 --target=${target_alias} $${srcdiroption} \
29323 --with-build-libsubdir=$(HOST_SUBDIR) \
29324 $(STAGEfeedback_CONFIGURE_FLAGS) \
29325 --enable-shared
29326 @endif lto-plugin-bootstrap
29332 .PHONY: all-lto-plugin maybe-all-lto-plugin
29333 maybe-all-lto-plugin:
29334 @if gcc-bootstrap
29335 all-lto-plugin: stage_current
29336 @endif gcc-bootstrap
29337 @if lto-plugin
29338 TARGET-lto-plugin=all
29339 maybe-all-lto-plugin: all-lto-plugin
29340 all-lto-plugin: configure-lto-plugin
29341 @r=`${PWD_COMMAND}`; export r; \
29342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(HOST_EXPORTS) \
29344 (cd $(HOST_SUBDIR)/lto-plugin && \
29345 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29346 $(TARGET-lto-plugin))
29347 @endif lto-plugin
29351 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29352 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29353 maybe-all-stage1-lto-plugin:
29354 maybe-clean-stage1-lto-plugin:
29355 @if lto-plugin-bootstrap
29356 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29357 all-stage1: all-stage1-lto-plugin
29358 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29359 all-stage1-lto-plugin: configure-stage1-lto-plugin
29360 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29361 @r=`${PWD_COMMAND}`; export r; \
29362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29363 TFLAGS="$(STAGE1_TFLAGS)"; \
29364 $(HOST_EXPORTS) \
29365 cd $(HOST_SUBDIR)/lto-plugin && \
29366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29367 CFLAGS="$(STAGE1_CFLAGS)" \
29368 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29369 LIBCFLAGS="$(LIBCFLAGS)" \
29370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29373 $(EXTRA_HOST_FLAGS) \
29374 TFLAGS="$(STAGE1_TFLAGS)" \
29375 $(TARGET-stage1-lto-plugin)
29377 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29378 clean-stage1: clean-stage1-lto-plugin
29379 clean-stage1-lto-plugin:
29380 @if [ $(current_stage) = stage1 ]; then \
29381 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29382 else \
29383 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29384 $(MAKE) stage1-start; \
29385 fi; \
29386 cd $(HOST_SUBDIR)/lto-plugin && \
29387 $(MAKE) $(EXTRA_HOST_FLAGS) \
29388 clean
29389 @endif lto-plugin-bootstrap
29392 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29393 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29394 maybe-all-stage2-lto-plugin:
29395 maybe-clean-stage2-lto-plugin:
29396 @if lto-plugin-bootstrap
29397 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29398 all-stage2: all-stage2-lto-plugin
29399 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29400 all-stage2-lto-plugin: configure-stage2-lto-plugin
29401 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29402 @r=`${PWD_COMMAND}`; export r; \
29403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29404 TFLAGS="$(STAGE2_TFLAGS)"; \
29405 $(HOST_EXPORTS) \
29406 $(POSTSTAGE1_HOST_EXPORTS) \
29407 cd $(HOST_SUBDIR)/lto-plugin && \
29408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29409 CFLAGS="$(STAGE2_CFLAGS)" \
29410 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29411 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29416 TFLAGS="$(STAGE2_TFLAGS)" \
29417 $(TARGET-stage2-lto-plugin)
29419 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29420 clean-stage2: clean-stage2-lto-plugin
29421 clean-stage2-lto-plugin:
29422 @if [ $(current_stage) = stage2 ]; then \
29423 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29424 else \
29425 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29426 $(MAKE) stage2-start; \
29427 fi; \
29428 cd $(HOST_SUBDIR)/lto-plugin && \
29429 $(MAKE) $(EXTRA_HOST_FLAGS) \
29430 $(POSTSTAGE1_FLAGS_TO_PASS) \
29431 clean
29432 @endif lto-plugin-bootstrap
29435 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29436 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29437 maybe-all-stage3-lto-plugin:
29438 maybe-clean-stage3-lto-plugin:
29439 @if lto-plugin-bootstrap
29440 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29441 all-stage3: all-stage3-lto-plugin
29442 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29443 all-stage3-lto-plugin: configure-stage3-lto-plugin
29444 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29445 @r=`${PWD_COMMAND}`; export r; \
29446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29447 TFLAGS="$(STAGE3_TFLAGS)"; \
29448 $(HOST_EXPORTS) \
29449 $(POSTSTAGE1_HOST_EXPORTS) \
29450 cd $(HOST_SUBDIR)/lto-plugin && \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29452 CFLAGS="$(STAGE3_CFLAGS)" \
29453 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29454 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29459 TFLAGS="$(STAGE3_TFLAGS)" \
29460 $(TARGET-stage3-lto-plugin)
29462 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29463 clean-stage3: clean-stage3-lto-plugin
29464 clean-stage3-lto-plugin:
29465 @if [ $(current_stage) = stage3 ]; then \
29466 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29467 else \
29468 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29469 $(MAKE) stage3-start; \
29470 fi; \
29471 cd $(HOST_SUBDIR)/lto-plugin && \
29472 $(MAKE) $(EXTRA_HOST_FLAGS) \
29473 $(POSTSTAGE1_FLAGS_TO_PASS) \
29474 clean
29475 @endif lto-plugin-bootstrap
29478 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29479 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29480 maybe-all-stage4-lto-plugin:
29481 maybe-clean-stage4-lto-plugin:
29482 @if lto-plugin-bootstrap
29483 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29484 all-stage4: all-stage4-lto-plugin
29485 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29486 all-stage4-lto-plugin: configure-stage4-lto-plugin
29487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29488 @r=`${PWD_COMMAND}`; export r; \
29489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29490 TFLAGS="$(STAGE4_TFLAGS)"; \
29491 $(HOST_EXPORTS) \
29492 $(POSTSTAGE1_HOST_EXPORTS) \
29493 cd $(HOST_SUBDIR)/lto-plugin && \
29494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29495 CFLAGS="$(STAGE4_CFLAGS)" \
29496 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29497 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29502 TFLAGS="$(STAGE4_TFLAGS)" \
29503 $(TARGET-stage4-lto-plugin)
29505 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29506 clean-stage4: clean-stage4-lto-plugin
29507 clean-stage4-lto-plugin:
29508 @if [ $(current_stage) = stage4 ]; then \
29509 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29510 else \
29511 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29512 $(MAKE) stage4-start; \
29513 fi; \
29514 cd $(HOST_SUBDIR)/lto-plugin && \
29515 $(MAKE) $(EXTRA_HOST_FLAGS) \
29516 $(POSTSTAGE1_FLAGS_TO_PASS) \
29517 clean
29518 @endif lto-plugin-bootstrap
29521 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29522 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29523 maybe-all-stageprofile-lto-plugin:
29524 maybe-clean-stageprofile-lto-plugin:
29525 @if lto-plugin-bootstrap
29526 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29527 all-stageprofile: all-stageprofile-lto-plugin
29528 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29529 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29530 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29531 @r=`${PWD_COMMAND}`; export r; \
29532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29533 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29534 $(HOST_EXPORTS) \
29535 $(POSTSTAGE1_HOST_EXPORTS) \
29536 cd $(HOST_SUBDIR)/lto-plugin && \
29537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29538 CFLAGS="$(STAGEprofile_CFLAGS)" \
29539 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29540 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29545 TFLAGS="$(STAGEprofile_TFLAGS)" \
29546 $(TARGET-stageprofile-lto-plugin)
29548 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29549 clean-stageprofile: clean-stageprofile-lto-plugin
29550 clean-stageprofile-lto-plugin:
29551 @if [ $(current_stage) = stageprofile ]; then \
29552 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29553 else \
29554 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29555 $(MAKE) stageprofile-start; \
29556 fi; \
29557 cd $(HOST_SUBDIR)/lto-plugin && \
29558 $(MAKE) $(EXTRA_HOST_FLAGS) \
29559 $(POSTSTAGE1_FLAGS_TO_PASS) \
29560 clean
29561 @endif lto-plugin-bootstrap
29564 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29565 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29566 maybe-all-stagefeedback-lto-plugin:
29567 maybe-clean-stagefeedback-lto-plugin:
29568 @if lto-plugin-bootstrap
29569 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29570 all-stagefeedback: all-stagefeedback-lto-plugin
29571 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29572 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29573 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29574 @r=`${PWD_COMMAND}`; export r; \
29575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29576 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29577 $(HOST_EXPORTS) \
29578 $(POSTSTAGE1_HOST_EXPORTS) \
29579 cd $(HOST_SUBDIR)/lto-plugin && \
29580 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29581 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29582 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29583 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29584 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29585 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29586 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29587 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29588 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29589 $(TARGET-stagefeedback-lto-plugin)
29591 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29592 clean-stagefeedback: clean-stagefeedback-lto-plugin
29593 clean-stagefeedback-lto-plugin:
29594 @if [ $(current_stage) = stagefeedback ]; then \
29595 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29596 else \
29597 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29598 $(MAKE) stagefeedback-start; \
29599 fi; \
29600 cd $(HOST_SUBDIR)/lto-plugin && \
29601 $(MAKE) $(EXTRA_HOST_FLAGS) \
29602 $(POSTSTAGE1_FLAGS_TO_PASS) \
29603 clean
29604 @endif lto-plugin-bootstrap
29610 .PHONY: check-lto-plugin maybe-check-lto-plugin
29611 maybe-check-lto-plugin:
29612 @if lto-plugin
29613 maybe-check-lto-plugin: check-lto-plugin
29615 check-lto-plugin:
29616 @: $(MAKE); $(unstage)
29617 @r=`${PWD_COMMAND}`; export r; \
29618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29619 $(HOST_EXPORTS) \
29620 (cd $(HOST_SUBDIR)/lto-plugin && \
29621 $(MAKE) $(FLAGS_TO_PASS) check)
29623 @endif lto-plugin
29625 .PHONY: install-lto-plugin maybe-install-lto-plugin
29626 maybe-install-lto-plugin:
29627 @if lto-plugin
29628 maybe-install-lto-plugin: install-lto-plugin
29630 install-lto-plugin: installdirs
29631 @: $(MAKE); $(unstage)
29632 @r=`${PWD_COMMAND}`; export r; \
29633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29634 $(HOST_EXPORTS) \
29635 (cd $(HOST_SUBDIR)/lto-plugin && \
29636 $(MAKE) $(FLAGS_TO_PASS) install)
29638 @endif lto-plugin
29640 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29641 maybe-install-strip-lto-plugin:
29642 @if lto-plugin
29643 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29645 install-strip-lto-plugin: installdirs
29646 @: $(MAKE); $(unstage)
29647 @r=`${PWD_COMMAND}`; export r; \
29648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29649 $(HOST_EXPORTS) \
29650 (cd $(HOST_SUBDIR)/lto-plugin && \
29651 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29653 @endif lto-plugin
29655 # Other targets (info, dvi, pdf, etc.)
29657 .PHONY: maybe-info-lto-plugin info-lto-plugin
29658 maybe-info-lto-plugin:
29659 @if lto-plugin
29660 maybe-info-lto-plugin: info-lto-plugin
29662 info-lto-plugin: \
29663 configure-lto-plugin
29664 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(HOST_EXPORTS) \
29668 for flag in $(EXTRA_HOST_FLAGS) ; do \
29669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29670 done; \
29671 echo "Doing info in lto-plugin" ; \
29672 (cd $(HOST_SUBDIR)/lto-plugin && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29677 info) \
29678 || exit 1
29680 @endif lto-plugin
29682 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29683 maybe-dvi-lto-plugin:
29684 @if lto-plugin
29685 maybe-dvi-lto-plugin: dvi-lto-plugin
29687 dvi-lto-plugin: \
29688 configure-lto-plugin
29689 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29690 r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 $(HOST_EXPORTS) \
29693 for flag in $(EXTRA_HOST_FLAGS) ; do \
29694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29695 done; \
29696 echo "Doing dvi in lto-plugin" ; \
29697 (cd $(HOST_SUBDIR)/lto-plugin && \
29698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29700 "RANLIB=$${RANLIB}" \
29701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29702 dvi) \
29703 || exit 1
29705 @endif lto-plugin
29707 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29708 maybe-pdf-lto-plugin:
29709 @if lto-plugin
29710 maybe-pdf-lto-plugin: pdf-lto-plugin
29712 pdf-lto-plugin: \
29713 configure-lto-plugin
29714 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29715 r=`${PWD_COMMAND}`; export r; \
29716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29717 $(HOST_EXPORTS) \
29718 for flag in $(EXTRA_HOST_FLAGS) ; do \
29719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29720 done; \
29721 echo "Doing pdf in lto-plugin" ; \
29722 (cd $(HOST_SUBDIR)/lto-plugin && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29727 pdf) \
29728 || exit 1
29730 @endif lto-plugin
29732 .PHONY: maybe-html-lto-plugin html-lto-plugin
29733 maybe-html-lto-plugin:
29734 @if lto-plugin
29735 maybe-html-lto-plugin: html-lto-plugin
29737 html-lto-plugin: \
29738 configure-lto-plugin
29739 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29740 r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(HOST_EXPORTS) \
29743 for flag in $(EXTRA_HOST_FLAGS) ; do \
29744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29745 done; \
29746 echo "Doing html in lto-plugin" ; \
29747 (cd $(HOST_SUBDIR)/lto-plugin && \
29748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29750 "RANLIB=$${RANLIB}" \
29751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29752 html) \
29753 || exit 1
29755 @endif lto-plugin
29757 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29758 maybe-TAGS-lto-plugin:
29759 @if lto-plugin
29760 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29762 TAGS-lto-plugin: \
29763 configure-lto-plugin
29764 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29765 r=`${PWD_COMMAND}`; export r; \
29766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29767 $(HOST_EXPORTS) \
29768 for flag in $(EXTRA_HOST_FLAGS) ; do \
29769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29770 done; \
29771 echo "Doing TAGS in lto-plugin" ; \
29772 (cd $(HOST_SUBDIR)/lto-plugin && \
29773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29775 "RANLIB=$${RANLIB}" \
29776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29777 TAGS) \
29778 || exit 1
29780 @endif lto-plugin
29782 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29783 maybe-install-info-lto-plugin:
29784 @if lto-plugin
29785 maybe-install-info-lto-plugin: install-info-lto-plugin
29787 install-info-lto-plugin: \
29788 configure-lto-plugin \
29789 info-lto-plugin
29790 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29791 r=`${PWD_COMMAND}`; export r; \
29792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29793 $(HOST_EXPORTS) \
29794 for flag in $(EXTRA_HOST_FLAGS) ; do \
29795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29796 done; \
29797 echo "Doing install-info in lto-plugin" ; \
29798 (cd $(HOST_SUBDIR)/lto-plugin && \
29799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29801 "RANLIB=$${RANLIB}" \
29802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29803 install-info) \
29804 || exit 1
29806 @endif lto-plugin
29808 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29809 maybe-install-pdf-lto-plugin:
29810 @if lto-plugin
29811 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29813 install-pdf-lto-plugin: \
29814 configure-lto-plugin \
29815 pdf-lto-plugin
29816 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29817 r=`${PWD_COMMAND}`; export r; \
29818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29819 $(HOST_EXPORTS) \
29820 for flag in $(EXTRA_HOST_FLAGS) ; do \
29821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29822 done; \
29823 echo "Doing install-pdf in lto-plugin" ; \
29824 (cd $(HOST_SUBDIR)/lto-plugin && \
29825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29827 "RANLIB=$${RANLIB}" \
29828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29829 install-pdf) \
29830 || exit 1
29832 @endif lto-plugin
29834 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29835 maybe-install-html-lto-plugin:
29836 @if lto-plugin
29837 maybe-install-html-lto-plugin: install-html-lto-plugin
29839 install-html-lto-plugin: \
29840 configure-lto-plugin \
29841 html-lto-plugin
29842 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29843 r=`${PWD_COMMAND}`; export r; \
29844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29845 $(HOST_EXPORTS) \
29846 for flag in $(EXTRA_HOST_FLAGS) ; do \
29847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29848 done; \
29849 echo "Doing install-html in lto-plugin" ; \
29850 (cd $(HOST_SUBDIR)/lto-plugin && \
29851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29853 "RANLIB=$${RANLIB}" \
29854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29855 install-html) \
29856 || exit 1
29858 @endif lto-plugin
29860 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29861 maybe-installcheck-lto-plugin:
29862 @if lto-plugin
29863 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29865 installcheck-lto-plugin: \
29866 configure-lto-plugin
29867 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29868 r=`${PWD_COMMAND}`; export r; \
29869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29870 $(HOST_EXPORTS) \
29871 for flag in $(EXTRA_HOST_FLAGS) ; do \
29872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29873 done; \
29874 echo "Doing installcheck in lto-plugin" ; \
29875 (cd $(HOST_SUBDIR)/lto-plugin && \
29876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29878 "RANLIB=$${RANLIB}" \
29879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29880 installcheck) \
29881 || exit 1
29883 @endif lto-plugin
29885 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29886 maybe-mostlyclean-lto-plugin:
29887 @if lto-plugin
29888 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29890 mostlyclean-lto-plugin:
29891 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29892 r=`${PWD_COMMAND}`; export r; \
29893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29894 $(HOST_EXPORTS) \
29895 for flag in $(EXTRA_HOST_FLAGS) ; do \
29896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29897 done; \
29898 echo "Doing mostlyclean in lto-plugin" ; \
29899 (cd $(HOST_SUBDIR)/lto-plugin && \
29900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29902 "RANLIB=$${RANLIB}" \
29903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29904 mostlyclean) \
29905 || exit 1
29907 @endif lto-plugin
29909 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29910 maybe-clean-lto-plugin:
29911 @if lto-plugin
29912 maybe-clean-lto-plugin: clean-lto-plugin
29914 clean-lto-plugin:
29915 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29916 r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(HOST_EXPORTS) \
29919 for flag in $(EXTRA_HOST_FLAGS) ; do \
29920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29921 done; \
29922 echo "Doing clean in lto-plugin" ; \
29923 (cd $(HOST_SUBDIR)/lto-plugin && \
29924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29926 "RANLIB=$${RANLIB}" \
29927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29928 clean) \
29929 || exit 1
29931 @endif lto-plugin
29933 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29934 maybe-distclean-lto-plugin:
29935 @if lto-plugin
29936 maybe-distclean-lto-plugin: distclean-lto-plugin
29938 distclean-lto-plugin:
29939 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29940 r=`${PWD_COMMAND}`; export r; \
29941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29942 $(HOST_EXPORTS) \
29943 for flag in $(EXTRA_HOST_FLAGS) ; do \
29944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29945 done; \
29946 echo "Doing distclean in lto-plugin" ; \
29947 (cd $(HOST_SUBDIR)/lto-plugin && \
29948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29950 "RANLIB=$${RANLIB}" \
29951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29952 distclean) \
29953 || exit 1
29955 @endif lto-plugin
29957 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29958 maybe-maintainer-clean-lto-plugin:
29959 @if lto-plugin
29960 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29962 maintainer-clean-lto-plugin:
29963 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 for flag in $(EXTRA_HOST_FLAGS) ; do \
29968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29969 done; \
29970 echo "Doing maintainer-clean in lto-plugin" ; \
29971 (cd $(HOST_SUBDIR)/lto-plugin && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29976 maintainer-clean) \
29977 || exit 1
29979 @endif lto-plugin
29983 # ---------------------------------------
29984 # Modules which run on the target machine
29985 # ---------------------------------------
29990 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29991 maybe-configure-target-libstdc++-v3:
29992 @if gcc-bootstrap
29993 configure-target-libstdc++-v3: stage_current
29994 @endif gcc-bootstrap
29995 @if target-libstdc++-v3
29996 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29997 configure-target-libstdc++-v3:
29998 @r=`${PWD_COMMAND}`; export r; \
29999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30000 echo "Checking multilib configuration for libstdc++-v3..."; \
30001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30002 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30003 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30004 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30005 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30006 else \
30007 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30008 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30009 fi; \
30010 else \
30011 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30012 fi; \
30013 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30014 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30015 $(RAW_CXX_TARGET_EXPORTS) \
30016 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30017 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30018 case $(srcdir) in \
30019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30020 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30022 esac; \
30023 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30024 libsrcdir="$$s/libstdc++-v3"; \
30025 rm -f no-such-file || : ; \
30026 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30028 --target=${target_alias} $${srcdiroption} \
30029 || exit 1
30030 @endif target-libstdc++-v3
30034 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30035 maybe-configure-stage1-target-libstdc++-v3:
30036 @if target-libstdc++-v3-bootstrap
30037 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30038 configure-stage1-target-libstdc++-v3:
30039 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30040 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30041 @r=`${PWD_COMMAND}`; export r; \
30042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30043 TFLAGS="$(STAGE1_TFLAGS)"; \
30044 echo "Checking multilib configuration for libstdc++-v3..."; \
30045 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30046 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30047 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30048 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30049 else \
30050 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30051 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30052 fi; \
30053 else \
30054 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30055 fi; \
30056 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30057 $(RAW_CXX_TARGET_EXPORTS) \
30058 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30059 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30060 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30061 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30063 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30064 case $(srcdir) in \
30065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30066 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30068 esac; \
30069 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30070 libsrcdir="$$s/libstdc++-v3"; \
30071 $(SHELL) $${libsrcdir}/configure \
30072 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30073 --target=${target_alias} $${srcdiroption} \
30074 $(STAGE1_CONFIGURE_FLAGS)
30075 @endif target-libstdc++-v3-bootstrap
30077 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30078 maybe-configure-stage2-target-libstdc++-v3:
30079 @if target-libstdc++-v3-bootstrap
30080 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30081 configure-stage2-target-libstdc++-v3:
30082 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30083 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30084 @r=`${PWD_COMMAND}`; export r; \
30085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30086 TFLAGS="$(STAGE2_TFLAGS)"; \
30087 echo "Checking multilib configuration for libstdc++-v3..."; \
30088 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30089 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30090 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30091 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30092 else \
30093 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30094 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30095 fi; \
30096 else \
30097 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30098 fi; \
30099 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30100 $(RAW_CXX_TARGET_EXPORTS) \
30102 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30103 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30104 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30105 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30107 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30108 case $(srcdir) in \
30109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30110 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30112 esac; \
30113 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30114 libsrcdir="$$s/libstdc++-v3"; \
30115 $(SHELL) $${libsrcdir}/configure \
30116 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30117 --target=${target_alias} $${srcdiroption} \
30118 --with-build-libsubdir=$(HOST_SUBDIR) \
30119 $(STAGE2_CONFIGURE_FLAGS)
30120 @endif target-libstdc++-v3-bootstrap
30122 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30123 maybe-configure-stage3-target-libstdc++-v3:
30124 @if target-libstdc++-v3-bootstrap
30125 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30126 configure-stage3-target-libstdc++-v3:
30127 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30128 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30129 @r=`${PWD_COMMAND}`; export r; \
30130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30131 TFLAGS="$(STAGE3_TFLAGS)"; \
30132 echo "Checking multilib configuration for libstdc++-v3..."; \
30133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30134 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30135 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30136 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30137 else \
30138 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30139 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30140 fi; \
30141 else \
30142 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30143 fi; \
30144 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30145 $(RAW_CXX_TARGET_EXPORTS) \
30147 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30148 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30149 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30150 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30151 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30152 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30153 case $(srcdir) in \
30154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30155 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30157 esac; \
30158 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30159 libsrcdir="$$s/libstdc++-v3"; \
30160 $(SHELL) $${libsrcdir}/configure \
30161 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30162 --target=${target_alias} $${srcdiroption} \
30163 --with-build-libsubdir=$(HOST_SUBDIR) \
30164 $(STAGE3_CONFIGURE_FLAGS)
30165 @endif target-libstdc++-v3-bootstrap
30167 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30168 maybe-configure-stage4-target-libstdc++-v3:
30169 @if target-libstdc++-v3-bootstrap
30170 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30171 configure-stage4-target-libstdc++-v3:
30172 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30173 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30174 @r=`${PWD_COMMAND}`; export r; \
30175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30176 TFLAGS="$(STAGE4_TFLAGS)"; \
30177 echo "Checking multilib configuration for libstdc++-v3..."; \
30178 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30179 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30180 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30181 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30182 else \
30183 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30184 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30185 fi; \
30186 else \
30187 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30188 fi; \
30189 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30190 $(RAW_CXX_TARGET_EXPORTS) \
30192 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30193 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30194 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30195 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30196 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30197 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30198 case $(srcdir) in \
30199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30200 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30202 esac; \
30203 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30204 libsrcdir="$$s/libstdc++-v3"; \
30205 $(SHELL) $${libsrcdir}/configure \
30206 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30207 --target=${target_alias} $${srcdiroption} \
30208 --with-build-libsubdir=$(HOST_SUBDIR) \
30209 $(STAGE4_CONFIGURE_FLAGS)
30210 @endif target-libstdc++-v3-bootstrap
30212 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30213 maybe-configure-stageprofile-target-libstdc++-v3:
30214 @if target-libstdc++-v3-bootstrap
30215 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30216 configure-stageprofile-target-libstdc++-v3:
30217 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30218 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30219 @r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30222 echo "Checking multilib configuration for libstdc++-v3..."; \
30223 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30224 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30225 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30226 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30227 else \
30228 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30229 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30230 fi; \
30231 else \
30232 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30233 fi; \
30234 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30235 $(RAW_CXX_TARGET_EXPORTS) \
30237 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30238 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30239 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30240 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30242 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30243 case $(srcdir) in \
30244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30245 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30247 esac; \
30248 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30249 libsrcdir="$$s/libstdc++-v3"; \
30250 $(SHELL) $${libsrcdir}/configure \
30251 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30252 --target=${target_alias} $${srcdiroption} \
30253 --with-build-libsubdir=$(HOST_SUBDIR) \
30254 $(STAGEprofile_CONFIGURE_FLAGS)
30255 @endif target-libstdc++-v3-bootstrap
30257 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30258 maybe-configure-stagefeedback-target-libstdc++-v3:
30259 @if target-libstdc++-v3-bootstrap
30260 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30261 configure-stagefeedback-target-libstdc++-v3:
30262 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30263 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30264 @r=`${PWD_COMMAND}`; export r; \
30265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30266 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30267 echo "Checking multilib configuration for libstdc++-v3..."; \
30268 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30269 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30270 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30271 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30272 else \
30273 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30274 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30275 fi; \
30276 else \
30277 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30278 fi; \
30279 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30280 $(RAW_CXX_TARGET_EXPORTS) \
30282 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30283 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30284 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30285 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30287 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30288 case $(srcdir) in \
30289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30290 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30292 esac; \
30293 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30294 libsrcdir="$$s/libstdc++-v3"; \
30295 $(SHELL) $${libsrcdir}/configure \
30296 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30297 --target=${target_alias} $${srcdiroption} \
30298 --with-build-libsubdir=$(HOST_SUBDIR) \
30299 $(STAGEfeedback_CONFIGURE_FLAGS)
30300 @endif target-libstdc++-v3-bootstrap
30306 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30307 maybe-all-target-libstdc++-v3:
30308 @if gcc-bootstrap
30309 all-target-libstdc++-v3: stage_current
30310 @endif gcc-bootstrap
30311 @if target-libstdc++-v3
30312 TARGET-target-libstdc++-v3=all
30313 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30314 all-target-libstdc++-v3: configure-target-libstdc++-v3
30315 @r=`${PWD_COMMAND}`; export r; \
30316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30317 $(RAW_CXX_TARGET_EXPORTS) \
30318 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30320 $(TARGET-target-libstdc++-v3))
30321 @endif target-libstdc++-v3
30325 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30326 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30327 maybe-all-stage1-target-libstdc++-v3:
30328 maybe-clean-stage1-target-libstdc++-v3:
30329 @if target-libstdc++-v3-bootstrap
30330 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30331 all-stage1: all-stage1-target-libstdc++-v3
30332 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30333 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30334 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30335 @r=`${PWD_COMMAND}`; export r; \
30336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30337 TFLAGS="$(STAGE1_TFLAGS)"; \
30338 $(RAW_CXX_TARGET_EXPORTS) \
30339 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30341 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30342 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30343 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30347 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30348 TFLAGS="$(STAGE1_TFLAGS)" \
30349 $(TARGET-stage1-target-libstdc++-v3)
30351 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30352 clean-stage1: clean-stage1-target-libstdc++-v3
30353 clean-stage1-target-libstdc++-v3:
30354 @if [ $(current_stage) = stage1 ]; then \
30355 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30356 else \
30357 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30358 $(MAKE) stage1-start; \
30359 fi; \
30360 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30361 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30362 clean
30363 @endif target-libstdc++-v3-bootstrap
30366 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30367 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30368 maybe-all-stage2-target-libstdc++-v3:
30369 maybe-clean-stage2-target-libstdc++-v3:
30370 @if target-libstdc++-v3-bootstrap
30371 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30372 all-stage2: all-stage2-target-libstdc++-v3
30373 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30374 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30375 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30376 @r=`${PWD_COMMAND}`; export r; \
30377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30378 TFLAGS="$(STAGE2_TFLAGS)"; \
30379 $(RAW_CXX_TARGET_EXPORTS) \
30381 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30383 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30384 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30385 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30389 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30390 TFLAGS="$(STAGE2_TFLAGS)" \
30391 $(TARGET-stage2-target-libstdc++-v3)
30393 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30394 clean-stage2: clean-stage2-target-libstdc++-v3
30395 clean-stage2-target-libstdc++-v3:
30396 @if [ $(current_stage) = stage2 ]; then \
30397 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30398 else \
30399 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30400 $(MAKE) stage2-start; \
30401 fi; \
30402 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30403 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30405 clean
30406 @endif target-libstdc++-v3-bootstrap
30409 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30410 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30411 maybe-all-stage3-target-libstdc++-v3:
30412 maybe-clean-stage3-target-libstdc++-v3:
30413 @if target-libstdc++-v3-bootstrap
30414 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30415 all-stage3: all-stage3-target-libstdc++-v3
30416 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30417 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30418 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30419 @r=`${PWD_COMMAND}`; export r; \
30420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30421 TFLAGS="$(STAGE3_TFLAGS)"; \
30422 $(RAW_CXX_TARGET_EXPORTS) \
30424 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30426 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30427 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30428 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30432 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30433 TFLAGS="$(STAGE3_TFLAGS)" \
30434 $(TARGET-stage3-target-libstdc++-v3)
30436 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30437 clean-stage3: clean-stage3-target-libstdc++-v3
30438 clean-stage3-target-libstdc++-v3:
30439 @if [ $(current_stage) = stage3 ]; then \
30440 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30441 else \
30442 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30443 $(MAKE) stage3-start; \
30444 fi; \
30445 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30446 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30448 clean
30449 @endif target-libstdc++-v3-bootstrap
30452 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30453 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30454 maybe-all-stage4-target-libstdc++-v3:
30455 maybe-clean-stage4-target-libstdc++-v3:
30456 @if target-libstdc++-v3-bootstrap
30457 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30458 all-stage4: all-stage4-target-libstdc++-v3
30459 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30460 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30461 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30462 @r=`${PWD_COMMAND}`; export r; \
30463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30464 TFLAGS="$(STAGE4_TFLAGS)"; \
30465 $(RAW_CXX_TARGET_EXPORTS) \
30467 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30469 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30470 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30471 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30475 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30476 TFLAGS="$(STAGE4_TFLAGS)" \
30477 $(TARGET-stage4-target-libstdc++-v3)
30479 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30480 clean-stage4: clean-stage4-target-libstdc++-v3
30481 clean-stage4-target-libstdc++-v3:
30482 @if [ $(current_stage) = stage4 ]; then \
30483 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30484 else \
30485 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30486 $(MAKE) stage4-start; \
30487 fi; \
30488 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30489 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30491 clean
30492 @endif target-libstdc++-v3-bootstrap
30495 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30496 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30497 maybe-all-stageprofile-target-libstdc++-v3:
30498 maybe-clean-stageprofile-target-libstdc++-v3:
30499 @if target-libstdc++-v3-bootstrap
30500 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30501 all-stageprofile: all-stageprofile-target-libstdc++-v3
30502 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30503 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30504 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30505 @r=`${PWD_COMMAND}`; export r; \
30506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30507 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30508 $(RAW_CXX_TARGET_EXPORTS) \
30510 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30512 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30513 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30514 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30518 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30519 TFLAGS="$(STAGEprofile_TFLAGS)" \
30520 $(TARGET-stageprofile-target-libstdc++-v3)
30522 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30523 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30524 clean-stageprofile-target-libstdc++-v3:
30525 @if [ $(current_stage) = stageprofile ]; then \
30526 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30527 else \
30528 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30529 $(MAKE) stageprofile-start; \
30530 fi; \
30531 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30532 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30534 clean
30535 @endif target-libstdc++-v3-bootstrap
30538 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30539 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30540 maybe-all-stagefeedback-target-libstdc++-v3:
30541 maybe-clean-stagefeedback-target-libstdc++-v3:
30542 @if target-libstdc++-v3-bootstrap
30543 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30544 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30545 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30546 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30548 @r=`${PWD_COMMAND}`; export r; \
30549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30550 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30551 $(RAW_CXX_TARGET_EXPORTS) \
30553 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30555 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30556 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30557 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30561 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30562 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30563 $(TARGET-stagefeedback-target-libstdc++-v3)
30565 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30566 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30567 clean-stagefeedback-target-libstdc++-v3:
30568 @if [ $(current_stage) = stagefeedback ]; then \
30569 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30570 else \
30571 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30572 $(MAKE) stagefeedback-start; \
30573 fi; \
30574 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30575 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30577 clean
30578 @endif target-libstdc++-v3-bootstrap
30585 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30586 maybe-check-target-libstdc++-v3:
30587 @if target-libstdc++-v3
30588 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30590 check-target-libstdc++-v3:
30591 @: $(MAKE); $(unstage)
30592 @r=`${PWD_COMMAND}`; export r; \
30593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30594 $(RAW_CXX_TARGET_EXPORTS) \
30595 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30596 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30598 @endif target-libstdc++-v3
30600 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30601 maybe-install-target-libstdc++-v3:
30602 @if target-libstdc++-v3
30603 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30605 install-target-libstdc++-v3: installdirs
30606 @: $(MAKE); $(unstage)
30607 @r=`${PWD_COMMAND}`; export r; \
30608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30609 $(RAW_CXX_TARGET_EXPORTS) \
30610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30611 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30613 @endif target-libstdc++-v3
30615 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30616 maybe-install-strip-target-libstdc++-v3:
30617 @if target-libstdc++-v3
30618 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30620 install-strip-target-libstdc++-v3: installdirs
30621 @: $(MAKE); $(unstage)
30622 @r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(RAW_CXX_TARGET_EXPORTS) \
30625 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30626 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30628 @endif target-libstdc++-v3
30630 # Other targets (info, dvi, pdf, etc.)
30632 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30633 maybe-info-target-libstdc++-v3:
30634 @if target-libstdc++-v3
30635 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30637 info-target-libstdc++-v3: \
30638 configure-target-libstdc++-v3
30639 @: $(MAKE); $(unstage)
30640 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30641 r=`${PWD_COMMAND}`; export r; \
30642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30643 $(RAW_CXX_TARGET_EXPORTS) \
30644 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30645 for flag in $(EXTRA_TARGET_FLAGS); do \
30646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30647 done; \
30648 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30651 "RANLIB=$${RANLIB}" \
30652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30653 info) \
30654 || exit 1
30656 @endif target-libstdc++-v3
30658 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30659 maybe-dvi-target-libstdc++-v3:
30660 @if target-libstdc++-v3
30661 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30663 dvi-target-libstdc++-v3: \
30664 configure-target-libstdc++-v3
30665 @: $(MAKE); $(unstage)
30666 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30667 r=`${PWD_COMMAND}`; export r; \
30668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30669 $(RAW_CXX_TARGET_EXPORTS) \
30670 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30671 for flag in $(EXTRA_TARGET_FLAGS); do \
30672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30673 done; \
30674 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30677 "RANLIB=$${RANLIB}" \
30678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30679 dvi) \
30680 || exit 1
30682 @endif target-libstdc++-v3
30684 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30685 maybe-pdf-target-libstdc++-v3:
30686 @if target-libstdc++-v3
30687 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30689 pdf-target-libstdc++-v3: \
30690 configure-target-libstdc++-v3
30691 @: $(MAKE); $(unstage)
30692 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30693 r=`${PWD_COMMAND}`; export r; \
30694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30695 $(RAW_CXX_TARGET_EXPORTS) \
30696 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30697 for flag in $(EXTRA_TARGET_FLAGS); do \
30698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30699 done; \
30700 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30703 "RANLIB=$${RANLIB}" \
30704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30705 pdf) \
30706 || exit 1
30708 @endif target-libstdc++-v3
30710 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30711 maybe-html-target-libstdc++-v3:
30712 @if target-libstdc++-v3
30713 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30715 html-target-libstdc++-v3: \
30716 configure-target-libstdc++-v3
30717 @: $(MAKE); $(unstage)
30718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30719 r=`${PWD_COMMAND}`; export r; \
30720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30721 $(RAW_CXX_TARGET_EXPORTS) \
30722 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30723 for flag in $(EXTRA_TARGET_FLAGS); do \
30724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30725 done; \
30726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30729 "RANLIB=$${RANLIB}" \
30730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30731 html) \
30732 || exit 1
30734 @endif target-libstdc++-v3
30736 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30737 maybe-TAGS-target-libstdc++-v3:
30738 @if target-libstdc++-v3
30739 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30741 TAGS-target-libstdc++-v3: \
30742 configure-target-libstdc++-v3
30743 @: $(MAKE); $(unstage)
30744 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30745 r=`${PWD_COMMAND}`; export r; \
30746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30747 $(RAW_CXX_TARGET_EXPORTS) \
30748 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30749 for flag in $(EXTRA_TARGET_FLAGS); do \
30750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30751 done; \
30752 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30755 "RANLIB=$${RANLIB}" \
30756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30757 TAGS) \
30758 || exit 1
30760 @endif target-libstdc++-v3
30762 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30763 maybe-install-info-target-libstdc++-v3:
30764 @if target-libstdc++-v3
30765 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30767 install-info-target-libstdc++-v3: \
30768 configure-target-libstdc++-v3 \
30769 info-target-libstdc++-v3
30770 @: $(MAKE); $(unstage)
30771 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30774 $(RAW_CXX_TARGET_EXPORTS) \
30775 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30776 for flag in $(EXTRA_TARGET_FLAGS); do \
30777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30778 done; \
30779 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30782 "RANLIB=$${RANLIB}" \
30783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30784 install-info) \
30785 || exit 1
30787 @endif target-libstdc++-v3
30789 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30790 maybe-install-pdf-target-libstdc++-v3:
30791 @if target-libstdc++-v3
30792 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30794 install-pdf-target-libstdc++-v3: \
30795 configure-target-libstdc++-v3 \
30796 pdf-target-libstdc++-v3
30797 @: $(MAKE); $(unstage)
30798 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30799 r=`${PWD_COMMAND}`; export r; \
30800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30801 $(RAW_CXX_TARGET_EXPORTS) \
30802 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30803 for flag in $(EXTRA_TARGET_FLAGS); do \
30804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30805 done; \
30806 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30809 "RANLIB=$${RANLIB}" \
30810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30811 install-pdf) \
30812 || exit 1
30814 @endif target-libstdc++-v3
30816 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30817 maybe-install-html-target-libstdc++-v3:
30818 @if target-libstdc++-v3
30819 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30821 install-html-target-libstdc++-v3: \
30822 configure-target-libstdc++-v3 \
30823 html-target-libstdc++-v3
30824 @: $(MAKE); $(unstage)
30825 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30826 r=`${PWD_COMMAND}`; export r; \
30827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30828 $(RAW_CXX_TARGET_EXPORTS) \
30829 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30830 for flag in $(EXTRA_TARGET_FLAGS); do \
30831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30832 done; \
30833 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30836 "RANLIB=$${RANLIB}" \
30837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30838 install-html) \
30839 || exit 1
30841 @endif target-libstdc++-v3
30843 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30844 maybe-installcheck-target-libstdc++-v3:
30845 @if target-libstdc++-v3
30846 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30848 installcheck-target-libstdc++-v3: \
30849 configure-target-libstdc++-v3
30850 @: $(MAKE); $(unstage)
30851 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(RAW_CXX_TARGET_EXPORTS) \
30855 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30856 for flag in $(EXTRA_TARGET_FLAGS); do \
30857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30858 done; \
30859 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30864 installcheck) \
30865 || exit 1
30867 @endif target-libstdc++-v3
30869 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30870 maybe-mostlyclean-target-libstdc++-v3:
30871 @if target-libstdc++-v3
30872 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30874 mostlyclean-target-libstdc++-v3:
30875 @: $(MAKE); $(unstage)
30876 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30877 r=`${PWD_COMMAND}`; export r; \
30878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30879 $(RAW_CXX_TARGET_EXPORTS) \
30880 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30881 for flag in $(EXTRA_TARGET_FLAGS); do \
30882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30883 done; \
30884 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30887 "RANLIB=$${RANLIB}" \
30888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30889 mostlyclean) \
30890 || exit 1
30892 @endif target-libstdc++-v3
30894 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30895 maybe-clean-target-libstdc++-v3:
30896 @if target-libstdc++-v3
30897 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30899 clean-target-libstdc++-v3:
30900 @: $(MAKE); $(unstage)
30901 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30902 r=`${PWD_COMMAND}`; export r; \
30903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30904 $(RAW_CXX_TARGET_EXPORTS) \
30905 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30906 for flag in $(EXTRA_TARGET_FLAGS); do \
30907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30908 done; \
30909 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30912 "RANLIB=$${RANLIB}" \
30913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30914 clean) \
30915 || exit 1
30917 @endif target-libstdc++-v3
30919 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30920 maybe-distclean-target-libstdc++-v3:
30921 @if target-libstdc++-v3
30922 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30924 distclean-target-libstdc++-v3:
30925 @: $(MAKE); $(unstage)
30926 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30927 r=`${PWD_COMMAND}`; export r; \
30928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30929 $(RAW_CXX_TARGET_EXPORTS) \
30930 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30931 for flag in $(EXTRA_TARGET_FLAGS); do \
30932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30933 done; \
30934 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30937 "RANLIB=$${RANLIB}" \
30938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30939 distclean) \
30940 || exit 1
30942 @endif target-libstdc++-v3
30944 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30945 maybe-maintainer-clean-target-libstdc++-v3:
30946 @if target-libstdc++-v3
30947 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30949 maintainer-clean-target-libstdc++-v3:
30950 @: $(MAKE); $(unstage)
30951 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30952 r=`${PWD_COMMAND}`; export r; \
30953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30954 $(RAW_CXX_TARGET_EXPORTS) \
30955 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30956 for flag in $(EXTRA_TARGET_FLAGS); do \
30957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30958 done; \
30959 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30962 "RANLIB=$${RANLIB}" \
30963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30964 maintainer-clean) \
30965 || exit 1
30967 @endif target-libstdc++-v3
30973 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30974 maybe-configure-target-libmudflap:
30975 @if gcc-bootstrap
30976 configure-target-libmudflap: stage_current
30977 @endif gcc-bootstrap
30978 @if target-libmudflap
30979 maybe-configure-target-libmudflap: configure-target-libmudflap
30980 configure-target-libmudflap:
30981 @: $(MAKE); $(unstage)
30982 @r=`${PWD_COMMAND}`; export r; \
30983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30984 echo "Checking multilib configuration for libmudflap..."; \
30985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30986 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30987 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30988 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30989 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30990 else \
30991 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30992 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30993 fi; \
30994 else \
30995 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30996 fi; \
30997 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30999 $(NORMAL_TARGET_EXPORTS) \
31000 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31001 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31002 case $(srcdir) in \
31003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31004 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31006 esac; \
31007 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31008 libsrcdir="$$s/libmudflap"; \
31009 rm -f no-such-file || : ; \
31010 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31012 --target=${target_alias} $${srcdiroption} \
31013 || exit 1
31014 @endif target-libmudflap
31020 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31021 maybe-all-target-libmudflap:
31022 @if gcc-bootstrap
31023 all-target-libmudflap: stage_current
31024 @endif gcc-bootstrap
31025 @if target-libmudflap
31026 TARGET-target-libmudflap=all
31027 maybe-all-target-libmudflap: all-target-libmudflap
31028 all-target-libmudflap: configure-target-libmudflap
31029 @: $(MAKE); $(unstage)
31030 @r=`${PWD_COMMAND}`; export r; \
31031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31032 $(NORMAL_TARGET_EXPORTS) \
31033 (cd $(TARGET_SUBDIR)/libmudflap && \
31034 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31035 $(TARGET-target-libmudflap))
31036 @endif target-libmudflap
31042 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31043 maybe-check-target-libmudflap:
31044 @if target-libmudflap
31045 maybe-check-target-libmudflap: check-target-libmudflap
31047 check-target-libmudflap:
31048 @: $(MAKE); $(unstage)
31049 @r=`${PWD_COMMAND}`; export r; \
31050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31051 $(NORMAL_TARGET_EXPORTS) \
31052 (cd $(TARGET_SUBDIR)/libmudflap && \
31053 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31055 @endif target-libmudflap
31057 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31058 maybe-install-target-libmudflap:
31059 @if target-libmudflap
31060 maybe-install-target-libmudflap: install-target-libmudflap
31062 install-target-libmudflap: installdirs
31063 @: $(MAKE); $(unstage)
31064 @r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 $(NORMAL_TARGET_EXPORTS) \
31067 (cd $(TARGET_SUBDIR)/libmudflap && \
31068 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31070 @endif target-libmudflap
31072 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31073 maybe-install-strip-target-libmudflap:
31074 @if target-libmudflap
31075 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31077 install-strip-target-libmudflap: installdirs
31078 @: $(MAKE); $(unstage)
31079 @r=`${PWD_COMMAND}`; export r; \
31080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31081 $(NORMAL_TARGET_EXPORTS) \
31082 (cd $(TARGET_SUBDIR)/libmudflap && \
31083 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31085 @endif target-libmudflap
31087 # Other targets (info, dvi, pdf, etc.)
31089 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31090 maybe-info-target-libmudflap:
31091 @if target-libmudflap
31092 maybe-info-target-libmudflap: info-target-libmudflap
31094 info-target-libmudflap: \
31095 configure-target-libmudflap
31096 @: $(MAKE); $(unstage)
31097 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31098 r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(NORMAL_TARGET_EXPORTS) \
31101 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31102 for flag in $(EXTRA_TARGET_FLAGS); do \
31103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31104 done; \
31105 (cd $(TARGET_SUBDIR)/libmudflap && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31108 "RANLIB=$${RANLIB}" \
31109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31110 info) \
31111 || exit 1
31113 @endif target-libmudflap
31115 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31116 maybe-dvi-target-libmudflap:
31117 @if target-libmudflap
31118 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31120 dvi-target-libmudflap: \
31121 configure-target-libmudflap
31122 @: $(MAKE); $(unstage)
31123 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(NORMAL_TARGET_EXPORTS) \
31127 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31128 for flag in $(EXTRA_TARGET_FLAGS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 (cd $(TARGET_SUBDIR)/libmudflap && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31136 dvi) \
31137 || exit 1
31139 @endif target-libmudflap
31141 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31142 maybe-pdf-target-libmudflap:
31143 @if target-libmudflap
31144 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31146 pdf-target-libmudflap: \
31147 configure-target-libmudflap
31148 @: $(MAKE); $(unstage)
31149 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(NORMAL_TARGET_EXPORTS) \
31153 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31154 for flag in $(EXTRA_TARGET_FLAGS); do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 (cd $(TARGET_SUBDIR)/libmudflap && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31162 pdf) \
31163 || exit 1
31165 @endif target-libmudflap
31167 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31168 maybe-html-target-libmudflap:
31169 @if target-libmudflap
31170 maybe-html-target-libmudflap: html-target-libmudflap
31172 html-target-libmudflap: \
31173 configure-target-libmudflap
31174 @: $(MAKE); $(unstage)
31175 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(NORMAL_TARGET_EXPORTS) \
31179 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31180 for flag in $(EXTRA_TARGET_FLAGS); do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 (cd $(TARGET_SUBDIR)/libmudflap && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 html) \
31189 || exit 1
31191 @endif target-libmudflap
31193 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31194 maybe-TAGS-target-libmudflap:
31195 @if target-libmudflap
31196 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31198 TAGS-target-libmudflap: \
31199 configure-target-libmudflap
31200 @: $(MAKE); $(unstage)
31201 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31202 r=`${PWD_COMMAND}`; export r; \
31203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31204 $(NORMAL_TARGET_EXPORTS) \
31205 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31206 for flag in $(EXTRA_TARGET_FLAGS); do \
31207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31208 done; \
31209 (cd $(TARGET_SUBDIR)/libmudflap && \
31210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31212 "RANLIB=$${RANLIB}" \
31213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31214 TAGS) \
31215 || exit 1
31217 @endif target-libmudflap
31219 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31220 maybe-install-info-target-libmudflap:
31221 @if target-libmudflap
31222 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31224 install-info-target-libmudflap: \
31225 configure-target-libmudflap \
31226 info-target-libmudflap
31227 @: $(MAKE); $(unstage)
31228 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31229 r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(NORMAL_TARGET_EXPORTS) \
31232 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31233 for flag in $(EXTRA_TARGET_FLAGS); do \
31234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31235 done; \
31236 (cd $(TARGET_SUBDIR)/libmudflap && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31239 "RANLIB=$${RANLIB}" \
31240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31241 install-info) \
31242 || exit 1
31244 @endif target-libmudflap
31246 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31247 maybe-install-pdf-target-libmudflap:
31248 @if target-libmudflap
31249 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31251 install-pdf-target-libmudflap: \
31252 configure-target-libmudflap \
31253 pdf-target-libmudflap
31254 @: $(MAKE); $(unstage)
31255 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31256 r=`${PWD_COMMAND}`; export r; \
31257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31258 $(NORMAL_TARGET_EXPORTS) \
31259 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31260 for flag in $(EXTRA_TARGET_FLAGS); do \
31261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31262 done; \
31263 (cd $(TARGET_SUBDIR)/libmudflap && \
31264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31266 "RANLIB=$${RANLIB}" \
31267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31268 install-pdf) \
31269 || exit 1
31271 @endif target-libmudflap
31273 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31274 maybe-install-html-target-libmudflap:
31275 @if target-libmudflap
31276 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31278 install-html-target-libmudflap: \
31279 configure-target-libmudflap \
31280 html-target-libmudflap
31281 @: $(MAKE); $(unstage)
31282 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31283 r=`${PWD_COMMAND}`; export r; \
31284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31285 $(NORMAL_TARGET_EXPORTS) \
31286 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31287 for flag in $(EXTRA_TARGET_FLAGS); do \
31288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31289 done; \
31290 (cd $(TARGET_SUBDIR)/libmudflap && \
31291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31293 "RANLIB=$${RANLIB}" \
31294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31295 install-html) \
31296 || exit 1
31298 @endif target-libmudflap
31300 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31301 maybe-installcheck-target-libmudflap:
31302 @if target-libmudflap
31303 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31305 installcheck-target-libmudflap: \
31306 configure-target-libmudflap
31307 @: $(MAKE); $(unstage)
31308 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31309 r=`${PWD_COMMAND}`; export r; \
31310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31311 $(NORMAL_TARGET_EXPORTS) \
31312 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31313 for flag in $(EXTRA_TARGET_FLAGS); do \
31314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31315 done; \
31316 (cd $(TARGET_SUBDIR)/libmudflap && \
31317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31319 "RANLIB=$${RANLIB}" \
31320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31321 installcheck) \
31322 || exit 1
31324 @endif target-libmudflap
31326 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31327 maybe-mostlyclean-target-libmudflap:
31328 @if target-libmudflap
31329 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31331 mostlyclean-target-libmudflap:
31332 @: $(MAKE); $(unstage)
31333 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31334 r=`${PWD_COMMAND}`; export r; \
31335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31336 $(NORMAL_TARGET_EXPORTS) \
31337 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31338 for flag in $(EXTRA_TARGET_FLAGS); do \
31339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31340 done; \
31341 (cd $(TARGET_SUBDIR)/libmudflap && \
31342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31344 "RANLIB=$${RANLIB}" \
31345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31346 mostlyclean) \
31347 || exit 1
31349 @endif target-libmudflap
31351 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31352 maybe-clean-target-libmudflap:
31353 @if target-libmudflap
31354 maybe-clean-target-libmudflap: clean-target-libmudflap
31356 clean-target-libmudflap:
31357 @: $(MAKE); $(unstage)
31358 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31359 r=`${PWD_COMMAND}`; export r; \
31360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31361 $(NORMAL_TARGET_EXPORTS) \
31362 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31363 for flag in $(EXTRA_TARGET_FLAGS); do \
31364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31365 done; \
31366 (cd $(TARGET_SUBDIR)/libmudflap && \
31367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31369 "RANLIB=$${RANLIB}" \
31370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31371 clean) \
31372 || exit 1
31374 @endif target-libmudflap
31376 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31377 maybe-distclean-target-libmudflap:
31378 @if target-libmudflap
31379 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31381 distclean-target-libmudflap:
31382 @: $(MAKE); $(unstage)
31383 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31384 r=`${PWD_COMMAND}`; export r; \
31385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31386 $(NORMAL_TARGET_EXPORTS) \
31387 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31388 for flag in $(EXTRA_TARGET_FLAGS); do \
31389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31390 done; \
31391 (cd $(TARGET_SUBDIR)/libmudflap && \
31392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31394 "RANLIB=$${RANLIB}" \
31395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31396 distclean) \
31397 || exit 1
31399 @endif target-libmudflap
31401 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31402 maybe-maintainer-clean-target-libmudflap:
31403 @if target-libmudflap
31404 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31406 maintainer-clean-target-libmudflap:
31407 @: $(MAKE); $(unstage)
31408 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31409 r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(NORMAL_TARGET_EXPORTS) \
31412 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31413 for flag in $(EXTRA_TARGET_FLAGS); do \
31414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31415 done; \
31416 (cd $(TARGET_SUBDIR)/libmudflap && \
31417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31419 "RANLIB=$${RANLIB}" \
31420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31421 maintainer-clean) \
31422 || exit 1
31424 @endif target-libmudflap
31430 .PHONY: configure-target-libssp maybe-configure-target-libssp
31431 maybe-configure-target-libssp:
31432 @if gcc-bootstrap
31433 configure-target-libssp: stage_current
31434 @endif gcc-bootstrap
31435 @if target-libssp
31436 maybe-configure-target-libssp: configure-target-libssp
31437 configure-target-libssp:
31438 @: $(MAKE); $(unstage)
31439 @r=`${PWD_COMMAND}`; export r; \
31440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31441 echo "Checking multilib configuration for libssp..."; \
31442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31444 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31445 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31446 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31447 else \
31448 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31449 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31450 fi; \
31451 else \
31452 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31453 fi; \
31454 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31455 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31456 $(NORMAL_TARGET_EXPORTS) \
31457 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31458 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31459 case $(srcdir) in \
31460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31461 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31463 esac; \
31464 srcdiroption="--srcdir=$${topdir}/libssp"; \
31465 libsrcdir="$$s/libssp"; \
31466 rm -f no-such-file || : ; \
31467 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31468 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31469 --target=${target_alias} $${srcdiroption} \
31470 || exit 1
31471 @endif target-libssp
31477 .PHONY: all-target-libssp maybe-all-target-libssp
31478 maybe-all-target-libssp:
31479 @if gcc-bootstrap
31480 all-target-libssp: stage_current
31481 @endif gcc-bootstrap
31482 @if target-libssp
31483 TARGET-target-libssp=all
31484 maybe-all-target-libssp: all-target-libssp
31485 all-target-libssp: configure-target-libssp
31486 @: $(MAKE); $(unstage)
31487 @r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(NORMAL_TARGET_EXPORTS) \
31490 (cd $(TARGET_SUBDIR)/libssp && \
31491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31492 $(TARGET-target-libssp))
31493 @endif target-libssp
31499 .PHONY: check-target-libssp maybe-check-target-libssp
31500 maybe-check-target-libssp:
31501 @if target-libssp
31502 maybe-check-target-libssp: check-target-libssp
31504 check-target-libssp:
31505 @: $(MAKE); $(unstage)
31506 @r=`${PWD_COMMAND}`; export r; \
31507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31508 $(NORMAL_TARGET_EXPORTS) \
31509 (cd $(TARGET_SUBDIR)/libssp && \
31510 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31512 @endif target-libssp
31514 .PHONY: install-target-libssp maybe-install-target-libssp
31515 maybe-install-target-libssp:
31516 @if target-libssp
31517 maybe-install-target-libssp: install-target-libssp
31519 install-target-libssp: installdirs
31520 @: $(MAKE); $(unstage)
31521 @r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(NORMAL_TARGET_EXPORTS) \
31524 (cd $(TARGET_SUBDIR)/libssp && \
31525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31527 @endif target-libssp
31529 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31530 maybe-install-strip-target-libssp:
31531 @if target-libssp
31532 maybe-install-strip-target-libssp: install-strip-target-libssp
31534 install-strip-target-libssp: installdirs
31535 @: $(MAKE); $(unstage)
31536 @r=`${PWD_COMMAND}`; export r; \
31537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31538 $(NORMAL_TARGET_EXPORTS) \
31539 (cd $(TARGET_SUBDIR)/libssp && \
31540 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31542 @endif target-libssp
31544 # Other targets (info, dvi, pdf, etc.)
31546 .PHONY: maybe-info-target-libssp info-target-libssp
31547 maybe-info-target-libssp:
31548 @if target-libssp
31549 maybe-info-target-libssp: info-target-libssp
31551 info-target-libssp: \
31552 configure-target-libssp
31553 @: $(MAKE); $(unstage)
31554 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31555 r=`${PWD_COMMAND}`; export r; \
31556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31557 $(NORMAL_TARGET_EXPORTS) \
31558 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31559 for flag in $(EXTRA_TARGET_FLAGS); do \
31560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31561 done; \
31562 (cd $(TARGET_SUBDIR)/libssp && \
31563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31565 "RANLIB=$${RANLIB}" \
31566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31567 info) \
31568 || exit 1
31570 @endif target-libssp
31572 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31573 maybe-dvi-target-libssp:
31574 @if target-libssp
31575 maybe-dvi-target-libssp: dvi-target-libssp
31577 dvi-target-libssp: \
31578 configure-target-libssp
31579 @: $(MAKE); $(unstage)
31580 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31581 r=`${PWD_COMMAND}`; export r; \
31582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31583 $(NORMAL_TARGET_EXPORTS) \
31584 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31585 for flag in $(EXTRA_TARGET_FLAGS); do \
31586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31587 done; \
31588 (cd $(TARGET_SUBDIR)/libssp && \
31589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31591 "RANLIB=$${RANLIB}" \
31592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31593 dvi) \
31594 || exit 1
31596 @endif target-libssp
31598 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31599 maybe-pdf-target-libssp:
31600 @if target-libssp
31601 maybe-pdf-target-libssp: pdf-target-libssp
31603 pdf-target-libssp: \
31604 configure-target-libssp
31605 @: $(MAKE); $(unstage)
31606 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31607 r=`${PWD_COMMAND}`; export r; \
31608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31609 $(NORMAL_TARGET_EXPORTS) \
31610 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31611 for flag in $(EXTRA_TARGET_FLAGS); do \
31612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31613 done; \
31614 (cd $(TARGET_SUBDIR)/libssp && \
31615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31617 "RANLIB=$${RANLIB}" \
31618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31619 pdf) \
31620 || exit 1
31622 @endif target-libssp
31624 .PHONY: maybe-html-target-libssp html-target-libssp
31625 maybe-html-target-libssp:
31626 @if target-libssp
31627 maybe-html-target-libssp: html-target-libssp
31629 html-target-libssp: \
31630 configure-target-libssp
31631 @: $(MAKE); $(unstage)
31632 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31633 r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(NORMAL_TARGET_EXPORTS) \
31636 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31637 for flag in $(EXTRA_TARGET_FLAGS); do \
31638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31639 done; \
31640 (cd $(TARGET_SUBDIR)/libssp && \
31641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31643 "RANLIB=$${RANLIB}" \
31644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31645 html) \
31646 || exit 1
31648 @endif target-libssp
31650 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31651 maybe-TAGS-target-libssp:
31652 @if target-libssp
31653 maybe-TAGS-target-libssp: TAGS-target-libssp
31655 TAGS-target-libssp: \
31656 configure-target-libssp
31657 @: $(MAKE); $(unstage)
31658 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31659 r=`${PWD_COMMAND}`; export r; \
31660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31661 $(NORMAL_TARGET_EXPORTS) \
31662 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31663 for flag in $(EXTRA_TARGET_FLAGS); do \
31664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31665 done; \
31666 (cd $(TARGET_SUBDIR)/libssp && \
31667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31669 "RANLIB=$${RANLIB}" \
31670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31671 TAGS) \
31672 || exit 1
31674 @endif target-libssp
31676 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31677 maybe-install-info-target-libssp:
31678 @if target-libssp
31679 maybe-install-info-target-libssp: install-info-target-libssp
31681 install-info-target-libssp: \
31682 configure-target-libssp \
31683 info-target-libssp
31684 @: $(MAKE); $(unstage)
31685 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31686 r=`${PWD_COMMAND}`; export r; \
31687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31688 $(NORMAL_TARGET_EXPORTS) \
31689 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31690 for flag in $(EXTRA_TARGET_FLAGS); do \
31691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31692 done; \
31693 (cd $(TARGET_SUBDIR)/libssp && \
31694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31696 "RANLIB=$${RANLIB}" \
31697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31698 install-info) \
31699 || exit 1
31701 @endif target-libssp
31703 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31704 maybe-install-pdf-target-libssp:
31705 @if target-libssp
31706 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31708 install-pdf-target-libssp: \
31709 configure-target-libssp \
31710 pdf-target-libssp
31711 @: $(MAKE); $(unstage)
31712 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(NORMAL_TARGET_EXPORTS) \
31716 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31717 for flag in $(EXTRA_TARGET_FLAGS); do \
31718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31719 done; \
31720 (cd $(TARGET_SUBDIR)/libssp && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31725 install-pdf) \
31726 || exit 1
31728 @endif target-libssp
31730 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31731 maybe-install-html-target-libssp:
31732 @if target-libssp
31733 maybe-install-html-target-libssp: install-html-target-libssp
31735 install-html-target-libssp: \
31736 configure-target-libssp \
31737 html-target-libssp
31738 @: $(MAKE); $(unstage)
31739 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31740 r=`${PWD_COMMAND}`; export r; \
31741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31742 $(NORMAL_TARGET_EXPORTS) \
31743 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31744 for flag in $(EXTRA_TARGET_FLAGS); do \
31745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31746 done; \
31747 (cd $(TARGET_SUBDIR)/libssp && \
31748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31750 "RANLIB=$${RANLIB}" \
31751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31752 install-html) \
31753 || exit 1
31755 @endif target-libssp
31757 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31758 maybe-installcheck-target-libssp:
31759 @if target-libssp
31760 maybe-installcheck-target-libssp: installcheck-target-libssp
31762 installcheck-target-libssp: \
31763 configure-target-libssp
31764 @: $(MAKE); $(unstage)
31765 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(NORMAL_TARGET_EXPORTS) \
31769 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31770 for flag in $(EXTRA_TARGET_FLAGS); do \
31771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31772 done; \
31773 (cd $(TARGET_SUBDIR)/libssp && \
31774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31776 "RANLIB=$${RANLIB}" \
31777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31778 installcheck) \
31779 || exit 1
31781 @endif target-libssp
31783 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31784 maybe-mostlyclean-target-libssp:
31785 @if target-libssp
31786 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31788 mostlyclean-target-libssp:
31789 @: $(MAKE); $(unstage)
31790 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31791 r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(NORMAL_TARGET_EXPORTS) \
31794 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31795 for flag in $(EXTRA_TARGET_FLAGS); do \
31796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31797 done; \
31798 (cd $(TARGET_SUBDIR)/libssp && \
31799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31801 "RANLIB=$${RANLIB}" \
31802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31803 mostlyclean) \
31804 || exit 1
31806 @endif target-libssp
31808 .PHONY: maybe-clean-target-libssp clean-target-libssp
31809 maybe-clean-target-libssp:
31810 @if target-libssp
31811 maybe-clean-target-libssp: clean-target-libssp
31813 clean-target-libssp:
31814 @: $(MAKE); $(unstage)
31815 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31816 r=`${PWD_COMMAND}`; export r; \
31817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31818 $(NORMAL_TARGET_EXPORTS) \
31819 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31820 for flag in $(EXTRA_TARGET_FLAGS); do \
31821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31822 done; \
31823 (cd $(TARGET_SUBDIR)/libssp && \
31824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31826 "RANLIB=$${RANLIB}" \
31827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31828 clean) \
31829 || exit 1
31831 @endif target-libssp
31833 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31834 maybe-distclean-target-libssp:
31835 @if target-libssp
31836 maybe-distclean-target-libssp: distclean-target-libssp
31838 distclean-target-libssp:
31839 @: $(MAKE); $(unstage)
31840 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31841 r=`${PWD_COMMAND}`; export r; \
31842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31843 $(NORMAL_TARGET_EXPORTS) \
31844 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31845 for flag in $(EXTRA_TARGET_FLAGS); do \
31846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31847 done; \
31848 (cd $(TARGET_SUBDIR)/libssp && \
31849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31851 "RANLIB=$${RANLIB}" \
31852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31853 distclean) \
31854 || exit 1
31856 @endif target-libssp
31858 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31859 maybe-maintainer-clean-target-libssp:
31860 @if target-libssp
31861 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31863 maintainer-clean-target-libssp:
31864 @: $(MAKE); $(unstage)
31865 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31866 r=`${PWD_COMMAND}`; export r; \
31867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31868 $(NORMAL_TARGET_EXPORTS) \
31869 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31870 for flag in $(EXTRA_TARGET_FLAGS); do \
31871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31872 done; \
31873 (cd $(TARGET_SUBDIR)/libssp && \
31874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31876 "RANLIB=$${RANLIB}" \
31877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31878 maintainer-clean) \
31879 || exit 1
31881 @endif target-libssp
31887 .PHONY: configure-target-newlib maybe-configure-target-newlib
31888 maybe-configure-target-newlib:
31889 @if gcc-bootstrap
31890 configure-target-newlib: stage_current
31891 @endif gcc-bootstrap
31892 @if target-newlib
31893 maybe-configure-target-newlib: configure-target-newlib
31894 configure-target-newlib:
31895 @: $(MAKE); $(unstage)
31896 @r=`${PWD_COMMAND}`; export r; \
31897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31898 echo "Checking multilib configuration for newlib..."; \
31899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31901 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31902 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31903 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31904 else \
31905 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31906 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31907 fi; \
31908 else \
31909 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31910 fi; \
31911 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31913 $(NORMAL_TARGET_EXPORTS) \
31914 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31915 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31916 case $(srcdir) in \
31917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31918 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31920 esac; \
31921 srcdiroption="--srcdir=$${topdir}/newlib"; \
31922 libsrcdir="$$s/newlib"; \
31923 rm -f no-such-file || : ; \
31924 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31925 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31926 --target=${target_alias} $${srcdiroption} \
31927 || exit 1
31928 @endif target-newlib
31934 .PHONY: all-target-newlib maybe-all-target-newlib
31935 maybe-all-target-newlib:
31936 @if gcc-bootstrap
31937 all-target-newlib: stage_current
31938 @endif gcc-bootstrap
31939 @if target-newlib
31940 TARGET-target-newlib=all
31941 maybe-all-target-newlib: all-target-newlib
31942 all-target-newlib: configure-target-newlib
31943 @: $(MAKE); $(unstage)
31944 @r=`${PWD_COMMAND}`; export r; \
31945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31946 $(NORMAL_TARGET_EXPORTS) \
31947 (cd $(TARGET_SUBDIR)/newlib && \
31948 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31949 $(TARGET-target-newlib))
31950 @endif target-newlib
31956 .PHONY: check-target-newlib maybe-check-target-newlib
31957 maybe-check-target-newlib:
31958 @if target-newlib
31959 maybe-check-target-newlib: check-target-newlib
31961 check-target-newlib:
31962 @: $(MAKE); $(unstage)
31963 @r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(NORMAL_TARGET_EXPORTS) \
31966 (cd $(TARGET_SUBDIR)/newlib && \
31967 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31969 @endif target-newlib
31971 .PHONY: install-target-newlib maybe-install-target-newlib
31972 maybe-install-target-newlib:
31973 @if target-newlib
31974 maybe-install-target-newlib: install-target-newlib
31976 install-target-newlib: installdirs
31977 @: $(MAKE); $(unstage)
31978 @r=`${PWD_COMMAND}`; export r; \
31979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31980 $(NORMAL_TARGET_EXPORTS) \
31981 (cd $(TARGET_SUBDIR)/newlib && \
31982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31984 @endif target-newlib
31986 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31987 maybe-install-strip-target-newlib:
31988 @if target-newlib
31989 maybe-install-strip-target-newlib: install-strip-target-newlib
31991 install-strip-target-newlib: installdirs
31992 @: $(MAKE); $(unstage)
31993 @r=`${PWD_COMMAND}`; export r; \
31994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31995 $(NORMAL_TARGET_EXPORTS) \
31996 (cd $(TARGET_SUBDIR)/newlib && \
31997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31999 @endif target-newlib
32001 # Other targets (info, dvi, pdf, etc.)
32003 .PHONY: maybe-info-target-newlib info-target-newlib
32004 maybe-info-target-newlib:
32005 @if target-newlib
32006 maybe-info-target-newlib: info-target-newlib
32008 info-target-newlib: \
32009 configure-target-newlib
32010 @: $(MAKE); $(unstage)
32011 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32012 r=`${PWD_COMMAND}`; export r; \
32013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32014 $(NORMAL_TARGET_EXPORTS) \
32015 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32016 for flag in $(EXTRA_TARGET_FLAGS); do \
32017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32018 done; \
32019 (cd $(TARGET_SUBDIR)/newlib && \
32020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32022 "RANLIB=$${RANLIB}" \
32023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32024 info) \
32025 || exit 1
32027 @endif target-newlib
32029 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32030 maybe-dvi-target-newlib:
32031 @if target-newlib
32032 maybe-dvi-target-newlib: dvi-target-newlib
32034 dvi-target-newlib: \
32035 configure-target-newlib
32036 @: $(MAKE); $(unstage)
32037 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32038 r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(NORMAL_TARGET_EXPORTS) \
32041 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32042 for flag in $(EXTRA_TARGET_FLAGS); do \
32043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32044 done; \
32045 (cd $(TARGET_SUBDIR)/newlib && \
32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32048 "RANLIB=$${RANLIB}" \
32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32050 dvi) \
32051 || exit 1
32053 @endif target-newlib
32055 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32056 maybe-pdf-target-newlib:
32057 @if target-newlib
32058 maybe-pdf-target-newlib: pdf-target-newlib
32060 pdf-target-newlib: \
32061 configure-target-newlib
32062 @: $(MAKE); $(unstage)
32063 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32064 r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 $(NORMAL_TARGET_EXPORTS) \
32067 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32068 for flag in $(EXTRA_TARGET_FLAGS); do \
32069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32070 done; \
32071 (cd $(TARGET_SUBDIR)/newlib && \
32072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32074 "RANLIB=$${RANLIB}" \
32075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32076 pdf) \
32077 || exit 1
32079 @endif target-newlib
32081 .PHONY: maybe-html-target-newlib html-target-newlib
32082 maybe-html-target-newlib:
32083 @if target-newlib
32084 maybe-html-target-newlib: html-target-newlib
32086 html-target-newlib: \
32087 configure-target-newlib
32088 @: $(MAKE); $(unstage)
32089 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32090 r=`${PWD_COMMAND}`; export r; \
32091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32092 $(NORMAL_TARGET_EXPORTS) \
32093 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32094 for flag in $(EXTRA_TARGET_FLAGS); do \
32095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32096 done; \
32097 (cd $(TARGET_SUBDIR)/newlib && \
32098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32100 "RANLIB=$${RANLIB}" \
32101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32102 html) \
32103 || exit 1
32105 @endif target-newlib
32107 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32108 maybe-TAGS-target-newlib:
32109 @if target-newlib
32110 maybe-TAGS-target-newlib: TAGS-target-newlib
32112 TAGS-target-newlib: \
32113 configure-target-newlib
32114 @: $(MAKE); $(unstage)
32115 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32116 r=`${PWD_COMMAND}`; export r; \
32117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32118 $(NORMAL_TARGET_EXPORTS) \
32119 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32120 for flag in $(EXTRA_TARGET_FLAGS); do \
32121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32122 done; \
32123 (cd $(TARGET_SUBDIR)/newlib && \
32124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32126 "RANLIB=$${RANLIB}" \
32127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32128 TAGS) \
32129 || exit 1
32131 @endif target-newlib
32133 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32134 maybe-install-info-target-newlib:
32135 @if target-newlib
32136 maybe-install-info-target-newlib: install-info-target-newlib
32138 install-info-target-newlib: \
32139 configure-target-newlib \
32140 info-target-newlib
32141 @: $(MAKE); $(unstage)
32142 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32143 r=`${PWD_COMMAND}`; export r; \
32144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32145 $(NORMAL_TARGET_EXPORTS) \
32146 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32147 for flag in $(EXTRA_TARGET_FLAGS); do \
32148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32149 done; \
32150 (cd $(TARGET_SUBDIR)/newlib && \
32151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32153 "RANLIB=$${RANLIB}" \
32154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32155 install-info) \
32156 || exit 1
32158 @endif target-newlib
32160 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32161 maybe-install-pdf-target-newlib:
32162 @if target-newlib
32163 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32165 install-pdf-target-newlib: \
32166 configure-target-newlib \
32167 pdf-target-newlib
32168 @: $(MAKE); $(unstage)
32169 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32170 r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 $(NORMAL_TARGET_EXPORTS) \
32173 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32174 for flag in $(EXTRA_TARGET_FLAGS); do \
32175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32176 done; \
32177 (cd $(TARGET_SUBDIR)/newlib && \
32178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32180 "RANLIB=$${RANLIB}" \
32181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32182 install-pdf) \
32183 || exit 1
32185 @endif target-newlib
32187 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32188 maybe-install-html-target-newlib:
32189 @if target-newlib
32190 maybe-install-html-target-newlib: install-html-target-newlib
32192 install-html-target-newlib: \
32193 configure-target-newlib \
32194 html-target-newlib
32195 @: $(MAKE); $(unstage)
32196 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32197 r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 $(NORMAL_TARGET_EXPORTS) \
32200 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32201 for flag in $(EXTRA_TARGET_FLAGS); do \
32202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32203 done; \
32204 (cd $(TARGET_SUBDIR)/newlib && \
32205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32207 "RANLIB=$${RANLIB}" \
32208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32209 install-html) \
32210 || exit 1
32212 @endif target-newlib
32214 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32215 maybe-installcheck-target-newlib:
32216 @if target-newlib
32217 maybe-installcheck-target-newlib: installcheck-target-newlib
32219 installcheck-target-newlib: \
32220 configure-target-newlib
32221 @: $(MAKE); $(unstage)
32222 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32223 r=`${PWD_COMMAND}`; export r; \
32224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32225 $(NORMAL_TARGET_EXPORTS) \
32226 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32227 for flag in $(EXTRA_TARGET_FLAGS); do \
32228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32229 done; \
32230 (cd $(TARGET_SUBDIR)/newlib && \
32231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32233 "RANLIB=$${RANLIB}" \
32234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32235 installcheck) \
32236 || exit 1
32238 @endif target-newlib
32240 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32241 maybe-mostlyclean-target-newlib:
32242 @if target-newlib
32243 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32245 mostlyclean-target-newlib:
32246 @: $(MAKE); $(unstage)
32247 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32248 r=`${PWD_COMMAND}`; export r; \
32249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32250 $(NORMAL_TARGET_EXPORTS) \
32251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32252 for flag in $(EXTRA_TARGET_FLAGS); do \
32253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32254 done; \
32255 (cd $(TARGET_SUBDIR)/newlib && \
32256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32258 "RANLIB=$${RANLIB}" \
32259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32260 mostlyclean) \
32261 || exit 1
32263 @endif target-newlib
32265 .PHONY: maybe-clean-target-newlib clean-target-newlib
32266 maybe-clean-target-newlib:
32267 @if target-newlib
32268 maybe-clean-target-newlib: clean-target-newlib
32270 clean-target-newlib:
32271 @: $(MAKE); $(unstage)
32272 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32273 r=`${PWD_COMMAND}`; export r; \
32274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32275 $(NORMAL_TARGET_EXPORTS) \
32276 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32277 for flag in $(EXTRA_TARGET_FLAGS); do \
32278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32279 done; \
32280 (cd $(TARGET_SUBDIR)/newlib && \
32281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32283 "RANLIB=$${RANLIB}" \
32284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32285 clean) \
32286 || exit 1
32288 @endif target-newlib
32290 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32291 maybe-distclean-target-newlib:
32292 @if target-newlib
32293 maybe-distclean-target-newlib: distclean-target-newlib
32295 distclean-target-newlib:
32296 @: $(MAKE); $(unstage)
32297 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32298 r=`${PWD_COMMAND}`; export r; \
32299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32300 $(NORMAL_TARGET_EXPORTS) \
32301 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32302 for flag in $(EXTRA_TARGET_FLAGS); do \
32303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32304 done; \
32305 (cd $(TARGET_SUBDIR)/newlib && \
32306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32308 "RANLIB=$${RANLIB}" \
32309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32310 distclean) \
32311 || exit 1
32313 @endif target-newlib
32315 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32316 maybe-maintainer-clean-target-newlib:
32317 @if target-newlib
32318 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32320 maintainer-clean-target-newlib:
32321 @: $(MAKE); $(unstage)
32322 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32323 r=`${PWD_COMMAND}`; export r; \
32324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32325 $(NORMAL_TARGET_EXPORTS) \
32326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32327 for flag in $(EXTRA_TARGET_FLAGS); do \
32328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32329 done; \
32330 (cd $(TARGET_SUBDIR)/newlib && \
32331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32333 "RANLIB=$${RANLIB}" \
32334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32335 maintainer-clean) \
32336 || exit 1
32338 @endif target-newlib
32344 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32345 maybe-configure-target-libgcc:
32346 @if gcc-bootstrap
32347 configure-target-libgcc: stage_current
32348 @endif gcc-bootstrap
32349 @if target-libgcc
32350 maybe-configure-target-libgcc: configure-target-libgcc
32351 configure-target-libgcc:
32352 @r=`${PWD_COMMAND}`; export r; \
32353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32354 echo "Checking multilib configuration for libgcc..."; \
32355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32356 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32357 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32358 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32359 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32360 else \
32361 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32362 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32363 fi; \
32364 else \
32365 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32366 fi; \
32367 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32369 $(NORMAL_TARGET_EXPORTS) \
32370 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32371 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32372 case $(srcdir) in \
32373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32374 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32376 esac; \
32377 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32378 libsrcdir="$$s/libgcc"; \
32379 rm -f no-such-file || : ; \
32380 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32381 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32382 --target=${target_alias} $${srcdiroption} \
32383 || exit 1
32384 @endif target-libgcc
32388 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32389 maybe-configure-stage1-target-libgcc:
32390 @if target-libgcc-bootstrap
32391 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32392 configure-stage1-target-libgcc:
32393 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32394 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32395 @r=`${PWD_COMMAND}`; export r; \
32396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32397 TFLAGS="$(STAGE1_TFLAGS)"; \
32398 echo "Checking multilib configuration for libgcc..."; \
32399 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32400 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32401 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32402 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32403 else \
32404 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32405 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32406 fi; \
32407 else \
32408 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32409 fi; \
32410 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32411 $(NORMAL_TARGET_EXPORTS) \
32412 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32413 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32414 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32415 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32417 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32418 case $(srcdir) in \
32419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32420 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32422 esac; \
32423 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32424 libsrcdir="$$s/libgcc"; \
32425 $(SHELL) $${libsrcdir}/configure \
32426 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32427 --target=${target_alias} $${srcdiroption} \
32428 $(STAGE1_CONFIGURE_FLAGS)
32429 @endif target-libgcc-bootstrap
32431 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32432 maybe-configure-stage2-target-libgcc:
32433 @if target-libgcc-bootstrap
32434 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32435 configure-stage2-target-libgcc:
32436 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32437 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32438 @r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 TFLAGS="$(STAGE2_TFLAGS)"; \
32441 echo "Checking multilib configuration for libgcc..."; \
32442 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32443 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32444 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32445 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32446 else \
32447 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32448 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32449 fi; \
32450 else \
32451 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32452 fi; \
32453 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32454 $(NORMAL_TARGET_EXPORTS) \
32456 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32457 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32458 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32459 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32460 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32461 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32462 case $(srcdir) in \
32463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32464 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32466 esac; \
32467 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32468 libsrcdir="$$s/libgcc"; \
32469 $(SHELL) $${libsrcdir}/configure \
32470 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32471 --target=${target_alias} $${srcdiroption} \
32472 --with-build-libsubdir=$(HOST_SUBDIR) \
32473 $(STAGE2_CONFIGURE_FLAGS)
32474 @endif target-libgcc-bootstrap
32476 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32477 maybe-configure-stage3-target-libgcc:
32478 @if target-libgcc-bootstrap
32479 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32480 configure-stage3-target-libgcc:
32481 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32482 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32483 @r=`${PWD_COMMAND}`; export r; \
32484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32485 TFLAGS="$(STAGE3_TFLAGS)"; \
32486 echo "Checking multilib configuration for libgcc..."; \
32487 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32488 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32489 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32490 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32491 else \
32492 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32493 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32494 fi; \
32495 else \
32496 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32497 fi; \
32498 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32499 $(NORMAL_TARGET_EXPORTS) \
32501 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32502 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32503 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32504 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32505 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32506 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32507 case $(srcdir) in \
32508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32509 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32511 esac; \
32512 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32513 libsrcdir="$$s/libgcc"; \
32514 $(SHELL) $${libsrcdir}/configure \
32515 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32516 --target=${target_alias} $${srcdiroption} \
32517 --with-build-libsubdir=$(HOST_SUBDIR) \
32518 $(STAGE3_CONFIGURE_FLAGS)
32519 @endif target-libgcc-bootstrap
32521 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32522 maybe-configure-stage4-target-libgcc:
32523 @if target-libgcc-bootstrap
32524 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32525 configure-stage4-target-libgcc:
32526 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32527 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32528 @r=`${PWD_COMMAND}`; export r; \
32529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32530 TFLAGS="$(STAGE4_TFLAGS)"; \
32531 echo "Checking multilib configuration for libgcc..."; \
32532 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32533 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32534 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32535 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32536 else \
32537 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32538 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32539 fi; \
32540 else \
32541 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32542 fi; \
32543 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32544 $(NORMAL_TARGET_EXPORTS) \
32546 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32547 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32548 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32549 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32551 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32552 case $(srcdir) in \
32553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32554 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32556 esac; \
32557 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32558 libsrcdir="$$s/libgcc"; \
32559 $(SHELL) $${libsrcdir}/configure \
32560 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32561 --target=${target_alias} $${srcdiroption} \
32562 --with-build-libsubdir=$(HOST_SUBDIR) \
32563 $(STAGE4_CONFIGURE_FLAGS)
32564 @endif target-libgcc-bootstrap
32566 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32567 maybe-configure-stageprofile-target-libgcc:
32568 @if target-libgcc-bootstrap
32569 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32570 configure-stageprofile-target-libgcc:
32571 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32572 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32573 @r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32576 echo "Checking multilib configuration for libgcc..."; \
32577 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32578 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32579 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32580 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32581 else \
32582 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32583 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32584 fi; \
32585 else \
32586 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32587 fi; \
32588 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32589 $(NORMAL_TARGET_EXPORTS) \
32591 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32592 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32593 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32594 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32596 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32597 case $(srcdir) in \
32598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32599 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32601 esac; \
32602 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32603 libsrcdir="$$s/libgcc"; \
32604 $(SHELL) $${libsrcdir}/configure \
32605 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32606 --target=${target_alias} $${srcdiroption} \
32607 --with-build-libsubdir=$(HOST_SUBDIR) \
32608 $(STAGEprofile_CONFIGURE_FLAGS)
32609 @endif target-libgcc-bootstrap
32611 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32612 maybe-configure-stagefeedback-target-libgcc:
32613 @if target-libgcc-bootstrap
32614 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32615 configure-stagefeedback-target-libgcc:
32616 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32617 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32618 @r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32621 echo "Checking multilib configuration for libgcc..."; \
32622 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32623 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32624 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32625 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32626 else \
32627 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32628 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32629 fi; \
32630 else \
32631 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32632 fi; \
32633 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32634 $(NORMAL_TARGET_EXPORTS) \
32636 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32637 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32638 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32639 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32641 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32642 case $(srcdir) in \
32643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32644 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32646 esac; \
32647 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32648 libsrcdir="$$s/libgcc"; \
32649 $(SHELL) $${libsrcdir}/configure \
32650 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32651 --target=${target_alias} $${srcdiroption} \
32652 --with-build-libsubdir=$(HOST_SUBDIR) \
32653 $(STAGEfeedback_CONFIGURE_FLAGS)
32654 @endif target-libgcc-bootstrap
32660 .PHONY: all-target-libgcc maybe-all-target-libgcc
32661 maybe-all-target-libgcc:
32662 @if gcc-bootstrap
32663 all-target-libgcc: stage_current
32664 @endif gcc-bootstrap
32665 @if target-libgcc
32666 TARGET-target-libgcc=all
32667 maybe-all-target-libgcc: all-target-libgcc
32668 all-target-libgcc: configure-target-libgcc
32669 @r=`${PWD_COMMAND}`; export r; \
32670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32671 $(NORMAL_TARGET_EXPORTS) \
32672 (cd $(TARGET_SUBDIR)/libgcc && \
32673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32674 $(TARGET-target-libgcc))
32675 @endif target-libgcc
32679 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32680 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32681 maybe-all-stage1-target-libgcc:
32682 maybe-clean-stage1-target-libgcc:
32683 @if target-libgcc-bootstrap
32684 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32685 all-stage1: all-stage1-target-libgcc
32686 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32687 all-stage1-target-libgcc: configure-stage1-target-libgcc
32688 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32689 @r=`${PWD_COMMAND}`; export r; \
32690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32691 TFLAGS="$(STAGE1_TFLAGS)"; \
32692 $(NORMAL_TARGET_EXPORTS) \
32693 cd $(TARGET_SUBDIR)/libgcc && \
32694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32695 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32696 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32697 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32701 $(EXTRA_TARGET_FLAGS) \
32702 TFLAGS="$(STAGE1_TFLAGS)" \
32703 $(TARGET-stage1-target-libgcc)
32705 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32706 clean-stage1: clean-stage1-target-libgcc
32707 clean-stage1-target-libgcc:
32708 @if [ $(current_stage) = stage1 ]; then \
32709 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32710 else \
32711 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32712 $(MAKE) stage1-start; \
32713 fi; \
32714 cd $(TARGET_SUBDIR)/libgcc && \
32715 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32716 clean
32717 @endif target-libgcc-bootstrap
32720 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32721 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32722 maybe-all-stage2-target-libgcc:
32723 maybe-clean-stage2-target-libgcc:
32724 @if target-libgcc-bootstrap
32725 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32726 all-stage2: all-stage2-target-libgcc
32727 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32728 all-stage2-target-libgcc: configure-stage2-target-libgcc
32729 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32730 @r=`${PWD_COMMAND}`; export r; \
32731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32732 TFLAGS="$(STAGE2_TFLAGS)"; \
32733 $(NORMAL_TARGET_EXPORTS) \
32735 cd $(TARGET_SUBDIR)/libgcc && \
32736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32737 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32743 $(EXTRA_TARGET_FLAGS) \
32744 TFLAGS="$(STAGE2_TFLAGS)" \
32745 $(TARGET-stage2-target-libgcc)
32747 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32748 clean-stage2: clean-stage2-target-libgcc
32749 clean-stage2-target-libgcc:
32750 @if [ $(current_stage) = stage2 ]; then \
32751 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32752 else \
32753 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32754 $(MAKE) stage2-start; \
32755 fi; \
32756 cd $(TARGET_SUBDIR)/libgcc && \
32757 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32759 clean
32760 @endif target-libgcc-bootstrap
32763 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32764 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32765 maybe-all-stage3-target-libgcc:
32766 maybe-clean-stage3-target-libgcc:
32767 @if target-libgcc-bootstrap
32768 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32769 all-stage3: all-stage3-target-libgcc
32770 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32771 all-stage3-target-libgcc: configure-stage3-target-libgcc
32772 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32773 @r=`${PWD_COMMAND}`; export r; \
32774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32775 TFLAGS="$(STAGE3_TFLAGS)"; \
32776 $(NORMAL_TARGET_EXPORTS) \
32778 cd $(TARGET_SUBDIR)/libgcc && \
32779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32780 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32781 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32782 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32786 $(EXTRA_TARGET_FLAGS) \
32787 TFLAGS="$(STAGE3_TFLAGS)" \
32788 $(TARGET-stage3-target-libgcc)
32790 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32791 clean-stage3: clean-stage3-target-libgcc
32792 clean-stage3-target-libgcc:
32793 @if [ $(current_stage) = stage3 ]; then \
32794 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32795 else \
32796 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32797 $(MAKE) stage3-start; \
32798 fi; \
32799 cd $(TARGET_SUBDIR)/libgcc && \
32800 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32802 clean
32803 @endif target-libgcc-bootstrap
32806 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32807 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32808 maybe-all-stage4-target-libgcc:
32809 maybe-clean-stage4-target-libgcc:
32810 @if target-libgcc-bootstrap
32811 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32812 all-stage4: all-stage4-target-libgcc
32813 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32814 all-stage4-target-libgcc: configure-stage4-target-libgcc
32815 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32816 @r=`${PWD_COMMAND}`; export r; \
32817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32818 TFLAGS="$(STAGE4_TFLAGS)"; \
32819 $(NORMAL_TARGET_EXPORTS) \
32821 cd $(TARGET_SUBDIR)/libgcc && \
32822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32823 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32824 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32825 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32829 $(EXTRA_TARGET_FLAGS) \
32830 TFLAGS="$(STAGE4_TFLAGS)" \
32831 $(TARGET-stage4-target-libgcc)
32833 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32834 clean-stage4: clean-stage4-target-libgcc
32835 clean-stage4-target-libgcc:
32836 @if [ $(current_stage) = stage4 ]; then \
32837 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32838 else \
32839 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32840 $(MAKE) stage4-start; \
32841 fi; \
32842 cd $(TARGET_SUBDIR)/libgcc && \
32843 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32845 clean
32846 @endif target-libgcc-bootstrap
32849 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32850 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32851 maybe-all-stageprofile-target-libgcc:
32852 maybe-clean-stageprofile-target-libgcc:
32853 @if target-libgcc-bootstrap
32854 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32855 all-stageprofile: all-stageprofile-target-libgcc
32856 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32857 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32858 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32859 @r=`${PWD_COMMAND}`; export r; \
32860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32861 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32862 $(NORMAL_TARGET_EXPORTS) \
32864 cd $(TARGET_SUBDIR)/libgcc && \
32865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32866 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32867 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32868 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32872 $(EXTRA_TARGET_FLAGS) \
32873 TFLAGS="$(STAGEprofile_TFLAGS)" \
32874 $(TARGET-stageprofile-target-libgcc)
32876 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32877 clean-stageprofile: clean-stageprofile-target-libgcc
32878 clean-stageprofile-target-libgcc:
32879 @if [ $(current_stage) = stageprofile ]; then \
32880 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32881 else \
32882 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32883 $(MAKE) stageprofile-start; \
32884 fi; \
32885 cd $(TARGET_SUBDIR)/libgcc && \
32886 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32888 clean
32889 @endif target-libgcc-bootstrap
32892 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32893 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32894 maybe-all-stagefeedback-target-libgcc:
32895 maybe-clean-stagefeedback-target-libgcc:
32896 @if target-libgcc-bootstrap
32897 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32898 all-stagefeedback: all-stagefeedback-target-libgcc
32899 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32900 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32901 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32902 @r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32905 $(NORMAL_TARGET_EXPORTS) \
32907 cd $(TARGET_SUBDIR)/libgcc && \
32908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32909 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32910 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32911 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32915 $(EXTRA_TARGET_FLAGS) \
32916 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32917 $(TARGET-stagefeedback-target-libgcc)
32919 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32920 clean-stagefeedback: clean-stagefeedback-target-libgcc
32921 clean-stagefeedback-target-libgcc:
32922 @if [ $(current_stage) = stagefeedback ]; then \
32923 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32924 else \
32925 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32926 $(MAKE) stagefeedback-start; \
32927 fi; \
32928 cd $(TARGET_SUBDIR)/libgcc && \
32929 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32931 clean
32932 @endif target-libgcc-bootstrap
32939 .PHONY: check-target-libgcc maybe-check-target-libgcc
32940 maybe-check-target-libgcc:
32941 @if target-libgcc
32942 maybe-check-target-libgcc: check-target-libgcc
32944 # Dummy target for uncheckable module.
32945 check-target-libgcc:
32947 @endif target-libgcc
32949 .PHONY: install-target-libgcc maybe-install-target-libgcc
32950 maybe-install-target-libgcc:
32951 @if target-libgcc
32952 maybe-install-target-libgcc: install-target-libgcc
32954 install-target-libgcc: installdirs
32955 @: $(MAKE); $(unstage)
32956 @r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(NORMAL_TARGET_EXPORTS) \
32959 (cd $(TARGET_SUBDIR)/libgcc && \
32960 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32962 @endif target-libgcc
32964 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32965 maybe-install-strip-target-libgcc:
32966 @if target-libgcc
32967 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32969 install-strip-target-libgcc: installdirs
32970 @: $(MAKE); $(unstage)
32971 @r=`${PWD_COMMAND}`; export r; \
32972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32973 $(NORMAL_TARGET_EXPORTS) \
32974 (cd $(TARGET_SUBDIR)/libgcc && \
32975 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32977 @endif target-libgcc
32979 # Other targets (info, dvi, pdf, etc.)
32981 .PHONY: maybe-info-target-libgcc info-target-libgcc
32982 maybe-info-target-libgcc:
32983 @if target-libgcc
32984 maybe-info-target-libgcc: info-target-libgcc
32986 info-target-libgcc: \
32987 configure-target-libgcc
32988 @: $(MAKE); $(unstage)
32989 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32990 r=`${PWD_COMMAND}`; export r; \
32991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32992 $(NORMAL_TARGET_EXPORTS) \
32993 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32994 for flag in $(EXTRA_TARGET_FLAGS); do \
32995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32996 done; \
32997 (cd $(TARGET_SUBDIR)/libgcc && \
32998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33000 "RANLIB=$${RANLIB}" \
33001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33002 info) \
33003 || exit 1
33005 @endif target-libgcc
33007 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33008 maybe-dvi-target-libgcc:
33009 @if target-libgcc
33010 maybe-dvi-target-libgcc: dvi-target-libgcc
33012 dvi-target-libgcc: \
33013 configure-target-libgcc
33014 @: $(MAKE); $(unstage)
33015 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33016 r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(NORMAL_TARGET_EXPORTS) \
33019 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33020 for flag in $(EXTRA_TARGET_FLAGS); do \
33021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33022 done; \
33023 (cd $(TARGET_SUBDIR)/libgcc && \
33024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33026 "RANLIB=$${RANLIB}" \
33027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33028 dvi) \
33029 || exit 1
33031 @endif target-libgcc
33033 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33034 maybe-pdf-target-libgcc:
33035 @if target-libgcc
33036 maybe-pdf-target-libgcc: pdf-target-libgcc
33038 pdf-target-libgcc: \
33039 configure-target-libgcc
33040 @: $(MAKE); $(unstage)
33041 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33042 r=`${PWD_COMMAND}`; export r; \
33043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33044 $(NORMAL_TARGET_EXPORTS) \
33045 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33046 for flag in $(EXTRA_TARGET_FLAGS); do \
33047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33048 done; \
33049 (cd $(TARGET_SUBDIR)/libgcc && \
33050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33052 "RANLIB=$${RANLIB}" \
33053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33054 pdf) \
33055 || exit 1
33057 @endif target-libgcc
33059 .PHONY: maybe-html-target-libgcc html-target-libgcc
33060 maybe-html-target-libgcc:
33061 @if target-libgcc
33062 maybe-html-target-libgcc: html-target-libgcc
33064 html-target-libgcc: \
33065 configure-target-libgcc
33066 @: $(MAKE); $(unstage)
33067 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33068 r=`${PWD_COMMAND}`; export r; \
33069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33070 $(NORMAL_TARGET_EXPORTS) \
33071 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33072 for flag in $(EXTRA_TARGET_FLAGS); do \
33073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33074 done; \
33075 (cd $(TARGET_SUBDIR)/libgcc && \
33076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33078 "RANLIB=$${RANLIB}" \
33079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33080 html) \
33081 || exit 1
33083 @endif target-libgcc
33085 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33086 maybe-TAGS-target-libgcc:
33087 @if target-libgcc
33088 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33090 TAGS-target-libgcc: \
33091 configure-target-libgcc
33092 @: $(MAKE); $(unstage)
33093 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33094 r=`${PWD_COMMAND}`; export r; \
33095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33096 $(NORMAL_TARGET_EXPORTS) \
33097 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33098 for flag in $(EXTRA_TARGET_FLAGS); do \
33099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33100 done; \
33101 (cd $(TARGET_SUBDIR)/libgcc && \
33102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33104 "RANLIB=$${RANLIB}" \
33105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33106 TAGS) \
33107 || exit 1
33109 @endif target-libgcc
33111 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33112 maybe-install-info-target-libgcc:
33113 @if target-libgcc
33114 maybe-install-info-target-libgcc: install-info-target-libgcc
33116 install-info-target-libgcc: \
33117 configure-target-libgcc \
33118 info-target-libgcc
33119 @: $(MAKE); $(unstage)
33120 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33121 r=`${PWD_COMMAND}`; export r; \
33122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33123 $(NORMAL_TARGET_EXPORTS) \
33124 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33125 for flag in $(EXTRA_TARGET_FLAGS); do \
33126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33127 done; \
33128 (cd $(TARGET_SUBDIR)/libgcc && \
33129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33131 "RANLIB=$${RANLIB}" \
33132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33133 install-info) \
33134 || exit 1
33136 @endif target-libgcc
33138 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33139 maybe-install-pdf-target-libgcc:
33140 @if target-libgcc
33141 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33143 install-pdf-target-libgcc: \
33144 configure-target-libgcc \
33145 pdf-target-libgcc
33146 @: $(MAKE); $(unstage)
33147 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33148 r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 $(NORMAL_TARGET_EXPORTS) \
33151 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33152 for flag in $(EXTRA_TARGET_FLAGS); do \
33153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33154 done; \
33155 (cd $(TARGET_SUBDIR)/libgcc && \
33156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33158 "RANLIB=$${RANLIB}" \
33159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33160 install-pdf) \
33161 || exit 1
33163 @endif target-libgcc
33165 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33166 maybe-install-html-target-libgcc:
33167 @if target-libgcc
33168 maybe-install-html-target-libgcc: install-html-target-libgcc
33170 install-html-target-libgcc: \
33171 configure-target-libgcc \
33172 html-target-libgcc
33173 @: $(MAKE); $(unstage)
33174 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33175 r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 $(NORMAL_TARGET_EXPORTS) \
33178 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33179 for flag in $(EXTRA_TARGET_FLAGS); do \
33180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33181 done; \
33182 (cd $(TARGET_SUBDIR)/libgcc && \
33183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33185 "RANLIB=$${RANLIB}" \
33186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33187 install-html) \
33188 || exit 1
33190 @endif target-libgcc
33192 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33193 maybe-installcheck-target-libgcc:
33194 @if target-libgcc
33195 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33197 installcheck-target-libgcc: \
33198 configure-target-libgcc
33199 @: $(MAKE); $(unstage)
33200 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33201 r=`${PWD_COMMAND}`; export r; \
33202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33203 $(NORMAL_TARGET_EXPORTS) \
33204 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33205 for flag in $(EXTRA_TARGET_FLAGS); do \
33206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33207 done; \
33208 (cd $(TARGET_SUBDIR)/libgcc && \
33209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33211 "RANLIB=$${RANLIB}" \
33212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33213 installcheck) \
33214 || exit 1
33216 @endif target-libgcc
33218 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33219 maybe-mostlyclean-target-libgcc:
33220 @if target-libgcc
33221 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33223 mostlyclean-target-libgcc:
33224 @: $(MAKE); $(unstage)
33225 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33226 r=`${PWD_COMMAND}`; export r; \
33227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33228 $(NORMAL_TARGET_EXPORTS) \
33229 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33230 for flag in $(EXTRA_TARGET_FLAGS); do \
33231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33232 done; \
33233 (cd $(TARGET_SUBDIR)/libgcc && \
33234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33236 "RANLIB=$${RANLIB}" \
33237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33238 mostlyclean) \
33239 || exit 1
33241 @endif target-libgcc
33243 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33244 maybe-clean-target-libgcc:
33245 @if target-libgcc
33246 maybe-clean-target-libgcc: clean-target-libgcc
33248 clean-target-libgcc:
33249 @: $(MAKE); $(unstage)
33250 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33251 r=`${PWD_COMMAND}`; export r; \
33252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33253 $(NORMAL_TARGET_EXPORTS) \
33254 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33255 for flag in $(EXTRA_TARGET_FLAGS); do \
33256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33257 done; \
33258 (cd $(TARGET_SUBDIR)/libgcc && \
33259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33261 "RANLIB=$${RANLIB}" \
33262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33263 clean) \
33264 || exit 1
33266 @endif target-libgcc
33268 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33269 maybe-distclean-target-libgcc:
33270 @if target-libgcc
33271 maybe-distclean-target-libgcc: distclean-target-libgcc
33273 distclean-target-libgcc:
33274 @: $(MAKE); $(unstage)
33275 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33276 r=`${PWD_COMMAND}`; export r; \
33277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33278 $(NORMAL_TARGET_EXPORTS) \
33279 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33280 for flag in $(EXTRA_TARGET_FLAGS); do \
33281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33282 done; \
33283 (cd $(TARGET_SUBDIR)/libgcc && \
33284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33286 "RANLIB=$${RANLIB}" \
33287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33288 distclean) \
33289 || exit 1
33291 @endif target-libgcc
33293 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33294 maybe-maintainer-clean-target-libgcc:
33295 @if target-libgcc
33296 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33298 maintainer-clean-target-libgcc:
33299 @: $(MAKE); $(unstage)
33300 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33301 r=`${PWD_COMMAND}`; export r; \
33302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33303 $(NORMAL_TARGET_EXPORTS) \
33304 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33305 for flag in $(EXTRA_TARGET_FLAGS); do \
33306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33307 done; \
33308 (cd $(TARGET_SUBDIR)/libgcc && \
33309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33311 "RANLIB=$${RANLIB}" \
33312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33313 maintainer-clean) \
33314 || exit 1
33316 @endif target-libgcc
33322 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33323 maybe-configure-target-libquadmath:
33324 @if gcc-bootstrap
33325 configure-target-libquadmath: stage_current
33326 @endif gcc-bootstrap
33327 @if target-libquadmath
33328 maybe-configure-target-libquadmath: configure-target-libquadmath
33329 configure-target-libquadmath:
33330 @: $(MAKE); $(unstage)
33331 @r=`${PWD_COMMAND}`; export r; \
33332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33333 echo "Checking multilib configuration for libquadmath..."; \
33334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33335 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33336 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33337 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33338 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33339 else \
33340 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33341 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33342 fi; \
33343 else \
33344 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33345 fi; \
33346 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33348 $(NORMAL_TARGET_EXPORTS) \
33349 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33350 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33351 case $(srcdir) in \
33352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33353 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33355 esac; \
33356 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33357 libsrcdir="$$s/libquadmath"; \
33358 rm -f no-such-file || : ; \
33359 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33360 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33361 --target=${target_alias} $${srcdiroption} \
33362 || exit 1
33363 @endif target-libquadmath
33369 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33370 maybe-all-target-libquadmath:
33371 @if gcc-bootstrap
33372 all-target-libquadmath: stage_current
33373 @endif gcc-bootstrap
33374 @if target-libquadmath
33375 TARGET-target-libquadmath=all
33376 maybe-all-target-libquadmath: all-target-libquadmath
33377 all-target-libquadmath: configure-target-libquadmath
33378 @: $(MAKE); $(unstage)
33379 @r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(NORMAL_TARGET_EXPORTS) \
33382 (cd $(TARGET_SUBDIR)/libquadmath && \
33383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33384 $(TARGET-target-libquadmath))
33385 @endif target-libquadmath
33391 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33392 maybe-check-target-libquadmath:
33393 @if target-libquadmath
33394 maybe-check-target-libquadmath: check-target-libquadmath
33396 check-target-libquadmath:
33397 @: $(MAKE); $(unstage)
33398 @r=`${PWD_COMMAND}`; export r; \
33399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33400 $(NORMAL_TARGET_EXPORTS) \
33401 (cd $(TARGET_SUBDIR)/libquadmath && \
33402 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33404 @endif target-libquadmath
33406 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33407 maybe-install-target-libquadmath:
33408 @if target-libquadmath
33409 maybe-install-target-libquadmath: install-target-libquadmath
33411 install-target-libquadmath: installdirs
33412 @: $(MAKE); $(unstage)
33413 @r=`${PWD_COMMAND}`; export r; \
33414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33415 $(NORMAL_TARGET_EXPORTS) \
33416 (cd $(TARGET_SUBDIR)/libquadmath && \
33417 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33419 @endif target-libquadmath
33421 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33422 maybe-install-strip-target-libquadmath:
33423 @if target-libquadmath
33424 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33426 install-strip-target-libquadmath: installdirs
33427 @: $(MAKE); $(unstage)
33428 @r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(NORMAL_TARGET_EXPORTS) \
33431 (cd $(TARGET_SUBDIR)/libquadmath && \
33432 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33434 @endif target-libquadmath
33436 # Other targets (info, dvi, pdf, etc.)
33438 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33439 maybe-info-target-libquadmath:
33440 @if target-libquadmath
33441 maybe-info-target-libquadmath: info-target-libquadmath
33443 info-target-libquadmath: \
33444 configure-target-libquadmath
33445 @: $(MAKE); $(unstage)
33446 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33447 r=`${PWD_COMMAND}`; export r; \
33448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33449 $(NORMAL_TARGET_EXPORTS) \
33450 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33451 for flag in $(EXTRA_TARGET_FLAGS); do \
33452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33453 done; \
33454 (cd $(TARGET_SUBDIR)/libquadmath && \
33455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33457 "RANLIB=$${RANLIB}" \
33458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33459 info) \
33460 || exit 1
33462 @endif target-libquadmath
33464 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33465 maybe-dvi-target-libquadmath:
33466 @if target-libquadmath
33467 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33469 dvi-target-libquadmath: \
33470 configure-target-libquadmath
33471 @: $(MAKE); $(unstage)
33472 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33473 r=`${PWD_COMMAND}`; export r; \
33474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33475 $(NORMAL_TARGET_EXPORTS) \
33476 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33477 for flag in $(EXTRA_TARGET_FLAGS); do \
33478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33479 done; \
33480 (cd $(TARGET_SUBDIR)/libquadmath && \
33481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33483 "RANLIB=$${RANLIB}" \
33484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33485 dvi) \
33486 || exit 1
33488 @endif target-libquadmath
33490 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33491 maybe-pdf-target-libquadmath:
33492 @if target-libquadmath
33493 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33495 pdf-target-libquadmath: \
33496 configure-target-libquadmath
33497 @: $(MAKE); $(unstage)
33498 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33499 r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 $(NORMAL_TARGET_EXPORTS) \
33502 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33503 for flag in $(EXTRA_TARGET_FLAGS); do \
33504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33505 done; \
33506 (cd $(TARGET_SUBDIR)/libquadmath && \
33507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33509 "RANLIB=$${RANLIB}" \
33510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33511 pdf) \
33512 || exit 1
33514 @endif target-libquadmath
33516 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33517 maybe-html-target-libquadmath:
33518 @if target-libquadmath
33519 maybe-html-target-libquadmath: html-target-libquadmath
33521 html-target-libquadmath: \
33522 configure-target-libquadmath
33523 @: $(MAKE); $(unstage)
33524 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33525 r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 $(NORMAL_TARGET_EXPORTS) \
33528 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33529 for flag in $(EXTRA_TARGET_FLAGS); do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 (cd $(TARGET_SUBDIR)/libquadmath && \
33533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33535 "RANLIB=$${RANLIB}" \
33536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33537 html) \
33538 || exit 1
33540 @endif target-libquadmath
33542 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33543 maybe-TAGS-target-libquadmath:
33544 @if target-libquadmath
33545 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33547 TAGS-target-libquadmath: \
33548 configure-target-libquadmath
33549 @: $(MAKE); $(unstage)
33550 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33551 r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(NORMAL_TARGET_EXPORTS) \
33554 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33555 for flag in $(EXTRA_TARGET_FLAGS); do \
33556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33557 done; \
33558 (cd $(TARGET_SUBDIR)/libquadmath && \
33559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33561 "RANLIB=$${RANLIB}" \
33562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33563 TAGS) \
33564 || exit 1
33566 @endif target-libquadmath
33568 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33569 maybe-install-info-target-libquadmath:
33570 @if target-libquadmath
33571 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33573 install-info-target-libquadmath: \
33574 configure-target-libquadmath \
33575 info-target-libquadmath
33576 @: $(MAKE); $(unstage)
33577 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33578 r=`${PWD_COMMAND}`; export r; \
33579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33580 $(NORMAL_TARGET_EXPORTS) \
33581 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33582 for flag in $(EXTRA_TARGET_FLAGS); do \
33583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33584 done; \
33585 (cd $(TARGET_SUBDIR)/libquadmath && \
33586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33588 "RANLIB=$${RANLIB}" \
33589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33590 install-info) \
33591 || exit 1
33593 @endif target-libquadmath
33595 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33596 maybe-install-pdf-target-libquadmath:
33597 @if target-libquadmath
33598 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33600 install-pdf-target-libquadmath: \
33601 configure-target-libquadmath \
33602 pdf-target-libquadmath
33603 @: $(MAKE); $(unstage)
33604 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33605 r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(NORMAL_TARGET_EXPORTS) \
33608 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33609 for flag in $(EXTRA_TARGET_FLAGS); do \
33610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33611 done; \
33612 (cd $(TARGET_SUBDIR)/libquadmath && \
33613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33615 "RANLIB=$${RANLIB}" \
33616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33617 install-pdf) \
33618 || exit 1
33620 @endif target-libquadmath
33622 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33623 maybe-install-html-target-libquadmath:
33624 @if target-libquadmath
33625 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33627 install-html-target-libquadmath: \
33628 configure-target-libquadmath \
33629 html-target-libquadmath
33630 @: $(MAKE); $(unstage)
33631 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33632 r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 $(NORMAL_TARGET_EXPORTS) \
33635 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33636 for flag in $(EXTRA_TARGET_FLAGS); do \
33637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33638 done; \
33639 (cd $(TARGET_SUBDIR)/libquadmath && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33642 "RANLIB=$${RANLIB}" \
33643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33644 install-html) \
33645 || exit 1
33647 @endif target-libquadmath
33649 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33650 maybe-installcheck-target-libquadmath:
33651 @if target-libquadmath
33652 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33654 installcheck-target-libquadmath: \
33655 configure-target-libquadmath
33656 @: $(MAKE); $(unstage)
33657 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33658 r=`${PWD_COMMAND}`; export r; \
33659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33660 $(NORMAL_TARGET_EXPORTS) \
33661 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33662 for flag in $(EXTRA_TARGET_FLAGS); do \
33663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33664 done; \
33665 (cd $(TARGET_SUBDIR)/libquadmath && \
33666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33668 "RANLIB=$${RANLIB}" \
33669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33670 installcheck) \
33671 || exit 1
33673 @endif target-libquadmath
33675 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33676 maybe-mostlyclean-target-libquadmath:
33677 @if target-libquadmath
33678 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33680 mostlyclean-target-libquadmath:
33681 @: $(MAKE); $(unstage)
33682 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33683 r=`${PWD_COMMAND}`; export r; \
33684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33685 $(NORMAL_TARGET_EXPORTS) \
33686 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33687 for flag in $(EXTRA_TARGET_FLAGS); do \
33688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33689 done; \
33690 (cd $(TARGET_SUBDIR)/libquadmath && \
33691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33693 "RANLIB=$${RANLIB}" \
33694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33695 mostlyclean) \
33696 || exit 1
33698 @endif target-libquadmath
33700 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33701 maybe-clean-target-libquadmath:
33702 @if target-libquadmath
33703 maybe-clean-target-libquadmath: clean-target-libquadmath
33705 clean-target-libquadmath:
33706 @: $(MAKE); $(unstage)
33707 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33708 r=`${PWD_COMMAND}`; export r; \
33709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33710 $(NORMAL_TARGET_EXPORTS) \
33711 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33712 for flag in $(EXTRA_TARGET_FLAGS); do \
33713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33714 done; \
33715 (cd $(TARGET_SUBDIR)/libquadmath && \
33716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33718 "RANLIB=$${RANLIB}" \
33719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33720 clean) \
33721 || exit 1
33723 @endif target-libquadmath
33725 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33726 maybe-distclean-target-libquadmath:
33727 @if target-libquadmath
33728 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33730 distclean-target-libquadmath:
33731 @: $(MAKE); $(unstage)
33732 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33733 r=`${PWD_COMMAND}`; export r; \
33734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33735 $(NORMAL_TARGET_EXPORTS) \
33736 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33737 for flag in $(EXTRA_TARGET_FLAGS); do \
33738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33739 done; \
33740 (cd $(TARGET_SUBDIR)/libquadmath && \
33741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33743 "RANLIB=$${RANLIB}" \
33744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33745 distclean) \
33746 || exit 1
33748 @endif target-libquadmath
33750 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33751 maybe-maintainer-clean-target-libquadmath:
33752 @if target-libquadmath
33753 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33755 maintainer-clean-target-libquadmath:
33756 @: $(MAKE); $(unstage)
33757 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33758 r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760 $(NORMAL_TARGET_EXPORTS) \
33761 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33762 for flag in $(EXTRA_TARGET_FLAGS); do \
33763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33764 done; \
33765 (cd $(TARGET_SUBDIR)/libquadmath && \
33766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33768 "RANLIB=$${RANLIB}" \
33769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33770 maintainer-clean) \
33771 || exit 1
33773 @endif target-libquadmath
33779 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33780 maybe-configure-target-libgfortran:
33781 @if gcc-bootstrap
33782 configure-target-libgfortran: stage_current
33783 @endif gcc-bootstrap
33784 @if target-libgfortran
33785 maybe-configure-target-libgfortran: configure-target-libgfortran
33786 configure-target-libgfortran:
33787 @: $(MAKE); $(unstage)
33788 @r=`${PWD_COMMAND}`; export r; \
33789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33790 echo "Checking multilib configuration for libgfortran..."; \
33791 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33792 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33793 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33794 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33795 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33796 else \
33797 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33798 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33799 fi; \
33800 else \
33801 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33802 fi; \
33803 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33804 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33805 $(NORMAL_TARGET_EXPORTS) \
33806 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33807 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33808 case $(srcdir) in \
33809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33810 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33812 esac; \
33813 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33814 libsrcdir="$$s/libgfortran"; \
33815 rm -f no-such-file || : ; \
33816 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33817 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33818 --target=${target_alias} $${srcdiroption} \
33819 || exit 1
33820 @endif target-libgfortran
33826 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33827 maybe-all-target-libgfortran:
33828 @if gcc-bootstrap
33829 all-target-libgfortran: stage_current
33830 @endif gcc-bootstrap
33831 @if target-libgfortran
33832 TARGET-target-libgfortran=all
33833 maybe-all-target-libgfortran: all-target-libgfortran
33834 all-target-libgfortran: configure-target-libgfortran
33835 @: $(MAKE); $(unstage)
33836 @r=`${PWD_COMMAND}`; export r; \
33837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33838 $(NORMAL_TARGET_EXPORTS) \
33839 (cd $(TARGET_SUBDIR)/libgfortran && \
33840 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33841 $(TARGET-target-libgfortran))
33842 @endif target-libgfortran
33848 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33849 maybe-check-target-libgfortran:
33850 @if target-libgfortran
33851 maybe-check-target-libgfortran: check-target-libgfortran
33853 check-target-libgfortran:
33854 @: $(MAKE); $(unstage)
33855 @r=`${PWD_COMMAND}`; export r; \
33856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33857 $(NORMAL_TARGET_EXPORTS) \
33858 (cd $(TARGET_SUBDIR)/libgfortran && \
33859 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33861 @endif target-libgfortran
33863 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33864 maybe-install-target-libgfortran:
33865 @if target-libgfortran
33866 maybe-install-target-libgfortran: install-target-libgfortran
33868 install-target-libgfortran: installdirs
33869 @: $(MAKE); $(unstage)
33870 @r=`${PWD_COMMAND}`; export r; \
33871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33872 $(NORMAL_TARGET_EXPORTS) \
33873 (cd $(TARGET_SUBDIR)/libgfortran && \
33874 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33876 @endif target-libgfortran
33878 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33879 maybe-install-strip-target-libgfortran:
33880 @if target-libgfortran
33881 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33883 install-strip-target-libgfortran: installdirs
33884 @: $(MAKE); $(unstage)
33885 @r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(NORMAL_TARGET_EXPORTS) \
33888 (cd $(TARGET_SUBDIR)/libgfortran && \
33889 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33891 @endif target-libgfortran
33893 # Other targets (info, dvi, pdf, etc.)
33895 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33896 maybe-info-target-libgfortran:
33897 @if target-libgfortran
33898 maybe-info-target-libgfortran: info-target-libgfortran
33900 info-target-libgfortran: \
33901 configure-target-libgfortran
33902 @: $(MAKE); $(unstage)
33903 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33904 r=`${PWD_COMMAND}`; export r; \
33905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33906 $(NORMAL_TARGET_EXPORTS) \
33907 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33908 for flag in $(EXTRA_TARGET_FLAGS); do \
33909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33910 done; \
33911 (cd $(TARGET_SUBDIR)/libgfortran && \
33912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33914 "RANLIB=$${RANLIB}" \
33915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33916 info) \
33917 || exit 1
33919 @endif target-libgfortran
33921 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33922 maybe-dvi-target-libgfortran:
33923 @if target-libgfortran
33924 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33926 dvi-target-libgfortran: \
33927 configure-target-libgfortran
33928 @: $(MAKE); $(unstage)
33929 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33930 r=`${PWD_COMMAND}`; export r; \
33931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33932 $(NORMAL_TARGET_EXPORTS) \
33933 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33934 for flag in $(EXTRA_TARGET_FLAGS); do \
33935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33936 done; \
33937 (cd $(TARGET_SUBDIR)/libgfortran && \
33938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33940 "RANLIB=$${RANLIB}" \
33941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33942 dvi) \
33943 || exit 1
33945 @endif target-libgfortran
33947 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33948 maybe-pdf-target-libgfortran:
33949 @if target-libgfortran
33950 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33952 pdf-target-libgfortran: \
33953 configure-target-libgfortran
33954 @: $(MAKE); $(unstage)
33955 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33956 r=`${PWD_COMMAND}`; export r; \
33957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33958 $(NORMAL_TARGET_EXPORTS) \
33959 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33960 for flag in $(EXTRA_TARGET_FLAGS); do \
33961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33962 done; \
33963 (cd $(TARGET_SUBDIR)/libgfortran && \
33964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33966 "RANLIB=$${RANLIB}" \
33967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33968 pdf) \
33969 || exit 1
33971 @endif target-libgfortran
33973 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33974 maybe-html-target-libgfortran:
33975 @if target-libgfortran
33976 maybe-html-target-libgfortran: html-target-libgfortran
33978 html-target-libgfortran: \
33979 configure-target-libgfortran
33980 @: $(MAKE); $(unstage)
33981 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33982 r=`${PWD_COMMAND}`; export r; \
33983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33984 $(NORMAL_TARGET_EXPORTS) \
33985 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33986 for flag in $(EXTRA_TARGET_FLAGS); do \
33987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33988 done; \
33989 (cd $(TARGET_SUBDIR)/libgfortran && \
33990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33992 "RANLIB=$${RANLIB}" \
33993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33994 html) \
33995 || exit 1
33997 @endif target-libgfortran
33999 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
34000 maybe-TAGS-target-libgfortran:
34001 @if target-libgfortran
34002 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
34004 TAGS-target-libgfortran: \
34005 configure-target-libgfortran
34006 @: $(MAKE); $(unstage)
34007 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34008 r=`${PWD_COMMAND}`; export r; \
34009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34010 $(NORMAL_TARGET_EXPORTS) \
34011 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34012 for flag in $(EXTRA_TARGET_FLAGS); do \
34013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34014 done; \
34015 (cd $(TARGET_SUBDIR)/libgfortran && \
34016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34018 "RANLIB=$${RANLIB}" \
34019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34020 TAGS) \
34021 || exit 1
34023 @endif target-libgfortran
34025 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34026 maybe-install-info-target-libgfortran:
34027 @if target-libgfortran
34028 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34030 install-info-target-libgfortran: \
34031 configure-target-libgfortran \
34032 info-target-libgfortran
34033 @: $(MAKE); $(unstage)
34034 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34035 r=`${PWD_COMMAND}`; export r; \
34036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34037 $(NORMAL_TARGET_EXPORTS) \
34038 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34039 for flag in $(EXTRA_TARGET_FLAGS); do \
34040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34041 done; \
34042 (cd $(TARGET_SUBDIR)/libgfortran && \
34043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34045 "RANLIB=$${RANLIB}" \
34046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34047 install-info) \
34048 || exit 1
34050 @endif target-libgfortran
34052 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34053 maybe-install-pdf-target-libgfortran:
34054 @if target-libgfortran
34055 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34057 install-pdf-target-libgfortran: \
34058 configure-target-libgfortran \
34059 pdf-target-libgfortran
34060 @: $(MAKE); $(unstage)
34061 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34062 r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(NORMAL_TARGET_EXPORTS) \
34065 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34066 for flag in $(EXTRA_TARGET_FLAGS); do \
34067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34068 done; \
34069 (cd $(TARGET_SUBDIR)/libgfortran && \
34070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34072 "RANLIB=$${RANLIB}" \
34073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34074 install-pdf) \
34075 || exit 1
34077 @endif target-libgfortran
34079 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34080 maybe-install-html-target-libgfortran:
34081 @if target-libgfortran
34082 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34084 install-html-target-libgfortran: \
34085 configure-target-libgfortran \
34086 html-target-libgfortran
34087 @: $(MAKE); $(unstage)
34088 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34089 r=`${PWD_COMMAND}`; export r; \
34090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34091 $(NORMAL_TARGET_EXPORTS) \
34092 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34093 for flag in $(EXTRA_TARGET_FLAGS); do \
34094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34095 done; \
34096 (cd $(TARGET_SUBDIR)/libgfortran && \
34097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34099 "RANLIB=$${RANLIB}" \
34100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34101 install-html) \
34102 || exit 1
34104 @endif target-libgfortran
34106 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34107 maybe-installcheck-target-libgfortran:
34108 @if target-libgfortran
34109 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34111 installcheck-target-libgfortran: \
34112 configure-target-libgfortran
34113 @: $(MAKE); $(unstage)
34114 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34115 r=`${PWD_COMMAND}`; export r; \
34116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34117 $(NORMAL_TARGET_EXPORTS) \
34118 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34119 for flag in $(EXTRA_TARGET_FLAGS); do \
34120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34121 done; \
34122 (cd $(TARGET_SUBDIR)/libgfortran && \
34123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34125 "RANLIB=$${RANLIB}" \
34126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34127 installcheck) \
34128 || exit 1
34130 @endif target-libgfortran
34132 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34133 maybe-mostlyclean-target-libgfortran:
34134 @if target-libgfortran
34135 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34137 mostlyclean-target-libgfortran:
34138 @: $(MAKE); $(unstage)
34139 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34140 r=`${PWD_COMMAND}`; export r; \
34141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34142 $(NORMAL_TARGET_EXPORTS) \
34143 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34144 for flag in $(EXTRA_TARGET_FLAGS); do \
34145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34146 done; \
34147 (cd $(TARGET_SUBDIR)/libgfortran && \
34148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34150 "RANLIB=$${RANLIB}" \
34151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34152 mostlyclean) \
34153 || exit 1
34155 @endif target-libgfortran
34157 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34158 maybe-clean-target-libgfortran:
34159 @if target-libgfortran
34160 maybe-clean-target-libgfortran: clean-target-libgfortran
34162 clean-target-libgfortran:
34163 @: $(MAKE); $(unstage)
34164 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34165 r=`${PWD_COMMAND}`; export r; \
34166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34167 $(NORMAL_TARGET_EXPORTS) \
34168 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34169 for flag in $(EXTRA_TARGET_FLAGS); do \
34170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34171 done; \
34172 (cd $(TARGET_SUBDIR)/libgfortran && \
34173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34175 "RANLIB=$${RANLIB}" \
34176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34177 clean) \
34178 || exit 1
34180 @endif target-libgfortran
34182 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34183 maybe-distclean-target-libgfortran:
34184 @if target-libgfortran
34185 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34187 distclean-target-libgfortran:
34188 @: $(MAKE); $(unstage)
34189 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34190 r=`${PWD_COMMAND}`; export r; \
34191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34192 $(NORMAL_TARGET_EXPORTS) \
34193 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34194 for flag in $(EXTRA_TARGET_FLAGS); do \
34195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34196 done; \
34197 (cd $(TARGET_SUBDIR)/libgfortran && \
34198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34200 "RANLIB=$${RANLIB}" \
34201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34202 distclean) \
34203 || exit 1
34205 @endif target-libgfortran
34207 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34208 maybe-maintainer-clean-target-libgfortran:
34209 @if target-libgfortran
34210 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34212 maintainer-clean-target-libgfortran:
34213 @: $(MAKE); $(unstage)
34214 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34215 r=`${PWD_COMMAND}`; export r; \
34216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34217 $(NORMAL_TARGET_EXPORTS) \
34218 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34219 for flag in $(EXTRA_TARGET_FLAGS); do \
34220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34221 done; \
34222 (cd $(TARGET_SUBDIR)/libgfortran && \
34223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34225 "RANLIB=$${RANLIB}" \
34226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34227 maintainer-clean) \
34228 || exit 1
34230 @endif target-libgfortran
34236 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34237 maybe-configure-target-libobjc:
34238 @if gcc-bootstrap
34239 configure-target-libobjc: stage_current
34240 @endif gcc-bootstrap
34241 @if target-libobjc
34242 maybe-configure-target-libobjc: configure-target-libobjc
34243 configure-target-libobjc:
34244 @: $(MAKE); $(unstage)
34245 @r=`${PWD_COMMAND}`; export r; \
34246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34247 echo "Checking multilib configuration for libobjc..."; \
34248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34249 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34250 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34251 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34252 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34253 else \
34254 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34255 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34256 fi; \
34257 else \
34258 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34259 fi; \
34260 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34261 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34262 $(NORMAL_TARGET_EXPORTS) \
34263 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34264 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34265 case $(srcdir) in \
34266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34267 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34269 esac; \
34270 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34271 libsrcdir="$$s/libobjc"; \
34272 rm -f no-such-file || : ; \
34273 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34274 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34275 --target=${target_alias} $${srcdiroption} \
34276 || exit 1
34277 @endif target-libobjc
34283 .PHONY: all-target-libobjc maybe-all-target-libobjc
34284 maybe-all-target-libobjc:
34285 @if gcc-bootstrap
34286 all-target-libobjc: stage_current
34287 @endif gcc-bootstrap
34288 @if target-libobjc
34289 TARGET-target-libobjc=all
34290 maybe-all-target-libobjc: all-target-libobjc
34291 all-target-libobjc: configure-target-libobjc
34292 @: $(MAKE); $(unstage)
34293 @r=`${PWD_COMMAND}`; export r; \
34294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34295 $(NORMAL_TARGET_EXPORTS) \
34296 (cd $(TARGET_SUBDIR)/libobjc && \
34297 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34298 $(TARGET-target-libobjc))
34299 @endif target-libobjc
34305 .PHONY: check-target-libobjc maybe-check-target-libobjc
34306 maybe-check-target-libobjc:
34307 @if target-libobjc
34308 maybe-check-target-libobjc: check-target-libobjc
34310 check-target-libobjc:
34311 @: $(MAKE); $(unstage)
34312 @r=`${PWD_COMMAND}`; export r; \
34313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34314 $(NORMAL_TARGET_EXPORTS) \
34315 (cd $(TARGET_SUBDIR)/libobjc && \
34316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34318 @endif target-libobjc
34320 .PHONY: install-target-libobjc maybe-install-target-libobjc
34321 maybe-install-target-libobjc:
34322 @if target-libobjc
34323 maybe-install-target-libobjc: install-target-libobjc
34325 install-target-libobjc: installdirs
34326 @: $(MAKE); $(unstage)
34327 @r=`${PWD_COMMAND}`; export r; \
34328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34329 $(NORMAL_TARGET_EXPORTS) \
34330 (cd $(TARGET_SUBDIR)/libobjc && \
34331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34333 @endif target-libobjc
34335 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34336 maybe-install-strip-target-libobjc:
34337 @if target-libobjc
34338 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34340 install-strip-target-libobjc: installdirs
34341 @: $(MAKE); $(unstage)
34342 @r=`${PWD_COMMAND}`; export r; \
34343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34344 $(NORMAL_TARGET_EXPORTS) \
34345 (cd $(TARGET_SUBDIR)/libobjc && \
34346 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34348 @endif target-libobjc
34350 # Other targets (info, dvi, pdf, etc.)
34352 .PHONY: maybe-info-target-libobjc info-target-libobjc
34353 maybe-info-target-libobjc:
34354 @if target-libobjc
34355 maybe-info-target-libobjc: info-target-libobjc
34357 info-target-libobjc: \
34358 configure-target-libobjc
34359 @: $(MAKE); $(unstage)
34360 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34361 r=`${PWD_COMMAND}`; export r; \
34362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34363 $(NORMAL_TARGET_EXPORTS) \
34364 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34365 for flag in $(EXTRA_TARGET_FLAGS); do \
34366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34367 done; \
34368 (cd $(TARGET_SUBDIR)/libobjc && \
34369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34371 "RANLIB=$${RANLIB}" \
34372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34373 info) \
34374 || exit 1
34376 @endif target-libobjc
34378 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34379 maybe-dvi-target-libobjc:
34380 @if target-libobjc
34381 maybe-dvi-target-libobjc: dvi-target-libobjc
34383 dvi-target-libobjc: \
34384 configure-target-libobjc
34385 @: $(MAKE); $(unstage)
34386 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34387 r=`${PWD_COMMAND}`; export r; \
34388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34389 $(NORMAL_TARGET_EXPORTS) \
34390 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34391 for flag in $(EXTRA_TARGET_FLAGS); do \
34392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34393 done; \
34394 (cd $(TARGET_SUBDIR)/libobjc && \
34395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34397 "RANLIB=$${RANLIB}" \
34398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34399 dvi) \
34400 || exit 1
34402 @endif target-libobjc
34404 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34405 maybe-pdf-target-libobjc:
34406 @if target-libobjc
34407 maybe-pdf-target-libobjc: pdf-target-libobjc
34409 pdf-target-libobjc: \
34410 configure-target-libobjc
34411 @: $(MAKE); $(unstage)
34412 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34413 r=`${PWD_COMMAND}`; export r; \
34414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34415 $(NORMAL_TARGET_EXPORTS) \
34416 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34417 for flag in $(EXTRA_TARGET_FLAGS); do \
34418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34419 done; \
34420 (cd $(TARGET_SUBDIR)/libobjc && \
34421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34423 "RANLIB=$${RANLIB}" \
34424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34425 pdf) \
34426 || exit 1
34428 @endif target-libobjc
34430 .PHONY: maybe-html-target-libobjc html-target-libobjc
34431 maybe-html-target-libobjc:
34432 @if target-libobjc
34433 maybe-html-target-libobjc: html-target-libobjc
34435 html-target-libobjc: \
34436 configure-target-libobjc
34437 @: $(MAKE); $(unstage)
34438 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34439 r=`${PWD_COMMAND}`; export r; \
34440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34441 $(NORMAL_TARGET_EXPORTS) \
34442 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34443 for flag in $(EXTRA_TARGET_FLAGS); do \
34444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34445 done; \
34446 (cd $(TARGET_SUBDIR)/libobjc && \
34447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34449 "RANLIB=$${RANLIB}" \
34450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34451 html) \
34452 || exit 1
34454 @endif target-libobjc
34456 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34457 maybe-TAGS-target-libobjc:
34458 @if target-libobjc
34459 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34461 TAGS-target-libobjc: \
34462 configure-target-libobjc
34463 @: $(MAKE); $(unstage)
34464 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34465 r=`${PWD_COMMAND}`; export r; \
34466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34467 $(NORMAL_TARGET_EXPORTS) \
34468 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34469 for flag in $(EXTRA_TARGET_FLAGS); do \
34470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34471 done; \
34472 (cd $(TARGET_SUBDIR)/libobjc && \
34473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34475 "RANLIB=$${RANLIB}" \
34476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34477 TAGS) \
34478 || exit 1
34480 @endif target-libobjc
34482 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34483 maybe-install-info-target-libobjc:
34484 @if target-libobjc
34485 maybe-install-info-target-libobjc: install-info-target-libobjc
34487 install-info-target-libobjc: \
34488 configure-target-libobjc \
34489 info-target-libobjc
34490 @: $(MAKE); $(unstage)
34491 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34492 r=`${PWD_COMMAND}`; export r; \
34493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34494 $(NORMAL_TARGET_EXPORTS) \
34495 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34496 for flag in $(EXTRA_TARGET_FLAGS); do \
34497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34498 done; \
34499 (cd $(TARGET_SUBDIR)/libobjc && \
34500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34502 "RANLIB=$${RANLIB}" \
34503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34504 install-info) \
34505 || exit 1
34507 @endif target-libobjc
34509 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34510 maybe-install-pdf-target-libobjc:
34511 @if target-libobjc
34512 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34514 install-pdf-target-libobjc: \
34515 configure-target-libobjc \
34516 pdf-target-libobjc
34517 @: $(MAKE); $(unstage)
34518 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34519 r=`${PWD_COMMAND}`; export r; \
34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34521 $(NORMAL_TARGET_EXPORTS) \
34522 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34523 for flag in $(EXTRA_TARGET_FLAGS); do \
34524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34525 done; \
34526 (cd $(TARGET_SUBDIR)/libobjc && \
34527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34529 "RANLIB=$${RANLIB}" \
34530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34531 install-pdf) \
34532 || exit 1
34534 @endif target-libobjc
34536 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34537 maybe-install-html-target-libobjc:
34538 @if target-libobjc
34539 maybe-install-html-target-libobjc: install-html-target-libobjc
34541 install-html-target-libobjc: \
34542 configure-target-libobjc \
34543 html-target-libobjc
34544 @: $(MAKE); $(unstage)
34545 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(NORMAL_TARGET_EXPORTS) \
34549 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34550 for flag in $(EXTRA_TARGET_FLAGS); do \
34551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34552 done; \
34553 (cd $(TARGET_SUBDIR)/libobjc && \
34554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34556 "RANLIB=$${RANLIB}" \
34557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34558 install-html) \
34559 || exit 1
34561 @endif target-libobjc
34563 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34564 maybe-installcheck-target-libobjc:
34565 @if target-libobjc
34566 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34568 installcheck-target-libobjc: \
34569 configure-target-libobjc
34570 @: $(MAKE); $(unstage)
34571 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34572 r=`${PWD_COMMAND}`; export r; \
34573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34574 $(NORMAL_TARGET_EXPORTS) \
34575 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34576 for flag in $(EXTRA_TARGET_FLAGS); do \
34577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34578 done; \
34579 (cd $(TARGET_SUBDIR)/libobjc && \
34580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34582 "RANLIB=$${RANLIB}" \
34583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34584 installcheck) \
34585 || exit 1
34587 @endif target-libobjc
34589 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34590 maybe-mostlyclean-target-libobjc:
34591 @if target-libobjc
34592 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34594 mostlyclean-target-libobjc:
34595 @: $(MAKE); $(unstage)
34596 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34597 r=`${PWD_COMMAND}`; export r; \
34598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34599 $(NORMAL_TARGET_EXPORTS) \
34600 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34601 for flag in $(EXTRA_TARGET_FLAGS); do \
34602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34603 done; \
34604 (cd $(TARGET_SUBDIR)/libobjc && \
34605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34607 "RANLIB=$${RANLIB}" \
34608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34609 mostlyclean) \
34610 || exit 1
34612 @endif target-libobjc
34614 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34615 maybe-clean-target-libobjc:
34616 @if target-libobjc
34617 maybe-clean-target-libobjc: clean-target-libobjc
34619 clean-target-libobjc:
34620 @: $(MAKE); $(unstage)
34621 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(NORMAL_TARGET_EXPORTS) \
34625 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34626 for flag in $(EXTRA_TARGET_FLAGS); do \
34627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34628 done; \
34629 (cd $(TARGET_SUBDIR)/libobjc && \
34630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34632 "RANLIB=$${RANLIB}" \
34633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34634 clean) \
34635 || exit 1
34637 @endif target-libobjc
34639 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34640 maybe-distclean-target-libobjc:
34641 @if target-libobjc
34642 maybe-distclean-target-libobjc: distclean-target-libobjc
34644 distclean-target-libobjc:
34645 @: $(MAKE); $(unstage)
34646 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34647 r=`${PWD_COMMAND}`; export r; \
34648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34649 $(NORMAL_TARGET_EXPORTS) \
34650 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34651 for flag in $(EXTRA_TARGET_FLAGS); do \
34652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34653 done; \
34654 (cd $(TARGET_SUBDIR)/libobjc && \
34655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34657 "RANLIB=$${RANLIB}" \
34658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34659 distclean) \
34660 || exit 1
34662 @endif target-libobjc
34664 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34665 maybe-maintainer-clean-target-libobjc:
34666 @if target-libobjc
34667 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34669 maintainer-clean-target-libobjc:
34670 @: $(MAKE); $(unstage)
34671 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34672 r=`${PWD_COMMAND}`; export r; \
34673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34674 $(NORMAL_TARGET_EXPORTS) \
34675 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34676 for flag in $(EXTRA_TARGET_FLAGS); do \
34677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34678 done; \
34679 (cd $(TARGET_SUBDIR)/libobjc && \
34680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34682 "RANLIB=$${RANLIB}" \
34683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34684 maintainer-clean) \
34685 || exit 1
34687 @endif target-libobjc
34693 .PHONY: configure-target-libgo maybe-configure-target-libgo
34694 maybe-configure-target-libgo:
34695 @if gcc-bootstrap
34696 configure-target-libgo: stage_current
34697 @endif gcc-bootstrap
34698 @if target-libgo
34699 maybe-configure-target-libgo: configure-target-libgo
34700 configure-target-libgo:
34701 @: $(MAKE); $(unstage)
34702 @r=`${PWD_COMMAND}`; export r; \
34703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34704 echo "Checking multilib configuration for libgo..."; \
34705 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34706 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34707 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34708 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34709 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34710 else \
34711 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34712 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34713 fi; \
34714 else \
34715 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34716 fi; \
34717 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34719 $(NORMAL_TARGET_EXPORTS) \
34720 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34721 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34722 case $(srcdir) in \
34723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34724 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34726 esac; \
34727 srcdiroption="--srcdir=$${topdir}/libgo"; \
34728 libsrcdir="$$s/libgo"; \
34729 rm -f no-such-file || : ; \
34730 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34731 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34732 --target=${target_alias} $${srcdiroption} \
34733 || exit 1
34734 @endif target-libgo
34740 .PHONY: all-target-libgo maybe-all-target-libgo
34741 maybe-all-target-libgo:
34742 @if gcc-bootstrap
34743 all-target-libgo: stage_current
34744 @endif gcc-bootstrap
34745 @if target-libgo
34746 TARGET-target-libgo=all
34747 maybe-all-target-libgo: all-target-libgo
34748 all-target-libgo: configure-target-libgo
34749 @: $(MAKE); $(unstage)
34750 @r=`${PWD_COMMAND}`; export r; \
34751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34752 $(NORMAL_TARGET_EXPORTS) \
34753 (cd $(TARGET_SUBDIR)/libgo && \
34754 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34755 $(TARGET-target-libgo))
34756 @endif target-libgo
34762 .PHONY: check-target-libgo maybe-check-target-libgo
34763 maybe-check-target-libgo:
34764 @if target-libgo
34765 maybe-check-target-libgo: check-target-libgo
34767 check-target-libgo:
34768 @: $(MAKE); $(unstage)
34769 @r=`${PWD_COMMAND}`; export r; \
34770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34771 $(NORMAL_TARGET_EXPORTS) \
34772 (cd $(TARGET_SUBDIR)/libgo && \
34773 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34775 @endif target-libgo
34777 .PHONY: install-target-libgo maybe-install-target-libgo
34778 maybe-install-target-libgo:
34779 @if target-libgo
34780 maybe-install-target-libgo: install-target-libgo
34782 install-target-libgo: installdirs
34783 @: $(MAKE); $(unstage)
34784 @r=`${PWD_COMMAND}`; export r; \
34785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34786 $(NORMAL_TARGET_EXPORTS) \
34787 (cd $(TARGET_SUBDIR)/libgo && \
34788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34790 @endif target-libgo
34792 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34793 maybe-install-strip-target-libgo:
34794 @if target-libgo
34795 maybe-install-strip-target-libgo: install-strip-target-libgo
34797 install-strip-target-libgo: installdirs
34798 @: $(MAKE); $(unstage)
34799 @r=`${PWD_COMMAND}`; export r; \
34800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34801 $(NORMAL_TARGET_EXPORTS) \
34802 (cd $(TARGET_SUBDIR)/libgo && \
34803 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34805 @endif target-libgo
34807 # Other targets (info, dvi, pdf, etc.)
34809 .PHONY: maybe-info-target-libgo info-target-libgo
34810 maybe-info-target-libgo:
34811 @if target-libgo
34812 maybe-info-target-libgo: info-target-libgo
34814 info-target-libgo: \
34815 configure-target-libgo
34816 @: $(MAKE); $(unstage)
34817 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34818 r=`${PWD_COMMAND}`; export r; \
34819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34820 $(NORMAL_TARGET_EXPORTS) \
34821 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34822 for flag in $(EXTRA_TARGET_FLAGS); do \
34823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34824 done; \
34825 (cd $(TARGET_SUBDIR)/libgo && \
34826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34828 "RANLIB=$${RANLIB}" \
34829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34830 info) \
34831 || exit 1
34833 @endif target-libgo
34835 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34836 maybe-dvi-target-libgo:
34837 @if target-libgo
34838 maybe-dvi-target-libgo: dvi-target-libgo
34840 dvi-target-libgo: \
34841 configure-target-libgo
34842 @: $(MAKE); $(unstage)
34843 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34844 r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(NORMAL_TARGET_EXPORTS) \
34847 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34848 for flag in $(EXTRA_TARGET_FLAGS); do \
34849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34850 done; \
34851 (cd $(TARGET_SUBDIR)/libgo && \
34852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34854 "RANLIB=$${RANLIB}" \
34855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34856 dvi) \
34857 || exit 1
34859 @endif target-libgo
34861 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34862 maybe-pdf-target-libgo:
34863 @if target-libgo
34864 maybe-pdf-target-libgo: pdf-target-libgo
34866 pdf-target-libgo: \
34867 configure-target-libgo
34868 @: $(MAKE); $(unstage)
34869 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34870 r=`${PWD_COMMAND}`; export r; \
34871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34872 $(NORMAL_TARGET_EXPORTS) \
34873 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34874 for flag in $(EXTRA_TARGET_FLAGS); do \
34875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34876 done; \
34877 (cd $(TARGET_SUBDIR)/libgo && \
34878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34880 "RANLIB=$${RANLIB}" \
34881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34882 pdf) \
34883 || exit 1
34885 @endif target-libgo
34887 .PHONY: maybe-html-target-libgo html-target-libgo
34888 maybe-html-target-libgo:
34889 @if target-libgo
34890 maybe-html-target-libgo: html-target-libgo
34892 html-target-libgo: \
34893 configure-target-libgo
34894 @: $(MAKE); $(unstage)
34895 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34896 r=`${PWD_COMMAND}`; export r; \
34897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34898 $(NORMAL_TARGET_EXPORTS) \
34899 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34900 for flag in $(EXTRA_TARGET_FLAGS); do \
34901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34902 done; \
34903 (cd $(TARGET_SUBDIR)/libgo && \
34904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34906 "RANLIB=$${RANLIB}" \
34907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34908 html) \
34909 || exit 1
34911 @endif target-libgo
34913 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34914 maybe-TAGS-target-libgo:
34915 @if target-libgo
34916 maybe-TAGS-target-libgo: TAGS-target-libgo
34918 TAGS-target-libgo: \
34919 configure-target-libgo
34920 @: $(MAKE); $(unstage)
34921 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34922 r=`${PWD_COMMAND}`; export r; \
34923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34924 $(NORMAL_TARGET_EXPORTS) \
34925 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34926 for flag in $(EXTRA_TARGET_FLAGS); do \
34927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34928 done; \
34929 (cd $(TARGET_SUBDIR)/libgo && \
34930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34932 "RANLIB=$${RANLIB}" \
34933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34934 TAGS) \
34935 || exit 1
34937 @endif target-libgo
34939 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34940 maybe-install-info-target-libgo:
34941 @if target-libgo
34942 maybe-install-info-target-libgo: install-info-target-libgo
34944 install-info-target-libgo: \
34945 configure-target-libgo \
34946 info-target-libgo
34947 @: $(MAKE); $(unstage)
34948 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34949 r=`${PWD_COMMAND}`; export r; \
34950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34951 $(NORMAL_TARGET_EXPORTS) \
34952 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34953 for flag in $(EXTRA_TARGET_FLAGS); do \
34954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34955 done; \
34956 (cd $(TARGET_SUBDIR)/libgo && \
34957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34959 "RANLIB=$${RANLIB}" \
34960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34961 install-info) \
34962 || exit 1
34964 @endif target-libgo
34966 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34967 maybe-install-pdf-target-libgo:
34968 @if target-libgo
34969 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34971 install-pdf-target-libgo: \
34972 configure-target-libgo \
34973 pdf-target-libgo
34974 @: $(MAKE); $(unstage)
34975 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34976 r=`${PWD_COMMAND}`; export r; \
34977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34978 $(NORMAL_TARGET_EXPORTS) \
34979 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34980 for flag in $(EXTRA_TARGET_FLAGS); do \
34981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34982 done; \
34983 (cd $(TARGET_SUBDIR)/libgo && \
34984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34986 "RANLIB=$${RANLIB}" \
34987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34988 install-pdf) \
34989 || exit 1
34991 @endif target-libgo
34993 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34994 maybe-install-html-target-libgo:
34995 @if target-libgo
34996 maybe-install-html-target-libgo: install-html-target-libgo
34998 install-html-target-libgo: \
34999 configure-target-libgo \
35000 html-target-libgo
35001 @: $(MAKE); $(unstage)
35002 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35003 r=`${PWD_COMMAND}`; export r; \
35004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35005 $(NORMAL_TARGET_EXPORTS) \
35006 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
35007 for flag in $(EXTRA_TARGET_FLAGS); do \
35008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35009 done; \
35010 (cd $(TARGET_SUBDIR)/libgo && \
35011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35013 "RANLIB=$${RANLIB}" \
35014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35015 install-html) \
35016 || exit 1
35018 @endif target-libgo
35020 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35021 maybe-installcheck-target-libgo:
35022 @if target-libgo
35023 maybe-installcheck-target-libgo: installcheck-target-libgo
35025 installcheck-target-libgo: \
35026 configure-target-libgo
35027 @: $(MAKE); $(unstage)
35028 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35029 r=`${PWD_COMMAND}`; export r; \
35030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35031 $(NORMAL_TARGET_EXPORTS) \
35032 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35033 for flag in $(EXTRA_TARGET_FLAGS); do \
35034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35035 done; \
35036 (cd $(TARGET_SUBDIR)/libgo && \
35037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35039 "RANLIB=$${RANLIB}" \
35040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35041 installcheck) \
35042 || exit 1
35044 @endif target-libgo
35046 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35047 maybe-mostlyclean-target-libgo:
35048 @if target-libgo
35049 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35051 mostlyclean-target-libgo:
35052 @: $(MAKE); $(unstage)
35053 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35054 r=`${PWD_COMMAND}`; export r; \
35055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35056 $(NORMAL_TARGET_EXPORTS) \
35057 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35058 for flag in $(EXTRA_TARGET_FLAGS); do \
35059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35060 done; \
35061 (cd $(TARGET_SUBDIR)/libgo && \
35062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35064 "RANLIB=$${RANLIB}" \
35065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35066 mostlyclean) \
35067 || exit 1
35069 @endif target-libgo
35071 .PHONY: maybe-clean-target-libgo clean-target-libgo
35072 maybe-clean-target-libgo:
35073 @if target-libgo
35074 maybe-clean-target-libgo: clean-target-libgo
35076 clean-target-libgo:
35077 @: $(MAKE); $(unstage)
35078 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35079 r=`${PWD_COMMAND}`; export r; \
35080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35081 $(NORMAL_TARGET_EXPORTS) \
35082 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35083 for flag in $(EXTRA_TARGET_FLAGS); do \
35084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35085 done; \
35086 (cd $(TARGET_SUBDIR)/libgo && \
35087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35089 "RANLIB=$${RANLIB}" \
35090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35091 clean) \
35092 || exit 1
35094 @endif target-libgo
35096 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35097 maybe-distclean-target-libgo:
35098 @if target-libgo
35099 maybe-distclean-target-libgo: distclean-target-libgo
35101 distclean-target-libgo:
35102 @: $(MAKE); $(unstage)
35103 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35104 r=`${PWD_COMMAND}`; export r; \
35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35106 $(NORMAL_TARGET_EXPORTS) \
35107 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35108 for flag in $(EXTRA_TARGET_FLAGS); do \
35109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35110 done; \
35111 (cd $(TARGET_SUBDIR)/libgo && \
35112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35114 "RANLIB=$${RANLIB}" \
35115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35116 distclean) \
35117 || exit 1
35119 @endif target-libgo
35121 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35122 maybe-maintainer-clean-target-libgo:
35123 @if target-libgo
35124 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35126 maintainer-clean-target-libgo:
35127 @: $(MAKE); $(unstage)
35128 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35129 r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(NORMAL_TARGET_EXPORTS) \
35132 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35133 for flag in $(EXTRA_TARGET_FLAGS); do \
35134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35135 done; \
35136 (cd $(TARGET_SUBDIR)/libgo && \
35137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35139 "RANLIB=$${RANLIB}" \
35140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35141 maintainer-clean) \
35142 || exit 1
35144 @endif target-libgo
35150 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35151 maybe-configure-target-libtermcap:
35152 @if gcc-bootstrap
35153 configure-target-libtermcap: stage_current
35154 @endif gcc-bootstrap
35155 @if target-libtermcap
35156 maybe-configure-target-libtermcap: configure-target-libtermcap
35157 configure-target-libtermcap:
35158 @: $(MAKE); $(unstage)
35159 @r=`${PWD_COMMAND}`; export r; \
35160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35161 echo "Checking multilib configuration for libtermcap..."; \
35162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35163 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35164 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35165 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35166 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35167 else \
35168 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35169 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35170 fi; \
35171 else \
35172 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35173 fi; \
35174 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35176 $(NORMAL_TARGET_EXPORTS) \
35177 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35178 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35179 case $(srcdir) in \
35180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35181 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35183 esac; \
35184 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35185 libsrcdir="$$s/libtermcap"; \
35186 rm -f no-such-file || : ; \
35187 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35188 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35189 --target=${target_alias} $${srcdiroption} \
35190 || exit 1
35191 @endif target-libtermcap
35197 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35198 maybe-all-target-libtermcap:
35199 @if gcc-bootstrap
35200 all-target-libtermcap: stage_current
35201 @endif gcc-bootstrap
35202 @if target-libtermcap
35203 TARGET-target-libtermcap=all
35204 maybe-all-target-libtermcap: all-target-libtermcap
35205 all-target-libtermcap: configure-target-libtermcap
35206 @: $(MAKE); $(unstage)
35207 @r=`${PWD_COMMAND}`; export r; \
35208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35209 $(NORMAL_TARGET_EXPORTS) \
35210 (cd $(TARGET_SUBDIR)/libtermcap && \
35211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35212 $(TARGET-target-libtermcap))
35213 @endif target-libtermcap
35219 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35220 maybe-check-target-libtermcap:
35221 @if target-libtermcap
35222 maybe-check-target-libtermcap: check-target-libtermcap
35224 # Dummy target for uncheckable module.
35225 check-target-libtermcap:
35227 @endif target-libtermcap
35229 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35230 maybe-install-target-libtermcap:
35231 @if target-libtermcap
35232 maybe-install-target-libtermcap: install-target-libtermcap
35234 install-target-libtermcap: installdirs
35235 @: $(MAKE); $(unstage)
35236 @r=`${PWD_COMMAND}`; export r; \
35237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35238 $(NORMAL_TARGET_EXPORTS) \
35239 (cd $(TARGET_SUBDIR)/libtermcap && \
35240 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35242 @endif target-libtermcap
35244 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35245 maybe-install-strip-target-libtermcap:
35246 @if target-libtermcap
35247 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35249 install-strip-target-libtermcap: installdirs
35250 @: $(MAKE); $(unstage)
35251 @r=`${PWD_COMMAND}`; export r; \
35252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35253 $(NORMAL_TARGET_EXPORTS) \
35254 (cd $(TARGET_SUBDIR)/libtermcap && \
35255 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35257 @endif target-libtermcap
35259 # Other targets (info, dvi, pdf, etc.)
35261 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35262 maybe-info-target-libtermcap:
35263 @if target-libtermcap
35264 maybe-info-target-libtermcap: info-target-libtermcap
35266 info-target-libtermcap: \
35267 configure-target-libtermcap
35268 @: $(MAKE); $(unstage)
35269 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35270 r=`${PWD_COMMAND}`; export r; \
35271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35272 $(NORMAL_TARGET_EXPORTS) \
35273 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35274 for flag in $(EXTRA_TARGET_FLAGS); do \
35275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35276 done; \
35277 (cd $(TARGET_SUBDIR)/libtermcap && \
35278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35280 "RANLIB=$${RANLIB}" \
35281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35282 info) \
35283 || exit 1
35285 @endif target-libtermcap
35287 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35288 maybe-dvi-target-libtermcap:
35289 @if target-libtermcap
35290 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35292 dvi-target-libtermcap: \
35293 configure-target-libtermcap
35294 @: $(MAKE); $(unstage)
35295 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35296 r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 $(NORMAL_TARGET_EXPORTS) \
35299 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35300 for flag in $(EXTRA_TARGET_FLAGS); do \
35301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35302 done; \
35303 (cd $(TARGET_SUBDIR)/libtermcap && \
35304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35306 "RANLIB=$${RANLIB}" \
35307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35308 dvi) \
35309 || exit 1
35311 @endif target-libtermcap
35313 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35314 maybe-pdf-target-libtermcap:
35315 @if target-libtermcap
35316 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35318 pdf-target-libtermcap: \
35319 configure-target-libtermcap
35320 @: $(MAKE); $(unstage)
35321 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35322 r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(NORMAL_TARGET_EXPORTS) \
35325 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35326 for flag in $(EXTRA_TARGET_FLAGS); do \
35327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35328 done; \
35329 (cd $(TARGET_SUBDIR)/libtermcap && \
35330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35332 "RANLIB=$${RANLIB}" \
35333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35334 pdf) \
35335 || exit 1
35337 @endif target-libtermcap
35339 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35340 maybe-html-target-libtermcap:
35341 @if target-libtermcap
35342 maybe-html-target-libtermcap: html-target-libtermcap
35344 html-target-libtermcap: \
35345 configure-target-libtermcap
35346 @: $(MAKE); $(unstage)
35347 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(NORMAL_TARGET_EXPORTS) \
35351 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35352 for flag in $(EXTRA_TARGET_FLAGS); do \
35353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35354 done; \
35355 (cd $(TARGET_SUBDIR)/libtermcap && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 html) \
35361 || exit 1
35363 @endif target-libtermcap
35365 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35366 maybe-TAGS-target-libtermcap:
35367 @if target-libtermcap
35368 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35370 TAGS-target-libtermcap: \
35371 configure-target-libtermcap
35372 @: $(MAKE); $(unstage)
35373 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35374 r=`${PWD_COMMAND}`; export r; \
35375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35376 $(NORMAL_TARGET_EXPORTS) \
35377 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35378 for flag in $(EXTRA_TARGET_FLAGS); do \
35379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35380 done; \
35381 (cd $(TARGET_SUBDIR)/libtermcap && \
35382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35384 "RANLIB=$${RANLIB}" \
35385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35386 TAGS) \
35387 || exit 1
35389 @endif target-libtermcap
35391 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35392 maybe-install-info-target-libtermcap:
35393 @if target-libtermcap
35394 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35396 install-info-target-libtermcap: \
35397 configure-target-libtermcap \
35398 info-target-libtermcap
35399 @: $(MAKE); $(unstage)
35400 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35401 r=`${PWD_COMMAND}`; export r; \
35402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35403 $(NORMAL_TARGET_EXPORTS) \
35404 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35405 for flag in $(EXTRA_TARGET_FLAGS); do \
35406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35407 done; \
35408 (cd $(TARGET_SUBDIR)/libtermcap && \
35409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35411 "RANLIB=$${RANLIB}" \
35412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35413 install-info) \
35414 || exit 1
35416 @endif target-libtermcap
35418 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35419 maybe-install-pdf-target-libtermcap:
35420 @if target-libtermcap
35421 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35423 install-pdf-target-libtermcap: \
35424 configure-target-libtermcap \
35425 pdf-target-libtermcap
35426 @: $(MAKE); $(unstage)
35427 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35428 r=`${PWD_COMMAND}`; export r; \
35429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35430 $(NORMAL_TARGET_EXPORTS) \
35431 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35432 for flag in $(EXTRA_TARGET_FLAGS); do \
35433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35434 done; \
35435 (cd $(TARGET_SUBDIR)/libtermcap && \
35436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35438 "RANLIB=$${RANLIB}" \
35439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35440 install-pdf) \
35441 || exit 1
35443 @endif target-libtermcap
35445 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35446 maybe-install-html-target-libtermcap:
35447 @if target-libtermcap
35448 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35450 install-html-target-libtermcap: \
35451 configure-target-libtermcap \
35452 html-target-libtermcap
35453 @: $(MAKE); $(unstage)
35454 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35455 r=`${PWD_COMMAND}`; export r; \
35456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35457 $(NORMAL_TARGET_EXPORTS) \
35458 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35459 for flag in $(EXTRA_TARGET_FLAGS); do \
35460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35461 done; \
35462 (cd $(TARGET_SUBDIR)/libtermcap && \
35463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35465 "RANLIB=$${RANLIB}" \
35466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35467 install-html) \
35468 || exit 1
35470 @endif target-libtermcap
35472 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35473 maybe-installcheck-target-libtermcap:
35474 @if target-libtermcap
35475 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35477 installcheck-target-libtermcap: \
35478 configure-target-libtermcap
35479 @: $(MAKE); $(unstage)
35480 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35481 r=`${PWD_COMMAND}`; export r; \
35482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35483 $(NORMAL_TARGET_EXPORTS) \
35484 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35485 for flag in $(EXTRA_TARGET_FLAGS); do \
35486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35487 done; \
35488 (cd $(TARGET_SUBDIR)/libtermcap && \
35489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35491 "RANLIB=$${RANLIB}" \
35492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35493 installcheck) \
35494 || exit 1
35496 @endif target-libtermcap
35498 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35499 maybe-mostlyclean-target-libtermcap:
35500 @if target-libtermcap
35501 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35503 # libtermcap doesn't support mostlyclean.
35504 mostlyclean-target-libtermcap:
35506 @endif target-libtermcap
35508 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35509 maybe-clean-target-libtermcap:
35510 @if target-libtermcap
35511 maybe-clean-target-libtermcap: clean-target-libtermcap
35513 # libtermcap doesn't support clean.
35514 clean-target-libtermcap:
35516 @endif target-libtermcap
35518 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35519 maybe-distclean-target-libtermcap:
35520 @if target-libtermcap
35521 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35523 # libtermcap doesn't support distclean.
35524 distclean-target-libtermcap:
35526 @endif target-libtermcap
35528 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35529 maybe-maintainer-clean-target-libtermcap:
35530 @if target-libtermcap
35531 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35533 # libtermcap doesn't support maintainer-clean.
35534 maintainer-clean-target-libtermcap:
35536 @endif target-libtermcap
35542 .PHONY: configure-target-winsup maybe-configure-target-winsup
35543 maybe-configure-target-winsup:
35544 @if gcc-bootstrap
35545 configure-target-winsup: stage_current
35546 @endif gcc-bootstrap
35547 @if target-winsup
35548 maybe-configure-target-winsup: configure-target-winsup
35549 configure-target-winsup:
35550 @: $(MAKE); $(unstage)
35551 @r=`${PWD_COMMAND}`; export r; \
35552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35553 echo "Checking multilib configuration for winsup..."; \
35554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35555 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35556 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35557 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35558 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35559 else \
35560 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35561 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35562 fi; \
35563 else \
35564 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35565 fi; \
35566 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35568 $(NORMAL_TARGET_EXPORTS) \
35569 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35570 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35571 case $(srcdir) in \
35572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35573 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35575 esac; \
35576 srcdiroption="--srcdir=$${topdir}/winsup"; \
35577 libsrcdir="$$s/winsup"; \
35578 rm -f no-such-file || : ; \
35579 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35580 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35581 --target=${target_alias} $${srcdiroption} \
35582 || exit 1
35583 @endif target-winsup
35589 .PHONY: all-target-winsup maybe-all-target-winsup
35590 maybe-all-target-winsup:
35591 @if gcc-bootstrap
35592 all-target-winsup: stage_current
35593 @endif gcc-bootstrap
35594 @if target-winsup
35595 TARGET-target-winsup=all
35596 maybe-all-target-winsup: all-target-winsup
35597 all-target-winsup: configure-target-winsup
35598 @: $(MAKE); $(unstage)
35599 @r=`${PWD_COMMAND}`; export r; \
35600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35601 $(NORMAL_TARGET_EXPORTS) \
35602 (cd $(TARGET_SUBDIR)/winsup && \
35603 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35604 $(TARGET-target-winsup))
35605 @endif target-winsup
35611 .PHONY: check-target-winsup maybe-check-target-winsup
35612 maybe-check-target-winsup:
35613 @if target-winsup
35614 maybe-check-target-winsup: check-target-winsup
35616 check-target-winsup:
35617 @: $(MAKE); $(unstage)
35618 @r=`${PWD_COMMAND}`; export r; \
35619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35620 $(NORMAL_TARGET_EXPORTS) \
35621 (cd $(TARGET_SUBDIR)/winsup && \
35622 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35624 @endif target-winsup
35626 .PHONY: install-target-winsup maybe-install-target-winsup
35627 maybe-install-target-winsup:
35628 @if target-winsup
35629 maybe-install-target-winsup: install-target-winsup
35631 install-target-winsup: installdirs
35632 @: $(MAKE); $(unstage)
35633 @r=`${PWD_COMMAND}`; export r; \
35634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35635 $(NORMAL_TARGET_EXPORTS) \
35636 (cd $(TARGET_SUBDIR)/winsup && \
35637 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35639 @endif target-winsup
35641 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35642 maybe-install-strip-target-winsup:
35643 @if target-winsup
35644 maybe-install-strip-target-winsup: install-strip-target-winsup
35646 install-strip-target-winsup: installdirs
35647 @: $(MAKE); $(unstage)
35648 @r=`${PWD_COMMAND}`; export r; \
35649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35650 $(NORMAL_TARGET_EXPORTS) \
35651 (cd $(TARGET_SUBDIR)/winsup && \
35652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35654 @endif target-winsup
35656 # Other targets (info, dvi, pdf, etc.)
35658 .PHONY: maybe-info-target-winsup info-target-winsup
35659 maybe-info-target-winsup:
35660 @if target-winsup
35661 maybe-info-target-winsup: info-target-winsup
35663 info-target-winsup: \
35664 configure-target-winsup
35665 @: $(MAKE); $(unstage)
35666 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35667 r=`${PWD_COMMAND}`; export r; \
35668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35669 $(NORMAL_TARGET_EXPORTS) \
35670 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35671 for flag in $(EXTRA_TARGET_FLAGS); do \
35672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35673 done; \
35674 (cd $(TARGET_SUBDIR)/winsup && \
35675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35677 "RANLIB=$${RANLIB}" \
35678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35679 info) \
35680 || exit 1
35682 @endif target-winsup
35684 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35685 maybe-dvi-target-winsup:
35686 @if target-winsup
35687 maybe-dvi-target-winsup: dvi-target-winsup
35689 dvi-target-winsup: \
35690 configure-target-winsup
35691 @: $(MAKE); $(unstage)
35692 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35693 r=`${PWD_COMMAND}`; export r; \
35694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35695 $(NORMAL_TARGET_EXPORTS) \
35696 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35697 for flag in $(EXTRA_TARGET_FLAGS); do \
35698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35699 done; \
35700 (cd $(TARGET_SUBDIR)/winsup && \
35701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35703 "RANLIB=$${RANLIB}" \
35704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35705 dvi) \
35706 || exit 1
35708 @endif target-winsup
35710 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35711 maybe-pdf-target-winsup:
35712 @if target-winsup
35713 maybe-pdf-target-winsup: pdf-target-winsup
35715 pdf-target-winsup: \
35716 configure-target-winsup
35717 @: $(MAKE); $(unstage)
35718 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35719 r=`${PWD_COMMAND}`; export r; \
35720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35721 $(NORMAL_TARGET_EXPORTS) \
35722 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35723 for flag in $(EXTRA_TARGET_FLAGS); do \
35724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35725 done; \
35726 (cd $(TARGET_SUBDIR)/winsup && \
35727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35729 "RANLIB=$${RANLIB}" \
35730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35731 pdf) \
35732 || exit 1
35734 @endif target-winsup
35736 .PHONY: maybe-html-target-winsup html-target-winsup
35737 maybe-html-target-winsup:
35738 @if target-winsup
35739 maybe-html-target-winsup: html-target-winsup
35741 html-target-winsup: \
35742 configure-target-winsup
35743 @: $(MAKE); $(unstage)
35744 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35745 r=`${PWD_COMMAND}`; export r; \
35746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35747 $(NORMAL_TARGET_EXPORTS) \
35748 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35749 for flag in $(EXTRA_TARGET_FLAGS); do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 (cd $(TARGET_SUBDIR)/winsup && \
35753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35755 "RANLIB=$${RANLIB}" \
35756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35757 html) \
35758 || exit 1
35760 @endif target-winsup
35762 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35763 maybe-TAGS-target-winsup:
35764 @if target-winsup
35765 maybe-TAGS-target-winsup: TAGS-target-winsup
35767 TAGS-target-winsup: \
35768 configure-target-winsup
35769 @: $(MAKE); $(unstage)
35770 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35771 r=`${PWD_COMMAND}`; export r; \
35772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35773 $(NORMAL_TARGET_EXPORTS) \
35774 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35775 for flag in $(EXTRA_TARGET_FLAGS); do \
35776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35777 done; \
35778 (cd $(TARGET_SUBDIR)/winsup && \
35779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35781 "RANLIB=$${RANLIB}" \
35782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35783 TAGS) \
35784 || exit 1
35786 @endif target-winsup
35788 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35789 maybe-install-info-target-winsup:
35790 @if target-winsup
35791 maybe-install-info-target-winsup: install-info-target-winsup
35793 install-info-target-winsup: \
35794 configure-target-winsup \
35795 info-target-winsup
35796 @: $(MAKE); $(unstage)
35797 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35798 r=`${PWD_COMMAND}`; export r; \
35799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35800 $(NORMAL_TARGET_EXPORTS) \
35801 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35802 for flag in $(EXTRA_TARGET_FLAGS); do \
35803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35804 done; \
35805 (cd $(TARGET_SUBDIR)/winsup && \
35806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35808 "RANLIB=$${RANLIB}" \
35809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35810 install-info) \
35811 || exit 1
35813 @endif target-winsup
35815 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35816 maybe-install-pdf-target-winsup:
35817 @if target-winsup
35818 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35820 install-pdf-target-winsup: \
35821 configure-target-winsup \
35822 pdf-target-winsup
35823 @: $(MAKE); $(unstage)
35824 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35825 r=`${PWD_COMMAND}`; export r; \
35826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35827 $(NORMAL_TARGET_EXPORTS) \
35828 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35829 for flag in $(EXTRA_TARGET_FLAGS); do \
35830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35831 done; \
35832 (cd $(TARGET_SUBDIR)/winsup && \
35833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35835 "RANLIB=$${RANLIB}" \
35836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35837 install-pdf) \
35838 || exit 1
35840 @endif target-winsup
35842 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35843 maybe-install-html-target-winsup:
35844 @if target-winsup
35845 maybe-install-html-target-winsup: install-html-target-winsup
35847 install-html-target-winsup: \
35848 configure-target-winsup \
35849 html-target-winsup
35850 @: $(MAKE); $(unstage)
35851 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35852 r=`${PWD_COMMAND}`; export r; \
35853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35854 $(NORMAL_TARGET_EXPORTS) \
35855 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35856 for flag in $(EXTRA_TARGET_FLAGS); do \
35857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35858 done; \
35859 (cd $(TARGET_SUBDIR)/winsup && \
35860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35862 "RANLIB=$${RANLIB}" \
35863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35864 install-html) \
35865 || exit 1
35867 @endif target-winsup
35869 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35870 maybe-installcheck-target-winsup:
35871 @if target-winsup
35872 maybe-installcheck-target-winsup: installcheck-target-winsup
35874 installcheck-target-winsup: \
35875 configure-target-winsup
35876 @: $(MAKE); $(unstage)
35877 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35878 r=`${PWD_COMMAND}`; export r; \
35879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35880 $(NORMAL_TARGET_EXPORTS) \
35881 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35882 for flag in $(EXTRA_TARGET_FLAGS); do \
35883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35884 done; \
35885 (cd $(TARGET_SUBDIR)/winsup && \
35886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35888 "RANLIB=$${RANLIB}" \
35889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35890 installcheck) \
35891 || exit 1
35893 @endif target-winsup
35895 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35896 maybe-mostlyclean-target-winsup:
35897 @if target-winsup
35898 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35900 mostlyclean-target-winsup:
35901 @: $(MAKE); $(unstage)
35902 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35903 r=`${PWD_COMMAND}`; export r; \
35904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35905 $(NORMAL_TARGET_EXPORTS) \
35906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35907 for flag in $(EXTRA_TARGET_FLAGS); do \
35908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35909 done; \
35910 (cd $(TARGET_SUBDIR)/winsup && \
35911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35913 "RANLIB=$${RANLIB}" \
35914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35915 mostlyclean) \
35916 || exit 1
35918 @endif target-winsup
35920 .PHONY: maybe-clean-target-winsup clean-target-winsup
35921 maybe-clean-target-winsup:
35922 @if target-winsup
35923 maybe-clean-target-winsup: clean-target-winsup
35925 clean-target-winsup:
35926 @: $(MAKE); $(unstage)
35927 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35928 r=`${PWD_COMMAND}`; export r; \
35929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35930 $(NORMAL_TARGET_EXPORTS) \
35931 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35932 for flag in $(EXTRA_TARGET_FLAGS); do \
35933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35934 done; \
35935 (cd $(TARGET_SUBDIR)/winsup && \
35936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35938 "RANLIB=$${RANLIB}" \
35939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35940 clean) \
35941 || exit 1
35943 @endif target-winsup
35945 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35946 maybe-distclean-target-winsup:
35947 @if target-winsup
35948 maybe-distclean-target-winsup: distclean-target-winsup
35950 distclean-target-winsup:
35951 @: $(MAKE); $(unstage)
35952 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35953 r=`${PWD_COMMAND}`; export r; \
35954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35955 $(NORMAL_TARGET_EXPORTS) \
35956 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35957 for flag in $(EXTRA_TARGET_FLAGS); do \
35958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35959 done; \
35960 (cd $(TARGET_SUBDIR)/winsup && \
35961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35963 "RANLIB=$${RANLIB}" \
35964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35965 distclean) \
35966 || exit 1
35968 @endif target-winsup
35970 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35971 maybe-maintainer-clean-target-winsup:
35972 @if target-winsup
35973 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35975 maintainer-clean-target-winsup:
35976 @: $(MAKE); $(unstage)
35977 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35978 r=`${PWD_COMMAND}`; export r; \
35979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35980 $(NORMAL_TARGET_EXPORTS) \
35981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35982 for flag in $(EXTRA_TARGET_FLAGS); do \
35983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35984 done; \
35985 (cd $(TARGET_SUBDIR)/winsup && \
35986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35988 "RANLIB=$${RANLIB}" \
35989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35990 maintainer-clean) \
35991 || exit 1
35993 @endif target-winsup
35999 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36000 maybe-configure-target-libgloss:
36001 @if gcc-bootstrap
36002 configure-target-libgloss: stage_current
36003 @endif gcc-bootstrap
36004 @if target-libgloss
36005 maybe-configure-target-libgloss: configure-target-libgloss
36006 configure-target-libgloss:
36007 @: $(MAKE); $(unstage)
36008 @r=`${PWD_COMMAND}`; export r; \
36009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36010 echo "Checking multilib configuration for libgloss..."; \
36011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36012 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36013 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36014 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36015 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36016 else \
36017 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36018 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36019 fi; \
36020 else \
36021 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36022 fi; \
36023 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36025 $(NORMAL_TARGET_EXPORTS) \
36026 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36027 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36028 case $(srcdir) in \
36029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36030 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36032 esac; \
36033 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36034 libsrcdir="$$s/libgloss"; \
36035 rm -f no-such-file || : ; \
36036 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36038 --target=${target_alias} $${srcdiroption} \
36039 || exit 1
36040 @endif target-libgloss
36046 .PHONY: all-target-libgloss maybe-all-target-libgloss
36047 maybe-all-target-libgloss:
36048 @if gcc-bootstrap
36049 all-target-libgloss: stage_current
36050 @endif gcc-bootstrap
36051 @if target-libgloss
36052 TARGET-target-libgloss=all
36053 maybe-all-target-libgloss: all-target-libgloss
36054 all-target-libgloss: configure-target-libgloss
36055 @: $(MAKE); $(unstage)
36056 @r=`${PWD_COMMAND}`; export r; \
36057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36058 $(NORMAL_TARGET_EXPORTS) \
36059 (cd $(TARGET_SUBDIR)/libgloss && \
36060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36061 $(TARGET-target-libgloss))
36062 @endif target-libgloss
36068 .PHONY: check-target-libgloss maybe-check-target-libgloss
36069 maybe-check-target-libgloss:
36070 @if target-libgloss
36071 maybe-check-target-libgloss: check-target-libgloss
36073 # Dummy target for uncheckable module.
36074 check-target-libgloss:
36076 @endif target-libgloss
36078 .PHONY: install-target-libgloss maybe-install-target-libgloss
36079 maybe-install-target-libgloss:
36080 @if target-libgloss
36081 maybe-install-target-libgloss: install-target-libgloss
36083 install-target-libgloss: installdirs
36084 @: $(MAKE); $(unstage)
36085 @r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(NORMAL_TARGET_EXPORTS) \
36088 (cd $(TARGET_SUBDIR)/libgloss && \
36089 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36091 @endif target-libgloss
36093 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36094 maybe-install-strip-target-libgloss:
36095 @if target-libgloss
36096 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36098 install-strip-target-libgloss: installdirs
36099 @: $(MAKE); $(unstage)
36100 @r=`${PWD_COMMAND}`; export r; \
36101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36102 $(NORMAL_TARGET_EXPORTS) \
36103 (cd $(TARGET_SUBDIR)/libgloss && \
36104 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36106 @endif target-libgloss
36108 # Other targets (info, dvi, pdf, etc.)
36110 .PHONY: maybe-info-target-libgloss info-target-libgloss
36111 maybe-info-target-libgloss:
36112 @if target-libgloss
36113 maybe-info-target-libgloss: info-target-libgloss
36115 info-target-libgloss: \
36116 configure-target-libgloss
36117 @: $(MAKE); $(unstage)
36118 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36123 for flag in $(EXTRA_TARGET_FLAGS); do \
36124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36125 done; \
36126 (cd $(TARGET_SUBDIR)/libgloss && \
36127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36129 "RANLIB=$${RANLIB}" \
36130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36131 info) \
36132 || exit 1
36134 @endif target-libgloss
36136 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36137 maybe-dvi-target-libgloss:
36138 @if target-libgloss
36139 maybe-dvi-target-libgloss: dvi-target-libgloss
36141 dvi-target-libgloss: \
36142 configure-target-libgloss
36143 @: $(MAKE); $(unstage)
36144 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36145 r=`${PWD_COMMAND}`; export r; \
36146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36147 $(NORMAL_TARGET_EXPORTS) \
36148 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36149 for flag in $(EXTRA_TARGET_FLAGS); do \
36150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36151 done; \
36152 (cd $(TARGET_SUBDIR)/libgloss && \
36153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36155 "RANLIB=$${RANLIB}" \
36156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36157 dvi) \
36158 || exit 1
36160 @endif target-libgloss
36162 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36163 maybe-pdf-target-libgloss:
36164 @if target-libgloss
36165 maybe-pdf-target-libgloss: pdf-target-libgloss
36167 pdf-target-libgloss: \
36168 configure-target-libgloss
36169 @: $(MAKE); $(unstage)
36170 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36171 r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 $(NORMAL_TARGET_EXPORTS) \
36174 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36175 for flag in $(EXTRA_TARGET_FLAGS); do \
36176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36177 done; \
36178 (cd $(TARGET_SUBDIR)/libgloss && \
36179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36181 "RANLIB=$${RANLIB}" \
36182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36183 pdf) \
36184 || exit 1
36186 @endif target-libgloss
36188 .PHONY: maybe-html-target-libgloss html-target-libgloss
36189 maybe-html-target-libgloss:
36190 @if target-libgloss
36191 maybe-html-target-libgloss: html-target-libgloss
36193 html-target-libgloss: \
36194 configure-target-libgloss
36195 @: $(MAKE); $(unstage)
36196 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36197 r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(NORMAL_TARGET_EXPORTS) \
36200 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36201 for flag in $(EXTRA_TARGET_FLAGS); do \
36202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36203 done; \
36204 (cd $(TARGET_SUBDIR)/libgloss && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36207 "RANLIB=$${RANLIB}" \
36208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36209 html) \
36210 || exit 1
36212 @endif target-libgloss
36214 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36215 maybe-TAGS-target-libgloss:
36216 @if target-libgloss
36217 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36219 TAGS-target-libgloss: \
36220 configure-target-libgloss
36221 @: $(MAKE); $(unstage)
36222 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36223 r=`${PWD_COMMAND}`; export r; \
36224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36225 $(NORMAL_TARGET_EXPORTS) \
36226 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36227 for flag in $(EXTRA_TARGET_FLAGS); do \
36228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36229 done; \
36230 (cd $(TARGET_SUBDIR)/libgloss && \
36231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36233 "RANLIB=$${RANLIB}" \
36234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36235 TAGS) \
36236 || exit 1
36238 @endif target-libgloss
36240 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36241 maybe-install-info-target-libgloss:
36242 @if target-libgloss
36243 maybe-install-info-target-libgloss: install-info-target-libgloss
36245 install-info-target-libgloss: \
36246 configure-target-libgloss \
36247 info-target-libgloss
36248 @: $(MAKE); $(unstage)
36249 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36250 r=`${PWD_COMMAND}`; export r; \
36251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36252 $(NORMAL_TARGET_EXPORTS) \
36253 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36254 for flag in $(EXTRA_TARGET_FLAGS); do \
36255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36256 done; \
36257 (cd $(TARGET_SUBDIR)/libgloss && \
36258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36260 "RANLIB=$${RANLIB}" \
36261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36262 install-info) \
36263 || exit 1
36265 @endif target-libgloss
36267 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36268 maybe-install-pdf-target-libgloss:
36269 @if target-libgloss
36270 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36272 install-pdf-target-libgloss: \
36273 configure-target-libgloss \
36274 pdf-target-libgloss
36275 @: $(MAKE); $(unstage)
36276 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36277 r=`${PWD_COMMAND}`; export r; \
36278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36279 $(NORMAL_TARGET_EXPORTS) \
36280 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36281 for flag in $(EXTRA_TARGET_FLAGS); do \
36282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36283 done; \
36284 (cd $(TARGET_SUBDIR)/libgloss && \
36285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36287 "RANLIB=$${RANLIB}" \
36288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36289 install-pdf) \
36290 || exit 1
36292 @endif target-libgloss
36294 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36295 maybe-install-html-target-libgloss:
36296 @if target-libgloss
36297 maybe-install-html-target-libgloss: install-html-target-libgloss
36299 install-html-target-libgloss: \
36300 configure-target-libgloss \
36301 html-target-libgloss
36302 @: $(MAKE); $(unstage)
36303 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36304 r=`${PWD_COMMAND}`; export r; \
36305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36306 $(NORMAL_TARGET_EXPORTS) \
36307 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36308 for flag in $(EXTRA_TARGET_FLAGS); do \
36309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36310 done; \
36311 (cd $(TARGET_SUBDIR)/libgloss && \
36312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36314 "RANLIB=$${RANLIB}" \
36315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36316 install-html) \
36317 || exit 1
36319 @endif target-libgloss
36321 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36322 maybe-installcheck-target-libgloss:
36323 @if target-libgloss
36324 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36326 installcheck-target-libgloss: \
36327 configure-target-libgloss
36328 @: $(MAKE); $(unstage)
36329 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36330 r=`${PWD_COMMAND}`; export r; \
36331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36332 $(NORMAL_TARGET_EXPORTS) \
36333 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36334 for flag in $(EXTRA_TARGET_FLAGS); do \
36335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36336 done; \
36337 (cd $(TARGET_SUBDIR)/libgloss && \
36338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36340 "RANLIB=$${RANLIB}" \
36341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36342 installcheck) \
36343 || exit 1
36345 @endif target-libgloss
36347 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36348 maybe-mostlyclean-target-libgloss:
36349 @if target-libgloss
36350 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36352 mostlyclean-target-libgloss:
36353 @: $(MAKE); $(unstage)
36354 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36355 r=`${PWD_COMMAND}`; export r; \
36356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36357 $(NORMAL_TARGET_EXPORTS) \
36358 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36359 for flag in $(EXTRA_TARGET_FLAGS); do \
36360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36361 done; \
36362 (cd $(TARGET_SUBDIR)/libgloss && \
36363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36365 "RANLIB=$${RANLIB}" \
36366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36367 mostlyclean) \
36368 || exit 1
36370 @endif target-libgloss
36372 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36373 maybe-clean-target-libgloss:
36374 @if target-libgloss
36375 maybe-clean-target-libgloss: clean-target-libgloss
36377 clean-target-libgloss:
36378 @: $(MAKE); $(unstage)
36379 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36380 r=`${PWD_COMMAND}`; export r; \
36381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36382 $(NORMAL_TARGET_EXPORTS) \
36383 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36384 for flag in $(EXTRA_TARGET_FLAGS); do \
36385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36386 done; \
36387 (cd $(TARGET_SUBDIR)/libgloss && \
36388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36390 "RANLIB=$${RANLIB}" \
36391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36392 clean) \
36393 || exit 1
36395 @endif target-libgloss
36397 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36398 maybe-distclean-target-libgloss:
36399 @if target-libgloss
36400 maybe-distclean-target-libgloss: distclean-target-libgloss
36402 distclean-target-libgloss:
36403 @: $(MAKE); $(unstage)
36404 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36405 r=`${PWD_COMMAND}`; export r; \
36406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36407 $(NORMAL_TARGET_EXPORTS) \
36408 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36409 for flag in $(EXTRA_TARGET_FLAGS); do \
36410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36411 done; \
36412 (cd $(TARGET_SUBDIR)/libgloss && \
36413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36415 "RANLIB=$${RANLIB}" \
36416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36417 distclean) \
36418 || exit 1
36420 @endif target-libgloss
36422 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36423 maybe-maintainer-clean-target-libgloss:
36424 @if target-libgloss
36425 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36427 maintainer-clean-target-libgloss:
36428 @: $(MAKE); $(unstage)
36429 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36430 r=`${PWD_COMMAND}`; export r; \
36431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36432 $(NORMAL_TARGET_EXPORTS) \
36433 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36434 for flag in $(EXTRA_TARGET_FLAGS); do \
36435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36436 done; \
36437 (cd $(TARGET_SUBDIR)/libgloss && \
36438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36440 "RANLIB=$${RANLIB}" \
36441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36442 maintainer-clean) \
36443 || exit 1
36445 @endif target-libgloss
36451 .PHONY: configure-target-libffi maybe-configure-target-libffi
36452 maybe-configure-target-libffi:
36453 @if gcc-bootstrap
36454 configure-target-libffi: stage_current
36455 @endif gcc-bootstrap
36456 @if target-libffi
36457 maybe-configure-target-libffi: configure-target-libffi
36458 configure-target-libffi:
36459 @: $(MAKE); $(unstage)
36460 @r=`${PWD_COMMAND}`; export r; \
36461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36462 echo "Checking multilib configuration for libffi..."; \
36463 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36464 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36465 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36466 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36467 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36468 else \
36469 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36470 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36471 fi; \
36472 else \
36473 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36474 fi; \
36475 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36476 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36477 $(NORMAL_TARGET_EXPORTS) \
36478 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36479 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36480 case $(srcdir) in \
36481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36482 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36484 esac; \
36485 srcdiroption="--srcdir=$${topdir}/libffi"; \
36486 libsrcdir="$$s/libffi"; \
36487 rm -f no-such-file || : ; \
36488 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36489 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36490 --target=${target_alias} $${srcdiroption} \
36491 || exit 1
36492 @endif target-libffi
36498 .PHONY: all-target-libffi maybe-all-target-libffi
36499 maybe-all-target-libffi:
36500 @if gcc-bootstrap
36501 all-target-libffi: stage_current
36502 @endif gcc-bootstrap
36503 @if target-libffi
36504 TARGET-target-libffi=all
36505 maybe-all-target-libffi: all-target-libffi
36506 all-target-libffi: configure-target-libffi
36507 @: $(MAKE); $(unstage)
36508 @r=`${PWD_COMMAND}`; export r; \
36509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36510 $(NORMAL_TARGET_EXPORTS) \
36511 (cd $(TARGET_SUBDIR)/libffi && \
36512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36513 $(TARGET-target-libffi))
36514 @endif target-libffi
36520 .PHONY: check-target-libffi maybe-check-target-libffi
36521 maybe-check-target-libffi:
36522 @if target-libffi
36523 maybe-check-target-libffi: check-target-libffi
36525 check-target-libffi:
36526 @: $(MAKE); $(unstage)
36527 @r=`${PWD_COMMAND}`; export r; \
36528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36529 $(NORMAL_TARGET_EXPORTS) \
36530 (cd $(TARGET_SUBDIR)/libffi && \
36531 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36533 @endif target-libffi
36535 .PHONY: install-target-libffi maybe-install-target-libffi
36536 maybe-install-target-libffi:
36537 @if target-libffi
36538 maybe-install-target-libffi: install-target-libffi
36540 install-target-libffi: installdirs
36541 @: $(MAKE); $(unstage)
36542 @r=`${PWD_COMMAND}`; export r; \
36543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36544 $(NORMAL_TARGET_EXPORTS) \
36545 (cd $(TARGET_SUBDIR)/libffi && \
36546 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36548 @endif target-libffi
36550 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36551 maybe-install-strip-target-libffi:
36552 @if target-libffi
36553 maybe-install-strip-target-libffi: install-strip-target-libffi
36555 install-strip-target-libffi: installdirs
36556 @: $(MAKE); $(unstage)
36557 @r=`${PWD_COMMAND}`; export r; \
36558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36559 $(NORMAL_TARGET_EXPORTS) \
36560 (cd $(TARGET_SUBDIR)/libffi && \
36561 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36563 @endif target-libffi
36565 # Other targets (info, dvi, pdf, etc.)
36567 .PHONY: maybe-info-target-libffi info-target-libffi
36568 maybe-info-target-libffi:
36569 @if target-libffi
36570 maybe-info-target-libffi: info-target-libffi
36572 info-target-libffi: \
36573 configure-target-libffi
36574 @: $(MAKE); $(unstage)
36575 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36576 r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(NORMAL_TARGET_EXPORTS) \
36579 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36580 for flag in $(EXTRA_TARGET_FLAGS); do \
36581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36582 done; \
36583 (cd $(TARGET_SUBDIR)/libffi && \
36584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36586 "RANLIB=$${RANLIB}" \
36587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36588 info) \
36589 || exit 1
36591 @endif target-libffi
36593 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36594 maybe-dvi-target-libffi:
36595 @if target-libffi
36596 maybe-dvi-target-libffi: dvi-target-libffi
36598 dvi-target-libffi: \
36599 configure-target-libffi
36600 @: $(MAKE); $(unstage)
36601 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36602 r=`${PWD_COMMAND}`; export r; \
36603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36604 $(NORMAL_TARGET_EXPORTS) \
36605 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36606 for flag in $(EXTRA_TARGET_FLAGS); do \
36607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36608 done; \
36609 (cd $(TARGET_SUBDIR)/libffi && \
36610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36612 "RANLIB=$${RANLIB}" \
36613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36614 dvi) \
36615 || exit 1
36617 @endif target-libffi
36619 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36620 maybe-pdf-target-libffi:
36621 @if target-libffi
36622 maybe-pdf-target-libffi: pdf-target-libffi
36624 pdf-target-libffi: \
36625 configure-target-libffi
36626 @: $(MAKE); $(unstage)
36627 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36628 r=`${PWD_COMMAND}`; export r; \
36629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36630 $(NORMAL_TARGET_EXPORTS) \
36631 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36632 for flag in $(EXTRA_TARGET_FLAGS); do \
36633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36634 done; \
36635 (cd $(TARGET_SUBDIR)/libffi && \
36636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36638 "RANLIB=$${RANLIB}" \
36639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36640 pdf) \
36641 || exit 1
36643 @endif target-libffi
36645 .PHONY: maybe-html-target-libffi html-target-libffi
36646 maybe-html-target-libffi:
36647 @if target-libffi
36648 maybe-html-target-libffi: html-target-libffi
36650 html-target-libffi: \
36651 configure-target-libffi
36652 @: $(MAKE); $(unstage)
36653 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36654 r=`${PWD_COMMAND}`; export r; \
36655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36656 $(NORMAL_TARGET_EXPORTS) \
36657 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36658 for flag in $(EXTRA_TARGET_FLAGS); do \
36659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36660 done; \
36661 (cd $(TARGET_SUBDIR)/libffi && \
36662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36664 "RANLIB=$${RANLIB}" \
36665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36666 html) \
36667 || exit 1
36669 @endif target-libffi
36671 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36672 maybe-TAGS-target-libffi:
36673 @if target-libffi
36674 maybe-TAGS-target-libffi: TAGS-target-libffi
36676 TAGS-target-libffi: \
36677 configure-target-libffi
36678 @: $(MAKE); $(unstage)
36679 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36680 r=`${PWD_COMMAND}`; export r; \
36681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36682 $(NORMAL_TARGET_EXPORTS) \
36683 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36684 for flag in $(EXTRA_TARGET_FLAGS); do \
36685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36686 done; \
36687 (cd $(TARGET_SUBDIR)/libffi && \
36688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36690 "RANLIB=$${RANLIB}" \
36691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36692 TAGS) \
36693 || exit 1
36695 @endif target-libffi
36697 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36698 maybe-install-info-target-libffi:
36699 @if target-libffi
36700 maybe-install-info-target-libffi: install-info-target-libffi
36702 install-info-target-libffi: \
36703 configure-target-libffi \
36704 info-target-libffi
36705 @: $(MAKE); $(unstage)
36706 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36707 r=`${PWD_COMMAND}`; export r; \
36708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36709 $(NORMAL_TARGET_EXPORTS) \
36710 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36711 for flag in $(EXTRA_TARGET_FLAGS); do \
36712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36713 done; \
36714 (cd $(TARGET_SUBDIR)/libffi && \
36715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36717 "RANLIB=$${RANLIB}" \
36718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36719 install-info) \
36720 || exit 1
36722 @endif target-libffi
36724 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36725 maybe-install-pdf-target-libffi:
36726 @if target-libffi
36727 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36729 install-pdf-target-libffi: \
36730 configure-target-libffi \
36731 pdf-target-libffi
36732 @: $(MAKE); $(unstage)
36733 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36734 r=`${PWD_COMMAND}`; export r; \
36735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36736 $(NORMAL_TARGET_EXPORTS) \
36737 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36738 for flag in $(EXTRA_TARGET_FLAGS); do \
36739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36740 done; \
36741 (cd $(TARGET_SUBDIR)/libffi && \
36742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36744 "RANLIB=$${RANLIB}" \
36745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36746 install-pdf) \
36747 || exit 1
36749 @endif target-libffi
36751 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36752 maybe-install-html-target-libffi:
36753 @if target-libffi
36754 maybe-install-html-target-libffi: install-html-target-libffi
36756 install-html-target-libffi: \
36757 configure-target-libffi \
36758 html-target-libffi
36759 @: $(MAKE); $(unstage)
36760 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36761 r=`${PWD_COMMAND}`; export r; \
36762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36763 $(NORMAL_TARGET_EXPORTS) \
36764 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36765 for flag in $(EXTRA_TARGET_FLAGS); do \
36766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36767 done; \
36768 (cd $(TARGET_SUBDIR)/libffi && \
36769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36771 "RANLIB=$${RANLIB}" \
36772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36773 install-html) \
36774 || exit 1
36776 @endif target-libffi
36778 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36779 maybe-installcheck-target-libffi:
36780 @if target-libffi
36781 maybe-installcheck-target-libffi: installcheck-target-libffi
36783 installcheck-target-libffi: \
36784 configure-target-libffi
36785 @: $(MAKE); $(unstage)
36786 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36787 r=`${PWD_COMMAND}`; export r; \
36788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36789 $(NORMAL_TARGET_EXPORTS) \
36790 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36791 for flag in $(EXTRA_TARGET_FLAGS); do \
36792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36793 done; \
36794 (cd $(TARGET_SUBDIR)/libffi && \
36795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36797 "RANLIB=$${RANLIB}" \
36798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36799 installcheck) \
36800 || exit 1
36802 @endif target-libffi
36804 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36805 maybe-mostlyclean-target-libffi:
36806 @if target-libffi
36807 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36809 mostlyclean-target-libffi:
36810 @: $(MAKE); $(unstage)
36811 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36812 r=`${PWD_COMMAND}`; export r; \
36813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36814 $(NORMAL_TARGET_EXPORTS) \
36815 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36816 for flag in $(EXTRA_TARGET_FLAGS); do \
36817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36818 done; \
36819 (cd $(TARGET_SUBDIR)/libffi && \
36820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36822 "RANLIB=$${RANLIB}" \
36823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36824 mostlyclean) \
36825 || exit 1
36827 @endif target-libffi
36829 .PHONY: maybe-clean-target-libffi clean-target-libffi
36830 maybe-clean-target-libffi:
36831 @if target-libffi
36832 maybe-clean-target-libffi: clean-target-libffi
36834 clean-target-libffi:
36835 @: $(MAKE); $(unstage)
36836 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36837 r=`${PWD_COMMAND}`; export r; \
36838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36839 $(NORMAL_TARGET_EXPORTS) \
36840 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36841 for flag in $(EXTRA_TARGET_FLAGS); do \
36842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36843 done; \
36844 (cd $(TARGET_SUBDIR)/libffi && \
36845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36847 "RANLIB=$${RANLIB}" \
36848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36849 clean) \
36850 || exit 1
36852 @endif target-libffi
36854 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36855 maybe-distclean-target-libffi:
36856 @if target-libffi
36857 maybe-distclean-target-libffi: distclean-target-libffi
36859 distclean-target-libffi:
36860 @: $(MAKE); $(unstage)
36861 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36862 r=`${PWD_COMMAND}`; export r; \
36863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36864 $(NORMAL_TARGET_EXPORTS) \
36865 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36866 for flag in $(EXTRA_TARGET_FLAGS); do \
36867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36868 done; \
36869 (cd $(TARGET_SUBDIR)/libffi && \
36870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36872 "RANLIB=$${RANLIB}" \
36873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36874 distclean) \
36875 || exit 1
36877 @endif target-libffi
36879 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36880 maybe-maintainer-clean-target-libffi:
36881 @if target-libffi
36882 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36884 maintainer-clean-target-libffi:
36885 @: $(MAKE); $(unstage)
36886 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36887 r=`${PWD_COMMAND}`; export r; \
36888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36889 $(NORMAL_TARGET_EXPORTS) \
36890 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36891 for flag in $(EXTRA_TARGET_FLAGS); do \
36892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36893 done; \
36894 (cd $(TARGET_SUBDIR)/libffi && \
36895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36897 "RANLIB=$${RANLIB}" \
36898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36899 maintainer-clean) \
36900 || exit 1
36902 @endif target-libffi
36908 .PHONY: configure-target-libjava maybe-configure-target-libjava
36909 maybe-configure-target-libjava:
36910 @if gcc-bootstrap
36911 configure-target-libjava: stage_current
36912 @endif gcc-bootstrap
36913 @if target-libjava
36914 maybe-configure-target-libjava: configure-target-libjava
36915 configure-target-libjava:
36916 @: $(MAKE); $(unstage)
36917 @r=`${PWD_COMMAND}`; export r; \
36918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36919 echo "Checking multilib configuration for libjava..."; \
36920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36921 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36922 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36923 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36924 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36925 else \
36926 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36927 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36928 fi; \
36929 else \
36930 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36931 fi; \
36932 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36934 $(RAW_CXX_TARGET_EXPORTS) \
36935 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36936 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36937 case $(srcdir) in \
36938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36939 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36941 esac; \
36942 srcdiroption="--srcdir=$${topdir}/libjava"; \
36943 libsrcdir="$$s/libjava"; \
36944 rm -f no-such-file || : ; \
36945 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36946 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36947 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36948 || exit 1
36949 @endif target-libjava
36955 .PHONY: all-target-libjava maybe-all-target-libjava
36956 maybe-all-target-libjava:
36957 @if gcc-bootstrap
36958 all-target-libjava: stage_current
36959 @endif gcc-bootstrap
36960 @if target-libjava
36961 TARGET-target-libjava=all
36962 maybe-all-target-libjava: all-target-libjava
36963 all-target-libjava: configure-target-libjava
36964 @: $(MAKE); $(unstage)
36965 @r=`${PWD_COMMAND}`; export r; \
36966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36967 $(RAW_CXX_TARGET_EXPORTS) \
36968 (cd $(TARGET_SUBDIR)/libjava && \
36969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36970 $(TARGET-target-libjava))
36971 @endif target-libjava
36977 .PHONY: check-target-libjava maybe-check-target-libjava
36978 maybe-check-target-libjava:
36979 @if target-libjava
36980 maybe-check-target-libjava: check-target-libjava
36982 check-target-libjava:
36983 @: $(MAKE); $(unstage)
36984 @r=`${PWD_COMMAND}`; export r; \
36985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36986 $(RAW_CXX_TARGET_EXPORTS) \
36987 (cd $(TARGET_SUBDIR)/libjava && \
36988 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36990 @endif target-libjava
36992 .PHONY: install-target-libjava maybe-install-target-libjava
36993 maybe-install-target-libjava:
36994 @if target-libjava
36995 maybe-install-target-libjava: install-target-libjava
36997 install-target-libjava: installdirs
36998 @: $(MAKE); $(unstage)
36999 @r=`${PWD_COMMAND}`; export r; \
37000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37001 $(RAW_CXX_TARGET_EXPORTS) \
37002 (cd $(TARGET_SUBDIR)/libjava && \
37003 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37005 @endif target-libjava
37007 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37008 maybe-install-strip-target-libjava:
37009 @if target-libjava
37010 maybe-install-strip-target-libjava: install-strip-target-libjava
37012 install-strip-target-libjava: installdirs
37013 @: $(MAKE); $(unstage)
37014 @r=`${PWD_COMMAND}`; export r; \
37015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37016 $(RAW_CXX_TARGET_EXPORTS) \
37017 (cd $(TARGET_SUBDIR)/libjava && \
37018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37020 @endif target-libjava
37022 # Other targets (info, dvi, pdf, etc.)
37024 .PHONY: maybe-info-target-libjava info-target-libjava
37025 maybe-info-target-libjava:
37026 @if target-libjava
37027 maybe-info-target-libjava: info-target-libjava
37029 info-target-libjava: \
37030 configure-target-libjava
37031 @: $(MAKE); $(unstage)
37032 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37033 r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(RAW_CXX_TARGET_EXPORTS) \
37036 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37037 for flag in $(EXTRA_TARGET_FLAGS); do \
37038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37039 done; \
37040 (cd $(TARGET_SUBDIR)/libjava && \
37041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37043 "RANLIB=$${RANLIB}" \
37044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37045 info) \
37046 || exit 1
37048 @endif target-libjava
37050 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37051 maybe-dvi-target-libjava:
37052 @if target-libjava
37053 maybe-dvi-target-libjava: dvi-target-libjava
37055 dvi-target-libjava: \
37056 configure-target-libjava
37057 @: $(MAKE); $(unstage)
37058 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37059 r=`${PWD_COMMAND}`; export r; \
37060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37061 $(RAW_CXX_TARGET_EXPORTS) \
37062 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37063 for flag in $(EXTRA_TARGET_FLAGS); do \
37064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37065 done; \
37066 (cd $(TARGET_SUBDIR)/libjava && \
37067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37069 "RANLIB=$${RANLIB}" \
37070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37071 dvi) \
37072 || exit 1
37074 @endif target-libjava
37076 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37077 maybe-pdf-target-libjava:
37078 @if target-libjava
37079 maybe-pdf-target-libjava: pdf-target-libjava
37081 pdf-target-libjava: \
37082 configure-target-libjava
37083 @: $(MAKE); $(unstage)
37084 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37085 r=`${PWD_COMMAND}`; export r; \
37086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37087 $(RAW_CXX_TARGET_EXPORTS) \
37088 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37089 for flag in $(EXTRA_TARGET_FLAGS); do \
37090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37091 done; \
37092 (cd $(TARGET_SUBDIR)/libjava && \
37093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37095 "RANLIB=$${RANLIB}" \
37096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37097 pdf) \
37098 || exit 1
37100 @endif target-libjava
37102 .PHONY: maybe-html-target-libjava html-target-libjava
37103 maybe-html-target-libjava:
37104 @if target-libjava
37105 maybe-html-target-libjava: html-target-libjava
37107 html-target-libjava: \
37108 configure-target-libjava
37109 @: $(MAKE); $(unstage)
37110 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37111 r=`${PWD_COMMAND}`; export r; \
37112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37113 $(RAW_CXX_TARGET_EXPORTS) \
37114 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37115 for flag in $(EXTRA_TARGET_FLAGS); do \
37116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37117 done; \
37118 (cd $(TARGET_SUBDIR)/libjava && \
37119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37121 "RANLIB=$${RANLIB}" \
37122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37123 html) \
37124 || exit 1
37126 @endif target-libjava
37128 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37129 maybe-TAGS-target-libjava:
37130 @if target-libjava
37131 maybe-TAGS-target-libjava: TAGS-target-libjava
37133 TAGS-target-libjava: \
37134 configure-target-libjava
37135 @: $(MAKE); $(unstage)
37136 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37137 r=`${PWD_COMMAND}`; export r; \
37138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37139 $(RAW_CXX_TARGET_EXPORTS) \
37140 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37141 for flag in $(EXTRA_TARGET_FLAGS); do \
37142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37143 done; \
37144 (cd $(TARGET_SUBDIR)/libjava && \
37145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37147 "RANLIB=$${RANLIB}" \
37148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37149 TAGS) \
37150 || exit 1
37152 @endif target-libjava
37154 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37155 maybe-install-info-target-libjava:
37156 @if target-libjava
37157 maybe-install-info-target-libjava: install-info-target-libjava
37159 install-info-target-libjava: \
37160 configure-target-libjava \
37161 info-target-libjava
37162 @: $(MAKE); $(unstage)
37163 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37164 r=`${PWD_COMMAND}`; export r; \
37165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37166 $(RAW_CXX_TARGET_EXPORTS) \
37167 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37168 for flag in $(EXTRA_TARGET_FLAGS); do \
37169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37170 done; \
37171 (cd $(TARGET_SUBDIR)/libjava && \
37172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37174 "RANLIB=$${RANLIB}" \
37175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37176 install-info) \
37177 || exit 1
37179 @endif target-libjava
37181 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37182 maybe-install-pdf-target-libjava:
37183 @if target-libjava
37184 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37186 install-pdf-target-libjava: \
37187 configure-target-libjava \
37188 pdf-target-libjava
37189 @: $(MAKE); $(unstage)
37190 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37191 r=`${PWD_COMMAND}`; export r; \
37192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37193 $(RAW_CXX_TARGET_EXPORTS) \
37194 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37195 for flag in $(EXTRA_TARGET_FLAGS); do \
37196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37197 done; \
37198 (cd $(TARGET_SUBDIR)/libjava && \
37199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37201 "RANLIB=$${RANLIB}" \
37202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37203 install-pdf) \
37204 || exit 1
37206 @endif target-libjava
37208 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37209 maybe-install-html-target-libjava:
37210 @if target-libjava
37211 maybe-install-html-target-libjava: install-html-target-libjava
37213 install-html-target-libjava: \
37214 configure-target-libjava \
37215 html-target-libjava
37216 @: $(MAKE); $(unstage)
37217 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37218 r=`${PWD_COMMAND}`; export r; \
37219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37220 $(RAW_CXX_TARGET_EXPORTS) \
37221 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37222 for flag in $(EXTRA_TARGET_FLAGS); do \
37223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37224 done; \
37225 (cd $(TARGET_SUBDIR)/libjava && \
37226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37228 "RANLIB=$${RANLIB}" \
37229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37230 install-html) \
37231 || exit 1
37233 @endif target-libjava
37235 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37236 maybe-installcheck-target-libjava:
37237 @if target-libjava
37238 maybe-installcheck-target-libjava: installcheck-target-libjava
37240 installcheck-target-libjava: \
37241 configure-target-libjava
37242 @: $(MAKE); $(unstage)
37243 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37244 r=`${PWD_COMMAND}`; export r; \
37245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37246 $(RAW_CXX_TARGET_EXPORTS) \
37247 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37248 for flag in $(EXTRA_TARGET_FLAGS); do \
37249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37250 done; \
37251 (cd $(TARGET_SUBDIR)/libjava && \
37252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37254 "RANLIB=$${RANLIB}" \
37255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37256 installcheck) \
37257 || exit 1
37259 @endif target-libjava
37261 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37262 maybe-mostlyclean-target-libjava:
37263 @if target-libjava
37264 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37266 mostlyclean-target-libjava:
37267 @: $(MAKE); $(unstage)
37268 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37269 r=`${PWD_COMMAND}`; export r; \
37270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37271 $(RAW_CXX_TARGET_EXPORTS) \
37272 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37273 for flag in $(EXTRA_TARGET_FLAGS); do \
37274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37275 done; \
37276 (cd $(TARGET_SUBDIR)/libjava && \
37277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37279 "RANLIB=$${RANLIB}" \
37280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37281 mostlyclean) \
37282 || exit 1
37284 @endif target-libjava
37286 .PHONY: maybe-clean-target-libjava clean-target-libjava
37287 maybe-clean-target-libjava:
37288 @if target-libjava
37289 maybe-clean-target-libjava: clean-target-libjava
37291 clean-target-libjava:
37292 @: $(MAKE); $(unstage)
37293 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37294 r=`${PWD_COMMAND}`; export r; \
37295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37296 $(RAW_CXX_TARGET_EXPORTS) \
37297 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37298 for flag in $(EXTRA_TARGET_FLAGS); do \
37299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37300 done; \
37301 (cd $(TARGET_SUBDIR)/libjava && \
37302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37304 "RANLIB=$${RANLIB}" \
37305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37306 clean) \
37307 || exit 1
37309 @endif target-libjava
37311 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37312 maybe-distclean-target-libjava:
37313 @if target-libjava
37314 maybe-distclean-target-libjava: distclean-target-libjava
37316 distclean-target-libjava:
37317 @: $(MAKE); $(unstage)
37318 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37319 r=`${PWD_COMMAND}`; export r; \
37320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37321 $(RAW_CXX_TARGET_EXPORTS) \
37322 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37323 for flag in $(EXTRA_TARGET_FLAGS); do \
37324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37325 done; \
37326 (cd $(TARGET_SUBDIR)/libjava && \
37327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37329 "RANLIB=$${RANLIB}" \
37330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37331 distclean) \
37332 || exit 1
37334 @endif target-libjava
37336 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37337 maybe-maintainer-clean-target-libjava:
37338 @if target-libjava
37339 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37341 maintainer-clean-target-libjava:
37342 @: $(MAKE); $(unstage)
37343 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37344 r=`${PWD_COMMAND}`; export r; \
37345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37346 $(RAW_CXX_TARGET_EXPORTS) \
37347 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37348 for flag in $(EXTRA_TARGET_FLAGS); do \
37349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37350 done; \
37351 (cd $(TARGET_SUBDIR)/libjava && \
37352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37354 "RANLIB=$${RANLIB}" \
37355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37356 maintainer-clean) \
37357 || exit 1
37359 @endif target-libjava
37365 .PHONY: configure-target-zlib maybe-configure-target-zlib
37366 maybe-configure-target-zlib:
37367 @if gcc-bootstrap
37368 configure-target-zlib: stage_current
37369 @endif gcc-bootstrap
37370 @if target-zlib
37371 maybe-configure-target-zlib: configure-target-zlib
37372 configure-target-zlib:
37373 @: $(MAKE); $(unstage)
37374 @r=`${PWD_COMMAND}`; export r; \
37375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37376 echo "Checking multilib configuration for zlib..."; \
37377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37378 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37379 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37380 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37381 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37382 else \
37383 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37384 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37385 fi; \
37386 else \
37387 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37388 fi; \
37389 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37391 $(NORMAL_TARGET_EXPORTS) \
37392 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37393 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37394 case $(srcdir) in \
37395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37396 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37398 esac; \
37399 srcdiroption="--srcdir=$${topdir}/zlib"; \
37400 libsrcdir="$$s/zlib"; \
37401 rm -f no-such-file || : ; \
37402 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37403 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37404 --target=${target_alias} $${srcdiroption} \
37405 || exit 1
37406 @endif target-zlib
37412 .PHONY: all-target-zlib maybe-all-target-zlib
37413 maybe-all-target-zlib:
37414 @if gcc-bootstrap
37415 all-target-zlib: stage_current
37416 @endif gcc-bootstrap
37417 @if target-zlib
37418 TARGET-target-zlib=all
37419 maybe-all-target-zlib: all-target-zlib
37420 all-target-zlib: configure-target-zlib
37421 @: $(MAKE); $(unstage)
37422 @r=`${PWD_COMMAND}`; export r; \
37423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37424 $(NORMAL_TARGET_EXPORTS) \
37425 (cd $(TARGET_SUBDIR)/zlib && \
37426 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37427 $(TARGET-target-zlib))
37428 @endif target-zlib
37434 .PHONY: check-target-zlib maybe-check-target-zlib
37435 maybe-check-target-zlib:
37436 @if target-zlib
37437 maybe-check-target-zlib: check-target-zlib
37439 check-target-zlib:
37440 @: $(MAKE); $(unstage)
37441 @r=`${PWD_COMMAND}`; export r; \
37442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37443 $(NORMAL_TARGET_EXPORTS) \
37444 (cd $(TARGET_SUBDIR)/zlib && \
37445 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37447 @endif target-zlib
37449 .PHONY: install-target-zlib maybe-install-target-zlib
37450 maybe-install-target-zlib:
37451 @if target-zlib
37452 maybe-install-target-zlib: install-target-zlib
37454 install-target-zlib: installdirs
37455 @: $(MAKE); $(unstage)
37456 @r=`${PWD_COMMAND}`; export r; \
37457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37458 $(NORMAL_TARGET_EXPORTS) \
37459 (cd $(TARGET_SUBDIR)/zlib && \
37460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37462 @endif target-zlib
37464 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37465 maybe-install-strip-target-zlib:
37466 @if target-zlib
37467 maybe-install-strip-target-zlib: install-strip-target-zlib
37469 install-strip-target-zlib: installdirs
37470 @: $(MAKE); $(unstage)
37471 @r=`${PWD_COMMAND}`; export r; \
37472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37473 $(NORMAL_TARGET_EXPORTS) \
37474 (cd $(TARGET_SUBDIR)/zlib && \
37475 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37477 @endif target-zlib
37479 # Other targets (info, dvi, pdf, etc.)
37481 .PHONY: maybe-info-target-zlib info-target-zlib
37482 maybe-info-target-zlib:
37483 @if target-zlib
37484 maybe-info-target-zlib: info-target-zlib
37486 info-target-zlib: \
37487 configure-target-zlib
37488 @: $(MAKE); $(unstage)
37489 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37490 r=`${PWD_COMMAND}`; export r; \
37491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37492 $(NORMAL_TARGET_EXPORTS) \
37493 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37494 for flag in $(EXTRA_TARGET_FLAGS); do \
37495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37496 done; \
37497 (cd $(TARGET_SUBDIR)/zlib && \
37498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37500 "RANLIB=$${RANLIB}" \
37501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37502 info) \
37503 || exit 1
37505 @endif target-zlib
37507 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37508 maybe-dvi-target-zlib:
37509 @if target-zlib
37510 maybe-dvi-target-zlib: dvi-target-zlib
37512 dvi-target-zlib: \
37513 configure-target-zlib
37514 @: $(MAKE); $(unstage)
37515 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37516 r=`${PWD_COMMAND}`; export r; \
37517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37518 $(NORMAL_TARGET_EXPORTS) \
37519 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37520 for flag in $(EXTRA_TARGET_FLAGS); do \
37521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37522 done; \
37523 (cd $(TARGET_SUBDIR)/zlib && \
37524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37526 "RANLIB=$${RANLIB}" \
37527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37528 dvi) \
37529 || exit 1
37531 @endif target-zlib
37533 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37534 maybe-pdf-target-zlib:
37535 @if target-zlib
37536 maybe-pdf-target-zlib: pdf-target-zlib
37538 pdf-target-zlib: \
37539 configure-target-zlib
37540 @: $(MAKE); $(unstage)
37541 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37542 r=`${PWD_COMMAND}`; export r; \
37543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37544 $(NORMAL_TARGET_EXPORTS) \
37545 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37546 for flag in $(EXTRA_TARGET_FLAGS); do \
37547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37548 done; \
37549 (cd $(TARGET_SUBDIR)/zlib && \
37550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37552 "RANLIB=$${RANLIB}" \
37553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37554 pdf) \
37555 || exit 1
37557 @endif target-zlib
37559 .PHONY: maybe-html-target-zlib html-target-zlib
37560 maybe-html-target-zlib:
37561 @if target-zlib
37562 maybe-html-target-zlib: html-target-zlib
37564 html-target-zlib: \
37565 configure-target-zlib
37566 @: $(MAKE); $(unstage)
37567 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37568 r=`${PWD_COMMAND}`; export r; \
37569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37570 $(NORMAL_TARGET_EXPORTS) \
37571 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37572 for flag in $(EXTRA_TARGET_FLAGS); do \
37573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37574 done; \
37575 (cd $(TARGET_SUBDIR)/zlib && \
37576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37578 "RANLIB=$${RANLIB}" \
37579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37580 html) \
37581 || exit 1
37583 @endif target-zlib
37585 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37586 maybe-TAGS-target-zlib:
37587 @if target-zlib
37588 maybe-TAGS-target-zlib: TAGS-target-zlib
37590 TAGS-target-zlib: \
37591 configure-target-zlib
37592 @: $(MAKE); $(unstage)
37593 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37594 r=`${PWD_COMMAND}`; export r; \
37595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37596 $(NORMAL_TARGET_EXPORTS) \
37597 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37598 for flag in $(EXTRA_TARGET_FLAGS); do \
37599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37600 done; \
37601 (cd $(TARGET_SUBDIR)/zlib && \
37602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37604 "RANLIB=$${RANLIB}" \
37605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37606 TAGS) \
37607 || exit 1
37609 @endif target-zlib
37611 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37612 maybe-install-info-target-zlib:
37613 @if target-zlib
37614 maybe-install-info-target-zlib: install-info-target-zlib
37616 install-info-target-zlib: \
37617 configure-target-zlib \
37618 info-target-zlib
37619 @: $(MAKE); $(unstage)
37620 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37621 r=`${PWD_COMMAND}`; export r; \
37622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37623 $(NORMAL_TARGET_EXPORTS) \
37624 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37625 for flag in $(EXTRA_TARGET_FLAGS); do \
37626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37627 done; \
37628 (cd $(TARGET_SUBDIR)/zlib && \
37629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37631 "RANLIB=$${RANLIB}" \
37632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37633 install-info) \
37634 || exit 1
37636 @endif target-zlib
37638 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37639 maybe-install-pdf-target-zlib:
37640 @if target-zlib
37641 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37643 install-pdf-target-zlib: \
37644 configure-target-zlib \
37645 pdf-target-zlib
37646 @: $(MAKE); $(unstage)
37647 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37648 r=`${PWD_COMMAND}`; export r; \
37649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37650 $(NORMAL_TARGET_EXPORTS) \
37651 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37652 for flag in $(EXTRA_TARGET_FLAGS); do \
37653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37654 done; \
37655 (cd $(TARGET_SUBDIR)/zlib && \
37656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37658 "RANLIB=$${RANLIB}" \
37659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37660 install-pdf) \
37661 || exit 1
37663 @endif target-zlib
37665 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37666 maybe-install-html-target-zlib:
37667 @if target-zlib
37668 maybe-install-html-target-zlib: install-html-target-zlib
37670 install-html-target-zlib: \
37671 configure-target-zlib \
37672 html-target-zlib
37673 @: $(MAKE); $(unstage)
37674 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37675 r=`${PWD_COMMAND}`; export r; \
37676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37677 $(NORMAL_TARGET_EXPORTS) \
37678 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37679 for flag in $(EXTRA_TARGET_FLAGS); do \
37680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37681 done; \
37682 (cd $(TARGET_SUBDIR)/zlib && \
37683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37685 "RANLIB=$${RANLIB}" \
37686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37687 install-html) \
37688 || exit 1
37690 @endif target-zlib
37692 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37693 maybe-installcheck-target-zlib:
37694 @if target-zlib
37695 maybe-installcheck-target-zlib: installcheck-target-zlib
37697 installcheck-target-zlib: \
37698 configure-target-zlib
37699 @: $(MAKE); $(unstage)
37700 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37701 r=`${PWD_COMMAND}`; export r; \
37702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37703 $(NORMAL_TARGET_EXPORTS) \
37704 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37705 for flag in $(EXTRA_TARGET_FLAGS); do \
37706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37707 done; \
37708 (cd $(TARGET_SUBDIR)/zlib && \
37709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37711 "RANLIB=$${RANLIB}" \
37712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37713 installcheck) \
37714 || exit 1
37716 @endif target-zlib
37718 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37719 maybe-mostlyclean-target-zlib:
37720 @if target-zlib
37721 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37723 mostlyclean-target-zlib:
37724 @: $(MAKE); $(unstage)
37725 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37726 r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(NORMAL_TARGET_EXPORTS) \
37729 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37730 for flag in $(EXTRA_TARGET_FLAGS); do \
37731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37732 done; \
37733 (cd $(TARGET_SUBDIR)/zlib && \
37734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37736 "RANLIB=$${RANLIB}" \
37737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37738 mostlyclean) \
37739 || exit 1
37741 @endif target-zlib
37743 .PHONY: maybe-clean-target-zlib clean-target-zlib
37744 maybe-clean-target-zlib:
37745 @if target-zlib
37746 maybe-clean-target-zlib: clean-target-zlib
37748 clean-target-zlib:
37749 @: $(MAKE); $(unstage)
37750 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37751 r=`${PWD_COMMAND}`; export r; \
37752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37753 $(NORMAL_TARGET_EXPORTS) \
37754 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37755 for flag in $(EXTRA_TARGET_FLAGS); do \
37756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37757 done; \
37758 (cd $(TARGET_SUBDIR)/zlib && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37761 "RANLIB=$${RANLIB}" \
37762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37763 clean) \
37764 || exit 1
37766 @endif target-zlib
37768 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37769 maybe-distclean-target-zlib:
37770 @if target-zlib
37771 maybe-distclean-target-zlib: distclean-target-zlib
37773 distclean-target-zlib:
37774 @: $(MAKE); $(unstage)
37775 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37776 r=`${PWD_COMMAND}`; export r; \
37777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37778 $(NORMAL_TARGET_EXPORTS) \
37779 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37780 for flag in $(EXTRA_TARGET_FLAGS); do \
37781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37782 done; \
37783 (cd $(TARGET_SUBDIR)/zlib && \
37784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37786 "RANLIB=$${RANLIB}" \
37787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37788 distclean) \
37789 || exit 1
37791 @endif target-zlib
37793 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37794 maybe-maintainer-clean-target-zlib:
37795 @if target-zlib
37796 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37798 maintainer-clean-target-zlib:
37799 @: $(MAKE); $(unstage)
37800 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37801 r=`${PWD_COMMAND}`; export r; \
37802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37803 $(NORMAL_TARGET_EXPORTS) \
37804 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37805 for flag in $(EXTRA_TARGET_FLAGS); do \
37806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37807 done; \
37808 (cd $(TARGET_SUBDIR)/zlib && \
37809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37811 "RANLIB=$${RANLIB}" \
37812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37813 maintainer-clean) \
37814 || exit 1
37816 @endif target-zlib
37822 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37823 maybe-configure-target-boehm-gc:
37824 @if gcc-bootstrap
37825 configure-target-boehm-gc: stage_current
37826 @endif gcc-bootstrap
37827 @if target-boehm-gc
37828 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37829 configure-target-boehm-gc:
37830 @: $(MAKE); $(unstage)
37831 @r=`${PWD_COMMAND}`; export r; \
37832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37833 echo "Checking multilib configuration for boehm-gc..."; \
37834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37835 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37836 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37837 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37838 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37839 else \
37840 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37841 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37842 fi; \
37843 else \
37844 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37845 fi; \
37846 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37848 $(NORMAL_TARGET_EXPORTS) \
37849 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37850 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37851 case $(srcdir) in \
37852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37853 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37855 esac; \
37856 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37857 libsrcdir="$$s/boehm-gc"; \
37858 rm -f no-such-file || : ; \
37859 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37860 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37861 --target=${target_alias} $${srcdiroption} \
37862 || exit 1
37863 @endif target-boehm-gc
37869 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37870 maybe-all-target-boehm-gc:
37871 @if gcc-bootstrap
37872 all-target-boehm-gc: stage_current
37873 @endif gcc-bootstrap
37874 @if target-boehm-gc
37875 TARGET-target-boehm-gc=all
37876 maybe-all-target-boehm-gc: all-target-boehm-gc
37877 all-target-boehm-gc: configure-target-boehm-gc
37878 @: $(MAKE); $(unstage)
37879 @r=`${PWD_COMMAND}`; export r; \
37880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37881 $(NORMAL_TARGET_EXPORTS) \
37882 (cd $(TARGET_SUBDIR)/boehm-gc && \
37883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37884 $(TARGET-target-boehm-gc))
37885 @endif target-boehm-gc
37891 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37892 maybe-check-target-boehm-gc:
37893 @if target-boehm-gc
37894 maybe-check-target-boehm-gc: check-target-boehm-gc
37896 check-target-boehm-gc:
37897 @: $(MAKE); $(unstage)
37898 @r=`${PWD_COMMAND}`; export r; \
37899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37900 $(NORMAL_TARGET_EXPORTS) \
37901 (cd $(TARGET_SUBDIR)/boehm-gc && \
37902 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37904 @endif target-boehm-gc
37906 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37907 maybe-install-target-boehm-gc:
37908 @if target-boehm-gc
37909 maybe-install-target-boehm-gc: install-target-boehm-gc
37911 install-target-boehm-gc: installdirs
37912 @: $(MAKE); $(unstage)
37913 @r=`${PWD_COMMAND}`; export r; \
37914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37915 $(NORMAL_TARGET_EXPORTS) \
37916 (cd $(TARGET_SUBDIR)/boehm-gc && \
37917 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37919 @endif target-boehm-gc
37921 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37922 maybe-install-strip-target-boehm-gc:
37923 @if target-boehm-gc
37924 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37926 install-strip-target-boehm-gc: installdirs
37927 @: $(MAKE); $(unstage)
37928 @r=`${PWD_COMMAND}`; export r; \
37929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37930 $(NORMAL_TARGET_EXPORTS) \
37931 (cd $(TARGET_SUBDIR)/boehm-gc && \
37932 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37934 @endif target-boehm-gc
37936 # Other targets (info, dvi, pdf, etc.)
37938 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37939 maybe-info-target-boehm-gc:
37940 @if target-boehm-gc
37941 maybe-info-target-boehm-gc: info-target-boehm-gc
37943 info-target-boehm-gc: \
37944 configure-target-boehm-gc
37945 @: $(MAKE); $(unstage)
37946 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37947 r=`${PWD_COMMAND}`; export r; \
37948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37949 $(NORMAL_TARGET_EXPORTS) \
37950 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37951 for flag in $(EXTRA_TARGET_FLAGS); do \
37952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37953 done; \
37954 (cd $(TARGET_SUBDIR)/boehm-gc && \
37955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37957 "RANLIB=$${RANLIB}" \
37958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37959 info) \
37960 || exit 1
37962 @endif target-boehm-gc
37964 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37965 maybe-dvi-target-boehm-gc:
37966 @if target-boehm-gc
37967 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37969 dvi-target-boehm-gc: \
37970 configure-target-boehm-gc
37971 @: $(MAKE); $(unstage)
37972 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37973 r=`${PWD_COMMAND}`; export r; \
37974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37975 $(NORMAL_TARGET_EXPORTS) \
37976 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37977 for flag in $(EXTRA_TARGET_FLAGS); do \
37978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37979 done; \
37980 (cd $(TARGET_SUBDIR)/boehm-gc && \
37981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37983 "RANLIB=$${RANLIB}" \
37984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37985 dvi) \
37986 || exit 1
37988 @endif target-boehm-gc
37990 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37991 maybe-pdf-target-boehm-gc:
37992 @if target-boehm-gc
37993 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37995 pdf-target-boehm-gc: \
37996 configure-target-boehm-gc
37997 @: $(MAKE); $(unstage)
37998 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37999 r=`${PWD_COMMAND}`; export r; \
38000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38001 $(NORMAL_TARGET_EXPORTS) \
38002 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38003 for flag in $(EXTRA_TARGET_FLAGS); do \
38004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38005 done; \
38006 (cd $(TARGET_SUBDIR)/boehm-gc && \
38007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38009 "RANLIB=$${RANLIB}" \
38010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38011 pdf) \
38012 || exit 1
38014 @endif target-boehm-gc
38016 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38017 maybe-html-target-boehm-gc:
38018 @if target-boehm-gc
38019 maybe-html-target-boehm-gc: html-target-boehm-gc
38021 html-target-boehm-gc: \
38022 configure-target-boehm-gc
38023 @: $(MAKE); $(unstage)
38024 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38025 r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38029 for flag in $(EXTRA_TARGET_FLAGS); do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38031 done; \
38032 (cd $(TARGET_SUBDIR)/boehm-gc && \
38033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38035 "RANLIB=$${RANLIB}" \
38036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38037 html) \
38038 || exit 1
38040 @endif target-boehm-gc
38042 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38043 maybe-TAGS-target-boehm-gc:
38044 @if target-boehm-gc
38045 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38047 TAGS-target-boehm-gc: \
38048 configure-target-boehm-gc
38049 @: $(MAKE); $(unstage)
38050 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38051 r=`${PWD_COMMAND}`; export r; \
38052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38053 $(NORMAL_TARGET_EXPORTS) \
38054 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38055 for flag in $(EXTRA_TARGET_FLAGS); do \
38056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38057 done; \
38058 (cd $(TARGET_SUBDIR)/boehm-gc && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38061 "RANLIB=$${RANLIB}" \
38062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38063 TAGS) \
38064 || exit 1
38066 @endif target-boehm-gc
38068 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38069 maybe-install-info-target-boehm-gc:
38070 @if target-boehm-gc
38071 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38073 install-info-target-boehm-gc: \
38074 configure-target-boehm-gc \
38075 info-target-boehm-gc
38076 @: $(MAKE); $(unstage)
38077 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38078 r=`${PWD_COMMAND}`; export r; \
38079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38080 $(NORMAL_TARGET_EXPORTS) \
38081 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38082 for flag in $(EXTRA_TARGET_FLAGS); do \
38083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38084 done; \
38085 (cd $(TARGET_SUBDIR)/boehm-gc && \
38086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38088 "RANLIB=$${RANLIB}" \
38089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38090 install-info) \
38091 || exit 1
38093 @endif target-boehm-gc
38095 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38096 maybe-install-pdf-target-boehm-gc:
38097 @if target-boehm-gc
38098 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38100 install-pdf-target-boehm-gc: \
38101 configure-target-boehm-gc \
38102 pdf-target-boehm-gc
38103 @: $(MAKE); $(unstage)
38104 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38105 r=`${PWD_COMMAND}`; export r; \
38106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38107 $(NORMAL_TARGET_EXPORTS) \
38108 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38109 for flag in $(EXTRA_TARGET_FLAGS); do \
38110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38111 done; \
38112 (cd $(TARGET_SUBDIR)/boehm-gc && \
38113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38115 "RANLIB=$${RANLIB}" \
38116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38117 install-pdf) \
38118 || exit 1
38120 @endif target-boehm-gc
38122 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38123 maybe-install-html-target-boehm-gc:
38124 @if target-boehm-gc
38125 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38127 install-html-target-boehm-gc: \
38128 configure-target-boehm-gc \
38129 html-target-boehm-gc
38130 @: $(MAKE); $(unstage)
38131 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38132 r=`${PWD_COMMAND}`; export r; \
38133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38134 $(NORMAL_TARGET_EXPORTS) \
38135 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38136 for flag in $(EXTRA_TARGET_FLAGS); do \
38137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38138 done; \
38139 (cd $(TARGET_SUBDIR)/boehm-gc && \
38140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38142 "RANLIB=$${RANLIB}" \
38143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38144 install-html) \
38145 || exit 1
38147 @endif target-boehm-gc
38149 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38150 maybe-installcheck-target-boehm-gc:
38151 @if target-boehm-gc
38152 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38154 installcheck-target-boehm-gc: \
38155 configure-target-boehm-gc
38156 @: $(MAKE); $(unstage)
38157 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38158 r=`${PWD_COMMAND}`; export r; \
38159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38160 $(NORMAL_TARGET_EXPORTS) \
38161 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38162 for flag in $(EXTRA_TARGET_FLAGS); do \
38163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38164 done; \
38165 (cd $(TARGET_SUBDIR)/boehm-gc && \
38166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38168 "RANLIB=$${RANLIB}" \
38169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38170 installcheck) \
38171 || exit 1
38173 @endif target-boehm-gc
38175 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38176 maybe-mostlyclean-target-boehm-gc:
38177 @if target-boehm-gc
38178 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38180 mostlyclean-target-boehm-gc:
38181 @: $(MAKE); $(unstage)
38182 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38183 r=`${PWD_COMMAND}`; export r; \
38184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38185 $(NORMAL_TARGET_EXPORTS) \
38186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38187 for flag in $(EXTRA_TARGET_FLAGS); do \
38188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38189 done; \
38190 (cd $(TARGET_SUBDIR)/boehm-gc && \
38191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38193 "RANLIB=$${RANLIB}" \
38194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38195 mostlyclean) \
38196 || exit 1
38198 @endif target-boehm-gc
38200 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38201 maybe-clean-target-boehm-gc:
38202 @if target-boehm-gc
38203 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38205 clean-target-boehm-gc:
38206 @: $(MAKE); $(unstage)
38207 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38208 r=`${PWD_COMMAND}`; export r; \
38209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38210 $(NORMAL_TARGET_EXPORTS) \
38211 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38212 for flag in $(EXTRA_TARGET_FLAGS); do \
38213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38214 done; \
38215 (cd $(TARGET_SUBDIR)/boehm-gc && \
38216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38218 "RANLIB=$${RANLIB}" \
38219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38220 clean) \
38221 || exit 1
38223 @endif target-boehm-gc
38225 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38226 maybe-distclean-target-boehm-gc:
38227 @if target-boehm-gc
38228 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38230 distclean-target-boehm-gc:
38231 @: $(MAKE); $(unstage)
38232 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38233 r=`${PWD_COMMAND}`; export r; \
38234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38235 $(NORMAL_TARGET_EXPORTS) \
38236 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38237 for flag in $(EXTRA_TARGET_FLAGS); do \
38238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38239 done; \
38240 (cd $(TARGET_SUBDIR)/boehm-gc && \
38241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38243 "RANLIB=$${RANLIB}" \
38244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38245 distclean) \
38246 || exit 1
38248 @endif target-boehm-gc
38250 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38251 maybe-maintainer-clean-target-boehm-gc:
38252 @if target-boehm-gc
38253 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38255 maintainer-clean-target-boehm-gc:
38256 @: $(MAKE); $(unstage)
38257 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38258 r=`${PWD_COMMAND}`; export r; \
38259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38260 $(NORMAL_TARGET_EXPORTS) \
38261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38262 for flag in $(EXTRA_TARGET_FLAGS); do \
38263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38264 done; \
38265 (cd $(TARGET_SUBDIR)/boehm-gc && \
38266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38268 "RANLIB=$${RANLIB}" \
38269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38270 maintainer-clean) \
38271 || exit 1
38273 @endif target-boehm-gc
38279 .PHONY: configure-target-rda maybe-configure-target-rda
38280 maybe-configure-target-rda:
38281 @if gcc-bootstrap
38282 configure-target-rda: stage_current
38283 @endif gcc-bootstrap
38284 @if target-rda
38285 maybe-configure-target-rda: configure-target-rda
38286 configure-target-rda:
38287 @: $(MAKE); $(unstage)
38288 @r=`${PWD_COMMAND}`; export r; \
38289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38290 echo "Checking multilib configuration for rda..."; \
38291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38293 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38294 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38295 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38296 else \
38297 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38298 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38299 fi; \
38300 else \
38301 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38302 fi; \
38303 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38305 $(NORMAL_TARGET_EXPORTS) \
38306 echo Configuring in $(TARGET_SUBDIR)/rda; \
38307 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38308 case $(srcdir) in \
38309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38310 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38312 esac; \
38313 srcdiroption="--srcdir=$${topdir}/rda"; \
38314 libsrcdir="$$s/rda"; \
38315 rm -f no-such-file || : ; \
38316 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38317 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38318 --target=${target_alias} $${srcdiroption} \
38319 || exit 1
38320 @endif target-rda
38326 .PHONY: all-target-rda maybe-all-target-rda
38327 maybe-all-target-rda:
38328 @if gcc-bootstrap
38329 all-target-rda: stage_current
38330 @endif gcc-bootstrap
38331 @if target-rda
38332 TARGET-target-rda=all
38333 maybe-all-target-rda: all-target-rda
38334 all-target-rda: configure-target-rda
38335 @: $(MAKE); $(unstage)
38336 @r=`${PWD_COMMAND}`; export r; \
38337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38338 $(NORMAL_TARGET_EXPORTS) \
38339 (cd $(TARGET_SUBDIR)/rda && \
38340 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38341 $(TARGET-target-rda))
38342 @endif target-rda
38348 .PHONY: check-target-rda maybe-check-target-rda
38349 maybe-check-target-rda:
38350 @if target-rda
38351 maybe-check-target-rda: check-target-rda
38353 check-target-rda:
38354 @: $(MAKE); $(unstage)
38355 @r=`${PWD_COMMAND}`; export r; \
38356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38357 $(NORMAL_TARGET_EXPORTS) \
38358 (cd $(TARGET_SUBDIR)/rda && \
38359 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38361 @endif target-rda
38363 .PHONY: install-target-rda maybe-install-target-rda
38364 maybe-install-target-rda:
38365 @if target-rda
38366 maybe-install-target-rda: install-target-rda
38368 install-target-rda: installdirs
38369 @: $(MAKE); $(unstage)
38370 @r=`${PWD_COMMAND}`; export r; \
38371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38372 $(NORMAL_TARGET_EXPORTS) \
38373 (cd $(TARGET_SUBDIR)/rda && \
38374 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38376 @endif target-rda
38378 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38379 maybe-install-strip-target-rda:
38380 @if target-rda
38381 maybe-install-strip-target-rda: install-strip-target-rda
38383 install-strip-target-rda: installdirs
38384 @: $(MAKE); $(unstage)
38385 @r=`${PWD_COMMAND}`; export r; \
38386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38387 $(NORMAL_TARGET_EXPORTS) \
38388 (cd $(TARGET_SUBDIR)/rda && \
38389 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38391 @endif target-rda
38393 # Other targets (info, dvi, pdf, etc.)
38395 .PHONY: maybe-info-target-rda info-target-rda
38396 maybe-info-target-rda:
38397 @if target-rda
38398 maybe-info-target-rda: info-target-rda
38400 info-target-rda: \
38401 configure-target-rda
38402 @: $(MAKE); $(unstage)
38403 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38404 r=`${PWD_COMMAND}`; export r; \
38405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38406 $(NORMAL_TARGET_EXPORTS) \
38407 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38408 for flag in $(EXTRA_TARGET_FLAGS); do \
38409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38410 done; \
38411 (cd $(TARGET_SUBDIR)/rda && \
38412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38414 "RANLIB=$${RANLIB}" \
38415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38416 info) \
38417 || exit 1
38419 @endif target-rda
38421 .PHONY: maybe-dvi-target-rda dvi-target-rda
38422 maybe-dvi-target-rda:
38423 @if target-rda
38424 maybe-dvi-target-rda: dvi-target-rda
38426 dvi-target-rda: \
38427 configure-target-rda
38428 @: $(MAKE); $(unstage)
38429 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38430 r=`${PWD_COMMAND}`; export r; \
38431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38432 $(NORMAL_TARGET_EXPORTS) \
38433 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38434 for flag in $(EXTRA_TARGET_FLAGS); do \
38435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38436 done; \
38437 (cd $(TARGET_SUBDIR)/rda && \
38438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38440 "RANLIB=$${RANLIB}" \
38441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38442 dvi) \
38443 || exit 1
38445 @endif target-rda
38447 .PHONY: maybe-pdf-target-rda pdf-target-rda
38448 maybe-pdf-target-rda:
38449 @if target-rda
38450 maybe-pdf-target-rda: pdf-target-rda
38452 pdf-target-rda: \
38453 configure-target-rda
38454 @: $(MAKE); $(unstage)
38455 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38456 r=`${PWD_COMMAND}`; export r; \
38457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38458 $(NORMAL_TARGET_EXPORTS) \
38459 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38460 for flag in $(EXTRA_TARGET_FLAGS); do \
38461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38462 done; \
38463 (cd $(TARGET_SUBDIR)/rda && \
38464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38466 "RANLIB=$${RANLIB}" \
38467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38468 pdf) \
38469 || exit 1
38471 @endif target-rda
38473 .PHONY: maybe-html-target-rda html-target-rda
38474 maybe-html-target-rda:
38475 @if target-rda
38476 maybe-html-target-rda: html-target-rda
38478 html-target-rda: \
38479 configure-target-rda
38480 @: $(MAKE); $(unstage)
38481 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38482 r=`${PWD_COMMAND}`; export r; \
38483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38484 $(NORMAL_TARGET_EXPORTS) \
38485 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38486 for flag in $(EXTRA_TARGET_FLAGS); do \
38487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38488 done; \
38489 (cd $(TARGET_SUBDIR)/rda && \
38490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38492 "RANLIB=$${RANLIB}" \
38493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38494 html) \
38495 || exit 1
38497 @endif target-rda
38499 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38500 maybe-TAGS-target-rda:
38501 @if target-rda
38502 maybe-TAGS-target-rda: TAGS-target-rda
38504 TAGS-target-rda: \
38505 configure-target-rda
38506 @: $(MAKE); $(unstage)
38507 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38508 r=`${PWD_COMMAND}`; export r; \
38509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38510 $(NORMAL_TARGET_EXPORTS) \
38511 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38512 for flag in $(EXTRA_TARGET_FLAGS); do \
38513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38514 done; \
38515 (cd $(TARGET_SUBDIR)/rda && \
38516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38518 "RANLIB=$${RANLIB}" \
38519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38520 TAGS) \
38521 || exit 1
38523 @endif target-rda
38525 .PHONY: maybe-install-info-target-rda install-info-target-rda
38526 maybe-install-info-target-rda:
38527 @if target-rda
38528 maybe-install-info-target-rda: install-info-target-rda
38530 install-info-target-rda: \
38531 configure-target-rda \
38532 info-target-rda
38533 @: $(MAKE); $(unstage)
38534 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38535 r=`${PWD_COMMAND}`; export r; \
38536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38537 $(NORMAL_TARGET_EXPORTS) \
38538 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38539 for flag in $(EXTRA_TARGET_FLAGS); do \
38540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38541 done; \
38542 (cd $(TARGET_SUBDIR)/rda && \
38543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38545 "RANLIB=$${RANLIB}" \
38546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38547 install-info) \
38548 || exit 1
38550 @endif target-rda
38552 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38553 maybe-install-pdf-target-rda:
38554 @if target-rda
38555 maybe-install-pdf-target-rda: install-pdf-target-rda
38557 install-pdf-target-rda: \
38558 configure-target-rda \
38559 pdf-target-rda
38560 @: $(MAKE); $(unstage)
38561 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38562 r=`${PWD_COMMAND}`; export r; \
38563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38564 $(NORMAL_TARGET_EXPORTS) \
38565 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38566 for flag in $(EXTRA_TARGET_FLAGS); do \
38567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38568 done; \
38569 (cd $(TARGET_SUBDIR)/rda && \
38570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38572 "RANLIB=$${RANLIB}" \
38573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38574 install-pdf) \
38575 || exit 1
38577 @endif target-rda
38579 .PHONY: maybe-install-html-target-rda install-html-target-rda
38580 maybe-install-html-target-rda:
38581 @if target-rda
38582 maybe-install-html-target-rda: install-html-target-rda
38584 install-html-target-rda: \
38585 configure-target-rda \
38586 html-target-rda
38587 @: $(MAKE); $(unstage)
38588 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38589 r=`${PWD_COMMAND}`; export r; \
38590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38591 $(NORMAL_TARGET_EXPORTS) \
38592 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38593 for flag in $(EXTRA_TARGET_FLAGS); do \
38594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38595 done; \
38596 (cd $(TARGET_SUBDIR)/rda && \
38597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38599 "RANLIB=$${RANLIB}" \
38600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38601 install-html) \
38602 || exit 1
38604 @endif target-rda
38606 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38607 maybe-installcheck-target-rda:
38608 @if target-rda
38609 maybe-installcheck-target-rda: installcheck-target-rda
38611 installcheck-target-rda: \
38612 configure-target-rda
38613 @: $(MAKE); $(unstage)
38614 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38615 r=`${PWD_COMMAND}`; export r; \
38616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38617 $(NORMAL_TARGET_EXPORTS) \
38618 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38619 for flag in $(EXTRA_TARGET_FLAGS); do \
38620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38621 done; \
38622 (cd $(TARGET_SUBDIR)/rda && \
38623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38625 "RANLIB=$${RANLIB}" \
38626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38627 installcheck) \
38628 || exit 1
38630 @endif target-rda
38632 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38633 maybe-mostlyclean-target-rda:
38634 @if target-rda
38635 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38637 mostlyclean-target-rda:
38638 @: $(MAKE); $(unstage)
38639 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38640 r=`${PWD_COMMAND}`; export r; \
38641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38642 $(NORMAL_TARGET_EXPORTS) \
38643 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38644 for flag in $(EXTRA_TARGET_FLAGS); do \
38645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38646 done; \
38647 (cd $(TARGET_SUBDIR)/rda && \
38648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38650 "RANLIB=$${RANLIB}" \
38651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38652 mostlyclean) \
38653 || exit 1
38655 @endif target-rda
38657 .PHONY: maybe-clean-target-rda clean-target-rda
38658 maybe-clean-target-rda:
38659 @if target-rda
38660 maybe-clean-target-rda: clean-target-rda
38662 clean-target-rda:
38663 @: $(MAKE); $(unstage)
38664 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38665 r=`${PWD_COMMAND}`; export r; \
38666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38667 $(NORMAL_TARGET_EXPORTS) \
38668 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38669 for flag in $(EXTRA_TARGET_FLAGS); do \
38670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38671 done; \
38672 (cd $(TARGET_SUBDIR)/rda && \
38673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38675 "RANLIB=$${RANLIB}" \
38676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38677 clean) \
38678 || exit 1
38680 @endif target-rda
38682 .PHONY: maybe-distclean-target-rda distclean-target-rda
38683 maybe-distclean-target-rda:
38684 @if target-rda
38685 maybe-distclean-target-rda: distclean-target-rda
38687 distclean-target-rda:
38688 @: $(MAKE); $(unstage)
38689 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38690 r=`${PWD_COMMAND}`; export r; \
38691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38692 $(NORMAL_TARGET_EXPORTS) \
38693 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38694 for flag in $(EXTRA_TARGET_FLAGS); do \
38695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38696 done; \
38697 (cd $(TARGET_SUBDIR)/rda && \
38698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38700 "RANLIB=$${RANLIB}" \
38701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38702 distclean) \
38703 || exit 1
38705 @endif target-rda
38707 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38708 maybe-maintainer-clean-target-rda:
38709 @if target-rda
38710 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38712 maintainer-clean-target-rda:
38713 @: $(MAKE); $(unstage)
38714 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38715 r=`${PWD_COMMAND}`; export r; \
38716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38717 $(NORMAL_TARGET_EXPORTS) \
38718 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38719 for flag in $(EXTRA_TARGET_FLAGS); do \
38720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38721 done; \
38722 (cd $(TARGET_SUBDIR)/rda && \
38723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38725 "RANLIB=$${RANLIB}" \
38726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38727 maintainer-clean) \
38728 || exit 1
38730 @endif target-rda
38736 .PHONY: configure-target-libada maybe-configure-target-libada
38737 maybe-configure-target-libada:
38738 @if gcc-bootstrap
38739 configure-target-libada: stage_current
38740 @endif gcc-bootstrap
38741 @if target-libada
38742 maybe-configure-target-libada: configure-target-libada
38743 configure-target-libada:
38744 @: $(MAKE); $(unstage)
38745 @r=`${PWD_COMMAND}`; export r; \
38746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38747 echo "Checking multilib configuration for libada..."; \
38748 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38749 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38750 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38751 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38752 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38753 else \
38754 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38755 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38756 fi; \
38757 else \
38758 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38759 fi; \
38760 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38762 $(NORMAL_TARGET_EXPORTS) \
38763 echo Configuring in $(TARGET_SUBDIR)/libada; \
38764 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38765 case $(srcdir) in \
38766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38767 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38769 esac; \
38770 srcdiroption="--srcdir=$${topdir}/libada"; \
38771 libsrcdir="$$s/libada"; \
38772 rm -f no-such-file || : ; \
38773 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38774 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38775 --target=${target_alias} $${srcdiroption} \
38776 || exit 1
38777 @endif target-libada
38783 .PHONY: all-target-libada maybe-all-target-libada
38784 maybe-all-target-libada:
38785 @if gcc-bootstrap
38786 all-target-libada: stage_current
38787 @endif gcc-bootstrap
38788 @if target-libada
38789 TARGET-target-libada=all
38790 maybe-all-target-libada: all-target-libada
38791 all-target-libada: configure-target-libada
38792 @: $(MAKE); $(unstage)
38793 @r=`${PWD_COMMAND}`; export r; \
38794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38795 $(NORMAL_TARGET_EXPORTS) \
38796 (cd $(TARGET_SUBDIR)/libada && \
38797 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38798 $(TARGET-target-libada))
38799 @endif target-libada
38805 .PHONY: check-target-libada maybe-check-target-libada
38806 maybe-check-target-libada:
38807 @if target-libada
38808 maybe-check-target-libada: check-target-libada
38810 check-target-libada:
38811 @: $(MAKE); $(unstage)
38812 @r=`${PWD_COMMAND}`; export r; \
38813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38814 $(NORMAL_TARGET_EXPORTS) \
38815 (cd $(TARGET_SUBDIR)/libada && \
38816 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38818 @endif target-libada
38820 .PHONY: install-target-libada maybe-install-target-libada
38821 maybe-install-target-libada:
38822 @if target-libada
38823 maybe-install-target-libada: install-target-libada
38825 install-target-libada: installdirs
38826 @: $(MAKE); $(unstage)
38827 @r=`${PWD_COMMAND}`; export r; \
38828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38829 $(NORMAL_TARGET_EXPORTS) \
38830 (cd $(TARGET_SUBDIR)/libada && \
38831 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38833 @endif target-libada
38835 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38836 maybe-install-strip-target-libada:
38837 @if target-libada
38838 maybe-install-strip-target-libada: install-strip-target-libada
38840 install-strip-target-libada: installdirs
38841 @: $(MAKE); $(unstage)
38842 @r=`${PWD_COMMAND}`; export r; \
38843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38844 $(NORMAL_TARGET_EXPORTS) \
38845 (cd $(TARGET_SUBDIR)/libada && \
38846 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38848 @endif target-libada
38850 # Other targets (info, dvi, pdf, etc.)
38852 .PHONY: maybe-info-target-libada info-target-libada
38853 maybe-info-target-libada:
38854 @if target-libada
38855 maybe-info-target-libada: info-target-libada
38857 info-target-libada: \
38858 configure-target-libada
38859 @: $(MAKE); $(unstage)
38860 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38861 r=`${PWD_COMMAND}`; export r; \
38862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38863 $(NORMAL_TARGET_EXPORTS) \
38864 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38865 for flag in $(EXTRA_TARGET_FLAGS); do \
38866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38867 done; \
38868 (cd $(TARGET_SUBDIR)/libada && \
38869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38871 "RANLIB=$${RANLIB}" \
38872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38873 info) \
38874 || exit 1
38876 @endif target-libada
38878 .PHONY: maybe-dvi-target-libada dvi-target-libada
38879 maybe-dvi-target-libada:
38880 @if target-libada
38881 maybe-dvi-target-libada: dvi-target-libada
38883 dvi-target-libada: \
38884 configure-target-libada
38885 @: $(MAKE); $(unstage)
38886 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38887 r=`${PWD_COMMAND}`; export r; \
38888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38889 $(NORMAL_TARGET_EXPORTS) \
38890 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38891 for flag in $(EXTRA_TARGET_FLAGS); do \
38892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38893 done; \
38894 (cd $(TARGET_SUBDIR)/libada && \
38895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38897 "RANLIB=$${RANLIB}" \
38898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38899 dvi) \
38900 || exit 1
38902 @endif target-libada
38904 .PHONY: maybe-pdf-target-libada pdf-target-libada
38905 maybe-pdf-target-libada:
38906 @if target-libada
38907 maybe-pdf-target-libada: pdf-target-libada
38909 pdf-target-libada: \
38910 configure-target-libada
38911 @: $(MAKE); $(unstage)
38912 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38913 r=`${PWD_COMMAND}`; export r; \
38914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38915 $(NORMAL_TARGET_EXPORTS) \
38916 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38917 for flag in $(EXTRA_TARGET_FLAGS); do \
38918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38919 done; \
38920 (cd $(TARGET_SUBDIR)/libada && \
38921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38923 "RANLIB=$${RANLIB}" \
38924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38925 pdf) \
38926 || exit 1
38928 @endif target-libada
38930 .PHONY: maybe-html-target-libada html-target-libada
38931 maybe-html-target-libada:
38932 @if target-libada
38933 maybe-html-target-libada: html-target-libada
38935 html-target-libada: \
38936 configure-target-libada
38937 @: $(MAKE); $(unstage)
38938 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38939 r=`${PWD_COMMAND}`; export r; \
38940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38941 $(NORMAL_TARGET_EXPORTS) \
38942 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38943 for flag in $(EXTRA_TARGET_FLAGS); do \
38944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38945 done; \
38946 (cd $(TARGET_SUBDIR)/libada && \
38947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38949 "RANLIB=$${RANLIB}" \
38950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38951 html) \
38952 || exit 1
38954 @endif target-libada
38956 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38957 maybe-TAGS-target-libada:
38958 @if target-libada
38959 maybe-TAGS-target-libada: TAGS-target-libada
38961 TAGS-target-libada: \
38962 configure-target-libada
38963 @: $(MAKE); $(unstage)
38964 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38965 r=`${PWD_COMMAND}`; export r; \
38966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38967 $(NORMAL_TARGET_EXPORTS) \
38968 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38969 for flag in $(EXTRA_TARGET_FLAGS); do \
38970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38971 done; \
38972 (cd $(TARGET_SUBDIR)/libada && \
38973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38975 "RANLIB=$${RANLIB}" \
38976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38977 TAGS) \
38978 || exit 1
38980 @endif target-libada
38982 .PHONY: maybe-install-info-target-libada install-info-target-libada
38983 maybe-install-info-target-libada:
38984 @if target-libada
38985 maybe-install-info-target-libada: install-info-target-libada
38987 install-info-target-libada: \
38988 configure-target-libada \
38989 info-target-libada
38990 @: $(MAKE); $(unstage)
38991 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38992 r=`${PWD_COMMAND}`; export r; \
38993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38994 $(NORMAL_TARGET_EXPORTS) \
38995 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38996 for flag in $(EXTRA_TARGET_FLAGS); do \
38997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38998 done; \
38999 (cd $(TARGET_SUBDIR)/libada && \
39000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39002 "RANLIB=$${RANLIB}" \
39003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39004 install-info) \
39005 || exit 1
39007 @endif target-libada
39009 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39010 maybe-install-pdf-target-libada:
39011 @if target-libada
39012 maybe-install-pdf-target-libada: install-pdf-target-libada
39014 install-pdf-target-libada: \
39015 configure-target-libada \
39016 pdf-target-libada
39017 @: $(MAKE); $(unstage)
39018 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39019 r=`${PWD_COMMAND}`; export r; \
39020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39021 $(NORMAL_TARGET_EXPORTS) \
39022 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39023 for flag in $(EXTRA_TARGET_FLAGS); do \
39024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39025 done; \
39026 (cd $(TARGET_SUBDIR)/libada && \
39027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39029 "RANLIB=$${RANLIB}" \
39030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39031 install-pdf) \
39032 || exit 1
39034 @endif target-libada
39036 .PHONY: maybe-install-html-target-libada install-html-target-libada
39037 maybe-install-html-target-libada:
39038 @if target-libada
39039 maybe-install-html-target-libada: install-html-target-libada
39041 install-html-target-libada: \
39042 configure-target-libada \
39043 html-target-libada
39044 @: $(MAKE); $(unstage)
39045 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39046 r=`${PWD_COMMAND}`; export r; \
39047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39048 $(NORMAL_TARGET_EXPORTS) \
39049 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39050 for flag in $(EXTRA_TARGET_FLAGS); do \
39051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39052 done; \
39053 (cd $(TARGET_SUBDIR)/libada && \
39054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39056 "RANLIB=$${RANLIB}" \
39057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39058 install-html) \
39059 || exit 1
39061 @endif target-libada
39063 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39064 maybe-installcheck-target-libada:
39065 @if target-libada
39066 maybe-installcheck-target-libada: installcheck-target-libada
39068 installcheck-target-libada: \
39069 configure-target-libada
39070 @: $(MAKE); $(unstage)
39071 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39072 r=`${PWD_COMMAND}`; export r; \
39073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39074 $(NORMAL_TARGET_EXPORTS) \
39075 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39076 for flag in $(EXTRA_TARGET_FLAGS); do \
39077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39078 done; \
39079 (cd $(TARGET_SUBDIR)/libada && \
39080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39082 "RANLIB=$${RANLIB}" \
39083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39084 installcheck) \
39085 || exit 1
39087 @endif target-libada
39089 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39090 maybe-mostlyclean-target-libada:
39091 @if target-libada
39092 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39094 mostlyclean-target-libada:
39095 @: $(MAKE); $(unstage)
39096 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39097 r=`${PWD_COMMAND}`; export r; \
39098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39099 $(NORMAL_TARGET_EXPORTS) \
39100 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39101 for flag in $(EXTRA_TARGET_FLAGS); do \
39102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39103 done; \
39104 (cd $(TARGET_SUBDIR)/libada && \
39105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39107 "RANLIB=$${RANLIB}" \
39108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39109 mostlyclean) \
39110 || exit 1
39112 @endif target-libada
39114 .PHONY: maybe-clean-target-libada clean-target-libada
39115 maybe-clean-target-libada:
39116 @if target-libada
39117 maybe-clean-target-libada: clean-target-libada
39119 clean-target-libada:
39120 @: $(MAKE); $(unstage)
39121 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39122 r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39124 $(NORMAL_TARGET_EXPORTS) \
39125 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39126 for flag in $(EXTRA_TARGET_FLAGS); do \
39127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39128 done; \
39129 (cd $(TARGET_SUBDIR)/libada && \
39130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39132 "RANLIB=$${RANLIB}" \
39133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39134 clean) \
39135 || exit 1
39137 @endif target-libada
39139 .PHONY: maybe-distclean-target-libada distclean-target-libada
39140 maybe-distclean-target-libada:
39141 @if target-libada
39142 maybe-distclean-target-libada: distclean-target-libada
39144 distclean-target-libada:
39145 @: $(MAKE); $(unstage)
39146 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39147 r=`${PWD_COMMAND}`; export r; \
39148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39149 $(NORMAL_TARGET_EXPORTS) \
39150 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39151 for flag in $(EXTRA_TARGET_FLAGS); do \
39152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39153 done; \
39154 (cd $(TARGET_SUBDIR)/libada && \
39155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39157 "RANLIB=$${RANLIB}" \
39158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39159 distclean) \
39160 || exit 1
39162 @endif target-libada
39164 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39165 maybe-maintainer-clean-target-libada:
39166 @if target-libada
39167 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39169 maintainer-clean-target-libada:
39170 @: $(MAKE); $(unstage)
39171 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39172 r=`${PWD_COMMAND}`; export r; \
39173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39174 $(NORMAL_TARGET_EXPORTS) \
39175 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39176 for flag in $(EXTRA_TARGET_FLAGS); do \
39177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39178 done; \
39179 (cd $(TARGET_SUBDIR)/libada && \
39180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39182 "RANLIB=$${RANLIB}" \
39183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39184 maintainer-clean) \
39185 || exit 1
39187 @endif target-libada
39193 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39194 maybe-configure-target-libgomp:
39195 @if gcc-bootstrap
39196 configure-target-libgomp: stage_current
39197 @endif gcc-bootstrap
39198 @if target-libgomp
39199 maybe-configure-target-libgomp: configure-target-libgomp
39200 configure-target-libgomp:
39201 @r=`${PWD_COMMAND}`; export r; \
39202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39203 echo "Checking multilib configuration for libgomp..."; \
39204 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39205 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39206 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39207 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39208 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39209 else \
39210 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39211 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39212 fi; \
39213 else \
39214 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39215 fi; \
39216 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39217 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39218 $(NORMAL_TARGET_EXPORTS) \
39219 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39220 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39221 case $(srcdir) in \
39222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39223 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39225 esac; \
39226 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39227 libsrcdir="$$s/libgomp"; \
39228 rm -f no-such-file || : ; \
39229 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39230 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39231 --target=${target_alias} $${srcdiroption} \
39232 || exit 1
39233 @endif target-libgomp
39237 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39238 maybe-configure-stage1-target-libgomp:
39239 @if target-libgomp-bootstrap
39240 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39241 configure-stage1-target-libgomp:
39242 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39243 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39244 @r=`${PWD_COMMAND}`; export r; \
39245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39246 TFLAGS="$(STAGE1_TFLAGS)"; \
39247 echo "Checking multilib configuration for libgomp..."; \
39248 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39249 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39250 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39251 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39252 else \
39253 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39254 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39255 fi; \
39256 else \
39257 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39258 fi; \
39259 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39260 $(NORMAL_TARGET_EXPORTS) \
39261 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39262 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39263 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39264 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39266 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39267 case $(srcdir) in \
39268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39269 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39271 esac; \
39272 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39273 libsrcdir="$$s/libgomp"; \
39274 $(SHELL) $${libsrcdir}/configure \
39275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39276 --target=${target_alias} $${srcdiroption} \
39277 $(STAGE1_CONFIGURE_FLAGS)
39278 @endif target-libgomp-bootstrap
39280 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39281 maybe-configure-stage2-target-libgomp:
39282 @if target-libgomp-bootstrap
39283 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39284 configure-stage2-target-libgomp:
39285 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39286 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39287 @r=`${PWD_COMMAND}`; export r; \
39288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39289 TFLAGS="$(STAGE2_TFLAGS)"; \
39290 echo "Checking multilib configuration for libgomp..."; \
39291 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39292 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39293 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39294 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39295 else \
39296 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39297 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39298 fi; \
39299 else \
39300 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39301 fi; \
39302 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39303 $(NORMAL_TARGET_EXPORTS) \
39305 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39306 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39307 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39308 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39310 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39311 case $(srcdir) in \
39312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39313 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39315 esac; \
39316 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39317 libsrcdir="$$s/libgomp"; \
39318 $(SHELL) $${libsrcdir}/configure \
39319 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39320 --target=${target_alias} $${srcdiroption} \
39321 --with-build-libsubdir=$(HOST_SUBDIR) \
39322 $(STAGE2_CONFIGURE_FLAGS)
39323 @endif target-libgomp-bootstrap
39325 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39326 maybe-configure-stage3-target-libgomp:
39327 @if target-libgomp-bootstrap
39328 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39329 configure-stage3-target-libgomp:
39330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39331 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39332 @r=`${PWD_COMMAND}`; export r; \
39333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39334 TFLAGS="$(STAGE3_TFLAGS)"; \
39335 echo "Checking multilib configuration for libgomp..."; \
39336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39337 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39338 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39339 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39340 else \
39341 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39342 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39343 fi; \
39344 else \
39345 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39346 fi; \
39347 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39348 $(NORMAL_TARGET_EXPORTS) \
39350 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39351 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39352 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39353 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39355 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39356 case $(srcdir) in \
39357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39358 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39360 esac; \
39361 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39362 libsrcdir="$$s/libgomp"; \
39363 $(SHELL) $${libsrcdir}/configure \
39364 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39365 --target=${target_alias} $${srcdiroption} \
39366 --with-build-libsubdir=$(HOST_SUBDIR) \
39367 $(STAGE3_CONFIGURE_FLAGS)
39368 @endif target-libgomp-bootstrap
39370 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39371 maybe-configure-stage4-target-libgomp:
39372 @if target-libgomp-bootstrap
39373 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39374 configure-stage4-target-libgomp:
39375 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39376 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39377 @r=`${PWD_COMMAND}`; export r; \
39378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39379 TFLAGS="$(STAGE4_TFLAGS)"; \
39380 echo "Checking multilib configuration for libgomp..."; \
39381 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39382 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39383 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39384 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39385 else \
39386 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39387 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39388 fi; \
39389 else \
39390 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39391 fi; \
39392 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39393 $(NORMAL_TARGET_EXPORTS) \
39395 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39396 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39397 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39398 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39399 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39400 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39401 case $(srcdir) in \
39402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39403 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39405 esac; \
39406 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39407 libsrcdir="$$s/libgomp"; \
39408 $(SHELL) $${libsrcdir}/configure \
39409 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39410 --target=${target_alias} $${srcdiroption} \
39411 --with-build-libsubdir=$(HOST_SUBDIR) \
39412 $(STAGE4_CONFIGURE_FLAGS)
39413 @endif target-libgomp-bootstrap
39415 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39416 maybe-configure-stageprofile-target-libgomp:
39417 @if target-libgomp-bootstrap
39418 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39419 configure-stageprofile-target-libgomp:
39420 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39421 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39422 @r=`${PWD_COMMAND}`; export r; \
39423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39424 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39425 echo "Checking multilib configuration for libgomp..."; \
39426 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39427 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39428 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39429 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39430 else \
39431 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39432 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39433 fi; \
39434 else \
39435 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39436 fi; \
39437 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39438 $(NORMAL_TARGET_EXPORTS) \
39440 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39441 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39442 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39443 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39445 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39446 case $(srcdir) in \
39447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39448 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39450 esac; \
39451 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39452 libsrcdir="$$s/libgomp"; \
39453 $(SHELL) $${libsrcdir}/configure \
39454 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39455 --target=${target_alias} $${srcdiroption} \
39456 --with-build-libsubdir=$(HOST_SUBDIR) \
39457 $(STAGEprofile_CONFIGURE_FLAGS)
39458 @endif target-libgomp-bootstrap
39460 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39461 maybe-configure-stagefeedback-target-libgomp:
39462 @if target-libgomp-bootstrap
39463 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39464 configure-stagefeedback-target-libgomp:
39465 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39466 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39467 @r=`${PWD_COMMAND}`; export r; \
39468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39469 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39470 echo "Checking multilib configuration for libgomp..."; \
39471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39472 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39473 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39474 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39475 else \
39476 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39477 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39478 fi; \
39479 else \
39480 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39481 fi; \
39482 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39483 $(NORMAL_TARGET_EXPORTS) \
39485 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39486 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39487 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39488 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39490 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39491 case $(srcdir) in \
39492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39493 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39495 esac; \
39496 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39497 libsrcdir="$$s/libgomp"; \
39498 $(SHELL) $${libsrcdir}/configure \
39499 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39500 --target=${target_alias} $${srcdiroption} \
39501 --with-build-libsubdir=$(HOST_SUBDIR) \
39502 $(STAGEfeedback_CONFIGURE_FLAGS)
39503 @endif target-libgomp-bootstrap
39509 .PHONY: all-target-libgomp maybe-all-target-libgomp
39510 maybe-all-target-libgomp:
39511 @if gcc-bootstrap
39512 all-target-libgomp: stage_current
39513 @endif gcc-bootstrap
39514 @if target-libgomp
39515 TARGET-target-libgomp=all
39516 maybe-all-target-libgomp: all-target-libgomp
39517 all-target-libgomp: configure-target-libgomp
39518 @r=`${PWD_COMMAND}`; export r; \
39519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39520 $(NORMAL_TARGET_EXPORTS) \
39521 (cd $(TARGET_SUBDIR)/libgomp && \
39522 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39523 $(TARGET-target-libgomp))
39524 @endif target-libgomp
39528 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39529 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39530 maybe-all-stage1-target-libgomp:
39531 maybe-clean-stage1-target-libgomp:
39532 @if target-libgomp-bootstrap
39533 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39534 all-stage1: all-stage1-target-libgomp
39535 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39536 all-stage1-target-libgomp: configure-stage1-target-libgomp
39537 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39538 @r=`${PWD_COMMAND}`; export r; \
39539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39540 TFLAGS="$(STAGE1_TFLAGS)"; \
39541 $(NORMAL_TARGET_EXPORTS) \
39542 cd $(TARGET_SUBDIR)/libgomp && \
39543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39544 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39545 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39546 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39550 $(EXTRA_TARGET_FLAGS) \
39551 TFLAGS="$(STAGE1_TFLAGS)" \
39552 $(TARGET-stage1-target-libgomp)
39554 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39555 clean-stage1: clean-stage1-target-libgomp
39556 clean-stage1-target-libgomp:
39557 @if [ $(current_stage) = stage1 ]; then \
39558 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39559 else \
39560 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39561 $(MAKE) stage1-start; \
39562 fi; \
39563 cd $(TARGET_SUBDIR)/libgomp && \
39564 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39565 clean
39566 @endif target-libgomp-bootstrap
39569 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39570 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39571 maybe-all-stage2-target-libgomp:
39572 maybe-clean-stage2-target-libgomp:
39573 @if target-libgomp-bootstrap
39574 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39575 all-stage2: all-stage2-target-libgomp
39576 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39577 all-stage2-target-libgomp: configure-stage2-target-libgomp
39578 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39579 @r=`${PWD_COMMAND}`; export r; \
39580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39581 TFLAGS="$(STAGE2_TFLAGS)"; \
39582 $(NORMAL_TARGET_EXPORTS) \
39584 cd $(TARGET_SUBDIR)/libgomp && \
39585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39586 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39587 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39588 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39589 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39590 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39591 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39592 $(EXTRA_TARGET_FLAGS) \
39593 TFLAGS="$(STAGE2_TFLAGS)" \
39594 $(TARGET-stage2-target-libgomp)
39596 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39597 clean-stage2: clean-stage2-target-libgomp
39598 clean-stage2-target-libgomp:
39599 @if [ $(current_stage) = stage2 ]; then \
39600 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39601 else \
39602 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39603 $(MAKE) stage2-start; \
39604 fi; \
39605 cd $(TARGET_SUBDIR)/libgomp && \
39606 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39608 clean
39609 @endif target-libgomp-bootstrap
39612 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39613 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39614 maybe-all-stage3-target-libgomp:
39615 maybe-clean-stage3-target-libgomp:
39616 @if target-libgomp-bootstrap
39617 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39618 all-stage3: all-stage3-target-libgomp
39619 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39620 all-stage3-target-libgomp: configure-stage3-target-libgomp
39621 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39622 @r=`${PWD_COMMAND}`; export r; \
39623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39624 TFLAGS="$(STAGE3_TFLAGS)"; \
39625 $(NORMAL_TARGET_EXPORTS) \
39627 cd $(TARGET_SUBDIR)/libgomp && \
39628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39629 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39635 $(EXTRA_TARGET_FLAGS) \
39636 TFLAGS="$(STAGE3_TFLAGS)" \
39637 $(TARGET-stage3-target-libgomp)
39639 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39640 clean-stage3: clean-stage3-target-libgomp
39641 clean-stage3-target-libgomp:
39642 @if [ $(current_stage) = stage3 ]; then \
39643 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39644 else \
39645 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39646 $(MAKE) stage3-start; \
39647 fi; \
39648 cd $(TARGET_SUBDIR)/libgomp && \
39649 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39651 clean
39652 @endif target-libgomp-bootstrap
39655 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39656 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39657 maybe-all-stage4-target-libgomp:
39658 maybe-clean-stage4-target-libgomp:
39659 @if target-libgomp-bootstrap
39660 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39661 all-stage4: all-stage4-target-libgomp
39662 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39663 all-stage4-target-libgomp: configure-stage4-target-libgomp
39664 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39665 @r=`${PWD_COMMAND}`; export r; \
39666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39667 TFLAGS="$(STAGE4_TFLAGS)"; \
39668 $(NORMAL_TARGET_EXPORTS) \
39670 cd $(TARGET_SUBDIR)/libgomp && \
39671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39672 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39673 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39674 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39675 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39676 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39677 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39678 $(EXTRA_TARGET_FLAGS) \
39679 TFLAGS="$(STAGE4_TFLAGS)" \
39680 $(TARGET-stage4-target-libgomp)
39682 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39683 clean-stage4: clean-stage4-target-libgomp
39684 clean-stage4-target-libgomp:
39685 @if [ $(current_stage) = stage4 ]; then \
39686 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39687 else \
39688 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39689 $(MAKE) stage4-start; \
39690 fi; \
39691 cd $(TARGET_SUBDIR)/libgomp && \
39692 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39694 clean
39695 @endif target-libgomp-bootstrap
39698 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39699 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39700 maybe-all-stageprofile-target-libgomp:
39701 maybe-clean-stageprofile-target-libgomp:
39702 @if target-libgomp-bootstrap
39703 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39704 all-stageprofile: all-stageprofile-target-libgomp
39705 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39706 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39707 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39708 @r=`${PWD_COMMAND}`; export r; \
39709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39710 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39711 $(NORMAL_TARGET_EXPORTS) \
39713 cd $(TARGET_SUBDIR)/libgomp && \
39714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39715 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39716 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39717 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39721 $(EXTRA_TARGET_FLAGS) \
39722 TFLAGS="$(STAGEprofile_TFLAGS)" \
39723 $(TARGET-stageprofile-target-libgomp)
39725 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39726 clean-stageprofile: clean-stageprofile-target-libgomp
39727 clean-stageprofile-target-libgomp:
39728 @if [ $(current_stage) = stageprofile ]; then \
39729 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39730 else \
39731 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39732 $(MAKE) stageprofile-start; \
39733 fi; \
39734 cd $(TARGET_SUBDIR)/libgomp && \
39735 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39737 clean
39738 @endif target-libgomp-bootstrap
39741 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39742 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39743 maybe-all-stagefeedback-target-libgomp:
39744 maybe-clean-stagefeedback-target-libgomp:
39745 @if target-libgomp-bootstrap
39746 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39747 all-stagefeedback: all-stagefeedback-target-libgomp
39748 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39749 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39750 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39751 @r=`${PWD_COMMAND}`; export r; \
39752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39753 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39754 $(NORMAL_TARGET_EXPORTS) \
39756 cd $(TARGET_SUBDIR)/libgomp && \
39757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39758 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39759 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39760 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39764 $(EXTRA_TARGET_FLAGS) \
39765 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39766 $(TARGET-stagefeedback-target-libgomp)
39768 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39769 clean-stagefeedback: clean-stagefeedback-target-libgomp
39770 clean-stagefeedback-target-libgomp:
39771 @if [ $(current_stage) = stagefeedback ]; then \
39772 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39773 else \
39774 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39775 $(MAKE) stagefeedback-start; \
39776 fi; \
39777 cd $(TARGET_SUBDIR)/libgomp && \
39778 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39780 clean
39781 @endif target-libgomp-bootstrap
39788 .PHONY: check-target-libgomp maybe-check-target-libgomp
39789 maybe-check-target-libgomp:
39790 @if target-libgomp
39791 maybe-check-target-libgomp: check-target-libgomp
39793 check-target-libgomp:
39794 @: $(MAKE); $(unstage)
39795 @r=`${PWD_COMMAND}`; export r; \
39796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39797 $(NORMAL_TARGET_EXPORTS) \
39798 (cd $(TARGET_SUBDIR)/libgomp && \
39799 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39801 @endif target-libgomp
39803 .PHONY: install-target-libgomp maybe-install-target-libgomp
39804 maybe-install-target-libgomp:
39805 @if target-libgomp
39806 maybe-install-target-libgomp: install-target-libgomp
39808 install-target-libgomp: installdirs
39809 @: $(MAKE); $(unstage)
39810 @r=`${PWD_COMMAND}`; export r; \
39811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39812 $(NORMAL_TARGET_EXPORTS) \
39813 (cd $(TARGET_SUBDIR)/libgomp && \
39814 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39816 @endif target-libgomp
39818 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39819 maybe-install-strip-target-libgomp:
39820 @if target-libgomp
39821 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39823 install-strip-target-libgomp: installdirs
39824 @: $(MAKE); $(unstage)
39825 @r=`${PWD_COMMAND}`; export r; \
39826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39827 $(NORMAL_TARGET_EXPORTS) \
39828 (cd $(TARGET_SUBDIR)/libgomp && \
39829 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39831 @endif target-libgomp
39833 # Other targets (info, dvi, pdf, etc.)
39835 .PHONY: maybe-info-target-libgomp info-target-libgomp
39836 maybe-info-target-libgomp:
39837 @if target-libgomp
39838 maybe-info-target-libgomp: info-target-libgomp
39840 info-target-libgomp: \
39841 configure-target-libgomp
39842 @: $(MAKE); $(unstage)
39843 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39844 r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 $(NORMAL_TARGET_EXPORTS) \
39847 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39848 for flag in $(EXTRA_TARGET_FLAGS); do \
39849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39850 done; \
39851 (cd $(TARGET_SUBDIR)/libgomp && \
39852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39854 "RANLIB=$${RANLIB}" \
39855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39856 info) \
39857 || exit 1
39859 @endif target-libgomp
39861 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39862 maybe-dvi-target-libgomp:
39863 @if target-libgomp
39864 maybe-dvi-target-libgomp: dvi-target-libgomp
39866 dvi-target-libgomp: \
39867 configure-target-libgomp
39868 @: $(MAKE); $(unstage)
39869 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39870 r=`${PWD_COMMAND}`; export r; \
39871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39872 $(NORMAL_TARGET_EXPORTS) \
39873 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39874 for flag in $(EXTRA_TARGET_FLAGS); do \
39875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39876 done; \
39877 (cd $(TARGET_SUBDIR)/libgomp && \
39878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39880 "RANLIB=$${RANLIB}" \
39881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39882 dvi) \
39883 || exit 1
39885 @endif target-libgomp
39887 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39888 maybe-pdf-target-libgomp:
39889 @if target-libgomp
39890 maybe-pdf-target-libgomp: pdf-target-libgomp
39892 pdf-target-libgomp: \
39893 configure-target-libgomp
39894 @: $(MAKE); $(unstage)
39895 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39896 r=`${PWD_COMMAND}`; export r; \
39897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39898 $(NORMAL_TARGET_EXPORTS) \
39899 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39900 for flag in $(EXTRA_TARGET_FLAGS); do \
39901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39902 done; \
39903 (cd $(TARGET_SUBDIR)/libgomp && \
39904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39906 "RANLIB=$${RANLIB}" \
39907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39908 pdf) \
39909 || exit 1
39911 @endif target-libgomp
39913 .PHONY: maybe-html-target-libgomp html-target-libgomp
39914 maybe-html-target-libgomp:
39915 @if target-libgomp
39916 maybe-html-target-libgomp: html-target-libgomp
39918 html-target-libgomp: \
39919 configure-target-libgomp
39920 @: $(MAKE); $(unstage)
39921 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39922 r=`${PWD_COMMAND}`; export r; \
39923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39924 $(NORMAL_TARGET_EXPORTS) \
39925 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39926 for flag in $(EXTRA_TARGET_FLAGS); do \
39927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39928 done; \
39929 (cd $(TARGET_SUBDIR)/libgomp && \
39930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39932 "RANLIB=$${RANLIB}" \
39933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39934 html) \
39935 || exit 1
39937 @endif target-libgomp
39939 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39940 maybe-TAGS-target-libgomp:
39941 @if target-libgomp
39942 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39944 TAGS-target-libgomp: \
39945 configure-target-libgomp
39946 @: $(MAKE); $(unstage)
39947 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39948 r=`${PWD_COMMAND}`; export r; \
39949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39950 $(NORMAL_TARGET_EXPORTS) \
39951 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39952 for flag in $(EXTRA_TARGET_FLAGS); do \
39953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39954 done; \
39955 (cd $(TARGET_SUBDIR)/libgomp && \
39956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39958 "RANLIB=$${RANLIB}" \
39959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39960 TAGS) \
39961 || exit 1
39963 @endif target-libgomp
39965 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39966 maybe-install-info-target-libgomp:
39967 @if target-libgomp
39968 maybe-install-info-target-libgomp: install-info-target-libgomp
39970 install-info-target-libgomp: \
39971 configure-target-libgomp \
39972 info-target-libgomp
39973 @: $(MAKE); $(unstage)
39974 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39975 r=`${PWD_COMMAND}`; export r; \
39976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39977 $(NORMAL_TARGET_EXPORTS) \
39978 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
39979 for flag in $(EXTRA_TARGET_FLAGS); do \
39980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39981 done; \
39982 (cd $(TARGET_SUBDIR)/libgomp && \
39983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39985 "RANLIB=$${RANLIB}" \
39986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39987 install-info) \
39988 || exit 1
39990 @endif target-libgomp
39992 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39993 maybe-install-pdf-target-libgomp:
39994 @if target-libgomp
39995 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39997 install-pdf-target-libgomp: \
39998 configure-target-libgomp \
39999 pdf-target-libgomp
40000 @: $(MAKE); $(unstage)
40001 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40002 r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(NORMAL_TARGET_EXPORTS) \
40005 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
40006 for flag in $(EXTRA_TARGET_FLAGS); do \
40007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40008 done; \
40009 (cd $(TARGET_SUBDIR)/libgomp && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40012 "RANLIB=$${RANLIB}" \
40013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40014 install-pdf) \
40015 || exit 1
40017 @endif target-libgomp
40019 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40020 maybe-install-html-target-libgomp:
40021 @if target-libgomp
40022 maybe-install-html-target-libgomp: install-html-target-libgomp
40024 install-html-target-libgomp: \
40025 configure-target-libgomp \
40026 html-target-libgomp
40027 @: $(MAKE); $(unstage)
40028 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40029 r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(NORMAL_TARGET_EXPORTS) \
40032 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40033 for flag in $(EXTRA_TARGET_FLAGS); do \
40034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40035 done; \
40036 (cd $(TARGET_SUBDIR)/libgomp && \
40037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40039 "RANLIB=$${RANLIB}" \
40040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40041 install-html) \
40042 || exit 1
40044 @endif target-libgomp
40046 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40047 maybe-installcheck-target-libgomp:
40048 @if target-libgomp
40049 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40051 installcheck-target-libgomp: \
40052 configure-target-libgomp
40053 @: $(MAKE); $(unstage)
40054 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40055 r=`${PWD_COMMAND}`; export r; \
40056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40057 $(NORMAL_TARGET_EXPORTS) \
40058 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40059 for flag in $(EXTRA_TARGET_FLAGS); do \
40060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40061 done; \
40062 (cd $(TARGET_SUBDIR)/libgomp && \
40063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40065 "RANLIB=$${RANLIB}" \
40066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40067 installcheck) \
40068 || exit 1
40070 @endif target-libgomp
40072 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40073 maybe-mostlyclean-target-libgomp:
40074 @if target-libgomp
40075 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40077 mostlyclean-target-libgomp:
40078 @: $(MAKE); $(unstage)
40079 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40080 r=`${PWD_COMMAND}`; export r; \
40081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40082 $(NORMAL_TARGET_EXPORTS) \
40083 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40084 for flag in $(EXTRA_TARGET_FLAGS); do \
40085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40086 done; \
40087 (cd $(TARGET_SUBDIR)/libgomp && \
40088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40090 "RANLIB=$${RANLIB}" \
40091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40092 mostlyclean) \
40093 || exit 1
40095 @endif target-libgomp
40097 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40098 maybe-clean-target-libgomp:
40099 @if target-libgomp
40100 maybe-clean-target-libgomp: clean-target-libgomp
40102 clean-target-libgomp:
40103 @: $(MAKE); $(unstage)
40104 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40105 r=`${PWD_COMMAND}`; export r; \
40106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40107 $(NORMAL_TARGET_EXPORTS) \
40108 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40109 for flag in $(EXTRA_TARGET_FLAGS); do \
40110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40111 done; \
40112 (cd $(TARGET_SUBDIR)/libgomp && \
40113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40115 "RANLIB=$${RANLIB}" \
40116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40117 clean) \
40118 || exit 1
40120 @endif target-libgomp
40122 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40123 maybe-distclean-target-libgomp:
40124 @if target-libgomp
40125 maybe-distclean-target-libgomp: distclean-target-libgomp
40127 distclean-target-libgomp:
40128 @: $(MAKE); $(unstage)
40129 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40130 r=`${PWD_COMMAND}`; export r; \
40131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40132 $(NORMAL_TARGET_EXPORTS) \
40133 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40134 for flag in $(EXTRA_TARGET_FLAGS); do \
40135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40136 done; \
40137 (cd $(TARGET_SUBDIR)/libgomp && \
40138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40140 "RANLIB=$${RANLIB}" \
40141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40142 distclean) \
40143 || exit 1
40145 @endif target-libgomp
40147 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40148 maybe-maintainer-clean-target-libgomp:
40149 @if target-libgomp
40150 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40152 maintainer-clean-target-libgomp:
40153 @: $(MAKE); $(unstage)
40154 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40155 r=`${PWD_COMMAND}`; export r; \
40156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40157 $(NORMAL_TARGET_EXPORTS) \
40158 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40159 for flag in $(EXTRA_TARGET_FLAGS); do \
40160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40161 done; \
40162 (cd $(TARGET_SUBDIR)/libgomp && \
40163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40165 "RANLIB=$${RANLIB}" \
40166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40167 maintainer-clean) \
40168 || exit 1
40170 @endif target-libgomp
40176 .PHONY: configure-target-libitm maybe-configure-target-libitm
40177 maybe-configure-target-libitm:
40178 @if gcc-bootstrap
40179 configure-target-libitm: stage_current
40180 @endif gcc-bootstrap
40181 @if target-libitm
40182 maybe-configure-target-libitm: configure-target-libitm
40183 configure-target-libitm:
40184 @: $(MAKE); $(unstage)
40185 @r=`${PWD_COMMAND}`; export r; \
40186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40187 echo "Checking multilib configuration for libitm..."; \
40188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40189 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
40190 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
40191 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
40192 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
40193 else \
40194 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
40195 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40196 fi; \
40197 else \
40198 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40199 fi; \
40200 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
40201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40202 $(NORMAL_TARGET_EXPORTS) \
40203 echo Configuring in $(TARGET_SUBDIR)/libitm; \
40204 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
40205 case $(srcdir) in \
40206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40207 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
40208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40209 esac; \
40210 srcdiroption="--srcdir=$${topdir}/libitm"; \
40211 libsrcdir="$$s/libitm"; \
40212 rm -f no-such-file || : ; \
40213 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40214 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40215 --target=${target_alias} $${srcdiroption} \
40216 || exit 1
40217 @endif target-libitm
40223 .PHONY: all-target-libitm maybe-all-target-libitm
40224 maybe-all-target-libitm:
40225 @if gcc-bootstrap
40226 all-target-libitm: stage_current
40227 @endif gcc-bootstrap
40228 @if target-libitm
40229 TARGET-target-libitm=all
40230 maybe-all-target-libitm: all-target-libitm
40231 all-target-libitm: configure-target-libitm
40232 @: $(MAKE); $(unstage)
40233 @r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(NORMAL_TARGET_EXPORTS) \
40236 (cd $(TARGET_SUBDIR)/libitm && \
40237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40238 $(TARGET-target-libitm))
40239 @endif target-libitm
40245 .PHONY: check-target-libitm maybe-check-target-libitm
40246 maybe-check-target-libitm:
40247 @if target-libitm
40248 maybe-check-target-libitm: check-target-libitm
40250 check-target-libitm:
40251 @: $(MAKE); $(unstage)
40252 @r=`${PWD_COMMAND}`; export r; \
40253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40254 $(NORMAL_TARGET_EXPORTS) \
40255 (cd $(TARGET_SUBDIR)/libitm && \
40256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40258 @endif target-libitm
40260 .PHONY: install-target-libitm maybe-install-target-libitm
40261 maybe-install-target-libitm:
40262 @if target-libitm
40263 maybe-install-target-libitm: install-target-libitm
40265 install-target-libitm: installdirs
40266 @: $(MAKE); $(unstage)
40267 @r=`${PWD_COMMAND}`; export r; \
40268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40269 $(NORMAL_TARGET_EXPORTS) \
40270 (cd $(TARGET_SUBDIR)/libitm && \
40271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40273 @endif target-libitm
40275 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
40276 maybe-install-strip-target-libitm:
40277 @if target-libitm
40278 maybe-install-strip-target-libitm: install-strip-target-libitm
40280 install-strip-target-libitm: installdirs
40281 @: $(MAKE); $(unstage)
40282 @r=`${PWD_COMMAND}`; export r; \
40283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40284 $(NORMAL_TARGET_EXPORTS) \
40285 (cd $(TARGET_SUBDIR)/libitm && \
40286 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40288 @endif target-libitm
40290 # Other targets (info, dvi, pdf, etc.)
40292 .PHONY: maybe-info-target-libitm info-target-libitm
40293 maybe-info-target-libitm:
40294 @if target-libitm
40295 maybe-info-target-libitm: info-target-libitm
40297 info-target-libitm: \
40298 configure-target-libitm
40299 @: $(MAKE); $(unstage)
40300 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40301 r=`${PWD_COMMAND}`; export r; \
40302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40303 $(NORMAL_TARGET_EXPORTS) \
40304 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
40305 for flag in $(EXTRA_TARGET_FLAGS); do \
40306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40307 done; \
40308 (cd $(TARGET_SUBDIR)/libitm && \
40309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40311 "RANLIB=$${RANLIB}" \
40312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40313 info) \
40314 || exit 1
40316 @endif target-libitm
40318 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
40319 maybe-dvi-target-libitm:
40320 @if target-libitm
40321 maybe-dvi-target-libitm: dvi-target-libitm
40323 dvi-target-libitm: \
40324 configure-target-libitm
40325 @: $(MAKE); $(unstage)
40326 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40327 r=`${PWD_COMMAND}`; export r; \
40328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40329 $(NORMAL_TARGET_EXPORTS) \
40330 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
40331 for flag in $(EXTRA_TARGET_FLAGS); do \
40332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40333 done; \
40334 (cd $(TARGET_SUBDIR)/libitm && \
40335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40337 "RANLIB=$${RANLIB}" \
40338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40339 dvi) \
40340 || exit 1
40342 @endif target-libitm
40344 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
40345 maybe-pdf-target-libitm:
40346 @if target-libitm
40347 maybe-pdf-target-libitm: pdf-target-libitm
40349 pdf-target-libitm: \
40350 configure-target-libitm
40351 @: $(MAKE); $(unstage)
40352 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40353 r=`${PWD_COMMAND}`; export r; \
40354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40355 $(NORMAL_TARGET_EXPORTS) \
40356 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
40357 for flag in $(EXTRA_TARGET_FLAGS); do \
40358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40359 done; \
40360 (cd $(TARGET_SUBDIR)/libitm && \
40361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40363 "RANLIB=$${RANLIB}" \
40364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40365 pdf) \
40366 || exit 1
40368 @endif target-libitm
40370 .PHONY: maybe-html-target-libitm html-target-libitm
40371 maybe-html-target-libitm:
40372 @if target-libitm
40373 maybe-html-target-libitm: html-target-libitm
40375 html-target-libitm: \
40376 configure-target-libitm
40377 @: $(MAKE); $(unstage)
40378 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(NORMAL_TARGET_EXPORTS) \
40382 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
40383 for flag in $(EXTRA_TARGET_FLAGS); do \
40384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40385 done; \
40386 (cd $(TARGET_SUBDIR)/libitm && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 html) \
40392 || exit 1
40394 @endif target-libitm
40396 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
40397 maybe-TAGS-target-libitm:
40398 @if target-libitm
40399 maybe-TAGS-target-libitm: TAGS-target-libitm
40401 TAGS-target-libitm: \
40402 configure-target-libitm
40403 @: $(MAKE); $(unstage)
40404 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40405 r=`${PWD_COMMAND}`; export r; \
40406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40407 $(NORMAL_TARGET_EXPORTS) \
40408 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
40409 for flag in $(EXTRA_TARGET_FLAGS); do \
40410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40411 done; \
40412 (cd $(TARGET_SUBDIR)/libitm && \
40413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40415 "RANLIB=$${RANLIB}" \
40416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40417 TAGS) \
40418 || exit 1
40420 @endif target-libitm
40422 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
40423 maybe-install-info-target-libitm:
40424 @if target-libitm
40425 maybe-install-info-target-libitm: install-info-target-libitm
40427 install-info-target-libitm: \
40428 configure-target-libitm \
40429 info-target-libitm
40430 @: $(MAKE); $(unstage)
40431 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40432 r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(NORMAL_TARGET_EXPORTS) \
40435 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
40436 for flag in $(EXTRA_TARGET_FLAGS); do \
40437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 done; \
40439 (cd $(TARGET_SUBDIR)/libitm && \
40440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40442 "RANLIB=$${RANLIB}" \
40443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40444 install-info) \
40445 || exit 1
40447 @endif target-libitm
40449 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
40450 maybe-install-pdf-target-libitm:
40451 @if target-libitm
40452 maybe-install-pdf-target-libitm: install-pdf-target-libitm
40454 install-pdf-target-libitm: \
40455 configure-target-libitm \
40456 pdf-target-libitm
40457 @: $(MAKE); $(unstage)
40458 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40459 r=`${PWD_COMMAND}`; export r; \
40460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40461 $(NORMAL_TARGET_EXPORTS) \
40462 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
40463 for flag in $(EXTRA_TARGET_FLAGS); do \
40464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40465 done; \
40466 (cd $(TARGET_SUBDIR)/libitm && \
40467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40469 "RANLIB=$${RANLIB}" \
40470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40471 install-pdf) \
40472 || exit 1
40474 @endif target-libitm
40476 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
40477 maybe-install-html-target-libitm:
40478 @if target-libitm
40479 maybe-install-html-target-libitm: install-html-target-libitm
40481 install-html-target-libitm: \
40482 configure-target-libitm \
40483 html-target-libitm
40484 @: $(MAKE); $(unstage)
40485 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40486 r=`${PWD_COMMAND}`; export r; \
40487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40488 $(NORMAL_TARGET_EXPORTS) \
40489 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
40490 for flag in $(EXTRA_TARGET_FLAGS); do \
40491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40492 done; \
40493 (cd $(TARGET_SUBDIR)/libitm && \
40494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40496 "RANLIB=$${RANLIB}" \
40497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40498 install-html) \
40499 || exit 1
40501 @endif target-libitm
40503 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
40504 maybe-installcheck-target-libitm:
40505 @if target-libitm
40506 maybe-installcheck-target-libitm: installcheck-target-libitm
40508 installcheck-target-libitm: \
40509 configure-target-libitm
40510 @: $(MAKE); $(unstage)
40511 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40512 r=`${PWD_COMMAND}`; export r; \
40513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40514 $(NORMAL_TARGET_EXPORTS) \
40515 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
40516 for flag in $(EXTRA_TARGET_FLAGS); do \
40517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40518 done; \
40519 (cd $(TARGET_SUBDIR)/libitm && \
40520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40522 "RANLIB=$${RANLIB}" \
40523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40524 installcheck) \
40525 || exit 1
40527 @endif target-libitm
40529 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
40530 maybe-mostlyclean-target-libitm:
40531 @if target-libitm
40532 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
40534 mostlyclean-target-libitm:
40535 @: $(MAKE); $(unstage)
40536 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40537 r=`${PWD_COMMAND}`; export r; \
40538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40539 $(NORMAL_TARGET_EXPORTS) \
40540 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
40541 for flag in $(EXTRA_TARGET_FLAGS); do \
40542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40543 done; \
40544 (cd $(TARGET_SUBDIR)/libitm && \
40545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40547 "RANLIB=$${RANLIB}" \
40548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40549 mostlyclean) \
40550 || exit 1
40552 @endif target-libitm
40554 .PHONY: maybe-clean-target-libitm clean-target-libitm
40555 maybe-clean-target-libitm:
40556 @if target-libitm
40557 maybe-clean-target-libitm: clean-target-libitm
40559 clean-target-libitm:
40560 @: $(MAKE); $(unstage)
40561 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40562 r=`${PWD_COMMAND}`; export r; \
40563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40564 $(NORMAL_TARGET_EXPORTS) \
40565 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
40566 for flag in $(EXTRA_TARGET_FLAGS); do \
40567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40568 done; \
40569 (cd $(TARGET_SUBDIR)/libitm && \
40570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40572 "RANLIB=$${RANLIB}" \
40573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40574 clean) \
40575 || exit 1
40577 @endif target-libitm
40579 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
40580 maybe-distclean-target-libitm:
40581 @if target-libitm
40582 maybe-distclean-target-libitm: distclean-target-libitm
40584 distclean-target-libitm:
40585 @: $(MAKE); $(unstage)
40586 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40587 r=`${PWD_COMMAND}`; export r; \
40588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40589 $(NORMAL_TARGET_EXPORTS) \
40590 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
40591 for flag in $(EXTRA_TARGET_FLAGS); do \
40592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40593 done; \
40594 (cd $(TARGET_SUBDIR)/libitm && \
40595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40597 "RANLIB=$${RANLIB}" \
40598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40599 distclean) \
40600 || exit 1
40602 @endif target-libitm
40604 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
40605 maybe-maintainer-clean-target-libitm:
40606 @if target-libitm
40607 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
40609 maintainer-clean-target-libitm:
40610 @: $(MAKE); $(unstage)
40611 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40612 r=`${PWD_COMMAND}`; export r; \
40613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40614 $(NORMAL_TARGET_EXPORTS) \
40615 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
40616 for flag in $(EXTRA_TARGET_FLAGS); do \
40617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40618 done; \
40619 (cd $(TARGET_SUBDIR)/libitm && \
40620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40622 "RANLIB=$${RANLIB}" \
40623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40624 maintainer-clean) \
40625 || exit 1
40627 @endif target-libitm
40633 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
40634 maybe-configure-target-libatomic:
40635 @if gcc-bootstrap
40636 configure-target-libatomic: stage_current
40637 @endif gcc-bootstrap
40638 @if target-libatomic
40639 maybe-configure-target-libatomic: configure-target-libatomic
40640 configure-target-libatomic:
40641 @: $(MAKE); $(unstage)
40642 @r=`${PWD_COMMAND}`; export r; \
40643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40644 echo "Checking multilib configuration for libatomic..."; \
40645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40646 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
40647 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40648 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40649 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
40650 else \
40651 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
40652 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40653 fi; \
40654 else \
40655 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40656 fi; \
40657 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
40658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40659 $(NORMAL_TARGET_EXPORTS) \
40660 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
40661 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
40662 case $(srcdir) in \
40663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40664 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
40665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40666 esac; \
40667 srcdiroption="--srcdir=$${topdir}/libatomic"; \
40668 libsrcdir="$$s/libatomic"; \
40669 rm -f no-such-file || : ; \
40670 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40671 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40672 --target=${target_alias} $${srcdiroption} \
40673 || exit 1
40674 @endif target-libatomic
40680 .PHONY: all-target-libatomic maybe-all-target-libatomic
40681 maybe-all-target-libatomic:
40682 @if gcc-bootstrap
40683 all-target-libatomic: stage_current
40684 @endif gcc-bootstrap
40685 @if target-libatomic
40686 TARGET-target-libatomic=all
40687 maybe-all-target-libatomic: all-target-libatomic
40688 all-target-libatomic: configure-target-libatomic
40689 @: $(MAKE); $(unstage)
40690 @r=`${PWD_COMMAND}`; export r; \
40691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40692 $(NORMAL_TARGET_EXPORTS) \
40693 (cd $(TARGET_SUBDIR)/libatomic && \
40694 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40695 $(TARGET-target-libatomic))
40696 @endif target-libatomic
40702 .PHONY: check-target-libatomic maybe-check-target-libatomic
40703 maybe-check-target-libatomic:
40704 @if target-libatomic
40705 maybe-check-target-libatomic: check-target-libatomic
40707 check-target-libatomic:
40708 @: $(MAKE); $(unstage)
40709 @r=`${PWD_COMMAND}`; export r; \
40710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40711 $(NORMAL_TARGET_EXPORTS) \
40712 (cd $(TARGET_SUBDIR)/libatomic && \
40713 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40715 @endif target-libatomic
40717 .PHONY: install-target-libatomic maybe-install-target-libatomic
40718 maybe-install-target-libatomic:
40719 @if target-libatomic
40720 maybe-install-target-libatomic: install-target-libatomic
40722 install-target-libatomic: installdirs
40723 @: $(MAKE); $(unstage)
40724 @r=`${PWD_COMMAND}`; export r; \
40725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40726 $(NORMAL_TARGET_EXPORTS) \
40727 (cd $(TARGET_SUBDIR)/libatomic && \
40728 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40730 @endif target-libatomic
40732 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
40733 maybe-install-strip-target-libatomic:
40734 @if target-libatomic
40735 maybe-install-strip-target-libatomic: install-strip-target-libatomic
40737 install-strip-target-libatomic: installdirs
40738 @: $(MAKE); $(unstage)
40739 @r=`${PWD_COMMAND}`; export r; \
40740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40741 $(NORMAL_TARGET_EXPORTS) \
40742 (cd $(TARGET_SUBDIR)/libatomic && \
40743 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40745 @endif target-libatomic
40747 # Other targets (info, dvi, pdf, etc.)
40749 .PHONY: maybe-info-target-libatomic info-target-libatomic
40750 maybe-info-target-libatomic:
40751 @if target-libatomic
40752 maybe-info-target-libatomic: info-target-libatomic
40754 info-target-libatomic: \
40755 configure-target-libatomic
40756 @: $(MAKE); $(unstage)
40757 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40758 r=`${PWD_COMMAND}`; export r; \
40759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40760 $(NORMAL_TARGET_EXPORTS) \
40761 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
40762 for flag in $(EXTRA_TARGET_FLAGS); do \
40763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40764 done; \
40765 (cd $(TARGET_SUBDIR)/libatomic && \
40766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40768 "RANLIB=$${RANLIB}" \
40769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40770 info) \
40771 || exit 1
40773 @endif target-libatomic
40775 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
40776 maybe-dvi-target-libatomic:
40777 @if target-libatomic
40778 maybe-dvi-target-libatomic: dvi-target-libatomic
40780 dvi-target-libatomic: \
40781 configure-target-libatomic
40782 @: $(MAKE); $(unstage)
40783 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40784 r=`${PWD_COMMAND}`; export r; \
40785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40786 $(NORMAL_TARGET_EXPORTS) \
40787 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
40788 for flag in $(EXTRA_TARGET_FLAGS); do \
40789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40790 done; \
40791 (cd $(TARGET_SUBDIR)/libatomic && \
40792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40794 "RANLIB=$${RANLIB}" \
40795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40796 dvi) \
40797 || exit 1
40799 @endif target-libatomic
40801 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
40802 maybe-pdf-target-libatomic:
40803 @if target-libatomic
40804 maybe-pdf-target-libatomic: pdf-target-libatomic
40806 pdf-target-libatomic: \
40807 configure-target-libatomic
40808 @: $(MAKE); $(unstage)
40809 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40810 r=`${PWD_COMMAND}`; export r; \
40811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40812 $(NORMAL_TARGET_EXPORTS) \
40813 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
40814 for flag in $(EXTRA_TARGET_FLAGS); do \
40815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40816 done; \
40817 (cd $(TARGET_SUBDIR)/libatomic && \
40818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40820 "RANLIB=$${RANLIB}" \
40821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40822 pdf) \
40823 || exit 1
40825 @endif target-libatomic
40827 .PHONY: maybe-html-target-libatomic html-target-libatomic
40828 maybe-html-target-libatomic:
40829 @if target-libatomic
40830 maybe-html-target-libatomic: html-target-libatomic
40832 html-target-libatomic: \
40833 configure-target-libatomic
40834 @: $(MAKE); $(unstage)
40835 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40836 r=`${PWD_COMMAND}`; export r; \
40837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40838 $(NORMAL_TARGET_EXPORTS) \
40839 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
40840 for flag in $(EXTRA_TARGET_FLAGS); do \
40841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40842 done; \
40843 (cd $(TARGET_SUBDIR)/libatomic && \
40844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40846 "RANLIB=$${RANLIB}" \
40847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40848 html) \
40849 || exit 1
40851 @endif target-libatomic
40853 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
40854 maybe-TAGS-target-libatomic:
40855 @if target-libatomic
40856 maybe-TAGS-target-libatomic: TAGS-target-libatomic
40858 TAGS-target-libatomic: \
40859 configure-target-libatomic
40860 @: $(MAKE); $(unstage)
40861 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40862 r=`${PWD_COMMAND}`; export r; \
40863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40864 $(NORMAL_TARGET_EXPORTS) \
40865 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
40866 for flag in $(EXTRA_TARGET_FLAGS); do \
40867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40868 done; \
40869 (cd $(TARGET_SUBDIR)/libatomic && \
40870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40872 "RANLIB=$${RANLIB}" \
40873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40874 TAGS) \
40875 || exit 1
40877 @endif target-libatomic
40879 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
40880 maybe-install-info-target-libatomic:
40881 @if target-libatomic
40882 maybe-install-info-target-libatomic: install-info-target-libatomic
40884 install-info-target-libatomic: \
40885 configure-target-libatomic \
40886 info-target-libatomic
40887 @: $(MAKE); $(unstage)
40888 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40889 r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 $(NORMAL_TARGET_EXPORTS) \
40892 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
40893 for flag in $(EXTRA_TARGET_FLAGS); do \
40894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40895 done; \
40896 (cd $(TARGET_SUBDIR)/libatomic && \
40897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40899 "RANLIB=$${RANLIB}" \
40900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40901 install-info) \
40902 || exit 1
40904 @endif target-libatomic
40906 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
40907 maybe-install-pdf-target-libatomic:
40908 @if target-libatomic
40909 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
40911 install-pdf-target-libatomic: \
40912 configure-target-libatomic \
40913 pdf-target-libatomic
40914 @: $(MAKE); $(unstage)
40915 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40916 r=`${PWD_COMMAND}`; export r; \
40917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40918 $(NORMAL_TARGET_EXPORTS) \
40919 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
40920 for flag in $(EXTRA_TARGET_FLAGS); do \
40921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40922 done; \
40923 (cd $(TARGET_SUBDIR)/libatomic && \
40924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40926 "RANLIB=$${RANLIB}" \
40927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40928 install-pdf) \
40929 || exit 1
40931 @endif target-libatomic
40933 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
40934 maybe-install-html-target-libatomic:
40935 @if target-libatomic
40936 maybe-install-html-target-libatomic: install-html-target-libatomic
40938 install-html-target-libatomic: \
40939 configure-target-libatomic \
40940 html-target-libatomic
40941 @: $(MAKE); $(unstage)
40942 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40943 r=`${PWD_COMMAND}`; export r; \
40944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40945 $(NORMAL_TARGET_EXPORTS) \
40946 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
40947 for flag in $(EXTRA_TARGET_FLAGS); do \
40948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40949 done; \
40950 (cd $(TARGET_SUBDIR)/libatomic && \
40951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40953 "RANLIB=$${RANLIB}" \
40954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40955 install-html) \
40956 || exit 1
40958 @endif target-libatomic
40960 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
40961 maybe-installcheck-target-libatomic:
40962 @if target-libatomic
40963 maybe-installcheck-target-libatomic: installcheck-target-libatomic
40965 installcheck-target-libatomic: \
40966 configure-target-libatomic
40967 @: $(MAKE); $(unstage)
40968 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40969 r=`${PWD_COMMAND}`; export r; \
40970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40971 $(NORMAL_TARGET_EXPORTS) \
40972 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
40973 for flag in $(EXTRA_TARGET_FLAGS); do \
40974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40975 done; \
40976 (cd $(TARGET_SUBDIR)/libatomic && \
40977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40979 "RANLIB=$${RANLIB}" \
40980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40981 installcheck) \
40982 || exit 1
40984 @endif target-libatomic
40986 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
40987 maybe-mostlyclean-target-libatomic:
40988 @if target-libatomic
40989 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
40991 mostlyclean-target-libatomic:
40992 @: $(MAKE); $(unstage)
40993 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40994 r=`${PWD_COMMAND}`; export r; \
40995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40996 $(NORMAL_TARGET_EXPORTS) \
40997 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
40998 for flag in $(EXTRA_TARGET_FLAGS); do \
40999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41000 done; \
41001 (cd $(TARGET_SUBDIR)/libatomic && \
41002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41004 "RANLIB=$${RANLIB}" \
41005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41006 mostlyclean) \
41007 || exit 1
41009 @endif target-libatomic
41011 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
41012 maybe-clean-target-libatomic:
41013 @if target-libatomic
41014 maybe-clean-target-libatomic: clean-target-libatomic
41016 clean-target-libatomic:
41017 @: $(MAKE); $(unstage)
41018 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41019 r=`${PWD_COMMAND}`; export r; \
41020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41021 $(NORMAL_TARGET_EXPORTS) \
41022 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
41023 for flag in $(EXTRA_TARGET_FLAGS); do \
41024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41025 done; \
41026 (cd $(TARGET_SUBDIR)/libatomic && \
41027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41029 "RANLIB=$${RANLIB}" \
41030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41031 clean) \
41032 || exit 1
41034 @endif target-libatomic
41036 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
41037 maybe-distclean-target-libatomic:
41038 @if target-libatomic
41039 maybe-distclean-target-libatomic: distclean-target-libatomic
41041 distclean-target-libatomic:
41042 @: $(MAKE); $(unstage)
41043 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41044 r=`${PWD_COMMAND}`; export r; \
41045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41046 $(NORMAL_TARGET_EXPORTS) \
41047 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
41048 for flag in $(EXTRA_TARGET_FLAGS); do \
41049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41050 done; \
41051 (cd $(TARGET_SUBDIR)/libatomic && \
41052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41054 "RANLIB=$${RANLIB}" \
41055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41056 distclean) \
41057 || exit 1
41059 @endif target-libatomic
41061 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
41062 maybe-maintainer-clean-target-libatomic:
41063 @if target-libatomic
41064 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
41066 maintainer-clean-target-libatomic:
41067 @: $(MAKE); $(unstage)
41068 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41069 r=`${PWD_COMMAND}`; export r; \
41070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41071 $(NORMAL_TARGET_EXPORTS) \
41072 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
41073 for flag in $(EXTRA_TARGET_FLAGS); do \
41074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41075 done; \
41076 (cd $(TARGET_SUBDIR)/libatomic && \
41077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41079 "RANLIB=$${RANLIB}" \
41080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41081 maintainer-clean) \
41082 || exit 1
41084 @endif target-libatomic
41088 @if target-libmudflap
41089 .PHONY: check-target-libmudflap-c++
41090 check-target-libmudflap-c++:
41091 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
41093 @endif target-libmudflap
41095 @if target-libgomp
41096 .PHONY: check-target-libgomp-c++
41097 check-target-libgomp-c++:
41098 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
41100 @endif target-libgomp
41102 @if target-libitm
41103 .PHONY: check-target-libitm-c++
41104 check-target-libitm-c++:
41105 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
41107 @endif target-libitm
41109 # ----------
41110 # GCC module
41111 # ----------
41113 @if gcc-no-bootstrap
41114 .PHONY: cross
41115 cross: all-build all-gas all-ld
41116 @r=`${PWD_COMMAND}`; export r; \
41117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41118 $(HOST_EXPORTS) \
41119 echo "Building the C and C++ compiler"; \
41120 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41121 @r=`${PWD_COMMAND}`; export r; \
41122 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41123 echo "Building runtime libraries"; \
41124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41125 @endif gcc-no-bootstrap
41127 @if gcc
41129 .PHONY: check-gcc-c check-c
41130 check-gcc-c:
41131 r=`${PWD_COMMAND}`; export r; \
41132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41133 $(HOST_EXPORTS) \
41134 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
41135 check-c: check-gcc-c
41137 .PHONY: check-gcc-c++ check-c++
41138 check-gcc-c++:
41139 r=`${PWD_COMMAND}`; export r; \
41140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41141 $(HOST_EXPORTS) \
41142 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
41143 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
41145 .PHONY: check-gcc-fortran check-fortran
41146 check-gcc-fortran:
41147 r=`${PWD_COMMAND}`; export r; \
41148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41149 $(HOST_EXPORTS) \
41150 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
41151 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
41153 .PHONY: check-gcc-java check-java
41154 check-gcc-java:
41155 r=`${PWD_COMMAND}`; export r; \
41156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41157 $(HOST_EXPORTS) \
41158 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
41159 check-java: check-gcc-java check-target-libjava
41161 .PHONY: check-gcc-ada check-ada
41162 check-gcc-ada:
41163 r=`${PWD_COMMAND}`; export r; \
41164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41165 $(HOST_EXPORTS) \
41166 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
41167 check-ada: check-gcc-ada check-target-libada
41169 .PHONY: check-gcc-objc check-objc
41170 check-gcc-objc:
41171 r=`${PWD_COMMAND}`; export r; \
41172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41173 $(HOST_EXPORTS) \
41174 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
41175 check-objc: check-gcc-objc check-target-libobjc
41177 .PHONY: check-gcc-obj-c++ check-obj-c++
41178 check-gcc-obj-c++:
41179 r=`${PWD_COMMAND}`; export r; \
41180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41181 $(HOST_EXPORTS) \
41182 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
41183 check-obj-c++: check-gcc-obj-c++
41185 .PHONY: check-gcc-go check-go
41186 check-gcc-go:
41187 r=`${PWD_COMMAND}`; export r; \
41188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41189 $(HOST_EXPORTS) \
41190 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
41191 check-go: check-gcc-go check-target-libgo
41194 # The gcc part of install-no-fixedincludes, which relies on an intimate
41195 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
41196 .PHONY: gcc-install-no-fixedincludes
41197 gcc-install-no-fixedincludes:
41198 @if [ -f ./gcc/Makefile ]; then \
41199 r=`${PWD_COMMAND}`; export r; \
41200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41201 $(HOST_EXPORTS) \
41202 (cd ./gcc \
41203 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
41204 else true; fi
41205 @endif gcc
41207 # ---------------------
41208 # GCC bootstrap support
41209 # ---------------------
41211 # We track the current stage (the one in 'gcc') in the stage_current file.
41212 # stage_last instead tracks the stage that was built last. These targets
41213 # are dummy when toplevel bootstrap is not active.
41215 # While making host and target tools, symlinks to the final stage must be
41216 # there, so $(unstage) should be run at various points. To avoid excessive
41217 # recursive invocations of make, we "inline" them using a variable. These
41218 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41219 # to avoid warnings from the GNU Make job server.
41221 unstage = :
41222 stage = :
41223 current_stage = ""
41225 @if gcc-bootstrap
41226 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41227 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41228 current_stage = "`cat stage_current 2> /dev/null`"
41229 @endif gcc-bootstrap
41231 .PHONY: unstage stage
41232 unstage:
41233 @: $(MAKE); $(unstage)
41234 stage:
41235 @: $(MAKE); $(stage)
41237 # Disable commands for lean bootstrap.
41238 LEAN = false
41240 # We name the build directories for the various stages "stage1-gcc",
41241 # "stage2-gcc","stage3-gcc", etc.
41243 # Since the 'compare' process will fail (on debugging information) if any
41244 # directory names are different, we need to link the gcc directory for
41245 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41246 # the build directories constant as well. For the latter, we use naked names
41247 # like 'gcc', because the scripts in that directory assume it. We use
41248 # mv on platforms where symlinks to directories do not work or are not
41249 # reliable.
41251 # 'touch' doesn't work right on some platforms.
41252 STAMP = echo timestamp >
41254 # We only want to compare .o files, so set this!
41255 objext = .o
41258 .PHONY: stage1-start stage1-end
41260 stage1-start::
41261 @: $(MAKE); $(stage); \
41262 echo stage1 > stage_current ; \
41263 echo stage1 > stage_last; \
41264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41265 @if bfd
41266 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41267 mkdir stage1-bfd; \
41268 mv stage1-bfd bfd
41269 @endif bfd
41270 @if opcodes
41271 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41272 mkdir stage1-opcodes; \
41273 mv stage1-opcodes opcodes
41274 @endif opcodes
41275 @if binutils
41276 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41277 mkdir stage1-binutils; \
41278 mv stage1-binutils binutils
41279 @endif binutils
41280 @if gas
41281 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41282 mkdir stage1-gas; \
41283 mv stage1-gas gas
41284 @endif gas
41285 @if gcc
41286 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41287 mkdir stage1-gcc; \
41288 mv stage1-gcc gcc
41289 @endif gcc
41290 @if gmp
41291 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
41292 mkdir stage1-gmp; \
41293 mv stage1-gmp gmp
41294 @endif gmp
41295 @if mpfr
41296 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
41297 mkdir stage1-mpfr; \
41298 mv stage1-mpfr mpfr
41299 @endif mpfr
41300 @if mpc
41301 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
41302 mkdir stage1-mpc; \
41303 mv stage1-mpc mpc
41304 @endif mpc
41305 @if isl
41306 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
41307 mkdir stage1-isl; \
41308 mv stage1-isl isl
41309 @endif isl
41310 @if cloog
41311 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
41312 mkdir stage1-cloog; \
41313 mv stage1-cloog cloog
41314 @endif cloog
41315 @if libelf
41316 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
41317 mkdir stage1-libelf; \
41318 mv stage1-libelf libelf
41319 @endif libelf
41320 @if gold
41321 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
41322 mkdir stage1-gold; \
41323 mv stage1-gold gold
41324 @endif gold
41325 @if intl
41326 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41327 mkdir stage1-intl; \
41328 mv stage1-intl intl
41329 @endif intl
41330 @if ld
41331 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41332 mkdir stage1-ld; \
41333 mv stage1-ld ld
41334 @endif ld
41335 @if libcpp
41336 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41337 mkdir stage1-libcpp; \
41338 mv stage1-libcpp libcpp
41339 @endif libcpp
41340 @if libdecnumber
41341 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41342 mkdir stage1-libdecnumber; \
41343 mv stage1-libdecnumber libdecnumber
41344 @endif libdecnumber
41345 @if libiberty
41346 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41347 mkdir stage1-libiberty; \
41348 mv stage1-libiberty libiberty
41349 @endif libiberty
41350 @if zlib
41351 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41352 mkdir stage1-zlib; \
41353 mv stage1-zlib zlib
41354 @endif zlib
41355 @if lto-plugin
41356 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
41357 mkdir stage1-lto-plugin; \
41358 mv stage1-lto-plugin lto-plugin
41359 @endif lto-plugin
41360 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41361 mkdir stage1-$(TARGET_SUBDIR); \
41362 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41364 stage1-end::
41365 @if bfd
41366 @if test -d $(HOST_SUBDIR)/bfd ; then \
41367 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41369 @endif bfd
41370 @if opcodes
41371 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41372 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41374 @endif opcodes
41375 @if binutils
41376 @if test -d $(HOST_SUBDIR)/binutils ; then \
41377 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41379 @endif binutils
41380 @if gas
41381 @if test -d $(HOST_SUBDIR)/gas ; then \
41382 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41384 @endif gas
41385 @if gcc
41386 @if test -d $(HOST_SUBDIR)/gcc ; then \
41387 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41389 @endif gcc
41390 @if gmp
41391 @if test -d $(HOST_SUBDIR)/gmp ; then \
41392 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
41394 @endif gmp
41395 @if mpfr
41396 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41397 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
41399 @endif mpfr
41400 @if mpc
41401 @if test -d $(HOST_SUBDIR)/mpc ; then \
41402 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
41404 @endif mpc
41405 @if isl
41406 @if test -d $(HOST_SUBDIR)/isl ; then \
41407 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
41409 @endif isl
41410 @if cloog
41411 @if test -d $(HOST_SUBDIR)/cloog ; then \
41412 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
41414 @endif cloog
41415 @if libelf
41416 @if test -d $(HOST_SUBDIR)/libelf ; then \
41417 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
41419 @endif libelf
41420 @if gold
41421 @if test -d $(HOST_SUBDIR)/gold ; then \
41422 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
41424 @endif gold
41425 @if intl
41426 @if test -d $(HOST_SUBDIR)/intl ; then \
41427 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41429 @endif intl
41430 @if ld
41431 @if test -d $(HOST_SUBDIR)/ld ; then \
41432 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41434 @endif ld
41435 @if libcpp
41436 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41437 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41439 @endif libcpp
41440 @if libdecnumber
41441 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41442 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41444 @endif libdecnumber
41445 @if libiberty
41446 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41447 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41449 @endif libiberty
41450 @if zlib
41451 @if test -d $(HOST_SUBDIR)/zlib ; then \
41452 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41454 @endif zlib
41455 @if lto-plugin
41456 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41457 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
41459 @endif lto-plugin
41460 @if test -d $(TARGET_SUBDIR) ; then \
41461 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41463 rm -f stage_current
41465 # Bubble a bug fix through all the stages up to stage 1. They are
41466 # remade, but not reconfigured. The next stage (if any) will not be
41467 # reconfigured either.
41468 .PHONY: stage1-bubble
41469 stage1-bubble::
41470 @r=`${PWD_COMMAND}`; export r; \
41471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41472 if test -f stage1-lean ; then \
41473 echo Skipping rebuild of stage1 ; \
41474 else \
41475 $(MAKE) stage1-start; \
41476 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41479 .PHONY: all-stage1 clean-stage1
41480 do-clean: clean-stage1
41482 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41483 # only possibility, but now it conflicts with no-bootstrap rules
41484 @if gcc-bootstrap
41489 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41491 .PHONY: distclean-stage1
41492 distclean-stage1::
41493 @: $(MAKE); $(stage)
41494 @test "`cat stage_last`" != stage1 || rm -f stage_last
41495 rm -rf stage1-*
41498 @endif gcc-bootstrap
41501 .PHONY: stage2-start stage2-end
41503 stage2-start::
41504 @: $(MAKE); $(stage); \
41505 echo stage2 > stage_current ; \
41506 echo stage2 > stage_last; \
41507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41508 @if bfd
41509 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41510 mkdir stage2-bfd; \
41511 mv stage2-bfd bfd ; \
41512 mv stage1-bfd prev-bfd || test -f stage1-lean
41513 @endif bfd
41514 @if opcodes
41515 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41516 mkdir stage2-opcodes; \
41517 mv stage2-opcodes opcodes ; \
41518 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41519 @endif opcodes
41520 @if binutils
41521 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41522 mkdir stage2-binutils; \
41523 mv stage2-binutils binutils ; \
41524 mv stage1-binutils prev-binutils || test -f stage1-lean
41525 @endif binutils
41526 @if gas
41527 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41528 mkdir stage2-gas; \
41529 mv stage2-gas gas ; \
41530 mv stage1-gas prev-gas || test -f stage1-lean
41531 @endif gas
41532 @if gcc
41533 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41534 mkdir stage2-gcc; \
41535 mv stage2-gcc gcc ; \
41536 mv stage1-gcc prev-gcc || test -f stage1-lean
41537 @endif gcc
41538 @if gmp
41539 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41540 mkdir stage2-gmp; \
41541 mv stage2-gmp gmp ; \
41542 mv stage1-gmp prev-gmp || test -f stage1-lean
41543 @endif gmp
41544 @if mpfr
41545 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41546 mkdir stage2-mpfr; \
41547 mv stage2-mpfr mpfr ; \
41548 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41549 @endif mpfr
41550 @if mpc
41551 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41552 mkdir stage2-mpc; \
41553 mv stage2-mpc mpc ; \
41554 mv stage1-mpc prev-mpc || test -f stage1-lean
41555 @endif mpc
41556 @if isl
41557 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
41558 mkdir stage2-isl; \
41559 mv stage2-isl isl ; \
41560 mv stage1-isl prev-isl || test -f stage1-lean
41561 @endif isl
41562 @if cloog
41563 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41564 mkdir stage2-cloog; \
41565 mv stage2-cloog cloog ; \
41566 mv stage1-cloog prev-cloog || test -f stage1-lean
41567 @endif cloog
41568 @if libelf
41569 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41570 mkdir stage2-libelf; \
41571 mv stage2-libelf libelf ; \
41572 mv stage1-libelf prev-libelf || test -f stage1-lean
41573 @endif libelf
41574 @if gold
41575 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41576 mkdir stage2-gold; \
41577 mv stage2-gold gold ; \
41578 mv stage1-gold prev-gold || test -f stage1-lean
41579 @endif gold
41580 @if intl
41581 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41582 mkdir stage2-intl; \
41583 mv stage2-intl intl ; \
41584 mv stage1-intl prev-intl || test -f stage1-lean
41585 @endif intl
41586 @if ld
41587 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41588 mkdir stage2-ld; \
41589 mv stage2-ld ld ; \
41590 mv stage1-ld prev-ld || test -f stage1-lean
41591 @endif ld
41592 @if libcpp
41593 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41594 mkdir stage2-libcpp; \
41595 mv stage2-libcpp libcpp ; \
41596 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41597 @endif libcpp
41598 @if libdecnumber
41599 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41600 mkdir stage2-libdecnumber; \
41601 mv stage2-libdecnumber libdecnumber ; \
41602 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41603 @endif libdecnumber
41604 @if libiberty
41605 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41606 mkdir stage2-libiberty; \
41607 mv stage2-libiberty libiberty ; \
41608 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41609 @endif libiberty
41610 @if zlib
41611 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41612 mkdir stage2-zlib; \
41613 mv stage2-zlib zlib ; \
41614 mv stage1-zlib prev-zlib || test -f stage1-lean
41615 @endif zlib
41616 @if lto-plugin
41617 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41618 mkdir stage2-lto-plugin; \
41619 mv stage2-lto-plugin lto-plugin ; \
41620 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41621 @endif lto-plugin
41622 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41623 mkdir stage2-$(TARGET_SUBDIR); \
41624 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41625 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41627 stage2-end::
41628 @if bfd
41629 @if test -d $(HOST_SUBDIR)/bfd ; then \
41630 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41631 mv prev-bfd stage1-bfd ; : ; \
41633 @endif bfd
41634 @if opcodes
41635 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41636 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41637 mv prev-opcodes stage1-opcodes ; : ; \
41639 @endif opcodes
41640 @if binutils
41641 @if test -d $(HOST_SUBDIR)/binutils ; then \
41642 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41643 mv prev-binutils stage1-binutils ; : ; \
41645 @endif binutils
41646 @if gas
41647 @if test -d $(HOST_SUBDIR)/gas ; then \
41648 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41649 mv prev-gas stage1-gas ; : ; \
41651 @endif gas
41652 @if gcc
41653 @if test -d $(HOST_SUBDIR)/gcc ; then \
41654 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41655 mv prev-gcc stage1-gcc ; : ; \
41657 @endif gcc
41658 @if gmp
41659 @if test -d $(HOST_SUBDIR)/gmp ; then \
41660 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41661 mv prev-gmp stage1-gmp ; : ; \
41663 @endif gmp
41664 @if mpfr
41665 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41666 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41667 mv prev-mpfr stage1-mpfr ; : ; \
41669 @endif mpfr
41670 @if mpc
41671 @if test -d $(HOST_SUBDIR)/mpc ; then \
41672 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41673 mv prev-mpc stage1-mpc ; : ; \
41675 @endif mpc
41676 @if isl
41677 @if test -d $(HOST_SUBDIR)/isl ; then \
41678 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
41679 mv prev-isl stage1-isl ; : ; \
41681 @endif isl
41682 @if cloog
41683 @if test -d $(HOST_SUBDIR)/cloog ; then \
41684 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41685 mv prev-cloog stage1-cloog ; : ; \
41687 @endif cloog
41688 @if libelf
41689 @if test -d $(HOST_SUBDIR)/libelf ; then \
41690 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41691 mv prev-libelf stage1-libelf ; : ; \
41693 @endif libelf
41694 @if gold
41695 @if test -d $(HOST_SUBDIR)/gold ; then \
41696 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41697 mv prev-gold stage1-gold ; : ; \
41699 @endif gold
41700 @if intl
41701 @if test -d $(HOST_SUBDIR)/intl ; then \
41702 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41703 mv prev-intl stage1-intl ; : ; \
41705 @endif intl
41706 @if ld
41707 @if test -d $(HOST_SUBDIR)/ld ; then \
41708 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41709 mv prev-ld stage1-ld ; : ; \
41711 @endif ld
41712 @if libcpp
41713 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41714 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41715 mv prev-libcpp stage1-libcpp ; : ; \
41717 @endif libcpp
41718 @if libdecnumber
41719 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41720 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41721 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41723 @endif libdecnumber
41724 @if libiberty
41725 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41726 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41727 mv prev-libiberty stage1-libiberty ; : ; \
41729 @endif libiberty
41730 @if zlib
41731 @if test -d $(HOST_SUBDIR)/zlib ; then \
41732 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41733 mv prev-zlib stage1-zlib ; : ; \
41735 @endif zlib
41736 @if lto-plugin
41737 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41738 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41739 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41741 @endif lto-plugin
41742 @if test -d $(TARGET_SUBDIR) ; then \
41743 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41744 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41746 rm -f stage_current
41748 # Bubble a bug fix through all the stages up to stage 2. They are
41749 # remade, but not reconfigured. The next stage (if any) will not be
41750 # reconfigured either.
41751 .PHONY: stage2-bubble
41752 stage2-bubble:: stage1-bubble
41753 @r=`${PWD_COMMAND}`; export r; \
41754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41755 if test -f stage2-lean || test -f stage1-lean ; then \
41756 echo Skipping rebuild of stage2 ; \
41757 else \
41758 $(MAKE) stage2-start; \
41759 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41762 .PHONY: all-stage2 clean-stage2
41763 do-clean: clean-stage2
41765 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41766 # only possibility, but now it conflicts with no-bootstrap rules
41767 @if gcc-bootstrap
41771 .PHONY: bootstrap2 bootstrap2-lean
41772 bootstrap2:
41773 echo stage2 > stage_final
41774 @r=`${PWD_COMMAND}`; export r; \
41775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41776 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41777 @: $(MAKE); $(unstage)
41778 @r=`${PWD_COMMAND}`; export r; \
41779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41780 TFLAGS="$(STAGE2_TFLAGS)"; \
41781 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41783 bootstrap2-lean:
41784 echo stage2 > stage_final
41785 @r=`${PWD_COMMAND}`; export r; \
41786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41788 @: $(MAKE); $(unstage)
41789 @r=`${PWD_COMMAND}`; export r; \
41790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41791 TFLAGS="$(STAGE2_TFLAGS)"; \
41792 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41795 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41796 distclean-stage1:: distclean-stage2
41797 .PHONY: distclean-stage2
41798 distclean-stage2::
41799 @: $(MAKE); $(stage)
41800 @test "`cat stage_last`" != stage2 || rm -f stage_last
41801 rm -rf stage2-*
41804 @endif gcc-bootstrap
41807 .PHONY: stage3-start stage3-end
41809 stage3-start::
41810 @: $(MAKE); $(stage); \
41811 echo stage3 > stage_current ; \
41812 echo stage3 > stage_last; \
41813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41814 @if bfd
41815 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41816 mkdir stage3-bfd; \
41817 mv stage3-bfd bfd ; \
41818 mv stage2-bfd prev-bfd || test -f stage2-lean
41819 @endif bfd
41820 @if opcodes
41821 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41822 mkdir stage3-opcodes; \
41823 mv stage3-opcodes opcodes ; \
41824 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41825 @endif opcodes
41826 @if binutils
41827 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41828 mkdir stage3-binutils; \
41829 mv stage3-binutils binutils ; \
41830 mv stage2-binutils prev-binutils || test -f stage2-lean
41831 @endif binutils
41832 @if gas
41833 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41834 mkdir stage3-gas; \
41835 mv stage3-gas gas ; \
41836 mv stage2-gas prev-gas || test -f stage2-lean
41837 @endif gas
41838 @if gcc
41839 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41840 mkdir stage3-gcc; \
41841 mv stage3-gcc gcc ; \
41842 mv stage2-gcc prev-gcc || test -f stage2-lean
41843 @endif gcc
41844 @if gmp
41845 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41846 mkdir stage3-gmp; \
41847 mv stage3-gmp gmp ; \
41848 mv stage2-gmp prev-gmp || test -f stage2-lean
41849 @endif gmp
41850 @if mpfr
41851 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41852 mkdir stage3-mpfr; \
41853 mv stage3-mpfr mpfr ; \
41854 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41855 @endif mpfr
41856 @if mpc
41857 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41858 mkdir stage3-mpc; \
41859 mv stage3-mpc mpc ; \
41860 mv stage2-mpc prev-mpc || test -f stage2-lean
41861 @endif mpc
41862 @if isl
41863 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
41864 mkdir stage3-isl; \
41865 mv stage3-isl isl ; \
41866 mv stage2-isl prev-isl || test -f stage2-lean
41867 @endif isl
41868 @if cloog
41869 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41870 mkdir stage3-cloog; \
41871 mv stage3-cloog cloog ; \
41872 mv stage2-cloog prev-cloog || test -f stage2-lean
41873 @endif cloog
41874 @if libelf
41875 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41876 mkdir stage3-libelf; \
41877 mv stage3-libelf libelf ; \
41878 mv stage2-libelf prev-libelf || test -f stage2-lean
41879 @endif libelf
41880 @if gold
41881 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41882 mkdir stage3-gold; \
41883 mv stage3-gold gold ; \
41884 mv stage2-gold prev-gold || test -f stage2-lean
41885 @endif gold
41886 @if intl
41887 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41888 mkdir stage3-intl; \
41889 mv stage3-intl intl ; \
41890 mv stage2-intl prev-intl || test -f stage2-lean
41891 @endif intl
41892 @if ld
41893 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41894 mkdir stage3-ld; \
41895 mv stage3-ld ld ; \
41896 mv stage2-ld prev-ld || test -f stage2-lean
41897 @endif ld
41898 @if libcpp
41899 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41900 mkdir stage3-libcpp; \
41901 mv stage3-libcpp libcpp ; \
41902 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41903 @endif libcpp
41904 @if libdecnumber
41905 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41906 mkdir stage3-libdecnumber; \
41907 mv stage3-libdecnumber libdecnumber ; \
41908 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41909 @endif libdecnumber
41910 @if libiberty
41911 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41912 mkdir stage3-libiberty; \
41913 mv stage3-libiberty libiberty ; \
41914 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41915 @endif libiberty
41916 @if zlib
41917 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41918 mkdir stage3-zlib; \
41919 mv stage3-zlib zlib ; \
41920 mv stage2-zlib prev-zlib || test -f stage2-lean
41921 @endif zlib
41922 @if lto-plugin
41923 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41924 mkdir stage3-lto-plugin; \
41925 mv stage3-lto-plugin lto-plugin ; \
41926 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41927 @endif lto-plugin
41928 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41929 mkdir stage3-$(TARGET_SUBDIR); \
41930 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41931 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41933 stage3-end::
41934 @if bfd
41935 @if test -d $(HOST_SUBDIR)/bfd ; then \
41936 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41937 mv prev-bfd stage2-bfd ; : ; \
41939 @endif bfd
41940 @if opcodes
41941 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41942 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41943 mv prev-opcodes stage2-opcodes ; : ; \
41945 @endif opcodes
41946 @if binutils
41947 @if test -d $(HOST_SUBDIR)/binutils ; then \
41948 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41949 mv prev-binutils stage2-binutils ; : ; \
41951 @endif binutils
41952 @if gas
41953 @if test -d $(HOST_SUBDIR)/gas ; then \
41954 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41955 mv prev-gas stage2-gas ; : ; \
41957 @endif gas
41958 @if gcc
41959 @if test -d $(HOST_SUBDIR)/gcc ; then \
41960 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41961 mv prev-gcc stage2-gcc ; : ; \
41963 @endif gcc
41964 @if gmp
41965 @if test -d $(HOST_SUBDIR)/gmp ; then \
41966 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41967 mv prev-gmp stage2-gmp ; : ; \
41969 @endif gmp
41970 @if mpfr
41971 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41972 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41973 mv prev-mpfr stage2-mpfr ; : ; \
41975 @endif mpfr
41976 @if mpc
41977 @if test -d $(HOST_SUBDIR)/mpc ; then \
41978 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41979 mv prev-mpc stage2-mpc ; : ; \
41981 @endif mpc
41982 @if isl
41983 @if test -d $(HOST_SUBDIR)/isl ; then \
41984 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
41985 mv prev-isl stage2-isl ; : ; \
41987 @endif isl
41988 @if cloog
41989 @if test -d $(HOST_SUBDIR)/cloog ; then \
41990 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41991 mv prev-cloog stage2-cloog ; : ; \
41993 @endif cloog
41994 @if libelf
41995 @if test -d $(HOST_SUBDIR)/libelf ; then \
41996 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41997 mv prev-libelf stage2-libelf ; : ; \
41999 @endif libelf
42000 @if gold
42001 @if test -d $(HOST_SUBDIR)/gold ; then \
42002 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
42003 mv prev-gold stage2-gold ; : ; \
42005 @endif gold
42006 @if intl
42007 @if test -d $(HOST_SUBDIR)/intl ; then \
42008 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42009 mv prev-intl stage2-intl ; : ; \
42011 @endif intl
42012 @if ld
42013 @if test -d $(HOST_SUBDIR)/ld ; then \
42014 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42015 mv prev-ld stage2-ld ; : ; \
42017 @endif ld
42018 @if libcpp
42019 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42020 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42021 mv prev-libcpp stage2-libcpp ; : ; \
42023 @endif libcpp
42024 @if libdecnumber
42025 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42026 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42027 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42029 @endif libdecnumber
42030 @if libiberty
42031 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42032 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42033 mv prev-libiberty stage2-libiberty ; : ; \
42035 @endif libiberty
42036 @if zlib
42037 @if test -d $(HOST_SUBDIR)/zlib ; then \
42038 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42039 mv prev-zlib stage2-zlib ; : ; \
42041 @endif zlib
42042 @if lto-plugin
42043 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42044 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
42045 mv prev-lto-plugin stage2-lto-plugin ; : ; \
42047 @endif lto-plugin
42048 @if test -d $(TARGET_SUBDIR) ; then \
42049 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42050 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42052 rm -f stage_current
42054 # Bubble a bug fix through all the stages up to stage 3. They are
42055 # remade, but not reconfigured. The next stage (if any) will not be
42056 # reconfigured either.
42057 .PHONY: stage3-bubble
42058 stage3-bubble:: stage2-bubble
42059 @r=`${PWD_COMMAND}`; export r; \
42060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42061 if test -f stage3-lean || test -f stage2-lean ; then \
42062 echo Skipping rebuild of stage3 ; \
42063 else \
42064 $(MAKE) stage3-start; \
42065 if $(LEAN); then \
42066 rm -rf stage1-* ; \
42067 $(STAMP) stage1-lean ; \
42068 fi; \
42069 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42071 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42073 .PHONY: all-stage3 clean-stage3
42074 do-clean: clean-stage3
42076 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42077 # only possibility, but now it conflicts with no-bootstrap rules
42078 @if gcc-bootstrap
42080 compare:
42081 @r=`${PWD_COMMAND}`; export r; \
42082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42083 if test -f stage2-lean; then \
42084 echo Cannot compare object files as stage 2 was deleted. ; \
42085 exit 0 ; \
42086 fi; \
42087 : $(MAKE); $(stage); \
42088 rm -f .bad_compare ; \
42089 echo Comparing stages 2 and 3 ; \
42090 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
42091 files=`find stage3-* -name "*$(objext)" -print | \
42092 sed -n s,^stage$$sed-,,p` ; \
42093 for file in $${files} ; do \
42094 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
42095 if test ! -f $$f1; then continue; fi; \
42096 $(do-compare) > /dev/null 2>&1; \
42097 if test $$? -eq 1; then \
42098 case $$file in \
42099 @compare_exclusions@) \
42100 echo warning: $$file differs ;; \
42101 *) \
42102 echo $$file differs >> .bad_compare ;; \
42103 esac ; \
42104 fi ; \
42105 done ; \
42106 if [ -f .bad_compare ]; then \
42107 echo "Bootstrap comparison failure!"; \
42108 cat .bad_compare; \
42109 exit 1; \
42110 else \
42111 echo Comparison successful.; \
42112 fi ; \
42113 $(STAMP) compare
42114 if $(LEAN); then \
42115 rm -rf stage2-*; \
42116 $(STAMP) stage2-lean; \
42121 .PHONY: bootstrap bootstrap-lean
42122 bootstrap:
42123 echo stage3 > stage_final
42124 @r=`${PWD_COMMAND}`; export r; \
42125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42126 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42127 @: $(MAKE); $(unstage)
42128 @r=`${PWD_COMMAND}`; export r; \
42129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42130 TFLAGS="$(STAGE3_TFLAGS)"; \
42131 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42133 bootstrap-lean:
42134 echo stage3 > stage_final
42135 @r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42138 @: $(MAKE); $(unstage)
42139 @r=`${PWD_COMMAND}`; export r; \
42140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42141 TFLAGS="$(STAGE3_TFLAGS)"; \
42142 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42145 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42146 distclean-stage2:: distclean-stage3
42147 .PHONY: distclean-stage3
42148 distclean-stage3::
42149 @: $(MAKE); $(stage)
42150 @test "`cat stage_last`" != stage3 || rm -f stage_last
42151 rm -rf stage3-* compare
42154 .PHONY: cleanstrap
42155 cleanstrap: do-distclean local-clean
42156 echo stage3 > stage_final
42157 @r=`${PWD_COMMAND}`; export r; \
42158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42159 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42160 @: $(MAKE); $(unstage)
42161 @r=`${PWD_COMMAND}`; export r; \
42162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42163 TFLAGS="$(STAGE3_TFLAGS)"; \
42164 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42166 @endif gcc-bootstrap
42169 .PHONY: stage4-start stage4-end
42171 stage4-start::
42172 @: $(MAKE); $(stage); \
42173 echo stage4 > stage_current ; \
42174 echo stage4 > stage_last; \
42175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42176 @if bfd
42177 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42178 mkdir stage4-bfd; \
42179 mv stage4-bfd bfd ; \
42180 mv stage3-bfd prev-bfd || test -f stage3-lean
42181 @endif bfd
42182 @if opcodes
42183 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42184 mkdir stage4-opcodes; \
42185 mv stage4-opcodes opcodes ; \
42186 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42187 @endif opcodes
42188 @if binutils
42189 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42190 mkdir stage4-binutils; \
42191 mv stage4-binutils binutils ; \
42192 mv stage3-binutils prev-binutils || test -f stage3-lean
42193 @endif binutils
42194 @if gas
42195 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42196 mkdir stage4-gas; \
42197 mv stage4-gas gas ; \
42198 mv stage3-gas prev-gas || test -f stage3-lean
42199 @endif gas
42200 @if gcc
42201 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42202 mkdir stage4-gcc; \
42203 mv stage4-gcc gcc ; \
42204 mv stage3-gcc prev-gcc || test -f stage3-lean
42205 @endif gcc
42206 @if gmp
42207 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
42208 mkdir stage4-gmp; \
42209 mv stage4-gmp gmp ; \
42210 mv stage3-gmp prev-gmp || test -f stage3-lean
42211 @endif gmp
42212 @if mpfr
42213 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
42214 mkdir stage4-mpfr; \
42215 mv stage4-mpfr mpfr ; \
42216 mv stage3-mpfr prev-mpfr || test -f stage3-lean
42217 @endif mpfr
42218 @if mpc
42219 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
42220 mkdir stage4-mpc; \
42221 mv stage4-mpc mpc ; \
42222 mv stage3-mpc prev-mpc || test -f stage3-lean
42223 @endif mpc
42224 @if isl
42225 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
42226 mkdir stage4-isl; \
42227 mv stage4-isl isl ; \
42228 mv stage3-isl prev-isl || test -f stage3-lean
42229 @endif isl
42230 @if cloog
42231 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
42232 mkdir stage4-cloog; \
42233 mv stage4-cloog cloog ; \
42234 mv stage3-cloog prev-cloog || test -f stage3-lean
42235 @endif cloog
42236 @if libelf
42237 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
42238 mkdir stage4-libelf; \
42239 mv stage4-libelf libelf ; \
42240 mv stage3-libelf prev-libelf || test -f stage3-lean
42241 @endif libelf
42242 @if gold
42243 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
42244 mkdir stage4-gold; \
42245 mv stage4-gold gold ; \
42246 mv stage3-gold prev-gold || test -f stage3-lean
42247 @endif gold
42248 @if intl
42249 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42250 mkdir stage4-intl; \
42251 mv stage4-intl intl ; \
42252 mv stage3-intl prev-intl || test -f stage3-lean
42253 @endif intl
42254 @if ld
42255 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42256 mkdir stage4-ld; \
42257 mv stage4-ld ld ; \
42258 mv stage3-ld prev-ld || test -f stage3-lean
42259 @endif ld
42260 @if libcpp
42261 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42262 mkdir stage4-libcpp; \
42263 mv stage4-libcpp libcpp ; \
42264 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42265 @endif libcpp
42266 @if libdecnumber
42267 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42268 mkdir stage4-libdecnumber; \
42269 mv stage4-libdecnumber libdecnumber ; \
42270 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42271 @endif libdecnumber
42272 @if libiberty
42273 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42274 mkdir stage4-libiberty; \
42275 mv stage4-libiberty libiberty ; \
42276 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42277 @endif libiberty
42278 @if zlib
42279 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42280 mkdir stage4-zlib; \
42281 mv stage4-zlib zlib ; \
42282 mv stage3-zlib prev-zlib || test -f stage3-lean
42283 @endif zlib
42284 @if lto-plugin
42285 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
42286 mkdir stage4-lto-plugin; \
42287 mv stage4-lto-plugin lto-plugin ; \
42288 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
42289 @endif lto-plugin
42290 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42291 mkdir stage4-$(TARGET_SUBDIR); \
42292 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42293 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42295 stage4-end::
42296 @if bfd
42297 @if test -d $(HOST_SUBDIR)/bfd ; then \
42298 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42299 mv prev-bfd stage3-bfd ; : ; \
42301 @endif bfd
42302 @if opcodes
42303 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42304 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42305 mv prev-opcodes stage3-opcodes ; : ; \
42307 @endif opcodes
42308 @if binutils
42309 @if test -d $(HOST_SUBDIR)/binutils ; then \
42310 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42311 mv prev-binutils stage3-binutils ; : ; \
42313 @endif binutils
42314 @if gas
42315 @if test -d $(HOST_SUBDIR)/gas ; then \
42316 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42317 mv prev-gas stage3-gas ; : ; \
42319 @endif gas
42320 @if gcc
42321 @if test -d $(HOST_SUBDIR)/gcc ; then \
42322 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42323 mv prev-gcc stage3-gcc ; : ; \
42325 @endif gcc
42326 @if gmp
42327 @if test -d $(HOST_SUBDIR)/gmp ; then \
42328 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
42329 mv prev-gmp stage3-gmp ; : ; \
42331 @endif gmp
42332 @if mpfr
42333 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42334 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
42335 mv prev-mpfr stage3-mpfr ; : ; \
42337 @endif mpfr
42338 @if mpc
42339 @if test -d $(HOST_SUBDIR)/mpc ; then \
42340 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
42341 mv prev-mpc stage3-mpc ; : ; \
42343 @endif mpc
42344 @if isl
42345 @if test -d $(HOST_SUBDIR)/isl ; then \
42346 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
42347 mv prev-isl stage3-isl ; : ; \
42349 @endif isl
42350 @if cloog
42351 @if test -d $(HOST_SUBDIR)/cloog ; then \
42352 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
42353 mv prev-cloog stage3-cloog ; : ; \
42355 @endif cloog
42356 @if libelf
42357 @if test -d $(HOST_SUBDIR)/libelf ; then \
42358 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
42359 mv prev-libelf stage3-libelf ; : ; \
42361 @endif libelf
42362 @if gold
42363 @if test -d $(HOST_SUBDIR)/gold ; then \
42364 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
42365 mv prev-gold stage3-gold ; : ; \
42367 @endif gold
42368 @if intl
42369 @if test -d $(HOST_SUBDIR)/intl ; then \
42370 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42371 mv prev-intl stage3-intl ; : ; \
42373 @endif intl
42374 @if ld
42375 @if test -d $(HOST_SUBDIR)/ld ; then \
42376 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42377 mv prev-ld stage3-ld ; : ; \
42379 @endif ld
42380 @if libcpp
42381 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42382 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42383 mv prev-libcpp stage3-libcpp ; : ; \
42385 @endif libcpp
42386 @if libdecnumber
42387 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42388 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42389 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42391 @endif libdecnumber
42392 @if libiberty
42393 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42394 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42395 mv prev-libiberty stage3-libiberty ; : ; \
42397 @endif libiberty
42398 @if zlib
42399 @if test -d $(HOST_SUBDIR)/zlib ; then \
42400 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42401 mv prev-zlib stage3-zlib ; : ; \
42403 @endif zlib
42404 @if lto-plugin
42405 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42406 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
42407 mv prev-lto-plugin stage3-lto-plugin ; : ; \
42409 @endif lto-plugin
42410 @if test -d $(TARGET_SUBDIR) ; then \
42411 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42412 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42414 rm -f stage_current
42416 # Bubble a bug fix through all the stages up to stage 4. They are
42417 # remade, but not reconfigured. The next stage (if any) will not be
42418 # reconfigured either.
42419 .PHONY: stage4-bubble
42420 stage4-bubble:: stage3-bubble
42421 @r=`${PWD_COMMAND}`; export r; \
42422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42423 if test -f stage4-lean || test -f stage3-lean ; then \
42424 echo Skipping rebuild of stage4 ; \
42425 else \
42426 $(MAKE) stage4-start; \
42427 if $(LEAN); then \
42428 rm -rf stage2-* ; \
42429 $(STAMP) stage2-lean ; \
42430 fi; \
42431 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42433 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42435 .PHONY: all-stage4 clean-stage4
42436 do-clean: clean-stage4
42438 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42439 # only possibility, but now it conflicts with no-bootstrap rules
42440 @if gcc-bootstrap
42442 compare3:
42443 @r=`${PWD_COMMAND}`; export r; \
42444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42445 if test -f stage3-lean; then \
42446 echo Cannot compare object files as stage 3 was deleted. ; \
42447 exit 0 ; \
42448 fi; \
42449 : $(MAKE); $(stage); \
42450 rm -f .bad_compare ; \
42451 echo Comparing stages 3 and 4 ; \
42452 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
42453 files=`find stage4-* -name "*$(objext)" -print | \
42454 sed -n s,^stage$$sed-,,p` ; \
42455 for file in $${files} ; do \
42456 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
42457 if test ! -f $$f1; then continue; fi; \
42458 $(do-compare3) > /dev/null 2>&1; \
42459 if test $$? -eq 1; then \
42460 case $$file in \
42461 @compare_exclusions@) \
42462 echo warning: $$file differs ;; \
42463 *) \
42464 echo $$file differs >> .bad_compare ;; \
42465 esac ; \
42466 fi ; \
42467 done ; \
42468 if [ -f .bad_compare ]; then \
42469 echo "Bootstrap comparison failure!"; \
42470 cat .bad_compare; \
42471 exit 1; \
42472 else \
42473 echo Comparison successful.; \
42474 fi ; \
42475 $(STAMP) compare3
42476 if $(LEAN); then \
42477 rm -rf stage3-*; \
42478 $(STAMP) stage3-lean; \
42483 .PHONY: bootstrap4 bootstrap4-lean
42484 bootstrap4:
42485 echo stage4 > stage_final
42486 @r=`${PWD_COMMAND}`; export r; \
42487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42488 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42489 @: $(MAKE); $(unstage)
42490 @r=`${PWD_COMMAND}`; export r; \
42491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42492 TFLAGS="$(STAGE4_TFLAGS)"; \
42493 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42495 bootstrap4-lean:
42496 echo stage4 > stage_final
42497 @r=`${PWD_COMMAND}`; export r; \
42498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42499 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42500 @: $(MAKE); $(unstage)
42501 @r=`${PWD_COMMAND}`; export r; \
42502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42503 TFLAGS="$(STAGE4_TFLAGS)"; \
42504 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42507 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42508 distclean-stage3:: distclean-stage4
42509 .PHONY: distclean-stage4
42510 distclean-stage4::
42511 @: $(MAKE); $(stage)
42512 @test "`cat stage_last`" != stage4 || rm -f stage_last
42513 rm -rf stage4-* compare3
42516 @endif gcc-bootstrap
42519 .PHONY: stageprofile-start stageprofile-end
42521 stageprofile-start::
42522 @: $(MAKE); $(stage); \
42523 echo stageprofile > stage_current ; \
42524 echo stageprofile > stage_last; \
42525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42526 @if bfd
42527 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42528 mkdir stageprofile-bfd; \
42529 mv stageprofile-bfd bfd ; \
42530 mv stage1-bfd prev-bfd || test -f stage1-lean
42531 @endif bfd
42532 @if opcodes
42533 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42534 mkdir stageprofile-opcodes; \
42535 mv stageprofile-opcodes opcodes ; \
42536 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42537 @endif opcodes
42538 @if binutils
42539 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42540 mkdir stageprofile-binutils; \
42541 mv stageprofile-binutils binutils ; \
42542 mv stage1-binutils prev-binutils || test -f stage1-lean
42543 @endif binutils
42544 @if gas
42545 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42546 mkdir stageprofile-gas; \
42547 mv stageprofile-gas gas ; \
42548 mv stage1-gas prev-gas || test -f stage1-lean
42549 @endif gas
42550 @if gcc
42551 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42552 mkdir stageprofile-gcc; \
42553 mv stageprofile-gcc gcc ; \
42554 mv stage1-gcc prev-gcc || test -f stage1-lean
42555 @endif gcc
42556 @if gmp
42557 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42558 mkdir stageprofile-gmp; \
42559 mv stageprofile-gmp gmp ; \
42560 mv stage1-gmp prev-gmp || test -f stage1-lean
42561 @endif gmp
42562 @if mpfr
42563 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42564 mkdir stageprofile-mpfr; \
42565 mv stageprofile-mpfr mpfr ; \
42566 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42567 @endif mpfr
42568 @if mpc
42569 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42570 mkdir stageprofile-mpc; \
42571 mv stageprofile-mpc mpc ; \
42572 mv stage1-mpc prev-mpc || test -f stage1-lean
42573 @endif mpc
42574 @if isl
42575 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
42576 mkdir stageprofile-isl; \
42577 mv stageprofile-isl isl ; \
42578 mv stage1-isl prev-isl || test -f stage1-lean
42579 @endif isl
42580 @if cloog
42581 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42582 mkdir stageprofile-cloog; \
42583 mv stageprofile-cloog cloog ; \
42584 mv stage1-cloog prev-cloog || test -f stage1-lean
42585 @endif cloog
42586 @if libelf
42587 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42588 mkdir stageprofile-libelf; \
42589 mv stageprofile-libelf libelf ; \
42590 mv stage1-libelf prev-libelf || test -f stage1-lean
42591 @endif libelf
42592 @if gold
42593 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42594 mkdir stageprofile-gold; \
42595 mv stageprofile-gold gold ; \
42596 mv stage1-gold prev-gold || test -f stage1-lean
42597 @endif gold
42598 @if intl
42599 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42600 mkdir stageprofile-intl; \
42601 mv stageprofile-intl intl ; \
42602 mv stage1-intl prev-intl || test -f stage1-lean
42603 @endif intl
42604 @if ld
42605 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42606 mkdir stageprofile-ld; \
42607 mv stageprofile-ld ld ; \
42608 mv stage1-ld prev-ld || test -f stage1-lean
42609 @endif ld
42610 @if libcpp
42611 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42612 mkdir stageprofile-libcpp; \
42613 mv stageprofile-libcpp libcpp ; \
42614 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42615 @endif libcpp
42616 @if libdecnumber
42617 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42618 mkdir stageprofile-libdecnumber; \
42619 mv stageprofile-libdecnumber libdecnumber ; \
42620 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42621 @endif libdecnumber
42622 @if libiberty
42623 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42624 mkdir stageprofile-libiberty; \
42625 mv stageprofile-libiberty libiberty ; \
42626 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42627 @endif libiberty
42628 @if zlib
42629 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42630 mkdir stageprofile-zlib; \
42631 mv stageprofile-zlib zlib ; \
42632 mv stage1-zlib prev-zlib || test -f stage1-lean
42633 @endif zlib
42634 @if lto-plugin
42635 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42636 mkdir stageprofile-lto-plugin; \
42637 mv stageprofile-lto-plugin lto-plugin ; \
42638 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42639 @endif lto-plugin
42640 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42641 mkdir stageprofile-$(TARGET_SUBDIR); \
42642 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42643 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42645 stageprofile-end::
42646 @if bfd
42647 @if test -d $(HOST_SUBDIR)/bfd ; then \
42648 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42649 mv prev-bfd stage1-bfd ; : ; \
42651 @endif bfd
42652 @if opcodes
42653 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42654 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42655 mv prev-opcodes stage1-opcodes ; : ; \
42657 @endif opcodes
42658 @if binutils
42659 @if test -d $(HOST_SUBDIR)/binutils ; then \
42660 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42661 mv prev-binutils stage1-binutils ; : ; \
42663 @endif binutils
42664 @if gas
42665 @if test -d $(HOST_SUBDIR)/gas ; then \
42666 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42667 mv prev-gas stage1-gas ; : ; \
42669 @endif gas
42670 @if gcc
42671 @if test -d $(HOST_SUBDIR)/gcc ; then \
42672 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42673 mv prev-gcc stage1-gcc ; : ; \
42675 @endif gcc
42676 @if gmp
42677 @if test -d $(HOST_SUBDIR)/gmp ; then \
42678 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42679 mv prev-gmp stage1-gmp ; : ; \
42681 @endif gmp
42682 @if mpfr
42683 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42684 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42685 mv prev-mpfr stage1-mpfr ; : ; \
42687 @endif mpfr
42688 @if mpc
42689 @if test -d $(HOST_SUBDIR)/mpc ; then \
42690 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42691 mv prev-mpc stage1-mpc ; : ; \
42693 @endif mpc
42694 @if isl
42695 @if test -d $(HOST_SUBDIR)/isl ; then \
42696 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
42697 mv prev-isl stage1-isl ; : ; \
42699 @endif isl
42700 @if cloog
42701 @if test -d $(HOST_SUBDIR)/cloog ; then \
42702 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42703 mv prev-cloog stage1-cloog ; : ; \
42705 @endif cloog
42706 @if libelf
42707 @if test -d $(HOST_SUBDIR)/libelf ; then \
42708 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42709 mv prev-libelf stage1-libelf ; : ; \
42711 @endif libelf
42712 @if gold
42713 @if test -d $(HOST_SUBDIR)/gold ; then \
42714 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42715 mv prev-gold stage1-gold ; : ; \
42717 @endif gold
42718 @if intl
42719 @if test -d $(HOST_SUBDIR)/intl ; then \
42720 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42721 mv prev-intl stage1-intl ; : ; \
42723 @endif intl
42724 @if ld
42725 @if test -d $(HOST_SUBDIR)/ld ; then \
42726 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42727 mv prev-ld stage1-ld ; : ; \
42729 @endif ld
42730 @if libcpp
42731 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42732 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42733 mv prev-libcpp stage1-libcpp ; : ; \
42735 @endif libcpp
42736 @if libdecnumber
42737 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42738 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42739 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42741 @endif libdecnumber
42742 @if libiberty
42743 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42744 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42745 mv prev-libiberty stage1-libiberty ; : ; \
42747 @endif libiberty
42748 @if zlib
42749 @if test -d $(HOST_SUBDIR)/zlib ; then \
42750 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42751 mv prev-zlib stage1-zlib ; : ; \
42753 @endif zlib
42754 @if lto-plugin
42755 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42756 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42757 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42759 @endif lto-plugin
42760 @if test -d $(TARGET_SUBDIR) ; then \
42761 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42762 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42764 rm -f stage_current
42766 # Bubble a bug fix through all the stages up to stage profile. They are
42767 # remade, but not reconfigured. The next stage (if any) will not be
42768 # reconfigured either.
42769 .PHONY: stageprofile-bubble
42770 stageprofile-bubble:: stage1-bubble
42771 @r=`${PWD_COMMAND}`; export r; \
42772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42773 if test -f stageprofile-lean || test -f stage1-lean ; then \
42774 echo Skipping rebuild of stageprofile ; \
42775 else \
42776 $(MAKE) stageprofile-start; \
42777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42780 .PHONY: all-stageprofile clean-stageprofile
42781 do-clean: clean-stageprofile
42783 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42784 # only possibility, but now it conflicts with no-bootstrap rules
42785 @if gcc-bootstrap
42790 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42791 distclean-stage1:: distclean-stageprofile
42792 .PHONY: distclean-stageprofile
42793 distclean-stageprofile::
42794 @: $(MAKE); $(stage)
42795 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42796 rm -rf stageprofile-*
42799 @endif gcc-bootstrap
42802 .PHONY: stagefeedback-start stagefeedback-end
42804 stagefeedback-start::
42805 @: $(MAKE); $(stage); \
42806 echo stagefeedback > stage_current ; \
42807 echo stagefeedback > stage_last; \
42808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42809 @if bfd
42810 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42811 mkdir stagefeedback-bfd; \
42812 mv stagefeedback-bfd bfd ; \
42813 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42814 @endif bfd
42815 @if opcodes
42816 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42817 mkdir stagefeedback-opcodes; \
42818 mv stagefeedback-opcodes opcodes ; \
42819 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42820 @endif opcodes
42821 @if binutils
42822 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42823 mkdir stagefeedback-binutils; \
42824 mv stagefeedback-binutils binutils ; \
42825 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42826 @endif binutils
42827 @if gas
42828 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42829 mkdir stagefeedback-gas; \
42830 mv stagefeedback-gas gas ; \
42831 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42832 @endif gas
42833 @if gcc
42834 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42835 mkdir stagefeedback-gcc; \
42836 mv stagefeedback-gcc gcc ; \
42837 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42838 @endif gcc
42839 @if gmp
42840 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42841 mkdir stagefeedback-gmp; \
42842 mv stagefeedback-gmp gmp ; \
42843 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42844 @endif gmp
42845 @if mpfr
42846 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42847 mkdir stagefeedback-mpfr; \
42848 mv stagefeedback-mpfr mpfr ; \
42849 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42850 @endif mpfr
42851 @if mpc
42852 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42853 mkdir stagefeedback-mpc; \
42854 mv stagefeedback-mpc mpc ; \
42855 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42856 @endif mpc
42857 @if isl
42858 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
42859 mkdir stagefeedback-isl; \
42860 mv stagefeedback-isl isl ; \
42861 mv stageprofile-isl prev-isl || test -f stageprofile-lean
42862 @endif isl
42863 @if cloog
42864 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42865 mkdir stagefeedback-cloog; \
42866 mv stagefeedback-cloog cloog ; \
42867 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42868 @endif cloog
42869 @if libelf
42870 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42871 mkdir stagefeedback-libelf; \
42872 mv stagefeedback-libelf libelf ; \
42873 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42874 @endif libelf
42875 @if gold
42876 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42877 mkdir stagefeedback-gold; \
42878 mv stagefeedback-gold gold ; \
42879 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42880 @endif gold
42881 @if intl
42882 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42883 mkdir stagefeedback-intl; \
42884 mv stagefeedback-intl intl ; \
42885 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42886 @endif intl
42887 @if ld
42888 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42889 mkdir stagefeedback-ld; \
42890 mv stagefeedback-ld ld ; \
42891 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42892 @endif ld
42893 @if libcpp
42894 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42895 mkdir stagefeedback-libcpp; \
42896 mv stagefeedback-libcpp libcpp ; \
42897 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42898 @endif libcpp
42899 @if libdecnumber
42900 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42901 mkdir stagefeedback-libdecnumber; \
42902 mv stagefeedback-libdecnumber libdecnumber ; \
42903 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42904 @endif libdecnumber
42905 @if libiberty
42906 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42907 mkdir stagefeedback-libiberty; \
42908 mv stagefeedback-libiberty libiberty ; \
42909 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42910 @endif libiberty
42911 @if zlib
42912 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42913 mkdir stagefeedback-zlib; \
42914 mv stagefeedback-zlib zlib ; \
42915 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42916 @endif zlib
42917 @if lto-plugin
42918 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42919 mkdir stagefeedback-lto-plugin; \
42920 mv stagefeedback-lto-plugin lto-plugin ; \
42921 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42922 @endif lto-plugin
42923 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42924 mkdir stagefeedback-$(TARGET_SUBDIR); \
42925 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42926 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42928 stagefeedback-end::
42929 @if bfd
42930 @if test -d $(HOST_SUBDIR)/bfd ; then \
42931 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42932 mv prev-bfd stageprofile-bfd ; : ; \
42934 @endif bfd
42935 @if opcodes
42936 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42937 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42938 mv prev-opcodes stageprofile-opcodes ; : ; \
42940 @endif opcodes
42941 @if binutils
42942 @if test -d $(HOST_SUBDIR)/binutils ; then \
42943 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42944 mv prev-binutils stageprofile-binutils ; : ; \
42946 @endif binutils
42947 @if gas
42948 @if test -d $(HOST_SUBDIR)/gas ; then \
42949 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42950 mv prev-gas stageprofile-gas ; : ; \
42952 @endif gas
42953 @if gcc
42954 @if test -d $(HOST_SUBDIR)/gcc ; then \
42955 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42956 mv prev-gcc stageprofile-gcc ; : ; \
42958 @endif gcc
42959 @if gmp
42960 @if test -d $(HOST_SUBDIR)/gmp ; then \
42961 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42962 mv prev-gmp stageprofile-gmp ; : ; \
42964 @endif gmp
42965 @if mpfr
42966 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42967 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42968 mv prev-mpfr stageprofile-mpfr ; : ; \
42970 @endif mpfr
42971 @if mpc
42972 @if test -d $(HOST_SUBDIR)/mpc ; then \
42973 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42974 mv prev-mpc stageprofile-mpc ; : ; \
42976 @endif mpc
42977 @if isl
42978 @if test -d $(HOST_SUBDIR)/isl ; then \
42979 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
42980 mv prev-isl stageprofile-isl ; : ; \
42982 @endif isl
42983 @if cloog
42984 @if test -d $(HOST_SUBDIR)/cloog ; then \
42985 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42986 mv prev-cloog stageprofile-cloog ; : ; \
42988 @endif cloog
42989 @if libelf
42990 @if test -d $(HOST_SUBDIR)/libelf ; then \
42991 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42992 mv prev-libelf stageprofile-libelf ; : ; \
42994 @endif libelf
42995 @if gold
42996 @if test -d $(HOST_SUBDIR)/gold ; then \
42997 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42998 mv prev-gold stageprofile-gold ; : ; \
43000 @endif gold
43001 @if intl
43002 @if test -d $(HOST_SUBDIR)/intl ; then \
43003 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43004 mv prev-intl stageprofile-intl ; : ; \
43006 @endif intl
43007 @if ld
43008 @if test -d $(HOST_SUBDIR)/ld ; then \
43009 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43010 mv prev-ld stageprofile-ld ; : ; \
43012 @endif ld
43013 @if libcpp
43014 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43015 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43016 mv prev-libcpp stageprofile-libcpp ; : ; \
43018 @endif libcpp
43019 @if libdecnumber
43020 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43021 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43022 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43024 @endif libdecnumber
43025 @if libiberty
43026 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43027 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43028 mv prev-libiberty stageprofile-libiberty ; : ; \
43030 @endif libiberty
43031 @if zlib
43032 @if test -d $(HOST_SUBDIR)/zlib ; then \
43033 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43034 mv prev-zlib stageprofile-zlib ; : ; \
43036 @endif zlib
43037 @if lto-plugin
43038 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43039 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
43040 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
43042 @endif lto-plugin
43043 @if test -d $(TARGET_SUBDIR) ; then \
43044 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43045 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43047 rm -f stage_current
43049 # Bubble a bug fix through all the stages up to stage feedback. They are
43050 # remade, but not reconfigured. The next stage (if any) will not be
43051 # reconfigured either.
43052 .PHONY: stagefeedback-bubble
43053 stagefeedback-bubble:: stageprofile-bubble
43054 @r=`${PWD_COMMAND}`; export r; \
43055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43056 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43057 echo Skipping rebuild of stagefeedback ; \
43058 else \
43059 $(MAKE) stagefeedback-start; \
43060 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43063 .PHONY: all-stagefeedback clean-stagefeedback
43064 do-clean: clean-stagefeedback
43066 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43067 # only possibility, but now it conflicts with no-bootstrap rules
43068 @if gcc-bootstrap
43072 .PHONY: profiledbootstrap profiledbootstrap-lean
43073 profiledbootstrap:
43074 echo stagefeedback > stage_final
43075 @r=`${PWD_COMMAND}`; export r; \
43076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43077 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43078 @: $(MAKE); $(unstage)
43079 @r=`${PWD_COMMAND}`; export r; \
43080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43081 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43082 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43084 profiledbootstrap-lean:
43085 echo stagefeedback > stage_final
43086 @r=`${PWD_COMMAND}`; export r; \
43087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43088 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43089 @: $(MAKE); $(unstage)
43090 @r=`${PWD_COMMAND}`; export r; \
43091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43092 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43093 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43096 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43097 distclean-stageprofile:: distclean-stagefeedback
43098 .PHONY: distclean-stagefeedback
43099 distclean-stagefeedback::
43100 @: $(MAKE); $(stage)
43101 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
43102 rm -rf stagefeedback-*
43105 @endif gcc-bootstrap
43109 stageprofile-end::
43110 $(MAKE) distclean-stagefeedback
43112 stagefeedback-start::
43113 @r=`${PWD_COMMAND}`; export r; \
43114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43115 for i in prev-*; do \
43116 j=`echo $$i | sed s/^prev-//` ; \
43117 cd $$r/$$i && \
43118 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43119 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43120 done
43122 @if gcc-bootstrap
43123 do-distclean: distclean-stage1
43125 # Provide a GCC build when we're building target libraries. This does
43126 # not work as a dependency, just as the minimum necessary to avoid errors.
43127 stage_last:
43128 @r=`${PWD_COMMAND}`; export r; \
43129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43132 # Same as unstage, but not phony and defaulting to stage1-start. We place
43133 # it in the dependency so that for example `make -j3 all-gcc' works.
43134 stage_current:
43135 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43137 .PHONY: restrap
43138 restrap::
43139 @: $(MAKE); $(stage)
43140 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43141 restrap:: all
43142 @endif gcc-bootstrap
43144 # --------------------------------------
43145 # Dependencies between different modules
43146 # --------------------------------------
43148 # Generic dependencies for target modules on host stuff, especially gcc
43149 @if gcc-bootstrap
43150 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
43151 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
43152 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
43153 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
43154 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
43155 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
43156 configure-target-libmudflap: stage_last
43157 configure-target-libssp: stage_last
43158 configure-target-newlib: stage_last
43159 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43160 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43161 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43162 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43163 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43164 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43165 configure-target-libquadmath: stage_last
43166 configure-target-libgfortran: stage_last
43167 configure-target-libobjc: stage_last
43168 configure-target-libgo: stage_last
43169 configure-target-libtermcap: stage_last
43170 configure-target-winsup: stage_last
43171 configure-target-libgloss: stage_last
43172 configure-target-libffi: stage_last
43173 configure-target-libjava: stage_last
43174 configure-target-zlib: stage_last
43175 configure-target-boehm-gc: stage_last
43176 configure-target-rda: stage_last
43177 configure-target-libada: stage_last
43178 configure-stage1-target-libgomp: maybe-all-stage1-gcc
43179 configure-stage2-target-libgomp: maybe-all-stage2-gcc
43180 configure-stage3-target-libgomp: maybe-all-stage3-gcc
43181 configure-stage4-target-libgomp: maybe-all-stage4-gcc
43182 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
43183 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
43184 configure-target-libitm: stage_last
43185 configure-target-libatomic: stage_last
43186 @endif gcc-bootstrap
43188 @if gcc-no-bootstrap
43189 configure-target-libstdc++-v3: maybe-all-gcc
43190 configure-target-libmudflap: maybe-all-gcc
43191 configure-target-libssp: maybe-all-gcc
43192 configure-target-newlib: maybe-all-gcc
43193 configure-target-libgcc: maybe-all-gcc
43194 configure-target-libquadmath: maybe-all-gcc
43195 configure-target-libgfortran: maybe-all-gcc
43196 configure-target-libobjc: maybe-all-gcc
43197 configure-target-libgo: maybe-all-gcc
43198 configure-target-libtermcap: maybe-all-gcc
43199 configure-target-winsup: maybe-all-gcc
43200 configure-target-libgloss: maybe-all-gcc
43201 configure-target-libffi: maybe-all-gcc
43202 configure-target-libjava: maybe-all-gcc
43203 configure-target-zlib: maybe-all-gcc
43204 configure-target-boehm-gc: maybe-all-gcc
43205 configure-target-rda: maybe-all-gcc
43206 configure-target-libada: maybe-all-gcc
43207 configure-target-libgomp: maybe-all-gcc
43208 configure-target-libitm: maybe-all-gcc
43209 configure-target-libatomic: maybe-all-gcc
43210 @endif gcc-no-bootstrap
43213 # There are two types of dependencies here: 'hard' dependencies, where one
43214 # module simply won't build without the other; and 'soft' dependencies, where
43215 # if the depended-on module is missing, the depending module will do without
43216 # or find a substitute somewhere (perhaps installed). Soft dependencies
43217 # are made here to depend on a 'maybe-' target. If you're not sure,
43218 # it's safer to use a soft dependency.
43225 # With all the machinery above in place, it is pretty easy to generate
43226 # dependencies. Host dependencies are a bit more complex because we have
43227 # to check for bootstrap/prebootstrap dependencies. To resolve
43228 # prebootstrap dependencies, prebootstrap modules are gathered in
43229 # a hash table.
43230 all-build-bison: maybe-all-build-texinfo
43231 all-build-flex: maybe-all-build-texinfo
43232 all-build-flex: maybe-all-build-bison
43233 all-build-flex: maybe-all-build-m4
43234 all-build-libiberty: maybe-all-build-texinfo
43235 all-build-m4: maybe-all-build-texinfo
43236 all-build-fixincludes: maybe-all-build-libiberty
43237 configure-gcc: maybe-configure-intl
43239 configure-stage1-gcc: maybe-configure-stage1-intl
43240 configure-stage2-gcc: maybe-configure-stage2-intl
43241 configure-stage3-gcc: maybe-configure-stage3-intl
43242 configure-stage4-gcc: maybe-configure-stage4-intl
43243 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43244 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43245 configure-gcc: maybe-all-lto-plugin
43247 configure-stage1-gcc: maybe-all-stage1-lto-plugin
43248 configure-stage2-gcc: maybe-all-stage2-lto-plugin
43249 configure-stage3-gcc: maybe-all-stage3-lto-plugin
43250 configure-stage4-gcc: maybe-all-stage4-lto-plugin
43251 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43252 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43253 configure-gcc: maybe-all-binutils
43255 configure-stage1-gcc: maybe-all-stage1-binutils
43256 configure-stage2-gcc: maybe-all-stage2-binutils
43257 configure-stage3-gcc: maybe-all-stage3-binutils
43258 configure-stage4-gcc: maybe-all-stage4-binutils
43259 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43260 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43261 configure-gcc: maybe-all-gas
43263 configure-stage1-gcc: maybe-all-stage1-gas
43264 configure-stage2-gcc: maybe-all-stage2-gas
43265 configure-stage3-gcc: maybe-all-stage3-gas
43266 configure-stage4-gcc: maybe-all-stage4-gas
43267 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43268 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43269 configure-gcc: maybe-all-ld
43271 configure-stage1-gcc: maybe-all-stage1-ld
43272 configure-stage2-gcc: maybe-all-stage2-ld
43273 configure-stage3-gcc: maybe-all-stage3-ld
43274 configure-stage4-gcc: maybe-all-stage4-ld
43275 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43276 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43277 configure-gcc: maybe-all-gold
43279 configure-stage1-gcc: maybe-all-stage1-gold
43280 configure-stage2-gcc: maybe-all-stage2-gold
43281 configure-stage3-gcc: maybe-all-stage3-gold
43282 configure-stage4-gcc: maybe-all-stage4-gold
43283 configure-stageprofile-gcc: maybe-all-stageprofile-gold
43284 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
43285 configure-gcc: maybe-all-libelf
43287 configure-stage1-gcc: maybe-all-stage1-libelf
43288 configure-stage2-gcc: maybe-all-stage2-libelf
43289 configure-stage3-gcc: maybe-all-stage3-libelf
43290 configure-stage4-gcc: maybe-all-stage4-libelf
43291 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
43292 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
43293 all-gcc: all-libiberty
43295 all-stage1-gcc: all-stage1-libiberty
43296 all-stage2-gcc: all-stage2-libiberty
43297 all-stage3-gcc: all-stage3-libiberty
43298 all-stage4-gcc: all-stage4-libiberty
43299 all-stageprofile-gcc: all-stageprofile-libiberty
43300 all-stagefeedback-gcc: all-stagefeedback-libiberty
43301 all-gcc: maybe-all-gmp
43303 all-stage1-gcc: maybe-all-stage1-gmp
43304 all-stage2-gcc: maybe-all-stage2-gmp
43305 all-stage3-gcc: maybe-all-stage3-gmp
43306 all-stage4-gcc: maybe-all-stage4-gmp
43307 all-stageprofile-gcc: maybe-all-stageprofile-gmp
43308 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
43309 all-gcc: maybe-all-intl
43311 all-stage1-gcc: maybe-all-stage1-intl
43312 all-stage2-gcc: maybe-all-stage2-intl
43313 all-stage3-gcc: maybe-all-stage3-intl
43314 all-stage4-gcc: maybe-all-stage4-intl
43315 all-stageprofile-gcc: maybe-all-stageprofile-intl
43316 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43317 all-gcc: maybe-all-mpfr
43319 all-stage1-gcc: maybe-all-stage1-mpfr
43320 all-stage2-gcc: maybe-all-stage2-mpfr
43321 all-stage3-gcc: maybe-all-stage3-mpfr
43322 all-stage4-gcc: maybe-all-stage4-mpfr
43323 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
43324 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
43325 all-gcc: maybe-all-mpc
43327 all-stage1-gcc: maybe-all-stage1-mpc
43328 all-stage2-gcc: maybe-all-stage2-mpc
43329 all-stage3-gcc: maybe-all-stage3-mpc
43330 all-stage4-gcc: maybe-all-stage4-mpc
43331 all-stageprofile-gcc: maybe-all-stageprofile-mpc
43332 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
43333 all-gcc: maybe-all-cloog
43335 all-stage1-gcc: maybe-all-stage1-cloog
43336 all-stage2-gcc: maybe-all-stage2-cloog
43337 all-stage3-gcc: maybe-all-stage3-cloog
43338 all-stage4-gcc: maybe-all-stage4-cloog
43339 all-stageprofile-gcc: maybe-all-stageprofile-cloog
43340 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
43341 all-gcc: maybe-all-build-texinfo
43343 all-stage1-gcc: maybe-all-build-texinfo
43344 all-stage2-gcc: maybe-all-build-texinfo
43345 all-stage3-gcc: maybe-all-build-texinfo
43346 all-stage4-gcc: maybe-all-build-texinfo
43347 all-stageprofile-gcc: maybe-all-build-texinfo
43348 all-stagefeedback-gcc: maybe-all-build-texinfo
43349 all-gcc: maybe-all-build-bison
43351 all-stage1-gcc: maybe-all-build-bison
43352 all-stage2-gcc: maybe-all-build-bison
43353 all-stage3-gcc: maybe-all-build-bison
43354 all-stage4-gcc: maybe-all-build-bison
43355 all-stageprofile-gcc: maybe-all-build-bison
43356 all-stagefeedback-gcc: maybe-all-build-bison
43357 all-gcc: maybe-all-build-flex
43359 all-stage1-gcc: maybe-all-build-flex
43360 all-stage2-gcc: maybe-all-build-flex
43361 all-stage3-gcc: maybe-all-build-flex
43362 all-stage4-gcc: maybe-all-build-flex
43363 all-stageprofile-gcc: maybe-all-build-flex
43364 all-stagefeedback-gcc: maybe-all-build-flex
43365 all-gcc: maybe-all-build-libiberty
43367 all-stage1-gcc: maybe-all-build-libiberty
43368 all-stage2-gcc: maybe-all-build-libiberty
43369 all-stage3-gcc: maybe-all-build-libiberty
43370 all-stage4-gcc: maybe-all-build-libiberty
43371 all-stageprofile-gcc: maybe-all-build-libiberty
43372 all-stagefeedback-gcc: maybe-all-build-libiberty
43373 all-gcc: maybe-all-build-fixincludes
43375 all-stage1-gcc: maybe-all-build-fixincludes
43376 all-stage2-gcc: maybe-all-build-fixincludes
43377 all-stage3-gcc: maybe-all-build-fixincludes
43378 all-stage4-gcc: maybe-all-build-fixincludes
43379 all-stageprofile-gcc: maybe-all-build-fixincludes
43380 all-stagefeedback-gcc: maybe-all-build-fixincludes
43381 all-gcc: maybe-all-zlib
43383 all-stage1-gcc: maybe-all-stage1-zlib
43384 all-stage2-gcc: maybe-all-stage2-zlib
43385 all-stage3-gcc: maybe-all-stage3-zlib
43386 all-stage4-gcc: maybe-all-stage4-zlib
43387 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43388 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43389 all-gcc: all-libcpp
43391 all-stage1-gcc: all-stage1-libcpp
43392 all-stage2-gcc: all-stage2-libcpp
43393 all-stage3-gcc: all-stage3-libcpp
43394 all-stage4-gcc: all-stage4-libcpp
43395 all-stageprofile-gcc: all-stageprofile-libcpp
43396 all-stagefeedback-gcc: all-stagefeedback-libcpp
43397 all-gcc: all-libdecnumber
43399 all-stage1-gcc: all-stage1-libdecnumber
43400 all-stage2-gcc: all-stage2-libdecnumber
43401 all-stage3-gcc: all-stage3-libdecnumber
43402 all-stage4-gcc: all-stage4-libdecnumber
43403 all-stageprofile-gcc: all-stageprofile-libdecnumber
43404 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43405 all-gcc: maybe-all-libiberty
43407 all-stage1-gcc: maybe-all-stage1-libiberty
43408 all-stage2-gcc: maybe-all-stage2-libiberty
43409 all-stage3-gcc: maybe-all-stage3-libiberty
43410 all-stage4-gcc: maybe-all-stage4-libiberty
43411 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43412 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43413 all-gcc: maybe-all-fixincludes
43414 all-gcc: maybe-all-lto-plugin
43416 all-stage1-gcc: maybe-all-stage1-lto-plugin
43417 all-stage2-gcc: maybe-all-stage2-lto-plugin
43418 all-stage3-gcc: maybe-all-stage3-lto-plugin
43419 all-stage4-gcc: maybe-all-stage4-lto-plugin
43420 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43421 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43422 info-gcc: maybe-all-build-libiberty
43424 info-stage1-gcc: maybe-all-build-libiberty
43425 info-stage2-gcc: maybe-all-build-libiberty
43426 info-stage3-gcc: maybe-all-build-libiberty
43427 info-stage4-gcc: maybe-all-build-libiberty
43428 info-stageprofile-gcc: maybe-all-build-libiberty
43429 info-stagefeedback-gcc: maybe-all-build-libiberty
43430 dvi-gcc: maybe-all-build-libiberty
43432 dvi-stage1-gcc: maybe-all-build-libiberty
43433 dvi-stage2-gcc: maybe-all-build-libiberty
43434 dvi-stage3-gcc: maybe-all-build-libiberty
43435 dvi-stage4-gcc: maybe-all-build-libiberty
43436 dvi-stageprofile-gcc: maybe-all-build-libiberty
43437 dvi-stagefeedback-gcc: maybe-all-build-libiberty
43438 pdf-gcc: maybe-all-build-libiberty
43440 pdf-stage1-gcc: maybe-all-build-libiberty
43441 pdf-stage2-gcc: maybe-all-build-libiberty
43442 pdf-stage3-gcc: maybe-all-build-libiberty
43443 pdf-stage4-gcc: maybe-all-build-libiberty
43444 pdf-stageprofile-gcc: maybe-all-build-libiberty
43445 pdf-stagefeedback-gcc: maybe-all-build-libiberty
43446 html-gcc: maybe-all-build-libiberty
43448 html-stage1-gcc: maybe-all-build-libiberty
43449 html-stage2-gcc: maybe-all-build-libiberty
43450 html-stage3-gcc: maybe-all-build-libiberty
43451 html-stage4-gcc: maybe-all-build-libiberty
43452 html-stageprofile-gcc: maybe-all-build-libiberty
43453 html-stagefeedback-gcc: maybe-all-build-libiberty
43454 install-gcc: maybe-install-fixincludes
43455 install-gcc: maybe-install-lto-plugin
43456 install-strip-gcc: maybe-install-strip-fixincludes
43457 install-strip-gcc: maybe-install-strip-lto-plugin
43458 configure-libcpp: configure-libiberty
43460 configure-stage1-libcpp: configure-stage1-libiberty
43461 configure-stage2-libcpp: configure-stage2-libiberty
43462 configure-stage3-libcpp: configure-stage3-libiberty
43463 configure-stage4-libcpp: configure-stage4-libiberty
43464 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43465 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43466 configure-libcpp: maybe-configure-intl
43468 configure-stage1-libcpp: maybe-configure-stage1-intl
43469 configure-stage2-libcpp: maybe-configure-stage2-intl
43470 configure-stage3-libcpp: maybe-configure-stage3-intl
43471 configure-stage4-libcpp: maybe-configure-stage4-intl
43472 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43473 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43474 all-libcpp: all-libiberty
43476 all-stage1-libcpp: all-stage1-libiberty
43477 all-stage2-libcpp: all-stage2-libiberty
43478 all-stage3-libcpp: all-stage3-libiberty
43479 all-stage4-libcpp: all-stage4-libiberty
43480 all-stageprofile-libcpp: all-stageprofile-libiberty
43481 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43482 all-libcpp: maybe-all-intl
43484 all-stage1-libcpp: maybe-all-stage1-intl
43485 all-stage2-libcpp: maybe-all-stage2-intl
43486 all-stage3-libcpp: maybe-all-stage3-intl
43487 all-stage4-libcpp: maybe-all-stage4-intl
43488 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43489 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43490 all-fixincludes: maybe-all-libiberty
43491 all-gnattools: maybe-all-target-libada
43492 all-lto-plugin: maybe-all-libiberty
43494 all-stage1-lto-plugin: maybe-all-stage1-libiberty
43495 all-stage2-lto-plugin: maybe-all-stage2-libiberty
43496 all-stage3-lto-plugin: maybe-all-stage3-libiberty
43497 all-stage4-lto-plugin: maybe-all-stage4-libiberty
43498 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43499 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43500 all-utils: maybe-all-libiberty
43501 configure-mpfr: maybe-all-gmp
43503 configure-stage1-mpfr: maybe-all-stage1-gmp
43504 configure-stage2-mpfr: maybe-all-stage2-gmp
43505 configure-stage3-mpfr: maybe-all-stage3-gmp
43506 configure-stage4-mpfr: maybe-all-stage4-gmp
43507 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43508 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43509 configure-mpc: maybe-all-mpfr
43511 configure-stage1-mpc: maybe-all-stage1-mpfr
43512 configure-stage2-mpc: maybe-all-stage2-mpfr
43513 configure-stage3-mpc: maybe-all-stage3-mpfr
43514 configure-stage4-mpc: maybe-all-stage4-mpfr
43515 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43516 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43517 configure-isl: maybe-all-gmp
43519 configure-stage1-isl: maybe-all-stage1-gmp
43520 configure-stage2-isl: maybe-all-stage2-gmp
43521 configure-stage3-isl: maybe-all-stage3-gmp
43522 configure-stage4-isl: maybe-all-stage4-gmp
43523 configure-stageprofile-isl: maybe-all-stageprofile-gmp
43524 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
43525 configure-cloog: maybe-all-isl
43527 configure-stage1-cloog: maybe-all-stage1-isl
43528 configure-stage2-cloog: maybe-all-stage2-isl
43529 configure-stage3-cloog: maybe-all-stage3-isl
43530 configure-stage4-cloog: maybe-all-stage4-isl
43531 configure-stageprofile-cloog: maybe-all-stageprofile-isl
43532 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
43533 configure-cloog: maybe-all-gmp
43535 configure-stage1-cloog: maybe-all-stage1-gmp
43536 configure-stage2-cloog: maybe-all-stage2-gmp
43537 configure-stage3-cloog: maybe-all-stage3-gmp
43538 configure-stage4-cloog: maybe-all-stage4-gmp
43539 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
43540 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
43541 configure-gdb: maybe-all-intl
43542 configure-gdb: maybe-configure-sim
43543 configure-gdb: maybe-all-bfd
43544 configure-gdb: maybe-all-libiconv
43545 all-gdb: maybe-all-libiberty
43546 all-gdb: maybe-all-libiconv
43547 all-gdb: maybe-all-opcodes
43548 all-gdb: maybe-all-readline
43549 all-gdb: maybe-all-build-bison
43550 all-gdb: maybe-all-sim
43551 all-gdb: maybe-all-libdecnumber
43552 all-gdb: maybe-all-libtermcap
43553 configure-libgui: maybe-configure-tcl
43554 configure-libgui: maybe-configure-tk
43555 all-libgui: maybe-all-tcl
43556 all-libgui: maybe-all-tk
43557 all-libgui: maybe-all-itcl
43558 configure-bfd: configure-libiberty
43560 configure-stage1-bfd: configure-stage1-libiberty
43561 configure-stage2-bfd: configure-stage2-libiberty
43562 configure-stage3-bfd: configure-stage3-libiberty
43563 configure-stage4-bfd: configure-stage4-libiberty
43564 configure-stageprofile-bfd: configure-stageprofile-libiberty
43565 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43566 configure-bfd: maybe-configure-intl
43568 configure-stage1-bfd: maybe-configure-stage1-intl
43569 configure-stage2-bfd: maybe-configure-stage2-intl
43570 configure-stage3-bfd: maybe-configure-stage3-intl
43571 configure-stage4-bfd: maybe-configure-stage4-intl
43572 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43573 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43574 all-bfd: maybe-all-libiberty
43576 all-stage1-bfd: maybe-all-stage1-libiberty
43577 all-stage2-bfd: maybe-all-stage2-libiberty
43578 all-stage3-bfd: maybe-all-stage3-libiberty
43579 all-stage4-bfd: maybe-all-stage4-libiberty
43580 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43581 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43582 all-bfd: maybe-all-intl
43584 all-stage1-bfd: maybe-all-stage1-intl
43585 all-stage2-bfd: maybe-all-stage2-intl
43586 all-stage3-bfd: maybe-all-stage3-intl
43587 all-stage4-bfd: maybe-all-stage4-intl
43588 all-stageprofile-bfd: maybe-all-stageprofile-intl
43589 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43590 configure-opcodes: configure-libiberty
43592 configure-stage1-opcodes: configure-stage1-libiberty
43593 configure-stage2-opcodes: configure-stage2-libiberty
43594 configure-stage3-opcodes: configure-stage3-libiberty
43595 configure-stage4-opcodes: configure-stage4-libiberty
43596 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43597 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43598 all-opcodes: maybe-all-libiberty
43600 all-stage1-opcodes: maybe-all-stage1-libiberty
43601 all-stage2-opcodes: maybe-all-stage2-libiberty
43602 all-stage3-opcodes: maybe-all-stage3-libiberty
43603 all-stage4-opcodes: maybe-all-stage4-libiberty
43604 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43605 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43606 configure-binutils: maybe-configure-intl
43608 configure-stage1-binutils: maybe-configure-stage1-intl
43609 configure-stage2-binutils: maybe-configure-stage2-intl
43610 configure-stage3-binutils: maybe-configure-stage3-intl
43611 configure-stage4-binutils: maybe-configure-stage4-intl
43612 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43613 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43614 all-binutils: maybe-all-libiberty
43616 all-stage1-binutils: maybe-all-stage1-libiberty
43617 all-stage2-binutils: maybe-all-stage2-libiberty
43618 all-stage3-binutils: maybe-all-stage3-libiberty
43619 all-stage4-binutils: maybe-all-stage4-libiberty
43620 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43621 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43622 all-binutils: maybe-all-opcodes
43624 all-stage1-binutils: maybe-all-stage1-opcodes
43625 all-stage2-binutils: maybe-all-stage2-opcodes
43626 all-stage3-binutils: maybe-all-stage3-opcodes
43627 all-stage4-binutils: maybe-all-stage4-opcodes
43628 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43629 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43630 all-binutils: maybe-all-bfd
43632 all-stage1-binutils: maybe-all-stage1-bfd
43633 all-stage2-binutils: maybe-all-stage2-bfd
43634 all-stage3-binutils: maybe-all-stage3-bfd
43635 all-stage4-binutils: maybe-all-stage4-bfd
43636 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43637 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43638 all-binutils: maybe-all-build-flex
43640 all-stage1-binutils: maybe-all-build-flex
43641 all-stage2-binutils: maybe-all-build-flex
43642 all-stage3-binutils: maybe-all-build-flex
43643 all-stage4-binutils: maybe-all-build-flex
43644 all-stageprofile-binutils: maybe-all-build-flex
43645 all-stagefeedback-binutils: maybe-all-build-flex
43646 all-binutils: maybe-all-build-bison
43648 all-stage1-binutils: maybe-all-build-bison
43649 all-stage2-binutils: maybe-all-build-bison
43650 all-stage3-binutils: maybe-all-build-bison
43651 all-stage4-binutils: maybe-all-build-bison
43652 all-stageprofile-binutils: maybe-all-build-bison
43653 all-stagefeedback-binutils: maybe-all-build-bison
43654 all-binutils: maybe-all-intl
43656 all-stage1-binutils: maybe-all-stage1-intl
43657 all-stage2-binutils: maybe-all-stage2-intl
43658 all-stage3-binutils: maybe-all-stage3-intl
43659 all-stage4-binutils: maybe-all-stage4-intl
43660 all-stageprofile-binutils: maybe-all-stageprofile-intl
43661 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43662 install-binutils: maybe-install-opcodes
43663 install-strip-binutils: maybe-install-strip-opcodes
43664 install-opcodes: maybe-install-bfd
43665 install-strip-opcodes: maybe-install-strip-bfd
43666 configure-gas: maybe-configure-intl
43668 configure-stage1-gas: maybe-configure-stage1-intl
43669 configure-stage2-gas: maybe-configure-stage2-intl
43670 configure-stage3-gas: maybe-configure-stage3-intl
43671 configure-stage4-gas: maybe-configure-stage4-intl
43672 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43673 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43674 all-gas: maybe-all-libiberty
43676 all-stage1-gas: maybe-all-stage1-libiberty
43677 all-stage2-gas: maybe-all-stage2-libiberty
43678 all-stage3-gas: maybe-all-stage3-libiberty
43679 all-stage4-gas: maybe-all-stage4-libiberty
43680 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43681 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43682 all-gas: maybe-all-opcodes
43684 all-stage1-gas: maybe-all-stage1-opcodes
43685 all-stage2-gas: maybe-all-stage2-opcodes
43686 all-stage3-gas: maybe-all-stage3-opcodes
43687 all-stage4-gas: maybe-all-stage4-opcodes
43688 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43689 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43690 all-gas: maybe-all-bfd
43692 all-stage1-gas: maybe-all-stage1-bfd
43693 all-stage2-gas: maybe-all-stage2-bfd
43694 all-stage3-gas: maybe-all-stage3-bfd
43695 all-stage4-gas: maybe-all-stage4-bfd
43696 all-stageprofile-gas: maybe-all-stageprofile-bfd
43697 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43698 all-gas: maybe-all-intl
43700 all-stage1-gas: maybe-all-stage1-intl
43701 all-stage2-gas: maybe-all-stage2-intl
43702 all-stage3-gas: maybe-all-stage3-intl
43703 all-stage4-gas: maybe-all-stage4-intl
43704 all-stageprofile-gas: maybe-all-stageprofile-intl
43705 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43706 configure-gprof: maybe-configure-intl
43707 all-gprof: maybe-all-libiberty
43708 all-gprof: maybe-all-bfd
43709 all-gprof: maybe-all-opcodes
43710 all-gprof: maybe-all-intl
43711 configure-ld: maybe-configure-intl
43713 configure-stage1-ld: maybe-configure-stage1-intl
43714 configure-stage2-ld: maybe-configure-stage2-intl
43715 configure-stage3-ld: maybe-configure-stage3-intl
43716 configure-stage4-ld: maybe-configure-stage4-intl
43717 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43718 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43719 all-ld: maybe-all-libiberty
43721 all-stage1-ld: maybe-all-stage1-libiberty
43722 all-stage2-ld: maybe-all-stage2-libiberty
43723 all-stage3-ld: maybe-all-stage3-libiberty
43724 all-stage4-ld: maybe-all-stage4-libiberty
43725 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43726 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43727 all-ld: maybe-all-bfd
43729 all-stage1-ld: maybe-all-stage1-bfd
43730 all-stage2-ld: maybe-all-stage2-bfd
43731 all-stage3-ld: maybe-all-stage3-bfd
43732 all-stage4-ld: maybe-all-stage4-bfd
43733 all-stageprofile-ld: maybe-all-stageprofile-bfd
43734 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43735 all-ld: maybe-all-opcodes
43737 all-stage1-ld: maybe-all-stage1-opcodes
43738 all-stage2-ld: maybe-all-stage2-opcodes
43739 all-stage3-ld: maybe-all-stage3-opcodes
43740 all-stage4-ld: maybe-all-stage4-opcodes
43741 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43742 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43743 all-ld: maybe-all-build-bison
43745 all-stage1-ld: maybe-all-build-bison
43746 all-stage2-ld: maybe-all-build-bison
43747 all-stage3-ld: maybe-all-build-bison
43748 all-stage4-ld: maybe-all-build-bison
43749 all-stageprofile-ld: maybe-all-build-bison
43750 all-stagefeedback-ld: maybe-all-build-bison
43751 all-ld: maybe-all-build-flex
43753 all-stage1-ld: maybe-all-build-flex
43754 all-stage2-ld: maybe-all-build-flex
43755 all-stage3-ld: maybe-all-build-flex
43756 all-stage4-ld: maybe-all-build-flex
43757 all-stageprofile-ld: maybe-all-build-flex
43758 all-stagefeedback-ld: maybe-all-build-flex
43759 all-ld: maybe-all-intl
43761 all-stage1-ld: maybe-all-stage1-intl
43762 all-stage2-ld: maybe-all-stage2-intl
43763 all-stage3-ld: maybe-all-stage3-intl
43764 all-stage4-ld: maybe-all-stage4-intl
43765 all-stageprofile-ld: maybe-all-stageprofile-intl
43766 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43767 install-ld: maybe-install-gold
43768 install-strip-ld: maybe-install-strip-gold
43769 configure-gold: maybe-configure-intl
43771 configure-stage1-gold: maybe-configure-stage1-intl
43772 configure-stage2-gold: maybe-configure-stage2-intl
43773 configure-stage3-gold: maybe-configure-stage3-intl
43774 configure-stage4-gold: maybe-configure-stage4-intl
43775 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43776 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43777 all-gold: maybe-all-libiberty
43779 all-stage1-gold: maybe-all-stage1-libiberty
43780 all-stage2-gold: maybe-all-stage2-libiberty
43781 all-stage3-gold: maybe-all-stage3-libiberty
43782 all-stage4-gold: maybe-all-stage4-libiberty
43783 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43784 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43785 all-gold: maybe-all-intl
43787 all-stage1-gold: maybe-all-stage1-intl
43788 all-stage2-gold: maybe-all-stage2-intl
43789 all-stage3-gold: maybe-all-stage3-intl
43790 all-stage4-gold: maybe-all-stage4-intl
43791 all-stageprofile-gold: maybe-all-stageprofile-intl
43792 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43793 all-gold: maybe-all-bfd
43795 all-stage1-gold: maybe-all-stage1-bfd
43796 all-stage2-gold: maybe-all-stage2-bfd
43797 all-stage3-gold: maybe-all-stage3-bfd
43798 all-stage4-gold: maybe-all-stage4-bfd
43799 all-stageprofile-gold: maybe-all-stageprofile-bfd
43800 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43801 all-gold: maybe-all-build-bison
43803 all-stage1-gold: maybe-all-build-bison
43804 all-stage2-gold: maybe-all-build-bison
43805 all-stage3-gold: maybe-all-build-bison
43806 all-stage4-gold: maybe-all-build-bison
43807 all-stageprofile-gold: maybe-all-build-bison
43808 all-stagefeedback-gold: maybe-all-build-bison
43809 check-gold: maybe-all-binutils
43811 check-stage1-gold: maybe-all-stage1-binutils
43812 check-stage2-gold: maybe-all-stage2-binutils
43813 check-stage3-gold: maybe-all-stage3-binutils
43814 check-stage4-gold: maybe-all-stage4-binutils
43815 check-stageprofile-gold: maybe-all-stageprofile-binutils
43816 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43817 check-gold: maybe-all-gas
43819 check-stage1-gold: maybe-all-stage1-gas
43820 check-stage2-gold: maybe-all-stage2-gas
43821 check-stage3-gold: maybe-all-stage3-gas
43822 check-stage4-gold: maybe-all-stage4-gas
43823 check-stageprofile-gold: maybe-all-stageprofile-gas
43824 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43825 configure-opcodes: maybe-configure-intl
43827 configure-stage1-opcodes: maybe-configure-stage1-intl
43828 configure-stage2-opcodes: maybe-configure-stage2-intl
43829 configure-stage3-opcodes: maybe-configure-stage3-intl
43830 configure-stage4-opcodes: maybe-configure-stage4-intl
43831 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43832 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43833 all-opcodes: maybe-all-bfd
43835 all-stage1-opcodes: maybe-all-stage1-bfd
43836 all-stage2-opcodes: maybe-all-stage2-bfd
43837 all-stage3-opcodes: maybe-all-stage3-bfd
43838 all-stage4-opcodes: maybe-all-stage4-bfd
43839 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43840 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43841 all-opcodes: maybe-all-libiberty
43843 all-stage1-opcodes: maybe-all-stage1-libiberty
43844 all-stage2-opcodes: maybe-all-stage2-libiberty
43845 all-stage3-opcodes: maybe-all-stage3-libiberty
43846 all-stage4-opcodes: maybe-all-stage4-libiberty
43847 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43848 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43849 all-opcodes: maybe-all-intl
43851 all-stage1-opcodes: maybe-all-stage1-intl
43852 all-stage2-opcodes: maybe-all-stage2-intl
43853 all-stage3-opcodes: maybe-all-stage3-intl
43854 all-stage4-opcodes: maybe-all-stage4-intl
43855 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43856 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43857 all-dejagnu: maybe-all-tcl
43858 all-dejagnu: maybe-all-expect
43859 all-dejagnu: maybe-all-tk
43860 configure-expect: maybe-configure-tcl
43861 configure-expect: maybe-configure-tk
43862 all-expect: maybe-all-tcl
43863 all-expect: maybe-all-tk
43864 configure-itcl: maybe-configure-tcl
43865 configure-itcl: maybe-configure-tk
43866 all-itcl: maybe-all-tcl
43867 all-itcl: maybe-all-tk
43868 install-itcl: maybe-install-tcl
43869 install-strip-itcl: maybe-install-strip-tcl
43870 configure-tk: maybe-configure-tcl
43871 all-tk: maybe-all-tcl
43872 all-sid: maybe-all-libiberty
43873 all-sid: maybe-all-bfd
43874 all-sid: maybe-all-opcodes
43875 all-sid: maybe-all-tcl
43876 all-sid: maybe-all-tk
43877 install-sid: maybe-install-tcl
43878 install-strip-sid: maybe-install-strip-tcl
43879 install-sid: maybe-install-tk
43880 install-strip-sid: maybe-install-strip-tk
43881 configure-sim: maybe-configure-intl
43882 all-sim: maybe-all-intl
43883 all-sim: maybe-all-libiberty
43884 all-sim: maybe-all-bfd
43885 all-sim: maybe-all-opcodes
43886 all-sim: maybe-all-readline
43887 all-sim: maybe-configure-gdb
43888 all-fastjar: maybe-all-zlib
43889 all-fastjar: maybe-all-build-texinfo
43890 all-fastjar: maybe-all-libiberty
43891 all-bison: maybe-all-intl
43892 all-bison: maybe-all-build-texinfo
43893 all-flex: maybe-all-build-bison
43894 all-flex: maybe-all-intl
43895 all-flex: maybe-all-m4
43896 all-flex: maybe-all-build-texinfo
43897 all-m4: maybe-all-intl
43898 all-m4: maybe-all-build-texinfo
43899 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43900 configure-target-fastjar: maybe-configure-target-zlib
43901 all-target-fastjar: maybe-all-target-zlib
43902 configure-target-libgo: maybe-configure-target-libffi
43903 configure-target-libgo: maybe-all-target-libstdc++-v3
43904 all-target-libgo: maybe-all-target-libffi
43905 configure-target-libjava: maybe-configure-target-zlib
43906 configure-target-libjava: maybe-configure-target-boehm-gc
43907 configure-target-libjava: maybe-configure-target-libffi
43908 all-target-libjava: maybe-all-fastjar
43909 all-target-libjava: maybe-all-target-zlib
43910 all-target-libjava: maybe-all-target-boehm-gc
43911 all-target-libjava: maybe-all-target-libffi
43912 configure-target-libobjc: maybe-configure-target-boehm-gc
43913 all-target-libobjc: maybe-all-target-boehm-gc
43914 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43916 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43917 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43918 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43919 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43920 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43921 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43922 all-target-libstdc++-v3: maybe-configure-target-libgomp
43924 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43925 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43926 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43927 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43928 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43929 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43930 all-target-libgloss: maybe-all-target-newlib
43931 all-target-winsup: maybe-all-target-libtermcap
43932 configure-target-newlib: maybe-all-binutils
43933 configure-target-newlib: maybe-all-ld
43934 configure-target-libgfortran: maybe-all-target-libquadmath
43937 # Dependencies for target modules on other target modules are
43938 # described by lang_env_dependencies; the defaults apply to anything
43939 # not mentioned there.
43942 @if gcc-bootstrap
43943 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43944 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43945 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43946 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43947 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43948 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43949 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43950 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43951 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43952 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43953 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43954 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43955 @endif gcc-bootstrap
43957 @if gcc-no-bootstrap
43958 configure-target-libstdc++-v3: maybe-all-target-libgcc
43959 configure-target-libmudflap: maybe-all-target-libgcc
43960 configure-target-libssp: maybe-all-target-libgcc
43961 configure-target-newlib: maybe-all-target-libgcc
43962 configure-target-libquadmath: maybe-all-target-libgcc
43963 configure-target-libgfortran: maybe-all-target-libgcc
43964 configure-target-libobjc: maybe-all-target-libgcc
43965 configure-target-libgo: maybe-all-target-libgcc
43966 configure-target-libtermcap: maybe-all-target-libgcc
43967 configure-target-winsup: maybe-all-target-libgcc
43968 configure-target-libgloss: maybe-all-target-libgcc
43969 configure-target-libffi: maybe-all-target-libgcc
43970 configure-target-libjava: maybe-all-target-libgcc
43971 configure-target-zlib: maybe-all-target-libgcc
43972 configure-target-boehm-gc: maybe-all-target-libgcc
43973 configure-target-rda: maybe-all-target-libgcc
43974 configure-target-libada: maybe-all-target-libgcc
43975 configure-target-libgomp: maybe-all-target-libgcc
43976 configure-target-libitm: maybe-all-target-libgcc
43977 configure-target-libatomic: maybe-all-target-libgcc
43978 @endif gcc-no-bootstrap
43981 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43983 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43985 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43989 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43991 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43993 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43995 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43997 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43999 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
44002 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
44004 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
44005 configure-target-libjava: maybe-all-target-libstdc++-v3
44007 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
44009 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44011 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44013 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44015 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44017 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
44018 configure-target-libitm: maybe-all-target-libstdc++-v3
44020 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
44023 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44024 GDB_TK = @GDB_TK@
44025 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44026 configure-gdb: $(CONFIGURE_GDB_TK)
44027 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44028 install-gdb: $(INSTALL_GDB_TK)
44030 # Serialization dependencies. Host configures don't work well in parallel to
44031 # each other, due to contention over config.cache. Target configures and
44032 # build configures are similar.
44033 @serialization_dependencies@
44035 # --------------------------------
44036 # Regenerating top level configury
44037 # --------------------------------
44039 # Rebuilding Makefile.in, using autogen.
44040 AUTOGEN = autogen
44041 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44042 cd $(srcdir) && $(AUTOGEN) Makefile.def
44044 # Rebuilding Makefile.
44045 Makefile: $(srcdir)/Makefile.in config.status
44046 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44048 config.status: configure
44049 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44051 # Rebuilding configure.
44052 AUTOCONF = autoconf
44053 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
44054 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
44055 cd $(srcdir) && $(AUTOCONF)
44057 # ------------------------------
44058 # Special directives to GNU Make
44059 # ------------------------------
44061 # Don't pass command-line variables to submakes.
44062 .NOEXPORT:
44063 MAKEOVERRIDES=
44065 # end of Makefile.in