PR c++/55262
[official-gcc.git] / Makefile.in
blob636b2ba18e9ca95fd20704c0f5152f141a3b89af
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_libsanitizer)$(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-libsanitizer
589 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
590 @endif target-libsanitizer
592 @if target-libssp
593 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
594 @endif target-libssp
596 @if target-libgomp
597 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
598 @endif target-libgomp
600 @if target-libitm
601 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
602 @endif target-libitm
604 @if target-libatomic
605 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
606 @endif target-libatomic
610 # This is the list of directories that may be needed in RPATH_ENVVAR
611 # so that programs built for the host machine work.
612 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
614 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
615 @if gcc
616 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
617 @endif gcc
620 @if gmp
621 HOST_LIB_PATH_gmp = \
622 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
623 @endif gmp
625 @if mpfr
626 HOST_LIB_PATH_mpfr = \
627 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
628 @endif mpfr
630 @if mpc
631 HOST_LIB_PATH_mpc = \
632 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
633 @endif mpc
635 @if isl
636 HOST_LIB_PATH_isl = \
637 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
638 @endif isl
640 @if cloog
641 HOST_LIB_PATH_cloog = \
642 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
643 @endif cloog
645 @if libelf
646 HOST_LIB_PATH_libelf = \
647 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
648 @endif libelf
651 CXX_FOR_TARGET_FLAG_TO_PASS = \
652 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
653 @if target-libstdc++-v3
654 # CXX_FOR_TARGET is tricky to get right for target libs that require a
655 # functional C++ compiler. When we recurse, if we expand
656 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
657 # libstdc++ include flags from the script. Instead, we get an
658 # -funconfigured-* word, so that we'll get errors if this invalid C++
659 # command line is used for anything, but also so that we can use the
660 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
661 # don't pass it on, sub-make will use the default definition, that
662 # re-expands it at the time of use, so we'll get it right when we need
663 # it. One potential exception is the expansion of CXX_FOR_TARGET
664 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
665 # really work, for C++ host programs can't depend on the current-stage
666 # C++ target library.
667 CXX_FOR_TARGET_FLAG_TO_PASS = \
668 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
669 @endif target-libstdc++-v3
671 # Flags to pass down to all sub-makes.
672 BASE_FLAGS_TO_PASS = \
673 "DESTDIR=$(DESTDIR)" \
674 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
675 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
676 "bindir=$(bindir)" \
677 "datadir=$(datadir)" \
678 "exec_prefix=$(exec_prefix)" \
679 "includedir=$(includedir)" \
680 "datarootdir=$(datarootdir)" \
681 "docdir=$(docdir)" \
682 "infodir=$(infodir)" \
683 "pdfdir=$(pdfdir)" \
684 "htmldir=$(htmldir)" \
685 "libdir=$(libdir)" \
686 "libexecdir=$(libexecdir)" \
687 "lispdir=$(lispdir)" \
688 "localstatedir=$(localstatedir)" \
689 "mandir=$(mandir)" \
690 "oldincludedir=$(oldincludedir)" \
691 "prefix=$(prefix)" \
692 "sbindir=$(sbindir)" \
693 "sharedstatedir=$(sharedstatedir)" \
694 "sysconfdir=$(sysconfdir)" \
695 "tooldir=$(tooldir)" \
696 "build_tooldir=$(build_tooldir)" \
697 "target_alias=$(target_alias)" \
698 "AWK=$(AWK)" \
699 "BISON=$(BISON)" \
700 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
701 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
702 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
703 "EXPECT=$(EXPECT)" \
704 "FLEX=$(FLEX)" \
705 "INSTALL=$(INSTALL)" \
706 "INSTALL_DATA=$(INSTALL_DATA)" \
707 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
708 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
709 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
710 "LEX=$(LEX)" \
711 "M4=$(M4)" \
712 "MAKE=$(MAKE)" \
713 "RUNTEST=$(RUNTEST)" \
714 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
715 "SED=$(SED)" \
716 "SHELL=$(SHELL)" \
717 "YACC=$(YACC)" \
718 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
719 "ADA_CFLAGS=$(ADA_CFLAGS)" \
720 "AR_FLAGS=$(AR_FLAGS)" \
721 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
722 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
723 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
724 "CFLAGS=$(CFLAGS)" \
725 "CXXFLAGS=$(CXXFLAGS)" \
726 "LDFLAGS=$(LDFLAGS)" \
727 "LIBCFLAGS=$(LIBCFLAGS)" \
728 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
729 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
730 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
731 "GNATBIND=$(GNATBIND)" \
732 "GNATMAKE=$(GNATMAKE)" \
733 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
734 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
735 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
736 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
737 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
738 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
739 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
740 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
741 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
742 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
743 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
744 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
745 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
746 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
747 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
748 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
749 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
750 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
751 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
752 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
753 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
754 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
755 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
756 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
757 "BUILD_CONFIG=$(BUILD_CONFIG)" \
758 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
759 "LEAN=$(LEAN)" \
760 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
761 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
762 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
763 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
764 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
765 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
766 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
767 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
768 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
769 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
770 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
771 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
772 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
773 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
774 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
775 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
776 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
777 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
778 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
779 "TFLAGS=$(TFLAGS)" \
780 "CONFIG_SHELL=$(SHELL)" \
781 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
783 # We leave this in just in case, but it is not needed anymore.
784 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
786 # Flags to pass down to most sub-makes, in which we're building with
787 # the host environment.
788 EXTRA_HOST_FLAGS = \
789 'AR=$(AR)' \
790 'AS=$(AS)' \
791 'CC=$(CC)' \
792 'CXX=$(CXX)' \
793 'DLLTOOL=$(DLLTOOL)' \
794 'GCJ=$(GCJ)' \
795 'GFORTRAN=$(GFORTRAN)' \
796 'GOC=$(GOC)' \
797 'LD=$(LD)' \
798 'LIPO=$(LIPO)' \
799 'NM=$(NM)' \
800 'OBJDUMP=$(OBJDUMP)' \
801 'RANLIB=$(RANLIB)' \
802 'READELF=$(READELF)' \
803 'STRIP=$(STRIP)' \
804 'WINDRES=$(WINDRES)' \
805 'WINDMC=$(WINDMC)'
807 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
809 # Flags to pass to stage1 or when not bootstrapping.
811 STAGE1_FLAGS_TO_PASS = \
812 LDFLAGS="$${LDFLAGS}" \
813 HOST_LIBS="$${HOST_LIBS}"
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-libbacktrace \
904 maybe-configure-libcpp \
905 maybe-configure-libdecnumber \
906 maybe-configure-libgui \
907 maybe-configure-libiberty \
908 maybe-configure-libiconv \
909 maybe-configure-m4 \
910 maybe-configure-readline \
911 maybe-configure-sid \
912 maybe-configure-sim \
913 maybe-configure-texinfo \
914 maybe-configure-zlib \
915 maybe-configure-gdb \
916 maybe-configure-expect \
917 maybe-configure-guile \
918 maybe-configure-tk \
919 maybe-configure-libtermcap \
920 maybe-configure-utils \
921 maybe-configure-gnattools \
922 maybe-configure-lto-plugin
923 .PHONY: configure-target
924 configure-target: \
925 maybe-configure-target-libstdc++-v3 \
926 maybe-configure-target-libmudflap \
927 maybe-configure-target-libsanitizer \
928 maybe-configure-target-libssp \
929 maybe-configure-target-newlib \
930 maybe-configure-target-libgcc \
931 maybe-configure-target-libbacktrace \
932 maybe-configure-target-libquadmath \
933 maybe-configure-target-libgfortran \
934 maybe-configure-target-libobjc \
935 maybe-configure-target-libgo \
936 maybe-configure-target-libtermcap \
937 maybe-configure-target-winsup \
938 maybe-configure-target-libgloss \
939 maybe-configure-target-libffi \
940 maybe-configure-target-libjava \
941 maybe-configure-target-zlib \
942 maybe-configure-target-boehm-gc \
943 maybe-configure-target-rda \
944 maybe-configure-target-libada \
945 maybe-configure-target-libgomp \
946 maybe-configure-target-libitm \
947 maybe-configure-target-libatomic
949 # The target built for a native non-bootstrap build.
950 .PHONY: all
951 all:
952 @if gcc-bootstrap
953 [ -f stage_final ] || echo stage3 > stage_final
954 @r=`${PWD_COMMAND}`; export r; \
955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
957 @endif gcc-bootstrap
958 @: $(MAKE); $(unstage)
959 @r=`${PWD_COMMAND}`; export r; \
960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
961 @if gcc-bootstrap
962 if [ -f stage_last ]; then \
963 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
964 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
965 else \
966 @endif gcc-bootstrap
967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
968 @if gcc-bootstrap
970 fi \
971 @endif gcc-bootstrap
972 && :
974 .PHONY: all-build
976 all-build: maybe-all-build-libiberty
977 all-build: maybe-all-build-bison
978 all-build: maybe-all-build-flex
979 all-build: maybe-all-build-m4
980 all-build: maybe-all-build-texinfo
981 all-build: maybe-all-build-fixincludes
983 .PHONY: all-host
985 @if bfd-no-bootstrap
986 all-host: maybe-all-bfd
987 @endif bfd-no-bootstrap
988 @if opcodes-no-bootstrap
989 all-host: maybe-all-opcodes
990 @endif opcodes-no-bootstrap
991 @if binutils-no-bootstrap
992 all-host: maybe-all-binutils
993 @endif binutils-no-bootstrap
994 all-host: maybe-all-bison
995 all-host: maybe-all-cgen
996 all-host: maybe-all-dejagnu
997 all-host: maybe-all-etc
998 all-host: maybe-all-fastjar
999 all-host: maybe-all-fixincludes
1000 all-host: maybe-all-flex
1001 @if gas-no-bootstrap
1002 all-host: maybe-all-gas
1003 @endif gas-no-bootstrap
1004 @if gcc-no-bootstrap
1005 all-host: maybe-all-gcc
1006 @endif gcc-no-bootstrap
1007 @if gmp-no-bootstrap
1008 all-host: maybe-all-gmp
1009 @endif gmp-no-bootstrap
1010 @if mpfr-no-bootstrap
1011 all-host: maybe-all-mpfr
1012 @endif mpfr-no-bootstrap
1013 @if mpc-no-bootstrap
1014 all-host: maybe-all-mpc
1015 @endif mpc-no-bootstrap
1016 @if isl-no-bootstrap
1017 all-host: maybe-all-isl
1018 @endif isl-no-bootstrap
1019 @if cloog-no-bootstrap
1020 all-host: maybe-all-cloog
1021 @endif cloog-no-bootstrap
1022 @if libelf-no-bootstrap
1023 all-host: maybe-all-libelf
1024 @endif libelf-no-bootstrap
1025 @if gold-no-bootstrap
1026 all-host: maybe-all-gold
1027 @endif gold-no-bootstrap
1028 all-host: maybe-all-gprof
1029 @if intl-no-bootstrap
1030 all-host: maybe-all-intl
1031 @endif intl-no-bootstrap
1032 all-host: maybe-all-tcl
1033 all-host: maybe-all-itcl
1034 @if ld-no-bootstrap
1035 all-host: maybe-all-ld
1036 @endif ld-no-bootstrap
1037 @if libbacktrace-no-bootstrap
1038 all-host: maybe-all-libbacktrace
1039 @endif libbacktrace-no-bootstrap
1040 @if libcpp-no-bootstrap
1041 all-host: maybe-all-libcpp
1042 @endif libcpp-no-bootstrap
1043 @if libdecnumber-no-bootstrap
1044 all-host: maybe-all-libdecnumber
1045 @endif libdecnumber-no-bootstrap
1046 all-host: maybe-all-libgui
1047 @if libiberty-no-bootstrap
1048 all-host: maybe-all-libiberty
1049 @endif libiberty-no-bootstrap
1050 all-host: maybe-all-libiconv
1051 all-host: maybe-all-m4
1052 all-host: maybe-all-readline
1053 all-host: maybe-all-sid
1054 all-host: maybe-all-sim
1055 all-host: maybe-all-texinfo
1056 @if zlib-no-bootstrap
1057 all-host: maybe-all-zlib
1058 @endif zlib-no-bootstrap
1059 all-host: maybe-all-gdb
1060 all-host: maybe-all-expect
1061 all-host: maybe-all-guile
1062 all-host: maybe-all-tk
1063 all-host: maybe-all-libtermcap
1064 all-host: maybe-all-utils
1065 all-host: maybe-all-gnattools
1066 @if lto-plugin-no-bootstrap
1067 all-host: maybe-all-lto-plugin
1068 @endif lto-plugin-no-bootstrap
1070 .PHONY: all-target
1072 @if target-libstdc++-v3-no-bootstrap
1073 all-target: maybe-all-target-libstdc++-v3
1074 @endif target-libstdc++-v3-no-bootstrap
1075 all-target: maybe-all-target-libmudflap
1076 all-target: maybe-all-target-libsanitizer
1077 all-target: maybe-all-target-libssp
1078 all-target: maybe-all-target-newlib
1079 @if target-libgcc-no-bootstrap
1080 all-target: maybe-all-target-libgcc
1081 @endif target-libgcc-no-bootstrap
1082 all-target: maybe-all-target-libbacktrace
1083 all-target: maybe-all-target-libquadmath
1084 all-target: maybe-all-target-libgfortran
1085 all-target: maybe-all-target-libobjc
1086 all-target: maybe-all-target-libgo
1087 all-target: maybe-all-target-libtermcap
1088 all-target: maybe-all-target-winsup
1089 all-target: maybe-all-target-libgloss
1090 all-target: maybe-all-target-libffi
1091 all-target: maybe-all-target-libjava
1092 all-target: maybe-all-target-zlib
1093 all-target: maybe-all-target-boehm-gc
1094 all-target: maybe-all-target-rda
1095 all-target: maybe-all-target-libada
1096 @if target-libgomp-no-bootstrap
1097 all-target: maybe-all-target-libgomp
1098 @endif target-libgomp-no-bootstrap
1099 all-target: maybe-all-target-libitm
1100 all-target: maybe-all-target-libatomic
1102 # Do a target for all the subdirectories. A ``make do-X'' will do a
1103 # ``make X'' in all subdirectories (because, in general, there is a
1104 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1105 # but it may do additional work as well).
1107 .PHONY: do-info
1108 do-info:
1109 @: $(MAKE); $(unstage)
1110 @r=`${PWD_COMMAND}`; export r; \
1111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1113 info-target
1116 .PHONY: info-host
1118 info-host: maybe-info-bfd
1119 info-host: maybe-info-opcodes
1120 info-host: maybe-info-binutils
1121 info-host: maybe-info-bison
1122 info-host: maybe-info-cgen
1123 info-host: maybe-info-dejagnu
1124 info-host: maybe-info-etc
1125 info-host: maybe-info-fastjar
1126 info-host: maybe-info-fixincludes
1127 info-host: maybe-info-flex
1128 info-host: maybe-info-gas
1129 info-host: maybe-info-gcc
1130 info-host: maybe-info-gmp
1131 info-host: maybe-info-mpfr
1132 info-host: maybe-info-mpc
1133 info-host: maybe-info-isl
1134 info-host: maybe-info-cloog
1135 info-host: maybe-info-libelf
1136 info-host: maybe-info-gold
1137 info-host: maybe-info-gprof
1138 info-host: maybe-info-intl
1139 info-host: maybe-info-tcl
1140 info-host: maybe-info-itcl
1141 info-host: maybe-info-ld
1142 info-host: maybe-info-libbacktrace
1143 info-host: maybe-info-libcpp
1144 info-host: maybe-info-libdecnumber
1145 info-host: maybe-info-libgui
1146 info-host: maybe-info-libiberty
1147 info-host: maybe-info-libiconv
1148 info-host: maybe-info-m4
1149 info-host: maybe-info-readline
1150 info-host: maybe-info-sid
1151 info-host: maybe-info-sim
1152 info-host: maybe-info-texinfo
1153 info-host: maybe-info-zlib
1154 info-host: maybe-info-gdb
1155 info-host: maybe-info-expect
1156 info-host: maybe-info-guile
1157 info-host: maybe-info-tk
1158 info-host: maybe-info-libtermcap
1159 info-host: maybe-info-utils
1160 info-host: maybe-info-gnattools
1161 info-host: maybe-info-lto-plugin
1163 .PHONY: info-target
1165 info-target: maybe-info-target-libstdc++-v3
1166 info-target: maybe-info-target-libmudflap
1167 info-target: maybe-info-target-libsanitizer
1168 info-target: maybe-info-target-libssp
1169 info-target: maybe-info-target-newlib
1170 info-target: maybe-info-target-libgcc
1171 info-target: maybe-info-target-libbacktrace
1172 info-target: maybe-info-target-libquadmath
1173 info-target: maybe-info-target-libgfortran
1174 info-target: maybe-info-target-libobjc
1175 info-target: maybe-info-target-libgo
1176 info-target: maybe-info-target-libtermcap
1177 info-target: maybe-info-target-winsup
1178 info-target: maybe-info-target-libgloss
1179 info-target: maybe-info-target-libffi
1180 info-target: maybe-info-target-libjava
1181 info-target: maybe-info-target-zlib
1182 info-target: maybe-info-target-boehm-gc
1183 info-target: maybe-info-target-rda
1184 info-target: maybe-info-target-libada
1185 info-target: maybe-info-target-libgomp
1186 info-target: maybe-info-target-libitm
1187 info-target: maybe-info-target-libatomic
1189 .PHONY: do-dvi
1190 do-dvi:
1191 @: $(MAKE); $(unstage)
1192 @r=`${PWD_COMMAND}`; export r; \
1193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1194 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1195 dvi-target
1198 .PHONY: dvi-host
1200 dvi-host: maybe-dvi-bfd
1201 dvi-host: maybe-dvi-opcodes
1202 dvi-host: maybe-dvi-binutils
1203 dvi-host: maybe-dvi-bison
1204 dvi-host: maybe-dvi-cgen
1205 dvi-host: maybe-dvi-dejagnu
1206 dvi-host: maybe-dvi-etc
1207 dvi-host: maybe-dvi-fastjar
1208 dvi-host: maybe-dvi-fixincludes
1209 dvi-host: maybe-dvi-flex
1210 dvi-host: maybe-dvi-gas
1211 dvi-host: maybe-dvi-gcc
1212 dvi-host: maybe-dvi-gmp
1213 dvi-host: maybe-dvi-mpfr
1214 dvi-host: maybe-dvi-mpc
1215 dvi-host: maybe-dvi-isl
1216 dvi-host: maybe-dvi-cloog
1217 dvi-host: maybe-dvi-libelf
1218 dvi-host: maybe-dvi-gold
1219 dvi-host: maybe-dvi-gprof
1220 dvi-host: maybe-dvi-intl
1221 dvi-host: maybe-dvi-tcl
1222 dvi-host: maybe-dvi-itcl
1223 dvi-host: maybe-dvi-ld
1224 dvi-host: maybe-dvi-libbacktrace
1225 dvi-host: maybe-dvi-libcpp
1226 dvi-host: maybe-dvi-libdecnumber
1227 dvi-host: maybe-dvi-libgui
1228 dvi-host: maybe-dvi-libiberty
1229 dvi-host: maybe-dvi-libiconv
1230 dvi-host: maybe-dvi-m4
1231 dvi-host: maybe-dvi-readline
1232 dvi-host: maybe-dvi-sid
1233 dvi-host: maybe-dvi-sim
1234 dvi-host: maybe-dvi-texinfo
1235 dvi-host: maybe-dvi-zlib
1236 dvi-host: maybe-dvi-gdb
1237 dvi-host: maybe-dvi-expect
1238 dvi-host: maybe-dvi-guile
1239 dvi-host: maybe-dvi-tk
1240 dvi-host: maybe-dvi-libtermcap
1241 dvi-host: maybe-dvi-utils
1242 dvi-host: maybe-dvi-gnattools
1243 dvi-host: maybe-dvi-lto-plugin
1245 .PHONY: dvi-target
1247 dvi-target: maybe-dvi-target-libstdc++-v3
1248 dvi-target: maybe-dvi-target-libmudflap
1249 dvi-target: maybe-dvi-target-libsanitizer
1250 dvi-target: maybe-dvi-target-libssp
1251 dvi-target: maybe-dvi-target-newlib
1252 dvi-target: maybe-dvi-target-libgcc
1253 dvi-target: maybe-dvi-target-libbacktrace
1254 dvi-target: maybe-dvi-target-libquadmath
1255 dvi-target: maybe-dvi-target-libgfortran
1256 dvi-target: maybe-dvi-target-libobjc
1257 dvi-target: maybe-dvi-target-libgo
1258 dvi-target: maybe-dvi-target-libtermcap
1259 dvi-target: maybe-dvi-target-winsup
1260 dvi-target: maybe-dvi-target-libgloss
1261 dvi-target: maybe-dvi-target-libffi
1262 dvi-target: maybe-dvi-target-libjava
1263 dvi-target: maybe-dvi-target-zlib
1264 dvi-target: maybe-dvi-target-boehm-gc
1265 dvi-target: maybe-dvi-target-rda
1266 dvi-target: maybe-dvi-target-libada
1267 dvi-target: maybe-dvi-target-libgomp
1268 dvi-target: maybe-dvi-target-libitm
1269 dvi-target: maybe-dvi-target-libatomic
1271 .PHONY: do-pdf
1272 do-pdf:
1273 @: $(MAKE); $(unstage)
1274 @r=`${PWD_COMMAND}`; export r; \
1275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1276 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1277 pdf-target
1280 .PHONY: pdf-host
1282 pdf-host: maybe-pdf-bfd
1283 pdf-host: maybe-pdf-opcodes
1284 pdf-host: maybe-pdf-binutils
1285 pdf-host: maybe-pdf-bison
1286 pdf-host: maybe-pdf-cgen
1287 pdf-host: maybe-pdf-dejagnu
1288 pdf-host: maybe-pdf-etc
1289 pdf-host: maybe-pdf-fastjar
1290 pdf-host: maybe-pdf-fixincludes
1291 pdf-host: maybe-pdf-flex
1292 pdf-host: maybe-pdf-gas
1293 pdf-host: maybe-pdf-gcc
1294 pdf-host: maybe-pdf-gmp
1295 pdf-host: maybe-pdf-mpfr
1296 pdf-host: maybe-pdf-mpc
1297 pdf-host: maybe-pdf-isl
1298 pdf-host: maybe-pdf-cloog
1299 pdf-host: maybe-pdf-libelf
1300 pdf-host: maybe-pdf-gold
1301 pdf-host: maybe-pdf-gprof
1302 pdf-host: maybe-pdf-intl
1303 pdf-host: maybe-pdf-tcl
1304 pdf-host: maybe-pdf-itcl
1305 pdf-host: maybe-pdf-ld
1306 pdf-host: maybe-pdf-libbacktrace
1307 pdf-host: maybe-pdf-libcpp
1308 pdf-host: maybe-pdf-libdecnumber
1309 pdf-host: maybe-pdf-libgui
1310 pdf-host: maybe-pdf-libiberty
1311 pdf-host: maybe-pdf-libiconv
1312 pdf-host: maybe-pdf-m4
1313 pdf-host: maybe-pdf-readline
1314 pdf-host: maybe-pdf-sid
1315 pdf-host: maybe-pdf-sim
1316 pdf-host: maybe-pdf-texinfo
1317 pdf-host: maybe-pdf-zlib
1318 pdf-host: maybe-pdf-gdb
1319 pdf-host: maybe-pdf-expect
1320 pdf-host: maybe-pdf-guile
1321 pdf-host: maybe-pdf-tk
1322 pdf-host: maybe-pdf-libtermcap
1323 pdf-host: maybe-pdf-utils
1324 pdf-host: maybe-pdf-gnattools
1325 pdf-host: maybe-pdf-lto-plugin
1327 .PHONY: pdf-target
1329 pdf-target: maybe-pdf-target-libstdc++-v3
1330 pdf-target: maybe-pdf-target-libmudflap
1331 pdf-target: maybe-pdf-target-libsanitizer
1332 pdf-target: maybe-pdf-target-libssp
1333 pdf-target: maybe-pdf-target-newlib
1334 pdf-target: maybe-pdf-target-libgcc
1335 pdf-target: maybe-pdf-target-libbacktrace
1336 pdf-target: maybe-pdf-target-libquadmath
1337 pdf-target: maybe-pdf-target-libgfortran
1338 pdf-target: maybe-pdf-target-libobjc
1339 pdf-target: maybe-pdf-target-libgo
1340 pdf-target: maybe-pdf-target-libtermcap
1341 pdf-target: maybe-pdf-target-winsup
1342 pdf-target: maybe-pdf-target-libgloss
1343 pdf-target: maybe-pdf-target-libffi
1344 pdf-target: maybe-pdf-target-libjava
1345 pdf-target: maybe-pdf-target-zlib
1346 pdf-target: maybe-pdf-target-boehm-gc
1347 pdf-target: maybe-pdf-target-rda
1348 pdf-target: maybe-pdf-target-libada
1349 pdf-target: maybe-pdf-target-libgomp
1350 pdf-target: maybe-pdf-target-libitm
1351 pdf-target: maybe-pdf-target-libatomic
1353 .PHONY: do-html
1354 do-html:
1355 @: $(MAKE); $(unstage)
1356 @r=`${PWD_COMMAND}`; export r; \
1357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1358 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1359 html-target
1362 .PHONY: html-host
1364 html-host: maybe-html-bfd
1365 html-host: maybe-html-opcodes
1366 html-host: maybe-html-binutils
1367 html-host: maybe-html-bison
1368 html-host: maybe-html-cgen
1369 html-host: maybe-html-dejagnu
1370 html-host: maybe-html-etc
1371 html-host: maybe-html-fastjar
1372 html-host: maybe-html-fixincludes
1373 html-host: maybe-html-flex
1374 html-host: maybe-html-gas
1375 html-host: maybe-html-gcc
1376 html-host: maybe-html-gmp
1377 html-host: maybe-html-mpfr
1378 html-host: maybe-html-mpc
1379 html-host: maybe-html-isl
1380 html-host: maybe-html-cloog
1381 html-host: maybe-html-libelf
1382 html-host: maybe-html-gold
1383 html-host: maybe-html-gprof
1384 html-host: maybe-html-intl
1385 html-host: maybe-html-tcl
1386 html-host: maybe-html-itcl
1387 html-host: maybe-html-ld
1388 html-host: maybe-html-libbacktrace
1389 html-host: maybe-html-libcpp
1390 html-host: maybe-html-libdecnumber
1391 html-host: maybe-html-libgui
1392 html-host: maybe-html-libiberty
1393 html-host: maybe-html-libiconv
1394 html-host: maybe-html-m4
1395 html-host: maybe-html-readline
1396 html-host: maybe-html-sid
1397 html-host: maybe-html-sim
1398 html-host: maybe-html-texinfo
1399 html-host: maybe-html-zlib
1400 html-host: maybe-html-gdb
1401 html-host: maybe-html-expect
1402 html-host: maybe-html-guile
1403 html-host: maybe-html-tk
1404 html-host: maybe-html-libtermcap
1405 html-host: maybe-html-utils
1406 html-host: maybe-html-gnattools
1407 html-host: maybe-html-lto-plugin
1409 .PHONY: html-target
1411 html-target: maybe-html-target-libstdc++-v3
1412 html-target: maybe-html-target-libmudflap
1413 html-target: maybe-html-target-libsanitizer
1414 html-target: maybe-html-target-libssp
1415 html-target: maybe-html-target-newlib
1416 html-target: maybe-html-target-libgcc
1417 html-target: maybe-html-target-libbacktrace
1418 html-target: maybe-html-target-libquadmath
1419 html-target: maybe-html-target-libgfortran
1420 html-target: maybe-html-target-libobjc
1421 html-target: maybe-html-target-libgo
1422 html-target: maybe-html-target-libtermcap
1423 html-target: maybe-html-target-winsup
1424 html-target: maybe-html-target-libgloss
1425 html-target: maybe-html-target-libffi
1426 html-target: maybe-html-target-libjava
1427 html-target: maybe-html-target-zlib
1428 html-target: maybe-html-target-boehm-gc
1429 html-target: maybe-html-target-rda
1430 html-target: maybe-html-target-libada
1431 html-target: maybe-html-target-libgomp
1432 html-target: maybe-html-target-libitm
1433 html-target: maybe-html-target-libatomic
1435 .PHONY: do-TAGS
1436 do-TAGS:
1437 @: $(MAKE); $(unstage)
1438 @r=`${PWD_COMMAND}`; export r; \
1439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1440 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1441 TAGS-target
1444 .PHONY: TAGS-host
1446 TAGS-host: maybe-TAGS-bfd
1447 TAGS-host: maybe-TAGS-opcodes
1448 TAGS-host: maybe-TAGS-binutils
1449 TAGS-host: maybe-TAGS-bison
1450 TAGS-host: maybe-TAGS-cgen
1451 TAGS-host: maybe-TAGS-dejagnu
1452 TAGS-host: maybe-TAGS-etc
1453 TAGS-host: maybe-TAGS-fastjar
1454 TAGS-host: maybe-TAGS-fixincludes
1455 TAGS-host: maybe-TAGS-flex
1456 TAGS-host: maybe-TAGS-gas
1457 TAGS-host: maybe-TAGS-gcc
1458 TAGS-host: maybe-TAGS-gmp
1459 TAGS-host: maybe-TAGS-mpfr
1460 TAGS-host: maybe-TAGS-mpc
1461 TAGS-host: maybe-TAGS-isl
1462 TAGS-host: maybe-TAGS-cloog
1463 TAGS-host: maybe-TAGS-libelf
1464 TAGS-host: maybe-TAGS-gold
1465 TAGS-host: maybe-TAGS-gprof
1466 TAGS-host: maybe-TAGS-intl
1467 TAGS-host: maybe-TAGS-tcl
1468 TAGS-host: maybe-TAGS-itcl
1469 TAGS-host: maybe-TAGS-ld
1470 TAGS-host: maybe-TAGS-libbacktrace
1471 TAGS-host: maybe-TAGS-libcpp
1472 TAGS-host: maybe-TAGS-libdecnumber
1473 TAGS-host: maybe-TAGS-libgui
1474 TAGS-host: maybe-TAGS-libiberty
1475 TAGS-host: maybe-TAGS-libiconv
1476 TAGS-host: maybe-TAGS-m4
1477 TAGS-host: maybe-TAGS-readline
1478 TAGS-host: maybe-TAGS-sid
1479 TAGS-host: maybe-TAGS-sim
1480 TAGS-host: maybe-TAGS-texinfo
1481 TAGS-host: maybe-TAGS-zlib
1482 TAGS-host: maybe-TAGS-gdb
1483 TAGS-host: maybe-TAGS-expect
1484 TAGS-host: maybe-TAGS-guile
1485 TAGS-host: maybe-TAGS-tk
1486 TAGS-host: maybe-TAGS-libtermcap
1487 TAGS-host: maybe-TAGS-utils
1488 TAGS-host: maybe-TAGS-gnattools
1489 TAGS-host: maybe-TAGS-lto-plugin
1491 .PHONY: TAGS-target
1493 TAGS-target: maybe-TAGS-target-libstdc++-v3
1494 TAGS-target: maybe-TAGS-target-libmudflap
1495 TAGS-target: maybe-TAGS-target-libsanitizer
1496 TAGS-target: maybe-TAGS-target-libssp
1497 TAGS-target: maybe-TAGS-target-newlib
1498 TAGS-target: maybe-TAGS-target-libgcc
1499 TAGS-target: maybe-TAGS-target-libbacktrace
1500 TAGS-target: maybe-TAGS-target-libquadmath
1501 TAGS-target: maybe-TAGS-target-libgfortran
1502 TAGS-target: maybe-TAGS-target-libobjc
1503 TAGS-target: maybe-TAGS-target-libgo
1504 TAGS-target: maybe-TAGS-target-libtermcap
1505 TAGS-target: maybe-TAGS-target-winsup
1506 TAGS-target: maybe-TAGS-target-libgloss
1507 TAGS-target: maybe-TAGS-target-libffi
1508 TAGS-target: maybe-TAGS-target-libjava
1509 TAGS-target: maybe-TAGS-target-zlib
1510 TAGS-target: maybe-TAGS-target-boehm-gc
1511 TAGS-target: maybe-TAGS-target-rda
1512 TAGS-target: maybe-TAGS-target-libada
1513 TAGS-target: maybe-TAGS-target-libgomp
1514 TAGS-target: maybe-TAGS-target-libitm
1515 TAGS-target: maybe-TAGS-target-libatomic
1517 .PHONY: do-install-info
1518 do-install-info:
1519 @: $(MAKE); $(unstage)
1520 @r=`${PWD_COMMAND}`; export r; \
1521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1522 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1523 install-info-target
1526 .PHONY: install-info-host
1528 install-info-host: maybe-install-info-bfd
1529 install-info-host: maybe-install-info-opcodes
1530 install-info-host: maybe-install-info-binutils
1531 install-info-host: maybe-install-info-bison
1532 install-info-host: maybe-install-info-cgen
1533 install-info-host: maybe-install-info-dejagnu
1534 install-info-host: maybe-install-info-etc
1535 install-info-host: maybe-install-info-fastjar
1536 install-info-host: maybe-install-info-fixincludes
1537 install-info-host: maybe-install-info-flex
1538 install-info-host: maybe-install-info-gas
1539 install-info-host: maybe-install-info-gcc
1540 install-info-host: maybe-install-info-gmp
1541 install-info-host: maybe-install-info-mpfr
1542 install-info-host: maybe-install-info-mpc
1543 install-info-host: maybe-install-info-isl
1544 install-info-host: maybe-install-info-cloog
1545 install-info-host: maybe-install-info-libelf
1546 install-info-host: maybe-install-info-gold
1547 install-info-host: maybe-install-info-gprof
1548 install-info-host: maybe-install-info-intl
1549 install-info-host: maybe-install-info-tcl
1550 install-info-host: maybe-install-info-itcl
1551 install-info-host: maybe-install-info-ld
1552 install-info-host: maybe-install-info-libbacktrace
1553 install-info-host: maybe-install-info-libcpp
1554 install-info-host: maybe-install-info-libdecnumber
1555 install-info-host: maybe-install-info-libgui
1556 install-info-host: maybe-install-info-libiberty
1557 install-info-host: maybe-install-info-libiconv
1558 install-info-host: maybe-install-info-m4
1559 install-info-host: maybe-install-info-readline
1560 install-info-host: maybe-install-info-sid
1561 install-info-host: maybe-install-info-sim
1562 install-info-host: maybe-install-info-texinfo
1563 install-info-host: maybe-install-info-zlib
1564 install-info-host: maybe-install-info-gdb
1565 install-info-host: maybe-install-info-expect
1566 install-info-host: maybe-install-info-guile
1567 install-info-host: maybe-install-info-tk
1568 install-info-host: maybe-install-info-libtermcap
1569 install-info-host: maybe-install-info-utils
1570 install-info-host: maybe-install-info-gnattools
1571 install-info-host: maybe-install-info-lto-plugin
1573 .PHONY: install-info-target
1575 install-info-target: maybe-install-info-target-libstdc++-v3
1576 install-info-target: maybe-install-info-target-libmudflap
1577 install-info-target: maybe-install-info-target-libsanitizer
1578 install-info-target: maybe-install-info-target-libssp
1579 install-info-target: maybe-install-info-target-newlib
1580 install-info-target: maybe-install-info-target-libgcc
1581 install-info-target: maybe-install-info-target-libbacktrace
1582 install-info-target: maybe-install-info-target-libquadmath
1583 install-info-target: maybe-install-info-target-libgfortran
1584 install-info-target: maybe-install-info-target-libobjc
1585 install-info-target: maybe-install-info-target-libgo
1586 install-info-target: maybe-install-info-target-libtermcap
1587 install-info-target: maybe-install-info-target-winsup
1588 install-info-target: maybe-install-info-target-libgloss
1589 install-info-target: maybe-install-info-target-libffi
1590 install-info-target: maybe-install-info-target-libjava
1591 install-info-target: maybe-install-info-target-zlib
1592 install-info-target: maybe-install-info-target-boehm-gc
1593 install-info-target: maybe-install-info-target-rda
1594 install-info-target: maybe-install-info-target-libada
1595 install-info-target: maybe-install-info-target-libgomp
1596 install-info-target: maybe-install-info-target-libitm
1597 install-info-target: maybe-install-info-target-libatomic
1599 .PHONY: do-install-pdf
1600 do-install-pdf:
1601 @: $(MAKE); $(unstage)
1602 @r=`${PWD_COMMAND}`; export r; \
1603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1604 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1605 install-pdf-target
1608 .PHONY: install-pdf-host
1610 install-pdf-host: maybe-install-pdf-bfd
1611 install-pdf-host: maybe-install-pdf-opcodes
1612 install-pdf-host: maybe-install-pdf-binutils
1613 install-pdf-host: maybe-install-pdf-bison
1614 install-pdf-host: maybe-install-pdf-cgen
1615 install-pdf-host: maybe-install-pdf-dejagnu
1616 install-pdf-host: maybe-install-pdf-etc
1617 install-pdf-host: maybe-install-pdf-fastjar
1618 install-pdf-host: maybe-install-pdf-fixincludes
1619 install-pdf-host: maybe-install-pdf-flex
1620 install-pdf-host: maybe-install-pdf-gas
1621 install-pdf-host: maybe-install-pdf-gcc
1622 install-pdf-host: maybe-install-pdf-gmp
1623 install-pdf-host: maybe-install-pdf-mpfr
1624 install-pdf-host: maybe-install-pdf-mpc
1625 install-pdf-host: maybe-install-pdf-isl
1626 install-pdf-host: maybe-install-pdf-cloog
1627 install-pdf-host: maybe-install-pdf-libelf
1628 install-pdf-host: maybe-install-pdf-gold
1629 install-pdf-host: maybe-install-pdf-gprof
1630 install-pdf-host: maybe-install-pdf-intl
1631 install-pdf-host: maybe-install-pdf-tcl
1632 install-pdf-host: maybe-install-pdf-itcl
1633 install-pdf-host: maybe-install-pdf-ld
1634 install-pdf-host: maybe-install-pdf-libbacktrace
1635 install-pdf-host: maybe-install-pdf-libcpp
1636 install-pdf-host: maybe-install-pdf-libdecnumber
1637 install-pdf-host: maybe-install-pdf-libgui
1638 install-pdf-host: maybe-install-pdf-libiberty
1639 install-pdf-host: maybe-install-pdf-libiconv
1640 install-pdf-host: maybe-install-pdf-m4
1641 install-pdf-host: maybe-install-pdf-readline
1642 install-pdf-host: maybe-install-pdf-sid
1643 install-pdf-host: maybe-install-pdf-sim
1644 install-pdf-host: maybe-install-pdf-texinfo
1645 install-pdf-host: maybe-install-pdf-zlib
1646 install-pdf-host: maybe-install-pdf-gdb
1647 install-pdf-host: maybe-install-pdf-expect
1648 install-pdf-host: maybe-install-pdf-guile
1649 install-pdf-host: maybe-install-pdf-tk
1650 install-pdf-host: maybe-install-pdf-libtermcap
1651 install-pdf-host: maybe-install-pdf-utils
1652 install-pdf-host: maybe-install-pdf-gnattools
1653 install-pdf-host: maybe-install-pdf-lto-plugin
1655 .PHONY: install-pdf-target
1657 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1658 install-pdf-target: maybe-install-pdf-target-libmudflap
1659 install-pdf-target: maybe-install-pdf-target-libsanitizer
1660 install-pdf-target: maybe-install-pdf-target-libssp
1661 install-pdf-target: maybe-install-pdf-target-newlib
1662 install-pdf-target: maybe-install-pdf-target-libgcc
1663 install-pdf-target: maybe-install-pdf-target-libbacktrace
1664 install-pdf-target: maybe-install-pdf-target-libquadmath
1665 install-pdf-target: maybe-install-pdf-target-libgfortran
1666 install-pdf-target: maybe-install-pdf-target-libobjc
1667 install-pdf-target: maybe-install-pdf-target-libgo
1668 install-pdf-target: maybe-install-pdf-target-libtermcap
1669 install-pdf-target: maybe-install-pdf-target-winsup
1670 install-pdf-target: maybe-install-pdf-target-libgloss
1671 install-pdf-target: maybe-install-pdf-target-libffi
1672 install-pdf-target: maybe-install-pdf-target-libjava
1673 install-pdf-target: maybe-install-pdf-target-zlib
1674 install-pdf-target: maybe-install-pdf-target-boehm-gc
1675 install-pdf-target: maybe-install-pdf-target-rda
1676 install-pdf-target: maybe-install-pdf-target-libada
1677 install-pdf-target: maybe-install-pdf-target-libgomp
1678 install-pdf-target: maybe-install-pdf-target-libitm
1679 install-pdf-target: maybe-install-pdf-target-libatomic
1681 .PHONY: do-install-html
1682 do-install-html:
1683 @: $(MAKE); $(unstage)
1684 @r=`${PWD_COMMAND}`; export r; \
1685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1686 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1687 install-html-target
1690 .PHONY: install-html-host
1692 install-html-host: maybe-install-html-bfd
1693 install-html-host: maybe-install-html-opcodes
1694 install-html-host: maybe-install-html-binutils
1695 install-html-host: maybe-install-html-bison
1696 install-html-host: maybe-install-html-cgen
1697 install-html-host: maybe-install-html-dejagnu
1698 install-html-host: maybe-install-html-etc
1699 install-html-host: maybe-install-html-fastjar
1700 install-html-host: maybe-install-html-fixincludes
1701 install-html-host: maybe-install-html-flex
1702 install-html-host: maybe-install-html-gas
1703 install-html-host: maybe-install-html-gcc
1704 install-html-host: maybe-install-html-gmp
1705 install-html-host: maybe-install-html-mpfr
1706 install-html-host: maybe-install-html-mpc
1707 install-html-host: maybe-install-html-isl
1708 install-html-host: maybe-install-html-cloog
1709 install-html-host: maybe-install-html-libelf
1710 install-html-host: maybe-install-html-gold
1711 install-html-host: maybe-install-html-gprof
1712 install-html-host: maybe-install-html-intl
1713 install-html-host: maybe-install-html-tcl
1714 install-html-host: maybe-install-html-itcl
1715 install-html-host: maybe-install-html-ld
1716 install-html-host: maybe-install-html-libbacktrace
1717 install-html-host: maybe-install-html-libcpp
1718 install-html-host: maybe-install-html-libdecnumber
1719 install-html-host: maybe-install-html-libgui
1720 install-html-host: maybe-install-html-libiberty
1721 install-html-host: maybe-install-html-libiconv
1722 install-html-host: maybe-install-html-m4
1723 install-html-host: maybe-install-html-readline
1724 install-html-host: maybe-install-html-sid
1725 install-html-host: maybe-install-html-sim
1726 install-html-host: maybe-install-html-texinfo
1727 install-html-host: maybe-install-html-zlib
1728 install-html-host: maybe-install-html-gdb
1729 install-html-host: maybe-install-html-expect
1730 install-html-host: maybe-install-html-guile
1731 install-html-host: maybe-install-html-tk
1732 install-html-host: maybe-install-html-libtermcap
1733 install-html-host: maybe-install-html-utils
1734 install-html-host: maybe-install-html-gnattools
1735 install-html-host: maybe-install-html-lto-plugin
1737 .PHONY: install-html-target
1739 install-html-target: maybe-install-html-target-libstdc++-v3
1740 install-html-target: maybe-install-html-target-libmudflap
1741 install-html-target: maybe-install-html-target-libsanitizer
1742 install-html-target: maybe-install-html-target-libssp
1743 install-html-target: maybe-install-html-target-newlib
1744 install-html-target: maybe-install-html-target-libgcc
1745 install-html-target: maybe-install-html-target-libbacktrace
1746 install-html-target: maybe-install-html-target-libquadmath
1747 install-html-target: maybe-install-html-target-libgfortran
1748 install-html-target: maybe-install-html-target-libobjc
1749 install-html-target: maybe-install-html-target-libgo
1750 install-html-target: maybe-install-html-target-libtermcap
1751 install-html-target: maybe-install-html-target-winsup
1752 install-html-target: maybe-install-html-target-libgloss
1753 install-html-target: maybe-install-html-target-libffi
1754 install-html-target: maybe-install-html-target-libjava
1755 install-html-target: maybe-install-html-target-zlib
1756 install-html-target: maybe-install-html-target-boehm-gc
1757 install-html-target: maybe-install-html-target-rda
1758 install-html-target: maybe-install-html-target-libada
1759 install-html-target: maybe-install-html-target-libgomp
1760 install-html-target: maybe-install-html-target-libitm
1761 install-html-target: maybe-install-html-target-libatomic
1763 .PHONY: do-installcheck
1764 do-installcheck:
1765 @: $(MAKE); $(unstage)
1766 @r=`${PWD_COMMAND}`; export r; \
1767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1768 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1769 installcheck-target
1772 .PHONY: installcheck-host
1774 installcheck-host: maybe-installcheck-bfd
1775 installcheck-host: maybe-installcheck-opcodes
1776 installcheck-host: maybe-installcheck-binutils
1777 installcheck-host: maybe-installcheck-bison
1778 installcheck-host: maybe-installcheck-cgen
1779 installcheck-host: maybe-installcheck-dejagnu
1780 installcheck-host: maybe-installcheck-etc
1781 installcheck-host: maybe-installcheck-fastjar
1782 installcheck-host: maybe-installcheck-fixincludes
1783 installcheck-host: maybe-installcheck-flex
1784 installcheck-host: maybe-installcheck-gas
1785 installcheck-host: maybe-installcheck-gcc
1786 installcheck-host: maybe-installcheck-gmp
1787 installcheck-host: maybe-installcheck-mpfr
1788 installcheck-host: maybe-installcheck-mpc
1789 installcheck-host: maybe-installcheck-isl
1790 installcheck-host: maybe-installcheck-cloog
1791 installcheck-host: maybe-installcheck-libelf
1792 installcheck-host: maybe-installcheck-gold
1793 installcheck-host: maybe-installcheck-gprof
1794 installcheck-host: maybe-installcheck-intl
1795 installcheck-host: maybe-installcheck-tcl
1796 installcheck-host: maybe-installcheck-itcl
1797 installcheck-host: maybe-installcheck-ld
1798 installcheck-host: maybe-installcheck-libbacktrace
1799 installcheck-host: maybe-installcheck-libcpp
1800 installcheck-host: maybe-installcheck-libdecnumber
1801 installcheck-host: maybe-installcheck-libgui
1802 installcheck-host: maybe-installcheck-libiberty
1803 installcheck-host: maybe-installcheck-libiconv
1804 installcheck-host: maybe-installcheck-m4
1805 installcheck-host: maybe-installcheck-readline
1806 installcheck-host: maybe-installcheck-sid
1807 installcheck-host: maybe-installcheck-sim
1808 installcheck-host: maybe-installcheck-texinfo
1809 installcheck-host: maybe-installcheck-zlib
1810 installcheck-host: maybe-installcheck-gdb
1811 installcheck-host: maybe-installcheck-expect
1812 installcheck-host: maybe-installcheck-guile
1813 installcheck-host: maybe-installcheck-tk
1814 installcheck-host: maybe-installcheck-libtermcap
1815 installcheck-host: maybe-installcheck-utils
1816 installcheck-host: maybe-installcheck-gnattools
1817 installcheck-host: maybe-installcheck-lto-plugin
1819 .PHONY: installcheck-target
1821 installcheck-target: maybe-installcheck-target-libstdc++-v3
1822 installcheck-target: maybe-installcheck-target-libmudflap
1823 installcheck-target: maybe-installcheck-target-libsanitizer
1824 installcheck-target: maybe-installcheck-target-libssp
1825 installcheck-target: maybe-installcheck-target-newlib
1826 installcheck-target: maybe-installcheck-target-libgcc
1827 installcheck-target: maybe-installcheck-target-libbacktrace
1828 installcheck-target: maybe-installcheck-target-libquadmath
1829 installcheck-target: maybe-installcheck-target-libgfortran
1830 installcheck-target: maybe-installcheck-target-libobjc
1831 installcheck-target: maybe-installcheck-target-libgo
1832 installcheck-target: maybe-installcheck-target-libtermcap
1833 installcheck-target: maybe-installcheck-target-winsup
1834 installcheck-target: maybe-installcheck-target-libgloss
1835 installcheck-target: maybe-installcheck-target-libffi
1836 installcheck-target: maybe-installcheck-target-libjava
1837 installcheck-target: maybe-installcheck-target-zlib
1838 installcheck-target: maybe-installcheck-target-boehm-gc
1839 installcheck-target: maybe-installcheck-target-rda
1840 installcheck-target: maybe-installcheck-target-libada
1841 installcheck-target: maybe-installcheck-target-libgomp
1842 installcheck-target: maybe-installcheck-target-libitm
1843 installcheck-target: maybe-installcheck-target-libatomic
1845 .PHONY: do-mostlyclean
1846 do-mostlyclean:
1847 @: $(MAKE); $(unstage)
1848 @r=`${PWD_COMMAND}`; export r; \
1849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1850 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1851 mostlyclean-target
1854 .PHONY: mostlyclean-host
1856 mostlyclean-host: maybe-mostlyclean-bfd
1857 mostlyclean-host: maybe-mostlyclean-opcodes
1858 mostlyclean-host: maybe-mostlyclean-binutils
1859 mostlyclean-host: maybe-mostlyclean-bison
1860 mostlyclean-host: maybe-mostlyclean-cgen
1861 mostlyclean-host: maybe-mostlyclean-dejagnu
1862 mostlyclean-host: maybe-mostlyclean-etc
1863 mostlyclean-host: maybe-mostlyclean-fastjar
1864 mostlyclean-host: maybe-mostlyclean-fixincludes
1865 mostlyclean-host: maybe-mostlyclean-flex
1866 mostlyclean-host: maybe-mostlyclean-gas
1867 mostlyclean-host: maybe-mostlyclean-gcc
1868 mostlyclean-host: maybe-mostlyclean-gmp
1869 mostlyclean-host: maybe-mostlyclean-mpfr
1870 mostlyclean-host: maybe-mostlyclean-mpc
1871 mostlyclean-host: maybe-mostlyclean-isl
1872 mostlyclean-host: maybe-mostlyclean-cloog
1873 mostlyclean-host: maybe-mostlyclean-libelf
1874 mostlyclean-host: maybe-mostlyclean-gold
1875 mostlyclean-host: maybe-mostlyclean-gprof
1876 mostlyclean-host: maybe-mostlyclean-intl
1877 mostlyclean-host: maybe-mostlyclean-tcl
1878 mostlyclean-host: maybe-mostlyclean-itcl
1879 mostlyclean-host: maybe-mostlyclean-ld
1880 mostlyclean-host: maybe-mostlyclean-libbacktrace
1881 mostlyclean-host: maybe-mostlyclean-libcpp
1882 mostlyclean-host: maybe-mostlyclean-libdecnumber
1883 mostlyclean-host: maybe-mostlyclean-libgui
1884 mostlyclean-host: maybe-mostlyclean-libiberty
1885 mostlyclean-host: maybe-mostlyclean-libiconv
1886 mostlyclean-host: maybe-mostlyclean-m4
1887 mostlyclean-host: maybe-mostlyclean-readline
1888 mostlyclean-host: maybe-mostlyclean-sid
1889 mostlyclean-host: maybe-mostlyclean-sim
1890 mostlyclean-host: maybe-mostlyclean-texinfo
1891 mostlyclean-host: maybe-mostlyclean-zlib
1892 mostlyclean-host: maybe-mostlyclean-gdb
1893 mostlyclean-host: maybe-mostlyclean-expect
1894 mostlyclean-host: maybe-mostlyclean-guile
1895 mostlyclean-host: maybe-mostlyclean-tk
1896 mostlyclean-host: maybe-mostlyclean-libtermcap
1897 mostlyclean-host: maybe-mostlyclean-utils
1898 mostlyclean-host: maybe-mostlyclean-gnattools
1899 mostlyclean-host: maybe-mostlyclean-lto-plugin
1901 .PHONY: mostlyclean-target
1903 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1904 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1905 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1906 mostlyclean-target: maybe-mostlyclean-target-libssp
1907 mostlyclean-target: maybe-mostlyclean-target-newlib
1908 mostlyclean-target: maybe-mostlyclean-target-libgcc
1909 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1910 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1911 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1912 mostlyclean-target: maybe-mostlyclean-target-libobjc
1913 mostlyclean-target: maybe-mostlyclean-target-libgo
1914 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1915 mostlyclean-target: maybe-mostlyclean-target-winsup
1916 mostlyclean-target: maybe-mostlyclean-target-libgloss
1917 mostlyclean-target: maybe-mostlyclean-target-libffi
1918 mostlyclean-target: maybe-mostlyclean-target-libjava
1919 mostlyclean-target: maybe-mostlyclean-target-zlib
1920 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1921 mostlyclean-target: maybe-mostlyclean-target-rda
1922 mostlyclean-target: maybe-mostlyclean-target-libada
1923 mostlyclean-target: maybe-mostlyclean-target-libgomp
1924 mostlyclean-target: maybe-mostlyclean-target-libitm
1925 mostlyclean-target: maybe-mostlyclean-target-libatomic
1927 .PHONY: do-clean
1928 do-clean:
1929 @: $(MAKE); $(unstage)
1930 @r=`${PWD_COMMAND}`; export r; \
1931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1932 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1933 clean-target
1936 .PHONY: clean-host
1938 clean-host: maybe-clean-bfd
1939 clean-host: maybe-clean-opcodes
1940 clean-host: maybe-clean-binutils
1941 clean-host: maybe-clean-bison
1942 clean-host: maybe-clean-cgen
1943 clean-host: maybe-clean-dejagnu
1944 clean-host: maybe-clean-etc
1945 clean-host: maybe-clean-fastjar
1946 clean-host: maybe-clean-fixincludes
1947 clean-host: maybe-clean-flex
1948 clean-host: maybe-clean-gas
1949 clean-host: maybe-clean-gcc
1950 clean-host: maybe-clean-gmp
1951 clean-host: maybe-clean-mpfr
1952 clean-host: maybe-clean-mpc
1953 clean-host: maybe-clean-isl
1954 clean-host: maybe-clean-cloog
1955 clean-host: maybe-clean-libelf
1956 clean-host: maybe-clean-gold
1957 clean-host: maybe-clean-gprof
1958 clean-host: maybe-clean-intl
1959 clean-host: maybe-clean-tcl
1960 clean-host: maybe-clean-itcl
1961 clean-host: maybe-clean-ld
1962 clean-host: maybe-clean-libbacktrace
1963 clean-host: maybe-clean-libcpp
1964 clean-host: maybe-clean-libdecnumber
1965 clean-host: maybe-clean-libgui
1966 clean-host: maybe-clean-libiberty
1967 clean-host: maybe-clean-libiconv
1968 clean-host: maybe-clean-m4
1969 clean-host: maybe-clean-readline
1970 clean-host: maybe-clean-sid
1971 clean-host: maybe-clean-sim
1972 clean-host: maybe-clean-texinfo
1973 clean-host: maybe-clean-zlib
1974 clean-host: maybe-clean-gdb
1975 clean-host: maybe-clean-expect
1976 clean-host: maybe-clean-guile
1977 clean-host: maybe-clean-tk
1978 clean-host: maybe-clean-libtermcap
1979 clean-host: maybe-clean-utils
1980 clean-host: maybe-clean-gnattools
1981 clean-host: maybe-clean-lto-plugin
1983 .PHONY: clean-target
1985 clean-target: maybe-clean-target-libstdc++-v3
1986 clean-target: maybe-clean-target-libmudflap
1987 clean-target: maybe-clean-target-libsanitizer
1988 clean-target: maybe-clean-target-libssp
1989 clean-target: maybe-clean-target-newlib
1990 clean-target: maybe-clean-target-libgcc
1991 clean-target: maybe-clean-target-libbacktrace
1992 clean-target: maybe-clean-target-libquadmath
1993 clean-target: maybe-clean-target-libgfortran
1994 clean-target: maybe-clean-target-libobjc
1995 clean-target: maybe-clean-target-libgo
1996 clean-target: maybe-clean-target-libtermcap
1997 clean-target: maybe-clean-target-winsup
1998 clean-target: maybe-clean-target-libgloss
1999 clean-target: maybe-clean-target-libffi
2000 clean-target: maybe-clean-target-libjava
2001 clean-target: maybe-clean-target-zlib
2002 clean-target: maybe-clean-target-boehm-gc
2003 clean-target: maybe-clean-target-rda
2004 clean-target: maybe-clean-target-libada
2005 clean-target: maybe-clean-target-libgomp
2006 clean-target: maybe-clean-target-libitm
2007 clean-target: maybe-clean-target-libatomic
2009 .PHONY: do-distclean
2010 do-distclean:
2011 @: $(MAKE); $(unstage)
2012 @r=`${PWD_COMMAND}`; export r; \
2013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2014 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2015 distclean-target
2018 .PHONY: distclean-host
2020 distclean-host: maybe-distclean-bfd
2021 distclean-host: maybe-distclean-opcodes
2022 distclean-host: maybe-distclean-binutils
2023 distclean-host: maybe-distclean-bison
2024 distclean-host: maybe-distclean-cgen
2025 distclean-host: maybe-distclean-dejagnu
2026 distclean-host: maybe-distclean-etc
2027 distclean-host: maybe-distclean-fastjar
2028 distclean-host: maybe-distclean-fixincludes
2029 distclean-host: maybe-distclean-flex
2030 distclean-host: maybe-distclean-gas
2031 distclean-host: maybe-distclean-gcc
2032 distclean-host: maybe-distclean-gmp
2033 distclean-host: maybe-distclean-mpfr
2034 distclean-host: maybe-distclean-mpc
2035 distclean-host: maybe-distclean-isl
2036 distclean-host: maybe-distclean-cloog
2037 distclean-host: maybe-distclean-libelf
2038 distclean-host: maybe-distclean-gold
2039 distclean-host: maybe-distclean-gprof
2040 distclean-host: maybe-distclean-intl
2041 distclean-host: maybe-distclean-tcl
2042 distclean-host: maybe-distclean-itcl
2043 distclean-host: maybe-distclean-ld
2044 distclean-host: maybe-distclean-libbacktrace
2045 distclean-host: maybe-distclean-libcpp
2046 distclean-host: maybe-distclean-libdecnumber
2047 distclean-host: maybe-distclean-libgui
2048 distclean-host: maybe-distclean-libiberty
2049 distclean-host: maybe-distclean-libiconv
2050 distclean-host: maybe-distclean-m4
2051 distclean-host: maybe-distclean-readline
2052 distclean-host: maybe-distclean-sid
2053 distclean-host: maybe-distclean-sim
2054 distclean-host: maybe-distclean-texinfo
2055 distclean-host: maybe-distclean-zlib
2056 distclean-host: maybe-distclean-gdb
2057 distclean-host: maybe-distclean-expect
2058 distclean-host: maybe-distclean-guile
2059 distclean-host: maybe-distclean-tk
2060 distclean-host: maybe-distclean-libtermcap
2061 distclean-host: maybe-distclean-utils
2062 distclean-host: maybe-distclean-gnattools
2063 distclean-host: maybe-distclean-lto-plugin
2065 .PHONY: distclean-target
2067 distclean-target: maybe-distclean-target-libstdc++-v3
2068 distclean-target: maybe-distclean-target-libmudflap
2069 distclean-target: maybe-distclean-target-libsanitizer
2070 distclean-target: maybe-distclean-target-libssp
2071 distclean-target: maybe-distclean-target-newlib
2072 distclean-target: maybe-distclean-target-libgcc
2073 distclean-target: maybe-distclean-target-libbacktrace
2074 distclean-target: maybe-distclean-target-libquadmath
2075 distclean-target: maybe-distclean-target-libgfortran
2076 distclean-target: maybe-distclean-target-libobjc
2077 distclean-target: maybe-distclean-target-libgo
2078 distclean-target: maybe-distclean-target-libtermcap
2079 distclean-target: maybe-distclean-target-winsup
2080 distclean-target: maybe-distclean-target-libgloss
2081 distclean-target: maybe-distclean-target-libffi
2082 distclean-target: maybe-distclean-target-libjava
2083 distclean-target: maybe-distclean-target-zlib
2084 distclean-target: maybe-distclean-target-boehm-gc
2085 distclean-target: maybe-distclean-target-rda
2086 distclean-target: maybe-distclean-target-libada
2087 distclean-target: maybe-distclean-target-libgomp
2088 distclean-target: maybe-distclean-target-libitm
2089 distclean-target: maybe-distclean-target-libatomic
2091 .PHONY: do-maintainer-clean
2092 do-maintainer-clean:
2093 @: $(MAKE); $(unstage)
2094 @r=`${PWD_COMMAND}`; export r; \
2095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2096 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2097 maintainer-clean-target
2100 .PHONY: maintainer-clean-host
2102 maintainer-clean-host: maybe-maintainer-clean-bfd
2103 maintainer-clean-host: maybe-maintainer-clean-opcodes
2104 maintainer-clean-host: maybe-maintainer-clean-binutils
2105 maintainer-clean-host: maybe-maintainer-clean-bison
2106 maintainer-clean-host: maybe-maintainer-clean-cgen
2107 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2108 maintainer-clean-host: maybe-maintainer-clean-etc
2109 maintainer-clean-host: maybe-maintainer-clean-fastjar
2110 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2111 maintainer-clean-host: maybe-maintainer-clean-flex
2112 maintainer-clean-host: maybe-maintainer-clean-gas
2113 maintainer-clean-host: maybe-maintainer-clean-gcc
2114 maintainer-clean-host: maybe-maintainer-clean-gmp
2115 maintainer-clean-host: maybe-maintainer-clean-mpfr
2116 maintainer-clean-host: maybe-maintainer-clean-mpc
2117 maintainer-clean-host: maybe-maintainer-clean-isl
2118 maintainer-clean-host: maybe-maintainer-clean-cloog
2119 maintainer-clean-host: maybe-maintainer-clean-libelf
2120 maintainer-clean-host: maybe-maintainer-clean-gold
2121 maintainer-clean-host: maybe-maintainer-clean-gprof
2122 maintainer-clean-host: maybe-maintainer-clean-intl
2123 maintainer-clean-host: maybe-maintainer-clean-tcl
2124 maintainer-clean-host: maybe-maintainer-clean-itcl
2125 maintainer-clean-host: maybe-maintainer-clean-ld
2126 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2127 maintainer-clean-host: maybe-maintainer-clean-libcpp
2128 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2129 maintainer-clean-host: maybe-maintainer-clean-libgui
2130 maintainer-clean-host: maybe-maintainer-clean-libiberty
2131 maintainer-clean-host: maybe-maintainer-clean-libiconv
2132 maintainer-clean-host: maybe-maintainer-clean-m4
2133 maintainer-clean-host: maybe-maintainer-clean-readline
2134 maintainer-clean-host: maybe-maintainer-clean-sid
2135 maintainer-clean-host: maybe-maintainer-clean-sim
2136 maintainer-clean-host: maybe-maintainer-clean-texinfo
2137 maintainer-clean-host: maybe-maintainer-clean-zlib
2138 maintainer-clean-host: maybe-maintainer-clean-gdb
2139 maintainer-clean-host: maybe-maintainer-clean-expect
2140 maintainer-clean-host: maybe-maintainer-clean-guile
2141 maintainer-clean-host: maybe-maintainer-clean-tk
2142 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2143 maintainer-clean-host: maybe-maintainer-clean-utils
2144 maintainer-clean-host: maybe-maintainer-clean-gnattools
2145 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2147 .PHONY: maintainer-clean-target
2149 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2150 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2151 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2152 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2153 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2154 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2155 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2156 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2157 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2158 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2159 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2160 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2161 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2162 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2163 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2164 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2165 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2166 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2167 maintainer-clean-target: maybe-maintainer-clean-target-rda
2168 maintainer-clean-target: maybe-maintainer-clean-target-libada
2169 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2170 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2171 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2174 # Here are the targets which correspond to the do-X targets.
2176 .PHONY: info installcheck dvi pdf html
2177 .PHONY: install-info install-pdf install-html
2178 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2179 .PHONY: local-clean local-distclean local-maintainer-clean
2180 info: do-info
2181 installcheck: do-installcheck
2182 dvi: do-dvi
2183 pdf: do-pdf
2184 html: do-html
2186 # Make sure makeinfo is built before we do a `make info', if we're
2187 # in fact building texinfo.
2188 do-info: maybe-all-texinfo
2190 install-info: do-install-info dir.info
2191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2192 if [ -f dir.info ] ; then \
2193 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2194 else true ; fi
2196 install-pdf: do-install-pdf
2198 install-html: do-install-html
2200 local-clean:
2201 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2203 local-distclean:
2204 -rm -f Makefile config.status config.cache mh-frag mt-frag
2205 -rm -f maybedep.tmp serdep.tmp
2206 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2207 rm -rf $(TARGET_SUBDIR); \
2208 else true; fi
2209 -rm -rf $(BUILD_SUBDIR)
2210 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2211 rm -rf $(HOST_SUBDIR); \
2212 else true; fi
2213 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2214 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2215 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2216 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2217 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2218 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2220 local-maintainer-clean:
2221 @echo "This command is intended for maintainers to use;"
2222 @echo "it deletes files that may require special tools to rebuild."
2224 clean: do-clean local-clean
2225 mostlyclean: do-mostlyclean local-clean
2226 distclean: do-distclean local-clean local-distclean
2227 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2228 maintainer-clean: local-distclean
2229 realclean: maintainer-clean
2231 # Check target.
2233 .PHONY: check do-check
2234 check: do-check
2236 # Only include modules actually being configured and built.
2237 .PHONY: check-host
2238 check-host: \
2239 maybe-check-bfd \
2240 maybe-check-opcodes \
2241 maybe-check-binutils \
2242 maybe-check-bison \
2243 maybe-check-cgen \
2244 maybe-check-dejagnu \
2245 maybe-check-etc \
2246 maybe-check-fastjar \
2247 maybe-check-fixincludes \
2248 maybe-check-flex \
2249 maybe-check-gas \
2250 maybe-check-gcc \
2251 maybe-check-gmp \
2252 maybe-check-mpfr \
2253 maybe-check-mpc \
2254 maybe-check-isl \
2255 maybe-check-cloog \
2256 maybe-check-libelf \
2257 maybe-check-gold \
2258 maybe-check-gprof \
2259 maybe-check-intl \
2260 maybe-check-tcl \
2261 maybe-check-itcl \
2262 maybe-check-ld \
2263 maybe-check-libbacktrace \
2264 maybe-check-libcpp \
2265 maybe-check-libdecnumber \
2266 maybe-check-libgui \
2267 maybe-check-libiberty \
2268 maybe-check-libiconv \
2269 maybe-check-m4 \
2270 maybe-check-readline \
2271 maybe-check-sid \
2272 maybe-check-sim \
2273 maybe-check-texinfo \
2274 maybe-check-zlib \
2275 maybe-check-gdb \
2276 maybe-check-expect \
2277 maybe-check-guile \
2278 maybe-check-tk \
2279 maybe-check-libtermcap \
2280 maybe-check-utils \
2281 maybe-check-gnattools \
2282 maybe-check-lto-plugin
2284 .PHONY: check-target
2285 check-target: \
2286 maybe-check-target-libstdc++-v3 \
2287 maybe-check-target-libmudflap \
2288 maybe-check-target-libsanitizer \
2289 maybe-check-target-libssp \
2290 maybe-check-target-newlib \
2291 maybe-check-target-libgcc \
2292 maybe-check-target-libbacktrace \
2293 maybe-check-target-libquadmath \
2294 maybe-check-target-libgfortran \
2295 maybe-check-target-libobjc \
2296 maybe-check-target-libgo \
2297 maybe-check-target-libtermcap \
2298 maybe-check-target-winsup \
2299 maybe-check-target-libgloss \
2300 maybe-check-target-libffi \
2301 maybe-check-target-libjava \
2302 maybe-check-target-zlib \
2303 maybe-check-target-boehm-gc \
2304 maybe-check-target-rda \
2305 maybe-check-target-libada \
2306 maybe-check-target-libgomp \
2307 maybe-check-target-libitm \
2308 maybe-check-target-libatomic
2310 do-check:
2311 @: $(MAKE); $(unstage)
2312 @r=`${PWD_COMMAND}`; export r; \
2313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2316 # Automated reporting of test results.
2318 warning.log: build.log
2319 $(srcdir)/contrib/warn_summary build.log > $@
2321 mail-report.log:
2322 if test x'$(BOOT_CFLAGS)' != x''; then \
2323 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2324 fi; \
2325 $(srcdir)/contrib/test_summary -t >$@
2326 chmod +x $@
2327 echo If you really want to send e-mail, run ./$@ now
2329 mail-report-with-warnings.log: warning.log
2330 if test x'$(BOOT_CFLAGS)' != x''; then \
2331 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2332 fi; \
2333 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2334 chmod +x $@
2335 echo If you really want to send e-mail, run ./$@ now
2337 # Installation targets.
2339 .PHONY: install uninstall
2340 install:
2341 @: $(MAKE); $(unstage)
2342 @r=`${PWD_COMMAND}`; export r; \
2343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2344 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2346 .PHONY: install-host-nogcc
2347 install-host-nogcc: \
2348 maybe-install-bfd \
2349 maybe-install-opcodes \
2350 maybe-install-binutils \
2351 maybe-install-bison \
2352 maybe-install-cgen \
2353 maybe-install-dejagnu \
2354 maybe-install-etc \
2355 maybe-install-fastjar \
2356 maybe-install-fixincludes \
2357 maybe-install-flex \
2358 maybe-install-gas \
2359 maybe-install-gmp \
2360 maybe-install-mpfr \
2361 maybe-install-mpc \
2362 maybe-install-isl \
2363 maybe-install-cloog \
2364 maybe-install-libelf \
2365 maybe-install-gold \
2366 maybe-install-gprof \
2367 maybe-install-intl \
2368 maybe-install-tcl \
2369 maybe-install-itcl \
2370 maybe-install-ld \
2371 maybe-install-libbacktrace \
2372 maybe-install-libcpp \
2373 maybe-install-libdecnumber \
2374 maybe-install-libgui \
2375 maybe-install-libiberty \
2376 maybe-install-libiconv \
2377 maybe-install-m4 \
2378 maybe-install-readline \
2379 maybe-install-sid \
2380 maybe-install-sim \
2381 maybe-install-texinfo \
2382 maybe-install-zlib \
2383 maybe-install-gdb \
2384 maybe-install-expect \
2385 maybe-install-guile \
2386 maybe-install-tk \
2387 maybe-install-libtermcap \
2388 maybe-install-utils \
2389 maybe-install-gnattools \
2390 maybe-install-lto-plugin
2392 .PHONY: install-host
2393 install-host: \
2394 maybe-install-bfd \
2395 maybe-install-opcodes \
2396 maybe-install-binutils \
2397 maybe-install-bison \
2398 maybe-install-cgen \
2399 maybe-install-dejagnu \
2400 maybe-install-etc \
2401 maybe-install-fastjar \
2402 maybe-install-fixincludes \
2403 maybe-install-flex \
2404 maybe-install-gas \
2405 maybe-install-gcc \
2406 maybe-install-gmp \
2407 maybe-install-mpfr \
2408 maybe-install-mpc \
2409 maybe-install-isl \
2410 maybe-install-cloog \
2411 maybe-install-libelf \
2412 maybe-install-gold \
2413 maybe-install-gprof \
2414 maybe-install-intl \
2415 maybe-install-tcl \
2416 maybe-install-itcl \
2417 maybe-install-ld \
2418 maybe-install-libbacktrace \
2419 maybe-install-libcpp \
2420 maybe-install-libdecnumber \
2421 maybe-install-libgui \
2422 maybe-install-libiberty \
2423 maybe-install-libiconv \
2424 maybe-install-m4 \
2425 maybe-install-readline \
2426 maybe-install-sid \
2427 maybe-install-sim \
2428 maybe-install-texinfo \
2429 maybe-install-zlib \
2430 maybe-install-gdb \
2431 maybe-install-expect \
2432 maybe-install-guile \
2433 maybe-install-tk \
2434 maybe-install-libtermcap \
2435 maybe-install-utils \
2436 maybe-install-gnattools \
2437 maybe-install-lto-plugin
2439 .PHONY: install-target
2440 install-target: \
2441 maybe-install-target-libstdc++-v3 \
2442 maybe-install-target-libmudflap \
2443 maybe-install-target-libsanitizer \
2444 maybe-install-target-libssp \
2445 maybe-install-target-newlib \
2446 maybe-install-target-libgcc \
2447 maybe-install-target-libbacktrace \
2448 maybe-install-target-libquadmath \
2449 maybe-install-target-libgfortran \
2450 maybe-install-target-libobjc \
2451 maybe-install-target-libgo \
2452 maybe-install-target-libtermcap \
2453 maybe-install-target-winsup \
2454 maybe-install-target-libgloss \
2455 maybe-install-target-libffi \
2456 maybe-install-target-libjava \
2457 maybe-install-target-zlib \
2458 maybe-install-target-boehm-gc \
2459 maybe-install-target-rda \
2460 maybe-install-target-libada \
2461 maybe-install-target-libgomp \
2462 maybe-install-target-libitm \
2463 maybe-install-target-libatomic
2465 uninstall:
2466 @echo "the uninstall target is not supported in this tree"
2468 .PHONY: install.all
2469 install.all: install-no-fixedincludes
2470 @if [ -f ./gcc/Makefile ] ; then \
2471 r=`${PWD_COMMAND}` ; export r ; \
2472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2473 $(HOST_EXPORTS) \
2474 (cd ./gcc && \
2475 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2476 else \
2477 true ; \
2480 # install-no-fixedincludes is used to allow the elaboration of binary packages
2481 # suitable for distribution, where we cannot include the fixed system header
2482 # files.
2483 .PHONY: install-no-fixedincludes
2484 install-no-fixedincludes: installdirs install-host-nogcc \
2485 install-target gcc-install-no-fixedincludes
2487 .PHONY: install-strip
2488 install-strip:
2489 @: $(MAKE); $(unstage)
2490 @r=`${PWD_COMMAND}`; export r; \
2491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2494 .PHONY: install-strip-host
2495 install-strip-host: \
2496 maybe-install-strip-bfd \
2497 maybe-install-strip-opcodes \
2498 maybe-install-strip-binutils \
2499 maybe-install-strip-bison \
2500 maybe-install-strip-cgen \
2501 maybe-install-strip-dejagnu \
2502 maybe-install-strip-etc \
2503 maybe-install-strip-fastjar \
2504 maybe-install-strip-fixincludes \
2505 maybe-install-strip-flex \
2506 maybe-install-strip-gas \
2507 maybe-install-strip-gcc \
2508 maybe-install-strip-gmp \
2509 maybe-install-strip-mpfr \
2510 maybe-install-strip-mpc \
2511 maybe-install-strip-isl \
2512 maybe-install-strip-cloog \
2513 maybe-install-strip-libelf \
2514 maybe-install-strip-gold \
2515 maybe-install-strip-gprof \
2516 maybe-install-strip-intl \
2517 maybe-install-strip-tcl \
2518 maybe-install-strip-itcl \
2519 maybe-install-strip-ld \
2520 maybe-install-strip-libbacktrace \
2521 maybe-install-strip-libcpp \
2522 maybe-install-strip-libdecnumber \
2523 maybe-install-strip-libgui \
2524 maybe-install-strip-libiberty \
2525 maybe-install-strip-libiconv \
2526 maybe-install-strip-m4 \
2527 maybe-install-strip-readline \
2528 maybe-install-strip-sid \
2529 maybe-install-strip-sim \
2530 maybe-install-strip-texinfo \
2531 maybe-install-strip-zlib \
2532 maybe-install-strip-gdb \
2533 maybe-install-strip-expect \
2534 maybe-install-strip-guile \
2535 maybe-install-strip-tk \
2536 maybe-install-strip-libtermcap \
2537 maybe-install-strip-utils \
2538 maybe-install-strip-gnattools \
2539 maybe-install-strip-lto-plugin
2541 .PHONY: install-strip-target
2542 install-strip-target: \
2543 maybe-install-strip-target-libstdc++-v3 \
2544 maybe-install-strip-target-libmudflap \
2545 maybe-install-strip-target-libsanitizer \
2546 maybe-install-strip-target-libssp \
2547 maybe-install-strip-target-newlib \
2548 maybe-install-strip-target-libgcc \
2549 maybe-install-strip-target-libbacktrace \
2550 maybe-install-strip-target-libquadmath \
2551 maybe-install-strip-target-libgfortran \
2552 maybe-install-strip-target-libobjc \
2553 maybe-install-strip-target-libgo \
2554 maybe-install-strip-target-libtermcap \
2555 maybe-install-strip-target-winsup \
2556 maybe-install-strip-target-libgloss \
2557 maybe-install-strip-target-libffi \
2558 maybe-install-strip-target-libjava \
2559 maybe-install-strip-target-zlib \
2560 maybe-install-strip-target-boehm-gc \
2561 maybe-install-strip-target-rda \
2562 maybe-install-strip-target-libada \
2563 maybe-install-strip-target-libgomp \
2564 maybe-install-strip-target-libitm \
2565 maybe-install-strip-target-libatomic
2568 ### other supporting targets
2570 MAKEDIRS= \
2571 $(DESTDIR)$(prefix) \
2572 $(DESTDIR)$(exec_prefix)
2573 .PHONY: installdirs
2574 installdirs: mkinstalldirs
2575 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2577 dir.info: do-install-info
2578 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2579 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2580 mv -f dir.info.new dir.info ; \
2581 else true ; \
2584 dist:
2585 @echo "Building a full distribution of this tree isn't done"
2586 @echo "via 'make dist'. Check out the etc/ subdirectory"
2588 etags tags: TAGS
2590 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2591 # ability to use several tags files at once, so there is probably no need
2592 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2593 # (if we felt like it) have this Makefile write a piece of elisp which
2594 # the user could load to tell emacs19 where all the TAGS files we just
2595 # built are.
2596 TAGS: do-TAGS
2598 # ------------------------------------
2599 # Macros for configure and all targets
2600 # ------------------------------------
2606 # --------------------------------------
2607 # Modules which run on the build machine
2608 # --------------------------------------
2611 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2612 maybe-configure-build-libiberty:
2613 @if gcc-bootstrap
2614 configure-build-libiberty: stage_current
2615 @endif gcc-bootstrap
2616 @if build-libiberty
2617 maybe-configure-build-libiberty: configure-build-libiberty
2618 configure-build-libiberty:
2619 @: $(MAKE); $(unstage)
2620 @r=`${PWD_COMMAND}`; export r; \
2621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2622 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2623 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2624 $(BUILD_EXPORTS) \
2625 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2626 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2627 case $(srcdir) in \
2628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2629 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2631 esac; \
2632 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2633 libsrcdir="$$s/libiberty"; \
2634 rm -f no-such-file || : ; \
2635 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2636 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2637 --target=${target_alias} $${srcdiroption} \
2638 || exit 1
2639 @endif build-libiberty
2645 .PHONY: all-build-libiberty maybe-all-build-libiberty
2646 maybe-all-build-libiberty:
2647 @if gcc-bootstrap
2648 all-build-libiberty: stage_current
2649 @endif gcc-bootstrap
2650 @if build-libiberty
2651 TARGET-build-libiberty=all
2652 maybe-all-build-libiberty: all-build-libiberty
2653 all-build-libiberty: configure-build-libiberty
2654 @: $(MAKE); $(unstage)
2655 @r=`${PWD_COMMAND}`; export r; \
2656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2657 $(BUILD_EXPORTS) \
2658 (cd $(BUILD_SUBDIR)/libiberty && \
2659 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2660 $(TARGET-build-libiberty))
2661 @endif build-libiberty
2667 .PHONY: configure-build-bison maybe-configure-build-bison
2668 maybe-configure-build-bison:
2669 @if gcc-bootstrap
2670 configure-build-bison: stage_current
2671 @endif gcc-bootstrap
2672 @if build-bison
2673 maybe-configure-build-bison: configure-build-bison
2674 configure-build-bison:
2675 @: $(MAKE); $(unstage)
2676 @r=`${PWD_COMMAND}`; export r; \
2677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2678 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2679 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2680 $(BUILD_EXPORTS) \
2681 echo Configuring in $(BUILD_SUBDIR)/bison; \
2682 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2683 case $(srcdir) in \
2684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2685 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2687 esac; \
2688 srcdiroption="--srcdir=$${topdir}/bison"; \
2689 libsrcdir="$$s/bison"; \
2690 rm -f no-such-file || : ; \
2691 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2692 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2693 --target=${target_alias} $${srcdiroption} \
2694 || exit 1
2695 @endif build-bison
2701 .PHONY: all-build-bison maybe-all-build-bison
2702 maybe-all-build-bison:
2703 @if gcc-bootstrap
2704 all-build-bison: stage_current
2705 @endif gcc-bootstrap
2706 @if build-bison
2707 TARGET-build-bison=all
2708 maybe-all-build-bison: all-build-bison
2709 all-build-bison: configure-build-bison
2710 @: $(MAKE); $(unstage)
2711 @r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2713 $(BUILD_EXPORTS) \
2714 (cd $(BUILD_SUBDIR)/bison && \
2715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2716 $(TARGET-build-bison))
2717 @endif build-bison
2723 .PHONY: configure-build-flex maybe-configure-build-flex
2724 maybe-configure-build-flex:
2725 @if gcc-bootstrap
2726 configure-build-flex: stage_current
2727 @endif gcc-bootstrap
2728 @if build-flex
2729 maybe-configure-build-flex: configure-build-flex
2730 configure-build-flex:
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2735 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2736 $(BUILD_EXPORTS) \
2737 echo Configuring in $(BUILD_SUBDIR)/flex; \
2738 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2739 case $(srcdir) in \
2740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2741 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2743 esac; \
2744 srcdiroption="--srcdir=$${topdir}/flex"; \
2745 libsrcdir="$$s/flex"; \
2746 rm -f no-such-file || : ; \
2747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2748 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2749 --target=${target_alias} $${srcdiroption} \
2750 || exit 1
2751 @endif build-flex
2757 .PHONY: all-build-flex maybe-all-build-flex
2758 maybe-all-build-flex:
2759 @if gcc-bootstrap
2760 all-build-flex: stage_current
2761 @endif gcc-bootstrap
2762 @if build-flex
2763 TARGET-build-flex=all
2764 maybe-all-build-flex: all-build-flex
2765 all-build-flex: configure-build-flex
2766 @: $(MAKE); $(unstage)
2767 @r=`${PWD_COMMAND}`; export r; \
2768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769 $(BUILD_EXPORTS) \
2770 (cd $(BUILD_SUBDIR)/flex && \
2771 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2772 $(TARGET-build-flex))
2773 @endif build-flex
2779 .PHONY: configure-build-m4 maybe-configure-build-m4
2780 maybe-configure-build-m4:
2781 @if gcc-bootstrap
2782 configure-build-m4: stage_current
2783 @endif gcc-bootstrap
2784 @if build-m4
2785 maybe-configure-build-m4: configure-build-m4
2786 configure-build-m4:
2787 @: $(MAKE); $(unstage)
2788 @r=`${PWD_COMMAND}`; export r; \
2789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2790 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2791 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2792 $(BUILD_EXPORTS) \
2793 echo Configuring in $(BUILD_SUBDIR)/m4; \
2794 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2795 case $(srcdir) in \
2796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2797 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2799 esac; \
2800 srcdiroption="--srcdir=$${topdir}/m4"; \
2801 libsrcdir="$$s/m4"; \
2802 rm -f no-such-file || : ; \
2803 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2804 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2805 --target=${target_alias} $${srcdiroption} \
2806 || exit 1
2807 @endif build-m4
2813 .PHONY: all-build-m4 maybe-all-build-m4
2814 maybe-all-build-m4:
2815 @if gcc-bootstrap
2816 all-build-m4: stage_current
2817 @endif gcc-bootstrap
2818 @if build-m4
2819 TARGET-build-m4=all
2820 maybe-all-build-m4: all-build-m4
2821 all-build-m4: configure-build-m4
2822 @: $(MAKE); $(unstage)
2823 @r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 $(BUILD_EXPORTS) \
2826 (cd $(BUILD_SUBDIR)/m4 && \
2827 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2828 $(TARGET-build-m4))
2829 @endif build-m4
2835 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2836 maybe-configure-build-texinfo:
2837 @if gcc-bootstrap
2838 configure-build-texinfo: stage_current
2839 @endif gcc-bootstrap
2840 @if build-texinfo
2841 maybe-configure-build-texinfo: configure-build-texinfo
2842 configure-build-texinfo:
2843 @: $(MAKE); $(unstage)
2844 @r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2847 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2848 $(BUILD_EXPORTS) \
2849 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2850 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2851 case $(srcdir) in \
2852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2853 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2855 esac; \
2856 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2857 libsrcdir="$$s/texinfo"; \
2858 rm -f no-such-file || : ; \
2859 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2860 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2861 --target=${target_alias} $${srcdiroption} \
2862 || exit 1
2863 @endif build-texinfo
2869 .PHONY: all-build-texinfo maybe-all-build-texinfo
2870 maybe-all-build-texinfo:
2871 @if gcc-bootstrap
2872 all-build-texinfo: stage_current
2873 @endif gcc-bootstrap
2874 @if build-texinfo
2875 TARGET-build-texinfo=all
2876 maybe-all-build-texinfo: all-build-texinfo
2877 all-build-texinfo: configure-build-texinfo
2878 @: $(MAKE); $(unstage)
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(BUILD_EXPORTS) \
2882 (cd $(BUILD_SUBDIR)/texinfo && \
2883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2884 $(TARGET-build-texinfo))
2885 @endif build-texinfo
2891 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2892 maybe-configure-build-fixincludes:
2893 @if gcc-bootstrap
2894 configure-build-fixincludes: stage_current
2895 @endif gcc-bootstrap
2896 @if build-fixincludes
2897 maybe-configure-build-fixincludes: configure-build-fixincludes
2898 configure-build-fixincludes:
2899 @: $(MAKE); $(unstage)
2900 @r=`${PWD_COMMAND}`; export r; \
2901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2902 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2903 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2904 $(BUILD_EXPORTS) \
2905 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2906 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2907 case $(srcdir) in \
2908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2909 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2911 esac; \
2912 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2913 libsrcdir="$$s/fixincludes"; \
2914 rm -f no-such-file || : ; \
2915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2916 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2917 --target=${target_alias} $${srcdiroption} \
2918 || exit 1
2919 @endif build-fixincludes
2925 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2926 maybe-all-build-fixincludes:
2927 @if gcc-bootstrap
2928 all-build-fixincludes: stage_current
2929 @endif gcc-bootstrap
2930 @if build-fixincludes
2931 TARGET-build-fixincludes=all
2932 maybe-all-build-fixincludes: all-build-fixincludes
2933 all-build-fixincludes: configure-build-fixincludes
2934 @: $(MAKE); $(unstage)
2935 @r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2937 $(BUILD_EXPORTS) \
2938 (cd $(BUILD_SUBDIR)/fixincludes && \
2939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2940 $(TARGET-build-fixincludes))
2941 @endif build-fixincludes
2947 # --------------------------------------
2948 # Modules which run on the host machine
2949 # --------------------------------------
2952 .PHONY: configure-bfd maybe-configure-bfd
2953 maybe-configure-bfd:
2954 @if gcc-bootstrap
2955 configure-bfd: stage_current
2956 @endif gcc-bootstrap
2957 @if bfd
2958 maybe-configure-bfd: configure-bfd
2959 configure-bfd:
2960 @r=`${PWD_COMMAND}`; export r; \
2961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2962 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2964 $(HOST_EXPORTS) \
2965 echo Configuring in $(HOST_SUBDIR)/bfd; \
2966 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2967 case $(srcdir) in \
2968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2969 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2971 esac; \
2972 srcdiroption="--srcdir=$${topdir}/bfd"; \
2973 libsrcdir="$$s/bfd"; \
2974 $(SHELL) $${libsrcdir}/configure \
2975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2976 --target=${target_alias} $${srcdiroption} \
2977 || exit 1
2978 @endif bfd
2982 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2983 maybe-configure-stage1-bfd:
2984 @if bfd-bootstrap
2985 maybe-configure-stage1-bfd: configure-stage1-bfd
2986 configure-stage1-bfd:
2987 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2991 TFLAGS="$(STAGE1_TFLAGS)"; \
2992 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2993 $(HOST_EXPORTS) \
2994 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2995 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2996 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2997 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2999 cd $(HOST_SUBDIR)/bfd || exit 1; \
3000 case $(srcdir) in \
3001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3002 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3004 esac; \
3005 srcdiroption="--srcdir=$${topdir}/bfd"; \
3006 libsrcdir="$$s/bfd"; \
3007 $(SHELL) $${libsrcdir}/configure \
3008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3009 --target=${target_alias} $${srcdiroption} \
3010 $(STAGE1_CONFIGURE_FLAGS)
3011 @endif bfd-bootstrap
3013 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3014 maybe-configure-stage2-bfd:
3015 @if bfd-bootstrap
3016 maybe-configure-stage2-bfd: configure-stage2-bfd
3017 configure-stage2-bfd:
3018 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3020 @r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 TFLAGS="$(STAGE2_TFLAGS)"; \
3023 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3024 $(HOST_EXPORTS) \
3025 $(POSTSTAGE1_HOST_EXPORTS) \
3026 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3027 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3028 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3029 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3031 cd $(HOST_SUBDIR)/bfd || exit 1; \
3032 case $(srcdir) in \
3033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3034 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3036 esac; \
3037 srcdiroption="--srcdir=$${topdir}/bfd"; \
3038 libsrcdir="$$s/bfd"; \
3039 $(SHELL) $${libsrcdir}/configure \
3040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3041 --target=${target_alias} $${srcdiroption} \
3042 --with-build-libsubdir=$(HOST_SUBDIR) \
3043 $(STAGE2_CONFIGURE_FLAGS)
3044 @endif bfd-bootstrap
3046 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3047 maybe-configure-stage3-bfd:
3048 @if bfd-bootstrap
3049 maybe-configure-stage3-bfd: configure-stage3-bfd
3050 configure-stage3-bfd:
3051 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3053 @r=`${PWD_COMMAND}`; export r; \
3054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3055 TFLAGS="$(STAGE3_TFLAGS)"; \
3056 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3057 $(HOST_EXPORTS) \
3058 $(POSTSTAGE1_HOST_EXPORTS) \
3059 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3060 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3061 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3062 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3064 cd $(HOST_SUBDIR)/bfd || exit 1; \
3065 case $(srcdir) in \
3066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3067 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3069 esac; \
3070 srcdiroption="--srcdir=$${topdir}/bfd"; \
3071 libsrcdir="$$s/bfd"; \
3072 $(SHELL) $${libsrcdir}/configure \
3073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3074 --target=${target_alias} $${srcdiroption} \
3075 --with-build-libsubdir=$(HOST_SUBDIR) \
3076 $(STAGE3_CONFIGURE_FLAGS)
3077 @endif bfd-bootstrap
3079 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3080 maybe-configure-stage4-bfd:
3081 @if bfd-bootstrap
3082 maybe-configure-stage4-bfd: configure-stage4-bfd
3083 configure-stage4-bfd:
3084 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3086 @r=`${PWD_COMMAND}`; export r; \
3087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 TFLAGS="$(STAGE4_TFLAGS)"; \
3089 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3090 $(HOST_EXPORTS) \
3091 $(POSTSTAGE1_HOST_EXPORTS) \
3092 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3093 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3094 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3095 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3097 cd $(HOST_SUBDIR)/bfd || exit 1; \
3098 case $(srcdir) in \
3099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3100 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3102 esac; \
3103 srcdiroption="--srcdir=$${topdir}/bfd"; \
3104 libsrcdir="$$s/bfd"; \
3105 $(SHELL) $${libsrcdir}/configure \
3106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3107 --target=${target_alias} $${srcdiroption} \
3108 --with-build-libsubdir=$(HOST_SUBDIR) \
3109 $(STAGE4_CONFIGURE_FLAGS)
3110 @endif bfd-bootstrap
3112 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3113 maybe-configure-stageprofile-bfd:
3114 @if bfd-bootstrap
3115 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3116 configure-stageprofile-bfd:
3117 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3119 @r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3122 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3123 $(HOST_EXPORTS) \
3124 $(POSTSTAGE1_HOST_EXPORTS) \
3125 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3126 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3127 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3128 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3130 cd $(HOST_SUBDIR)/bfd || exit 1; \
3131 case $(srcdir) in \
3132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3133 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3135 esac; \
3136 srcdiroption="--srcdir=$${topdir}/bfd"; \
3137 libsrcdir="$$s/bfd"; \
3138 $(SHELL) $${libsrcdir}/configure \
3139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3140 --target=${target_alias} $${srcdiroption} \
3141 --with-build-libsubdir=$(HOST_SUBDIR) \
3142 $(STAGEprofile_CONFIGURE_FLAGS)
3143 @endif bfd-bootstrap
3145 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3146 maybe-configure-stagefeedback-bfd:
3147 @if bfd-bootstrap
3148 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3149 configure-stagefeedback-bfd:
3150 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3152 @r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3155 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3156 $(HOST_EXPORTS) \
3157 $(POSTSTAGE1_HOST_EXPORTS) \
3158 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3159 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3160 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3161 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3163 cd $(HOST_SUBDIR)/bfd || exit 1; \
3164 case $(srcdir) in \
3165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3166 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3168 esac; \
3169 srcdiroption="--srcdir=$${topdir}/bfd"; \
3170 libsrcdir="$$s/bfd"; \
3171 $(SHELL) $${libsrcdir}/configure \
3172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3173 --target=${target_alias} $${srcdiroption} \
3174 --with-build-libsubdir=$(HOST_SUBDIR) \
3175 $(STAGEfeedback_CONFIGURE_FLAGS)
3176 @endif bfd-bootstrap
3182 .PHONY: all-bfd maybe-all-bfd
3183 maybe-all-bfd:
3184 @if gcc-bootstrap
3185 all-bfd: stage_current
3186 @endif gcc-bootstrap
3187 @if bfd
3188 TARGET-bfd=all
3189 maybe-all-bfd: all-bfd
3190 all-bfd: configure-bfd
3191 @r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(HOST_EXPORTS) \
3194 (cd $(HOST_SUBDIR)/bfd && \
3195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3196 $(TARGET-bfd))
3197 @endif bfd
3201 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3202 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3203 maybe-all-stage1-bfd:
3204 maybe-clean-stage1-bfd:
3205 @if bfd-bootstrap
3206 maybe-all-stage1-bfd: all-stage1-bfd
3207 all-stage1: all-stage1-bfd
3208 TARGET-stage1-bfd = $(TARGET-bfd)
3209 all-stage1-bfd: configure-stage1-bfd
3210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3211 @r=`${PWD_COMMAND}`; export r; \
3212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3213 TFLAGS="$(STAGE1_TFLAGS)"; \
3214 $(HOST_EXPORTS) \
3215 cd $(HOST_SUBDIR)/bfd && \
3216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3217 CFLAGS="$(STAGE1_CFLAGS)" \
3218 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3219 LIBCFLAGS="$(LIBCFLAGS)" \
3220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3223 $(EXTRA_HOST_FLAGS) \
3224 $(STAGE1_FLAGS_TO_PASS) \
3225 TFLAGS="$(STAGE1_TFLAGS)" \
3226 $(TARGET-stage1-bfd)
3228 maybe-clean-stage1-bfd: clean-stage1-bfd
3229 clean-stage1: clean-stage1-bfd
3230 clean-stage1-bfd:
3231 @if [ $(current_stage) = stage1 ]; then \
3232 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3233 else \
3234 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3235 $(MAKE) stage1-start; \
3236 fi; \
3237 cd $(HOST_SUBDIR)/bfd && \
3238 $(MAKE) $(EXTRA_HOST_FLAGS) \
3239 $(STAGE1_FLAGS_TO_PASS) clean
3240 @endif bfd-bootstrap
3243 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3244 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3245 maybe-all-stage2-bfd:
3246 maybe-clean-stage2-bfd:
3247 @if bfd-bootstrap
3248 maybe-all-stage2-bfd: all-stage2-bfd
3249 all-stage2: all-stage2-bfd
3250 TARGET-stage2-bfd = $(TARGET-bfd)
3251 all-stage2-bfd: configure-stage2-bfd
3252 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3253 @r=`${PWD_COMMAND}`; export r; \
3254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3255 TFLAGS="$(STAGE2_TFLAGS)"; \
3256 $(HOST_EXPORTS) \
3257 $(POSTSTAGE1_HOST_EXPORTS) \
3258 cd $(HOST_SUBDIR)/bfd && \
3259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3260 CFLAGS="$(STAGE2_CFLAGS)" \
3261 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3262 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3267 TFLAGS="$(STAGE2_TFLAGS)" \
3268 $(TARGET-stage2-bfd)
3270 maybe-clean-stage2-bfd: clean-stage2-bfd
3271 clean-stage2: clean-stage2-bfd
3272 clean-stage2-bfd:
3273 @if [ $(current_stage) = stage2 ]; then \
3274 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3275 else \
3276 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3277 $(MAKE) stage2-start; \
3278 fi; \
3279 cd $(HOST_SUBDIR)/bfd && \
3280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3281 @endif bfd-bootstrap
3284 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3285 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3286 maybe-all-stage3-bfd:
3287 maybe-clean-stage3-bfd:
3288 @if bfd-bootstrap
3289 maybe-all-stage3-bfd: all-stage3-bfd
3290 all-stage3: all-stage3-bfd
3291 TARGET-stage3-bfd = $(TARGET-bfd)
3292 all-stage3-bfd: configure-stage3-bfd
3293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3294 @r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 TFLAGS="$(STAGE3_TFLAGS)"; \
3297 $(HOST_EXPORTS) \
3298 $(POSTSTAGE1_HOST_EXPORTS) \
3299 cd $(HOST_SUBDIR)/bfd && \
3300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3301 CFLAGS="$(STAGE3_CFLAGS)" \
3302 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3303 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3308 TFLAGS="$(STAGE3_TFLAGS)" \
3309 $(TARGET-stage3-bfd)
3311 maybe-clean-stage3-bfd: clean-stage3-bfd
3312 clean-stage3: clean-stage3-bfd
3313 clean-stage3-bfd:
3314 @if [ $(current_stage) = stage3 ]; then \
3315 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3316 else \
3317 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3318 $(MAKE) stage3-start; \
3319 fi; \
3320 cd $(HOST_SUBDIR)/bfd && \
3321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3322 @endif bfd-bootstrap
3325 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3326 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3327 maybe-all-stage4-bfd:
3328 maybe-clean-stage4-bfd:
3329 @if bfd-bootstrap
3330 maybe-all-stage4-bfd: all-stage4-bfd
3331 all-stage4: all-stage4-bfd
3332 TARGET-stage4-bfd = $(TARGET-bfd)
3333 all-stage4-bfd: configure-stage4-bfd
3334 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3335 @r=`${PWD_COMMAND}`; export r; \
3336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 TFLAGS="$(STAGE4_TFLAGS)"; \
3338 $(HOST_EXPORTS) \
3339 $(POSTSTAGE1_HOST_EXPORTS) \
3340 cd $(HOST_SUBDIR)/bfd && \
3341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3342 CFLAGS="$(STAGE4_CFLAGS)" \
3343 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3344 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3349 TFLAGS="$(STAGE4_TFLAGS)" \
3350 $(TARGET-stage4-bfd)
3352 maybe-clean-stage4-bfd: clean-stage4-bfd
3353 clean-stage4: clean-stage4-bfd
3354 clean-stage4-bfd:
3355 @if [ $(current_stage) = stage4 ]; then \
3356 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3357 else \
3358 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3359 $(MAKE) stage4-start; \
3360 fi; \
3361 cd $(HOST_SUBDIR)/bfd && \
3362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3363 @endif bfd-bootstrap
3366 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3367 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3368 maybe-all-stageprofile-bfd:
3369 maybe-clean-stageprofile-bfd:
3370 @if bfd-bootstrap
3371 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3372 all-stageprofile: all-stageprofile-bfd
3373 TARGET-stageprofile-bfd = $(TARGET-bfd)
3374 all-stageprofile-bfd: configure-stageprofile-bfd
3375 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3376 @r=`${PWD_COMMAND}`; export r; \
3377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3379 $(HOST_EXPORTS) \
3380 $(POSTSTAGE1_HOST_EXPORTS) \
3381 cd $(HOST_SUBDIR)/bfd && \
3382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3383 CFLAGS="$(STAGEprofile_CFLAGS)" \
3384 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3385 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3390 TFLAGS="$(STAGEprofile_TFLAGS)" \
3391 $(TARGET-stageprofile-bfd)
3393 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3394 clean-stageprofile: clean-stageprofile-bfd
3395 clean-stageprofile-bfd:
3396 @if [ $(current_stage) = stageprofile ]; then \
3397 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3398 else \
3399 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3400 $(MAKE) stageprofile-start; \
3401 fi; \
3402 cd $(HOST_SUBDIR)/bfd && \
3403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3404 @endif bfd-bootstrap
3407 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3408 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3409 maybe-all-stagefeedback-bfd:
3410 maybe-clean-stagefeedback-bfd:
3411 @if bfd-bootstrap
3412 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3413 all-stagefeedback: all-stagefeedback-bfd
3414 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3415 all-stagefeedback-bfd: configure-stagefeedback-bfd
3416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3417 @r=`${PWD_COMMAND}`; export r; \
3418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3419 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3420 $(HOST_EXPORTS) \
3421 $(POSTSTAGE1_HOST_EXPORTS) \
3422 cd $(HOST_SUBDIR)/bfd && \
3423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3424 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3425 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3426 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3430 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3431 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3432 $(TARGET-stagefeedback-bfd)
3434 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3435 clean-stagefeedback: clean-stagefeedback-bfd
3436 clean-stagefeedback-bfd:
3437 @if [ $(current_stage) = stagefeedback ]; then \
3438 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3439 else \
3440 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3441 $(MAKE) stagefeedback-start; \
3442 fi; \
3443 cd $(HOST_SUBDIR)/bfd && \
3444 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3445 @endif bfd-bootstrap
3451 .PHONY: check-bfd maybe-check-bfd
3452 maybe-check-bfd:
3453 @if bfd
3454 maybe-check-bfd: check-bfd
3456 check-bfd:
3457 @: $(MAKE); $(unstage)
3458 @r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 $(HOST_EXPORTS) \
3461 (cd $(HOST_SUBDIR)/bfd && \
3462 $(MAKE) $(FLAGS_TO_PASS) check)
3464 @endif bfd
3466 .PHONY: install-bfd maybe-install-bfd
3467 maybe-install-bfd:
3468 @if bfd
3469 maybe-install-bfd: install-bfd
3471 install-bfd: installdirs
3472 @: $(MAKE); $(unstage)
3473 @r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 $(HOST_EXPORTS) \
3476 (cd $(HOST_SUBDIR)/bfd && \
3477 $(MAKE) $(FLAGS_TO_PASS) install)
3479 @endif bfd
3481 .PHONY: install-strip-bfd maybe-install-strip-bfd
3482 maybe-install-strip-bfd:
3483 @if bfd
3484 maybe-install-strip-bfd: install-strip-bfd
3486 install-strip-bfd: installdirs
3487 @: $(MAKE); $(unstage)
3488 @r=`${PWD_COMMAND}`; export r; \
3489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3490 $(HOST_EXPORTS) \
3491 (cd $(HOST_SUBDIR)/bfd && \
3492 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3494 @endif bfd
3496 # Other targets (info, dvi, pdf, etc.)
3498 .PHONY: maybe-info-bfd info-bfd
3499 maybe-info-bfd:
3500 @if bfd
3501 maybe-info-bfd: info-bfd
3503 info-bfd: \
3504 configure-bfd
3505 @[ -f ./bfd/Makefile ] || exit 0; \
3506 r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 $(HOST_EXPORTS) \
3509 for flag in $(EXTRA_HOST_FLAGS) ; do \
3510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3511 done; \
3512 echo "Doing info in bfd" ; \
3513 (cd $(HOST_SUBDIR)/bfd && \
3514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3516 "RANLIB=$${RANLIB}" \
3517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3518 info) \
3519 || exit 1
3521 @endif bfd
3523 .PHONY: maybe-dvi-bfd dvi-bfd
3524 maybe-dvi-bfd:
3525 @if bfd
3526 maybe-dvi-bfd: dvi-bfd
3528 dvi-bfd: \
3529 configure-bfd
3530 @[ -f ./bfd/Makefile ] || exit 0; \
3531 r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 for flag in $(EXTRA_HOST_FLAGS) ; do \
3535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3536 done; \
3537 echo "Doing dvi in bfd" ; \
3538 (cd $(HOST_SUBDIR)/bfd && \
3539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541 "RANLIB=$${RANLIB}" \
3542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3543 dvi) \
3544 || exit 1
3546 @endif bfd
3548 .PHONY: maybe-pdf-bfd pdf-bfd
3549 maybe-pdf-bfd:
3550 @if bfd
3551 maybe-pdf-bfd: pdf-bfd
3553 pdf-bfd: \
3554 configure-bfd
3555 @[ -f ./bfd/Makefile ] || exit 0; \
3556 r=`${PWD_COMMAND}`; export r; \
3557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3558 $(HOST_EXPORTS) \
3559 for flag in $(EXTRA_HOST_FLAGS) ; do \
3560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3561 done; \
3562 echo "Doing pdf in bfd" ; \
3563 (cd $(HOST_SUBDIR)/bfd && \
3564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3566 "RANLIB=$${RANLIB}" \
3567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3568 pdf) \
3569 || exit 1
3571 @endif bfd
3573 .PHONY: maybe-html-bfd html-bfd
3574 maybe-html-bfd:
3575 @if bfd
3576 maybe-html-bfd: html-bfd
3578 html-bfd: \
3579 configure-bfd
3580 @[ -f ./bfd/Makefile ] || exit 0; \
3581 r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 $(HOST_EXPORTS) \
3584 for flag in $(EXTRA_HOST_FLAGS) ; do \
3585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3586 done; \
3587 echo "Doing html in bfd" ; \
3588 (cd $(HOST_SUBDIR)/bfd && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591 "RANLIB=$${RANLIB}" \
3592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3593 html) \
3594 || exit 1
3596 @endif bfd
3598 .PHONY: maybe-TAGS-bfd TAGS-bfd
3599 maybe-TAGS-bfd:
3600 @if bfd
3601 maybe-TAGS-bfd: TAGS-bfd
3603 TAGS-bfd: \
3604 configure-bfd
3605 @[ -f ./bfd/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 for flag in $(EXTRA_HOST_FLAGS) ; do \
3610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 done; \
3612 echo "Doing TAGS in bfd" ; \
3613 (cd $(HOST_SUBDIR)/bfd && \
3614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3616 "RANLIB=$${RANLIB}" \
3617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3618 TAGS) \
3619 || exit 1
3621 @endif bfd
3623 .PHONY: maybe-install-info-bfd install-info-bfd
3624 maybe-install-info-bfd:
3625 @if bfd
3626 maybe-install-info-bfd: install-info-bfd
3628 install-info-bfd: \
3629 configure-bfd \
3630 info-bfd
3631 @[ -f ./bfd/Makefile ] || exit 0; \
3632 r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing install-info in bfd" ; \
3639 (cd $(HOST_SUBDIR)/bfd && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3644 install-info) \
3645 || exit 1
3647 @endif bfd
3649 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3650 maybe-install-pdf-bfd:
3651 @if bfd
3652 maybe-install-pdf-bfd: install-pdf-bfd
3654 install-pdf-bfd: \
3655 configure-bfd \
3656 pdf-bfd
3657 @[ -f ./bfd/Makefile ] || exit 0; \
3658 r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 $(HOST_EXPORTS) \
3661 for flag in $(EXTRA_HOST_FLAGS) ; do \
3662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3663 done; \
3664 echo "Doing install-pdf in bfd" ; \
3665 (cd $(HOST_SUBDIR)/bfd && \
3666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3668 "RANLIB=$${RANLIB}" \
3669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3670 install-pdf) \
3671 || exit 1
3673 @endif bfd
3675 .PHONY: maybe-install-html-bfd install-html-bfd
3676 maybe-install-html-bfd:
3677 @if bfd
3678 maybe-install-html-bfd: install-html-bfd
3680 install-html-bfd: \
3681 configure-bfd \
3682 html-bfd
3683 @[ -f ./bfd/Makefile ] || exit 0; \
3684 r=`${PWD_COMMAND}`; export r; \
3685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 $(HOST_EXPORTS) \
3687 for flag in $(EXTRA_HOST_FLAGS) ; do \
3688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3689 done; \
3690 echo "Doing install-html in bfd" ; \
3691 (cd $(HOST_SUBDIR)/bfd && \
3692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3694 "RANLIB=$${RANLIB}" \
3695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3696 install-html) \
3697 || exit 1
3699 @endif bfd
3701 .PHONY: maybe-installcheck-bfd installcheck-bfd
3702 maybe-installcheck-bfd:
3703 @if bfd
3704 maybe-installcheck-bfd: installcheck-bfd
3706 installcheck-bfd: \
3707 configure-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 installcheck 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 installcheck) \
3722 || exit 1
3724 @endif bfd
3726 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3727 maybe-mostlyclean-bfd:
3728 @if bfd
3729 maybe-mostlyclean-bfd: mostlyclean-bfd
3731 mostlyclean-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 mostlyclean 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 mostlyclean) \
3746 || exit 1
3748 @endif bfd
3750 .PHONY: maybe-clean-bfd clean-bfd
3751 maybe-clean-bfd:
3752 @if bfd
3753 maybe-clean-bfd: clean-bfd
3755 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 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 clean) \
3770 || exit 1
3772 @endif bfd
3774 .PHONY: maybe-distclean-bfd distclean-bfd
3775 maybe-distclean-bfd:
3776 @if bfd
3777 maybe-distclean-bfd: distclean-bfd
3779 distclean-bfd:
3780 @[ -f ./bfd/Makefile ] || exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 $(HOST_EXPORTS) \
3784 for flag in $(EXTRA_HOST_FLAGS) ; do \
3785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3786 done; \
3787 echo "Doing distclean in bfd" ; \
3788 (cd $(HOST_SUBDIR)/bfd && \
3789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3791 "RANLIB=$${RANLIB}" \
3792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3793 distclean) \
3794 || exit 1
3796 @endif bfd
3798 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3799 maybe-maintainer-clean-bfd:
3800 @if bfd
3801 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3803 maintainer-clean-bfd:
3804 @[ -f ./bfd/Makefile ] || exit 0; \
3805 r=`${PWD_COMMAND}`; export r; \
3806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 $(HOST_EXPORTS) \
3808 for flag in $(EXTRA_HOST_FLAGS) ; do \
3809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3810 done; \
3811 echo "Doing maintainer-clean in bfd" ; \
3812 (cd $(HOST_SUBDIR)/bfd && \
3813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3815 "RANLIB=$${RANLIB}" \
3816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3817 maintainer-clean) \
3818 || exit 1
3820 @endif bfd
3824 .PHONY: configure-opcodes maybe-configure-opcodes
3825 maybe-configure-opcodes:
3826 @if gcc-bootstrap
3827 configure-opcodes: stage_current
3828 @endif gcc-bootstrap
3829 @if opcodes
3830 maybe-configure-opcodes: configure-opcodes
3831 configure-opcodes:
3832 @r=`${PWD_COMMAND}`; export r; \
3833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3834 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3836 $(HOST_EXPORTS) \
3837 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3838 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3839 case $(srcdir) in \
3840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3841 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3843 esac; \
3844 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3845 libsrcdir="$$s/opcodes"; \
3846 $(SHELL) $${libsrcdir}/configure \
3847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3848 --target=${target_alias} $${srcdiroption} \
3849 || exit 1
3850 @endif opcodes
3854 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3855 maybe-configure-stage1-opcodes:
3856 @if opcodes-bootstrap
3857 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3858 configure-stage1-opcodes:
3859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3861 @r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 TFLAGS="$(STAGE1_TFLAGS)"; \
3864 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3865 $(HOST_EXPORTS) \
3866 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3867 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3868 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3869 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3871 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3872 case $(srcdir) in \
3873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3874 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3876 esac; \
3877 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3878 libsrcdir="$$s/opcodes"; \
3879 $(SHELL) $${libsrcdir}/configure \
3880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3881 --target=${target_alias} $${srcdiroption} \
3882 $(STAGE1_CONFIGURE_FLAGS)
3883 @endif opcodes-bootstrap
3885 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3886 maybe-configure-stage2-opcodes:
3887 @if opcodes-bootstrap
3888 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3889 configure-stage2-opcodes:
3890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3892 @r=`${PWD_COMMAND}`; export r; \
3893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3894 TFLAGS="$(STAGE2_TFLAGS)"; \
3895 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3896 $(HOST_EXPORTS) \
3897 $(POSTSTAGE1_HOST_EXPORTS) \
3898 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3899 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3900 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3901 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3903 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3904 case $(srcdir) in \
3905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3906 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3908 esac; \
3909 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3910 libsrcdir="$$s/opcodes"; \
3911 $(SHELL) $${libsrcdir}/configure \
3912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3913 --target=${target_alias} $${srcdiroption} \
3914 --with-build-libsubdir=$(HOST_SUBDIR) \
3915 $(STAGE2_CONFIGURE_FLAGS)
3916 @endif opcodes-bootstrap
3918 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3919 maybe-configure-stage3-opcodes:
3920 @if opcodes-bootstrap
3921 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3922 configure-stage3-opcodes:
3923 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3925 @r=`${PWD_COMMAND}`; export r; \
3926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3927 TFLAGS="$(STAGE3_TFLAGS)"; \
3928 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3929 $(HOST_EXPORTS) \
3930 $(POSTSTAGE1_HOST_EXPORTS) \
3931 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3932 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3933 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3934 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3936 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3937 case $(srcdir) in \
3938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3939 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3941 esac; \
3942 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3943 libsrcdir="$$s/opcodes"; \
3944 $(SHELL) $${libsrcdir}/configure \
3945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3946 --target=${target_alias} $${srcdiroption} \
3947 --with-build-libsubdir=$(HOST_SUBDIR) \
3948 $(STAGE3_CONFIGURE_FLAGS)
3949 @endif opcodes-bootstrap
3951 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3952 maybe-configure-stage4-opcodes:
3953 @if opcodes-bootstrap
3954 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3955 configure-stage4-opcodes:
3956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3958 @r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 TFLAGS="$(STAGE4_TFLAGS)"; \
3961 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3962 $(HOST_EXPORTS) \
3963 $(POSTSTAGE1_HOST_EXPORTS) \
3964 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3965 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3966 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3967 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3969 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3970 case $(srcdir) in \
3971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3972 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3974 esac; \
3975 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3976 libsrcdir="$$s/opcodes"; \
3977 $(SHELL) $${libsrcdir}/configure \
3978 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3979 --target=${target_alias} $${srcdiroption} \
3980 --with-build-libsubdir=$(HOST_SUBDIR) \
3981 $(STAGE4_CONFIGURE_FLAGS)
3982 @endif opcodes-bootstrap
3984 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3985 maybe-configure-stageprofile-opcodes:
3986 @if opcodes-bootstrap
3987 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3988 configure-stageprofile-opcodes:
3989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3991 @r=`${PWD_COMMAND}`; export r; \
3992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3993 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3994 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3995 $(HOST_EXPORTS) \
3996 $(POSTSTAGE1_HOST_EXPORTS) \
3997 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3999 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4000 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4002 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4003 case $(srcdir) in \
4004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4005 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4007 esac; \
4008 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4009 libsrcdir="$$s/opcodes"; \
4010 $(SHELL) $${libsrcdir}/configure \
4011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4012 --target=${target_alias} $${srcdiroption} \
4013 --with-build-libsubdir=$(HOST_SUBDIR) \
4014 $(STAGEprofile_CONFIGURE_FLAGS)
4015 @endif opcodes-bootstrap
4017 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4018 maybe-configure-stagefeedback-opcodes:
4019 @if opcodes-bootstrap
4020 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4021 configure-stagefeedback-opcodes:
4022 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4024 @r=`${PWD_COMMAND}`; export r; \
4025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4027 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4028 $(HOST_EXPORTS) \
4029 $(POSTSTAGE1_HOST_EXPORTS) \
4030 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4031 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4032 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4033 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4035 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4036 case $(srcdir) in \
4037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4038 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4040 esac; \
4041 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4042 libsrcdir="$$s/opcodes"; \
4043 $(SHELL) $${libsrcdir}/configure \
4044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4045 --target=${target_alias} $${srcdiroption} \
4046 --with-build-libsubdir=$(HOST_SUBDIR) \
4047 $(STAGEfeedback_CONFIGURE_FLAGS)
4048 @endif opcodes-bootstrap
4054 .PHONY: all-opcodes maybe-all-opcodes
4055 maybe-all-opcodes:
4056 @if gcc-bootstrap
4057 all-opcodes: stage_current
4058 @endif gcc-bootstrap
4059 @if opcodes
4060 TARGET-opcodes=all
4061 maybe-all-opcodes: all-opcodes
4062 all-opcodes: configure-opcodes
4063 @r=`${PWD_COMMAND}`; export r; \
4064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4065 $(HOST_EXPORTS) \
4066 (cd $(HOST_SUBDIR)/opcodes && \
4067 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4068 $(TARGET-opcodes))
4069 @endif opcodes
4073 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4074 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4075 maybe-all-stage1-opcodes:
4076 maybe-clean-stage1-opcodes:
4077 @if opcodes-bootstrap
4078 maybe-all-stage1-opcodes: all-stage1-opcodes
4079 all-stage1: all-stage1-opcodes
4080 TARGET-stage1-opcodes = $(TARGET-opcodes)
4081 all-stage1-opcodes: configure-stage1-opcodes
4082 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4083 @r=`${PWD_COMMAND}`; export r; \
4084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4085 TFLAGS="$(STAGE1_TFLAGS)"; \
4086 $(HOST_EXPORTS) \
4087 cd $(HOST_SUBDIR)/opcodes && \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4089 CFLAGS="$(STAGE1_CFLAGS)" \
4090 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4091 LIBCFLAGS="$(LIBCFLAGS)" \
4092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4095 $(EXTRA_HOST_FLAGS) \
4096 $(STAGE1_FLAGS_TO_PASS) \
4097 TFLAGS="$(STAGE1_TFLAGS)" \
4098 $(TARGET-stage1-opcodes)
4100 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4101 clean-stage1: clean-stage1-opcodes
4102 clean-stage1-opcodes:
4103 @if [ $(current_stage) = stage1 ]; then \
4104 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4105 else \
4106 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4107 $(MAKE) stage1-start; \
4108 fi; \
4109 cd $(HOST_SUBDIR)/opcodes && \
4110 $(MAKE) $(EXTRA_HOST_FLAGS) \
4111 $(STAGE1_FLAGS_TO_PASS) clean
4112 @endif opcodes-bootstrap
4115 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4116 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4117 maybe-all-stage2-opcodes:
4118 maybe-clean-stage2-opcodes:
4119 @if opcodes-bootstrap
4120 maybe-all-stage2-opcodes: all-stage2-opcodes
4121 all-stage2: all-stage2-opcodes
4122 TARGET-stage2-opcodes = $(TARGET-opcodes)
4123 all-stage2-opcodes: configure-stage2-opcodes
4124 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4125 @r=`${PWD_COMMAND}`; export r; \
4126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4127 TFLAGS="$(STAGE2_TFLAGS)"; \
4128 $(HOST_EXPORTS) \
4129 $(POSTSTAGE1_HOST_EXPORTS) \
4130 cd $(HOST_SUBDIR)/opcodes && \
4131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4132 CFLAGS="$(STAGE2_CFLAGS)" \
4133 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4134 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4139 TFLAGS="$(STAGE2_TFLAGS)" \
4140 $(TARGET-stage2-opcodes)
4142 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4143 clean-stage2: clean-stage2-opcodes
4144 clean-stage2-opcodes:
4145 @if [ $(current_stage) = stage2 ]; then \
4146 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4147 else \
4148 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4149 $(MAKE) stage2-start; \
4150 fi; \
4151 cd $(HOST_SUBDIR)/opcodes && \
4152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4153 @endif opcodes-bootstrap
4156 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4157 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4158 maybe-all-stage3-opcodes:
4159 maybe-clean-stage3-opcodes:
4160 @if opcodes-bootstrap
4161 maybe-all-stage3-opcodes: all-stage3-opcodes
4162 all-stage3: all-stage3-opcodes
4163 TARGET-stage3-opcodes = $(TARGET-opcodes)
4164 all-stage3-opcodes: configure-stage3-opcodes
4165 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4166 @r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 TFLAGS="$(STAGE3_TFLAGS)"; \
4169 $(HOST_EXPORTS) \
4170 $(POSTSTAGE1_HOST_EXPORTS) \
4171 cd $(HOST_SUBDIR)/opcodes && \
4172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4173 CFLAGS="$(STAGE3_CFLAGS)" \
4174 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4175 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4179 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4180 TFLAGS="$(STAGE3_TFLAGS)" \
4181 $(TARGET-stage3-opcodes)
4183 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4184 clean-stage3: clean-stage3-opcodes
4185 clean-stage3-opcodes:
4186 @if [ $(current_stage) = stage3 ]; then \
4187 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4188 else \
4189 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4190 $(MAKE) stage3-start; \
4191 fi; \
4192 cd $(HOST_SUBDIR)/opcodes && \
4193 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4194 @endif opcodes-bootstrap
4197 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4198 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4199 maybe-all-stage4-opcodes:
4200 maybe-clean-stage4-opcodes:
4201 @if opcodes-bootstrap
4202 maybe-all-stage4-opcodes: all-stage4-opcodes
4203 all-stage4: all-stage4-opcodes
4204 TARGET-stage4-opcodes = $(TARGET-opcodes)
4205 all-stage4-opcodes: configure-stage4-opcodes
4206 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4207 @r=`${PWD_COMMAND}`; export r; \
4208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4209 TFLAGS="$(STAGE4_TFLAGS)"; \
4210 $(HOST_EXPORTS) \
4211 $(POSTSTAGE1_HOST_EXPORTS) \
4212 cd $(HOST_SUBDIR)/opcodes && \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4214 CFLAGS="$(STAGE4_CFLAGS)" \
4215 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4216 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4221 TFLAGS="$(STAGE4_TFLAGS)" \
4222 $(TARGET-stage4-opcodes)
4224 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4225 clean-stage4: clean-stage4-opcodes
4226 clean-stage4-opcodes:
4227 @if [ $(current_stage) = stage4 ]; then \
4228 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4229 else \
4230 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4231 $(MAKE) stage4-start; \
4232 fi; \
4233 cd $(HOST_SUBDIR)/opcodes && \
4234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4235 @endif opcodes-bootstrap
4238 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4239 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4240 maybe-all-stageprofile-opcodes:
4241 maybe-clean-stageprofile-opcodes:
4242 @if opcodes-bootstrap
4243 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4244 all-stageprofile: all-stageprofile-opcodes
4245 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4246 all-stageprofile-opcodes: configure-stageprofile-opcodes
4247 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4248 @r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4251 $(HOST_EXPORTS) \
4252 $(POSTSTAGE1_HOST_EXPORTS) \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4255 CFLAGS="$(STAGEprofile_CFLAGS)" \
4256 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4257 LIBCFLAGS="$(STAGEprofile_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="$(STAGEprofile_TFLAGS)" \
4263 $(TARGET-stageprofile-opcodes)
4265 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4266 clean-stageprofile: clean-stageprofile-opcodes
4267 clean-stageprofile-opcodes:
4268 @if [ $(current_stage) = stageprofile ]; then \
4269 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4270 else \
4271 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4272 $(MAKE) stageprofile-start; \
4273 fi; \
4274 cd $(HOST_SUBDIR)/opcodes && \
4275 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4276 @endif opcodes-bootstrap
4279 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4280 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4281 maybe-all-stagefeedback-opcodes:
4282 maybe-clean-stagefeedback-opcodes:
4283 @if opcodes-bootstrap
4284 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4285 all-stagefeedback: all-stagefeedback-opcodes
4286 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4287 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4288 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4289 @r=`${PWD_COMMAND}`; export r; \
4290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4292 $(HOST_EXPORTS) \
4293 $(POSTSTAGE1_HOST_EXPORTS) \
4294 cd $(HOST_SUBDIR)/opcodes && \
4295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4296 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4297 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4298 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4303 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4304 $(TARGET-stagefeedback-opcodes)
4306 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4307 clean-stagefeedback: clean-stagefeedback-opcodes
4308 clean-stagefeedback-opcodes:
4309 @if [ $(current_stage) = stagefeedback ]; then \
4310 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4311 else \
4312 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4313 $(MAKE) stagefeedback-start; \
4314 fi; \
4315 cd $(HOST_SUBDIR)/opcodes && \
4316 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4317 @endif opcodes-bootstrap
4323 .PHONY: check-opcodes maybe-check-opcodes
4324 maybe-check-opcodes:
4325 @if opcodes
4326 maybe-check-opcodes: check-opcodes
4328 check-opcodes:
4329 @: $(MAKE); $(unstage)
4330 @r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 (cd $(HOST_SUBDIR)/opcodes && \
4334 $(MAKE) $(FLAGS_TO_PASS) check)
4336 @endif opcodes
4338 .PHONY: install-opcodes maybe-install-opcodes
4339 maybe-install-opcodes:
4340 @if opcodes
4341 maybe-install-opcodes: install-opcodes
4343 install-opcodes: installdirs
4344 @: $(MAKE); $(unstage)
4345 @r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 $(HOST_EXPORTS) \
4348 (cd $(HOST_SUBDIR)/opcodes && \
4349 $(MAKE) $(FLAGS_TO_PASS) install)
4351 @endif opcodes
4353 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4354 maybe-install-strip-opcodes:
4355 @if opcodes
4356 maybe-install-strip-opcodes: install-strip-opcodes
4358 install-strip-opcodes: installdirs
4359 @: $(MAKE); $(unstage)
4360 @r=`${PWD_COMMAND}`; export r; \
4361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4362 $(HOST_EXPORTS) \
4363 (cd $(HOST_SUBDIR)/opcodes && \
4364 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4366 @endif opcodes
4368 # Other targets (info, dvi, pdf, etc.)
4370 .PHONY: maybe-info-opcodes info-opcodes
4371 maybe-info-opcodes:
4372 @if opcodes
4373 maybe-info-opcodes: info-opcodes
4375 info-opcodes: \
4376 configure-opcodes
4377 @[ -f ./opcodes/Makefile ] || exit 0; \
4378 r=`${PWD_COMMAND}`; export r; \
4379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4380 $(HOST_EXPORTS) \
4381 for flag in $(EXTRA_HOST_FLAGS) ; do \
4382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4383 done; \
4384 echo "Doing info in opcodes" ; \
4385 (cd $(HOST_SUBDIR)/opcodes && \
4386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4388 "RANLIB=$${RANLIB}" \
4389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4390 info) \
4391 || exit 1
4393 @endif opcodes
4395 .PHONY: maybe-dvi-opcodes dvi-opcodes
4396 maybe-dvi-opcodes:
4397 @if opcodes
4398 maybe-dvi-opcodes: dvi-opcodes
4400 dvi-opcodes: \
4401 configure-opcodes
4402 @[ -f ./opcodes/Makefile ] || exit 0; \
4403 r=`${PWD_COMMAND}`; export r; \
4404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405 $(HOST_EXPORTS) \
4406 for flag in $(EXTRA_HOST_FLAGS) ; do \
4407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4408 done; \
4409 echo "Doing dvi in opcodes" ; \
4410 (cd $(HOST_SUBDIR)/opcodes && \
4411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4413 "RANLIB=$${RANLIB}" \
4414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4415 dvi) \
4416 || exit 1
4418 @endif opcodes
4420 .PHONY: maybe-pdf-opcodes pdf-opcodes
4421 maybe-pdf-opcodes:
4422 @if opcodes
4423 maybe-pdf-opcodes: pdf-opcodes
4425 pdf-opcodes: \
4426 configure-opcodes
4427 @[ -f ./opcodes/Makefile ] || exit 0; \
4428 r=`${PWD_COMMAND}`; export r; \
4429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4430 $(HOST_EXPORTS) \
4431 for flag in $(EXTRA_HOST_FLAGS) ; do \
4432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4433 done; \
4434 echo "Doing pdf in opcodes" ; \
4435 (cd $(HOST_SUBDIR)/opcodes && \
4436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4438 "RANLIB=$${RANLIB}" \
4439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4440 pdf) \
4441 || exit 1
4443 @endif opcodes
4445 .PHONY: maybe-html-opcodes html-opcodes
4446 maybe-html-opcodes:
4447 @if opcodes
4448 maybe-html-opcodes: html-opcodes
4450 html-opcodes: \
4451 configure-opcodes
4452 @[ -f ./opcodes/Makefile ] || exit 0; \
4453 r=`${PWD_COMMAND}`; export r; \
4454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4455 $(HOST_EXPORTS) \
4456 for flag in $(EXTRA_HOST_FLAGS) ; do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 echo "Doing html in opcodes" ; \
4460 (cd $(HOST_SUBDIR)/opcodes && \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4465 html) \
4466 || exit 1
4468 @endif opcodes
4470 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4471 maybe-TAGS-opcodes:
4472 @if opcodes
4473 maybe-TAGS-opcodes: TAGS-opcodes
4475 TAGS-opcodes: \
4476 configure-opcodes
4477 @[ -f ./opcodes/Makefile ] || exit 0; \
4478 r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 $(HOST_EXPORTS) \
4481 for flag in $(EXTRA_HOST_FLAGS) ; do \
4482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4483 done; \
4484 echo "Doing TAGS in opcodes" ; \
4485 (cd $(HOST_SUBDIR)/opcodes && \
4486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488 "RANLIB=$${RANLIB}" \
4489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4490 TAGS) \
4491 || exit 1
4493 @endif opcodes
4495 .PHONY: maybe-install-info-opcodes install-info-opcodes
4496 maybe-install-info-opcodes:
4497 @if opcodes
4498 maybe-install-info-opcodes: install-info-opcodes
4500 install-info-opcodes: \
4501 configure-opcodes \
4502 info-opcodes
4503 @[ -f ./opcodes/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4509 done; \
4510 echo "Doing install-info in opcodes" ; \
4511 (cd $(HOST_SUBDIR)/opcodes && \
4512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4514 "RANLIB=$${RANLIB}" \
4515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4516 install-info) \
4517 || exit 1
4519 @endif opcodes
4521 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4522 maybe-install-pdf-opcodes:
4523 @if opcodes
4524 maybe-install-pdf-opcodes: install-pdf-opcodes
4526 install-pdf-opcodes: \
4527 configure-opcodes \
4528 pdf-opcodes
4529 @[ -f ./opcodes/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 $(HOST_EXPORTS) \
4533 for flag in $(EXTRA_HOST_FLAGS) ; do \
4534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4535 done; \
4536 echo "Doing install-pdf in opcodes" ; \
4537 (cd $(HOST_SUBDIR)/opcodes && \
4538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4540 "RANLIB=$${RANLIB}" \
4541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4542 install-pdf) \
4543 || exit 1
4545 @endif opcodes
4547 .PHONY: maybe-install-html-opcodes install-html-opcodes
4548 maybe-install-html-opcodes:
4549 @if opcodes
4550 maybe-install-html-opcodes: install-html-opcodes
4552 install-html-opcodes: \
4553 configure-opcodes \
4554 html-opcodes
4555 @[ -f ./opcodes/Makefile ] || exit 0; \
4556 r=`${PWD_COMMAND}`; export r; \
4557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4558 $(HOST_EXPORTS) \
4559 for flag in $(EXTRA_HOST_FLAGS) ; do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561 done; \
4562 echo "Doing install-html in opcodes" ; \
4563 (cd $(HOST_SUBDIR)/opcodes && \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4568 install-html) \
4569 || exit 1
4571 @endif opcodes
4573 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4574 maybe-installcheck-opcodes:
4575 @if opcodes
4576 maybe-installcheck-opcodes: installcheck-opcodes
4578 installcheck-opcodes: \
4579 configure-opcodes
4580 @[ -f ./opcodes/Makefile ] || exit 0; \
4581 r=`${PWD_COMMAND}`; export r; \
4582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4583 $(HOST_EXPORTS) \
4584 for flag in $(EXTRA_HOST_FLAGS) ; do \
4585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4586 done; \
4587 echo "Doing installcheck in opcodes" ; \
4588 (cd $(HOST_SUBDIR)/opcodes && \
4589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591 "RANLIB=$${RANLIB}" \
4592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4593 installcheck) \
4594 || exit 1
4596 @endif opcodes
4598 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4599 maybe-mostlyclean-opcodes:
4600 @if opcodes
4601 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4603 mostlyclean-opcodes:
4604 @[ -f ./opcodes/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 $(HOST_EXPORTS) \
4608 for flag in $(EXTRA_HOST_FLAGS) ; do \
4609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4610 done; \
4611 echo "Doing mostlyclean in opcodes" ; \
4612 (cd $(HOST_SUBDIR)/opcodes && \
4613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4615 "RANLIB=$${RANLIB}" \
4616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4617 mostlyclean) \
4618 || exit 1
4620 @endif opcodes
4622 .PHONY: maybe-clean-opcodes clean-opcodes
4623 maybe-clean-opcodes:
4624 @if opcodes
4625 maybe-clean-opcodes: clean-opcodes
4627 clean-opcodes:
4628 @[ -f ./opcodes/Makefile ] || exit 0; \
4629 r=`${PWD_COMMAND}`; export r; \
4630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4631 $(HOST_EXPORTS) \
4632 for flag in $(EXTRA_HOST_FLAGS) ; do \
4633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4634 done; \
4635 echo "Doing clean in opcodes" ; \
4636 (cd $(HOST_SUBDIR)/opcodes && \
4637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4639 "RANLIB=$${RANLIB}" \
4640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4641 clean) \
4642 || exit 1
4644 @endif opcodes
4646 .PHONY: maybe-distclean-opcodes distclean-opcodes
4647 maybe-distclean-opcodes:
4648 @if opcodes
4649 maybe-distclean-opcodes: distclean-opcodes
4651 distclean-opcodes:
4652 @[ -f ./opcodes/Makefile ] || exit 0; \
4653 r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(HOST_EXPORTS) \
4656 for flag in $(EXTRA_HOST_FLAGS) ; do \
4657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4658 done; \
4659 echo "Doing distclean in opcodes" ; \
4660 (cd $(HOST_SUBDIR)/opcodes && \
4661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4663 "RANLIB=$${RANLIB}" \
4664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4665 distclean) \
4666 || exit 1
4668 @endif opcodes
4670 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4671 maybe-maintainer-clean-opcodes:
4672 @if opcodes
4673 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4675 maintainer-clean-opcodes:
4676 @[ -f ./opcodes/Makefile ] || exit 0; \
4677 r=`${PWD_COMMAND}`; export r; \
4678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4679 $(HOST_EXPORTS) \
4680 for flag in $(EXTRA_HOST_FLAGS) ; do \
4681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4682 done; \
4683 echo "Doing maintainer-clean in opcodes" ; \
4684 (cd $(HOST_SUBDIR)/opcodes && \
4685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4687 "RANLIB=$${RANLIB}" \
4688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4689 maintainer-clean) \
4690 || exit 1
4692 @endif opcodes
4696 .PHONY: configure-binutils maybe-configure-binutils
4697 maybe-configure-binutils:
4698 @if gcc-bootstrap
4699 configure-binutils: stage_current
4700 @endif gcc-bootstrap
4701 @if binutils
4702 maybe-configure-binutils: configure-binutils
4703 configure-binutils:
4704 @r=`${PWD_COMMAND}`; export r; \
4705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4706 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4708 $(HOST_EXPORTS) \
4709 echo Configuring in $(HOST_SUBDIR)/binutils; \
4710 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4711 case $(srcdir) in \
4712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4713 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4715 esac; \
4716 srcdiroption="--srcdir=$${topdir}/binutils"; \
4717 libsrcdir="$$s/binutils"; \
4718 $(SHELL) $${libsrcdir}/configure \
4719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4720 --target=${target_alias} $${srcdiroption} \
4721 || exit 1
4722 @endif binutils
4726 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4727 maybe-configure-stage1-binutils:
4728 @if binutils-bootstrap
4729 maybe-configure-stage1-binutils: configure-stage1-binutils
4730 configure-stage1-binutils:
4731 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4733 @r=`${PWD_COMMAND}`; export r; \
4734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4735 TFLAGS="$(STAGE1_TFLAGS)"; \
4736 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4737 $(HOST_EXPORTS) \
4738 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4739 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4740 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4741 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4743 cd $(HOST_SUBDIR)/binutils || exit 1; \
4744 case $(srcdir) in \
4745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4746 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4748 esac; \
4749 srcdiroption="--srcdir=$${topdir}/binutils"; \
4750 libsrcdir="$$s/binutils"; \
4751 $(SHELL) $${libsrcdir}/configure \
4752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4753 --target=${target_alias} $${srcdiroption} \
4754 $(STAGE1_CONFIGURE_FLAGS)
4755 @endif binutils-bootstrap
4757 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4758 maybe-configure-stage2-binutils:
4759 @if binutils-bootstrap
4760 maybe-configure-stage2-binutils: configure-stage2-binutils
4761 configure-stage2-binutils:
4762 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4764 @r=`${PWD_COMMAND}`; export r; \
4765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4766 TFLAGS="$(STAGE2_TFLAGS)"; \
4767 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4768 $(HOST_EXPORTS) \
4769 $(POSTSTAGE1_HOST_EXPORTS) \
4770 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4771 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4772 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4773 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4775 cd $(HOST_SUBDIR)/binutils || exit 1; \
4776 case $(srcdir) in \
4777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4778 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4780 esac; \
4781 srcdiroption="--srcdir=$${topdir}/binutils"; \
4782 libsrcdir="$$s/binutils"; \
4783 $(SHELL) $${libsrcdir}/configure \
4784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4785 --target=${target_alias} $${srcdiroption} \
4786 --with-build-libsubdir=$(HOST_SUBDIR) \
4787 $(STAGE2_CONFIGURE_FLAGS)
4788 @endif binutils-bootstrap
4790 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4791 maybe-configure-stage3-binutils:
4792 @if binutils-bootstrap
4793 maybe-configure-stage3-binutils: configure-stage3-binutils
4794 configure-stage3-binutils:
4795 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4797 @r=`${PWD_COMMAND}`; export r; \
4798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4799 TFLAGS="$(STAGE3_TFLAGS)"; \
4800 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4801 $(HOST_EXPORTS) \
4802 $(POSTSTAGE1_HOST_EXPORTS) \
4803 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4804 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4805 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4806 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4808 cd $(HOST_SUBDIR)/binutils || exit 1; \
4809 case $(srcdir) in \
4810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4811 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4813 esac; \
4814 srcdiroption="--srcdir=$${topdir}/binutils"; \
4815 libsrcdir="$$s/binutils"; \
4816 $(SHELL) $${libsrcdir}/configure \
4817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4818 --target=${target_alias} $${srcdiroption} \
4819 --with-build-libsubdir=$(HOST_SUBDIR) \
4820 $(STAGE3_CONFIGURE_FLAGS)
4821 @endif binutils-bootstrap
4823 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4824 maybe-configure-stage4-binutils:
4825 @if binutils-bootstrap
4826 maybe-configure-stage4-binutils: configure-stage4-binutils
4827 configure-stage4-binutils:
4828 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4830 @r=`${PWD_COMMAND}`; export r; \
4831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4832 TFLAGS="$(STAGE4_TFLAGS)"; \
4833 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4834 $(HOST_EXPORTS) \
4835 $(POSTSTAGE1_HOST_EXPORTS) \
4836 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4837 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4838 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4839 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4841 cd $(HOST_SUBDIR)/binutils || exit 1; \
4842 case $(srcdir) in \
4843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4844 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4846 esac; \
4847 srcdiroption="--srcdir=$${topdir}/binutils"; \
4848 libsrcdir="$$s/binutils"; \
4849 $(SHELL) $${libsrcdir}/configure \
4850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4851 --target=${target_alias} $${srcdiroption} \
4852 --with-build-libsubdir=$(HOST_SUBDIR) \
4853 $(STAGE4_CONFIGURE_FLAGS)
4854 @endif binutils-bootstrap
4856 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4857 maybe-configure-stageprofile-binutils:
4858 @if binutils-bootstrap
4859 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4860 configure-stageprofile-binutils:
4861 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4863 @r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4865 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4866 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4867 $(HOST_EXPORTS) \
4868 $(POSTSTAGE1_HOST_EXPORTS) \
4869 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4870 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4871 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4872 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4874 cd $(HOST_SUBDIR)/binutils || exit 1; \
4875 case $(srcdir) in \
4876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4877 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4879 esac; \
4880 srcdiroption="--srcdir=$${topdir}/binutils"; \
4881 libsrcdir="$$s/binutils"; \
4882 $(SHELL) $${libsrcdir}/configure \
4883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4884 --target=${target_alias} $${srcdiroption} \
4885 --with-build-libsubdir=$(HOST_SUBDIR) \
4886 $(STAGEprofile_CONFIGURE_FLAGS)
4887 @endif binutils-bootstrap
4889 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4890 maybe-configure-stagefeedback-binutils:
4891 @if binutils-bootstrap
4892 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4893 configure-stagefeedback-binutils:
4894 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4895 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4896 @r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4899 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4900 $(HOST_EXPORTS) \
4901 $(POSTSTAGE1_HOST_EXPORTS) \
4902 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4903 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4904 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4905 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4907 cd $(HOST_SUBDIR)/binutils || exit 1; \
4908 case $(srcdir) in \
4909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4910 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4912 esac; \
4913 srcdiroption="--srcdir=$${topdir}/binutils"; \
4914 libsrcdir="$$s/binutils"; \
4915 $(SHELL) $${libsrcdir}/configure \
4916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4917 --target=${target_alias} $${srcdiroption} \
4918 --with-build-libsubdir=$(HOST_SUBDIR) \
4919 $(STAGEfeedback_CONFIGURE_FLAGS)
4920 @endif binutils-bootstrap
4926 .PHONY: all-binutils maybe-all-binutils
4927 maybe-all-binutils:
4928 @if gcc-bootstrap
4929 all-binutils: stage_current
4930 @endif gcc-bootstrap
4931 @if binutils
4932 TARGET-binutils=all
4933 maybe-all-binutils: all-binutils
4934 all-binutils: configure-binutils
4935 @r=`${PWD_COMMAND}`; export r; \
4936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4937 $(HOST_EXPORTS) \
4938 (cd $(HOST_SUBDIR)/binutils && \
4939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4940 $(TARGET-binutils))
4941 @endif binutils
4945 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4946 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4947 maybe-all-stage1-binutils:
4948 maybe-clean-stage1-binutils:
4949 @if binutils-bootstrap
4950 maybe-all-stage1-binutils: all-stage1-binutils
4951 all-stage1: all-stage1-binutils
4952 TARGET-stage1-binutils = $(TARGET-binutils)
4953 all-stage1-binutils: configure-stage1-binutils
4954 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4955 @r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957 TFLAGS="$(STAGE1_TFLAGS)"; \
4958 $(HOST_EXPORTS) \
4959 cd $(HOST_SUBDIR)/binutils && \
4960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4961 CFLAGS="$(STAGE1_CFLAGS)" \
4962 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4963 LIBCFLAGS="$(LIBCFLAGS)" \
4964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4967 $(EXTRA_HOST_FLAGS) \
4968 $(STAGE1_FLAGS_TO_PASS) \
4969 TFLAGS="$(STAGE1_TFLAGS)" \
4970 $(TARGET-stage1-binutils)
4972 maybe-clean-stage1-binutils: clean-stage1-binutils
4973 clean-stage1: clean-stage1-binutils
4974 clean-stage1-binutils:
4975 @if [ $(current_stage) = stage1 ]; then \
4976 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4977 else \
4978 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4979 $(MAKE) stage1-start; \
4980 fi; \
4981 cd $(HOST_SUBDIR)/binutils && \
4982 $(MAKE) $(EXTRA_HOST_FLAGS) \
4983 $(STAGE1_FLAGS_TO_PASS) clean
4984 @endif binutils-bootstrap
4987 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4988 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4989 maybe-all-stage2-binutils:
4990 maybe-clean-stage2-binutils:
4991 @if binutils-bootstrap
4992 maybe-all-stage2-binutils: all-stage2-binutils
4993 all-stage2: all-stage2-binutils
4994 TARGET-stage2-binutils = $(TARGET-binutils)
4995 all-stage2-binutils: configure-stage2-binutils
4996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4997 @r=`${PWD_COMMAND}`; export r; \
4998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 TFLAGS="$(STAGE2_TFLAGS)"; \
5000 $(HOST_EXPORTS) \
5001 $(POSTSTAGE1_HOST_EXPORTS) \
5002 cd $(HOST_SUBDIR)/binutils && \
5003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5004 CFLAGS="$(STAGE2_CFLAGS)" \
5005 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5006 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5011 TFLAGS="$(STAGE2_TFLAGS)" \
5012 $(TARGET-stage2-binutils)
5014 maybe-clean-stage2-binutils: clean-stage2-binutils
5015 clean-stage2: clean-stage2-binutils
5016 clean-stage2-binutils:
5017 @if [ $(current_stage) = stage2 ]; then \
5018 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5019 else \
5020 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5021 $(MAKE) stage2-start; \
5022 fi; \
5023 cd $(HOST_SUBDIR)/binutils && \
5024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5025 @endif binutils-bootstrap
5028 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5029 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5030 maybe-all-stage3-binutils:
5031 maybe-clean-stage3-binutils:
5032 @if binutils-bootstrap
5033 maybe-all-stage3-binutils: all-stage3-binutils
5034 all-stage3: all-stage3-binutils
5035 TARGET-stage3-binutils = $(TARGET-binutils)
5036 all-stage3-binutils: configure-stage3-binutils
5037 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5038 @r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 TFLAGS="$(STAGE3_TFLAGS)"; \
5041 $(HOST_EXPORTS) \
5042 $(POSTSTAGE1_HOST_EXPORTS) \
5043 cd $(HOST_SUBDIR)/binutils && \
5044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5045 CFLAGS="$(STAGE3_CFLAGS)" \
5046 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5047 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5051 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5052 TFLAGS="$(STAGE3_TFLAGS)" \
5053 $(TARGET-stage3-binutils)
5055 maybe-clean-stage3-binutils: clean-stage3-binutils
5056 clean-stage3: clean-stage3-binutils
5057 clean-stage3-binutils:
5058 @if [ $(current_stage) = stage3 ]; then \
5059 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5060 else \
5061 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5062 $(MAKE) stage3-start; \
5063 fi; \
5064 cd $(HOST_SUBDIR)/binutils && \
5065 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5066 @endif binutils-bootstrap
5069 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5070 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5071 maybe-all-stage4-binutils:
5072 maybe-clean-stage4-binutils:
5073 @if binutils-bootstrap
5074 maybe-all-stage4-binutils: all-stage4-binutils
5075 all-stage4: all-stage4-binutils
5076 TARGET-stage4-binutils = $(TARGET-binutils)
5077 all-stage4-binutils: configure-stage4-binutils
5078 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5079 @r=`${PWD_COMMAND}`; export r; \
5080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5081 TFLAGS="$(STAGE4_TFLAGS)"; \
5082 $(HOST_EXPORTS) \
5083 $(POSTSTAGE1_HOST_EXPORTS) \
5084 cd $(HOST_SUBDIR)/binutils && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5086 CFLAGS="$(STAGE4_CFLAGS)" \
5087 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5088 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5089 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5090 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5091 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5092 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5093 TFLAGS="$(STAGE4_TFLAGS)" \
5094 $(TARGET-stage4-binutils)
5096 maybe-clean-stage4-binutils: clean-stage4-binutils
5097 clean-stage4: clean-stage4-binutils
5098 clean-stage4-binutils:
5099 @if [ $(current_stage) = stage4 ]; then \
5100 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5101 else \
5102 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5103 $(MAKE) stage4-start; \
5104 fi; \
5105 cd $(HOST_SUBDIR)/binutils && \
5106 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5107 @endif binutils-bootstrap
5110 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5111 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5112 maybe-all-stageprofile-binutils:
5113 maybe-clean-stageprofile-binutils:
5114 @if binutils-bootstrap
5115 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5116 all-stageprofile: all-stageprofile-binutils
5117 TARGET-stageprofile-binutils = $(TARGET-binutils)
5118 all-stageprofile-binutils: configure-stageprofile-binutils
5119 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5120 @r=`${PWD_COMMAND}`; export r; \
5121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5123 $(HOST_EXPORTS) \
5124 $(POSTSTAGE1_HOST_EXPORTS) \
5125 cd $(HOST_SUBDIR)/binutils && \
5126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5127 CFLAGS="$(STAGEprofile_CFLAGS)" \
5128 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5129 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5134 TFLAGS="$(STAGEprofile_TFLAGS)" \
5135 $(TARGET-stageprofile-binutils)
5137 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5138 clean-stageprofile: clean-stageprofile-binutils
5139 clean-stageprofile-binutils:
5140 @if [ $(current_stage) = stageprofile ]; then \
5141 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5142 else \
5143 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5144 $(MAKE) stageprofile-start; \
5145 fi; \
5146 cd $(HOST_SUBDIR)/binutils && \
5147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5148 @endif binutils-bootstrap
5151 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5152 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5153 maybe-all-stagefeedback-binutils:
5154 maybe-clean-stagefeedback-binutils:
5155 @if binutils-bootstrap
5156 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5157 all-stagefeedback: all-stagefeedback-binutils
5158 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5159 all-stagefeedback-binutils: configure-stagefeedback-binutils
5160 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5161 @r=`${PWD_COMMAND}`; export r; \
5162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5163 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5164 $(HOST_EXPORTS) \
5165 $(POSTSTAGE1_HOST_EXPORTS) \
5166 cd $(HOST_SUBDIR)/binutils && \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5168 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5169 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5170 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5174 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5175 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5176 $(TARGET-stagefeedback-binutils)
5178 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5179 clean-stagefeedback: clean-stagefeedback-binutils
5180 clean-stagefeedback-binutils:
5181 @if [ $(current_stage) = stagefeedback ]; then \
5182 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5183 else \
5184 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5185 $(MAKE) stagefeedback-start; \
5186 fi; \
5187 cd $(HOST_SUBDIR)/binutils && \
5188 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5189 @endif binutils-bootstrap
5195 .PHONY: check-binutils maybe-check-binutils
5196 maybe-check-binutils:
5197 @if binutils
5198 maybe-check-binutils: check-binutils
5200 check-binutils:
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) check)
5208 @endif binutils
5210 .PHONY: install-binutils maybe-install-binutils
5211 maybe-install-binutils:
5212 @if binutils
5213 maybe-install-binutils: install-binutils
5215 install-binutils: installdirs
5216 @: $(MAKE); $(unstage)
5217 @r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 (cd $(HOST_SUBDIR)/binutils && \
5221 $(MAKE) $(FLAGS_TO_PASS) install)
5223 @endif binutils
5225 .PHONY: install-strip-binutils maybe-install-strip-binutils
5226 maybe-install-strip-binutils:
5227 @if binutils
5228 maybe-install-strip-binutils: install-strip-binutils
5230 install-strip-binutils: installdirs
5231 @: $(MAKE); $(unstage)
5232 @r=`${PWD_COMMAND}`; export r; \
5233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5234 $(HOST_EXPORTS) \
5235 (cd $(HOST_SUBDIR)/binutils && \
5236 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5238 @endif binutils
5240 # Other targets (info, dvi, pdf, etc.)
5242 .PHONY: maybe-info-binutils info-binutils
5243 maybe-info-binutils:
5244 @if binutils
5245 maybe-info-binutils: info-binutils
5247 info-binutils: \
5248 configure-binutils
5249 @[ -f ./binutils/Makefile ] || exit 0; \
5250 r=`${PWD_COMMAND}`; export r; \
5251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5252 $(HOST_EXPORTS) \
5253 for flag in $(EXTRA_HOST_FLAGS) ; do \
5254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5255 done; \
5256 echo "Doing info in binutils" ; \
5257 (cd $(HOST_SUBDIR)/binutils && \
5258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5260 "RANLIB=$${RANLIB}" \
5261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5262 info) \
5263 || exit 1
5265 @endif binutils
5267 .PHONY: maybe-dvi-binutils dvi-binutils
5268 maybe-dvi-binutils:
5269 @if binutils
5270 maybe-dvi-binutils: dvi-binutils
5272 dvi-binutils: \
5273 configure-binutils
5274 @[ -f ./binutils/Makefile ] || exit 0; \
5275 r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277 $(HOST_EXPORTS) \
5278 for flag in $(EXTRA_HOST_FLAGS) ; do \
5279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5280 done; \
5281 echo "Doing dvi in binutils" ; \
5282 (cd $(HOST_SUBDIR)/binutils && \
5283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5285 "RANLIB=$${RANLIB}" \
5286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5287 dvi) \
5288 || exit 1
5290 @endif binutils
5292 .PHONY: maybe-pdf-binutils pdf-binutils
5293 maybe-pdf-binutils:
5294 @if binutils
5295 maybe-pdf-binutils: pdf-binutils
5297 pdf-binutils: \
5298 configure-binutils
5299 @[ -f ./binutils/Makefile ] || exit 0; \
5300 r=`${PWD_COMMAND}`; export r; \
5301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302 $(HOST_EXPORTS) \
5303 for flag in $(EXTRA_HOST_FLAGS) ; do \
5304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5305 done; \
5306 echo "Doing pdf in binutils" ; \
5307 (cd $(HOST_SUBDIR)/binutils && \
5308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5310 "RANLIB=$${RANLIB}" \
5311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5312 pdf) \
5313 || exit 1
5315 @endif binutils
5317 .PHONY: maybe-html-binutils html-binutils
5318 maybe-html-binutils:
5319 @if binutils
5320 maybe-html-binutils: html-binutils
5322 html-binutils: \
5323 configure-binutils
5324 @[ -f ./binutils/Makefile ] || exit 0; \
5325 r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 $(HOST_EXPORTS) \
5328 for flag in $(EXTRA_HOST_FLAGS) ; do \
5329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5330 done; \
5331 echo "Doing html in binutils" ; \
5332 (cd $(HOST_SUBDIR)/binutils && \
5333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5335 "RANLIB=$${RANLIB}" \
5336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5337 html) \
5338 || exit 1
5340 @endif binutils
5342 .PHONY: maybe-TAGS-binutils TAGS-binutils
5343 maybe-TAGS-binutils:
5344 @if binutils
5345 maybe-TAGS-binutils: TAGS-binutils
5347 TAGS-binutils: \
5348 configure-binutils
5349 @[ -f ./binutils/Makefile ] || exit 0; \
5350 r=`${PWD_COMMAND}`; export r; \
5351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5352 $(HOST_EXPORTS) \
5353 for flag in $(EXTRA_HOST_FLAGS) ; do \
5354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5355 done; \
5356 echo "Doing TAGS in binutils" ; \
5357 (cd $(HOST_SUBDIR)/binutils && \
5358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5360 "RANLIB=$${RANLIB}" \
5361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5362 TAGS) \
5363 || exit 1
5365 @endif binutils
5367 .PHONY: maybe-install-info-binutils install-info-binutils
5368 maybe-install-info-binutils:
5369 @if binutils
5370 maybe-install-info-binutils: install-info-binutils
5372 install-info-binutils: \
5373 configure-binutils \
5374 info-binutils
5375 @[ -f ./binutils/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378 $(HOST_EXPORTS) \
5379 for flag in $(EXTRA_HOST_FLAGS) ; do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381 done; \
5382 echo "Doing install-info in binutils" ; \
5383 (cd $(HOST_SUBDIR)/binutils && \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5388 install-info) \
5389 || exit 1
5391 @endif binutils
5393 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5394 maybe-install-pdf-binutils:
5395 @if binutils
5396 maybe-install-pdf-binutils: install-pdf-binutils
5398 install-pdf-binutils: \
5399 configure-binutils \
5400 pdf-binutils
5401 @[ -f ./binutils/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing install-pdf in binutils" ; \
5409 (cd $(HOST_SUBDIR)/binutils && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5414 install-pdf) \
5415 || exit 1
5417 @endif binutils
5419 .PHONY: maybe-install-html-binutils install-html-binutils
5420 maybe-install-html-binutils:
5421 @if binutils
5422 maybe-install-html-binutils: install-html-binutils
5424 install-html-binutils: \
5425 configure-binutils \
5426 html-binutils
5427 @[ -f ./binutils/Makefile ] || exit 0; \
5428 r=`${PWD_COMMAND}`; export r; \
5429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 $(HOST_EXPORTS) \
5431 for flag in $(EXTRA_HOST_FLAGS) ; do \
5432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5433 done; \
5434 echo "Doing install-html in binutils" ; \
5435 (cd $(HOST_SUBDIR)/binutils && \
5436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5438 "RANLIB=$${RANLIB}" \
5439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5440 install-html) \
5441 || exit 1
5443 @endif binutils
5445 .PHONY: maybe-installcheck-binutils installcheck-binutils
5446 maybe-installcheck-binutils:
5447 @if binutils
5448 maybe-installcheck-binutils: installcheck-binutils
5450 installcheck-binutils: \
5451 configure-binutils
5452 @[ -f ./binutils/Makefile ] || exit 0; \
5453 r=`${PWD_COMMAND}`; export r; \
5454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5455 $(HOST_EXPORTS) \
5456 for flag in $(EXTRA_HOST_FLAGS) ; do \
5457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5458 done; \
5459 echo "Doing installcheck in binutils" ; \
5460 (cd $(HOST_SUBDIR)/binutils && \
5461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5463 "RANLIB=$${RANLIB}" \
5464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5465 installcheck) \
5466 || exit 1
5468 @endif binutils
5470 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5471 maybe-mostlyclean-binutils:
5472 @if binutils
5473 maybe-mostlyclean-binutils: mostlyclean-binutils
5475 mostlyclean-binutils:
5476 @[ -f ./binutils/Makefile ] || exit 0; \
5477 r=`${PWD_COMMAND}`; export r; \
5478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5479 $(HOST_EXPORTS) \
5480 for flag in $(EXTRA_HOST_FLAGS) ; do \
5481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5482 done; \
5483 echo "Doing mostlyclean in binutils" ; \
5484 (cd $(HOST_SUBDIR)/binutils && \
5485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5487 "RANLIB=$${RANLIB}" \
5488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5489 mostlyclean) \
5490 || exit 1
5492 @endif binutils
5494 .PHONY: maybe-clean-binutils clean-binutils
5495 maybe-clean-binutils:
5496 @if binutils
5497 maybe-clean-binutils: clean-binutils
5499 clean-binutils:
5500 @[ -f ./binutils/Makefile ] || exit 0; \
5501 r=`${PWD_COMMAND}`; export r; \
5502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5503 $(HOST_EXPORTS) \
5504 for flag in $(EXTRA_HOST_FLAGS) ; do \
5505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5506 done; \
5507 echo "Doing clean in binutils" ; \
5508 (cd $(HOST_SUBDIR)/binutils && \
5509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5511 "RANLIB=$${RANLIB}" \
5512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5513 clean) \
5514 || exit 1
5516 @endif binutils
5518 .PHONY: maybe-distclean-binutils distclean-binutils
5519 maybe-distclean-binutils:
5520 @if binutils
5521 maybe-distclean-binutils: distclean-binutils
5523 distclean-binutils:
5524 @[ -f ./binutils/Makefile ] || exit 0; \
5525 r=`${PWD_COMMAND}`; export r; \
5526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5527 $(HOST_EXPORTS) \
5528 for flag in $(EXTRA_HOST_FLAGS) ; do \
5529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 done; \
5531 echo "Doing distclean in binutils" ; \
5532 (cd $(HOST_SUBDIR)/binutils && \
5533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5535 "RANLIB=$${RANLIB}" \
5536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5537 distclean) \
5538 || exit 1
5540 @endif binutils
5542 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5543 maybe-maintainer-clean-binutils:
5544 @if binutils
5545 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5547 maintainer-clean-binutils:
5548 @[ -f ./binutils/Makefile ] || exit 0; \
5549 r=`${PWD_COMMAND}`; export r; \
5550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5551 $(HOST_EXPORTS) \
5552 for flag in $(EXTRA_HOST_FLAGS) ; do \
5553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5554 done; \
5555 echo "Doing maintainer-clean in binutils" ; \
5556 (cd $(HOST_SUBDIR)/binutils && \
5557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5559 "RANLIB=$${RANLIB}" \
5560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5561 maintainer-clean) \
5562 || exit 1
5564 @endif binutils
5568 .PHONY: configure-bison maybe-configure-bison
5569 maybe-configure-bison:
5570 @if gcc-bootstrap
5571 configure-bison: stage_current
5572 @endif gcc-bootstrap
5573 @if bison
5574 maybe-configure-bison: configure-bison
5575 configure-bison:
5576 @: $(MAKE); $(unstage)
5577 @r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5581 $(HOST_EXPORTS) \
5582 echo Configuring in $(HOST_SUBDIR)/bison; \
5583 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5584 case $(srcdir) in \
5585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5586 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5588 esac; \
5589 srcdiroption="--srcdir=$${topdir}/bison"; \
5590 libsrcdir="$$s/bison"; \
5591 $(SHELL) $${libsrcdir}/configure \
5592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5593 --target=${target_alias} $${srcdiroption} \
5594 || exit 1
5595 @endif bison
5601 .PHONY: all-bison maybe-all-bison
5602 maybe-all-bison:
5603 @if gcc-bootstrap
5604 all-bison: stage_current
5605 @endif gcc-bootstrap
5606 @if bison
5607 TARGET-bison=all
5608 maybe-all-bison: all-bison
5609 all-bison: configure-bison
5610 @: $(MAKE); $(unstage)
5611 @r=`${PWD_COMMAND}`; export r; \
5612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5613 $(HOST_EXPORTS) \
5614 (cd $(HOST_SUBDIR)/bison && \
5615 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5616 $(TARGET-bison))
5617 @endif bison
5622 .PHONY: check-bison maybe-check-bison
5623 maybe-check-bison:
5624 @if bison
5625 maybe-check-bison: check-bison
5627 # This module is only tested in a native toolchain.
5628 check-bison:
5629 @: $(MAKE); $(unstage)
5630 @if [ '$(host)' = '$(target)' ] ; then \
5631 r=`${PWD_COMMAND}`; export r; \
5632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5633 $(HOST_EXPORTS) \
5634 (cd $(HOST_SUBDIR)/bison && \
5635 $(MAKE) $(FLAGS_TO_PASS) check); \
5638 @endif bison
5640 .PHONY: install-bison maybe-install-bison
5641 maybe-install-bison:
5642 @if bison
5643 maybe-install-bison: install-bison
5645 install-bison: installdirs
5646 @: $(MAKE); $(unstage)
5647 @r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 $(HOST_EXPORTS) \
5650 (cd $(HOST_SUBDIR)/bison && \
5651 $(MAKE) $(FLAGS_TO_PASS) install)
5653 @endif bison
5655 .PHONY: install-strip-bison maybe-install-strip-bison
5656 maybe-install-strip-bison:
5657 @if bison
5658 maybe-install-strip-bison: install-strip-bison
5660 install-strip-bison: installdirs
5661 @: $(MAKE); $(unstage)
5662 @r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(HOST_EXPORTS) \
5665 (cd $(HOST_SUBDIR)/bison && \
5666 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5668 @endif bison
5670 # Other targets (info, dvi, pdf, etc.)
5672 .PHONY: maybe-info-bison info-bison
5673 maybe-info-bison:
5674 @if bison
5675 maybe-info-bison: info-bison
5677 info-bison: \
5678 configure-bison
5679 @: $(MAKE); $(unstage)
5680 @[ -f ./bison/Makefile ] || exit 0; \
5681 r=`${PWD_COMMAND}`; export r; \
5682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5683 $(HOST_EXPORTS) \
5684 for flag in $(EXTRA_HOST_FLAGS) ; do \
5685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5686 done; \
5687 echo "Doing info in bison" ; \
5688 (cd $(HOST_SUBDIR)/bison && \
5689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5691 "RANLIB=$${RANLIB}" \
5692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5693 info) \
5694 || exit 1
5696 @endif bison
5698 .PHONY: maybe-dvi-bison dvi-bison
5699 maybe-dvi-bison:
5700 @if bison
5701 maybe-dvi-bison: dvi-bison
5703 dvi-bison: \
5704 configure-bison
5705 @: $(MAKE); $(unstage)
5706 @[ -f ./bison/Makefile ] || exit 0; \
5707 r=`${PWD_COMMAND}`; export r; \
5708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5709 $(HOST_EXPORTS) \
5710 for flag in $(EXTRA_HOST_FLAGS) ; do \
5711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5712 done; \
5713 echo "Doing dvi in bison" ; \
5714 (cd $(HOST_SUBDIR)/bison && \
5715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5717 "RANLIB=$${RANLIB}" \
5718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5719 dvi) \
5720 || exit 1
5722 @endif bison
5724 .PHONY: maybe-pdf-bison pdf-bison
5725 maybe-pdf-bison:
5726 @if bison
5727 maybe-pdf-bison: pdf-bison
5729 pdf-bison: \
5730 configure-bison
5731 @: $(MAKE); $(unstage)
5732 @[ -f ./bison/Makefile ] || exit 0; \
5733 r=`${PWD_COMMAND}`; export r; \
5734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5735 $(HOST_EXPORTS) \
5736 for flag in $(EXTRA_HOST_FLAGS) ; do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing pdf in bison" ; \
5740 (cd $(HOST_SUBDIR)/bison && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5745 pdf) \
5746 || exit 1
5748 @endif bison
5750 .PHONY: maybe-html-bison html-bison
5751 maybe-html-bison:
5752 @if bison
5753 maybe-html-bison: html-bison
5755 html-bison: \
5756 configure-bison
5757 @: $(MAKE); $(unstage)
5758 @[ -f ./bison/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing html in bison" ; \
5766 (cd $(HOST_SUBDIR)/bison && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5771 html) \
5772 || exit 1
5774 @endif bison
5776 .PHONY: maybe-TAGS-bison TAGS-bison
5777 maybe-TAGS-bison:
5778 @if bison
5779 maybe-TAGS-bison: TAGS-bison
5781 TAGS-bison: \
5782 configure-bison
5783 @: $(MAKE); $(unstage)
5784 @[ -f ./bison/Makefile ] || exit 0; \
5785 r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787 $(HOST_EXPORTS) \
5788 for flag in $(EXTRA_HOST_FLAGS) ; do \
5789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5790 done; \
5791 echo "Doing TAGS in bison" ; \
5792 (cd $(HOST_SUBDIR)/bison && \
5793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795 "RANLIB=$${RANLIB}" \
5796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5797 TAGS) \
5798 || exit 1
5800 @endif bison
5802 .PHONY: maybe-install-info-bison install-info-bison
5803 maybe-install-info-bison:
5804 @if bison
5805 maybe-install-info-bison: install-info-bison
5807 install-info-bison: \
5808 configure-bison \
5809 info-bison
5810 @: $(MAKE); $(unstage)
5811 @[ -f ./bison/Makefile ] || exit 0; \
5812 r=`${PWD_COMMAND}`; export r; \
5813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5814 $(HOST_EXPORTS) \
5815 for flag in $(EXTRA_HOST_FLAGS) ; do \
5816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5817 done; \
5818 echo "Doing install-info in bison" ; \
5819 (cd $(HOST_SUBDIR)/bison && \
5820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5822 "RANLIB=$${RANLIB}" \
5823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5824 install-info) \
5825 || exit 1
5827 @endif bison
5829 .PHONY: maybe-install-pdf-bison install-pdf-bison
5830 maybe-install-pdf-bison:
5831 @if bison
5832 maybe-install-pdf-bison: install-pdf-bison
5834 install-pdf-bison: \
5835 configure-bison \
5836 pdf-bison
5837 @: $(MAKE); $(unstage)
5838 @[ -f ./bison/Makefile ] || exit 0; \
5839 r=`${PWD_COMMAND}`; export r; \
5840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5841 $(HOST_EXPORTS) \
5842 for flag in $(EXTRA_HOST_FLAGS) ; do \
5843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5844 done; \
5845 echo "Doing install-pdf in bison" ; \
5846 (cd $(HOST_SUBDIR)/bison && \
5847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5849 "RANLIB=$${RANLIB}" \
5850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5851 install-pdf) \
5852 || exit 1
5854 @endif bison
5856 .PHONY: maybe-install-html-bison install-html-bison
5857 maybe-install-html-bison:
5858 @if bison
5859 maybe-install-html-bison: install-html-bison
5861 install-html-bison: \
5862 configure-bison \
5863 html-bison
5864 @: $(MAKE); $(unstage)
5865 @[ -f ./bison/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(HOST_EXPORTS) \
5869 for flag in $(EXTRA_HOST_FLAGS) ; do \
5870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5871 done; \
5872 echo "Doing install-html in bison" ; \
5873 (cd $(HOST_SUBDIR)/bison && \
5874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5876 "RANLIB=$${RANLIB}" \
5877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5878 install-html) \
5879 || exit 1
5881 @endif bison
5883 .PHONY: maybe-installcheck-bison installcheck-bison
5884 maybe-installcheck-bison:
5885 @if bison
5886 maybe-installcheck-bison: installcheck-bison
5888 installcheck-bison: \
5889 configure-bison
5890 @: $(MAKE); $(unstage)
5891 @[ -f ./bison/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(HOST_EXPORTS) \
5895 for flag in $(EXTRA_HOST_FLAGS) ; do \
5896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5897 done; \
5898 echo "Doing installcheck in bison" ; \
5899 (cd $(HOST_SUBDIR)/bison && \
5900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5902 "RANLIB=$${RANLIB}" \
5903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5904 installcheck) \
5905 || exit 1
5907 @endif bison
5909 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5910 maybe-mostlyclean-bison:
5911 @if bison
5912 maybe-mostlyclean-bison: mostlyclean-bison
5914 mostlyclean-bison:
5915 @: $(MAKE); $(unstage)
5916 @[ -f ./bison/Makefile ] || exit 0; \
5917 r=`${PWD_COMMAND}`; export r; \
5918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5919 $(HOST_EXPORTS) \
5920 for flag in $(EXTRA_HOST_FLAGS) ; do \
5921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5922 done; \
5923 echo "Doing mostlyclean in bison" ; \
5924 (cd $(HOST_SUBDIR)/bison && \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5927 "RANLIB=$${RANLIB}" \
5928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5929 mostlyclean) \
5930 || exit 1
5932 @endif bison
5934 .PHONY: maybe-clean-bison clean-bison
5935 maybe-clean-bison:
5936 @if bison
5937 maybe-clean-bison: clean-bison
5939 clean-bison:
5940 @: $(MAKE); $(unstage)
5941 @[ -f ./bison/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(HOST_EXPORTS) \
5945 for flag in $(EXTRA_HOST_FLAGS) ; do \
5946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5947 done; \
5948 echo "Doing clean in bison" ; \
5949 (cd $(HOST_SUBDIR)/bison && \
5950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5952 "RANLIB=$${RANLIB}" \
5953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5954 clean) \
5955 || exit 1
5957 @endif bison
5959 .PHONY: maybe-distclean-bison distclean-bison
5960 maybe-distclean-bison:
5961 @if bison
5962 maybe-distclean-bison: distclean-bison
5964 distclean-bison:
5965 @: $(MAKE); $(unstage)
5966 @[ -f ./bison/Makefile ] || exit 0; \
5967 r=`${PWD_COMMAND}`; export r; \
5968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5969 $(HOST_EXPORTS) \
5970 for flag in $(EXTRA_HOST_FLAGS) ; do \
5971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5972 done; \
5973 echo "Doing distclean in bison" ; \
5974 (cd $(HOST_SUBDIR)/bison && \
5975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5977 "RANLIB=$${RANLIB}" \
5978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5979 distclean) \
5980 || exit 1
5982 @endif bison
5984 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5985 maybe-maintainer-clean-bison:
5986 @if bison
5987 maybe-maintainer-clean-bison: maintainer-clean-bison
5989 maintainer-clean-bison:
5990 @: $(MAKE); $(unstage)
5991 @[ -f ./bison/Makefile ] || exit 0; \
5992 r=`${PWD_COMMAND}`; export r; \
5993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5994 $(HOST_EXPORTS) \
5995 for flag in $(EXTRA_HOST_FLAGS) ; do \
5996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5997 done; \
5998 echo "Doing maintainer-clean in bison" ; \
5999 (cd $(HOST_SUBDIR)/bison && \
6000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6002 "RANLIB=$${RANLIB}" \
6003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6004 maintainer-clean) \
6005 || exit 1
6007 @endif bison
6011 .PHONY: configure-cgen maybe-configure-cgen
6012 maybe-configure-cgen:
6013 @if gcc-bootstrap
6014 configure-cgen: stage_current
6015 @endif gcc-bootstrap
6016 @if cgen
6017 maybe-configure-cgen: configure-cgen
6018 configure-cgen:
6019 @: $(MAKE); $(unstage)
6020 @r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6022 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6024 $(HOST_EXPORTS) \
6025 echo Configuring in $(HOST_SUBDIR)/cgen; \
6026 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6027 case $(srcdir) in \
6028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6029 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6031 esac; \
6032 srcdiroption="--srcdir=$${topdir}/cgen"; \
6033 libsrcdir="$$s/cgen"; \
6034 $(SHELL) $${libsrcdir}/configure \
6035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6036 --target=${target_alias} $${srcdiroption} \
6037 || exit 1
6038 @endif cgen
6044 .PHONY: all-cgen maybe-all-cgen
6045 maybe-all-cgen:
6046 @if gcc-bootstrap
6047 all-cgen: stage_current
6048 @endif gcc-bootstrap
6049 @if cgen
6050 TARGET-cgen=all
6051 maybe-all-cgen: all-cgen
6052 all-cgen: configure-cgen
6053 @: $(MAKE); $(unstage)
6054 @r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 $(HOST_EXPORTS) \
6057 (cd $(HOST_SUBDIR)/cgen && \
6058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6059 $(TARGET-cgen))
6060 @endif cgen
6065 .PHONY: check-cgen maybe-check-cgen
6066 maybe-check-cgen:
6067 @if cgen
6068 maybe-check-cgen: check-cgen
6070 check-cgen:
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) check)
6078 @endif cgen
6080 .PHONY: install-cgen maybe-install-cgen
6081 maybe-install-cgen:
6082 @if cgen
6083 maybe-install-cgen: install-cgen
6085 install-cgen: installdirs
6086 @: $(MAKE); $(unstage)
6087 @r=`${PWD_COMMAND}`; export r; \
6088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6089 $(HOST_EXPORTS) \
6090 (cd $(HOST_SUBDIR)/cgen && \
6091 $(MAKE) $(FLAGS_TO_PASS) install)
6093 @endif cgen
6095 .PHONY: install-strip-cgen maybe-install-strip-cgen
6096 maybe-install-strip-cgen:
6097 @if cgen
6098 maybe-install-strip-cgen: install-strip-cgen
6100 install-strip-cgen: installdirs
6101 @: $(MAKE); $(unstage)
6102 @r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6104 $(HOST_EXPORTS) \
6105 (cd $(HOST_SUBDIR)/cgen && \
6106 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6108 @endif cgen
6110 # Other targets (info, dvi, pdf, etc.)
6112 .PHONY: maybe-info-cgen info-cgen
6113 maybe-info-cgen:
6114 @if cgen
6115 maybe-info-cgen: info-cgen
6117 info-cgen: \
6118 configure-cgen
6119 @: $(MAKE); $(unstage)
6120 @[ -f ./cgen/Makefile ] || exit 0; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6123 $(HOST_EXPORTS) \
6124 for flag in $(EXTRA_HOST_FLAGS) ; do \
6125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6126 done; \
6127 echo "Doing info in cgen" ; \
6128 (cd $(HOST_SUBDIR)/cgen && \
6129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6131 "RANLIB=$${RANLIB}" \
6132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6133 info) \
6134 || exit 1
6136 @endif cgen
6138 .PHONY: maybe-dvi-cgen dvi-cgen
6139 maybe-dvi-cgen:
6140 @if cgen
6141 maybe-dvi-cgen: dvi-cgen
6143 dvi-cgen: \
6144 configure-cgen
6145 @: $(MAKE); $(unstage)
6146 @[ -f ./cgen/Makefile ] || exit 0; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 $(HOST_EXPORTS) \
6150 for flag in $(EXTRA_HOST_FLAGS) ; do \
6151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6152 done; \
6153 echo "Doing dvi in cgen" ; \
6154 (cd $(HOST_SUBDIR)/cgen && \
6155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6157 "RANLIB=$${RANLIB}" \
6158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6159 dvi) \
6160 || exit 1
6162 @endif cgen
6164 .PHONY: maybe-pdf-cgen pdf-cgen
6165 maybe-pdf-cgen:
6166 @if cgen
6167 maybe-pdf-cgen: pdf-cgen
6169 pdf-cgen: \
6170 configure-cgen
6171 @: $(MAKE); $(unstage)
6172 @[ -f ./cgen/Makefile ] || exit 0; \
6173 r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(HOST_EXPORTS) \
6176 for flag in $(EXTRA_HOST_FLAGS) ; do \
6177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6178 done; \
6179 echo "Doing pdf in cgen" ; \
6180 (cd $(HOST_SUBDIR)/cgen && \
6181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6183 "RANLIB=$${RANLIB}" \
6184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6185 pdf) \
6186 || exit 1
6188 @endif cgen
6190 .PHONY: maybe-html-cgen html-cgen
6191 maybe-html-cgen:
6192 @if cgen
6193 maybe-html-cgen: html-cgen
6195 html-cgen: \
6196 configure-cgen
6197 @: $(MAKE); $(unstage)
6198 @[ -f ./cgen/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing html in cgen" ; \
6206 (cd $(HOST_SUBDIR)/cgen && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6211 html) \
6212 || exit 1
6214 @endif cgen
6216 .PHONY: maybe-TAGS-cgen TAGS-cgen
6217 maybe-TAGS-cgen:
6218 @if cgen
6219 maybe-TAGS-cgen: TAGS-cgen
6221 TAGS-cgen: \
6222 configure-cgen
6223 @: $(MAKE); $(unstage)
6224 @[ -f ./cgen/Makefile ] || exit 0; \
6225 r=`${PWD_COMMAND}`; export r; \
6226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 $(HOST_EXPORTS) \
6228 for flag in $(EXTRA_HOST_FLAGS) ; do \
6229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 done; \
6231 echo "Doing TAGS in cgen" ; \
6232 (cd $(HOST_SUBDIR)/cgen && \
6233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6235 "RANLIB=$${RANLIB}" \
6236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6237 TAGS) \
6238 || exit 1
6240 @endif cgen
6242 .PHONY: maybe-install-info-cgen install-info-cgen
6243 maybe-install-info-cgen:
6244 @if cgen
6245 maybe-install-info-cgen: install-info-cgen
6247 install-info-cgen: \
6248 configure-cgen \
6249 info-cgen
6250 @: $(MAKE); $(unstage)
6251 @[ -f ./cgen/Makefile ] || exit 0; \
6252 r=`${PWD_COMMAND}`; export r; \
6253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6254 $(HOST_EXPORTS) \
6255 for flag in $(EXTRA_HOST_FLAGS) ; do \
6256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6257 done; \
6258 echo "Doing install-info in cgen" ; \
6259 (cd $(HOST_SUBDIR)/cgen && \
6260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6262 "RANLIB=$${RANLIB}" \
6263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6264 install-info) \
6265 || exit 1
6267 @endif cgen
6269 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6270 maybe-install-pdf-cgen:
6271 @if cgen
6272 maybe-install-pdf-cgen: install-pdf-cgen
6274 install-pdf-cgen: \
6275 configure-cgen \
6276 pdf-cgen
6277 @: $(MAKE); $(unstage)
6278 @[ -f ./cgen/Makefile ] || exit 0; \
6279 r=`${PWD_COMMAND}`; export r; \
6280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6281 $(HOST_EXPORTS) \
6282 for flag in $(EXTRA_HOST_FLAGS) ; do \
6283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6284 done; \
6285 echo "Doing install-pdf in cgen" ; \
6286 (cd $(HOST_SUBDIR)/cgen && \
6287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6289 "RANLIB=$${RANLIB}" \
6290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6291 install-pdf) \
6292 || exit 1
6294 @endif cgen
6296 .PHONY: maybe-install-html-cgen install-html-cgen
6297 maybe-install-html-cgen:
6298 @if cgen
6299 maybe-install-html-cgen: install-html-cgen
6301 install-html-cgen: \
6302 configure-cgen \
6303 html-cgen
6304 @: $(MAKE); $(unstage)
6305 @[ -f ./cgen/Makefile ] || exit 0; \
6306 r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 $(HOST_EXPORTS) \
6309 for flag in $(EXTRA_HOST_FLAGS) ; do \
6310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6311 done; \
6312 echo "Doing install-html in cgen" ; \
6313 (cd $(HOST_SUBDIR)/cgen && \
6314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6316 "RANLIB=$${RANLIB}" \
6317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6318 install-html) \
6319 || exit 1
6321 @endif cgen
6323 .PHONY: maybe-installcheck-cgen installcheck-cgen
6324 maybe-installcheck-cgen:
6325 @if cgen
6326 maybe-installcheck-cgen: installcheck-cgen
6328 installcheck-cgen: \
6329 configure-cgen
6330 @: $(MAKE); $(unstage)
6331 @[ -f ./cgen/Makefile ] || exit 0; \
6332 r=`${PWD_COMMAND}`; export r; \
6333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6334 $(HOST_EXPORTS) \
6335 for flag in $(EXTRA_HOST_FLAGS) ; do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337 done; \
6338 echo "Doing installcheck in cgen" ; \
6339 (cd $(HOST_SUBDIR)/cgen && \
6340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342 "RANLIB=$${RANLIB}" \
6343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6344 installcheck) \
6345 || exit 1
6347 @endif cgen
6349 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6350 maybe-mostlyclean-cgen:
6351 @if cgen
6352 maybe-mostlyclean-cgen: mostlyclean-cgen
6354 mostlyclean-cgen:
6355 @: $(MAKE); $(unstage)
6356 @[ -f ./cgen/Makefile ] || exit 0; \
6357 r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 $(HOST_EXPORTS) \
6360 for flag in $(EXTRA_HOST_FLAGS) ; do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 done; \
6363 echo "Doing mostlyclean in cgen" ; \
6364 (cd $(HOST_SUBDIR)/cgen && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6369 mostlyclean) \
6370 || exit 1
6372 @endif cgen
6374 .PHONY: maybe-clean-cgen clean-cgen
6375 maybe-clean-cgen:
6376 @if cgen
6377 maybe-clean-cgen: clean-cgen
6379 clean-cgen:
6380 @: $(MAKE); $(unstage)
6381 @[ -f ./cgen/Makefile ] || exit 0; \
6382 r=`${PWD_COMMAND}`; export r; \
6383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6384 $(HOST_EXPORTS) \
6385 for flag in $(EXTRA_HOST_FLAGS) ; do \
6386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6387 done; \
6388 echo "Doing clean in cgen" ; \
6389 (cd $(HOST_SUBDIR)/cgen && \
6390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6392 "RANLIB=$${RANLIB}" \
6393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6394 clean) \
6395 || exit 1
6397 @endif cgen
6399 .PHONY: maybe-distclean-cgen distclean-cgen
6400 maybe-distclean-cgen:
6401 @if cgen
6402 maybe-distclean-cgen: distclean-cgen
6404 distclean-cgen:
6405 @: $(MAKE); $(unstage)
6406 @[ -f ./cgen/Makefile ] || exit 0; \
6407 r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 $(HOST_EXPORTS) \
6410 for flag in $(EXTRA_HOST_FLAGS) ; do \
6411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412 done; \
6413 echo "Doing distclean in cgen" ; \
6414 (cd $(HOST_SUBDIR)/cgen && \
6415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6417 "RANLIB=$${RANLIB}" \
6418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6419 distclean) \
6420 || exit 1
6422 @endif cgen
6424 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6425 maybe-maintainer-clean-cgen:
6426 @if cgen
6427 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6429 maintainer-clean-cgen:
6430 @: $(MAKE); $(unstage)
6431 @[ -f ./cgen/Makefile ] || exit 0; \
6432 r=`${PWD_COMMAND}`; export r; \
6433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6434 $(HOST_EXPORTS) \
6435 for flag in $(EXTRA_HOST_FLAGS) ; do \
6436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6437 done; \
6438 echo "Doing maintainer-clean in cgen" ; \
6439 (cd $(HOST_SUBDIR)/cgen && \
6440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6442 "RANLIB=$${RANLIB}" \
6443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6444 maintainer-clean) \
6445 || exit 1
6447 @endif cgen
6451 .PHONY: configure-dejagnu maybe-configure-dejagnu
6452 maybe-configure-dejagnu:
6453 @if gcc-bootstrap
6454 configure-dejagnu: stage_current
6455 @endif gcc-bootstrap
6456 @if dejagnu
6457 maybe-configure-dejagnu: configure-dejagnu
6458 configure-dejagnu:
6459 @: $(MAKE); $(unstage)
6460 @r=`${PWD_COMMAND}`; export r; \
6461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6462 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6464 $(HOST_EXPORTS) \
6465 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6466 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6467 case $(srcdir) in \
6468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6469 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6471 esac; \
6472 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6473 libsrcdir="$$s/dejagnu"; \
6474 $(SHELL) $${libsrcdir}/configure \
6475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6476 --target=${target_alias} $${srcdiroption} \
6477 || exit 1
6478 @endif dejagnu
6484 .PHONY: all-dejagnu maybe-all-dejagnu
6485 maybe-all-dejagnu:
6486 @if gcc-bootstrap
6487 all-dejagnu: stage_current
6488 @endif gcc-bootstrap
6489 @if dejagnu
6490 TARGET-dejagnu=all
6491 maybe-all-dejagnu: all-dejagnu
6492 all-dejagnu: configure-dejagnu
6493 @: $(MAKE); $(unstage)
6494 @r=`${PWD_COMMAND}`; export r; \
6495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6496 $(HOST_EXPORTS) \
6497 (cd $(HOST_SUBDIR)/dejagnu && \
6498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6499 $(TARGET-dejagnu))
6500 @endif dejagnu
6505 .PHONY: check-dejagnu maybe-check-dejagnu
6506 maybe-check-dejagnu:
6507 @if dejagnu
6508 maybe-check-dejagnu: check-dejagnu
6510 check-dejagnu:
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) check)
6518 @endif dejagnu
6520 .PHONY: install-dejagnu maybe-install-dejagnu
6521 maybe-install-dejagnu:
6522 @if dejagnu
6523 maybe-install-dejagnu: install-dejagnu
6525 install-dejagnu: installdirs
6526 @: $(MAKE); $(unstage)
6527 @r=`${PWD_COMMAND}`; export r; \
6528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6529 $(HOST_EXPORTS) \
6530 (cd $(HOST_SUBDIR)/dejagnu && \
6531 $(MAKE) $(FLAGS_TO_PASS) install)
6533 @endif dejagnu
6535 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6536 maybe-install-strip-dejagnu:
6537 @if dejagnu
6538 maybe-install-strip-dejagnu: install-strip-dejagnu
6540 install-strip-dejagnu: installdirs
6541 @: $(MAKE); $(unstage)
6542 @r=`${PWD_COMMAND}`; export r; \
6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 $(HOST_EXPORTS) \
6545 (cd $(HOST_SUBDIR)/dejagnu && \
6546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6548 @endif dejagnu
6550 # Other targets (info, dvi, pdf, etc.)
6552 .PHONY: maybe-info-dejagnu info-dejagnu
6553 maybe-info-dejagnu:
6554 @if dejagnu
6555 maybe-info-dejagnu: info-dejagnu
6557 info-dejagnu: \
6558 configure-dejagnu
6559 @: $(MAKE); $(unstage)
6560 @[ -f ./dejagnu/Makefile ] || exit 0; \
6561 r=`${PWD_COMMAND}`; export r; \
6562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6563 $(HOST_EXPORTS) \
6564 for flag in $(EXTRA_HOST_FLAGS) ; do \
6565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6566 done; \
6567 echo "Doing info in dejagnu" ; \
6568 (cd $(HOST_SUBDIR)/dejagnu && \
6569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6571 "RANLIB=$${RANLIB}" \
6572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6573 info) \
6574 || exit 1
6576 @endif dejagnu
6578 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6579 maybe-dvi-dejagnu:
6580 @if dejagnu
6581 maybe-dvi-dejagnu: dvi-dejagnu
6583 dvi-dejagnu: \
6584 configure-dejagnu
6585 @: $(MAKE); $(unstage)
6586 @[ -f ./dejagnu/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 for flag in $(EXTRA_HOST_FLAGS) ; do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 done; \
6593 echo "Doing dvi in dejagnu" ; \
6594 (cd $(HOST_SUBDIR)/dejagnu && \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6599 dvi) \
6600 || exit 1
6602 @endif dejagnu
6604 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6605 maybe-pdf-dejagnu:
6606 @if dejagnu
6607 maybe-pdf-dejagnu: pdf-dejagnu
6609 pdf-dejagnu: \
6610 configure-dejagnu
6611 @: $(MAKE); $(unstage)
6612 @[ -f ./dejagnu/Makefile ] || exit 0; \
6613 r=`${PWD_COMMAND}`; export r; \
6614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6615 $(HOST_EXPORTS) \
6616 for flag in $(EXTRA_HOST_FLAGS) ; do \
6617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6618 done; \
6619 echo "Doing pdf in dejagnu" ; \
6620 (cd $(HOST_SUBDIR)/dejagnu && \
6621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6623 "RANLIB=$${RANLIB}" \
6624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6625 pdf) \
6626 || exit 1
6628 @endif dejagnu
6630 .PHONY: maybe-html-dejagnu html-dejagnu
6631 maybe-html-dejagnu:
6632 @if dejagnu
6633 maybe-html-dejagnu: html-dejagnu
6635 html-dejagnu: \
6636 configure-dejagnu
6637 @: $(MAKE); $(unstage)
6638 @[ -f ./dejagnu/Makefile ] || exit 0; \
6639 r=`${PWD_COMMAND}`; export r; \
6640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6641 $(HOST_EXPORTS) \
6642 for flag in $(EXTRA_HOST_FLAGS) ; do \
6643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6644 done; \
6645 echo "Doing html in dejagnu" ; \
6646 (cd $(HOST_SUBDIR)/dejagnu && \
6647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6649 "RANLIB=$${RANLIB}" \
6650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6651 html) \
6652 || exit 1
6654 @endif dejagnu
6656 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6657 maybe-TAGS-dejagnu:
6658 @if dejagnu
6659 maybe-TAGS-dejagnu: TAGS-dejagnu
6661 TAGS-dejagnu: \
6662 configure-dejagnu
6663 @: $(MAKE); $(unstage)
6664 @[ -f ./dejagnu/Makefile ] || exit 0; \
6665 r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(HOST_EXPORTS) \
6668 for flag in $(EXTRA_HOST_FLAGS) ; do \
6669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6670 done; \
6671 echo "Doing TAGS in dejagnu" ; \
6672 (cd $(HOST_SUBDIR)/dejagnu && \
6673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6675 "RANLIB=$${RANLIB}" \
6676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6677 TAGS) \
6678 || exit 1
6680 @endif dejagnu
6682 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6683 maybe-install-info-dejagnu:
6684 @if dejagnu
6685 maybe-install-info-dejagnu: install-info-dejagnu
6687 install-info-dejagnu: \
6688 configure-dejagnu \
6689 info-dejagnu
6690 @: $(MAKE); $(unstage)
6691 @[ -f ./dejagnu/Makefile ] || exit 0; \
6692 r=`${PWD_COMMAND}`; export r; \
6693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6694 $(HOST_EXPORTS) \
6695 for flag in $(EXTRA_HOST_FLAGS) ; do \
6696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6697 done; \
6698 echo "Doing install-info in dejagnu" ; \
6699 (cd $(HOST_SUBDIR)/dejagnu && \
6700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6702 "RANLIB=$${RANLIB}" \
6703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6704 install-info) \
6705 || exit 1
6707 @endif dejagnu
6709 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6710 maybe-install-pdf-dejagnu:
6711 @if dejagnu
6712 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6714 install-pdf-dejagnu: \
6715 configure-dejagnu \
6716 pdf-dejagnu
6717 @: $(MAKE); $(unstage)
6718 @[ -f ./dejagnu/Makefile ] || exit 0; \
6719 r=`${PWD_COMMAND}`; export r; \
6720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6721 $(HOST_EXPORTS) \
6722 for flag in $(EXTRA_HOST_FLAGS) ; do \
6723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6724 done; \
6725 echo "Doing install-pdf in dejagnu" ; \
6726 (cd $(HOST_SUBDIR)/dejagnu && \
6727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6729 "RANLIB=$${RANLIB}" \
6730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6731 install-pdf) \
6732 || exit 1
6734 @endif dejagnu
6736 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6737 maybe-install-html-dejagnu:
6738 @if dejagnu
6739 maybe-install-html-dejagnu: install-html-dejagnu
6741 install-html-dejagnu: \
6742 configure-dejagnu \
6743 html-dejagnu
6744 @: $(MAKE); $(unstage)
6745 @[ -f ./dejagnu/Makefile ] || exit 0; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 for flag in $(EXTRA_HOST_FLAGS) ; do \
6750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6751 done; \
6752 echo "Doing install-html in dejagnu" ; \
6753 (cd $(HOST_SUBDIR)/dejagnu && \
6754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6756 "RANLIB=$${RANLIB}" \
6757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6758 install-html) \
6759 || exit 1
6761 @endif dejagnu
6763 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6764 maybe-installcheck-dejagnu:
6765 @if dejagnu
6766 maybe-installcheck-dejagnu: installcheck-dejagnu
6768 installcheck-dejagnu: \
6769 configure-dejagnu
6770 @: $(MAKE); $(unstage)
6771 @[ -f ./dejagnu/Makefile ] || exit 0; \
6772 r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 $(HOST_EXPORTS) \
6775 for flag in $(EXTRA_HOST_FLAGS) ; do \
6776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6777 done; \
6778 echo "Doing installcheck in dejagnu" ; \
6779 (cd $(HOST_SUBDIR)/dejagnu && \
6780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6782 "RANLIB=$${RANLIB}" \
6783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6784 installcheck) \
6785 || exit 1
6787 @endif dejagnu
6789 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6790 maybe-mostlyclean-dejagnu:
6791 @if dejagnu
6792 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6794 mostlyclean-dejagnu:
6795 @: $(MAKE); $(unstage)
6796 @[ -f ./dejagnu/Makefile ] || exit 0; \
6797 r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799 $(HOST_EXPORTS) \
6800 for flag in $(EXTRA_HOST_FLAGS) ; do \
6801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6802 done; \
6803 echo "Doing mostlyclean in dejagnu" ; \
6804 (cd $(HOST_SUBDIR)/dejagnu && \
6805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807 "RANLIB=$${RANLIB}" \
6808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6809 mostlyclean) \
6810 || exit 1
6812 @endif dejagnu
6814 .PHONY: maybe-clean-dejagnu clean-dejagnu
6815 maybe-clean-dejagnu:
6816 @if dejagnu
6817 maybe-clean-dejagnu: clean-dejagnu
6819 clean-dejagnu:
6820 @: $(MAKE); $(unstage)
6821 @[ -f ./dejagnu/Makefile ] || exit 0; \
6822 r=`${PWD_COMMAND}`; export r; \
6823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 $(HOST_EXPORTS) \
6825 for flag in $(EXTRA_HOST_FLAGS) ; do \
6826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6827 done; \
6828 echo "Doing clean in dejagnu" ; \
6829 (cd $(HOST_SUBDIR)/dejagnu && \
6830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6832 "RANLIB=$${RANLIB}" \
6833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6834 clean) \
6835 || exit 1
6837 @endif dejagnu
6839 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6840 maybe-distclean-dejagnu:
6841 @if dejagnu
6842 maybe-distclean-dejagnu: distclean-dejagnu
6844 distclean-dejagnu:
6845 @: $(MAKE); $(unstage)
6846 @[ -f ./dejagnu/Makefile ] || exit 0; \
6847 r=`${PWD_COMMAND}`; export r; \
6848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6849 $(HOST_EXPORTS) \
6850 for flag in $(EXTRA_HOST_FLAGS) ; do \
6851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6852 done; \
6853 echo "Doing distclean in dejagnu" ; \
6854 (cd $(HOST_SUBDIR)/dejagnu && \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6857 "RANLIB=$${RANLIB}" \
6858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6859 distclean) \
6860 || exit 1
6862 @endif dejagnu
6864 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6865 maybe-maintainer-clean-dejagnu:
6866 @if dejagnu
6867 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6869 maintainer-clean-dejagnu:
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./dejagnu/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing maintainer-clean in dejagnu" ; \
6879 (cd $(HOST_SUBDIR)/dejagnu && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6884 maintainer-clean) \
6885 || exit 1
6887 @endif dejagnu
6891 .PHONY: configure-etc maybe-configure-etc
6892 maybe-configure-etc:
6893 @if gcc-bootstrap
6894 configure-etc: stage_current
6895 @endif gcc-bootstrap
6896 @if etc
6897 maybe-configure-etc: configure-etc
6898 configure-etc:
6899 @: $(MAKE); $(unstage)
6900 @r=`${PWD_COMMAND}`; export r; \
6901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6902 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6904 $(HOST_EXPORTS) \
6905 echo Configuring in $(HOST_SUBDIR)/etc; \
6906 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6907 case $(srcdir) in \
6908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6909 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6911 esac; \
6912 srcdiroption="--srcdir=$${topdir}/etc"; \
6913 libsrcdir="$$s/etc"; \
6914 $(SHELL) $${libsrcdir}/configure \
6915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6916 --target=${target_alias} $${srcdiroption} \
6917 || exit 1
6918 @endif etc
6924 .PHONY: all-etc maybe-all-etc
6925 maybe-all-etc:
6926 @if gcc-bootstrap
6927 all-etc: stage_current
6928 @endif gcc-bootstrap
6929 @if etc
6930 TARGET-etc=all
6931 maybe-all-etc: all-etc
6932 all-etc: configure-etc
6933 @: $(MAKE); $(unstage)
6934 @r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(HOST_EXPORTS) \
6937 (cd $(HOST_SUBDIR)/etc && \
6938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6939 $(TARGET-etc))
6940 @endif etc
6945 .PHONY: check-etc maybe-check-etc
6946 maybe-check-etc:
6947 @if etc
6948 maybe-check-etc: check-etc
6950 check-etc:
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) check)
6958 @endif etc
6960 .PHONY: install-etc maybe-install-etc
6961 maybe-install-etc:
6962 @if etc
6963 maybe-install-etc: install-etc
6965 install-etc: installdirs
6966 @: $(MAKE); $(unstage)
6967 @r=`${PWD_COMMAND}`; export r; \
6968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6969 $(HOST_EXPORTS) \
6970 (cd $(HOST_SUBDIR)/etc && \
6971 $(MAKE) $(FLAGS_TO_PASS) install)
6973 @endif etc
6975 .PHONY: install-strip-etc maybe-install-strip-etc
6976 maybe-install-strip-etc:
6977 @if etc
6978 maybe-install-strip-etc: install-strip-etc
6980 install-strip-etc: installdirs
6981 @: $(MAKE); $(unstage)
6982 @r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(HOST_EXPORTS) \
6985 (cd $(HOST_SUBDIR)/etc && \
6986 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6988 @endif etc
6990 # Other targets (info, dvi, pdf, etc.)
6992 .PHONY: maybe-info-etc info-etc
6993 maybe-info-etc:
6994 @if etc
6995 maybe-info-etc: info-etc
6997 info-etc: \
6998 configure-etc
6999 @: $(MAKE); $(unstage)
7000 @[ -f ./etc/Makefile ] || exit 0; \
7001 r=`${PWD_COMMAND}`; export r; \
7002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7003 $(HOST_EXPORTS) \
7004 for flag in $(EXTRA_HOST_FLAGS) ; do \
7005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7006 done; \
7007 echo "Doing info in etc" ; \
7008 (cd $(HOST_SUBDIR)/etc && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7011 "RANLIB=$${RANLIB}" \
7012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7013 info) \
7014 || exit 1
7016 @endif etc
7018 .PHONY: maybe-dvi-etc dvi-etc
7019 maybe-dvi-etc:
7020 @if etc
7021 maybe-dvi-etc: dvi-etc
7023 dvi-etc: \
7024 configure-etc
7025 @: $(MAKE); $(unstage)
7026 @[ -f ./etc/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 for flag in $(EXTRA_HOST_FLAGS) ; do \
7031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 done; \
7033 echo "Doing dvi in etc" ; \
7034 (cd $(HOST_SUBDIR)/etc && \
7035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7037 "RANLIB=$${RANLIB}" \
7038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7039 dvi) \
7040 || exit 1
7042 @endif etc
7044 .PHONY: maybe-pdf-etc pdf-etc
7045 maybe-pdf-etc:
7046 @if etc
7047 maybe-pdf-etc: pdf-etc
7049 pdf-etc: \
7050 configure-etc
7051 @: $(MAKE); $(unstage)
7052 @[ -f ./etc/Makefile ] || exit 0; \
7053 r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(HOST_EXPORTS) \
7056 for flag in $(EXTRA_HOST_FLAGS) ; do \
7057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7058 done; \
7059 echo "Doing pdf in etc" ; \
7060 (cd $(HOST_SUBDIR)/etc && \
7061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7063 "RANLIB=$${RANLIB}" \
7064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7065 pdf) \
7066 || exit 1
7068 @endif etc
7070 .PHONY: maybe-html-etc html-etc
7071 maybe-html-etc:
7072 @if etc
7073 maybe-html-etc: html-etc
7075 html-etc: \
7076 configure-etc
7077 @: $(MAKE); $(unstage)
7078 @[ -f ./etc/Makefile ] || exit 0; \
7079 r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 $(HOST_EXPORTS) \
7082 for flag in $(EXTRA_HOST_FLAGS) ; do \
7083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7084 done; \
7085 echo "Doing html in etc" ; \
7086 (cd $(HOST_SUBDIR)/etc && \
7087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7089 "RANLIB=$${RANLIB}" \
7090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7091 html) \
7092 || exit 1
7094 @endif etc
7096 .PHONY: maybe-TAGS-etc TAGS-etc
7097 maybe-TAGS-etc:
7098 @if etc
7099 maybe-TAGS-etc: TAGS-etc
7101 TAGS-etc: \
7102 configure-etc
7103 @: $(MAKE); $(unstage)
7104 @[ -f ./etc/Makefile ] || exit 0; \
7105 r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(HOST_EXPORTS) \
7108 for flag in $(EXTRA_HOST_FLAGS) ; do \
7109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7110 done; \
7111 echo "Doing TAGS in etc" ; \
7112 (cd $(HOST_SUBDIR)/etc && \
7113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7115 "RANLIB=$${RANLIB}" \
7116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7117 TAGS) \
7118 || exit 1
7120 @endif etc
7122 .PHONY: maybe-install-info-etc install-info-etc
7123 maybe-install-info-etc:
7124 @if etc
7125 maybe-install-info-etc: install-info-etc
7127 install-info-etc: \
7128 configure-etc \
7129 info-etc
7130 @: $(MAKE); $(unstage)
7131 @[ -f ./etc/Makefile ] || exit 0; \
7132 r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7134 $(HOST_EXPORTS) \
7135 for flag in $(EXTRA_HOST_FLAGS) ; do \
7136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7137 done; \
7138 echo "Doing install-info in etc" ; \
7139 (cd $(HOST_SUBDIR)/etc && \
7140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7142 "RANLIB=$${RANLIB}" \
7143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7144 install-info) \
7145 || exit 1
7147 @endif etc
7149 .PHONY: maybe-install-pdf-etc install-pdf-etc
7150 maybe-install-pdf-etc:
7151 @if etc
7152 maybe-install-pdf-etc: install-pdf-etc
7154 install-pdf-etc: \
7155 configure-etc \
7156 pdf-etc
7157 @: $(MAKE); $(unstage)
7158 @[ -f ./etc/Makefile ] || exit 0; \
7159 r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 $(HOST_EXPORTS) \
7162 for flag in $(EXTRA_HOST_FLAGS) ; do \
7163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7164 done; \
7165 echo "Doing install-pdf in etc" ; \
7166 (cd $(HOST_SUBDIR)/etc && \
7167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7169 "RANLIB=$${RANLIB}" \
7170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7171 install-pdf) \
7172 || exit 1
7174 @endif etc
7176 .PHONY: maybe-install-html-etc install-html-etc
7177 maybe-install-html-etc:
7178 @if etc
7179 maybe-install-html-etc: install-html-etc
7181 install-html-etc: \
7182 configure-etc \
7183 html-etc
7184 @: $(MAKE); $(unstage)
7185 @[ -f ./etc/Makefile ] || exit 0; \
7186 r=`${PWD_COMMAND}`; export r; \
7187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7188 $(HOST_EXPORTS) \
7189 for flag in $(EXTRA_HOST_FLAGS) ; do \
7190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7191 done; \
7192 echo "Doing install-html in etc" ; \
7193 (cd $(HOST_SUBDIR)/etc && \
7194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7196 "RANLIB=$${RANLIB}" \
7197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7198 install-html) \
7199 || exit 1
7201 @endif etc
7203 .PHONY: maybe-installcheck-etc installcheck-etc
7204 maybe-installcheck-etc:
7205 @if etc
7206 maybe-installcheck-etc: installcheck-etc
7208 installcheck-etc: \
7209 configure-etc
7210 @: $(MAKE); $(unstage)
7211 @[ -f ./etc/Makefile ] || exit 0; \
7212 r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214 $(HOST_EXPORTS) \
7215 for flag in $(EXTRA_HOST_FLAGS) ; do \
7216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7217 done; \
7218 echo "Doing installcheck in etc" ; \
7219 (cd $(HOST_SUBDIR)/etc && \
7220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7222 "RANLIB=$${RANLIB}" \
7223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7224 installcheck) \
7225 || exit 1
7227 @endif etc
7229 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7230 maybe-mostlyclean-etc:
7231 @if etc
7232 maybe-mostlyclean-etc: mostlyclean-etc
7234 mostlyclean-etc:
7235 @: $(MAKE); $(unstage)
7236 @[ -f ./etc/Makefile ] || exit 0; \
7237 r=`${PWD_COMMAND}`; export r; \
7238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7239 $(HOST_EXPORTS) \
7240 for flag in $(EXTRA_HOST_FLAGS) ; do \
7241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7242 done; \
7243 echo "Doing mostlyclean in etc" ; \
7244 (cd $(HOST_SUBDIR)/etc && \
7245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7247 "RANLIB=$${RANLIB}" \
7248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7249 mostlyclean) \
7250 || exit 1
7252 @endif etc
7254 .PHONY: maybe-clean-etc clean-etc
7255 maybe-clean-etc:
7256 @if etc
7257 maybe-clean-etc: clean-etc
7259 clean-etc:
7260 @: $(MAKE); $(unstage)
7261 @[ -f ./etc/Makefile ] || exit 0; \
7262 r=`${PWD_COMMAND}`; export r; \
7263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7264 $(HOST_EXPORTS) \
7265 for flag in $(EXTRA_HOST_FLAGS) ; do \
7266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7267 done; \
7268 echo "Doing clean in etc" ; \
7269 (cd $(HOST_SUBDIR)/etc && \
7270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7272 "RANLIB=$${RANLIB}" \
7273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7274 clean) \
7275 || exit 1
7277 @endif etc
7279 .PHONY: maybe-distclean-etc distclean-etc
7280 maybe-distclean-etc:
7281 @if etc
7282 maybe-distclean-etc: distclean-etc
7284 distclean-etc:
7285 @: $(MAKE); $(unstage)
7286 @[ -f ./etc/Makefile ] || exit 0; \
7287 r=`${PWD_COMMAND}`; export r; \
7288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7289 $(HOST_EXPORTS) \
7290 for flag in $(EXTRA_HOST_FLAGS) ; do \
7291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7292 done; \
7293 echo "Doing distclean in etc" ; \
7294 (cd $(HOST_SUBDIR)/etc && \
7295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7297 "RANLIB=$${RANLIB}" \
7298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7299 distclean) \
7300 || exit 1
7302 @endif etc
7304 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7305 maybe-maintainer-clean-etc:
7306 @if etc
7307 maybe-maintainer-clean-etc: maintainer-clean-etc
7309 maintainer-clean-etc:
7310 @: $(MAKE); $(unstage)
7311 @[ -f ./etc/Makefile ] || exit 0; \
7312 r=`${PWD_COMMAND}`; export r; \
7313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7314 $(HOST_EXPORTS) \
7315 for flag in $(EXTRA_HOST_FLAGS) ; do \
7316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7317 done; \
7318 echo "Doing maintainer-clean in etc" ; \
7319 (cd $(HOST_SUBDIR)/etc && \
7320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7322 "RANLIB=$${RANLIB}" \
7323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7324 maintainer-clean) \
7325 || exit 1
7327 @endif etc
7331 .PHONY: configure-fastjar maybe-configure-fastjar
7332 maybe-configure-fastjar:
7333 @if gcc-bootstrap
7334 configure-fastjar: stage_current
7335 @endif gcc-bootstrap
7336 @if fastjar
7337 maybe-configure-fastjar: configure-fastjar
7338 configure-fastjar:
7339 @: $(MAKE); $(unstage)
7340 @r=`${PWD_COMMAND}`; export r; \
7341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7344 $(HOST_EXPORTS) \
7345 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7346 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7347 case $(srcdir) in \
7348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7349 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7351 esac; \
7352 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7353 libsrcdir="$$s/fastjar"; \
7354 $(SHELL) $${libsrcdir}/configure \
7355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7356 --target=${target_alias} $${srcdiroption} \
7357 || exit 1
7358 @endif fastjar
7364 .PHONY: all-fastjar maybe-all-fastjar
7365 maybe-all-fastjar:
7366 @if gcc-bootstrap
7367 all-fastjar: stage_current
7368 @endif gcc-bootstrap
7369 @if fastjar
7370 TARGET-fastjar=all
7371 maybe-all-fastjar: all-fastjar
7372 all-fastjar: configure-fastjar
7373 @: $(MAKE); $(unstage)
7374 @r=`${PWD_COMMAND}`; export r; \
7375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376 $(HOST_EXPORTS) \
7377 (cd $(HOST_SUBDIR)/fastjar && \
7378 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7379 $(TARGET-fastjar))
7380 @endif fastjar
7385 .PHONY: check-fastjar maybe-check-fastjar
7386 maybe-check-fastjar:
7387 @if fastjar
7388 maybe-check-fastjar: check-fastjar
7390 # This module is only tested in a native toolchain.
7391 check-fastjar:
7392 @: $(MAKE); $(unstage)
7393 @if [ '$(host)' = '$(target)' ] ; then \
7394 r=`${PWD_COMMAND}`; export r; \
7395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7396 $(HOST_EXPORTS) \
7397 (cd $(HOST_SUBDIR)/fastjar && \
7398 $(MAKE) $(FLAGS_TO_PASS) check); \
7401 @endif fastjar
7403 .PHONY: install-fastjar maybe-install-fastjar
7404 maybe-install-fastjar:
7405 @if fastjar
7406 maybe-install-fastjar: install-fastjar
7408 install-fastjar: installdirs
7409 @: $(MAKE); $(unstage)
7410 @r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 (cd $(HOST_SUBDIR)/fastjar && \
7414 $(MAKE) $(FLAGS_TO_PASS) install)
7416 @endif fastjar
7418 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7419 maybe-install-strip-fastjar:
7420 @if fastjar
7421 maybe-install-strip-fastjar: install-strip-fastjar
7423 install-strip-fastjar: installdirs
7424 @: $(MAKE); $(unstage)
7425 @r=`${PWD_COMMAND}`; export r; \
7426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 $(HOST_EXPORTS) \
7428 (cd $(HOST_SUBDIR)/fastjar && \
7429 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7431 @endif fastjar
7433 # Other targets (info, dvi, pdf, etc.)
7435 .PHONY: maybe-info-fastjar info-fastjar
7436 maybe-info-fastjar:
7437 @if fastjar
7438 maybe-info-fastjar: info-fastjar
7440 info-fastjar: \
7441 configure-fastjar
7442 @: $(MAKE); $(unstage)
7443 @[ -f ./fastjar/Makefile ] || exit 0; \
7444 r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7446 $(HOST_EXPORTS) \
7447 for flag in $(EXTRA_HOST_FLAGS) ; do \
7448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7449 done; \
7450 echo "Doing info in fastjar" ; \
7451 (cd $(HOST_SUBDIR)/fastjar && \
7452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7454 "RANLIB=$${RANLIB}" \
7455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7456 info) \
7457 || exit 1
7459 @endif fastjar
7461 .PHONY: maybe-dvi-fastjar dvi-fastjar
7462 maybe-dvi-fastjar:
7463 @if fastjar
7464 maybe-dvi-fastjar: dvi-fastjar
7466 dvi-fastjar: \
7467 configure-fastjar
7468 @: $(MAKE); $(unstage)
7469 @[ -f ./fastjar/Makefile ] || exit 0; \
7470 r=`${PWD_COMMAND}`; export r; \
7471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7472 $(HOST_EXPORTS) \
7473 for flag in $(EXTRA_HOST_FLAGS) ; do \
7474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7475 done; \
7476 echo "Doing dvi in fastjar" ; \
7477 (cd $(HOST_SUBDIR)/fastjar && \
7478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7480 "RANLIB=$${RANLIB}" \
7481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7482 dvi) \
7483 || exit 1
7485 @endif fastjar
7487 .PHONY: maybe-pdf-fastjar pdf-fastjar
7488 maybe-pdf-fastjar:
7489 @if fastjar
7490 maybe-pdf-fastjar: pdf-fastjar
7492 pdf-fastjar: \
7493 configure-fastjar
7494 @: $(MAKE); $(unstage)
7495 @[ -f ./fastjar/Makefile ] || exit 0; \
7496 r=`${PWD_COMMAND}`; export r; \
7497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 $(HOST_EXPORTS) \
7499 for flag in $(EXTRA_HOST_FLAGS) ; do \
7500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7501 done; \
7502 echo "Doing pdf in fastjar" ; \
7503 (cd $(HOST_SUBDIR)/fastjar && \
7504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506 "RANLIB=$${RANLIB}" \
7507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7508 pdf) \
7509 || exit 1
7511 @endif fastjar
7513 .PHONY: maybe-html-fastjar html-fastjar
7514 maybe-html-fastjar:
7515 @if fastjar
7516 maybe-html-fastjar: html-fastjar
7518 html-fastjar: \
7519 configure-fastjar
7520 @: $(MAKE); $(unstage)
7521 @[ -f ./fastjar/Makefile ] || exit 0; \
7522 r=`${PWD_COMMAND}`; export r; \
7523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7524 $(HOST_EXPORTS) \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527 done; \
7528 echo "Doing html in fastjar" ; \
7529 (cd $(HOST_SUBDIR)/fastjar && \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7534 html) \
7535 || exit 1
7537 @endif fastjar
7539 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7540 maybe-TAGS-fastjar:
7541 @if fastjar
7542 maybe-TAGS-fastjar: TAGS-fastjar
7544 TAGS-fastjar: \
7545 configure-fastjar
7546 @: $(MAKE); $(unstage)
7547 @[ -f ./fastjar/Makefile ] || exit 0; \
7548 r=`${PWD_COMMAND}`; export r; \
7549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7550 $(HOST_EXPORTS) \
7551 for flag in $(EXTRA_HOST_FLAGS) ; do \
7552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7553 done; \
7554 echo "Doing TAGS in fastjar" ; \
7555 (cd $(HOST_SUBDIR)/fastjar && \
7556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7558 "RANLIB=$${RANLIB}" \
7559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7560 TAGS) \
7561 || exit 1
7563 @endif fastjar
7565 .PHONY: maybe-install-info-fastjar install-info-fastjar
7566 maybe-install-info-fastjar:
7567 @if fastjar
7568 maybe-install-info-fastjar: install-info-fastjar
7570 install-info-fastjar: \
7571 configure-fastjar \
7572 info-fastjar
7573 @: $(MAKE); $(unstage)
7574 @[ -f ./fastjar/Makefile ] || exit 0; \
7575 r=`${PWD_COMMAND}`; export r; \
7576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7577 $(HOST_EXPORTS) \
7578 for flag in $(EXTRA_HOST_FLAGS) ; do \
7579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7580 done; \
7581 echo "Doing install-info in fastjar" ; \
7582 (cd $(HOST_SUBDIR)/fastjar && \
7583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7585 "RANLIB=$${RANLIB}" \
7586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7587 install-info) \
7588 || exit 1
7590 @endif fastjar
7592 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7593 maybe-install-pdf-fastjar:
7594 @if fastjar
7595 maybe-install-pdf-fastjar: install-pdf-fastjar
7597 install-pdf-fastjar: \
7598 configure-fastjar \
7599 pdf-fastjar
7600 @: $(MAKE); $(unstage)
7601 @[ -f ./fastjar/Makefile ] || exit 0; \
7602 r=`${PWD_COMMAND}`; export r; \
7603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7604 $(HOST_EXPORTS) \
7605 for flag in $(EXTRA_HOST_FLAGS) ; do \
7606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7607 done; \
7608 echo "Doing install-pdf in fastjar" ; \
7609 (cd $(HOST_SUBDIR)/fastjar && \
7610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7612 "RANLIB=$${RANLIB}" \
7613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7614 install-pdf) \
7615 || exit 1
7617 @endif fastjar
7619 .PHONY: maybe-install-html-fastjar install-html-fastjar
7620 maybe-install-html-fastjar:
7621 @if fastjar
7622 maybe-install-html-fastjar: install-html-fastjar
7624 install-html-fastjar: \
7625 configure-fastjar \
7626 html-fastjar
7627 @: $(MAKE); $(unstage)
7628 @[ -f ./fastjar/Makefile ] || exit 0; \
7629 r=`${PWD_COMMAND}`; export r; \
7630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7631 $(HOST_EXPORTS) \
7632 for flag in $(EXTRA_HOST_FLAGS) ; do \
7633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7634 done; \
7635 echo "Doing install-html in fastjar" ; \
7636 (cd $(HOST_SUBDIR)/fastjar && \
7637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7639 "RANLIB=$${RANLIB}" \
7640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7641 install-html) \
7642 || exit 1
7644 @endif fastjar
7646 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7647 maybe-installcheck-fastjar:
7648 @if fastjar
7649 maybe-installcheck-fastjar: installcheck-fastjar
7651 installcheck-fastjar: \
7652 configure-fastjar
7653 @: $(MAKE); $(unstage)
7654 @[ -f ./fastjar/Makefile ] || exit 0; \
7655 r=`${PWD_COMMAND}`; export r; \
7656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7657 $(HOST_EXPORTS) \
7658 for flag in $(EXTRA_HOST_FLAGS) ; do \
7659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7660 done; \
7661 echo "Doing installcheck in fastjar" ; \
7662 (cd $(HOST_SUBDIR)/fastjar && \
7663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7665 "RANLIB=$${RANLIB}" \
7666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7667 installcheck) \
7668 || exit 1
7670 @endif fastjar
7672 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7673 maybe-mostlyclean-fastjar:
7674 @if fastjar
7675 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7677 mostlyclean-fastjar:
7678 @: $(MAKE); $(unstage)
7679 @[ -f ./fastjar/Makefile ] || exit 0; \
7680 r=`${PWD_COMMAND}`; export r; \
7681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7682 $(HOST_EXPORTS) \
7683 for flag in $(EXTRA_HOST_FLAGS) ; do \
7684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7685 done; \
7686 echo "Doing mostlyclean in fastjar" ; \
7687 (cd $(HOST_SUBDIR)/fastjar && \
7688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7690 "RANLIB=$${RANLIB}" \
7691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7692 mostlyclean) \
7693 || exit 1
7695 @endif fastjar
7697 .PHONY: maybe-clean-fastjar clean-fastjar
7698 maybe-clean-fastjar:
7699 @if fastjar
7700 maybe-clean-fastjar: clean-fastjar
7702 clean-fastjar:
7703 @: $(MAKE); $(unstage)
7704 @[ -f ./fastjar/Makefile ] || exit 0; \
7705 r=`${PWD_COMMAND}`; export r; \
7706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7707 $(HOST_EXPORTS) \
7708 for flag in $(EXTRA_HOST_FLAGS) ; do \
7709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7710 done; \
7711 echo "Doing clean in fastjar" ; \
7712 (cd $(HOST_SUBDIR)/fastjar && \
7713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7715 "RANLIB=$${RANLIB}" \
7716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7717 clean) \
7718 || exit 1
7720 @endif fastjar
7722 .PHONY: maybe-distclean-fastjar distclean-fastjar
7723 maybe-distclean-fastjar:
7724 @if fastjar
7725 maybe-distclean-fastjar: distclean-fastjar
7727 distclean-fastjar:
7728 @: $(MAKE); $(unstage)
7729 @[ -f ./fastjar/Makefile ] || exit 0; \
7730 r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732 $(HOST_EXPORTS) \
7733 for flag in $(EXTRA_HOST_FLAGS) ; do \
7734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7735 done; \
7736 echo "Doing distclean in fastjar" ; \
7737 (cd $(HOST_SUBDIR)/fastjar && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7740 "RANLIB=$${RANLIB}" \
7741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7742 distclean) \
7743 || exit 1
7745 @endif fastjar
7747 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7748 maybe-maintainer-clean-fastjar:
7749 @if fastjar
7750 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7752 maintainer-clean-fastjar:
7753 @: $(MAKE); $(unstage)
7754 @[ -f ./fastjar/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing maintainer-clean in fastjar" ; \
7762 (cd $(HOST_SUBDIR)/fastjar && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7767 maintainer-clean) \
7768 || exit 1
7770 @endif fastjar
7774 .PHONY: configure-fixincludes maybe-configure-fixincludes
7775 maybe-configure-fixincludes:
7776 @if gcc-bootstrap
7777 configure-fixincludes: stage_current
7778 @endif gcc-bootstrap
7779 @if fixincludes
7780 maybe-configure-fixincludes: configure-fixincludes
7781 configure-fixincludes:
7782 @: $(MAKE); $(unstage)
7783 @r=`${PWD_COMMAND}`; export r; \
7784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7785 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7787 $(HOST_EXPORTS) \
7788 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7789 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7790 case $(srcdir) in \
7791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7792 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7794 esac; \
7795 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7796 libsrcdir="$$s/fixincludes"; \
7797 $(SHELL) $${libsrcdir}/configure \
7798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7799 --target=${target_alias} $${srcdiroption} \
7800 || exit 1
7801 @endif fixincludes
7807 .PHONY: all-fixincludes maybe-all-fixincludes
7808 maybe-all-fixincludes:
7809 @if gcc-bootstrap
7810 all-fixincludes: stage_current
7811 @endif gcc-bootstrap
7812 @if fixincludes
7813 TARGET-fixincludes=all
7814 maybe-all-fixincludes: all-fixincludes
7815 all-fixincludes: configure-fixincludes
7816 @: $(MAKE); $(unstage)
7817 @r=`${PWD_COMMAND}`; export r; \
7818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7819 $(HOST_EXPORTS) \
7820 (cd $(HOST_SUBDIR)/fixincludes && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7822 $(TARGET-fixincludes))
7823 @endif fixincludes
7828 .PHONY: check-fixincludes maybe-check-fixincludes
7829 maybe-check-fixincludes:
7830 @if fixincludes
7831 maybe-check-fixincludes: check-fixincludes
7833 check-fixincludes:
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) check)
7841 @endif fixincludes
7843 .PHONY: install-fixincludes maybe-install-fixincludes
7844 maybe-install-fixincludes:
7845 @if fixincludes
7846 maybe-install-fixincludes: install-fixincludes
7848 install-fixincludes: installdirs
7849 @: $(MAKE); $(unstage)
7850 @r=`${PWD_COMMAND}`; export r; \
7851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7852 $(HOST_EXPORTS) \
7853 (cd $(HOST_SUBDIR)/fixincludes && \
7854 $(MAKE) $(FLAGS_TO_PASS) install)
7856 @endif fixincludes
7858 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7859 maybe-install-strip-fixincludes:
7860 @if fixincludes
7861 maybe-install-strip-fixincludes: install-strip-fixincludes
7863 install-strip-fixincludes: installdirs
7864 @: $(MAKE); $(unstage)
7865 @r=`${PWD_COMMAND}`; export r; \
7866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867 $(HOST_EXPORTS) \
7868 (cd $(HOST_SUBDIR)/fixincludes && \
7869 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7871 @endif fixincludes
7873 # Other targets (info, dvi, pdf, etc.)
7875 .PHONY: maybe-info-fixincludes info-fixincludes
7876 maybe-info-fixincludes:
7877 @if fixincludes
7878 maybe-info-fixincludes: info-fixincludes
7880 info-fixincludes: \
7881 configure-fixincludes
7882 @: $(MAKE); $(unstage)
7883 @[ -f ./fixincludes/Makefile ] || exit 0; \
7884 r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing info in fixincludes" ; \
7891 (cd $(HOST_SUBDIR)/fixincludes && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7896 info) \
7897 || exit 1
7899 @endif fixincludes
7901 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7902 maybe-dvi-fixincludes:
7903 @if fixincludes
7904 maybe-dvi-fixincludes: dvi-fixincludes
7906 dvi-fixincludes: \
7907 configure-fixincludes
7908 @: $(MAKE); $(unstage)
7909 @[ -f ./fixincludes/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 $(HOST_EXPORTS) \
7913 for flag in $(EXTRA_HOST_FLAGS) ; do \
7914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7915 done; \
7916 echo "Doing dvi in fixincludes" ; \
7917 (cd $(HOST_SUBDIR)/fixincludes && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920 "RANLIB=$${RANLIB}" \
7921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7922 dvi) \
7923 || exit 1
7925 @endif fixincludes
7927 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7928 maybe-pdf-fixincludes:
7929 @if fixincludes
7930 maybe-pdf-fixincludes: pdf-fixincludes
7932 pdf-fixincludes: \
7933 configure-fixincludes
7934 @: $(MAKE); $(unstage)
7935 @[ -f ./fixincludes/Makefile ] || exit 0; \
7936 r=`${PWD_COMMAND}`; export r; \
7937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 $(HOST_EXPORTS) \
7939 for flag in $(EXTRA_HOST_FLAGS) ; do \
7940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7941 done; \
7942 echo "Doing pdf in fixincludes" ; \
7943 (cd $(HOST_SUBDIR)/fixincludes && \
7944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7946 "RANLIB=$${RANLIB}" \
7947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7948 pdf) \
7949 || exit 1
7951 @endif fixincludes
7953 .PHONY: maybe-html-fixincludes html-fixincludes
7954 maybe-html-fixincludes:
7955 @if fixincludes
7956 maybe-html-fixincludes: html-fixincludes
7958 html-fixincludes: \
7959 configure-fixincludes
7960 @: $(MAKE); $(unstage)
7961 @[ -f ./fixincludes/Makefile ] || exit 0; \
7962 r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing html in fixincludes" ; \
7969 (cd $(HOST_SUBDIR)/fixincludes && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7974 html) \
7975 || exit 1
7977 @endif fixincludes
7979 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7980 maybe-TAGS-fixincludes:
7981 @if fixincludes
7982 maybe-TAGS-fixincludes: TAGS-fixincludes
7984 # fixincludes doesn't support TAGS.
7985 TAGS-fixincludes:
7987 @endif fixincludes
7989 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7990 maybe-install-info-fixincludes:
7991 @if fixincludes
7992 maybe-install-info-fixincludes: install-info-fixincludes
7994 install-info-fixincludes: \
7995 configure-fixincludes \
7996 info-fixincludes
7997 @: $(MAKE); $(unstage)
7998 @[ -f ./fixincludes/Makefile ] || exit 0; \
7999 r=`${PWD_COMMAND}`; export r; \
8000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8001 $(HOST_EXPORTS) \
8002 for flag in $(EXTRA_HOST_FLAGS) ; do \
8003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8004 done; \
8005 echo "Doing install-info in fixincludes" ; \
8006 (cd $(HOST_SUBDIR)/fixincludes && \
8007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8009 "RANLIB=$${RANLIB}" \
8010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8011 install-info) \
8012 || exit 1
8014 @endif fixincludes
8016 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8017 maybe-install-pdf-fixincludes:
8018 @if fixincludes
8019 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8021 install-pdf-fixincludes: \
8022 configure-fixincludes \
8023 pdf-fixincludes
8024 @: $(MAKE); $(unstage)
8025 @[ -f ./fixincludes/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031 done; \
8032 echo "Doing install-pdf in fixincludes" ; \
8033 (cd $(HOST_SUBDIR)/fixincludes && \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8038 install-pdf) \
8039 || exit 1
8041 @endif fixincludes
8043 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8044 maybe-install-html-fixincludes:
8045 @if fixincludes
8046 maybe-install-html-fixincludes: install-html-fixincludes
8048 install-html-fixincludes: \
8049 configure-fixincludes \
8050 html-fixincludes
8051 @: $(MAKE); $(unstage)
8052 @[ -f ./fixincludes/Makefile ] || exit 0; \
8053 r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(HOST_EXPORTS) \
8056 for flag in $(EXTRA_HOST_FLAGS) ; do \
8057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8058 done; \
8059 echo "Doing install-html in fixincludes" ; \
8060 (cd $(HOST_SUBDIR)/fixincludes && \
8061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8063 "RANLIB=$${RANLIB}" \
8064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8065 install-html) \
8066 || exit 1
8068 @endif fixincludes
8070 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8071 maybe-installcheck-fixincludes:
8072 @if fixincludes
8073 maybe-installcheck-fixincludes: installcheck-fixincludes
8075 installcheck-fixincludes: \
8076 configure-fixincludes
8077 @: $(MAKE); $(unstage)
8078 @[ -f ./fixincludes/Makefile ] || exit 0; \
8079 r=`${PWD_COMMAND}`; export r; \
8080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8081 $(HOST_EXPORTS) \
8082 for flag in $(EXTRA_HOST_FLAGS) ; do \
8083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8084 done; \
8085 echo "Doing installcheck in fixincludes" ; \
8086 (cd $(HOST_SUBDIR)/fixincludes && \
8087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8089 "RANLIB=$${RANLIB}" \
8090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8091 installcheck) \
8092 || exit 1
8094 @endif fixincludes
8096 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8097 maybe-mostlyclean-fixincludes:
8098 @if fixincludes
8099 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8101 mostlyclean-fixincludes:
8102 @: $(MAKE); $(unstage)
8103 @[ -f ./fixincludes/Makefile ] || exit 0; \
8104 r=`${PWD_COMMAND}`; export r; \
8105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106 $(HOST_EXPORTS) \
8107 for flag in $(EXTRA_HOST_FLAGS) ; do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 echo "Doing mostlyclean in fixincludes" ; \
8111 (cd $(HOST_SUBDIR)/fixincludes && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8116 mostlyclean) \
8117 || exit 1
8119 @endif fixincludes
8121 .PHONY: maybe-clean-fixincludes clean-fixincludes
8122 maybe-clean-fixincludes:
8123 @if fixincludes
8124 maybe-clean-fixincludes: clean-fixincludes
8126 clean-fixincludes:
8127 @: $(MAKE); $(unstage)
8128 @[ -f ./fixincludes/Makefile ] || exit 0; \
8129 r=`${PWD_COMMAND}`; export r; \
8130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8131 $(HOST_EXPORTS) \
8132 for flag in $(EXTRA_HOST_FLAGS) ; do \
8133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8134 done; \
8135 echo "Doing clean in fixincludes" ; \
8136 (cd $(HOST_SUBDIR)/fixincludes && \
8137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8139 "RANLIB=$${RANLIB}" \
8140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8141 clean) \
8142 || exit 1
8144 @endif fixincludes
8146 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8147 maybe-distclean-fixincludes:
8148 @if fixincludes
8149 maybe-distclean-fixincludes: distclean-fixincludes
8151 distclean-fixincludes:
8152 @: $(MAKE); $(unstage)
8153 @[ -f ./fixincludes/Makefile ] || exit 0; \
8154 r=`${PWD_COMMAND}`; export r; \
8155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8156 $(HOST_EXPORTS) \
8157 for flag in $(EXTRA_HOST_FLAGS) ; do \
8158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8159 done; \
8160 echo "Doing distclean in fixincludes" ; \
8161 (cd $(HOST_SUBDIR)/fixincludes && \
8162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8164 "RANLIB=$${RANLIB}" \
8165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8166 distclean) \
8167 || exit 1
8169 @endif fixincludes
8171 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8172 maybe-maintainer-clean-fixincludes:
8173 @if fixincludes
8174 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8176 maintainer-clean-fixincludes:
8177 @: $(MAKE); $(unstage)
8178 @[ -f ./fixincludes/Makefile ] || exit 0; \
8179 r=`${PWD_COMMAND}`; export r; \
8180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8181 $(HOST_EXPORTS) \
8182 for flag in $(EXTRA_HOST_FLAGS) ; do \
8183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8184 done; \
8185 echo "Doing maintainer-clean in fixincludes" ; \
8186 (cd $(HOST_SUBDIR)/fixincludes && \
8187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8189 "RANLIB=$${RANLIB}" \
8190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8191 maintainer-clean) \
8192 || exit 1
8194 @endif fixincludes
8198 .PHONY: configure-flex maybe-configure-flex
8199 maybe-configure-flex:
8200 @if gcc-bootstrap
8201 configure-flex: stage_current
8202 @endif gcc-bootstrap
8203 @if flex
8204 maybe-configure-flex: configure-flex
8205 configure-flex:
8206 @: $(MAKE); $(unstage)
8207 @r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8211 $(HOST_EXPORTS) \
8212 echo Configuring in $(HOST_SUBDIR)/flex; \
8213 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8214 case $(srcdir) in \
8215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8216 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8218 esac; \
8219 srcdiroption="--srcdir=$${topdir}/flex"; \
8220 libsrcdir="$$s/flex"; \
8221 $(SHELL) $${libsrcdir}/configure \
8222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8223 --target=${target_alias} $${srcdiroption} \
8224 || exit 1
8225 @endif flex
8231 .PHONY: all-flex maybe-all-flex
8232 maybe-all-flex:
8233 @if gcc-bootstrap
8234 all-flex: stage_current
8235 @endif gcc-bootstrap
8236 @if flex
8237 TARGET-flex=all
8238 maybe-all-flex: all-flex
8239 all-flex: configure-flex
8240 @: $(MAKE); $(unstage)
8241 @r=`${PWD_COMMAND}`; export r; \
8242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8243 $(HOST_EXPORTS) \
8244 (cd $(HOST_SUBDIR)/flex && \
8245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8246 $(TARGET-flex))
8247 @endif flex
8252 .PHONY: check-flex maybe-check-flex
8253 maybe-check-flex:
8254 @if flex
8255 maybe-check-flex: check-flex
8257 # This module is only tested in a native toolchain.
8258 check-flex:
8259 @: $(MAKE); $(unstage)
8260 @if [ '$(host)' = '$(target)' ] ; then \
8261 r=`${PWD_COMMAND}`; export r; \
8262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8263 $(HOST_EXPORTS) \
8264 (cd $(HOST_SUBDIR)/flex && \
8265 $(MAKE) $(FLAGS_TO_PASS) check); \
8268 @endif flex
8270 .PHONY: install-flex maybe-install-flex
8271 maybe-install-flex:
8272 @if flex
8273 maybe-install-flex: install-flex
8275 install-flex: installdirs
8276 @: $(MAKE); $(unstage)
8277 @r=`${PWD_COMMAND}`; export r; \
8278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279 $(HOST_EXPORTS) \
8280 (cd $(HOST_SUBDIR)/flex && \
8281 $(MAKE) $(FLAGS_TO_PASS) install)
8283 @endif flex
8285 .PHONY: install-strip-flex maybe-install-strip-flex
8286 maybe-install-strip-flex:
8287 @if flex
8288 maybe-install-strip-flex: install-strip-flex
8290 install-strip-flex: installdirs
8291 @: $(MAKE); $(unstage)
8292 @r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294 $(HOST_EXPORTS) \
8295 (cd $(HOST_SUBDIR)/flex && \
8296 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8298 @endif flex
8300 # Other targets (info, dvi, pdf, etc.)
8302 .PHONY: maybe-info-flex info-flex
8303 maybe-info-flex:
8304 @if flex
8305 maybe-info-flex: info-flex
8307 info-flex: \
8308 configure-flex
8309 @: $(MAKE); $(unstage)
8310 @[ -f ./flex/Makefile ] || exit 0; \
8311 r=`${PWD_COMMAND}`; export r; \
8312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 $(HOST_EXPORTS) \
8314 for flag in $(EXTRA_HOST_FLAGS) ; do \
8315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8316 done; \
8317 echo "Doing info in flex" ; \
8318 (cd $(HOST_SUBDIR)/flex && \
8319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8321 "RANLIB=$${RANLIB}" \
8322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8323 info) \
8324 || exit 1
8326 @endif flex
8328 .PHONY: maybe-dvi-flex dvi-flex
8329 maybe-dvi-flex:
8330 @if flex
8331 maybe-dvi-flex: dvi-flex
8333 dvi-flex: \
8334 configure-flex
8335 @: $(MAKE); $(unstage)
8336 @[ -f ./flex/Makefile ] || exit 0; \
8337 r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(HOST_EXPORTS) \
8340 for flag in $(EXTRA_HOST_FLAGS) ; do \
8341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8342 done; \
8343 echo "Doing dvi in flex" ; \
8344 (cd $(HOST_SUBDIR)/flex && \
8345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8347 "RANLIB=$${RANLIB}" \
8348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8349 dvi) \
8350 || exit 1
8352 @endif flex
8354 .PHONY: maybe-pdf-flex pdf-flex
8355 maybe-pdf-flex:
8356 @if flex
8357 maybe-pdf-flex: pdf-flex
8359 pdf-flex: \
8360 configure-flex
8361 @: $(MAKE); $(unstage)
8362 @[ -f ./flex/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing pdf in flex" ; \
8370 (cd $(HOST_SUBDIR)/flex && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8375 pdf) \
8376 || exit 1
8378 @endif flex
8380 .PHONY: maybe-html-flex html-flex
8381 maybe-html-flex:
8382 @if flex
8383 maybe-html-flex: html-flex
8385 html-flex: \
8386 configure-flex
8387 @: $(MAKE); $(unstage)
8388 @[ -f ./flex/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing html in flex" ; \
8396 (cd $(HOST_SUBDIR)/flex && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8401 html) \
8402 || exit 1
8404 @endif flex
8406 .PHONY: maybe-TAGS-flex TAGS-flex
8407 maybe-TAGS-flex:
8408 @if flex
8409 maybe-TAGS-flex: TAGS-flex
8411 TAGS-flex: \
8412 configure-flex
8413 @: $(MAKE); $(unstage)
8414 @[ -f ./flex/Makefile ] || exit 0; \
8415 r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 for flag in $(EXTRA_HOST_FLAGS) ; do \
8419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8420 done; \
8421 echo "Doing TAGS in flex" ; \
8422 (cd $(HOST_SUBDIR)/flex && \
8423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8425 "RANLIB=$${RANLIB}" \
8426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8427 TAGS) \
8428 || exit 1
8430 @endif flex
8432 .PHONY: maybe-install-info-flex install-info-flex
8433 maybe-install-info-flex:
8434 @if flex
8435 maybe-install-info-flex: install-info-flex
8437 install-info-flex: \
8438 configure-flex \
8439 info-flex
8440 @: $(MAKE); $(unstage)
8441 @[ -f ./flex/Makefile ] || exit 0; \
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 for flag in $(EXTRA_HOST_FLAGS) ; do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing install-info in flex" ; \
8449 (cd $(HOST_SUBDIR)/flex && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8454 install-info) \
8455 || exit 1
8457 @endif flex
8459 .PHONY: maybe-install-pdf-flex install-pdf-flex
8460 maybe-install-pdf-flex:
8461 @if flex
8462 maybe-install-pdf-flex: install-pdf-flex
8464 install-pdf-flex: \
8465 configure-flex \
8466 pdf-flex
8467 @: $(MAKE); $(unstage)
8468 @[ -f ./flex/Makefile ] || exit 0; \
8469 r=`${PWD_COMMAND}`; export r; \
8470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8471 $(HOST_EXPORTS) \
8472 for flag in $(EXTRA_HOST_FLAGS) ; do \
8473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8474 done; \
8475 echo "Doing install-pdf in flex" ; \
8476 (cd $(HOST_SUBDIR)/flex && \
8477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8479 "RANLIB=$${RANLIB}" \
8480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8481 install-pdf) \
8482 || exit 1
8484 @endif flex
8486 .PHONY: maybe-install-html-flex install-html-flex
8487 maybe-install-html-flex:
8488 @if flex
8489 maybe-install-html-flex: install-html-flex
8491 install-html-flex: \
8492 configure-flex \
8493 html-flex
8494 @: $(MAKE); $(unstage)
8495 @[ -f ./flex/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing install-html in flex" ; \
8503 (cd $(HOST_SUBDIR)/flex && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8508 install-html) \
8509 || exit 1
8511 @endif flex
8513 .PHONY: maybe-installcheck-flex installcheck-flex
8514 maybe-installcheck-flex:
8515 @if flex
8516 maybe-installcheck-flex: installcheck-flex
8518 installcheck-flex: \
8519 configure-flex
8520 @: $(MAKE); $(unstage)
8521 @[ -f ./flex/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing installcheck in flex" ; \
8529 (cd $(HOST_SUBDIR)/flex && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8534 installcheck) \
8535 || exit 1
8537 @endif flex
8539 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8540 maybe-mostlyclean-flex:
8541 @if flex
8542 maybe-mostlyclean-flex: mostlyclean-flex
8544 mostlyclean-flex:
8545 @: $(MAKE); $(unstage)
8546 @[ -f ./flex/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(HOST_EXPORTS) \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552 done; \
8553 echo "Doing mostlyclean in flex" ; \
8554 (cd $(HOST_SUBDIR)/flex && \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8559 mostlyclean) \
8560 || exit 1
8562 @endif flex
8564 .PHONY: maybe-clean-flex clean-flex
8565 maybe-clean-flex:
8566 @if flex
8567 maybe-clean-flex: clean-flex
8569 clean-flex:
8570 @: $(MAKE); $(unstage)
8571 @[ -f ./flex/Makefile ] || exit 0; \
8572 r=`${PWD_COMMAND}`; export r; \
8573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8574 $(HOST_EXPORTS) \
8575 for flag in $(EXTRA_HOST_FLAGS) ; do \
8576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8577 done; \
8578 echo "Doing clean in flex" ; \
8579 (cd $(HOST_SUBDIR)/flex && \
8580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8582 "RANLIB=$${RANLIB}" \
8583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8584 clean) \
8585 || exit 1
8587 @endif flex
8589 .PHONY: maybe-distclean-flex distclean-flex
8590 maybe-distclean-flex:
8591 @if flex
8592 maybe-distclean-flex: distclean-flex
8594 distclean-flex:
8595 @: $(MAKE); $(unstage)
8596 @[ -f ./flex/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 for flag in $(EXTRA_HOST_FLAGS) ; do \
8601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 done; \
8603 echo "Doing distclean in flex" ; \
8604 (cd $(HOST_SUBDIR)/flex && \
8605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8607 "RANLIB=$${RANLIB}" \
8608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8609 distclean) \
8610 || exit 1
8612 @endif flex
8614 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8615 maybe-maintainer-clean-flex:
8616 @if flex
8617 maybe-maintainer-clean-flex: maintainer-clean-flex
8619 maintainer-clean-flex:
8620 @: $(MAKE); $(unstage)
8621 @[ -f ./flex/Makefile ] || exit 0; \
8622 r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 $(HOST_EXPORTS) \
8625 for flag in $(EXTRA_HOST_FLAGS) ; do \
8626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8627 done; \
8628 echo "Doing maintainer-clean in flex" ; \
8629 (cd $(HOST_SUBDIR)/flex && \
8630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8632 "RANLIB=$${RANLIB}" \
8633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8634 maintainer-clean) \
8635 || exit 1
8637 @endif flex
8641 .PHONY: configure-gas maybe-configure-gas
8642 maybe-configure-gas:
8643 @if gcc-bootstrap
8644 configure-gas: stage_current
8645 @endif gcc-bootstrap
8646 @if gas
8647 maybe-configure-gas: configure-gas
8648 configure-gas:
8649 @r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8653 $(HOST_EXPORTS) \
8654 echo Configuring in $(HOST_SUBDIR)/gas; \
8655 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8656 case $(srcdir) in \
8657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8658 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8660 esac; \
8661 srcdiroption="--srcdir=$${topdir}/gas"; \
8662 libsrcdir="$$s/gas"; \
8663 $(SHELL) $${libsrcdir}/configure \
8664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8665 --target=${target_alias} $${srcdiroption} \
8666 || exit 1
8667 @endif gas
8671 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8672 maybe-configure-stage1-gas:
8673 @if gas-bootstrap
8674 maybe-configure-stage1-gas: configure-stage1-gas
8675 configure-stage1-gas:
8676 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8678 @r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8680 TFLAGS="$(STAGE1_TFLAGS)"; \
8681 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8682 $(HOST_EXPORTS) \
8683 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8684 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8685 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8686 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8688 cd $(HOST_SUBDIR)/gas || exit 1; \
8689 case $(srcdir) in \
8690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8691 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8693 esac; \
8694 srcdiroption="--srcdir=$${topdir}/gas"; \
8695 libsrcdir="$$s/gas"; \
8696 $(SHELL) $${libsrcdir}/configure \
8697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8698 --target=${target_alias} $${srcdiroption} \
8699 $(STAGE1_CONFIGURE_FLAGS)
8700 @endif gas-bootstrap
8702 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8703 maybe-configure-stage2-gas:
8704 @if gas-bootstrap
8705 maybe-configure-stage2-gas: configure-stage2-gas
8706 configure-stage2-gas:
8707 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8709 @r=`${PWD_COMMAND}`; export r; \
8710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8711 TFLAGS="$(STAGE2_TFLAGS)"; \
8712 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8713 $(HOST_EXPORTS) \
8714 $(POSTSTAGE1_HOST_EXPORTS) \
8715 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8716 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8717 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8718 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8720 cd $(HOST_SUBDIR)/gas || exit 1; \
8721 case $(srcdir) in \
8722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8723 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8725 esac; \
8726 srcdiroption="--srcdir=$${topdir}/gas"; \
8727 libsrcdir="$$s/gas"; \
8728 $(SHELL) $${libsrcdir}/configure \
8729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8730 --target=${target_alias} $${srcdiroption} \
8731 --with-build-libsubdir=$(HOST_SUBDIR) \
8732 $(STAGE2_CONFIGURE_FLAGS)
8733 @endif gas-bootstrap
8735 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8736 maybe-configure-stage3-gas:
8737 @if gas-bootstrap
8738 maybe-configure-stage3-gas: configure-stage3-gas
8739 configure-stage3-gas:
8740 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8742 @r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 TFLAGS="$(STAGE3_TFLAGS)"; \
8745 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8746 $(HOST_EXPORTS) \
8747 $(POSTSTAGE1_HOST_EXPORTS) \
8748 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8749 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8750 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8751 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8753 cd $(HOST_SUBDIR)/gas || exit 1; \
8754 case $(srcdir) in \
8755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8756 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8758 esac; \
8759 srcdiroption="--srcdir=$${topdir}/gas"; \
8760 libsrcdir="$$s/gas"; \
8761 $(SHELL) $${libsrcdir}/configure \
8762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8763 --target=${target_alias} $${srcdiroption} \
8764 --with-build-libsubdir=$(HOST_SUBDIR) \
8765 $(STAGE3_CONFIGURE_FLAGS)
8766 @endif gas-bootstrap
8768 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8769 maybe-configure-stage4-gas:
8770 @if gas-bootstrap
8771 maybe-configure-stage4-gas: configure-stage4-gas
8772 configure-stage4-gas:
8773 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8775 @r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 TFLAGS="$(STAGE4_TFLAGS)"; \
8778 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8779 $(HOST_EXPORTS) \
8780 $(POSTSTAGE1_HOST_EXPORTS) \
8781 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8782 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8783 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8784 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8786 cd $(HOST_SUBDIR)/gas || exit 1; \
8787 case $(srcdir) in \
8788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8789 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8791 esac; \
8792 srcdiroption="--srcdir=$${topdir}/gas"; \
8793 libsrcdir="$$s/gas"; \
8794 $(SHELL) $${libsrcdir}/configure \
8795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8796 --target=${target_alias} $${srcdiroption} \
8797 --with-build-libsubdir=$(HOST_SUBDIR) \
8798 $(STAGE4_CONFIGURE_FLAGS)
8799 @endif gas-bootstrap
8801 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8802 maybe-configure-stageprofile-gas:
8803 @if gas-bootstrap
8804 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8805 configure-stageprofile-gas:
8806 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8811 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8812 $(HOST_EXPORTS) \
8813 $(POSTSTAGE1_HOST_EXPORTS) \
8814 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8815 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8816 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8817 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8819 cd $(HOST_SUBDIR)/gas || exit 1; \
8820 case $(srcdir) in \
8821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8822 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8824 esac; \
8825 srcdiroption="--srcdir=$${topdir}/gas"; \
8826 libsrcdir="$$s/gas"; \
8827 $(SHELL) $${libsrcdir}/configure \
8828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8829 --target=${target_alias} $${srcdiroption} \
8830 --with-build-libsubdir=$(HOST_SUBDIR) \
8831 $(STAGEprofile_CONFIGURE_FLAGS)
8832 @endif gas-bootstrap
8834 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8835 maybe-configure-stagefeedback-gas:
8836 @if gas-bootstrap
8837 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8838 configure-stagefeedback-gas:
8839 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8841 @r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8844 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8845 $(HOST_EXPORTS) \
8846 $(POSTSTAGE1_HOST_EXPORTS) \
8847 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8848 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8849 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8850 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8852 cd $(HOST_SUBDIR)/gas || exit 1; \
8853 case $(srcdir) in \
8854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8855 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8857 esac; \
8858 srcdiroption="--srcdir=$${topdir}/gas"; \
8859 libsrcdir="$$s/gas"; \
8860 $(SHELL) $${libsrcdir}/configure \
8861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8862 --target=${target_alias} $${srcdiroption} \
8863 --with-build-libsubdir=$(HOST_SUBDIR) \
8864 $(STAGEfeedback_CONFIGURE_FLAGS)
8865 @endif gas-bootstrap
8871 .PHONY: all-gas maybe-all-gas
8872 maybe-all-gas:
8873 @if gcc-bootstrap
8874 all-gas: stage_current
8875 @endif gcc-bootstrap
8876 @if gas
8877 TARGET-gas=all
8878 maybe-all-gas: all-gas
8879 all-gas: configure-gas
8880 @r=`${PWD_COMMAND}`; export r; \
8881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8882 $(HOST_EXPORTS) \
8883 (cd $(HOST_SUBDIR)/gas && \
8884 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8885 $(TARGET-gas))
8886 @endif gas
8890 .PHONY: all-stage1-gas maybe-all-stage1-gas
8891 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8892 maybe-all-stage1-gas:
8893 maybe-clean-stage1-gas:
8894 @if gas-bootstrap
8895 maybe-all-stage1-gas: all-stage1-gas
8896 all-stage1: all-stage1-gas
8897 TARGET-stage1-gas = $(TARGET-gas)
8898 all-stage1-gas: configure-stage1-gas
8899 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8900 @r=`${PWD_COMMAND}`; export r; \
8901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8902 TFLAGS="$(STAGE1_TFLAGS)"; \
8903 $(HOST_EXPORTS) \
8904 cd $(HOST_SUBDIR)/gas && \
8905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8906 CFLAGS="$(STAGE1_CFLAGS)" \
8907 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8908 LIBCFLAGS="$(LIBCFLAGS)" \
8909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8912 $(EXTRA_HOST_FLAGS) \
8913 $(STAGE1_FLAGS_TO_PASS) \
8914 TFLAGS="$(STAGE1_TFLAGS)" \
8915 $(TARGET-stage1-gas)
8917 maybe-clean-stage1-gas: clean-stage1-gas
8918 clean-stage1: clean-stage1-gas
8919 clean-stage1-gas:
8920 @if [ $(current_stage) = stage1 ]; then \
8921 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8922 else \
8923 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8924 $(MAKE) stage1-start; \
8925 fi; \
8926 cd $(HOST_SUBDIR)/gas && \
8927 $(MAKE) $(EXTRA_HOST_FLAGS) \
8928 $(STAGE1_FLAGS_TO_PASS) clean
8929 @endif gas-bootstrap
8932 .PHONY: all-stage2-gas maybe-all-stage2-gas
8933 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8934 maybe-all-stage2-gas:
8935 maybe-clean-stage2-gas:
8936 @if gas-bootstrap
8937 maybe-all-stage2-gas: all-stage2-gas
8938 all-stage2: all-stage2-gas
8939 TARGET-stage2-gas = $(TARGET-gas)
8940 all-stage2-gas: configure-stage2-gas
8941 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8942 @r=`${PWD_COMMAND}`; export r; \
8943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8944 TFLAGS="$(STAGE2_TFLAGS)"; \
8945 $(HOST_EXPORTS) \
8946 $(POSTSTAGE1_HOST_EXPORTS) \
8947 cd $(HOST_SUBDIR)/gas && \
8948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8949 CFLAGS="$(STAGE2_CFLAGS)" \
8950 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8951 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8956 TFLAGS="$(STAGE2_TFLAGS)" \
8957 $(TARGET-stage2-gas)
8959 maybe-clean-stage2-gas: clean-stage2-gas
8960 clean-stage2: clean-stage2-gas
8961 clean-stage2-gas:
8962 @if [ $(current_stage) = stage2 ]; then \
8963 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8964 else \
8965 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8966 $(MAKE) stage2-start; \
8967 fi; \
8968 cd $(HOST_SUBDIR)/gas && \
8969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8970 @endif gas-bootstrap
8973 .PHONY: all-stage3-gas maybe-all-stage3-gas
8974 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8975 maybe-all-stage3-gas:
8976 maybe-clean-stage3-gas:
8977 @if gas-bootstrap
8978 maybe-all-stage3-gas: all-stage3-gas
8979 all-stage3: all-stage3-gas
8980 TARGET-stage3-gas = $(TARGET-gas)
8981 all-stage3-gas: configure-stage3-gas
8982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8983 @r=`${PWD_COMMAND}`; export r; \
8984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8985 TFLAGS="$(STAGE3_TFLAGS)"; \
8986 $(HOST_EXPORTS) \
8987 $(POSTSTAGE1_HOST_EXPORTS) \
8988 cd $(HOST_SUBDIR)/gas && \
8989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8990 CFLAGS="$(STAGE3_CFLAGS)" \
8991 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8992 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8997 TFLAGS="$(STAGE3_TFLAGS)" \
8998 $(TARGET-stage3-gas)
9000 maybe-clean-stage3-gas: clean-stage3-gas
9001 clean-stage3: clean-stage3-gas
9002 clean-stage3-gas:
9003 @if [ $(current_stage) = stage3 ]; then \
9004 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9005 else \
9006 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9007 $(MAKE) stage3-start; \
9008 fi; \
9009 cd $(HOST_SUBDIR)/gas && \
9010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9011 @endif gas-bootstrap
9014 .PHONY: all-stage4-gas maybe-all-stage4-gas
9015 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9016 maybe-all-stage4-gas:
9017 maybe-clean-stage4-gas:
9018 @if gas-bootstrap
9019 maybe-all-stage4-gas: all-stage4-gas
9020 all-stage4: all-stage4-gas
9021 TARGET-stage4-gas = $(TARGET-gas)
9022 all-stage4-gas: configure-stage4-gas
9023 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9024 @r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 TFLAGS="$(STAGE4_TFLAGS)"; \
9027 $(HOST_EXPORTS) \
9028 $(POSTSTAGE1_HOST_EXPORTS) \
9029 cd $(HOST_SUBDIR)/gas && \
9030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9031 CFLAGS="$(STAGE4_CFLAGS)" \
9032 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9033 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9038 TFLAGS="$(STAGE4_TFLAGS)" \
9039 $(TARGET-stage4-gas)
9041 maybe-clean-stage4-gas: clean-stage4-gas
9042 clean-stage4: clean-stage4-gas
9043 clean-stage4-gas:
9044 @if [ $(current_stage) = stage4 ]; then \
9045 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9046 else \
9047 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9048 $(MAKE) stage4-start; \
9049 fi; \
9050 cd $(HOST_SUBDIR)/gas && \
9051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9052 @endif gas-bootstrap
9055 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9056 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9057 maybe-all-stageprofile-gas:
9058 maybe-clean-stageprofile-gas:
9059 @if gas-bootstrap
9060 maybe-all-stageprofile-gas: all-stageprofile-gas
9061 all-stageprofile: all-stageprofile-gas
9062 TARGET-stageprofile-gas = $(TARGET-gas)
9063 all-stageprofile-gas: configure-stageprofile-gas
9064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9065 @r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9068 $(HOST_EXPORTS) \
9069 $(POSTSTAGE1_HOST_EXPORTS) \
9070 cd $(HOST_SUBDIR)/gas && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9072 CFLAGS="$(STAGEprofile_CFLAGS)" \
9073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9074 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9079 TFLAGS="$(STAGEprofile_TFLAGS)" \
9080 $(TARGET-stageprofile-gas)
9082 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9083 clean-stageprofile: clean-stageprofile-gas
9084 clean-stageprofile-gas:
9085 @if [ $(current_stage) = stageprofile ]; then \
9086 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9087 else \
9088 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9089 $(MAKE) stageprofile-start; \
9090 fi; \
9091 cd $(HOST_SUBDIR)/gas && \
9092 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9093 @endif gas-bootstrap
9096 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9097 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9098 maybe-all-stagefeedback-gas:
9099 maybe-clean-stagefeedback-gas:
9100 @if gas-bootstrap
9101 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9102 all-stagefeedback: all-stagefeedback-gas
9103 TARGET-stagefeedback-gas = $(TARGET-gas)
9104 all-stagefeedback-gas: configure-stagefeedback-gas
9105 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9106 @r=`${PWD_COMMAND}`; export r; \
9107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9109 $(HOST_EXPORTS) \
9110 $(POSTSTAGE1_HOST_EXPORTS) \
9111 cd $(HOST_SUBDIR)/gas && \
9112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9113 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9114 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9115 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9120 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9121 $(TARGET-stagefeedback-gas)
9123 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9124 clean-stagefeedback: clean-stagefeedback-gas
9125 clean-stagefeedback-gas:
9126 @if [ $(current_stage) = stagefeedback ]; then \
9127 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9128 else \
9129 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9130 $(MAKE) stagefeedback-start; \
9131 fi; \
9132 cd $(HOST_SUBDIR)/gas && \
9133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9134 @endif gas-bootstrap
9140 .PHONY: check-gas maybe-check-gas
9141 maybe-check-gas:
9142 @if gas
9143 maybe-check-gas: check-gas
9145 check-gas:
9146 @: $(MAKE); $(unstage)
9147 @r=`${PWD_COMMAND}`; export r; \
9148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9149 $(HOST_EXPORTS) \
9150 (cd $(HOST_SUBDIR)/gas && \
9151 $(MAKE) $(FLAGS_TO_PASS) check)
9153 @endif gas
9155 .PHONY: install-gas maybe-install-gas
9156 maybe-install-gas:
9157 @if gas
9158 maybe-install-gas: install-gas
9160 install-gas: installdirs
9161 @: $(MAKE); $(unstage)
9162 @r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9164 $(HOST_EXPORTS) \
9165 (cd $(HOST_SUBDIR)/gas && \
9166 $(MAKE) $(FLAGS_TO_PASS) install)
9168 @endif gas
9170 .PHONY: install-strip-gas maybe-install-strip-gas
9171 maybe-install-strip-gas:
9172 @if gas
9173 maybe-install-strip-gas: install-strip-gas
9175 install-strip-gas: installdirs
9176 @: $(MAKE); $(unstage)
9177 @r=`${PWD_COMMAND}`; export r; \
9178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9179 $(HOST_EXPORTS) \
9180 (cd $(HOST_SUBDIR)/gas && \
9181 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9183 @endif gas
9185 # Other targets (info, dvi, pdf, etc.)
9187 .PHONY: maybe-info-gas info-gas
9188 maybe-info-gas:
9189 @if gas
9190 maybe-info-gas: info-gas
9192 info-gas: \
9193 configure-gas
9194 @[ -f ./gas/Makefile ] || exit 0; \
9195 r=`${PWD_COMMAND}`; export r; \
9196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 $(HOST_EXPORTS) \
9198 for flag in $(EXTRA_HOST_FLAGS) ; do \
9199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9200 done; \
9201 echo "Doing info in gas" ; \
9202 (cd $(HOST_SUBDIR)/gas && \
9203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9205 "RANLIB=$${RANLIB}" \
9206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9207 info) \
9208 || exit 1
9210 @endif gas
9212 .PHONY: maybe-dvi-gas dvi-gas
9213 maybe-dvi-gas:
9214 @if gas
9215 maybe-dvi-gas: dvi-gas
9217 dvi-gas: \
9218 configure-gas
9219 @[ -f ./gas/Makefile ] || exit 0; \
9220 r=`${PWD_COMMAND}`; export r; \
9221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9222 $(HOST_EXPORTS) \
9223 for flag in $(EXTRA_HOST_FLAGS) ; do \
9224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9225 done; \
9226 echo "Doing dvi in gas" ; \
9227 (cd $(HOST_SUBDIR)/gas && \
9228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9230 "RANLIB=$${RANLIB}" \
9231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9232 dvi) \
9233 || exit 1
9235 @endif gas
9237 .PHONY: maybe-pdf-gas pdf-gas
9238 maybe-pdf-gas:
9239 @if gas
9240 maybe-pdf-gas: pdf-gas
9242 pdf-gas: \
9243 configure-gas
9244 @[ -f ./gas/Makefile ] || exit 0; \
9245 r=`${PWD_COMMAND}`; export r; \
9246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9247 $(HOST_EXPORTS) \
9248 for flag in $(EXTRA_HOST_FLAGS) ; do \
9249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9250 done; \
9251 echo "Doing pdf in gas" ; \
9252 (cd $(HOST_SUBDIR)/gas && \
9253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9255 "RANLIB=$${RANLIB}" \
9256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9257 pdf) \
9258 || exit 1
9260 @endif gas
9262 .PHONY: maybe-html-gas html-gas
9263 maybe-html-gas:
9264 @if gas
9265 maybe-html-gas: html-gas
9267 html-gas: \
9268 configure-gas
9269 @[ -f ./gas/Makefile ] || exit 0; \
9270 r=`${PWD_COMMAND}`; export r; \
9271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9272 $(HOST_EXPORTS) \
9273 for flag in $(EXTRA_HOST_FLAGS) ; do \
9274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9275 done; \
9276 echo "Doing html in gas" ; \
9277 (cd $(HOST_SUBDIR)/gas && \
9278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9280 "RANLIB=$${RANLIB}" \
9281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9282 html) \
9283 || exit 1
9285 @endif gas
9287 .PHONY: maybe-TAGS-gas TAGS-gas
9288 maybe-TAGS-gas:
9289 @if gas
9290 maybe-TAGS-gas: TAGS-gas
9292 TAGS-gas: \
9293 configure-gas
9294 @[ -f ./gas/Makefile ] || exit 0; \
9295 r=`${PWD_COMMAND}`; export r; \
9296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9297 $(HOST_EXPORTS) \
9298 for flag in $(EXTRA_HOST_FLAGS) ; do \
9299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9300 done; \
9301 echo "Doing TAGS in gas" ; \
9302 (cd $(HOST_SUBDIR)/gas && \
9303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9305 "RANLIB=$${RANLIB}" \
9306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9307 TAGS) \
9308 || exit 1
9310 @endif gas
9312 .PHONY: maybe-install-info-gas install-info-gas
9313 maybe-install-info-gas:
9314 @if gas
9315 maybe-install-info-gas: install-info-gas
9317 install-info-gas: \
9318 configure-gas \
9319 info-gas
9320 @[ -f ./gas/Makefile ] || exit 0; \
9321 r=`${PWD_COMMAND}`; export r; \
9322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9323 $(HOST_EXPORTS) \
9324 for flag in $(EXTRA_HOST_FLAGS) ; do \
9325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9326 done; \
9327 echo "Doing install-info in gas" ; \
9328 (cd $(HOST_SUBDIR)/gas && \
9329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9331 "RANLIB=$${RANLIB}" \
9332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9333 install-info) \
9334 || exit 1
9336 @endif gas
9338 .PHONY: maybe-install-pdf-gas install-pdf-gas
9339 maybe-install-pdf-gas:
9340 @if gas
9341 maybe-install-pdf-gas: install-pdf-gas
9343 install-pdf-gas: \
9344 configure-gas \
9345 pdf-gas
9346 @[ -f ./gas/Makefile ] || exit 0; \
9347 r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 $(HOST_EXPORTS) \
9350 for flag in $(EXTRA_HOST_FLAGS) ; do \
9351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9352 done; \
9353 echo "Doing install-pdf in gas" ; \
9354 (cd $(HOST_SUBDIR)/gas && \
9355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9357 "RANLIB=$${RANLIB}" \
9358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9359 install-pdf) \
9360 || exit 1
9362 @endif gas
9364 .PHONY: maybe-install-html-gas install-html-gas
9365 maybe-install-html-gas:
9366 @if gas
9367 maybe-install-html-gas: install-html-gas
9369 install-html-gas: \
9370 configure-gas \
9371 html-gas
9372 @[ -f ./gas/Makefile ] || exit 0; \
9373 r=`${PWD_COMMAND}`; export r; \
9374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9375 $(HOST_EXPORTS) \
9376 for flag in $(EXTRA_HOST_FLAGS) ; do \
9377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9378 done; \
9379 echo "Doing install-html in gas" ; \
9380 (cd $(HOST_SUBDIR)/gas && \
9381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9383 "RANLIB=$${RANLIB}" \
9384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9385 install-html) \
9386 || exit 1
9388 @endif gas
9390 .PHONY: maybe-installcheck-gas installcheck-gas
9391 maybe-installcheck-gas:
9392 @if gas
9393 maybe-installcheck-gas: installcheck-gas
9395 installcheck-gas: \
9396 configure-gas
9397 @[ -f ./gas/Makefile ] || exit 0; \
9398 r=`${PWD_COMMAND}`; export r; \
9399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9400 $(HOST_EXPORTS) \
9401 for flag in $(EXTRA_HOST_FLAGS) ; do \
9402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9403 done; \
9404 echo "Doing installcheck in gas" ; \
9405 (cd $(HOST_SUBDIR)/gas && \
9406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408 "RANLIB=$${RANLIB}" \
9409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9410 installcheck) \
9411 || exit 1
9413 @endif gas
9415 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9416 maybe-mostlyclean-gas:
9417 @if gas
9418 maybe-mostlyclean-gas: mostlyclean-gas
9420 mostlyclean-gas:
9421 @[ -f ./gas/Makefile ] || exit 0; \
9422 r=`${PWD_COMMAND}`; export r; \
9423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9424 $(HOST_EXPORTS) \
9425 for flag in $(EXTRA_HOST_FLAGS) ; do \
9426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9427 done; \
9428 echo "Doing mostlyclean in gas" ; \
9429 (cd $(HOST_SUBDIR)/gas && \
9430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9432 "RANLIB=$${RANLIB}" \
9433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9434 mostlyclean) \
9435 || exit 1
9437 @endif gas
9439 .PHONY: maybe-clean-gas clean-gas
9440 maybe-clean-gas:
9441 @if gas
9442 maybe-clean-gas: clean-gas
9444 clean-gas:
9445 @[ -f ./gas/Makefile ] || exit 0; \
9446 r=`${PWD_COMMAND}`; export r; \
9447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9448 $(HOST_EXPORTS) \
9449 for flag in $(EXTRA_HOST_FLAGS) ; do \
9450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 done; \
9452 echo "Doing clean in gas" ; \
9453 (cd $(HOST_SUBDIR)/gas && \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9456 "RANLIB=$${RANLIB}" \
9457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9458 clean) \
9459 || exit 1
9461 @endif gas
9463 .PHONY: maybe-distclean-gas distclean-gas
9464 maybe-distclean-gas:
9465 @if gas
9466 maybe-distclean-gas: distclean-gas
9468 distclean-gas:
9469 @[ -f ./gas/Makefile ] || exit 0; \
9470 r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 $(HOST_EXPORTS) \
9473 for flag in $(EXTRA_HOST_FLAGS) ; do \
9474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9475 done; \
9476 echo "Doing distclean in gas" ; \
9477 (cd $(HOST_SUBDIR)/gas && \
9478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9480 "RANLIB=$${RANLIB}" \
9481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9482 distclean) \
9483 || exit 1
9485 @endif gas
9487 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9488 maybe-maintainer-clean-gas:
9489 @if gas
9490 maybe-maintainer-clean-gas: maintainer-clean-gas
9492 maintainer-clean-gas:
9493 @[ -f ./gas/Makefile ] || exit 0; \
9494 r=`${PWD_COMMAND}`; export r; \
9495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9496 $(HOST_EXPORTS) \
9497 for flag in $(EXTRA_HOST_FLAGS) ; do \
9498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9499 done; \
9500 echo "Doing maintainer-clean in gas" ; \
9501 (cd $(HOST_SUBDIR)/gas && \
9502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9504 "RANLIB=$${RANLIB}" \
9505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9506 maintainer-clean) \
9507 || exit 1
9509 @endif gas
9513 .PHONY: configure-gcc maybe-configure-gcc
9514 maybe-configure-gcc:
9515 @if gcc-bootstrap
9516 configure-gcc: stage_current
9517 @endif gcc-bootstrap
9518 @if gcc
9519 maybe-configure-gcc: configure-gcc
9520 configure-gcc:
9521 @r=`${PWD_COMMAND}`; export r; \
9522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9525 $(HOST_EXPORTS) \
9526 echo Configuring in $(HOST_SUBDIR)/gcc; \
9527 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9528 case $(srcdir) in \
9529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9530 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9532 esac; \
9533 srcdiroption="--srcdir=$${topdir}/gcc"; \
9534 libsrcdir="$$s/gcc"; \
9535 $(SHELL) $${libsrcdir}/configure \
9536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9537 --target=${target_alias} $${srcdiroption} \
9538 || exit 1
9539 @endif gcc
9543 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9544 maybe-configure-stage1-gcc:
9545 @if gcc-bootstrap
9546 maybe-configure-stage1-gcc: configure-stage1-gcc
9547 configure-stage1-gcc:
9548 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9550 @r=`${PWD_COMMAND}`; export r; \
9551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9552 TFLAGS="$(STAGE1_TFLAGS)"; \
9553 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9554 $(HOST_EXPORTS) \
9555 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9556 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9557 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9558 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9560 cd $(HOST_SUBDIR)/gcc || exit 1; \
9561 case $(srcdir) in \
9562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9563 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9565 esac; \
9566 srcdiroption="--srcdir=$${topdir}/gcc"; \
9567 libsrcdir="$$s/gcc"; \
9568 $(SHELL) $${libsrcdir}/configure \
9569 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9570 --target=${target_alias} $${srcdiroption} \
9571 $(STAGE1_CONFIGURE_FLAGS)
9572 @endif gcc-bootstrap
9574 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9575 maybe-configure-stage2-gcc:
9576 @if gcc-bootstrap
9577 maybe-configure-stage2-gcc: configure-stage2-gcc
9578 configure-stage2-gcc:
9579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9581 @r=`${PWD_COMMAND}`; export r; \
9582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9583 TFLAGS="$(STAGE2_TFLAGS)"; \
9584 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9585 $(HOST_EXPORTS) \
9586 $(POSTSTAGE1_HOST_EXPORTS) \
9587 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9588 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9589 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9590 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9592 cd $(HOST_SUBDIR)/gcc || exit 1; \
9593 case $(srcdir) in \
9594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9595 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9597 esac; \
9598 srcdiroption="--srcdir=$${topdir}/gcc"; \
9599 libsrcdir="$$s/gcc"; \
9600 $(SHELL) $${libsrcdir}/configure \
9601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9602 --target=${target_alias} $${srcdiroption} \
9603 --with-build-libsubdir=$(HOST_SUBDIR) \
9604 $(STAGE2_CONFIGURE_FLAGS)
9605 @endif gcc-bootstrap
9607 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9608 maybe-configure-stage3-gcc:
9609 @if gcc-bootstrap
9610 maybe-configure-stage3-gcc: configure-stage3-gcc
9611 configure-stage3-gcc:
9612 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9614 @r=`${PWD_COMMAND}`; export r; \
9615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9616 TFLAGS="$(STAGE3_TFLAGS)"; \
9617 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9618 $(HOST_EXPORTS) \
9619 $(POSTSTAGE1_HOST_EXPORTS) \
9620 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9621 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9622 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9623 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9625 cd $(HOST_SUBDIR)/gcc || exit 1; \
9626 case $(srcdir) in \
9627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9628 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9630 esac; \
9631 srcdiroption="--srcdir=$${topdir}/gcc"; \
9632 libsrcdir="$$s/gcc"; \
9633 $(SHELL) $${libsrcdir}/configure \
9634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9635 --target=${target_alias} $${srcdiroption} \
9636 --with-build-libsubdir=$(HOST_SUBDIR) \
9637 $(STAGE3_CONFIGURE_FLAGS)
9638 @endif gcc-bootstrap
9640 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9641 maybe-configure-stage4-gcc:
9642 @if gcc-bootstrap
9643 maybe-configure-stage4-gcc: configure-stage4-gcc
9644 configure-stage4-gcc:
9645 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9647 @r=`${PWD_COMMAND}`; export r; \
9648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9649 TFLAGS="$(STAGE4_TFLAGS)"; \
9650 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9651 $(HOST_EXPORTS) \
9652 $(POSTSTAGE1_HOST_EXPORTS) \
9653 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9654 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9655 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9656 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9658 cd $(HOST_SUBDIR)/gcc || exit 1; \
9659 case $(srcdir) in \
9660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9661 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9663 esac; \
9664 srcdiroption="--srcdir=$${topdir}/gcc"; \
9665 libsrcdir="$$s/gcc"; \
9666 $(SHELL) $${libsrcdir}/configure \
9667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9668 --target=${target_alias} $${srcdiroption} \
9669 --with-build-libsubdir=$(HOST_SUBDIR) \
9670 $(STAGE4_CONFIGURE_FLAGS)
9671 @endif gcc-bootstrap
9673 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9674 maybe-configure-stageprofile-gcc:
9675 @if gcc-bootstrap
9676 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9677 configure-stageprofile-gcc:
9678 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9680 @r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9683 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9684 $(HOST_EXPORTS) \
9685 $(POSTSTAGE1_HOST_EXPORTS) \
9686 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9687 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9688 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9689 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9691 cd $(HOST_SUBDIR)/gcc || exit 1; \
9692 case $(srcdir) in \
9693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9694 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9696 esac; \
9697 srcdiroption="--srcdir=$${topdir}/gcc"; \
9698 libsrcdir="$$s/gcc"; \
9699 $(SHELL) $${libsrcdir}/configure \
9700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9701 --target=${target_alias} $${srcdiroption} \
9702 --with-build-libsubdir=$(HOST_SUBDIR) \
9703 $(STAGEprofile_CONFIGURE_FLAGS)
9704 @endif gcc-bootstrap
9706 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9707 maybe-configure-stagefeedback-gcc:
9708 @if gcc-bootstrap
9709 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9710 configure-stagefeedback-gcc:
9711 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9713 @r=`${PWD_COMMAND}`; export r; \
9714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9716 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9717 $(HOST_EXPORTS) \
9718 $(POSTSTAGE1_HOST_EXPORTS) \
9719 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9720 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9721 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9722 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9724 cd $(HOST_SUBDIR)/gcc || exit 1; \
9725 case $(srcdir) in \
9726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9727 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9729 esac; \
9730 srcdiroption="--srcdir=$${topdir}/gcc"; \
9731 libsrcdir="$$s/gcc"; \
9732 $(SHELL) $${libsrcdir}/configure \
9733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9734 --target=${target_alias} $${srcdiroption} \
9735 --with-build-libsubdir=$(HOST_SUBDIR) \
9736 $(STAGEfeedback_CONFIGURE_FLAGS)
9737 @endif gcc-bootstrap
9743 .PHONY: all-gcc maybe-all-gcc
9744 maybe-all-gcc:
9745 @if gcc-bootstrap
9746 all-gcc: stage_current
9747 @endif gcc-bootstrap
9748 @if gcc
9749 TARGET-gcc=all
9750 maybe-all-gcc: all-gcc
9751 all-gcc: configure-gcc
9752 @r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9754 $(HOST_EXPORTS) \
9755 (cd $(HOST_SUBDIR)/gcc && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9757 $(TARGET-gcc))
9758 @endif gcc
9762 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9763 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9764 maybe-all-stage1-gcc:
9765 maybe-clean-stage1-gcc:
9766 @if gcc-bootstrap
9767 maybe-all-stage1-gcc: all-stage1-gcc
9768 all-stage1: all-stage1-gcc
9769 TARGET-stage1-gcc = $(TARGET-gcc)
9770 all-stage1-gcc: configure-stage1-gcc
9771 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9772 @r=`${PWD_COMMAND}`; export r; \
9773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9774 TFLAGS="$(STAGE1_TFLAGS)"; \
9775 $(HOST_EXPORTS) \
9776 cd $(HOST_SUBDIR)/gcc && \
9777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9778 CFLAGS="$(STAGE1_CFLAGS)" \
9779 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9780 LIBCFLAGS="$(LIBCFLAGS)" \
9781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9784 $(EXTRA_HOST_FLAGS) \
9785 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9786 TFLAGS="$(STAGE1_TFLAGS)" \
9787 $(TARGET-stage1-gcc)
9789 maybe-clean-stage1-gcc: clean-stage1-gcc
9790 clean-stage1: clean-stage1-gcc
9791 clean-stage1-gcc:
9792 @if [ $(current_stage) = stage1 ]; then \
9793 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9794 else \
9795 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9796 $(MAKE) stage1-start; \
9797 fi; \
9798 cd $(HOST_SUBDIR)/gcc && \
9799 $(MAKE) $(EXTRA_HOST_FLAGS) \
9800 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9801 @endif gcc-bootstrap
9804 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9805 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9806 maybe-all-stage2-gcc:
9807 maybe-clean-stage2-gcc:
9808 @if gcc-bootstrap
9809 maybe-all-stage2-gcc: all-stage2-gcc
9810 all-stage2: all-stage2-gcc
9811 TARGET-stage2-gcc = $(TARGET-gcc)
9812 all-stage2-gcc: configure-stage2-gcc
9813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9814 @r=`${PWD_COMMAND}`; export r; \
9815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9816 TFLAGS="$(STAGE2_TFLAGS)"; \
9817 $(HOST_EXPORTS) \
9818 $(POSTSTAGE1_HOST_EXPORTS) \
9819 cd $(HOST_SUBDIR)/gcc && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9821 CFLAGS="$(STAGE2_CFLAGS)" \
9822 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9823 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9824 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9825 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9826 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9827 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9828 TFLAGS="$(STAGE2_TFLAGS)" \
9829 $(TARGET-stage2-gcc)
9831 maybe-clean-stage2-gcc: clean-stage2-gcc
9832 clean-stage2: clean-stage2-gcc
9833 clean-stage2-gcc:
9834 @if [ $(current_stage) = stage2 ]; then \
9835 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9836 else \
9837 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9838 $(MAKE) stage2-start; \
9839 fi; \
9840 cd $(HOST_SUBDIR)/gcc && \
9841 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9842 @endif gcc-bootstrap
9845 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9846 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9847 maybe-all-stage3-gcc:
9848 maybe-clean-stage3-gcc:
9849 @if gcc-bootstrap
9850 maybe-all-stage3-gcc: all-stage3-gcc
9851 all-stage3: all-stage3-gcc
9852 TARGET-stage3-gcc = $(TARGET-gcc)
9853 all-stage3-gcc: configure-stage3-gcc
9854 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9855 @r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 TFLAGS="$(STAGE3_TFLAGS)"; \
9858 $(HOST_EXPORTS) \
9859 $(POSTSTAGE1_HOST_EXPORTS) \
9860 cd $(HOST_SUBDIR)/gcc && \
9861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9862 CFLAGS="$(STAGE3_CFLAGS)" \
9863 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9864 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9869 TFLAGS="$(STAGE3_TFLAGS)" \
9870 $(TARGET-stage3-gcc)
9872 maybe-clean-stage3-gcc: clean-stage3-gcc
9873 clean-stage3: clean-stage3-gcc
9874 clean-stage3-gcc:
9875 @if [ $(current_stage) = stage3 ]; then \
9876 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9877 else \
9878 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9879 $(MAKE) stage3-start; \
9880 fi; \
9881 cd $(HOST_SUBDIR)/gcc && \
9882 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9883 @endif gcc-bootstrap
9886 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9887 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9888 maybe-all-stage4-gcc:
9889 maybe-clean-stage4-gcc:
9890 @if gcc-bootstrap
9891 maybe-all-stage4-gcc: all-stage4-gcc
9892 all-stage4: all-stage4-gcc
9893 TARGET-stage4-gcc = $(TARGET-gcc)
9894 all-stage4-gcc: configure-stage4-gcc
9895 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9896 @r=`${PWD_COMMAND}`; export r; \
9897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 TFLAGS="$(STAGE4_TFLAGS)"; \
9899 $(HOST_EXPORTS) \
9900 $(POSTSTAGE1_HOST_EXPORTS) \
9901 cd $(HOST_SUBDIR)/gcc && \
9902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9903 CFLAGS="$(STAGE4_CFLAGS)" \
9904 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9905 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9906 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9907 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9908 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9909 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9910 TFLAGS="$(STAGE4_TFLAGS)" \
9911 $(TARGET-stage4-gcc)
9913 maybe-clean-stage4-gcc: clean-stage4-gcc
9914 clean-stage4: clean-stage4-gcc
9915 clean-stage4-gcc:
9916 @if [ $(current_stage) = stage4 ]; then \
9917 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9918 else \
9919 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9920 $(MAKE) stage4-start; \
9921 fi; \
9922 cd $(HOST_SUBDIR)/gcc && \
9923 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9924 @endif gcc-bootstrap
9927 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9928 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9929 maybe-all-stageprofile-gcc:
9930 maybe-clean-stageprofile-gcc:
9931 @if gcc-bootstrap
9932 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9933 all-stageprofile: all-stageprofile-gcc
9934 TARGET-stageprofile-gcc = $(TARGET-gcc)
9935 all-stageprofile-gcc: configure-stageprofile-gcc
9936 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9937 @r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9940 $(HOST_EXPORTS) \
9941 $(POSTSTAGE1_HOST_EXPORTS) \
9942 cd $(HOST_SUBDIR)/gcc && \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9944 CFLAGS="$(STAGEprofile_CFLAGS)" \
9945 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9946 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9950 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9951 TFLAGS="$(STAGEprofile_TFLAGS)" \
9952 $(TARGET-stageprofile-gcc)
9954 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9955 clean-stageprofile: clean-stageprofile-gcc
9956 clean-stageprofile-gcc:
9957 @if [ $(current_stage) = stageprofile ]; then \
9958 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9959 else \
9960 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9961 $(MAKE) stageprofile-start; \
9962 fi; \
9963 cd $(HOST_SUBDIR)/gcc && \
9964 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9965 @endif gcc-bootstrap
9968 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9969 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9970 maybe-all-stagefeedback-gcc:
9971 maybe-clean-stagefeedback-gcc:
9972 @if gcc-bootstrap
9973 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9974 all-stagefeedback: all-stagefeedback-gcc
9975 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9976 all-stagefeedback-gcc: configure-stagefeedback-gcc
9977 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9978 @r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9981 $(HOST_EXPORTS) \
9982 $(POSTSTAGE1_HOST_EXPORTS) \
9983 cd $(HOST_SUBDIR)/gcc && \
9984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9985 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9986 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9987 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9992 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9993 $(TARGET-stagefeedback-gcc)
9995 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9996 clean-stagefeedback: clean-stagefeedback-gcc
9997 clean-stagefeedback-gcc:
9998 @if [ $(current_stage) = stagefeedback ]; then \
9999 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10000 else \
10001 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10002 $(MAKE) stagefeedback-start; \
10003 fi; \
10004 cd $(HOST_SUBDIR)/gcc && \
10005 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10006 @endif gcc-bootstrap
10012 .PHONY: check-gcc maybe-check-gcc
10013 maybe-check-gcc:
10014 @if gcc
10015 maybe-check-gcc: check-gcc
10017 check-gcc:
10018 @: $(MAKE); $(unstage)
10019 @r=`${PWD_COMMAND}`; export r; \
10020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10021 $(HOST_EXPORTS) \
10022 (cd $(HOST_SUBDIR)/gcc && \
10023 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10025 @endif gcc
10027 .PHONY: install-gcc maybe-install-gcc
10028 maybe-install-gcc:
10029 @if gcc
10030 maybe-install-gcc: install-gcc
10032 install-gcc: installdirs
10033 @: $(MAKE); $(unstage)
10034 @r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 $(HOST_EXPORTS) \
10037 (cd $(HOST_SUBDIR)/gcc && \
10038 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10040 @endif gcc
10042 .PHONY: install-strip-gcc maybe-install-strip-gcc
10043 maybe-install-strip-gcc:
10044 @if gcc
10045 maybe-install-strip-gcc: install-strip-gcc
10047 install-strip-gcc: installdirs
10048 @: $(MAKE); $(unstage)
10049 @r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 (cd $(HOST_SUBDIR)/gcc && \
10053 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10055 @endif gcc
10057 # Other targets (info, dvi, pdf, etc.)
10059 .PHONY: maybe-info-gcc info-gcc
10060 maybe-info-gcc:
10061 @if gcc
10062 maybe-info-gcc: info-gcc
10064 info-gcc: \
10065 configure-gcc
10066 @[ -f ./gcc/Makefile ] || exit 0; \
10067 r=`${PWD_COMMAND}`; export r; \
10068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 $(HOST_EXPORTS) \
10070 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10072 done; \
10073 echo "Doing info in gcc" ; \
10074 (cd $(HOST_SUBDIR)/gcc && \
10075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10077 "RANLIB=$${RANLIB}" \
10078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10079 info) \
10080 || exit 1
10082 @endif gcc
10084 .PHONY: maybe-dvi-gcc dvi-gcc
10085 maybe-dvi-gcc:
10086 @if gcc
10087 maybe-dvi-gcc: dvi-gcc
10089 dvi-gcc: \
10090 configure-gcc
10091 @[ -f ./gcc/Makefile ] || exit 0; \
10092 r=`${PWD_COMMAND}`; export r; \
10093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10094 $(HOST_EXPORTS) \
10095 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10097 done; \
10098 echo "Doing dvi in gcc" ; \
10099 (cd $(HOST_SUBDIR)/gcc && \
10100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10102 "RANLIB=$${RANLIB}" \
10103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10104 dvi) \
10105 || exit 1
10107 @endif gcc
10109 .PHONY: maybe-pdf-gcc pdf-gcc
10110 maybe-pdf-gcc:
10111 @if gcc
10112 maybe-pdf-gcc: pdf-gcc
10114 pdf-gcc: \
10115 configure-gcc
10116 @[ -f ./gcc/Makefile ] || exit 0; \
10117 r=`${PWD_COMMAND}`; export r; \
10118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10119 $(HOST_EXPORTS) \
10120 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10122 done; \
10123 echo "Doing pdf in gcc" ; \
10124 (cd $(HOST_SUBDIR)/gcc && \
10125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10127 "RANLIB=$${RANLIB}" \
10128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10129 pdf) \
10130 || exit 1
10132 @endif gcc
10134 .PHONY: maybe-html-gcc html-gcc
10135 maybe-html-gcc:
10136 @if gcc
10137 maybe-html-gcc: html-gcc
10139 html-gcc: \
10140 configure-gcc
10141 @[ -f ./gcc/Makefile ] || exit 0; \
10142 r=`${PWD_COMMAND}`; export r; \
10143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10144 $(HOST_EXPORTS) \
10145 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10147 done; \
10148 echo "Doing html in gcc" ; \
10149 (cd $(HOST_SUBDIR)/gcc && \
10150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10152 "RANLIB=$${RANLIB}" \
10153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10154 html) \
10155 || exit 1
10157 @endif gcc
10159 .PHONY: maybe-TAGS-gcc TAGS-gcc
10160 maybe-TAGS-gcc:
10161 @if gcc
10162 maybe-TAGS-gcc: TAGS-gcc
10164 TAGS-gcc: \
10165 configure-gcc
10166 @[ -f ./gcc/Makefile ] || exit 0; \
10167 r=`${PWD_COMMAND}`; export r; \
10168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10169 $(HOST_EXPORTS) \
10170 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10172 done; \
10173 echo "Doing TAGS in gcc" ; \
10174 (cd $(HOST_SUBDIR)/gcc && \
10175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10177 "RANLIB=$${RANLIB}" \
10178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10179 TAGS) \
10180 || exit 1
10182 @endif gcc
10184 .PHONY: maybe-install-info-gcc install-info-gcc
10185 maybe-install-info-gcc:
10186 @if gcc
10187 maybe-install-info-gcc: install-info-gcc
10189 install-info-gcc: \
10190 configure-gcc \
10191 info-gcc
10192 @[ -f ./gcc/Makefile ] || exit 0; \
10193 r=`${PWD_COMMAND}`; export r; \
10194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195 $(HOST_EXPORTS) \
10196 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10198 done; \
10199 echo "Doing install-info in gcc" ; \
10200 (cd $(HOST_SUBDIR)/gcc && \
10201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10203 "RANLIB=$${RANLIB}" \
10204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10205 install-info) \
10206 || exit 1
10208 @endif gcc
10210 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10211 maybe-install-pdf-gcc:
10212 @if gcc
10213 maybe-install-pdf-gcc: install-pdf-gcc
10215 install-pdf-gcc: \
10216 configure-gcc \
10217 pdf-gcc
10218 @[ -f ./gcc/Makefile ] || exit 0; \
10219 r=`${PWD_COMMAND}`; export r; \
10220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10221 $(HOST_EXPORTS) \
10222 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10224 done; \
10225 echo "Doing install-pdf in gcc" ; \
10226 (cd $(HOST_SUBDIR)/gcc && \
10227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10229 "RANLIB=$${RANLIB}" \
10230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10231 install-pdf) \
10232 || exit 1
10234 @endif gcc
10236 .PHONY: maybe-install-html-gcc install-html-gcc
10237 maybe-install-html-gcc:
10238 @if gcc
10239 maybe-install-html-gcc: install-html-gcc
10241 install-html-gcc: \
10242 configure-gcc \
10243 html-gcc
10244 @[ -f ./gcc/Makefile ] || exit 0; \
10245 r=`${PWD_COMMAND}`; export r; \
10246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing install-html in gcc" ; \
10252 (cd $(HOST_SUBDIR)/gcc && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10257 install-html) \
10258 || exit 1
10260 @endif gcc
10262 .PHONY: maybe-installcheck-gcc installcheck-gcc
10263 maybe-installcheck-gcc:
10264 @if gcc
10265 maybe-installcheck-gcc: installcheck-gcc
10267 installcheck-gcc: \
10268 configure-gcc
10269 @[ -f ./gcc/Makefile ] || exit 0; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 $(HOST_EXPORTS) \
10273 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10275 done; \
10276 echo "Doing installcheck in gcc" ; \
10277 (cd $(HOST_SUBDIR)/gcc && \
10278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10280 "RANLIB=$${RANLIB}" \
10281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10282 installcheck) \
10283 || exit 1
10285 @endif gcc
10287 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10288 maybe-mostlyclean-gcc:
10289 @if gcc
10290 maybe-mostlyclean-gcc: mostlyclean-gcc
10292 mostlyclean-gcc:
10293 @[ -f ./gcc/Makefile ] || exit 0; \
10294 r=`${PWD_COMMAND}`; export r; \
10295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10296 $(HOST_EXPORTS) \
10297 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10299 done; \
10300 echo "Doing mostlyclean in gcc" ; \
10301 (cd $(HOST_SUBDIR)/gcc && \
10302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10304 "RANLIB=$${RANLIB}" \
10305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10306 mostlyclean) \
10307 || exit 1
10309 @endif gcc
10311 .PHONY: maybe-clean-gcc clean-gcc
10312 maybe-clean-gcc:
10313 @if gcc
10314 maybe-clean-gcc: clean-gcc
10316 clean-gcc:
10317 @[ -f ./gcc/Makefile ] || exit 0; \
10318 r=`${PWD_COMMAND}`; export r; \
10319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10320 $(HOST_EXPORTS) \
10321 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10323 done; \
10324 echo "Doing clean in gcc" ; \
10325 (cd $(HOST_SUBDIR)/gcc && \
10326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10328 "RANLIB=$${RANLIB}" \
10329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10330 clean) \
10331 || exit 1
10333 @endif gcc
10335 .PHONY: maybe-distclean-gcc distclean-gcc
10336 maybe-distclean-gcc:
10337 @if gcc
10338 maybe-distclean-gcc: distclean-gcc
10340 distclean-gcc:
10341 @[ -f ./gcc/Makefile ] || exit 0; \
10342 r=`${PWD_COMMAND}`; export r; \
10343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10344 $(HOST_EXPORTS) \
10345 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10347 done; \
10348 echo "Doing distclean in gcc" ; \
10349 (cd $(HOST_SUBDIR)/gcc && \
10350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10352 "RANLIB=$${RANLIB}" \
10353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10354 distclean) \
10355 || exit 1
10357 @endif gcc
10359 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10360 maybe-maintainer-clean-gcc:
10361 @if gcc
10362 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10364 maintainer-clean-gcc:
10365 @[ -f ./gcc/Makefile ] || exit 0; \
10366 r=`${PWD_COMMAND}`; export r; \
10367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10368 $(HOST_EXPORTS) \
10369 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10371 done; \
10372 echo "Doing maintainer-clean in gcc" ; \
10373 (cd $(HOST_SUBDIR)/gcc && \
10374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10376 "RANLIB=$${RANLIB}" \
10377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10378 maintainer-clean) \
10379 || exit 1
10381 @endif gcc
10385 .PHONY: configure-gmp maybe-configure-gmp
10386 maybe-configure-gmp:
10387 @if gcc-bootstrap
10388 configure-gmp: stage_current
10389 @endif gcc-bootstrap
10390 @if gmp
10391 maybe-configure-gmp: configure-gmp
10392 configure-gmp:
10393 @r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10397 $(HOST_EXPORTS) \
10398 echo Configuring in $(HOST_SUBDIR)/gmp; \
10399 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10400 case $(srcdir) in \
10401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10402 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10404 esac; \
10405 srcdiroption="--srcdir=$${topdir}/gmp"; \
10406 libsrcdir="$$s/gmp"; \
10407 $(SHELL) $${libsrcdir}/configure \
10408 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10409 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10410 || exit 1
10411 @endif gmp
10415 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10416 maybe-configure-stage1-gmp:
10417 @if gmp-bootstrap
10418 maybe-configure-stage1-gmp: configure-stage1-gmp
10419 configure-stage1-gmp:
10420 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10421 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10422 @r=`${PWD_COMMAND}`; export r; \
10423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10424 TFLAGS="$(STAGE1_TFLAGS)"; \
10425 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10426 $(HOST_EXPORTS) \
10427 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10428 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10429 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10430 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10432 cd $(HOST_SUBDIR)/gmp || exit 1; \
10433 case $(srcdir) in \
10434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10435 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10437 esac; \
10438 srcdiroption="--srcdir=$${topdir}/gmp"; \
10439 libsrcdir="$$s/gmp"; \
10440 $(SHELL) $${libsrcdir}/configure \
10441 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10442 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10443 $(STAGE1_CONFIGURE_FLAGS) \
10444 --disable-shared
10445 @endif gmp-bootstrap
10447 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10448 maybe-configure-stage2-gmp:
10449 @if gmp-bootstrap
10450 maybe-configure-stage2-gmp: configure-stage2-gmp
10451 configure-stage2-gmp:
10452 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10454 @r=`${PWD_COMMAND}`; export r; \
10455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10456 TFLAGS="$(STAGE2_TFLAGS)"; \
10457 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10458 $(HOST_EXPORTS) \
10459 $(POSTSTAGE1_HOST_EXPORTS) \
10460 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10461 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10462 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10463 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10465 cd $(HOST_SUBDIR)/gmp || exit 1; \
10466 case $(srcdir) in \
10467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10468 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10470 esac; \
10471 srcdiroption="--srcdir=$${topdir}/gmp"; \
10472 libsrcdir="$$s/gmp"; \
10473 $(SHELL) $${libsrcdir}/configure \
10474 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10475 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10476 --with-build-libsubdir=$(HOST_SUBDIR) \
10477 $(STAGE2_CONFIGURE_FLAGS) \
10478 --disable-shared
10479 @endif gmp-bootstrap
10481 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10482 maybe-configure-stage3-gmp:
10483 @if gmp-bootstrap
10484 maybe-configure-stage3-gmp: configure-stage3-gmp
10485 configure-stage3-gmp:
10486 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10488 @r=`${PWD_COMMAND}`; export r; \
10489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 TFLAGS="$(STAGE3_TFLAGS)"; \
10491 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10492 $(HOST_EXPORTS) \
10493 $(POSTSTAGE1_HOST_EXPORTS) \
10494 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10495 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10496 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10497 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10499 cd $(HOST_SUBDIR)/gmp || exit 1; \
10500 case $(srcdir) in \
10501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10502 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10504 esac; \
10505 srcdiroption="--srcdir=$${topdir}/gmp"; \
10506 libsrcdir="$$s/gmp"; \
10507 $(SHELL) $${libsrcdir}/configure \
10508 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10509 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10510 --with-build-libsubdir=$(HOST_SUBDIR) \
10511 $(STAGE3_CONFIGURE_FLAGS) \
10512 --disable-shared
10513 @endif gmp-bootstrap
10515 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10516 maybe-configure-stage4-gmp:
10517 @if gmp-bootstrap
10518 maybe-configure-stage4-gmp: configure-stage4-gmp
10519 configure-stage4-gmp:
10520 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10521 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10522 @r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 TFLAGS="$(STAGE4_TFLAGS)"; \
10525 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10526 $(HOST_EXPORTS) \
10527 $(POSTSTAGE1_HOST_EXPORTS) \
10528 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10529 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10530 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10531 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10533 cd $(HOST_SUBDIR)/gmp || exit 1; \
10534 case $(srcdir) in \
10535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10536 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10538 esac; \
10539 srcdiroption="--srcdir=$${topdir}/gmp"; \
10540 libsrcdir="$$s/gmp"; \
10541 $(SHELL) $${libsrcdir}/configure \
10542 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10543 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10544 --with-build-libsubdir=$(HOST_SUBDIR) \
10545 $(STAGE4_CONFIGURE_FLAGS) \
10546 --disable-shared
10547 @endif gmp-bootstrap
10549 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10550 maybe-configure-stageprofile-gmp:
10551 @if gmp-bootstrap
10552 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10553 configure-stageprofile-gmp:
10554 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10556 @r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10558 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10559 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10560 $(HOST_EXPORTS) \
10561 $(POSTSTAGE1_HOST_EXPORTS) \
10562 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10563 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10564 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10565 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10567 cd $(HOST_SUBDIR)/gmp || exit 1; \
10568 case $(srcdir) in \
10569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10570 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10572 esac; \
10573 srcdiroption="--srcdir=$${topdir}/gmp"; \
10574 libsrcdir="$$s/gmp"; \
10575 $(SHELL) $${libsrcdir}/configure \
10576 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10577 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10578 --with-build-libsubdir=$(HOST_SUBDIR) \
10579 $(STAGEprofile_CONFIGURE_FLAGS) \
10580 --disable-shared
10581 @endif gmp-bootstrap
10583 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10584 maybe-configure-stagefeedback-gmp:
10585 @if gmp-bootstrap
10586 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10587 configure-stagefeedback-gmp:
10588 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10589 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10590 @r=`${PWD_COMMAND}`; export r; \
10591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10592 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10593 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10594 $(HOST_EXPORTS) \
10595 $(POSTSTAGE1_HOST_EXPORTS) \
10596 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10597 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10598 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10599 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10601 cd $(HOST_SUBDIR)/gmp || exit 1; \
10602 case $(srcdir) in \
10603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10604 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10606 esac; \
10607 srcdiroption="--srcdir=$${topdir}/gmp"; \
10608 libsrcdir="$$s/gmp"; \
10609 $(SHELL) $${libsrcdir}/configure \
10610 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10611 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10612 --with-build-libsubdir=$(HOST_SUBDIR) \
10613 $(STAGEfeedback_CONFIGURE_FLAGS) \
10614 --disable-shared
10615 @endif gmp-bootstrap
10621 .PHONY: all-gmp maybe-all-gmp
10622 maybe-all-gmp:
10623 @if gcc-bootstrap
10624 all-gmp: stage_current
10625 @endif gcc-bootstrap
10626 @if gmp
10627 TARGET-gmp=all
10628 maybe-all-gmp: all-gmp
10629 all-gmp: configure-gmp
10630 @r=`${PWD_COMMAND}`; export r; \
10631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10632 $(HOST_EXPORTS) \
10633 (cd $(HOST_SUBDIR)/gmp && \
10634 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10635 $(TARGET-gmp))
10636 @endif gmp
10640 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10641 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10642 maybe-all-stage1-gmp:
10643 maybe-clean-stage1-gmp:
10644 @if gmp-bootstrap
10645 maybe-all-stage1-gmp: all-stage1-gmp
10646 all-stage1: all-stage1-gmp
10647 TARGET-stage1-gmp = $(TARGET-gmp)
10648 all-stage1-gmp: configure-stage1-gmp
10649 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10650 @r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10652 TFLAGS="$(STAGE1_TFLAGS)"; \
10653 $(HOST_EXPORTS) \
10654 cd $(HOST_SUBDIR)/gmp && \
10655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10656 CFLAGS="$(STAGE1_CFLAGS)" \
10657 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10658 LIBCFLAGS="$(LIBCFLAGS)" \
10659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10662 $(EXTRA_HOST_FLAGS) \
10663 $(STAGE1_FLAGS_TO_PASS) \
10664 TFLAGS="$(STAGE1_TFLAGS)" \
10665 $(TARGET-stage1-gmp)
10667 maybe-clean-stage1-gmp: clean-stage1-gmp
10668 clean-stage1: clean-stage1-gmp
10669 clean-stage1-gmp:
10670 @if [ $(current_stage) = stage1 ]; then \
10671 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10672 else \
10673 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10674 $(MAKE) stage1-start; \
10675 fi; \
10676 cd $(HOST_SUBDIR)/gmp && \
10677 $(MAKE) $(EXTRA_HOST_FLAGS) \
10678 $(STAGE1_FLAGS_TO_PASS) clean
10679 @endif gmp-bootstrap
10682 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10683 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10684 maybe-all-stage2-gmp:
10685 maybe-clean-stage2-gmp:
10686 @if gmp-bootstrap
10687 maybe-all-stage2-gmp: all-stage2-gmp
10688 all-stage2: all-stage2-gmp
10689 TARGET-stage2-gmp = $(TARGET-gmp)
10690 all-stage2-gmp: configure-stage2-gmp
10691 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10692 @r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 TFLAGS="$(STAGE2_TFLAGS)"; \
10695 $(HOST_EXPORTS) \
10696 $(POSTSTAGE1_HOST_EXPORTS) \
10697 cd $(HOST_SUBDIR)/gmp && \
10698 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10699 CFLAGS="$(STAGE2_CFLAGS)" \
10700 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10701 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10702 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10703 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10704 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10705 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10706 TFLAGS="$(STAGE2_TFLAGS)" \
10707 $(TARGET-stage2-gmp)
10709 maybe-clean-stage2-gmp: clean-stage2-gmp
10710 clean-stage2: clean-stage2-gmp
10711 clean-stage2-gmp:
10712 @if [ $(current_stage) = stage2 ]; then \
10713 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10714 else \
10715 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10716 $(MAKE) stage2-start; \
10717 fi; \
10718 cd $(HOST_SUBDIR)/gmp && \
10719 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10720 @endif gmp-bootstrap
10723 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10724 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10725 maybe-all-stage3-gmp:
10726 maybe-clean-stage3-gmp:
10727 @if gmp-bootstrap
10728 maybe-all-stage3-gmp: all-stage3-gmp
10729 all-stage3: all-stage3-gmp
10730 TARGET-stage3-gmp = $(TARGET-gmp)
10731 all-stage3-gmp: configure-stage3-gmp
10732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10733 @r=`${PWD_COMMAND}`; export r; \
10734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10735 TFLAGS="$(STAGE3_TFLAGS)"; \
10736 $(HOST_EXPORTS) \
10737 $(POSTSTAGE1_HOST_EXPORTS) \
10738 cd $(HOST_SUBDIR)/gmp && \
10739 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10740 CFLAGS="$(STAGE3_CFLAGS)" \
10741 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10742 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10746 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10747 TFLAGS="$(STAGE3_TFLAGS)" \
10748 $(TARGET-stage3-gmp)
10750 maybe-clean-stage3-gmp: clean-stage3-gmp
10751 clean-stage3: clean-stage3-gmp
10752 clean-stage3-gmp:
10753 @if [ $(current_stage) = stage3 ]; then \
10754 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10755 else \
10756 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10757 $(MAKE) stage3-start; \
10758 fi; \
10759 cd $(HOST_SUBDIR)/gmp && \
10760 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10761 @endif gmp-bootstrap
10764 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10765 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10766 maybe-all-stage4-gmp:
10767 maybe-clean-stage4-gmp:
10768 @if gmp-bootstrap
10769 maybe-all-stage4-gmp: all-stage4-gmp
10770 all-stage4: all-stage4-gmp
10771 TARGET-stage4-gmp = $(TARGET-gmp)
10772 all-stage4-gmp: configure-stage4-gmp
10773 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10774 @r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10776 TFLAGS="$(STAGE4_TFLAGS)"; \
10777 $(HOST_EXPORTS) \
10778 $(POSTSTAGE1_HOST_EXPORTS) \
10779 cd $(HOST_SUBDIR)/gmp && \
10780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10781 CFLAGS="$(STAGE4_CFLAGS)" \
10782 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10783 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10788 TFLAGS="$(STAGE4_TFLAGS)" \
10789 $(TARGET-stage4-gmp)
10791 maybe-clean-stage4-gmp: clean-stage4-gmp
10792 clean-stage4: clean-stage4-gmp
10793 clean-stage4-gmp:
10794 @if [ $(current_stage) = stage4 ]; then \
10795 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10796 else \
10797 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10798 $(MAKE) stage4-start; \
10799 fi; \
10800 cd $(HOST_SUBDIR)/gmp && \
10801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10802 @endif gmp-bootstrap
10805 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10806 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10807 maybe-all-stageprofile-gmp:
10808 maybe-clean-stageprofile-gmp:
10809 @if gmp-bootstrap
10810 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10811 all-stageprofile: all-stageprofile-gmp
10812 TARGET-stageprofile-gmp = $(TARGET-gmp)
10813 all-stageprofile-gmp: configure-stageprofile-gmp
10814 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10815 @r=`${PWD_COMMAND}`; export r; \
10816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10817 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10818 $(HOST_EXPORTS) \
10819 $(POSTSTAGE1_HOST_EXPORTS) \
10820 cd $(HOST_SUBDIR)/gmp && \
10821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10822 CFLAGS="$(STAGEprofile_CFLAGS)" \
10823 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10824 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10825 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10826 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10827 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10828 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10829 TFLAGS="$(STAGEprofile_TFLAGS)" \
10830 $(TARGET-stageprofile-gmp)
10832 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10833 clean-stageprofile: clean-stageprofile-gmp
10834 clean-stageprofile-gmp:
10835 @if [ $(current_stage) = stageprofile ]; then \
10836 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10837 else \
10838 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10839 $(MAKE) stageprofile-start; \
10840 fi; \
10841 cd $(HOST_SUBDIR)/gmp && \
10842 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10843 @endif gmp-bootstrap
10846 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10847 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10848 maybe-all-stagefeedback-gmp:
10849 maybe-clean-stagefeedback-gmp:
10850 @if gmp-bootstrap
10851 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10852 all-stagefeedback: all-stagefeedback-gmp
10853 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10854 all-stagefeedback-gmp: configure-stagefeedback-gmp
10855 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10856 @r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10859 $(HOST_EXPORTS) \
10860 $(POSTSTAGE1_HOST_EXPORTS) \
10861 cd $(HOST_SUBDIR)/gmp && \
10862 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10863 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10864 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10865 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10866 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10867 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10868 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10869 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10870 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10871 $(TARGET-stagefeedback-gmp)
10873 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10874 clean-stagefeedback: clean-stagefeedback-gmp
10875 clean-stagefeedback-gmp:
10876 @if [ $(current_stage) = stagefeedback ]; then \
10877 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10878 else \
10879 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10880 $(MAKE) stagefeedback-start; \
10881 fi; \
10882 cd $(HOST_SUBDIR)/gmp && \
10883 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10884 @endif gmp-bootstrap
10890 .PHONY: check-gmp maybe-check-gmp
10891 maybe-check-gmp:
10892 @if gmp
10893 maybe-check-gmp: check-gmp
10895 check-gmp:
10896 @: $(MAKE); $(unstage)
10897 @r=`${PWD_COMMAND}`; export r; \
10898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10899 $(HOST_EXPORTS) \
10900 (cd $(HOST_SUBDIR)/gmp && \
10901 $(MAKE) $(FLAGS_TO_PASS) check)
10903 @endif gmp
10905 .PHONY: install-gmp maybe-install-gmp
10906 maybe-install-gmp:
10907 @if gmp
10908 maybe-install-gmp: install-gmp
10910 install-gmp:
10912 @endif gmp
10914 .PHONY: install-strip-gmp maybe-install-strip-gmp
10915 maybe-install-strip-gmp:
10916 @if gmp
10917 maybe-install-strip-gmp: install-strip-gmp
10919 install-strip-gmp:
10921 @endif gmp
10923 # Other targets (info, dvi, pdf, etc.)
10925 .PHONY: maybe-info-gmp info-gmp
10926 maybe-info-gmp:
10927 @if gmp
10928 maybe-info-gmp: info-gmp
10930 info-gmp: \
10931 configure-gmp
10932 @[ -f ./gmp/Makefile ] || exit 0; \
10933 r=`${PWD_COMMAND}`; export r; \
10934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10935 $(HOST_EXPORTS) \
10936 for flag in $(EXTRA_HOST_FLAGS) ; do \
10937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10938 done; \
10939 echo "Doing info in gmp" ; \
10940 (cd $(HOST_SUBDIR)/gmp && \
10941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10943 "RANLIB=$${RANLIB}" \
10944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10945 info) \
10946 || exit 1
10948 @endif gmp
10950 .PHONY: maybe-dvi-gmp dvi-gmp
10951 maybe-dvi-gmp:
10952 @if gmp
10953 maybe-dvi-gmp: dvi-gmp
10955 dvi-gmp: \
10956 configure-gmp
10957 @[ -f ./gmp/Makefile ] || exit 0; \
10958 r=`${PWD_COMMAND}`; export r; \
10959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10960 $(HOST_EXPORTS) \
10961 for flag in $(EXTRA_HOST_FLAGS) ; do \
10962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10963 done; \
10964 echo "Doing dvi in gmp" ; \
10965 (cd $(HOST_SUBDIR)/gmp && \
10966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10968 "RANLIB=$${RANLIB}" \
10969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10970 dvi) \
10971 || exit 1
10973 @endif gmp
10975 .PHONY: maybe-pdf-gmp pdf-gmp
10976 maybe-pdf-gmp:
10977 @if gmp
10978 maybe-pdf-gmp: pdf-gmp
10980 pdf-gmp: \
10981 configure-gmp
10982 @[ -f ./gmp/Makefile ] || exit 0; \
10983 r=`${PWD_COMMAND}`; export r; \
10984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10985 $(HOST_EXPORTS) \
10986 for flag in $(EXTRA_HOST_FLAGS) ; do \
10987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10988 done; \
10989 echo "Doing pdf in gmp" ; \
10990 (cd $(HOST_SUBDIR)/gmp && \
10991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10993 "RANLIB=$${RANLIB}" \
10994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10995 pdf) \
10996 || exit 1
10998 @endif gmp
11000 .PHONY: maybe-html-gmp html-gmp
11001 maybe-html-gmp:
11002 @if gmp
11003 maybe-html-gmp: html-gmp
11005 html-gmp: \
11006 configure-gmp
11007 @[ -f ./gmp/Makefile ] || exit 0; \
11008 r=`${PWD_COMMAND}`; export r; \
11009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11010 $(HOST_EXPORTS) \
11011 for flag in $(EXTRA_HOST_FLAGS) ; do \
11012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11013 done; \
11014 echo "Doing html in gmp" ; \
11015 (cd $(HOST_SUBDIR)/gmp && \
11016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11018 "RANLIB=$${RANLIB}" \
11019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11020 html) \
11021 || exit 1
11023 @endif gmp
11025 .PHONY: maybe-TAGS-gmp TAGS-gmp
11026 maybe-TAGS-gmp:
11027 @if gmp
11028 maybe-TAGS-gmp: TAGS-gmp
11030 TAGS-gmp: \
11031 configure-gmp
11032 @[ -f ./gmp/Makefile ] || exit 0; \
11033 r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(HOST_EXPORTS) \
11036 for flag in $(EXTRA_HOST_FLAGS) ; do \
11037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11038 done; \
11039 echo "Doing TAGS in gmp" ; \
11040 (cd $(HOST_SUBDIR)/gmp && \
11041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11043 "RANLIB=$${RANLIB}" \
11044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11045 TAGS) \
11046 || exit 1
11048 @endif gmp
11050 .PHONY: maybe-install-info-gmp install-info-gmp
11051 maybe-install-info-gmp:
11052 @if gmp
11053 maybe-install-info-gmp: install-info-gmp
11055 install-info-gmp: \
11056 configure-gmp \
11057 info-gmp
11058 @[ -f ./gmp/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 $(HOST_EXPORTS) \
11062 for flag in $(EXTRA_HOST_FLAGS) ; do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11064 done; \
11065 echo "Doing install-info in gmp" ; \
11066 (cd $(HOST_SUBDIR)/gmp && \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11071 install-info) \
11072 || exit 1
11074 @endif gmp
11076 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11077 maybe-install-pdf-gmp:
11078 @if gmp
11079 maybe-install-pdf-gmp: install-pdf-gmp
11081 install-pdf-gmp: \
11082 configure-gmp \
11083 pdf-gmp
11084 @[ -f ./gmp/Makefile ] || exit 0; \
11085 r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 $(HOST_EXPORTS) \
11088 for flag in $(EXTRA_HOST_FLAGS) ; do \
11089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11090 done; \
11091 echo "Doing install-pdf in gmp" ; \
11092 (cd $(HOST_SUBDIR)/gmp && \
11093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11095 "RANLIB=$${RANLIB}" \
11096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11097 install-pdf) \
11098 || exit 1
11100 @endif gmp
11102 .PHONY: maybe-install-html-gmp install-html-gmp
11103 maybe-install-html-gmp:
11104 @if gmp
11105 maybe-install-html-gmp: install-html-gmp
11107 install-html-gmp: \
11108 configure-gmp \
11109 html-gmp
11110 @[ -f ./gmp/Makefile ] || exit 0; \
11111 r=`${PWD_COMMAND}`; export r; \
11112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11113 $(HOST_EXPORTS) \
11114 for flag in $(EXTRA_HOST_FLAGS) ; do \
11115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11116 done; \
11117 echo "Doing install-html in gmp" ; \
11118 (cd $(HOST_SUBDIR)/gmp && \
11119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11121 "RANLIB=$${RANLIB}" \
11122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11123 install-html) \
11124 || exit 1
11126 @endif gmp
11128 .PHONY: maybe-installcheck-gmp installcheck-gmp
11129 maybe-installcheck-gmp:
11130 @if gmp
11131 maybe-installcheck-gmp: installcheck-gmp
11133 installcheck-gmp: \
11134 configure-gmp
11135 @[ -f ./gmp/Makefile ] || exit 0; \
11136 r=`${PWD_COMMAND}`; export r; \
11137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11138 $(HOST_EXPORTS) \
11139 for flag in $(EXTRA_HOST_FLAGS) ; do \
11140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11141 done; \
11142 echo "Doing installcheck in gmp" ; \
11143 (cd $(HOST_SUBDIR)/gmp && \
11144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11146 "RANLIB=$${RANLIB}" \
11147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11148 installcheck) \
11149 || exit 1
11151 @endif gmp
11153 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11154 maybe-mostlyclean-gmp:
11155 @if gmp
11156 maybe-mostlyclean-gmp: mostlyclean-gmp
11158 mostlyclean-gmp:
11159 @[ -f ./gmp/Makefile ] || exit 0; \
11160 r=`${PWD_COMMAND}`; export r; \
11161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11162 $(HOST_EXPORTS) \
11163 for flag in $(EXTRA_HOST_FLAGS) ; do \
11164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11165 done; \
11166 echo "Doing mostlyclean in gmp" ; \
11167 (cd $(HOST_SUBDIR)/gmp && \
11168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11170 "RANLIB=$${RANLIB}" \
11171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11172 mostlyclean) \
11173 || exit 1
11175 @endif gmp
11177 .PHONY: maybe-clean-gmp clean-gmp
11178 maybe-clean-gmp:
11179 @if gmp
11180 maybe-clean-gmp: clean-gmp
11182 clean-gmp:
11183 @[ -f ./gmp/Makefile ] || exit 0; \
11184 r=`${PWD_COMMAND}`; export r; \
11185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11186 $(HOST_EXPORTS) \
11187 for flag in $(EXTRA_HOST_FLAGS) ; do \
11188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11189 done; \
11190 echo "Doing clean in gmp" ; \
11191 (cd $(HOST_SUBDIR)/gmp && \
11192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11194 "RANLIB=$${RANLIB}" \
11195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11196 clean) \
11197 || exit 1
11199 @endif gmp
11201 .PHONY: maybe-distclean-gmp distclean-gmp
11202 maybe-distclean-gmp:
11203 @if gmp
11204 maybe-distclean-gmp: distclean-gmp
11206 distclean-gmp:
11207 @[ -f ./gmp/Makefile ] || exit 0; \
11208 r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 $(HOST_EXPORTS) \
11211 for flag in $(EXTRA_HOST_FLAGS) ; do \
11212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11213 done; \
11214 echo "Doing distclean in gmp" ; \
11215 (cd $(HOST_SUBDIR)/gmp && \
11216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11218 "RANLIB=$${RANLIB}" \
11219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11220 distclean) \
11221 || exit 1
11223 @endif gmp
11225 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11226 maybe-maintainer-clean-gmp:
11227 @if gmp
11228 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11230 maintainer-clean-gmp:
11231 @[ -f ./gmp/Makefile ] || exit 0; \
11232 r=`${PWD_COMMAND}`; export r; \
11233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11234 $(HOST_EXPORTS) \
11235 for flag in $(EXTRA_HOST_FLAGS) ; do \
11236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11237 done; \
11238 echo "Doing maintainer-clean in gmp" ; \
11239 (cd $(HOST_SUBDIR)/gmp && \
11240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11242 "RANLIB=$${RANLIB}" \
11243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11244 maintainer-clean) \
11245 || exit 1
11247 @endif gmp
11251 .PHONY: configure-mpfr maybe-configure-mpfr
11252 maybe-configure-mpfr:
11253 @if gcc-bootstrap
11254 configure-mpfr: stage_current
11255 @endif gcc-bootstrap
11256 @if mpfr
11257 maybe-configure-mpfr: configure-mpfr
11258 configure-mpfr:
11259 @r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11263 $(HOST_EXPORTS) \
11264 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11265 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11266 case $(srcdir) in \
11267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11268 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11270 esac; \
11271 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11272 libsrcdir="$$s/mpfr"; \
11273 $(SHELL) $${libsrcdir}/configure \
11274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11275 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11276 || exit 1
11277 @endif mpfr
11281 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11282 maybe-configure-stage1-mpfr:
11283 @if mpfr-bootstrap
11284 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11285 configure-stage1-mpfr:
11286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11288 @r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290 TFLAGS="$(STAGE1_TFLAGS)"; \
11291 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11292 $(HOST_EXPORTS) \
11293 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11294 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11295 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11296 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11298 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11299 case $(srcdir) in \
11300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11301 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11303 esac; \
11304 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11305 libsrcdir="$$s/mpfr"; \
11306 $(SHELL) $${libsrcdir}/configure \
11307 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11308 --target=${target_alias} $${srcdiroption} \
11309 $(STAGE1_CONFIGURE_FLAGS) \
11310 --disable-shared @extra_mpfr_configure_flags@
11311 @endif mpfr-bootstrap
11313 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11314 maybe-configure-stage2-mpfr:
11315 @if mpfr-bootstrap
11316 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11317 configure-stage2-mpfr:
11318 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11319 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11320 @r=`${PWD_COMMAND}`; export r; \
11321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11322 TFLAGS="$(STAGE2_TFLAGS)"; \
11323 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11324 $(HOST_EXPORTS) \
11325 $(POSTSTAGE1_HOST_EXPORTS) \
11326 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11327 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11328 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11329 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11331 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11332 case $(srcdir) in \
11333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11334 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11336 esac; \
11337 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11338 libsrcdir="$$s/mpfr"; \
11339 $(SHELL) $${libsrcdir}/configure \
11340 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11341 --target=${target_alias} $${srcdiroption} \
11342 --with-build-libsubdir=$(HOST_SUBDIR) \
11343 $(STAGE2_CONFIGURE_FLAGS) \
11344 --disable-shared @extra_mpfr_configure_flags@
11345 @endif mpfr-bootstrap
11347 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11348 maybe-configure-stage3-mpfr:
11349 @if mpfr-bootstrap
11350 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11351 configure-stage3-mpfr:
11352 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11354 @r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 TFLAGS="$(STAGE3_TFLAGS)"; \
11357 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11358 $(HOST_EXPORTS) \
11359 $(POSTSTAGE1_HOST_EXPORTS) \
11360 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11361 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11362 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11363 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11365 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11366 case $(srcdir) in \
11367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11368 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11370 esac; \
11371 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11372 libsrcdir="$$s/mpfr"; \
11373 $(SHELL) $${libsrcdir}/configure \
11374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11375 --target=${target_alias} $${srcdiroption} \
11376 --with-build-libsubdir=$(HOST_SUBDIR) \
11377 $(STAGE3_CONFIGURE_FLAGS) \
11378 --disable-shared @extra_mpfr_configure_flags@
11379 @endif mpfr-bootstrap
11381 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11382 maybe-configure-stage4-mpfr:
11383 @if mpfr-bootstrap
11384 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11385 configure-stage4-mpfr:
11386 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11387 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11388 @r=`${PWD_COMMAND}`; export r; \
11389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11390 TFLAGS="$(STAGE4_TFLAGS)"; \
11391 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11392 $(HOST_EXPORTS) \
11393 $(POSTSTAGE1_HOST_EXPORTS) \
11394 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11395 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11396 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11397 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11399 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11400 case $(srcdir) in \
11401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11402 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11404 esac; \
11405 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11406 libsrcdir="$$s/mpfr"; \
11407 $(SHELL) $${libsrcdir}/configure \
11408 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11409 --target=${target_alias} $${srcdiroption} \
11410 --with-build-libsubdir=$(HOST_SUBDIR) \
11411 $(STAGE4_CONFIGURE_FLAGS) \
11412 --disable-shared @extra_mpfr_configure_flags@
11413 @endif mpfr-bootstrap
11415 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11416 maybe-configure-stageprofile-mpfr:
11417 @if mpfr-bootstrap
11418 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11419 configure-stageprofile-mpfr:
11420 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11421 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11422 @r=`${PWD_COMMAND}`; export r; \
11423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11424 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11425 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11426 $(HOST_EXPORTS) \
11427 $(POSTSTAGE1_HOST_EXPORTS) \
11428 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11429 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11430 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11431 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11433 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11434 case $(srcdir) in \
11435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11436 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11438 esac; \
11439 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11440 libsrcdir="$$s/mpfr"; \
11441 $(SHELL) $${libsrcdir}/configure \
11442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11443 --target=${target_alias} $${srcdiroption} \
11444 --with-build-libsubdir=$(HOST_SUBDIR) \
11445 $(STAGEprofile_CONFIGURE_FLAGS) \
11446 --disable-shared @extra_mpfr_configure_flags@
11447 @endif mpfr-bootstrap
11449 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11450 maybe-configure-stagefeedback-mpfr:
11451 @if mpfr-bootstrap
11452 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11453 configure-stagefeedback-mpfr:
11454 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11456 @r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11459 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11460 $(HOST_EXPORTS) \
11461 $(POSTSTAGE1_HOST_EXPORTS) \
11462 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11463 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11464 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11465 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11467 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11468 case $(srcdir) in \
11469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11470 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11472 esac; \
11473 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11474 libsrcdir="$$s/mpfr"; \
11475 $(SHELL) $${libsrcdir}/configure \
11476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11477 --target=${target_alias} $${srcdiroption} \
11478 --with-build-libsubdir=$(HOST_SUBDIR) \
11479 $(STAGEfeedback_CONFIGURE_FLAGS) \
11480 --disable-shared @extra_mpfr_configure_flags@
11481 @endif mpfr-bootstrap
11487 .PHONY: all-mpfr maybe-all-mpfr
11488 maybe-all-mpfr:
11489 @if gcc-bootstrap
11490 all-mpfr: stage_current
11491 @endif gcc-bootstrap
11492 @if mpfr
11493 TARGET-mpfr=all
11494 maybe-all-mpfr: all-mpfr
11495 all-mpfr: configure-mpfr
11496 @r=`${PWD_COMMAND}`; export r; \
11497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11498 $(HOST_EXPORTS) \
11499 (cd $(HOST_SUBDIR)/mpfr && \
11500 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11501 $(TARGET-mpfr))
11502 @endif mpfr
11506 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11507 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11508 maybe-all-stage1-mpfr:
11509 maybe-clean-stage1-mpfr:
11510 @if mpfr-bootstrap
11511 maybe-all-stage1-mpfr: all-stage1-mpfr
11512 all-stage1: all-stage1-mpfr
11513 TARGET-stage1-mpfr = $(TARGET-mpfr)
11514 all-stage1-mpfr: configure-stage1-mpfr
11515 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11516 @r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 TFLAGS="$(STAGE1_TFLAGS)"; \
11519 $(HOST_EXPORTS) \
11520 cd $(HOST_SUBDIR)/mpfr && \
11521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11522 CFLAGS="$(STAGE1_CFLAGS)" \
11523 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11524 LIBCFLAGS="$(LIBCFLAGS)" \
11525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11528 $(EXTRA_HOST_FLAGS) \
11529 $(STAGE1_FLAGS_TO_PASS) \
11530 TFLAGS="$(STAGE1_TFLAGS)" \
11531 $(TARGET-stage1-mpfr)
11533 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11534 clean-stage1: clean-stage1-mpfr
11535 clean-stage1-mpfr:
11536 @if [ $(current_stage) = stage1 ]; then \
11537 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11538 else \
11539 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11540 $(MAKE) stage1-start; \
11541 fi; \
11542 cd $(HOST_SUBDIR)/mpfr && \
11543 $(MAKE) $(EXTRA_HOST_FLAGS) \
11544 $(STAGE1_FLAGS_TO_PASS) clean
11545 @endif mpfr-bootstrap
11548 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11549 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11550 maybe-all-stage2-mpfr:
11551 maybe-clean-stage2-mpfr:
11552 @if mpfr-bootstrap
11553 maybe-all-stage2-mpfr: all-stage2-mpfr
11554 all-stage2: all-stage2-mpfr
11555 TARGET-stage2-mpfr = $(TARGET-mpfr)
11556 all-stage2-mpfr: configure-stage2-mpfr
11557 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11558 @r=`${PWD_COMMAND}`; export r; \
11559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 TFLAGS="$(STAGE2_TFLAGS)"; \
11561 $(HOST_EXPORTS) \
11562 $(POSTSTAGE1_HOST_EXPORTS) \
11563 cd $(HOST_SUBDIR)/mpfr && \
11564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11565 CFLAGS="$(STAGE2_CFLAGS)" \
11566 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11567 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11572 TFLAGS="$(STAGE2_TFLAGS)" \
11573 $(TARGET-stage2-mpfr)
11575 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11576 clean-stage2: clean-stage2-mpfr
11577 clean-stage2-mpfr:
11578 @if [ $(current_stage) = stage2 ]; then \
11579 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11580 else \
11581 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11582 $(MAKE) stage2-start; \
11583 fi; \
11584 cd $(HOST_SUBDIR)/mpfr && \
11585 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11586 @endif mpfr-bootstrap
11589 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11590 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11591 maybe-all-stage3-mpfr:
11592 maybe-clean-stage3-mpfr:
11593 @if mpfr-bootstrap
11594 maybe-all-stage3-mpfr: all-stage3-mpfr
11595 all-stage3: all-stage3-mpfr
11596 TARGET-stage3-mpfr = $(TARGET-mpfr)
11597 all-stage3-mpfr: configure-stage3-mpfr
11598 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11599 @r=`${PWD_COMMAND}`; export r; \
11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11601 TFLAGS="$(STAGE3_TFLAGS)"; \
11602 $(HOST_EXPORTS) \
11603 $(POSTSTAGE1_HOST_EXPORTS) \
11604 cd $(HOST_SUBDIR)/mpfr && \
11605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11606 CFLAGS="$(STAGE3_CFLAGS)" \
11607 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11608 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11609 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11610 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11611 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11612 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11613 TFLAGS="$(STAGE3_TFLAGS)" \
11614 $(TARGET-stage3-mpfr)
11616 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11617 clean-stage3: clean-stage3-mpfr
11618 clean-stage3-mpfr:
11619 @if [ $(current_stage) = stage3 ]; then \
11620 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11621 else \
11622 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11623 $(MAKE) stage3-start; \
11624 fi; \
11625 cd $(HOST_SUBDIR)/mpfr && \
11626 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) 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) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11668 @endif mpfr-bootstrap
11671 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11672 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11673 maybe-all-stageprofile-mpfr:
11674 maybe-clean-stageprofile-mpfr:
11675 @if mpfr-bootstrap
11676 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11677 all-stageprofile: all-stageprofile-mpfr
11678 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11679 all-stageprofile-mpfr: configure-stageprofile-mpfr
11680 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11681 @r=`${PWD_COMMAND}`; export r; \
11682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11683 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11684 $(HOST_EXPORTS) \
11685 $(POSTSTAGE1_HOST_EXPORTS) \
11686 cd $(HOST_SUBDIR)/mpfr && \
11687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11688 CFLAGS="$(STAGEprofile_CFLAGS)" \
11689 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11690 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11691 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11692 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11693 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11694 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11695 TFLAGS="$(STAGEprofile_TFLAGS)" \
11696 $(TARGET-stageprofile-mpfr)
11698 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11699 clean-stageprofile: clean-stageprofile-mpfr
11700 clean-stageprofile-mpfr:
11701 @if [ $(current_stage) = stageprofile ]; then \
11702 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11703 else \
11704 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11705 $(MAKE) stageprofile-start; \
11706 fi; \
11707 cd $(HOST_SUBDIR)/mpfr && \
11708 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11709 @endif mpfr-bootstrap
11712 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11713 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11714 maybe-all-stagefeedback-mpfr:
11715 maybe-clean-stagefeedback-mpfr:
11716 @if mpfr-bootstrap
11717 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11718 all-stagefeedback: all-stagefeedback-mpfr
11719 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11720 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11721 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11722 @r=`${PWD_COMMAND}`; export r; \
11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11724 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11725 $(HOST_EXPORTS) \
11726 $(POSTSTAGE1_HOST_EXPORTS) \
11727 cd $(HOST_SUBDIR)/mpfr && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11729 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11730 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11731 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11736 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11737 $(TARGET-stagefeedback-mpfr)
11739 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11740 clean-stagefeedback: clean-stagefeedback-mpfr
11741 clean-stagefeedback-mpfr:
11742 @if [ $(current_stage) = stagefeedback ]; then \
11743 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11744 else \
11745 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11746 $(MAKE) stagefeedback-start; \
11747 fi; \
11748 cd $(HOST_SUBDIR)/mpfr && \
11749 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11750 @endif mpfr-bootstrap
11756 .PHONY: check-mpfr maybe-check-mpfr
11757 maybe-check-mpfr:
11758 @if mpfr
11759 maybe-check-mpfr: check-mpfr
11761 check-mpfr:
11762 @: $(MAKE); $(unstage)
11763 @r=`${PWD_COMMAND}`; export r; \
11764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11765 $(HOST_EXPORTS) \
11766 (cd $(HOST_SUBDIR)/mpfr && \
11767 $(MAKE) $(FLAGS_TO_PASS) check)
11769 @endif mpfr
11771 .PHONY: install-mpfr maybe-install-mpfr
11772 maybe-install-mpfr:
11773 @if mpfr
11774 maybe-install-mpfr: install-mpfr
11776 install-mpfr:
11778 @endif mpfr
11780 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11781 maybe-install-strip-mpfr:
11782 @if mpfr
11783 maybe-install-strip-mpfr: install-strip-mpfr
11785 install-strip-mpfr:
11787 @endif mpfr
11789 # Other targets (info, dvi, pdf, etc.)
11791 .PHONY: maybe-info-mpfr info-mpfr
11792 maybe-info-mpfr:
11793 @if mpfr
11794 maybe-info-mpfr: info-mpfr
11796 info-mpfr: \
11797 configure-mpfr
11798 @[ -f ./mpfr/Makefile ] || exit 0; \
11799 r=`${PWD_COMMAND}`; export r; \
11800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11801 $(HOST_EXPORTS) \
11802 for flag in $(EXTRA_HOST_FLAGS) ; do \
11803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11804 done; \
11805 echo "Doing info in mpfr" ; \
11806 (cd $(HOST_SUBDIR)/mpfr && \
11807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11809 "RANLIB=$${RANLIB}" \
11810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11811 info) \
11812 || exit 1
11814 @endif mpfr
11816 .PHONY: maybe-dvi-mpfr dvi-mpfr
11817 maybe-dvi-mpfr:
11818 @if mpfr
11819 maybe-dvi-mpfr: dvi-mpfr
11821 dvi-mpfr: \
11822 configure-mpfr
11823 @[ -f ./mpfr/Makefile ] || exit 0; \
11824 r=`${PWD_COMMAND}`; export r; \
11825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11826 $(HOST_EXPORTS) \
11827 for flag in $(EXTRA_HOST_FLAGS) ; do \
11828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11829 done; \
11830 echo "Doing dvi in mpfr" ; \
11831 (cd $(HOST_SUBDIR)/mpfr && \
11832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11834 "RANLIB=$${RANLIB}" \
11835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11836 dvi) \
11837 || exit 1
11839 @endif mpfr
11841 .PHONY: maybe-pdf-mpfr pdf-mpfr
11842 maybe-pdf-mpfr:
11843 @if mpfr
11844 maybe-pdf-mpfr: pdf-mpfr
11846 pdf-mpfr: \
11847 configure-mpfr
11848 @[ -f ./mpfr/Makefile ] || exit 0; \
11849 r=`${PWD_COMMAND}`; export r; \
11850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11851 $(HOST_EXPORTS) \
11852 for flag in $(EXTRA_HOST_FLAGS) ; do \
11853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11854 done; \
11855 echo "Doing pdf in mpfr" ; \
11856 (cd $(HOST_SUBDIR)/mpfr && \
11857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11859 "RANLIB=$${RANLIB}" \
11860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11861 pdf) \
11862 || exit 1
11864 @endif mpfr
11866 .PHONY: maybe-html-mpfr html-mpfr
11867 maybe-html-mpfr:
11868 @if mpfr
11869 maybe-html-mpfr: html-mpfr
11871 html-mpfr: \
11872 configure-mpfr
11873 @[ -f ./mpfr/Makefile ] || exit 0; \
11874 r=`${PWD_COMMAND}`; export r; \
11875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11876 $(HOST_EXPORTS) \
11877 for flag in $(EXTRA_HOST_FLAGS) ; do \
11878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11879 done; \
11880 echo "Doing html in mpfr" ; \
11881 (cd $(HOST_SUBDIR)/mpfr && \
11882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11884 "RANLIB=$${RANLIB}" \
11885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11886 html) \
11887 || exit 1
11889 @endif mpfr
11891 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11892 maybe-TAGS-mpfr:
11893 @if mpfr
11894 maybe-TAGS-mpfr: TAGS-mpfr
11896 TAGS-mpfr: \
11897 configure-mpfr
11898 @[ -f ./mpfr/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 echo "Doing TAGS in mpfr" ; \
11906 (cd $(HOST_SUBDIR)/mpfr && \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11911 TAGS) \
11912 || exit 1
11914 @endif mpfr
11916 .PHONY: maybe-install-info-mpfr install-info-mpfr
11917 maybe-install-info-mpfr:
11918 @if mpfr
11919 maybe-install-info-mpfr: install-info-mpfr
11921 install-info-mpfr: \
11922 configure-mpfr \
11923 info-mpfr
11924 @[ -f ./mpfr/Makefile ] || exit 0; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(HOST_EXPORTS) \
11928 for flag in $(EXTRA_HOST_FLAGS) ; do \
11929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11930 done; \
11931 echo "Doing install-info in mpfr" ; \
11932 (cd $(HOST_SUBDIR)/mpfr && \
11933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11935 "RANLIB=$${RANLIB}" \
11936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11937 install-info) \
11938 || exit 1
11940 @endif mpfr
11942 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11943 maybe-install-pdf-mpfr:
11944 @if mpfr
11945 maybe-install-pdf-mpfr: install-pdf-mpfr
11947 install-pdf-mpfr: \
11948 configure-mpfr \
11949 pdf-mpfr
11950 @[ -f ./mpfr/Makefile ] || exit 0; \
11951 r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 $(HOST_EXPORTS) \
11954 for flag in $(EXTRA_HOST_FLAGS) ; do \
11955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11956 done; \
11957 echo "Doing install-pdf in mpfr" ; \
11958 (cd $(HOST_SUBDIR)/mpfr && \
11959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11961 "RANLIB=$${RANLIB}" \
11962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11963 install-pdf) \
11964 || exit 1
11966 @endif mpfr
11968 .PHONY: maybe-install-html-mpfr install-html-mpfr
11969 maybe-install-html-mpfr:
11970 @if mpfr
11971 maybe-install-html-mpfr: install-html-mpfr
11973 install-html-mpfr: \
11974 configure-mpfr \
11975 html-mpfr
11976 @[ -f ./mpfr/Makefile ] || exit 0; \
11977 r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 $(HOST_EXPORTS) \
11980 for flag in $(EXTRA_HOST_FLAGS) ; do \
11981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11982 done; \
11983 echo "Doing install-html in mpfr" ; \
11984 (cd $(HOST_SUBDIR)/mpfr && \
11985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987 "RANLIB=$${RANLIB}" \
11988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11989 install-html) \
11990 || exit 1
11992 @endif mpfr
11994 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11995 maybe-installcheck-mpfr:
11996 @if mpfr
11997 maybe-installcheck-mpfr: installcheck-mpfr
11999 installcheck-mpfr: \
12000 configure-mpfr
12001 @[ -f ./mpfr/Makefile ] || exit 0; \
12002 r=`${PWD_COMMAND}`; export r; \
12003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12004 $(HOST_EXPORTS) \
12005 for flag in $(EXTRA_HOST_FLAGS) ; do \
12006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12007 done; \
12008 echo "Doing installcheck in mpfr" ; \
12009 (cd $(HOST_SUBDIR)/mpfr && \
12010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12012 "RANLIB=$${RANLIB}" \
12013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12014 installcheck) \
12015 || exit 1
12017 @endif mpfr
12019 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12020 maybe-mostlyclean-mpfr:
12021 @if mpfr
12022 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12024 mostlyclean-mpfr:
12025 @[ -f ./mpfr/Makefile ] || exit 0; \
12026 r=`${PWD_COMMAND}`; export r; \
12027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12028 $(HOST_EXPORTS) \
12029 for flag in $(EXTRA_HOST_FLAGS) ; do \
12030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12031 done; \
12032 echo "Doing mostlyclean in mpfr" ; \
12033 (cd $(HOST_SUBDIR)/mpfr && \
12034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12036 "RANLIB=$${RANLIB}" \
12037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12038 mostlyclean) \
12039 || exit 1
12041 @endif mpfr
12043 .PHONY: maybe-clean-mpfr clean-mpfr
12044 maybe-clean-mpfr:
12045 @if mpfr
12046 maybe-clean-mpfr: clean-mpfr
12048 clean-mpfr:
12049 @[ -f ./mpfr/Makefile ] || exit 0; \
12050 r=`${PWD_COMMAND}`; export r; \
12051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12052 $(HOST_EXPORTS) \
12053 for flag in $(EXTRA_HOST_FLAGS) ; do \
12054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12055 done; \
12056 echo "Doing clean in mpfr" ; \
12057 (cd $(HOST_SUBDIR)/mpfr && \
12058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12060 "RANLIB=$${RANLIB}" \
12061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12062 clean) \
12063 || exit 1
12065 @endif mpfr
12067 .PHONY: maybe-distclean-mpfr distclean-mpfr
12068 maybe-distclean-mpfr:
12069 @if mpfr
12070 maybe-distclean-mpfr: distclean-mpfr
12072 distclean-mpfr:
12073 @[ -f ./mpfr/Makefile ] || exit 0; \
12074 r=`${PWD_COMMAND}`; export r; \
12075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 $(HOST_EXPORTS) \
12077 for flag in $(EXTRA_HOST_FLAGS) ; do \
12078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12079 done; \
12080 echo "Doing distclean in mpfr" ; \
12081 (cd $(HOST_SUBDIR)/mpfr && \
12082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12084 "RANLIB=$${RANLIB}" \
12085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12086 distclean) \
12087 || exit 1
12089 @endif mpfr
12091 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12092 maybe-maintainer-clean-mpfr:
12093 @if mpfr
12094 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12096 maintainer-clean-mpfr:
12097 @[ -f ./mpfr/Makefile ] || exit 0; \
12098 r=`${PWD_COMMAND}`; export r; \
12099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100 $(HOST_EXPORTS) \
12101 for flag in $(EXTRA_HOST_FLAGS) ; do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12103 done; \
12104 echo "Doing maintainer-clean in mpfr" ; \
12105 (cd $(HOST_SUBDIR)/mpfr && \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12110 maintainer-clean) \
12111 || exit 1
12113 @endif mpfr
12117 .PHONY: configure-mpc maybe-configure-mpc
12118 maybe-configure-mpc:
12119 @if gcc-bootstrap
12120 configure-mpc: stage_current
12121 @endif gcc-bootstrap
12122 @if mpc
12123 maybe-configure-mpc: configure-mpc
12124 configure-mpc:
12125 @r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12129 $(HOST_EXPORTS) \
12130 echo Configuring in $(HOST_SUBDIR)/mpc; \
12131 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12132 case $(srcdir) in \
12133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12134 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12136 esac; \
12137 srcdiroption="--srcdir=$${topdir}/mpc"; \
12138 libsrcdir="$$s/mpc"; \
12139 $(SHELL) $${libsrcdir}/configure \
12140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12141 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12142 || exit 1
12143 @endif mpc
12147 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12148 maybe-configure-stage1-mpc:
12149 @if mpc-bootstrap
12150 maybe-configure-stage1-mpc: configure-stage1-mpc
12151 configure-stage1-mpc:
12152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12154 @r=`${PWD_COMMAND}`; export r; \
12155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12156 TFLAGS="$(STAGE1_TFLAGS)"; \
12157 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12158 $(HOST_EXPORTS) \
12159 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12160 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12161 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12162 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12164 cd $(HOST_SUBDIR)/mpc || exit 1; \
12165 case $(srcdir) in \
12166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12167 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12169 esac; \
12170 srcdiroption="--srcdir=$${topdir}/mpc"; \
12171 libsrcdir="$$s/mpc"; \
12172 $(SHELL) $${libsrcdir}/configure \
12173 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12174 --target=${target_alias} $${srcdiroption} \
12175 $(STAGE1_CONFIGURE_FLAGS) \
12176 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12177 @endif mpc-bootstrap
12179 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12180 maybe-configure-stage2-mpc:
12181 @if mpc-bootstrap
12182 maybe-configure-stage2-mpc: configure-stage2-mpc
12183 configure-stage2-mpc:
12184 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12185 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12186 @r=`${PWD_COMMAND}`; export r; \
12187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12188 TFLAGS="$(STAGE2_TFLAGS)"; \
12189 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12190 $(HOST_EXPORTS) \
12191 $(POSTSTAGE1_HOST_EXPORTS) \
12192 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12193 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12194 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12195 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12197 cd $(HOST_SUBDIR)/mpc || exit 1; \
12198 case $(srcdir) in \
12199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12200 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12202 esac; \
12203 srcdiroption="--srcdir=$${topdir}/mpc"; \
12204 libsrcdir="$$s/mpc"; \
12205 $(SHELL) $${libsrcdir}/configure \
12206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12207 --target=${target_alias} $${srcdiroption} \
12208 --with-build-libsubdir=$(HOST_SUBDIR) \
12209 $(STAGE2_CONFIGURE_FLAGS) \
12210 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12211 @endif mpc-bootstrap
12213 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12214 maybe-configure-stage3-mpc:
12215 @if mpc-bootstrap
12216 maybe-configure-stage3-mpc: configure-stage3-mpc
12217 configure-stage3-mpc:
12218 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12220 @r=`${PWD_COMMAND}`; export r; \
12221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12222 TFLAGS="$(STAGE3_TFLAGS)"; \
12223 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12224 $(HOST_EXPORTS) \
12225 $(POSTSTAGE1_HOST_EXPORTS) \
12226 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12227 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12228 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12229 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12231 cd $(HOST_SUBDIR)/mpc || exit 1; \
12232 case $(srcdir) in \
12233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12234 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12236 esac; \
12237 srcdiroption="--srcdir=$${topdir}/mpc"; \
12238 libsrcdir="$$s/mpc"; \
12239 $(SHELL) $${libsrcdir}/configure \
12240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12241 --target=${target_alias} $${srcdiroption} \
12242 --with-build-libsubdir=$(HOST_SUBDIR) \
12243 $(STAGE3_CONFIGURE_FLAGS) \
12244 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12245 @endif mpc-bootstrap
12247 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12248 maybe-configure-stage4-mpc:
12249 @if mpc-bootstrap
12250 maybe-configure-stage4-mpc: configure-stage4-mpc
12251 configure-stage4-mpc:
12252 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12253 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12254 @r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 TFLAGS="$(STAGE4_TFLAGS)"; \
12257 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12258 $(HOST_EXPORTS) \
12259 $(POSTSTAGE1_HOST_EXPORTS) \
12260 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12261 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12262 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12263 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12265 cd $(HOST_SUBDIR)/mpc || exit 1; \
12266 case $(srcdir) in \
12267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12268 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12270 esac; \
12271 srcdiroption="--srcdir=$${topdir}/mpc"; \
12272 libsrcdir="$$s/mpc"; \
12273 $(SHELL) $${libsrcdir}/configure \
12274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12275 --target=${target_alias} $${srcdiroption} \
12276 --with-build-libsubdir=$(HOST_SUBDIR) \
12277 $(STAGE4_CONFIGURE_FLAGS) \
12278 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12279 @endif mpc-bootstrap
12281 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12282 maybe-configure-stageprofile-mpc:
12283 @if mpc-bootstrap
12284 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12285 configure-stageprofile-mpc:
12286 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12288 @r=`${PWD_COMMAND}`; export r; \
12289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12290 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12291 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12292 $(HOST_EXPORTS) \
12293 $(POSTSTAGE1_HOST_EXPORTS) \
12294 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12295 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12296 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12297 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12299 cd $(HOST_SUBDIR)/mpc || exit 1; \
12300 case $(srcdir) in \
12301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12302 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12304 esac; \
12305 srcdiroption="--srcdir=$${topdir}/mpc"; \
12306 libsrcdir="$$s/mpc"; \
12307 $(SHELL) $${libsrcdir}/configure \
12308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12309 --target=${target_alias} $${srcdiroption} \
12310 --with-build-libsubdir=$(HOST_SUBDIR) \
12311 $(STAGEprofile_CONFIGURE_FLAGS) \
12312 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12313 @endif mpc-bootstrap
12315 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12316 maybe-configure-stagefeedback-mpc:
12317 @if mpc-bootstrap
12318 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12319 configure-stagefeedback-mpc:
12320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12322 @r=`${PWD_COMMAND}`; export r; \
12323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12325 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12326 $(HOST_EXPORTS) \
12327 $(POSTSTAGE1_HOST_EXPORTS) \
12328 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12329 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12330 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12331 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12333 cd $(HOST_SUBDIR)/mpc || exit 1; \
12334 case $(srcdir) in \
12335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12336 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12338 esac; \
12339 srcdiroption="--srcdir=$${topdir}/mpc"; \
12340 libsrcdir="$$s/mpc"; \
12341 $(SHELL) $${libsrcdir}/configure \
12342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12343 --target=${target_alias} $${srcdiroption} \
12344 --with-build-libsubdir=$(HOST_SUBDIR) \
12345 $(STAGEfeedback_CONFIGURE_FLAGS) \
12346 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12347 @endif mpc-bootstrap
12353 .PHONY: all-mpc maybe-all-mpc
12354 maybe-all-mpc:
12355 @if gcc-bootstrap
12356 all-mpc: stage_current
12357 @endif gcc-bootstrap
12358 @if mpc
12359 TARGET-mpc=all
12360 maybe-all-mpc: all-mpc
12361 all-mpc: configure-mpc
12362 @r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 (cd $(HOST_SUBDIR)/mpc && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12367 $(TARGET-mpc))
12368 @endif mpc
12372 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12373 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12374 maybe-all-stage1-mpc:
12375 maybe-clean-stage1-mpc:
12376 @if mpc-bootstrap
12377 maybe-all-stage1-mpc: all-stage1-mpc
12378 all-stage1: all-stage1-mpc
12379 TARGET-stage1-mpc = $(TARGET-mpc)
12380 all-stage1-mpc: configure-stage1-mpc
12381 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12382 @r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 TFLAGS="$(STAGE1_TFLAGS)"; \
12385 $(HOST_EXPORTS) \
12386 cd $(HOST_SUBDIR)/mpc && \
12387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12388 CFLAGS="$(STAGE1_CFLAGS)" \
12389 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12390 LIBCFLAGS="$(LIBCFLAGS)" \
12391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12394 $(EXTRA_HOST_FLAGS) \
12395 $(STAGE1_FLAGS_TO_PASS) \
12396 TFLAGS="$(STAGE1_TFLAGS)" \
12397 $(TARGET-stage1-mpc)
12399 maybe-clean-stage1-mpc: clean-stage1-mpc
12400 clean-stage1: clean-stage1-mpc
12401 clean-stage1-mpc:
12402 @if [ $(current_stage) = stage1 ]; then \
12403 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12404 else \
12405 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12406 $(MAKE) stage1-start; \
12407 fi; \
12408 cd $(HOST_SUBDIR)/mpc && \
12409 $(MAKE) $(EXTRA_HOST_FLAGS) \
12410 $(STAGE1_FLAGS_TO_PASS) clean
12411 @endif mpc-bootstrap
12414 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12415 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12416 maybe-all-stage2-mpc:
12417 maybe-clean-stage2-mpc:
12418 @if mpc-bootstrap
12419 maybe-all-stage2-mpc: all-stage2-mpc
12420 all-stage2: all-stage2-mpc
12421 TARGET-stage2-mpc = $(TARGET-mpc)
12422 all-stage2-mpc: configure-stage2-mpc
12423 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12424 @r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12426 TFLAGS="$(STAGE2_TFLAGS)"; \
12427 $(HOST_EXPORTS) \
12428 $(POSTSTAGE1_HOST_EXPORTS) \
12429 cd $(HOST_SUBDIR)/mpc && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12431 CFLAGS="$(STAGE2_CFLAGS)" \
12432 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12433 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12438 TFLAGS="$(STAGE2_TFLAGS)" \
12439 $(TARGET-stage2-mpc)
12441 maybe-clean-stage2-mpc: clean-stage2-mpc
12442 clean-stage2: clean-stage2-mpc
12443 clean-stage2-mpc:
12444 @if [ $(current_stage) = stage2 ]; then \
12445 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12446 else \
12447 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12448 $(MAKE) stage2-start; \
12449 fi; \
12450 cd $(HOST_SUBDIR)/mpc && \
12451 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12452 @endif mpc-bootstrap
12455 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12456 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12457 maybe-all-stage3-mpc:
12458 maybe-clean-stage3-mpc:
12459 @if mpc-bootstrap
12460 maybe-all-stage3-mpc: all-stage3-mpc
12461 all-stage3: all-stage3-mpc
12462 TARGET-stage3-mpc = $(TARGET-mpc)
12463 all-stage3-mpc: configure-stage3-mpc
12464 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12465 @r=`${PWD_COMMAND}`; export r; \
12466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12467 TFLAGS="$(STAGE3_TFLAGS)"; \
12468 $(HOST_EXPORTS) \
12469 $(POSTSTAGE1_HOST_EXPORTS) \
12470 cd $(HOST_SUBDIR)/mpc && \
12471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12472 CFLAGS="$(STAGE3_CFLAGS)" \
12473 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12474 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12478 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12479 TFLAGS="$(STAGE3_TFLAGS)" \
12480 $(TARGET-stage3-mpc)
12482 maybe-clean-stage3-mpc: clean-stage3-mpc
12483 clean-stage3: clean-stage3-mpc
12484 clean-stage3-mpc:
12485 @if [ $(current_stage) = stage3 ]; then \
12486 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12487 else \
12488 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12489 $(MAKE) stage3-start; \
12490 fi; \
12491 cd $(HOST_SUBDIR)/mpc && \
12492 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12493 @endif mpc-bootstrap
12496 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12497 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12498 maybe-all-stage4-mpc:
12499 maybe-clean-stage4-mpc:
12500 @if mpc-bootstrap
12501 maybe-all-stage4-mpc: all-stage4-mpc
12502 all-stage4: all-stage4-mpc
12503 TARGET-stage4-mpc = $(TARGET-mpc)
12504 all-stage4-mpc: configure-stage4-mpc
12505 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12506 @r=`${PWD_COMMAND}`; export r; \
12507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12508 TFLAGS="$(STAGE4_TFLAGS)"; \
12509 $(HOST_EXPORTS) \
12510 $(POSTSTAGE1_HOST_EXPORTS) \
12511 cd $(HOST_SUBDIR)/mpc && \
12512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12513 CFLAGS="$(STAGE4_CFLAGS)" \
12514 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12515 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12519 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12520 TFLAGS="$(STAGE4_TFLAGS)" \
12521 $(TARGET-stage4-mpc)
12523 maybe-clean-stage4-mpc: clean-stage4-mpc
12524 clean-stage4: clean-stage4-mpc
12525 clean-stage4-mpc:
12526 @if [ $(current_stage) = stage4 ]; then \
12527 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12528 else \
12529 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12530 $(MAKE) stage4-start; \
12531 fi; \
12532 cd $(HOST_SUBDIR)/mpc && \
12533 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12534 @endif mpc-bootstrap
12537 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12538 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12539 maybe-all-stageprofile-mpc:
12540 maybe-clean-stageprofile-mpc:
12541 @if mpc-bootstrap
12542 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12543 all-stageprofile: all-stageprofile-mpc
12544 TARGET-stageprofile-mpc = $(TARGET-mpc)
12545 all-stageprofile-mpc: configure-stageprofile-mpc
12546 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12547 @r=`${PWD_COMMAND}`; export r; \
12548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12550 $(HOST_EXPORTS) \
12551 $(POSTSTAGE1_HOST_EXPORTS) \
12552 cd $(HOST_SUBDIR)/mpc && \
12553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12554 CFLAGS="$(STAGEprofile_CFLAGS)" \
12555 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12556 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12561 TFLAGS="$(STAGEprofile_TFLAGS)" \
12562 $(TARGET-stageprofile-mpc)
12564 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12565 clean-stageprofile: clean-stageprofile-mpc
12566 clean-stageprofile-mpc:
12567 @if [ $(current_stage) = stageprofile ]; then \
12568 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12569 else \
12570 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12571 $(MAKE) stageprofile-start; \
12572 fi; \
12573 cd $(HOST_SUBDIR)/mpc && \
12574 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12575 @endif mpc-bootstrap
12578 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12579 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12580 maybe-all-stagefeedback-mpc:
12581 maybe-clean-stagefeedback-mpc:
12582 @if mpc-bootstrap
12583 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12584 all-stagefeedback: all-stagefeedback-mpc
12585 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12586 all-stagefeedback-mpc: configure-stagefeedback-mpc
12587 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12588 @r=`${PWD_COMMAND}`; export r; \
12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12591 $(HOST_EXPORTS) \
12592 $(POSTSTAGE1_HOST_EXPORTS) \
12593 cd $(HOST_SUBDIR)/mpc && \
12594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12595 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12596 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12597 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12602 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12603 $(TARGET-stagefeedback-mpc)
12605 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12606 clean-stagefeedback: clean-stagefeedback-mpc
12607 clean-stagefeedback-mpc:
12608 @if [ $(current_stage) = stagefeedback ]; then \
12609 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12610 else \
12611 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12612 $(MAKE) stagefeedback-start; \
12613 fi; \
12614 cd $(HOST_SUBDIR)/mpc && \
12615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12616 @endif mpc-bootstrap
12622 .PHONY: check-mpc maybe-check-mpc
12623 maybe-check-mpc:
12624 @if mpc
12625 maybe-check-mpc: check-mpc
12627 check-mpc:
12628 @: $(MAKE); $(unstage)
12629 @r=`${PWD_COMMAND}`; export r; \
12630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12631 $(HOST_EXPORTS) \
12632 (cd $(HOST_SUBDIR)/mpc && \
12633 $(MAKE) $(FLAGS_TO_PASS) check)
12635 @endif mpc
12637 .PHONY: install-mpc maybe-install-mpc
12638 maybe-install-mpc:
12639 @if mpc
12640 maybe-install-mpc: install-mpc
12642 install-mpc:
12644 @endif mpc
12646 .PHONY: install-strip-mpc maybe-install-strip-mpc
12647 maybe-install-strip-mpc:
12648 @if mpc
12649 maybe-install-strip-mpc: install-strip-mpc
12651 install-strip-mpc:
12653 @endif mpc
12655 # Other targets (info, dvi, pdf, etc.)
12657 .PHONY: maybe-info-mpc info-mpc
12658 maybe-info-mpc:
12659 @if mpc
12660 maybe-info-mpc: info-mpc
12662 info-mpc: \
12663 configure-mpc
12664 @[ -f ./mpc/Makefile ] || exit 0; \
12665 r=`${PWD_COMMAND}`; export r; \
12666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12667 $(HOST_EXPORTS) \
12668 for flag in $(EXTRA_HOST_FLAGS) ; do \
12669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12670 done; \
12671 echo "Doing info in mpc" ; \
12672 (cd $(HOST_SUBDIR)/mpc && \
12673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12675 "RANLIB=$${RANLIB}" \
12676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12677 info) \
12678 || exit 1
12680 @endif mpc
12682 .PHONY: maybe-dvi-mpc dvi-mpc
12683 maybe-dvi-mpc:
12684 @if mpc
12685 maybe-dvi-mpc: dvi-mpc
12687 dvi-mpc: \
12688 configure-mpc
12689 @[ -f ./mpc/Makefile ] || exit 0; \
12690 r=`${PWD_COMMAND}`; export r; \
12691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12692 $(HOST_EXPORTS) \
12693 for flag in $(EXTRA_HOST_FLAGS) ; do \
12694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12695 done; \
12696 echo "Doing dvi in mpc" ; \
12697 (cd $(HOST_SUBDIR)/mpc && \
12698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12700 "RANLIB=$${RANLIB}" \
12701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12702 dvi) \
12703 || exit 1
12705 @endif mpc
12707 .PHONY: maybe-pdf-mpc pdf-mpc
12708 maybe-pdf-mpc:
12709 @if mpc
12710 maybe-pdf-mpc: pdf-mpc
12712 pdf-mpc: \
12713 configure-mpc
12714 @[ -f ./mpc/Makefile ] || exit 0; \
12715 r=`${PWD_COMMAND}`; export r; \
12716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717 $(HOST_EXPORTS) \
12718 for flag in $(EXTRA_HOST_FLAGS) ; do \
12719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12720 done; \
12721 echo "Doing pdf in mpc" ; \
12722 (cd $(HOST_SUBDIR)/mpc && \
12723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12725 "RANLIB=$${RANLIB}" \
12726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12727 pdf) \
12728 || exit 1
12730 @endif mpc
12732 .PHONY: maybe-html-mpc html-mpc
12733 maybe-html-mpc:
12734 @if mpc
12735 maybe-html-mpc: html-mpc
12737 html-mpc: \
12738 configure-mpc
12739 @[ -f ./mpc/Makefile ] || exit 0; \
12740 r=`${PWD_COMMAND}`; export r; \
12741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12742 $(HOST_EXPORTS) \
12743 for flag in $(EXTRA_HOST_FLAGS) ; do \
12744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12745 done; \
12746 echo "Doing html in mpc" ; \
12747 (cd $(HOST_SUBDIR)/mpc && \
12748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12750 "RANLIB=$${RANLIB}" \
12751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12752 html) \
12753 || exit 1
12755 @endif mpc
12757 .PHONY: maybe-TAGS-mpc TAGS-mpc
12758 maybe-TAGS-mpc:
12759 @if mpc
12760 maybe-TAGS-mpc: TAGS-mpc
12762 TAGS-mpc: \
12763 configure-mpc
12764 @[ -f ./mpc/Makefile ] || exit 0; \
12765 r=`${PWD_COMMAND}`; export r; \
12766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12767 $(HOST_EXPORTS) \
12768 for flag in $(EXTRA_HOST_FLAGS) ; do \
12769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12770 done; \
12771 echo "Doing TAGS in mpc" ; \
12772 (cd $(HOST_SUBDIR)/mpc && \
12773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12775 "RANLIB=$${RANLIB}" \
12776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12777 TAGS) \
12778 || exit 1
12780 @endif mpc
12782 .PHONY: maybe-install-info-mpc install-info-mpc
12783 maybe-install-info-mpc:
12784 @if mpc
12785 maybe-install-info-mpc: install-info-mpc
12787 install-info-mpc: \
12788 configure-mpc \
12789 info-mpc
12790 @[ -f ./mpc/Makefile ] || exit 0; \
12791 r=`${PWD_COMMAND}`; export r; \
12792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12793 $(HOST_EXPORTS) \
12794 for flag in $(EXTRA_HOST_FLAGS) ; do \
12795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12796 done; \
12797 echo "Doing install-info in mpc" ; \
12798 (cd $(HOST_SUBDIR)/mpc && \
12799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801 "RANLIB=$${RANLIB}" \
12802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12803 install-info) \
12804 || exit 1
12806 @endif mpc
12808 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12809 maybe-install-pdf-mpc:
12810 @if mpc
12811 maybe-install-pdf-mpc: install-pdf-mpc
12813 install-pdf-mpc: \
12814 configure-mpc \
12815 pdf-mpc
12816 @[ -f ./mpc/Makefile ] || exit 0; \
12817 r=`${PWD_COMMAND}`; export r; \
12818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819 $(HOST_EXPORTS) \
12820 for flag in $(EXTRA_HOST_FLAGS) ; do \
12821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822 done; \
12823 echo "Doing install-pdf in mpc" ; \
12824 (cd $(HOST_SUBDIR)/mpc && \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827 "RANLIB=$${RANLIB}" \
12828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12829 install-pdf) \
12830 || exit 1
12832 @endif mpc
12834 .PHONY: maybe-install-html-mpc install-html-mpc
12835 maybe-install-html-mpc:
12836 @if mpc
12837 maybe-install-html-mpc: install-html-mpc
12839 install-html-mpc: \
12840 configure-mpc \
12841 html-mpc
12842 @[ -f ./mpc/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(HOST_EXPORTS) \
12846 for flag in $(EXTRA_HOST_FLAGS) ; do \
12847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12848 done; \
12849 echo "Doing install-html in mpc" ; \
12850 (cd $(HOST_SUBDIR)/mpc && \
12851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12853 "RANLIB=$${RANLIB}" \
12854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12855 install-html) \
12856 || exit 1
12858 @endif mpc
12860 .PHONY: maybe-installcheck-mpc installcheck-mpc
12861 maybe-installcheck-mpc:
12862 @if mpc
12863 maybe-installcheck-mpc: installcheck-mpc
12865 installcheck-mpc: \
12866 configure-mpc
12867 @[ -f ./mpc/Makefile ] || exit 0; \
12868 r=`${PWD_COMMAND}`; export r; \
12869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12870 $(HOST_EXPORTS) \
12871 for flag in $(EXTRA_HOST_FLAGS) ; do \
12872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12873 done; \
12874 echo "Doing installcheck in mpc" ; \
12875 (cd $(HOST_SUBDIR)/mpc && \
12876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12878 "RANLIB=$${RANLIB}" \
12879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12880 installcheck) \
12881 || exit 1
12883 @endif mpc
12885 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12886 maybe-mostlyclean-mpc:
12887 @if mpc
12888 maybe-mostlyclean-mpc: mostlyclean-mpc
12890 mostlyclean-mpc:
12891 @[ -f ./mpc/Makefile ] || exit 0; \
12892 r=`${PWD_COMMAND}`; export r; \
12893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12894 $(HOST_EXPORTS) \
12895 for flag in $(EXTRA_HOST_FLAGS) ; do \
12896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12897 done; \
12898 echo "Doing mostlyclean in mpc" ; \
12899 (cd $(HOST_SUBDIR)/mpc && \
12900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12902 "RANLIB=$${RANLIB}" \
12903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12904 mostlyclean) \
12905 || exit 1
12907 @endif mpc
12909 .PHONY: maybe-clean-mpc clean-mpc
12910 maybe-clean-mpc:
12911 @if mpc
12912 maybe-clean-mpc: clean-mpc
12914 clean-mpc:
12915 @[ -f ./mpc/Makefile ] || exit 0; \
12916 r=`${PWD_COMMAND}`; export r; \
12917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12918 $(HOST_EXPORTS) \
12919 for flag in $(EXTRA_HOST_FLAGS) ; do \
12920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12921 done; \
12922 echo "Doing clean in mpc" ; \
12923 (cd $(HOST_SUBDIR)/mpc && \
12924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12926 "RANLIB=$${RANLIB}" \
12927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12928 clean) \
12929 || exit 1
12931 @endif mpc
12933 .PHONY: maybe-distclean-mpc distclean-mpc
12934 maybe-distclean-mpc:
12935 @if mpc
12936 maybe-distclean-mpc: distclean-mpc
12938 distclean-mpc:
12939 @[ -f ./mpc/Makefile ] || exit 0; \
12940 r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 $(HOST_EXPORTS) \
12943 for flag in $(EXTRA_HOST_FLAGS) ; do \
12944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12945 done; \
12946 echo "Doing distclean in mpc" ; \
12947 (cd $(HOST_SUBDIR)/mpc && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12950 "RANLIB=$${RANLIB}" \
12951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12952 distclean) \
12953 || exit 1
12955 @endif mpc
12957 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12958 maybe-maintainer-clean-mpc:
12959 @if mpc
12960 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12962 maintainer-clean-mpc:
12963 @[ -f ./mpc/Makefile ] || exit 0; \
12964 r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 for flag in $(EXTRA_HOST_FLAGS) ; do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing maintainer-clean in mpc" ; \
12971 (cd $(HOST_SUBDIR)/mpc && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12976 maintainer-clean) \
12977 || exit 1
12979 @endif mpc
12983 .PHONY: configure-isl maybe-configure-isl
12984 maybe-configure-isl:
12985 @if gcc-bootstrap
12986 configure-isl: stage_current
12987 @endif gcc-bootstrap
12988 @if isl
12989 maybe-configure-isl: configure-isl
12990 configure-isl:
12991 @r=`${PWD_COMMAND}`; export r; \
12992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12993 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
12994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
12995 $(HOST_EXPORTS) \
12996 echo Configuring in $(HOST_SUBDIR)/isl; \
12997 cd "$(HOST_SUBDIR)/isl" || exit 1; \
12998 case $(srcdir) in \
12999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13000 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13002 esac; \
13003 srcdiroption="--srcdir=$${topdir}/isl"; \
13004 libsrcdir="$$s/isl"; \
13005 $(SHELL) $${libsrcdir}/configure \
13006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13007 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13008 || exit 1
13009 @endif isl
13013 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13014 maybe-configure-stage1-isl:
13015 @if isl-bootstrap
13016 maybe-configure-stage1-isl: configure-stage1-isl
13017 configure-stage1-isl:
13018 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13020 @r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 TFLAGS="$(STAGE1_TFLAGS)"; \
13023 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13024 $(HOST_EXPORTS) \
13025 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13026 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13027 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13028 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13030 cd $(HOST_SUBDIR)/isl || exit 1; \
13031 case $(srcdir) in \
13032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13033 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13035 esac; \
13036 srcdiroption="--srcdir=$${topdir}/isl"; \
13037 libsrcdir="$$s/isl"; \
13038 $(SHELL) $${libsrcdir}/configure \
13039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13040 --target=${target_alias} $${srcdiroption} \
13041 $(STAGE1_CONFIGURE_FLAGS) \
13042 --disable-shared @extra_isl_gmp_configure_flags@
13043 @endif isl-bootstrap
13045 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13046 maybe-configure-stage2-isl:
13047 @if isl-bootstrap
13048 maybe-configure-stage2-isl: configure-stage2-isl
13049 configure-stage2-isl:
13050 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13052 @r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 TFLAGS="$(STAGE2_TFLAGS)"; \
13055 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13056 $(HOST_EXPORTS) \
13057 $(POSTSTAGE1_HOST_EXPORTS) \
13058 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13059 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13060 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13061 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13063 cd $(HOST_SUBDIR)/isl || exit 1; \
13064 case $(srcdir) in \
13065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13066 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13068 esac; \
13069 srcdiroption="--srcdir=$${topdir}/isl"; \
13070 libsrcdir="$$s/isl"; \
13071 $(SHELL) $${libsrcdir}/configure \
13072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13073 --target=${target_alias} $${srcdiroption} \
13074 --with-build-libsubdir=$(HOST_SUBDIR) \
13075 $(STAGE2_CONFIGURE_FLAGS) \
13076 --disable-shared @extra_isl_gmp_configure_flags@
13077 @endif isl-bootstrap
13079 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13080 maybe-configure-stage3-isl:
13081 @if isl-bootstrap
13082 maybe-configure-stage3-isl: configure-stage3-isl
13083 configure-stage3-isl:
13084 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13086 @r=`${PWD_COMMAND}`; export r; \
13087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13088 TFLAGS="$(STAGE3_TFLAGS)"; \
13089 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13090 $(HOST_EXPORTS) \
13091 $(POSTSTAGE1_HOST_EXPORTS) \
13092 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13093 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13094 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13095 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13097 cd $(HOST_SUBDIR)/isl || exit 1; \
13098 case $(srcdir) in \
13099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13100 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13102 esac; \
13103 srcdiroption="--srcdir=$${topdir}/isl"; \
13104 libsrcdir="$$s/isl"; \
13105 $(SHELL) $${libsrcdir}/configure \
13106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13107 --target=${target_alias} $${srcdiroption} \
13108 --with-build-libsubdir=$(HOST_SUBDIR) \
13109 $(STAGE3_CONFIGURE_FLAGS) \
13110 --disable-shared @extra_isl_gmp_configure_flags@
13111 @endif isl-bootstrap
13113 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13114 maybe-configure-stage4-isl:
13115 @if isl-bootstrap
13116 maybe-configure-stage4-isl: configure-stage4-isl
13117 configure-stage4-isl:
13118 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13119 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13120 @r=`${PWD_COMMAND}`; export r; \
13121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13122 TFLAGS="$(STAGE4_TFLAGS)"; \
13123 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13124 $(HOST_EXPORTS) \
13125 $(POSTSTAGE1_HOST_EXPORTS) \
13126 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13127 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13128 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13129 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13131 cd $(HOST_SUBDIR)/isl || exit 1; \
13132 case $(srcdir) in \
13133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13134 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13136 esac; \
13137 srcdiroption="--srcdir=$${topdir}/isl"; \
13138 libsrcdir="$$s/isl"; \
13139 $(SHELL) $${libsrcdir}/configure \
13140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13141 --target=${target_alias} $${srcdiroption} \
13142 --with-build-libsubdir=$(HOST_SUBDIR) \
13143 $(STAGE4_CONFIGURE_FLAGS) \
13144 --disable-shared @extra_isl_gmp_configure_flags@
13145 @endif isl-bootstrap
13147 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13148 maybe-configure-stageprofile-isl:
13149 @if isl-bootstrap
13150 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13151 configure-stageprofile-isl:
13152 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13154 @r=`${PWD_COMMAND}`; export r; \
13155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13156 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13157 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13158 $(HOST_EXPORTS) \
13159 $(POSTSTAGE1_HOST_EXPORTS) \
13160 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13161 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13162 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13163 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13165 cd $(HOST_SUBDIR)/isl || exit 1; \
13166 case $(srcdir) in \
13167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13168 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13170 esac; \
13171 srcdiroption="--srcdir=$${topdir}/isl"; \
13172 libsrcdir="$$s/isl"; \
13173 $(SHELL) $${libsrcdir}/configure \
13174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13175 --target=${target_alias} $${srcdiroption} \
13176 --with-build-libsubdir=$(HOST_SUBDIR) \
13177 $(STAGEprofile_CONFIGURE_FLAGS) \
13178 --disable-shared @extra_isl_gmp_configure_flags@
13179 @endif isl-bootstrap
13181 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13182 maybe-configure-stagefeedback-isl:
13183 @if isl-bootstrap
13184 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13185 configure-stagefeedback-isl:
13186 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13188 @r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13191 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13192 $(HOST_EXPORTS) \
13193 $(POSTSTAGE1_HOST_EXPORTS) \
13194 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13195 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13196 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13197 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13199 cd $(HOST_SUBDIR)/isl || exit 1; \
13200 case $(srcdir) in \
13201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13202 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13204 esac; \
13205 srcdiroption="--srcdir=$${topdir}/isl"; \
13206 libsrcdir="$$s/isl"; \
13207 $(SHELL) $${libsrcdir}/configure \
13208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13209 --target=${target_alias} $${srcdiroption} \
13210 --with-build-libsubdir=$(HOST_SUBDIR) \
13211 $(STAGEfeedback_CONFIGURE_FLAGS) \
13212 --disable-shared @extra_isl_gmp_configure_flags@
13213 @endif isl-bootstrap
13219 .PHONY: all-isl maybe-all-isl
13220 maybe-all-isl:
13221 @if gcc-bootstrap
13222 all-isl: stage_current
13223 @endif gcc-bootstrap
13224 @if isl
13225 TARGET-isl=all
13226 maybe-all-isl: all-isl
13227 all-isl: configure-isl
13228 @r=`${PWD_COMMAND}`; export r; \
13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13230 $(HOST_EXPORTS) \
13231 (cd $(HOST_SUBDIR)/isl && \
13232 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13233 $(TARGET-isl))
13234 @endif isl
13238 .PHONY: all-stage1-isl maybe-all-stage1-isl
13239 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13240 maybe-all-stage1-isl:
13241 maybe-clean-stage1-isl:
13242 @if isl-bootstrap
13243 maybe-all-stage1-isl: all-stage1-isl
13244 all-stage1: all-stage1-isl
13245 TARGET-stage1-isl = $(TARGET-isl)
13246 all-stage1-isl: configure-stage1-isl
13247 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13248 @r=`${PWD_COMMAND}`; export r; \
13249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13250 TFLAGS="$(STAGE1_TFLAGS)"; \
13251 $(HOST_EXPORTS) \
13252 cd $(HOST_SUBDIR)/isl && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13254 CFLAGS="$(STAGE1_CFLAGS)" \
13255 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13256 LIBCFLAGS="$(LIBCFLAGS)" \
13257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13260 $(EXTRA_HOST_FLAGS) \
13261 $(STAGE1_FLAGS_TO_PASS) V=1 \
13262 TFLAGS="$(STAGE1_TFLAGS)" \
13263 $(TARGET-stage1-isl)
13265 maybe-clean-stage1-isl: clean-stage1-isl
13266 clean-stage1: clean-stage1-isl
13267 clean-stage1-isl:
13268 @if [ $(current_stage) = stage1 ]; then \
13269 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13270 else \
13271 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13272 $(MAKE) stage1-start; \
13273 fi; \
13274 cd $(HOST_SUBDIR)/isl && \
13275 $(MAKE) $(EXTRA_HOST_FLAGS) \
13276 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13277 @endif isl-bootstrap
13280 .PHONY: all-stage2-isl maybe-all-stage2-isl
13281 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13282 maybe-all-stage2-isl:
13283 maybe-clean-stage2-isl:
13284 @if isl-bootstrap
13285 maybe-all-stage2-isl: all-stage2-isl
13286 all-stage2: all-stage2-isl
13287 TARGET-stage2-isl = $(TARGET-isl)
13288 all-stage2-isl: configure-stage2-isl
13289 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13290 @r=`${PWD_COMMAND}`; export r; \
13291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13292 TFLAGS="$(STAGE2_TFLAGS)"; \
13293 $(HOST_EXPORTS) \
13294 $(POSTSTAGE1_HOST_EXPORTS) \
13295 cd $(HOST_SUBDIR)/isl && \
13296 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13297 CFLAGS="$(STAGE2_CFLAGS)" \
13298 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13299 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13300 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13301 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13302 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13303 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13304 TFLAGS="$(STAGE2_TFLAGS)" \
13305 $(TARGET-stage2-isl)
13307 maybe-clean-stage2-isl: clean-stage2-isl
13308 clean-stage2: clean-stage2-isl
13309 clean-stage2-isl:
13310 @if [ $(current_stage) = stage2 ]; then \
13311 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13312 else \
13313 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13314 $(MAKE) stage2-start; \
13315 fi; \
13316 cd $(HOST_SUBDIR)/isl && \
13317 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13318 @endif isl-bootstrap
13321 .PHONY: all-stage3-isl maybe-all-stage3-isl
13322 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13323 maybe-all-stage3-isl:
13324 maybe-clean-stage3-isl:
13325 @if isl-bootstrap
13326 maybe-all-stage3-isl: all-stage3-isl
13327 all-stage3: all-stage3-isl
13328 TARGET-stage3-isl = $(TARGET-isl)
13329 all-stage3-isl: configure-stage3-isl
13330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13331 @r=`${PWD_COMMAND}`; export r; \
13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13333 TFLAGS="$(STAGE3_TFLAGS)"; \
13334 $(HOST_EXPORTS) \
13335 $(POSTSTAGE1_HOST_EXPORTS) \
13336 cd $(HOST_SUBDIR)/isl && \
13337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13338 CFLAGS="$(STAGE3_CFLAGS)" \
13339 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13340 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13345 TFLAGS="$(STAGE3_TFLAGS)" \
13346 $(TARGET-stage3-isl)
13348 maybe-clean-stage3-isl: clean-stage3-isl
13349 clean-stage3: clean-stage3-isl
13350 clean-stage3-isl:
13351 @if [ $(current_stage) = stage3 ]; then \
13352 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13353 else \
13354 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13355 $(MAKE) stage3-start; \
13356 fi; \
13357 cd $(HOST_SUBDIR)/isl && \
13358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13359 @endif isl-bootstrap
13362 .PHONY: all-stage4-isl maybe-all-stage4-isl
13363 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13364 maybe-all-stage4-isl:
13365 maybe-clean-stage4-isl:
13366 @if isl-bootstrap
13367 maybe-all-stage4-isl: all-stage4-isl
13368 all-stage4: all-stage4-isl
13369 TARGET-stage4-isl = $(TARGET-isl)
13370 all-stage4-isl: configure-stage4-isl
13371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13372 @r=`${PWD_COMMAND}`; export r; \
13373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13374 TFLAGS="$(STAGE4_TFLAGS)"; \
13375 $(HOST_EXPORTS) \
13376 $(POSTSTAGE1_HOST_EXPORTS) \
13377 cd $(HOST_SUBDIR)/isl && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13379 CFLAGS="$(STAGE4_CFLAGS)" \
13380 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13381 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13386 TFLAGS="$(STAGE4_TFLAGS)" \
13387 $(TARGET-stage4-isl)
13389 maybe-clean-stage4-isl: clean-stage4-isl
13390 clean-stage4: clean-stage4-isl
13391 clean-stage4-isl:
13392 @if [ $(current_stage) = stage4 ]; then \
13393 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13394 else \
13395 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13396 $(MAKE) stage4-start; \
13397 fi; \
13398 cd $(HOST_SUBDIR)/isl && \
13399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13400 @endif isl-bootstrap
13403 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13404 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13405 maybe-all-stageprofile-isl:
13406 maybe-clean-stageprofile-isl:
13407 @if isl-bootstrap
13408 maybe-all-stageprofile-isl: all-stageprofile-isl
13409 all-stageprofile: all-stageprofile-isl
13410 TARGET-stageprofile-isl = $(TARGET-isl)
13411 all-stageprofile-isl: configure-stageprofile-isl
13412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13413 @r=`${PWD_COMMAND}`; export r; \
13414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13415 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13416 $(HOST_EXPORTS) \
13417 $(POSTSTAGE1_HOST_EXPORTS) \
13418 cd $(HOST_SUBDIR)/isl && \
13419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13420 CFLAGS="$(STAGEprofile_CFLAGS)" \
13421 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13422 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13426 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13427 TFLAGS="$(STAGEprofile_TFLAGS)" \
13428 $(TARGET-stageprofile-isl)
13430 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13431 clean-stageprofile: clean-stageprofile-isl
13432 clean-stageprofile-isl:
13433 @if [ $(current_stage) = stageprofile ]; then \
13434 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13435 else \
13436 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13437 $(MAKE) stageprofile-start; \
13438 fi; \
13439 cd $(HOST_SUBDIR)/isl && \
13440 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13441 @endif isl-bootstrap
13444 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13445 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13446 maybe-all-stagefeedback-isl:
13447 maybe-clean-stagefeedback-isl:
13448 @if isl-bootstrap
13449 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13450 all-stagefeedback: all-stagefeedback-isl
13451 TARGET-stagefeedback-isl = $(TARGET-isl)
13452 all-stagefeedback-isl: configure-stagefeedback-isl
13453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13454 @r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13457 $(HOST_EXPORTS) \
13458 $(POSTSTAGE1_HOST_EXPORTS) \
13459 cd $(HOST_SUBDIR)/isl && \
13460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13461 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13462 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13463 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13468 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13469 $(TARGET-stagefeedback-isl)
13471 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13472 clean-stagefeedback: clean-stagefeedback-isl
13473 clean-stagefeedback-isl:
13474 @if [ $(current_stage) = stagefeedback ]; then \
13475 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13476 else \
13477 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13478 $(MAKE) stagefeedback-start; \
13479 fi; \
13480 cd $(HOST_SUBDIR)/isl && \
13481 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13482 @endif isl-bootstrap
13488 .PHONY: check-isl maybe-check-isl
13489 maybe-check-isl:
13490 @if isl
13491 maybe-check-isl: check-isl
13493 check-isl:
13494 @: $(MAKE); $(unstage)
13495 @r=`${PWD_COMMAND}`; export r; \
13496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13497 $(HOST_EXPORTS) \
13498 (cd $(HOST_SUBDIR)/isl && \
13499 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13501 @endif isl
13503 .PHONY: install-isl maybe-install-isl
13504 maybe-install-isl:
13505 @if isl
13506 maybe-install-isl: install-isl
13508 install-isl:
13510 @endif isl
13512 .PHONY: install-strip-isl maybe-install-strip-isl
13513 maybe-install-strip-isl:
13514 @if isl
13515 maybe-install-strip-isl: install-strip-isl
13517 install-strip-isl:
13519 @endif isl
13521 # Other targets (info, dvi, pdf, etc.)
13523 .PHONY: maybe-info-isl info-isl
13524 maybe-info-isl:
13525 @if isl
13526 maybe-info-isl: info-isl
13528 info-isl: \
13529 configure-isl
13530 @[ -f ./isl/Makefile ] || exit 0; \
13531 r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533 $(HOST_EXPORTS) \
13534 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13536 done; \
13537 echo "Doing info in isl" ; \
13538 (cd $(HOST_SUBDIR)/isl && \
13539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13541 "RANLIB=$${RANLIB}" \
13542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13543 info) \
13544 || exit 1
13546 @endif isl
13548 .PHONY: maybe-dvi-isl dvi-isl
13549 maybe-dvi-isl:
13550 @if isl
13551 maybe-dvi-isl: dvi-isl
13553 dvi-isl: \
13554 configure-isl
13555 @[ -f ./isl/Makefile ] || exit 0; \
13556 r=`${PWD_COMMAND}`; export r; \
13557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13558 $(HOST_EXPORTS) \
13559 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 echo "Doing dvi in isl" ; \
13563 (cd $(HOST_SUBDIR)/isl && \
13564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13566 "RANLIB=$${RANLIB}" \
13567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13568 dvi) \
13569 || exit 1
13571 @endif isl
13573 .PHONY: maybe-pdf-isl pdf-isl
13574 maybe-pdf-isl:
13575 @if isl
13576 maybe-pdf-isl: pdf-isl
13578 pdf-isl: \
13579 configure-isl
13580 @[ -f ./isl/Makefile ] || exit 0; \
13581 r=`${PWD_COMMAND}`; export r; \
13582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13583 $(HOST_EXPORTS) \
13584 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13586 done; \
13587 echo "Doing pdf in isl" ; \
13588 (cd $(HOST_SUBDIR)/isl && \
13589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13591 "RANLIB=$${RANLIB}" \
13592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13593 pdf) \
13594 || exit 1
13596 @endif isl
13598 .PHONY: maybe-html-isl html-isl
13599 maybe-html-isl:
13600 @if isl
13601 maybe-html-isl: html-isl
13603 html-isl: \
13604 configure-isl
13605 @[ -f ./isl/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(HOST_EXPORTS) \
13609 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611 done; \
13612 echo "Doing html in isl" ; \
13613 (cd $(HOST_SUBDIR)/isl && \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13618 html) \
13619 || exit 1
13621 @endif isl
13623 .PHONY: maybe-TAGS-isl TAGS-isl
13624 maybe-TAGS-isl:
13625 @if isl
13626 maybe-TAGS-isl: TAGS-isl
13628 TAGS-isl: \
13629 configure-isl
13630 @[ -f ./isl/Makefile ] || exit 0; \
13631 r=`${PWD_COMMAND}`; export r; \
13632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633 $(HOST_EXPORTS) \
13634 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13636 done; \
13637 echo "Doing TAGS in isl" ; \
13638 (cd $(HOST_SUBDIR)/isl && \
13639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13641 "RANLIB=$${RANLIB}" \
13642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13643 TAGS) \
13644 || exit 1
13646 @endif isl
13648 .PHONY: maybe-install-info-isl install-info-isl
13649 maybe-install-info-isl:
13650 @if isl
13651 maybe-install-info-isl: install-info-isl
13653 install-info-isl: \
13654 configure-isl \
13655 info-isl
13656 @[ -f ./isl/Makefile ] || exit 0; \
13657 r=`${PWD_COMMAND}`; export r; \
13658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13659 $(HOST_EXPORTS) \
13660 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13662 done; \
13663 echo "Doing install-info in isl" ; \
13664 (cd $(HOST_SUBDIR)/isl && \
13665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13667 "RANLIB=$${RANLIB}" \
13668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13669 install-info) \
13670 || exit 1
13672 @endif isl
13674 .PHONY: maybe-install-pdf-isl install-pdf-isl
13675 maybe-install-pdf-isl:
13676 @if isl
13677 maybe-install-pdf-isl: install-pdf-isl
13679 install-pdf-isl: \
13680 configure-isl \
13681 pdf-isl
13682 @[ -f ./isl/Makefile ] || exit 0; \
13683 r=`${PWD_COMMAND}`; export r; \
13684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13685 $(HOST_EXPORTS) \
13686 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13688 done; \
13689 echo "Doing install-pdf in isl" ; \
13690 (cd $(HOST_SUBDIR)/isl && \
13691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13693 "RANLIB=$${RANLIB}" \
13694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13695 install-pdf) \
13696 || exit 1
13698 @endif isl
13700 .PHONY: maybe-install-html-isl install-html-isl
13701 maybe-install-html-isl:
13702 @if isl
13703 maybe-install-html-isl: install-html-isl
13705 install-html-isl: \
13706 configure-isl \
13707 html-isl
13708 @[ -f ./isl/Makefile ] || exit 0; \
13709 r=`${PWD_COMMAND}`; export r; \
13710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13711 $(HOST_EXPORTS) \
13712 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13714 done; \
13715 echo "Doing install-html in isl" ; \
13716 (cd $(HOST_SUBDIR)/isl && \
13717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13719 "RANLIB=$${RANLIB}" \
13720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13721 install-html) \
13722 || exit 1
13724 @endif isl
13726 .PHONY: maybe-installcheck-isl installcheck-isl
13727 maybe-installcheck-isl:
13728 @if isl
13729 maybe-installcheck-isl: installcheck-isl
13731 installcheck-isl: \
13732 configure-isl
13733 @[ -f ./isl/Makefile ] || exit 0; \
13734 r=`${PWD_COMMAND}`; export r; \
13735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13736 $(HOST_EXPORTS) \
13737 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13739 done; \
13740 echo "Doing installcheck in isl" ; \
13741 (cd $(HOST_SUBDIR)/isl && \
13742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13744 "RANLIB=$${RANLIB}" \
13745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13746 installcheck) \
13747 || exit 1
13749 @endif isl
13751 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13752 maybe-mostlyclean-isl:
13753 @if isl
13754 maybe-mostlyclean-isl: mostlyclean-isl
13756 mostlyclean-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 mostlyclean 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 mostlyclean) \
13771 || exit 1
13773 @endif isl
13775 .PHONY: maybe-clean-isl clean-isl
13776 maybe-clean-isl:
13777 @if isl
13778 maybe-clean-isl: clean-isl
13780 clean-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 clean 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 clean) \
13795 || exit 1
13797 @endif isl
13799 .PHONY: maybe-distclean-isl distclean-isl
13800 maybe-distclean-isl:
13801 @if isl
13802 maybe-distclean-isl: distclean-isl
13804 distclean-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 distclean 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 distclean) \
13819 || exit 1
13821 @endif isl
13823 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13824 maybe-maintainer-clean-isl:
13825 @if isl
13826 maybe-maintainer-clean-isl: maintainer-clean-isl
13828 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
13843 || exit 1
13845 @endif isl
13849 .PHONY: configure-cloog maybe-configure-cloog
13850 maybe-configure-cloog:
13851 @if gcc-bootstrap
13852 configure-cloog: stage_current
13853 @endif gcc-bootstrap
13854 @if cloog
13855 maybe-configure-cloog: configure-cloog
13856 configure-cloog:
13857 @r=`${PWD_COMMAND}`; export r; \
13858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13859 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13861 $(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; \
13862 echo Configuring in $(HOST_SUBDIR)/cloog; \
13863 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13864 case $(srcdir) in \
13865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13866 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13868 esac; \
13869 srcdiroption="--srcdir=$${topdir}/cloog"; \
13870 libsrcdir="$$s/cloog"; \
13871 $(SHELL) $${libsrcdir}/configure \
13872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13873 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13874 || exit 1
13875 @endif cloog
13879 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13880 maybe-configure-stage1-cloog:
13881 @if cloog-bootstrap
13882 maybe-configure-stage1-cloog: configure-stage1-cloog
13883 configure-stage1-cloog:
13884 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13886 @r=`${PWD_COMMAND}`; export r; \
13887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13888 TFLAGS="$(STAGE1_TFLAGS)"; \
13889 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13890 $(HOST_EXPORTS) \
13891 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13892 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13893 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; \
13894 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13896 cd $(HOST_SUBDIR)/cloog || exit 1; \
13897 case $(srcdir) in \
13898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13899 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13901 esac; \
13902 srcdiroption="--srcdir=$${topdir}/cloog"; \
13903 libsrcdir="$$s/cloog"; \
13904 $(SHELL) $${libsrcdir}/configure \
13905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13906 --target=${target_alias} $${srcdiroption} \
13907 $(STAGE1_CONFIGURE_FLAGS) \
13908 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13909 @endif cloog-bootstrap
13911 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13912 maybe-configure-stage2-cloog:
13913 @if cloog-bootstrap
13914 maybe-configure-stage2-cloog: configure-stage2-cloog
13915 configure-stage2-cloog:
13916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13918 @r=`${PWD_COMMAND}`; export r; \
13919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13920 TFLAGS="$(STAGE2_TFLAGS)"; \
13921 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13922 $(HOST_EXPORTS) \
13923 $(POSTSTAGE1_HOST_EXPORTS) \
13924 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13925 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13926 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; \
13927 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13929 cd $(HOST_SUBDIR)/cloog || exit 1; \
13930 case $(srcdir) in \
13931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13932 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13934 esac; \
13935 srcdiroption="--srcdir=$${topdir}/cloog"; \
13936 libsrcdir="$$s/cloog"; \
13937 $(SHELL) $${libsrcdir}/configure \
13938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13939 --target=${target_alias} $${srcdiroption} \
13940 --with-build-libsubdir=$(HOST_SUBDIR) \
13941 $(STAGE2_CONFIGURE_FLAGS) \
13942 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13943 @endif cloog-bootstrap
13945 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13946 maybe-configure-stage3-cloog:
13947 @if cloog-bootstrap
13948 maybe-configure-stage3-cloog: configure-stage3-cloog
13949 configure-stage3-cloog:
13950 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13952 @r=`${PWD_COMMAND}`; export r; \
13953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13954 TFLAGS="$(STAGE3_TFLAGS)"; \
13955 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13956 $(HOST_EXPORTS) \
13957 $(POSTSTAGE1_HOST_EXPORTS) \
13958 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13959 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13960 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; \
13961 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13963 cd $(HOST_SUBDIR)/cloog || exit 1; \
13964 case $(srcdir) in \
13965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13966 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13968 esac; \
13969 srcdiroption="--srcdir=$${topdir}/cloog"; \
13970 libsrcdir="$$s/cloog"; \
13971 $(SHELL) $${libsrcdir}/configure \
13972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13973 --target=${target_alias} $${srcdiroption} \
13974 --with-build-libsubdir=$(HOST_SUBDIR) \
13975 $(STAGE3_CONFIGURE_FLAGS) \
13976 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13977 @endif cloog-bootstrap
13979 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13980 maybe-configure-stage4-cloog:
13981 @if cloog-bootstrap
13982 maybe-configure-stage4-cloog: configure-stage4-cloog
13983 configure-stage4-cloog:
13984 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13986 @r=`${PWD_COMMAND}`; export r; \
13987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13988 TFLAGS="$(STAGE4_TFLAGS)"; \
13989 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13990 $(HOST_EXPORTS) \
13991 $(POSTSTAGE1_HOST_EXPORTS) \
13992 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13993 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13994 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; \
13995 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13997 cd $(HOST_SUBDIR)/cloog || exit 1; \
13998 case $(srcdir) in \
13999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14000 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14002 esac; \
14003 srcdiroption="--srcdir=$${topdir}/cloog"; \
14004 libsrcdir="$$s/cloog"; \
14005 $(SHELL) $${libsrcdir}/configure \
14006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14007 --target=${target_alias} $${srcdiroption} \
14008 --with-build-libsubdir=$(HOST_SUBDIR) \
14009 $(STAGE4_CONFIGURE_FLAGS) \
14010 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14011 @endif cloog-bootstrap
14013 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14014 maybe-configure-stageprofile-cloog:
14015 @if cloog-bootstrap
14016 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14017 configure-stageprofile-cloog:
14018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14020 @r=`${PWD_COMMAND}`; export r; \
14021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14022 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14023 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14024 $(HOST_EXPORTS) \
14025 $(POSTSTAGE1_HOST_EXPORTS) \
14026 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14027 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14028 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; \
14029 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14031 cd $(HOST_SUBDIR)/cloog || exit 1; \
14032 case $(srcdir) in \
14033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14034 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14036 esac; \
14037 srcdiroption="--srcdir=$${topdir}/cloog"; \
14038 libsrcdir="$$s/cloog"; \
14039 $(SHELL) $${libsrcdir}/configure \
14040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14041 --target=${target_alias} $${srcdiroption} \
14042 --with-build-libsubdir=$(HOST_SUBDIR) \
14043 $(STAGEprofile_CONFIGURE_FLAGS) \
14044 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14045 @endif cloog-bootstrap
14047 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14048 maybe-configure-stagefeedback-cloog:
14049 @if cloog-bootstrap
14050 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14051 configure-stagefeedback-cloog:
14052 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14054 @r=`${PWD_COMMAND}`; export r; \
14055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14056 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14057 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14058 $(HOST_EXPORTS) \
14059 $(POSTSTAGE1_HOST_EXPORTS) \
14060 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14061 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14062 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; \
14063 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14065 cd $(HOST_SUBDIR)/cloog || exit 1; \
14066 case $(srcdir) in \
14067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14068 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14070 esac; \
14071 srcdiroption="--srcdir=$${topdir}/cloog"; \
14072 libsrcdir="$$s/cloog"; \
14073 $(SHELL) $${libsrcdir}/configure \
14074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14075 --target=${target_alias} $${srcdiroption} \
14076 --with-build-libsubdir=$(HOST_SUBDIR) \
14077 $(STAGEfeedback_CONFIGURE_FLAGS) \
14078 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14079 @endif cloog-bootstrap
14085 .PHONY: all-cloog maybe-all-cloog
14086 maybe-all-cloog:
14087 @if gcc-bootstrap
14088 all-cloog: stage_current
14089 @endif gcc-bootstrap
14090 @if cloog
14091 TARGET-cloog=all
14092 maybe-all-cloog: all-cloog
14093 all-cloog: configure-cloog
14094 @r=`${PWD_COMMAND}`; export r; \
14095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14096 $(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; \
14097 (cd $(HOST_SUBDIR)/cloog && \
14098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14099 $(TARGET-cloog))
14100 @endif cloog
14104 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14105 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14106 maybe-all-stage1-cloog:
14107 maybe-clean-stage1-cloog:
14108 @if cloog-bootstrap
14109 maybe-all-stage1-cloog: all-stage1-cloog
14110 all-stage1: all-stage1-cloog
14111 TARGET-stage1-cloog = $(TARGET-cloog)
14112 all-stage1-cloog: configure-stage1-cloog
14113 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14114 @r=`${PWD_COMMAND}`; export r; \
14115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14116 TFLAGS="$(STAGE1_TFLAGS)"; \
14117 $(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; \
14118 cd $(HOST_SUBDIR)/cloog && \
14119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14120 CFLAGS="$(STAGE1_CFLAGS)" \
14121 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14122 LIBCFLAGS="$(LIBCFLAGS)" \
14123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14126 $(EXTRA_HOST_FLAGS) \
14127 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14128 TFLAGS="$(STAGE1_TFLAGS)" \
14129 $(TARGET-stage1-cloog)
14131 maybe-clean-stage1-cloog: clean-stage1-cloog
14132 clean-stage1: clean-stage1-cloog
14133 clean-stage1-cloog:
14134 @if [ $(current_stage) = stage1 ]; then \
14135 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14136 else \
14137 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14138 $(MAKE) stage1-start; \
14139 fi; \
14140 cd $(HOST_SUBDIR)/cloog && \
14141 $(MAKE) $(EXTRA_HOST_FLAGS) \
14142 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14143 @endif cloog-bootstrap
14146 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14147 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14148 maybe-all-stage2-cloog:
14149 maybe-clean-stage2-cloog:
14150 @if cloog-bootstrap
14151 maybe-all-stage2-cloog: all-stage2-cloog
14152 all-stage2: all-stage2-cloog
14153 TARGET-stage2-cloog = $(TARGET-cloog)
14154 all-stage2-cloog: configure-stage2-cloog
14155 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14156 @r=`${PWD_COMMAND}`; export r; \
14157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14158 TFLAGS="$(STAGE2_TFLAGS)"; \
14159 $(HOST_EXPORTS) \
14160 $(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; \
14161 cd $(HOST_SUBDIR)/cloog && \
14162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14163 CFLAGS="$(STAGE2_CFLAGS)" \
14164 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14165 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14170 TFLAGS="$(STAGE2_TFLAGS)" \
14171 $(TARGET-stage2-cloog)
14173 maybe-clean-stage2-cloog: clean-stage2-cloog
14174 clean-stage2: clean-stage2-cloog
14175 clean-stage2-cloog:
14176 @if [ $(current_stage) = stage2 ]; then \
14177 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14178 else \
14179 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14180 $(MAKE) stage2-start; \
14181 fi; \
14182 cd $(HOST_SUBDIR)/cloog && \
14183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14184 @endif cloog-bootstrap
14187 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14188 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14189 maybe-all-stage3-cloog:
14190 maybe-clean-stage3-cloog:
14191 @if cloog-bootstrap
14192 maybe-all-stage3-cloog: all-stage3-cloog
14193 all-stage3: all-stage3-cloog
14194 TARGET-stage3-cloog = $(TARGET-cloog)
14195 all-stage3-cloog: configure-stage3-cloog
14196 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14197 @r=`${PWD_COMMAND}`; export r; \
14198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14199 TFLAGS="$(STAGE3_TFLAGS)"; \
14200 $(HOST_EXPORTS) \
14201 $(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; \
14202 cd $(HOST_SUBDIR)/cloog && \
14203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14204 CFLAGS="$(STAGE3_CFLAGS)" \
14205 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14206 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14211 TFLAGS="$(STAGE3_TFLAGS)" \
14212 $(TARGET-stage3-cloog)
14214 maybe-clean-stage3-cloog: clean-stage3-cloog
14215 clean-stage3: clean-stage3-cloog
14216 clean-stage3-cloog:
14217 @if [ $(current_stage) = stage3 ]; then \
14218 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14219 else \
14220 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14221 $(MAKE) stage3-start; \
14222 fi; \
14223 cd $(HOST_SUBDIR)/cloog && \
14224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14225 @endif cloog-bootstrap
14228 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14229 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14230 maybe-all-stage4-cloog:
14231 maybe-clean-stage4-cloog:
14232 @if cloog-bootstrap
14233 maybe-all-stage4-cloog: all-stage4-cloog
14234 all-stage4: all-stage4-cloog
14235 TARGET-stage4-cloog = $(TARGET-cloog)
14236 all-stage4-cloog: configure-stage4-cloog
14237 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14238 @r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 TFLAGS="$(STAGE4_TFLAGS)"; \
14241 $(HOST_EXPORTS) \
14242 $(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; \
14243 cd $(HOST_SUBDIR)/cloog && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14245 CFLAGS="$(STAGE4_CFLAGS)" \
14246 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14247 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14252 TFLAGS="$(STAGE4_TFLAGS)" \
14253 $(TARGET-stage4-cloog)
14255 maybe-clean-stage4-cloog: clean-stage4-cloog
14256 clean-stage4: clean-stage4-cloog
14257 clean-stage4-cloog:
14258 @if [ $(current_stage) = stage4 ]; then \
14259 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14260 else \
14261 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14262 $(MAKE) stage4-start; \
14263 fi; \
14264 cd $(HOST_SUBDIR)/cloog && \
14265 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14266 @endif cloog-bootstrap
14269 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14270 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14271 maybe-all-stageprofile-cloog:
14272 maybe-clean-stageprofile-cloog:
14273 @if cloog-bootstrap
14274 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14275 all-stageprofile: all-stageprofile-cloog
14276 TARGET-stageprofile-cloog = $(TARGET-cloog)
14277 all-stageprofile-cloog: configure-stageprofile-cloog
14278 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14279 @r=`${PWD_COMMAND}`; export r; \
14280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14281 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14282 $(HOST_EXPORTS) \
14283 $(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; \
14284 cd $(HOST_SUBDIR)/cloog && \
14285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14286 CFLAGS="$(STAGEprofile_CFLAGS)" \
14287 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14288 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14292 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14293 TFLAGS="$(STAGEprofile_TFLAGS)" \
14294 $(TARGET-stageprofile-cloog)
14296 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14297 clean-stageprofile: clean-stageprofile-cloog
14298 clean-stageprofile-cloog:
14299 @if [ $(current_stage) = stageprofile ]; then \
14300 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14301 else \
14302 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14303 $(MAKE) stageprofile-start; \
14304 fi; \
14305 cd $(HOST_SUBDIR)/cloog && \
14306 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14307 @endif cloog-bootstrap
14310 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14311 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14312 maybe-all-stagefeedback-cloog:
14313 maybe-clean-stagefeedback-cloog:
14314 @if cloog-bootstrap
14315 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14316 all-stagefeedback: all-stagefeedback-cloog
14317 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14318 all-stagefeedback-cloog: configure-stagefeedback-cloog
14319 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14320 @r=`${PWD_COMMAND}`; export r; \
14321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14322 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14323 $(HOST_EXPORTS) \
14324 $(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; \
14325 cd $(HOST_SUBDIR)/cloog && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14327 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14328 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14329 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14334 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14335 $(TARGET-stagefeedback-cloog)
14337 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14338 clean-stagefeedback: clean-stagefeedback-cloog
14339 clean-stagefeedback-cloog:
14340 @if [ $(current_stage) = stagefeedback ]; then \
14341 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14342 else \
14343 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14344 $(MAKE) stagefeedback-start; \
14345 fi; \
14346 cd $(HOST_SUBDIR)/cloog && \
14347 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14348 @endif cloog-bootstrap
14354 .PHONY: check-cloog maybe-check-cloog
14355 maybe-check-cloog:
14356 @if cloog
14357 maybe-check-cloog: check-cloog
14359 check-cloog:
14360 @: $(MAKE); $(unstage)
14361 @r=`${PWD_COMMAND}`; export r; \
14362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14363 $(HOST_EXPORTS) \
14364 (cd $(HOST_SUBDIR)/cloog && \
14365 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14367 @endif cloog
14369 .PHONY: install-cloog maybe-install-cloog
14370 maybe-install-cloog:
14371 @if cloog
14372 maybe-install-cloog: install-cloog
14374 install-cloog:
14376 @endif cloog
14378 .PHONY: install-strip-cloog maybe-install-strip-cloog
14379 maybe-install-strip-cloog:
14380 @if cloog
14381 maybe-install-strip-cloog: install-strip-cloog
14383 install-strip-cloog:
14385 @endif cloog
14387 # Other targets (info, dvi, pdf, etc.)
14389 .PHONY: maybe-info-cloog info-cloog
14390 maybe-info-cloog:
14391 @if cloog
14392 maybe-info-cloog: info-cloog
14394 info-cloog: \
14395 configure-cloog
14396 @[ -f ./cloog/Makefile ] || exit 0; \
14397 r=`${PWD_COMMAND}`; export r; \
14398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14399 $(HOST_EXPORTS) \
14400 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14402 done; \
14403 echo "Doing info in cloog" ; \
14404 (cd $(HOST_SUBDIR)/cloog && \
14405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14407 "RANLIB=$${RANLIB}" \
14408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14409 info) \
14410 || exit 1
14412 @endif cloog
14414 .PHONY: maybe-dvi-cloog dvi-cloog
14415 maybe-dvi-cloog:
14416 @if cloog
14417 maybe-dvi-cloog: dvi-cloog
14419 dvi-cloog: \
14420 configure-cloog
14421 @[ -f ./cloog/Makefile ] || exit 0; \
14422 r=`${PWD_COMMAND}`; export r; \
14423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424 $(HOST_EXPORTS) \
14425 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14427 done; \
14428 echo "Doing dvi in cloog" ; \
14429 (cd $(HOST_SUBDIR)/cloog && \
14430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14432 "RANLIB=$${RANLIB}" \
14433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14434 dvi) \
14435 || exit 1
14437 @endif cloog
14439 .PHONY: maybe-pdf-cloog pdf-cloog
14440 maybe-pdf-cloog:
14441 @if cloog
14442 maybe-pdf-cloog: pdf-cloog
14444 pdf-cloog: \
14445 configure-cloog
14446 @[ -f ./cloog/Makefile ] || exit 0; \
14447 r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 $(HOST_EXPORTS) \
14450 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14452 done; \
14453 echo "Doing pdf in cloog" ; \
14454 (cd $(HOST_SUBDIR)/cloog && \
14455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457 "RANLIB=$${RANLIB}" \
14458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14459 pdf) \
14460 || exit 1
14462 @endif cloog
14464 .PHONY: maybe-html-cloog html-cloog
14465 maybe-html-cloog:
14466 @if cloog
14467 maybe-html-cloog: html-cloog
14469 html-cloog: \
14470 configure-cloog
14471 @[ -f ./cloog/Makefile ] || exit 0; \
14472 r=`${PWD_COMMAND}`; export r; \
14473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 $(HOST_EXPORTS) \
14475 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14477 done; \
14478 echo "Doing html in cloog" ; \
14479 (cd $(HOST_SUBDIR)/cloog && \
14480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14482 "RANLIB=$${RANLIB}" \
14483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14484 html) \
14485 || exit 1
14487 @endif cloog
14489 .PHONY: maybe-TAGS-cloog TAGS-cloog
14490 maybe-TAGS-cloog:
14491 @if cloog
14492 maybe-TAGS-cloog: TAGS-cloog
14494 TAGS-cloog: \
14495 configure-cloog
14496 @[ -f ./cloog/Makefile ] || exit 0; \
14497 r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 $(HOST_EXPORTS) \
14500 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14502 done; \
14503 echo "Doing TAGS in cloog" ; \
14504 (cd $(HOST_SUBDIR)/cloog && \
14505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14507 "RANLIB=$${RANLIB}" \
14508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14509 TAGS) \
14510 || exit 1
14512 @endif cloog
14514 .PHONY: maybe-install-info-cloog install-info-cloog
14515 maybe-install-info-cloog:
14516 @if cloog
14517 maybe-install-info-cloog: install-info-cloog
14519 install-info-cloog: \
14520 configure-cloog \
14521 info-cloog
14522 @[ -f ./cloog/Makefile ] || exit 0; \
14523 r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 $(HOST_EXPORTS) \
14526 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14528 done; \
14529 echo "Doing install-info in cloog" ; \
14530 (cd $(HOST_SUBDIR)/cloog && \
14531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14533 "RANLIB=$${RANLIB}" \
14534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14535 install-info) \
14536 || exit 1
14538 @endif cloog
14540 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14541 maybe-install-pdf-cloog:
14542 @if cloog
14543 maybe-install-pdf-cloog: install-pdf-cloog
14545 install-pdf-cloog: \
14546 configure-cloog \
14547 pdf-cloog
14548 @[ -f ./cloog/Makefile ] || exit 0; \
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 $(HOST_EXPORTS) \
14552 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14554 done; \
14555 echo "Doing install-pdf in cloog" ; \
14556 (cd $(HOST_SUBDIR)/cloog && \
14557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14559 "RANLIB=$${RANLIB}" \
14560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14561 install-pdf) \
14562 || exit 1
14564 @endif cloog
14566 .PHONY: maybe-install-html-cloog install-html-cloog
14567 maybe-install-html-cloog:
14568 @if cloog
14569 maybe-install-html-cloog: install-html-cloog
14571 install-html-cloog: \
14572 configure-cloog \
14573 html-cloog
14574 @[ -f ./cloog/Makefile ] || exit 0; \
14575 r=`${PWD_COMMAND}`; export r; \
14576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14577 $(HOST_EXPORTS) \
14578 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14580 done; \
14581 echo "Doing install-html in cloog" ; \
14582 (cd $(HOST_SUBDIR)/cloog && \
14583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14585 "RANLIB=$${RANLIB}" \
14586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14587 install-html) \
14588 || exit 1
14590 @endif cloog
14592 .PHONY: maybe-installcheck-cloog installcheck-cloog
14593 maybe-installcheck-cloog:
14594 @if cloog
14595 maybe-installcheck-cloog: installcheck-cloog
14597 installcheck-cloog: \
14598 configure-cloog
14599 @[ -f ./cloog/Makefile ] || exit 0; \
14600 r=`${PWD_COMMAND}`; export r; \
14601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14602 $(HOST_EXPORTS) \
14603 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14605 done; \
14606 echo "Doing installcheck in cloog" ; \
14607 (cd $(HOST_SUBDIR)/cloog && \
14608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14610 "RANLIB=$${RANLIB}" \
14611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14612 installcheck) \
14613 || exit 1
14615 @endif cloog
14617 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14618 maybe-mostlyclean-cloog:
14619 @if cloog
14620 maybe-mostlyclean-cloog: mostlyclean-cloog
14622 mostlyclean-cloog:
14623 @[ -f ./cloog/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 $(HOST_EXPORTS) \
14627 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629 done; \
14630 echo "Doing mostlyclean in cloog" ; \
14631 (cd $(HOST_SUBDIR)/cloog && \
14632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634 "RANLIB=$${RANLIB}" \
14635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14636 mostlyclean) \
14637 || exit 1
14639 @endif cloog
14641 .PHONY: maybe-clean-cloog clean-cloog
14642 maybe-clean-cloog:
14643 @if cloog
14644 maybe-clean-cloog: clean-cloog
14646 clean-cloog:
14647 @[ -f ./cloog/Makefile ] || exit 0; \
14648 r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 $(HOST_EXPORTS) \
14651 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653 done; \
14654 echo "Doing clean in cloog" ; \
14655 (cd $(HOST_SUBDIR)/cloog && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14660 clean) \
14661 || exit 1
14663 @endif cloog
14665 .PHONY: maybe-distclean-cloog distclean-cloog
14666 maybe-distclean-cloog:
14667 @if cloog
14668 maybe-distclean-cloog: distclean-cloog
14670 distclean-cloog:
14671 @[ -f ./cloog/Makefile ] || exit 0; \
14672 r=`${PWD_COMMAND}`; export r; \
14673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674 $(HOST_EXPORTS) \
14675 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14677 done; \
14678 echo "Doing distclean in cloog" ; \
14679 (cd $(HOST_SUBDIR)/cloog && \
14680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14682 "RANLIB=$${RANLIB}" \
14683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14684 distclean) \
14685 || exit 1
14687 @endif cloog
14689 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14690 maybe-maintainer-clean-cloog:
14691 @if cloog
14692 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14694 maintainer-clean-cloog:
14695 @[ -f ./cloog/Makefile ] || exit 0; \
14696 r=`${PWD_COMMAND}`; export r; \
14697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14698 $(HOST_EXPORTS) \
14699 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14701 done; \
14702 echo "Doing maintainer-clean in cloog" ; \
14703 (cd $(HOST_SUBDIR)/cloog && \
14704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14706 "RANLIB=$${RANLIB}" \
14707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14708 maintainer-clean) \
14709 || exit 1
14711 @endif cloog
14715 .PHONY: configure-libelf maybe-configure-libelf
14716 maybe-configure-libelf:
14717 @if gcc-bootstrap
14718 configure-libelf: stage_current
14719 @endif gcc-bootstrap
14720 @if libelf
14721 maybe-configure-libelf: configure-libelf
14722 configure-libelf:
14723 @r=`${PWD_COMMAND}`; export r; \
14724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14725 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14727 $(HOST_EXPORTS) \
14728 echo Configuring in $(HOST_SUBDIR)/libelf; \
14729 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14730 case $(srcdir) in \
14731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14732 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14734 esac; \
14735 srcdiroption="--srcdir=$${topdir}/libelf"; \
14736 libsrcdir="$$s/libelf"; \
14737 $(SHELL) $${libsrcdir}/configure \
14738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14739 --target=${target_alias} $${srcdiroption} --disable-shared \
14740 || exit 1
14741 @endif libelf
14745 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14746 maybe-configure-stage1-libelf:
14747 @if libelf-bootstrap
14748 maybe-configure-stage1-libelf: configure-stage1-libelf
14749 configure-stage1-libelf:
14750 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14752 @r=`${PWD_COMMAND}`; export r; \
14753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14754 TFLAGS="$(STAGE1_TFLAGS)"; \
14755 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14756 $(HOST_EXPORTS) \
14757 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14758 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14759 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14760 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14761 $(SHELL) $(srcdir)/mkinstalldirs $(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} \
14773 $(STAGE1_CONFIGURE_FLAGS) \
14774 --disable-shared
14775 @endif libelf-bootstrap
14777 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14778 maybe-configure-stage2-libelf:
14779 @if libelf-bootstrap
14780 maybe-configure-stage2-libelf: configure-stage2-libelf
14781 configure-stage2-libelf:
14782 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14784 @r=`${PWD_COMMAND}`; export r; \
14785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14786 TFLAGS="$(STAGE2_TFLAGS)"; \
14787 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14788 $(HOST_EXPORTS) \
14789 $(POSTSTAGE1_HOST_EXPORTS) \
14790 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14791 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14792 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14793 echo Configuring stage 2 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 --with-build-libsubdir=$(HOST_SUBDIR) \
14807 $(STAGE2_CONFIGURE_FLAGS) \
14808 --disable-shared
14809 @endif libelf-bootstrap
14811 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14812 maybe-configure-stage3-libelf:
14813 @if libelf-bootstrap
14814 maybe-configure-stage3-libelf: configure-stage3-libelf
14815 configure-stage3-libelf:
14816 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14818 @r=`${PWD_COMMAND}`; export r; \
14819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 TFLAGS="$(STAGE3_TFLAGS)"; \
14821 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14822 $(HOST_EXPORTS) \
14823 $(POSTSTAGE1_HOST_EXPORTS) \
14824 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14825 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14826 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14827 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14829 cd $(HOST_SUBDIR)/libelf || exit 1; \
14830 case $(srcdir) in \
14831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14832 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14834 esac; \
14835 srcdiroption="--srcdir=$${topdir}/libelf"; \
14836 libsrcdir="$$s/libelf"; \
14837 $(SHELL) $${libsrcdir}/configure \
14838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14839 --target=${target_alias} $${srcdiroption} \
14840 --with-build-libsubdir=$(HOST_SUBDIR) \
14841 $(STAGE3_CONFIGURE_FLAGS) \
14842 --disable-shared
14843 @endif libelf-bootstrap
14845 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14846 maybe-configure-stage4-libelf:
14847 @if libelf-bootstrap
14848 maybe-configure-stage4-libelf: configure-stage4-libelf
14849 configure-stage4-libelf:
14850 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14852 @r=`${PWD_COMMAND}`; export r; \
14853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14854 TFLAGS="$(STAGE4_TFLAGS)"; \
14855 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14856 $(HOST_EXPORTS) \
14857 $(POSTSTAGE1_HOST_EXPORTS) \
14858 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14859 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14860 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14861 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14863 cd $(HOST_SUBDIR)/libelf || exit 1; \
14864 case $(srcdir) in \
14865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14866 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14868 esac; \
14869 srcdiroption="--srcdir=$${topdir}/libelf"; \
14870 libsrcdir="$$s/libelf"; \
14871 $(SHELL) $${libsrcdir}/configure \
14872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14873 --target=${target_alias} $${srcdiroption} \
14874 --with-build-libsubdir=$(HOST_SUBDIR) \
14875 $(STAGE4_CONFIGURE_FLAGS) \
14876 --disable-shared
14877 @endif libelf-bootstrap
14879 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14880 maybe-configure-stageprofile-libelf:
14881 @if libelf-bootstrap
14882 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14883 configure-stageprofile-libelf:
14884 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14886 @r=`${PWD_COMMAND}`; export r; \
14887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14888 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14889 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14890 $(HOST_EXPORTS) \
14891 $(POSTSTAGE1_HOST_EXPORTS) \
14892 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14893 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14894 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14895 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14897 cd $(HOST_SUBDIR)/libelf || exit 1; \
14898 case $(srcdir) in \
14899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14900 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14902 esac; \
14903 srcdiroption="--srcdir=$${topdir}/libelf"; \
14904 libsrcdir="$$s/libelf"; \
14905 $(SHELL) $${libsrcdir}/configure \
14906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14907 --target=${target_alias} $${srcdiroption} \
14908 --with-build-libsubdir=$(HOST_SUBDIR) \
14909 $(STAGEprofile_CONFIGURE_FLAGS) \
14910 --disable-shared
14911 @endif libelf-bootstrap
14913 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14914 maybe-configure-stagefeedback-libelf:
14915 @if libelf-bootstrap
14916 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14917 configure-stagefeedback-libelf:
14918 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14920 @r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14923 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14924 $(HOST_EXPORTS) \
14925 $(POSTSTAGE1_HOST_EXPORTS) \
14926 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14927 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14928 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14929 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14931 cd $(HOST_SUBDIR)/libelf || exit 1; \
14932 case $(srcdir) in \
14933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14934 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14936 esac; \
14937 srcdiroption="--srcdir=$${topdir}/libelf"; \
14938 libsrcdir="$$s/libelf"; \
14939 $(SHELL) $${libsrcdir}/configure \
14940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14941 --target=${target_alias} $${srcdiroption} \
14942 --with-build-libsubdir=$(HOST_SUBDIR) \
14943 $(STAGEfeedback_CONFIGURE_FLAGS) \
14944 --disable-shared
14945 @endif libelf-bootstrap
14951 .PHONY: all-libelf maybe-all-libelf
14952 maybe-all-libelf:
14953 @if gcc-bootstrap
14954 all-libelf: stage_current
14955 @endif gcc-bootstrap
14956 @if libelf
14957 TARGET-libelf=all
14958 maybe-all-libelf: all-libelf
14959 all-libelf: configure-libelf
14960 @r=`${PWD_COMMAND}`; export r; \
14961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14962 $(HOST_EXPORTS) \
14963 (cd $(HOST_SUBDIR)/libelf && \
14964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14965 $(TARGET-libelf))
14966 @endif libelf
14970 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14971 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14972 maybe-all-stage1-libelf:
14973 maybe-clean-stage1-libelf:
14974 @if libelf-bootstrap
14975 maybe-all-stage1-libelf: all-stage1-libelf
14976 all-stage1: all-stage1-libelf
14977 TARGET-stage1-libelf = $(TARGET-libelf)
14978 all-stage1-libelf: configure-stage1-libelf
14979 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14980 @r=`${PWD_COMMAND}`; export r; \
14981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14982 TFLAGS="$(STAGE1_TFLAGS)"; \
14983 $(HOST_EXPORTS) \
14984 cd $(HOST_SUBDIR)/libelf && \
14985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14986 CFLAGS="$(STAGE1_CFLAGS)" \
14987 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14988 LIBCFLAGS="$(LIBCFLAGS)" \
14989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14992 $(EXTRA_HOST_FLAGS) \
14993 $(STAGE1_FLAGS_TO_PASS) \
14994 TFLAGS="$(STAGE1_TFLAGS)" \
14995 $(TARGET-stage1-libelf)
14997 maybe-clean-stage1-libelf: clean-stage1-libelf
14998 clean-stage1: clean-stage1-libelf
14999 clean-stage1-libelf:
15000 @if [ $(current_stage) = stage1 ]; then \
15001 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15002 else \
15003 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15004 $(MAKE) stage1-start; \
15005 fi; \
15006 cd $(HOST_SUBDIR)/libelf && \
15007 $(MAKE) $(EXTRA_HOST_FLAGS) \
15008 $(STAGE1_FLAGS_TO_PASS) clean
15009 @endif libelf-bootstrap
15012 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15013 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15014 maybe-all-stage2-libelf:
15015 maybe-clean-stage2-libelf:
15016 @if libelf-bootstrap
15017 maybe-all-stage2-libelf: all-stage2-libelf
15018 all-stage2: all-stage2-libelf
15019 TARGET-stage2-libelf = $(TARGET-libelf)
15020 all-stage2-libelf: configure-stage2-libelf
15021 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 TFLAGS="$(STAGE2_TFLAGS)"; \
15025 $(HOST_EXPORTS) \
15026 $(POSTSTAGE1_HOST_EXPORTS) \
15027 cd $(HOST_SUBDIR)/libelf && \
15028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15029 CFLAGS="$(STAGE2_CFLAGS)" \
15030 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15031 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15036 TFLAGS="$(STAGE2_TFLAGS)" \
15037 $(TARGET-stage2-libelf)
15039 maybe-clean-stage2-libelf: clean-stage2-libelf
15040 clean-stage2: clean-stage2-libelf
15041 clean-stage2-libelf:
15042 @if [ $(current_stage) = stage2 ]; then \
15043 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15044 else \
15045 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15046 $(MAKE) stage2-start; \
15047 fi; \
15048 cd $(HOST_SUBDIR)/libelf && \
15049 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15050 @endif libelf-bootstrap
15053 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15054 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15055 maybe-all-stage3-libelf:
15056 maybe-clean-stage3-libelf:
15057 @if libelf-bootstrap
15058 maybe-all-stage3-libelf: all-stage3-libelf
15059 all-stage3: all-stage3-libelf
15060 TARGET-stage3-libelf = $(TARGET-libelf)
15061 all-stage3-libelf: configure-stage3-libelf
15062 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15063 @r=`${PWD_COMMAND}`; export r; \
15064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15065 TFLAGS="$(STAGE3_TFLAGS)"; \
15066 $(HOST_EXPORTS) \
15067 $(POSTSTAGE1_HOST_EXPORTS) \
15068 cd $(HOST_SUBDIR)/libelf && \
15069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15070 CFLAGS="$(STAGE3_CFLAGS)" \
15071 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15072 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15077 TFLAGS="$(STAGE3_TFLAGS)" \
15078 $(TARGET-stage3-libelf)
15080 maybe-clean-stage3-libelf: clean-stage3-libelf
15081 clean-stage3: clean-stage3-libelf
15082 clean-stage3-libelf:
15083 @if [ $(current_stage) = stage3 ]; then \
15084 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15085 else \
15086 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15087 $(MAKE) stage3-start; \
15088 fi; \
15089 cd $(HOST_SUBDIR)/libelf && \
15090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15091 @endif libelf-bootstrap
15094 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15095 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15096 maybe-all-stage4-libelf:
15097 maybe-clean-stage4-libelf:
15098 @if libelf-bootstrap
15099 maybe-all-stage4-libelf: all-stage4-libelf
15100 all-stage4: all-stage4-libelf
15101 TARGET-stage4-libelf = $(TARGET-libelf)
15102 all-stage4-libelf: configure-stage4-libelf
15103 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15104 @r=`${PWD_COMMAND}`; export r; \
15105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15106 TFLAGS="$(STAGE4_TFLAGS)"; \
15107 $(HOST_EXPORTS) \
15108 $(POSTSTAGE1_HOST_EXPORTS) \
15109 cd $(HOST_SUBDIR)/libelf && \
15110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15111 CFLAGS="$(STAGE4_CFLAGS)" \
15112 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15113 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15117 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15118 TFLAGS="$(STAGE4_TFLAGS)" \
15119 $(TARGET-stage4-libelf)
15121 maybe-clean-stage4-libelf: clean-stage4-libelf
15122 clean-stage4: clean-stage4-libelf
15123 clean-stage4-libelf:
15124 @if [ $(current_stage) = stage4 ]; then \
15125 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15126 else \
15127 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15128 $(MAKE) stage4-start; \
15129 fi; \
15130 cd $(HOST_SUBDIR)/libelf && \
15131 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15132 @endif libelf-bootstrap
15135 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15136 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15137 maybe-all-stageprofile-libelf:
15138 maybe-clean-stageprofile-libelf:
15139 @if libelf-bootstrap
15140 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15141 all-stageprofile: all-stageprofile-libelf
15142 TARGET-stageprofile-libelf = $(TARGET-libelf)
15143 all-stageprofile-libelf: configure-stageprofile-libelf
15144 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15145 @r=`${PWD_COMMAND}`; export r; \
15146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15147 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15148 $(HOST_EXPORTS) \
15149 $(POSTSTAGE1_HOST_EXPORTS) \
15150 cd $(HOST_SUBDIR)/libelf && \
15151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15152 CFLAGS="$(STAGEprofile_CFLAGS)" \
15153 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15154 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15159 TFLAGS="$(STAGEprofile_TFLAGS)" \
15160 $(TARGET-stageprofile-libelf)
15162 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15163 clean-stageprofile: clean-stageprofile-libelf
15164 clean-stageprofile-libelf:
15165 @if [ $(current_stage) = stageprofile ]; then \
15166 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15167 else \
15168 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15169 $(MAKE) stageprofile-start; \
15170 fi; \
15171 cd $(HOST_SUBDIR)/libelf && \
15172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15173 @endif libelf-bootstrap
15176 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15177 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15178 maybe-all-stagefeedback-libelf:
15179 maybe-clean-stagefeedback-libelf:
15180 @if libelf-bootstrap
15181 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15182 all-stagefeedback: all-stagefeedback-libelf
15183 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15184 all-stagefeedback-libelf: configure-stagefeedback-libelf
15185 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15186 @r=`${PWD_COMMAND}`; export r; \
15187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15188 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15189 $(HOST_EXPORTS) \
15190 $(POSTSTAGE1_HOST_EXPORTS) \
15191 cd $(HOST_SUBDIR)/libelf && \
15192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15193 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15194 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15195 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15200 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15201 $(TARGET-stagefeedback-libelf)
15203 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15204 clean-stagefeedback: clean-stagefeedback-libelf
15205 clean-stagefeedback-libelf:
15206 @if [ $(current_stage) = stagefeedback ]; then \
15207 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15208 else \
15209 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15210 $(MAKE) stagefeedback-start; \
15211 fi; \
15212 cd $(HOST_SUBDIR)/libelf && \
15213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15214 @endif libelf-bootstrap
15220 .PHONY: check-libelf maybe-check-libelf
15221 maybe-check-libelf:
15222 @if libelf
15223 maybe-check-libelf: check-libelf
15225 check-libelf:
15226 @: $(MAKE); $(unstage)
15227 @r=`${PWD_COMMAND}`; export r; \
15228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 $(HOST_EXPORTS) \
15230 (cd $(HOST_SUBDIR)/libelf && \
15231 $(MAKE) $(FLAGS_TO_PASS) check)
15233 @endif libelf
15235 .PHONY: install-libelf maybe-install-libelf
15236 maybe-install-libelf:
15237 @if libelf
15238 maybe-install-libelf: install-libelf
15240 install-libelf:
15242 @endif libelf
15244 .PHONY: install-strip-libelf maybe-install-strip-libelf
15245 maybe-install-strip-libelf:
15246 @if libelf
15247 maybe-install-strip-libelf: install-strip-libelf
15249 install-strip-libelf:
15251 @endif libelf
15253 # Other targets (info, dvi, pdf, etc.)
15255 .PHONY: maybe-info-libelf info-libelf
15256 maybe-info-libelf:
15257 @if libelf
15258 maybe-info-libelf: info-libelf
15260 info-libelf: \
15261 configure-libelf
15262 @[ -f ./libelf/Makefile ] || exit 0; \
15263 r=`${PWD_COMMAND}`; export r; \
15264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15265 $(HOST_EXPORTS) \
15266 for flag in $(EXTRA_HOST_FLAGS) ; do \
15267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15268 done; \
15269 echo "Doing info in libelf" ; \
15270 (cd $(HOST_SUBDIR)/libelf && \
15271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15273 "RANLIB=$${RANLIB}" \
15274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15275 info) \
15276 || exit 1
15278 @endif libelf
15280 .PHONY: maybe-dvi-libelf dvi-libelf
15281 maybe-dvi-libelf:
15282 @if libelf
15283 maybe-dvi-libelf: dvi-libelf
15285 dvi-libelf: \
15286 configure-libelf
15287 @[ -f ./libelf/Makefile ] || exit 0; \
15288 r=`${PWD_COMMAND}`; export r; \
15289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15290 $(HOST_EXPORTS) \
15291 for flag in $(EXTRA_HOST_FLAGS) ; do \
15292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15293 done; \
15294 echo "Doing dvi in libelf" ; \
15295 (cd $(HOST_SUBDIR)/libelf && \
15296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15298 "RANLIB=$${RANLIB}" \
15299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15300 dvi) \
15301 || exit 1
15303 @endif libelf
15305 .PHONY: maybe-pdf-libelf pdf-libelf
15306 maybe-pdf-libelf:
15307 @if libelf
15308 maybe-pdf-libelf: pdf-libelf
15310 pdf-libelf: \
15311 configure-libelf
15312 @[ -f ./libelf/Makefile ] || exit 0; \
15313 r=`${PWD_COMMAND}`; export r; \
15314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15315 $(HOST_EXPORTS) \
15316 for flag in $(EXTRA_HOST_FLAGS) ; do \
15317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15318 done; \
15319 echo "Doing pdf in libelf" ; \
15320 (cd $(HOST_SUBDIR)/libelf && \
15321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15323 "RANLIB=$${RANLIB}" \
15324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15325 pdf) \
15326 || exit 1
15328 @endif libelf
15330 .PHONY: maybe-html-libelf html-libelf
15331 maybe-html-libelf:
15332 @if libelf
15333 maybe-html-libelf: html-libelf
15335 html-libelf: \
15336 configure-libelf
15337 @[ -f ./libelf/Makefile ] || exit 0; \
15338 r=`${PWD_COMMAND}`; export r; \
15339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15340 $(HOST_EXPORTS) \
15341 for flag in $(EXTRA_HOST_FLAGS) ; do \
15342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15343 done; \
15344 echo "Doing html in libelf" ; \
15345 (cd $(HOST_SUBDIR)/libelf && \
15346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15348 "RANLIB=$${RANLIB}" \
15349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15350 html) \
15351 || exit 1
15353 @endif libelf
15355 .PHONY: maybe-TAGS-libelf TAGS-libelf
15356 maybe-TAGS-libelf:
15357 @if libelf
15358 maybe-TAGS-libelf: TAGS-libelf
15360 TAGS-libelf: \
15361 configure-libelf
15362 @[ -f ./libelf/Makefile ] || exit 0; \
15363 r=`${PWD_COMMAND}`; export r; \
15364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15365 $(HOST_EXPORTS) \
15366 for flag in $(EXTRA_HOST_FLAGS) ; do \
15367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15368 done; \
15369 echo "Doing TAGS in libelf" ; \
15370 (cd $(HOST_SUBDIR)/libelf && \
15371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15373 "RANLIB=$${RANLIB}" \
15374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15375 TAGS) \
15376 || exit 1
15378 @endif libelf
15380 .PHONY: maybe-install-info-libelf install-info-libelf
15381 maybe-install-info-libelf:
15382 @if libelf
15383 maybe-install-info-libelf: install-info-libelf
15385 install-info-libelf: \
15386 configure-libelf \
15387 info-libelf
15388 @[ -f ./libelf/Makefile ] || exit 0; \
15389 r=`${PWD_COMMAND}`; export r; \
15390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15391 $(HOST_EXPORTS) \
15392 for flag in $(EXTRA_HOST_FLAGS) ; do \
15393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15394 done; \
15395 echo "Doing install-info in libelf" ; \
15396 (cd $(HOST_SUBDIR)/libelf && \
15397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15399 "RANLIB=$${RANLIB}" \
15400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15401 install-info) \
15402 || exit 1
15404 @endif libelf
15406 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15407 maybe-install-pdf-libelf:
15408 @if libelf
15409 maybe-install-pdf-libelf: install-pdf-libelf
15411 install-pdf-libelf: \
15412 configure-libelf \
15413 pdf-libelf
15414 @[ -f ./libelf/Makefile ] || exit 0; \
15415 r=`${PWD_COMMAND}`; export r; \
15416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15417 $(HOST_EXPORTS) \
15418 for flag in $(EXTRA_HOST_FLAGS) ; do \
15419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15420 done; \
15421 echo "Doing install-pdf in libelf" ; \
15422 (cd $(HOST_SUBDIR)/libelf && \
15423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15425 "RANLIB=$${RANLIB}" \
15426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15427 install-pdf) \
15428 || exit 1
15430 @endif libelf
15432 .PHONY: maybe-install-html-libelf install-html-libelf
15433 maybe-install-html-libelf:
15434 @if libelf
15435 maybe-install-html-libelf: install-html-libelf
15437 install-html-libelf: \
15438 configure-libelf \
15439 html-libelf
15440 @[ -f ./libelf/Makefile ] || exit 0; \
15441 r=`${PWD_COMMAND}`; export r; \
15442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15443 $(HOST_EXPORTS) \
15444 for flag in $(EXTRA_HOST_FLAGS) ; do \
15445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15446 done; \
15447 echo "Doing install-html in libelf" ; \
15448 (cd $(HOST_SUBDIR)/libelf && \
15449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15451 "RANLIB=$${RANLIB}" \
15452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15453 install-html) \
15454 || exit 1
15456 @endif libelf
15458 .PHONY: maybe-installcheck-libelf installcheck-libelf
15459 maybe-installcheck-libelf:
15460 @if libelf
15461 maybe-installcheck-libelf: installcheck-libelf
15463 installcheck-libelf: \
15464 configure-libelf
15465 @[ -f ./libelf/Makefile ] || exit 0; \
15466 r=`${PWD_COMMAND}`; export r; \
15467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 $(HOST_EXPORTS) \
15469 for flag in $(EXTRA_HOST_FLAGS) ; do \
15470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 done; \
15472 echo "Doing installcheck in libelf" ; \
15473 (cd $(HOST_SUBDIR)/libelf && \
15474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15476 "RANLIB=$${RANLIB}" \
15477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15478 installcheck) \
15479 || exit 1
15481 @endif libelf
15483 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15484 maybe-mostlyclean-libelf:
15485 @if libelf
15486 maybe-mostlyclean-libelf: mostlyclean-libelf
15488 mostlyclean-libelf:
15489 @[ -f ./libelf/Makefile ] || exit 0; \
15490 r=`${PWD_COMMAND}`; export r; \
15491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15492 $(HOST_EXPORTS) \
15493 for flag in $(EXTRA_HOST_FLAGS) ; do \
15494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15495 done; \
15496 echo "Doing mostlyclean in libelf" ; \
15497 (cd $(HOST_SUBDIR)/libelf && \
15498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15500 "RANLIB=$${RANLIB}" \
15501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15502 mostlyclean) \
15503 || exit 1
15505 @endif libelf
15507 .PHONY: maybe-clean-libelf clean-libelf
15508 maybe-clean-libelf:
15509 @if libelf
15510 maybe-clean-libelf: clean-libelf
15512 clean-libelf:
15513 @[ -f ./libelf/Makefile ] || exit 0; \
15514 r=`${PWD_COMMAND}`; export r; \
15515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15516 $(HOST_EXPORTS) \
15517 for flag in $(EXTRA_HOST_FLAGS) ; do \
15518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15519 done; \
15520 echo "Doing clean in libelf" ; \
15521 (cd $(HOST_SUBDIR)/libelf && \
15522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15524 "RANLIB=$${RANLIB}" \
15525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15526 clean) \
15527 || exit 1
15529 @endif libelf
15531 .PHONY: maybe-distclean-libelf distclean-libelf
15532 maybe-distclean-libelf:
15533 @if libelf
15534 maybe-distclean-libelf: distclean-libelf
15536 distclean-libelf:
15537 @[ -f ./libelf/Makefile ] || exit 0; \
15538 r=`${PWD_COMMAND}`; export r; \
15539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15540 $(HOST_EXPORTS) \
15541 for flag in $(EXTRA_HOST_FLAGS) ; do \
15542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15543 done; \
15544 echo "Doing distclean in libelf" ; \
15545 (cd $(HOST_SUBDIR)/libelf && \
15546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15548 "RANLIB=$${RANLIB}" \
15549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15550 distclean) \
15551 || exit 1
15553 @endif libelf
15555 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15556 maybe-maintainer-clean-libelf:
15557 @if libelf
15558 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15560 maintainer-clean-libelf:
15561 @[ -f ./libelf/Makefile ] || exit 0; \
15562 r=`${PWD_COMMAND}`; export r; \
15563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15564 $(HOST_EXPORTS) \
15565 for flag in $(EXTRA_HOST_FLAGS) ; do \
15566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15567 done; \
15568 echo "Doing maintainer-clean in libelf" ; \
15569 (cd $(HOST_SUBDIR)/libelf && \
15570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15572 "RANLIB=$${RANLIB}" \
15573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15574 maintainer-clean) \
15575 || exit 1
15577 @endif libelf
15581 .PHONY: configure-gold maybe-configure-gold
15582 maybe-configure-gold:
15583 @if gcc-bootstrap
15584 configure-gold: stage_current
15585 @endif gcc-bootstrap
15586 @if gold
15587 maybe-configure-gold: configure-gold
15588 configure-gold:
15589 @r=`${PWD_COMMAND}`; export r; \
15590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15591 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15593 $(HOST_EXPORTS) \
15594 echo Configuring in $(HOST_SUBDIR)/gold; \
15595 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15596 case $(srcdir) in \
15597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15598 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15600 esac; \
15601 srcdiroption="--srcdir=$${topdir}/gold"; \
15602 libsrcdir="$$s/gold"; \
15603 $(SHELL) $${libsrcdir}/configure \
15604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15605 --target=${target_alias} $${srcdiroption} \
15606 || exit 1
15607 @endif gold
15611 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15612 maybe-configure-stage1-gold:
15613 @if gold-bootstrap
15614 maybe-configure-stage1-gold: configure-stage1-gold
15615 configure-stage1-gold:
15616 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15618 @r=`${PWD_COMMAND}`; export r; \
15619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15620 TFLAGS="$(STAGE1_TFLAGS)"; \
15621 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15622 $(HOST_EXPORTS) \
15623 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15624 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15625 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15626 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15628 cd $(HOST_SUBDIR)/gold || exit 1; \
15629 case $(srcdir) in \
15630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15631 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15633 esac; \
15634 srcdiroption="--srcdir=$${topdir}/gold"; \
15635 libsrcdir="$$s/gold"; \
15636 $(SHELL) $${libsrcdir}/configure \
15637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15638 --target=${target_alias} $${srcdiroption} \
15639 $(STAGE1_CONFIGURE_FLAGS)
15640 @endif gold-bootstrap
15642 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15643 maybe-configure-stage2-gold:
15644 @if gold-bootstrap
15645 maybe-configure-stage2-gold: configure-stage2-gold
15646 configure-stage2-gold:
15647 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15649 @r=`${PWD_COMMAND}`; export r; \
15650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15651 TFLAGS="$(STAGE2_TFLAGS)"; \
15652 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15653 $(HOST_EXPORTS) \
15654 $(POSTSTAGE1_HOST_EXPORTS) \
15655 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15656 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15657 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15658 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15660 cd $(HOST_SUBDIR)/gold || exit 1; \
15661 case $(srcdir) in \
15662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15663 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15665 esac; \
15666 srcdiroption="--srcdir=$${topdir}/gold"; \
15667 libsrcdir="$$s/gold"; \
15668 $(SHELL) $${libsrcdir}/configure \
15669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15670 --target=${target_alias} $${srcdiroption} \
15671 --with-build-libsubdir=$(HOST_SUBDIR) \
15672 $(STAGE2_CONFIGURE_FLAGS)
15673 @endif gold-bootstrap
15675 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15676 maybe-configure-stage3-gold:
15677 @if gold-bootstrap
15678 maybe-configure-stage3-gold: configure-stage3-gold
15679 configure-stage3-gold:
15680 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15682 @r=`${PWD_COMMAND}`; export r; \
15683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15684 TFLAGS="$(STAGE3_TFLAGS)"; \
15685 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15686 $(HOST_EXPORTS) \
15687 $(POSTSTAGE1_HOST_EXPORTS) \
15688 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15689 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15690 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15691 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15693 cd $(HOST_SUBDIR)/gold || exit 1; \
15694 case $(srcdir) in \
15695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15696 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15698 esac; \
15699 srcdiroption="--srcdir=$${topdir}/gold"; \
15700 libsrcdir="$$s/gold"; \
15701 $(SHELL) $${libsrcdir}/configure \
15702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15703 --target=${target_alias} $${srcdiroption} \
15704 --with-build-libsubdir=$(HOST_SUBDIR) \
15705 $(STAGE3_CONFIGURE_FLAGS)
15706 @endif gold-bootstrap
15708 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15709 maybe-configure-stage4-gold:
15710 @if gold-bootstrap
15711 maybe-configure-stage4-gold: configure-stage4-gold
15712 configure-stage4-gold:
15713 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15715 @r=`${PWD_COMMAND}`; export r; \
15716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15717 TFLAGS="$(STAGE4_TFLAGS)"; \
15718 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15719 $(HOST_EXPORTS) \
15720 $(POSTSTAGE1_HOST_EXPORTS) \
15721 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15722 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15723 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15724 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15726 cd $(HOST_SUBDIR)/gold || exit 1; \
15727 case $(srcdir) in \
15728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15729 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15731 esac; \
15732 srcdiroption="--srcdir=$${topdir}/gold"; \
15733 libsrcdir="$$s/gold"; \
15734 $(SHELL) $${libsrcdir}/configure \
15735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15736 --target=${target_alias} $${srcdiroption} \
15737 --with-build-libsubdir=$(HOST_SUBDIR) \
15738 $(STAGE4_CONFIGURE_FLAGS)
15739 @endif gold-bootstrap
15741 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15742 maybe-configure-stageprofile-gold:
15743 @if gold-bootstrap
15744 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15745 configure-stageprofile-gold:
15746 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15748 @r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15751 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15752 $(HOST_EXPORTS) \
15753 $(POSTSTAGE1_HOST_EXPORTS) \
15754 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15755 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15756 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15757 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15759 cd $(HOST_SUBDIR)/gold || exit 1; \
15760 case $(srcdir) in \
15761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15762 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15764 esac; \
15765 srcdiroption="--srcdir=$${topdir}/gold"; \
15766 libsrcdir="$$s/gold"; \
15767 $(SHELL) $${libsrcdir}/configure \
15768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15769 --target=${target_alias} $${srcdiroption} \
15770 --with-build-libsubdir=$(HOST_SUBDIR) \
15771 $(STAGEprofile_CONFIGURE_FLAGS)
15772 @endif gold-bootstrap
15774 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15775 maybe-configure-stagefeedback-gold:
15776 @if gold-bootstrap
15777 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15778 configure-stagefeedback-gold:
15779 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15781 @r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15784 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15785 $(HOST_EXPORTS) \
15786 $(POSTSTAGE1_HOST_EXPORTS) \
15787 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15788 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15789 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15790 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15792 cd $(HOST_SUBDIR)/gold || exit 1; \
15793 case $(srcdir) in \
15794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15795 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15797 esac; \
15798 srcdiroption="--srcdir=$${topdir}/gold"; \
15799 libsrcdir="$$s/gold"; \
15800 $(SHELL) $${libsrcdir}/configure \
15801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15802 --target=${target_alias} $${srcdiroption} \
15803 --with-build-libsubdir=$(HOST_SUBDIR) \
15804 $(STAGEfeedback_CONFIGURE_FLAGS)
15805 @endif gold-bootstrap
15811 .PHONY: all-gold maybe-all-gold
15812 maybe-all-gold:
15813 @if gcc-bootstrap
15814 all-gold: stage_current
15815 @endif gcc-bootstrap
15816 @if gold
15817 TARGET-gold=all
15818 maybe-all-gold: all-gold
15819 all-gold: configure-gold
15820 @r=`${PWD_COMMAND}`; export r; \
15821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15822 $(HOST_EXPORTS) \
15823 (cd $(HOST_SUBDIR)/gold && \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15825 $(TARGET-gold))
15826 @endif gold
15830 .PHONY: all-stage1-gold maybe-all-stage1-gold
15831 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15832 maybe-all-stage1-gold:
15833 maybe-clean-stage1-gold:
15834 @if gold-bootstrap
15835 maybe-all-stage1-gold: all-stage1-gold
15836 all-stage1: all-stage1-gold
15837 TARGET-stage1-gold = $(TARGET-gold)
15838 all-stage1-gold: configure-stage1-gold
15839 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15840 @r=`${PWD_COMMAND}`; export r; \
15841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15842 TFLAGS="$(STAGE1_TFLAGS)"; \
15843 $(HOST_EXPORTS) \
15844 cd $(HOST_SUBDIR)/gold && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15846 CFLAGS="$(STAGE1_CFLAGS)" \
15847 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15848 LIBCFLAGS="$(LIBCFLAGS)" \
15849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15852 $(EXTRA_HOST_FLAGS) \
15853 $(STAGE1_FLAGS_TO_PASS) \
15854 TFLAGS="$(STAGE1_TFLAGS)" \
15855 $(TARGET-stage1-gold)
15857 maybe-clean-stage1-gold: clean-stage1-gold
15858 clean-stage1: clean-stage1-gold
15859 clean-stage1-gold:
15860 @if [ $(current_stage) = stage1 ]; then \
15861 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15862 else \
15863 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15864 $(MAKE) stage1-start; \
15865 fi; \
15866 cd $(HOST_SUBDIR)/gold && \
15867 $(MAKE) $(EXTRA_HOST_FLAGS) \
15868 $(STAGE1_FLAGS_TO_PASS) clean
15869 @endif gold-bootstrap
15872 .PHONY: all-stage2-gold maybe-all-stage2-gold
15873 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15874 maybe-all-stage2-gold:
15875 maybe-clean-stage2-gold:
15876 @if gold-bootstrap
15877 maybe-all-stage2-gold: all-stage2-gold
15878 all-stage2: all-stage2-gold
15879 TARGET-stage2-gold = $(TARGET-gold)
15880 all-stage2-gold: configure-stage2-gold
15881 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15882 @r=`${PWD_COMMAND}`; export r; \
15883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15884 TFLAGS="$(STAGE2_TFLAGS)"; \
15885 $(HOST_EXPORTS) \
15886 $(POSTSTAGE1_HOST_EXPORTS) \
15887 cd $(HOST_SUBDIR)/gold && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15889 CFLAGS="$(STAGE2_CFLAGS)" \
15890 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15891 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15896 TFLAGS="$(STAGE2_TFLAGS)" \
15897 $(TARGET-stage2-gold)
15899 maybe-clean-stage2-gold: clean-stage2-gold
15900 clean-stage2: clean-stage2-gold
15901 clean-stage2-gold:
15902 @if [ $(current_stage) = stage2 ]; then \
15903 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15904 else \
15905 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15906 $(MAKE) stage2-start; \
15907 fi; \
15908 cd $(HOST_SUBDIR)/gold && \
15909 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15910 @endif gold-bootstrap
15913 .PHONY: all-stage3-gold maybe-all-stage3-gold
15914 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15915 maybe-all-stage3-gold:
15916 maybe-clean-stage3-gold:
15917 @if gold-bootstrap
15918 maybe-all-stage3-gold: all-stage3-gold
15919 all-stage3: all-stage3-gold
15920 TARGET-stage3-gold = $(TARGET-gold)
15921 all-stage3-gold: configure-stage3-gold
15922 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15923 @r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15925 TFLAGS="$(STAGE3_TFLAGS)"; \
15926 $(HOST_EXPORTS) \
15927 $(POSTSTAGE1_HOST_EXPORTS) \
15928 cd $(HOST_SUBDIR)/gold && \
15929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15930 CFLAGS="$(STAGE3_CFLAGS)" \
15931 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15932 LIBCFLAGS="$(STAGE3_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="$(STAGE3_TFLAGS)" \
15938 $(TARGET-stage3-gold)
15940 maybe-clean-stage3-gold: clean-stage3-gold
15941 clean-stage3: clean-stage3-gold
15942 clean-stage3-gold:
15943 @if [ $(current_stage) = stage3 ]; then \
15944 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15945 else \
15946 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15947 $(MAKE) stage3-start; \
15948 fi; \
15949 cd $(HOST_SUBDIR)/gold && \
15950 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15951 @endif gold-bootstrap
15954 .PHONY: all-stage4-gold maybe-all-stage4-gold
15955 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15956 maybe-all-stage4-gold:
15957 maybe-clean-stage4-gold:
15958 @if gold-bootstrap
15959 maybe-all-stage4-gold: all-stage4-gold
15960 all-stage4: all-stage4-gold
15961 TARGET-stage4-gold = $(TARGET-gold)
15962 all-stage4-gold: configure-stage4-gold
15963 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15964 @r=`${PWD_COMMAND}`; export r; \
15965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15966 TFLAGS="$(STAGE4_TFLAGS)"; \
15967 $(HOST_EXPORTS) \
15968 $(POSTSTAGE1_HOST_EXPORTS) \
15969 cd $(HOST_SUBDIR)/gold && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15971 CFLAGS="$(STAGE4_CFLAGS)" \
15972 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15973 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15978 TFLAGS="$(STAGE4_TFLAGS)" \
15979 $(TARGET-stage4-gold)
15981 maybe-clean-stage4-gold: clean-stage4-gold
15982 clean-stage4: clean-stage4-gold
15983 clean-stage4-gold:
15984 @if [ $(current_stage) = stage4 ]; then \
15985 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15986 else \
15987 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15988 $(MAKE) stage4-start; \
15989 fi; \
15990 cd $(HOST_SUBDIR)/gold && \
15991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15992 @endif gold-bootstrap
15995 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15996 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15997 maybe-all-stageprofile-gold:
15998 maybe-clean-stageprofile-gold:
15999 @if gold-bootstrap
16000 maybe-all-stageprofile-gold: all-stageprofile-gold
16001 all-stageprofile: all-stageprofile-gold
16002 TARGET-stageprofile-gold = $(TARGET-gold)
16003 all-stageprofile-gold: configure-stageprofile-gold
16004 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16005 @r=`${PWD_COMMAND}`; export r; \
16006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16007 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16008 $(HOST_EXPORTS) \
16009 $(POSTSTAGE1_HOST_EXPORTS) \
16010 cd $(HOST_SUBDIR)/gold && \
16011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16012 CFLAGS="$(STAGEprofile_CFLAGS)" \
16013 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16014 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16019 TFLAGS="$(STAGEprofile_TFLAGS)" \
16020 $(TARGET-stageprofile-gold)
16022 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16023 clean-stageprofile: clean-stageprofile-gold
16024 clean-stageprofile-gold:
16025 @if [ $(current_stage) = stageprofile ]; then \
16026 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16027 else \
16028 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16029 $(MAKE) stageprofile-start; \
16030 fi; \
16031 cd $(HOST_SUBDIR)/gold && \
16032 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16033 @endif gold-bootstrap
16036 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16037 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16038 maybe-all-stagefeedback-gold:
16039 maybe-clean-stagefeedback-gold:
16040 @if gold-bootstrap
16041 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16042 all-stagefeedback: all-stagefeedback-gold
16043 TARGET-stagefeedback-gold = $(TARGET-gold)
16044 all-stagefeedback-gold: configure-stagefeedback-gold
16045 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16046 @r=`${PWD_COMMAND}`; export r; \
16047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16049 $(HOST_EXPORTS) \
16050 $(POSTSTAGE1_HOST_EXPORTS) \
16051 cd $(HOST_SUBDIR)/gold && \
16052 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16053 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16054 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16055 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16060 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16061 $(TARGET-stagefeedback-gold)
16063 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16064 clean-stagefeedback: clean-stagefeedback-gold
16065 clean-stagefeedback-gold:
16066 @if [ $(current_stage) = stagefeedback ]; then \
16067 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16068 else \
16069 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16070 $(MAKE) stagefeedback-start; \
16071 fi; \
16072 cd $(HOST_SUBDIR)/gold && \
16073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16074 @endif gold-bootstrap
16080 .PHONY: check-gold maybe-check-gold
16081 maybe-check-gold:
16082 @if gold
16083 maybe-check-gold: check-gold
16085 check-gold:
16086 @: $(MAKE); $(unstage)
16087 @r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 $(HOST_EXPORTS) \
16090 (cd $(HOST_SUBDIR)/gold && \
16091 $(MAKE) $(FLAGS_TO_PASS) check)
16093 @endif gold
16095 .PHONY: install-gold maybe-install-gold
16096 maybe-install-gold:
16097 @if gold
16098 maybe-install-gold: install-gold
16100 install-gold: installdirs
16101 @: $(MAKE); $(unstage)
16102 @r=`${PWD_COMMAND}`; export r; \
16103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16104 $(HOST_EXPORTS) \
16105 (cd $(HOST_SUBDIR)/gold && \
16106 $(MAKE) $(FLAGS_TO_PASS) install)
16108 @endif gold
16110 .PHONY: install-strip-gold maybe-install-strip-gold
16111 maybe-install-strip-gold:
16112 @if gold
16113 maybe-install-strip-gold: install-strip-gold
16115 install-strip-gold: installdirs
16116 @: $(MAKE); $(unstage)
16117 @r=`${PWD_COMMAND}`; export r; \
16118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16119 $(HOST_EXPORTS) \
16120 (cd $(HOST_SUBDIR)/gold && \
16121 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16123 @endif gold
16125 # Other targets (info, dvi, pdf, etc.)
16127 .PHONY: maybe-info-gold info-gold
16128 maybe-info-gold:
16129 @if gold
16130 maybe-info-gold: info-gold
16132 info-gold: \
16133 configure-gold
16134 @[ -f ./gold/Makefile ] || exit 0; \
16135 r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 $(HOST_EXPORTS) \
16138 for flag in $(EXTRA_HOST_FLAGS) ; do \
16139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16140 done; \
16141 echo "Doing info in gold" ; \
16142 (cd $(HOST_SUBDIR)/gold && \
16143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16145 "RANLIB=$${RANLIB}" \
16146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16147 info) \
16148 || exit 1
16150 @endif gold
16152 .PHONY: maybe-dvi-gold dvi-gold
16153 maybe-dvi-gold:
16154 @if gold
16155 maybe-dvi-gold: dvi-gold
16157 dvi-gold: \
16158 configure-gold
16159 @[ -f ./gold/Makefile ] || exit 0; \
16160 r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 $(HOST_EXPORTS) \
16163 for flag in $(EXTRA_HOST_FLAGS) ; do \
16164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16165 done; \
16166 echo "Doing dvi in gold" ; \
16167 (cd $(HOST_SUBDIR)/gold && \
16168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16170 "RANLIB=$${RANLIB}" \
16171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16172 dvi) \
16173 || exit 1
16175 @endif gold
16177 .PHONY: maybe-pdf-gold pdf-gold
16178 maybe-pdf-gold:
16179 @if gold
16180 maybe-pdf-gold: pdf-gold
16182 pdf-gold: \
16183 configure-gold
16184 @[ -f ./gold/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16190 done; \
16191 echo "Doing pdf in gold" ; \
16192 (cd $(HOST_SUBDIR)/gold && \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16197 pdf) \
16198 || exit 1
16200 @endif gold
16202 .PHONY: maybe-html-gold html-gold
16203 maybe-html-gold:
16204 @if gold
16205 maybe-html-gold: html-gold
16207 html-gold: \
16208 configure-gold
16209 @[ -f ./gold/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(HOST_EXPORTS) \
16213 for flag in $(EXTRA_HOST_FLAGS) ; do \
16214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16215 done; \
16216 echo "Doing html in gold" ; \
16217 (cd $(HOST_SUBDIR)/gold && \
16218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16220 "RANLIB=$${RANLIB}" \
16221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16222 html) \
16223 || exit 1
16225 @endif gold
16227 .PHONY: maybe-TAGS-gold TAGS-gold
16228 maybe-TAGS-gold:
16229 @if gold
16230 maybe-TAGS-gold: TAGS-gold
16232 TAGS-gold: \
16233 configure-gold
16234 @[ -f ./gold/Makefile ] || exit 0; \
16235 r=`${PWD_COMMAND}`; export r; \
16236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16237 $(HOST_EXPORTS) \
16238 for flag in $(EXTRA_HOST_FLAGS) ; do \
16239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16240 done; \
16241 echo "Doing TAGS in gold" ; \
16242 (cd $(HOST_SUBDIR)/gold && \
16243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16245 "RANLIB=$${RANLIB}" \
16246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16247 TAGS) \
16248 || exit 1
16250 @endif gold
16252 .PHONY: maybe-install-info-gold install-info-gold
16253 maybe-install-info-gold:
16254 @if gold
16255 maybe-install-info-gold: install-info-gold
16257 install-info-gold: \
16258 configure-gold \
16259 info-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 install-info 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 install-info) \
16274 || exit 1
16276 @endif gold
16278 .PHONY: maybe-install-pdf-gold install-pdf-gold
16279 maybe-install-pdf-gold:
16280 @if gold
16281 maybe-install-pdf-gold: install-pdf-gold
16283 install-pdf-gold: \
16284 configure-gold \
16285 pdf-gold
16286 @[ -f ./gold/Makefile ] || exit 0; \
16287 r=`${PWD_COMMAND}`; export r; \
16288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16289 $(HOST_EXPORTS) \
16290 for flag in $(EXTRA_HOST_FLAGS) ; do \
16291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16292 done; \
16293 echo "Doing install-pdf in gold" ; \
16294 (cd $(HOST_SUBDIR)/gold && \
16295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16297 "RANLIB=$${RANLIB}" \
16298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16299 install-pdf) \
16300 || exit 1
16302 @endif gold
16304 .PHONY: maybe-install-html-gold install-html-gold
16305 maybe-install-html-gold:
16306 @if gold
16307 maybe-install-html-gold: install-html-gold
16309 install-html-gold: \
16310 configure-gold \
16311 html-gold
16312 @[ -f ./gold/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(HOST_EXPORTS) \
16316 for flag in $(EXTRA_HOST_FLAGS) ; do \
16317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16318 done; \
16319 echo "Doing install-html in gold" ; \
16320 (cd $(HOST_SUBDIR)/gold && \
16321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16323 "RANLIB=$${RANLIB}" \
16324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16325 install-html) \
16326 || exit 1
16328 @endif gold
16330 .PHONY: maybe-installcheck-gold installcheck-gold
16331 maybe-installcheck-gold:
16332 @if gold
16333 maybe-installcheck-gold: installcheck-gold
16335 installcheck-gold: \
16336 configure-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 installcheck 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 installcheck) \
16351 || exit 1
16353 @endif gold
16355 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16356 maybe-mostlyclean-gold:
16357 @if gold
16358 maybe-mostlyclean-gold: mostlyclean-gold
16360 mostlyclean-gold:
16361 @[ -f ./gold/Makefile ] || exit 0; \
16362 r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 $(HOST_EXPORTS) \
16365 for flag in $(EXTRA_HOST_FLAGS) ; do \
16366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16367 done; \
16368 echo "Doing mostlyclean in gold" ; \
16369 (cd $(HOST_SUBDIR)/gold && \
16370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16372 "RANLIB=$${RANLIB}" \
16373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16374 mostlyclean) \
16375 || exit 1
16377 @endif gold
16379 .PHONY: maybe-clean-gold clean-gold
16380 maybe-clean-gold:
16381 @if gold
16382 maybe-clean-gold: clean-gold
16384 clean-gold:
16385 @[ -f ./gold/Makefile ] || exit 0; \
16386 r=`${PWD_COMMAND}`; export r; \
16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 $(HOST_EXPORTS) \
16389 for flag in $(EXTRA_HOST_FLAGS) ; do \
16390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16391 done; \
16392 echo "Doing clean in gold" ; \
16393 (cd $(HOST_SUBDIR)/gold && \
16394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16396 "RANLIB=$${RANLIB}" \
16397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16398 clean) \
16399 || exit 1
16401 @endif gold
16403 .PHONY: maybe-distclean-gold distclean-gold
16404 maybe-distclean-gold:
16405 @if gold
16406 maybe-distclean-gold: distclean-gold
16408 distclean-gold:
16409 @[ -f ./gold/Makefile ] || exit 0; \
16410 r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412 $(HOST_EXPORTS) \
16413 for flag in $(EXTRA_HOST_FLAGS) ; do \
16414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16415 done; \
16416 echo "Doing distclean in gold" ; \
16417 (cd $(HOST_SUBDIR)/gold && \
16418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16420 "RANLIB=$${RANLIB}" \
16421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16422 distclean) \
16423 || exit 1
16425 @endif gold
16427 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16428 maybe-maintainer-clean-gold:
16429 @if gold
16430 maybe-maintainer-clean-gold: maintainer-clean-gold
16432 maintainer-clean-gold:
16433 @[ -f ./gold/Makefile ] || exit 0; \
16434 r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 $(HOST_EXPORTS) \
16437 for flag in $(EXTRA_HOST_FLAGS) ; do \
16438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16439 done; \
16440 echo "Doing maintainer-clean in gold" ; \
16441 (cd $(HOST_SUBDIR)/gold && \
16442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16444 "RANLIB=$${RANLIB}" \
16445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16446 maintainer-clean) \
16447 || exit 1
16449 @endif gold
16453 .PHONY: configure-gprof maybe-configure-gprof
16454 maybe-configure-gprof:
16455 @if gcc-bootstrap
16456 configure-gprof: stage_current
16457 @endif gcc-bootstrap
16458 @if gprof
16459 maybe-configure-gprof: configure-gprof
16460 configure-gprof:
16461 @: $(MAKE); $(unstage)
16462 @r=`${PWD_COMMAND}`; export r; \
16463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16464 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16466 $(HOST_EXPORTS) \
16467 echo Configuring in $(HOST_SUBDIR)/gprof; \
16468 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16469 case $(srcdir) in \
16470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16471 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16473 esac; \
16474 srcdiroption="--srcdir=$${topdir}/gprof"; \
16475 libsrcdir="$$s/gprof"; \
16476 $(SHELL) $${libsrcdir}/configure \
16477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16478 --target=${target_alias} $${srcdiroption} \
16479 || exit 1
16480 @endif gprof
16486 .PHONY: all-gprof maybe-all-gprof
16487 maybe-all-gprof:
16488 @if gcc-bootstrap
16489 all-gprof: stage_current
16490 @endif gcc-bootstrap
16491 @if gprof
16492 TARGET-gprof=all
16493 maybe-all-gprof: all-gprof
16494 all-gprof: configure-gprof
16495 @: $(MAKE); $(unstage)
16496 @r=`${PWD_COMMAND}`; export r; \
16497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16498 $(HOST_EXPORTS) \
16499 (cd $(HOST_SUBDIR)/gprof && \
16500 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16501 $(TARGET-gprof))
16502 @endif gprof
16507 .PHONY: check-gprof maybe-check-gprof
16508 maybe-check-gprof:
16509 @if gprof
16510 maybe-check-gprof: check-gprof
16512 check-gprof:
16513 @: $(MAKE); $(unstage)
16514 @r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 $(HOST_EXPORTS) \
16517 (cd $(HOST_SUBDIR)/gprof && \
16518 $(MAKE) $(FLAGS_TO_PASS) check)
16520 @endif gprof
16522 .PHONY: install-gprof maybe-install-gprof
16523 maybe-install-gprof:
16524 @if gprof
16525 maybe-install-gprof: install-gprof
16527 install-gprof: installdirs
16528 @: $(MAKE); $(unstage)
16529 @r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531 $(HOST_EXPORTS) \
16532 (cd $(HOST_SUBDIR)/gprof && \
16533 $(MAKE) $(FLAGS_TO_PASS) install)
16535 @endif gprof
16537 .PHONY: install-strip-gprof maybe-install-strip-gprof
16538 maybe-install-strip-gprof:
16539 @if gprof
16540 maybe-install-strip-gprof: install-strip-gprof
16542 install-strip-gprof: installdirs
16543 @: $(MAKE); $(unstage)
16544 @r=`${PWD_COMMAND}`; export r; \
16545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16546 $(HOST_EXPORTS) \
16547 (cd $(HOST_SUBDIR)/gprof && \
16548 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16550 @endif gprof
16552 # Other targets (info, dvi, pdf, etc.)
16554 .PHONY: maybe-info-gprof info-gprof
16555 maybe-info-gprof:
16556 @if gprof
16557 maybe-info-gprof: info-gprof
16559 info-gprof: \
16560 configure-gprof
16561 @: $(MAKE); $(unstage)
16562 @[ -f ./gprof/Makefile ] || exit 0; \
16563 r=`${PWD_COMMAND}`; export r; \
16564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16565 $(HOST_EXPORTS) \
16566 for flag in $(EXTRA_HOST_FLAGS) ; do \
16567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16568 done; \
16569 echo "Doing info in gprof" ; \
16570 (cd $(HOST_SUBDIR)/gprof && \
16571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16573 "RANLIB=$${RANLIB}" \
16574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16575 info) \
16576 || exit 1
16578 @endif gprof
16580 .PHONY: maybe-dvi-gprof dvi-gprof
16581 maybe-dvi-gprof:
16582 @if gprof
16583 maybe-dvi-gprof: dvi-gprof
16585 dvi-gprof: \
16586 configure-gprof
16587 @: $(MAKE); $(unstage)
16588 @[ -f ./gprof/Makefile ] || exit 0; \
16589 r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16591 $(HOST_EXPORTS) \
16592 for flag in $(EXTRA_HOST_FLAGS) ; do \
16593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16594 done; \
16595 echo "Doing dvi in gprof" ; \
16596 (cd $(HOST_SUBDIR)/gprof && \
16597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16599 "RANLIB=$${RANLIB}" \
16600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16601 dvi) \
16602 || exit 1
16604 @endif gprof
16606 .PHONY: maybe-pdf-gprof pdf-gprof
16607 maybe-pdf-gprof:
16608 @if gprof
16609 maybe-pdf-gprof: pdf-gprof
16611 pdf-gprof: \
16612 configure-gprof
16613 @: $(MAKE); $(unstage)
16614 @[ -f ./gprof/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(HOST_EXPORTS) \
16618 for flag in $(EXTRA_HOST_FLAGS) ; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing pdf in gprof" ; \
16622 (cd $(HOST_SUBDIR)/gprof && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16627 pdf) \
16628 || exit 1
16630 @endif gprof
16632 .PHONY: maybe-html-gprof html-gprof
16633 maybe-html-gprof:
16634 @if gprof
16635 maybe-html-gprof: html-gprof
16637 html-gprof: \
16638 configure-gprof
16639 @: $(MAKE); $(unstage)
16640 @[ -f ./gprof/Makefile ] || exit 0; \
16641 r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 $(HOST_EXPORTS) \
16644 for flag in $(EXTRA_HOST_FLAGS) ; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 done; \
16647 echo "Doing html in gprof" ; \
16648 (cd $(HOST_SUBDIR)/gprof && \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16653 html) \
16654 || exit 1
16656 @endif gprof
16658 .PHONY: maybe-TAGS-gprof TAGS-gprof
16659 maybe-TAGS-gprof:
16660 @if gprof
16661 maybe-TAGS-gprof: TAGS-gprof
16663 TAGS-gprof: \
16664 configure-gprof
16665 @: $(MAKE); $(unstage)
16666 @[ -f ./gprof/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 for flag in $(EXTRA_HOST_FLAGS) ; do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 done; \
16673 echo "Doing TAGS in gprof" ; \
16674 (cd $(HOST_SUBDIR)/gprof && \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16679 TAGS) \
16680 || exit 1
16682 @endif gprof
16684 .PHONY: maybe-install-info-gprof install-info-gprof
16685 maybe-install-info-gprof:
16686 @if gprof
16687 maybe-install-info-gprof: install-info-gprof
16689 install-info-gprof: \
16690 configure-gprof \
16691 info-gprof
16692 @: $(MAKE); $(unstage)
16693 @[ -f ./gprof/Makefile ] || exit 0; \
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16696 $(HOST_EXPORTS) \
16697 for flag in $(EXTRA_HOST_FLAGS) ; do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16699 done; \
16700 echo "Doing install-info in gprof" ; \
16701 (cd $(HOST_SUBDIR)/gprof && \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16706 install-info) \
16707 || exit 1
16709 @endif gprof
16711 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16712 maybe-install-pdf-gprof:
16713 @if gprof
16714 maybe-install-pdf-gprof: install-pdf-gprof
16716 install-pdf-gprof: \
16717 configure-gprof \
16718 pdf-gprof
16719 @: $(MAKE); $(unstage)
16720 @[ -f ./gprof/Makefile ] || exit 0; \
16721 r=`${PWD_COMMAND}`; export r; \
16722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723 $(HOST_EXPORTS) \
16724 for flag in $(EXTRA_HOST_FLAGS) ; do \
16725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16726 done; \
16727 echo "Doing install-pdf in gprof" ; \
16728 (cd $(HOST_SUBDIR)/gprof && \
16729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16731 "RANLIB=$${RANLIB}" \
16732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16733 install-pdf) \
16734 || exit 1
16736 @endif gprof
16738 .PHONY: maybe-install-html-gprof install-html-gprof
16739 maybe-install-html-gprof:
16740 @if gprof
16741 maybe-install-html-gprof: install-html-gprof
16743 install-html-gprof: \
16744 configure-gprof \
16745 html-gprof
16746 @: $(MAKE); $(unstage)
16747 @[ -f ./gprof/Makefile ] || exit 0; \
16748 r=`${PWD_COMMAND}`; export r; \
16749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 $(HOST_EXPORTS) \
16751 for flag in $(EXTRA_HOST_FLAGS) ; do \
16752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16753 done; \
16754 echo "Doing install-html in gprof" ; \
16755 (cd $(HOST_SUBDIR)/gprof && \
16756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16758 "RANLIB=$${RANLIB}" \
16759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16760 install-html) \
16761 || exit 1
16763 @endif gprof
16765 .PHONY: maybe-installcheck-gprof installcheck-gprof
16766 maybe-installcheck-gprof:
16767 @if gprof
16768 maybe-installcheck-gprof: installcheck-gprof
16770 installcheck-gprof: \
16771 configure-gprof
16772 @: $(MAKE); $(unstage)
16773 @[ -f ./gprof/Makefile ] || exit 0; \
16774 r=`${PWD_COMMAND}`; export r; \
16775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16776 $(HOST_EXPORTS) \
16777 for flag in $(EXTRA_HOST_FLAGS) ; do \
16778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16779 done; \
16780 echo "Doing installcheck in gprof" ; \
16781 (cd $(HOST_SUBDIR)/gprof && \
16782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16784 "RANLIB=$${RANLIB}" \
16785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16786 installcheck) \
16787 || exit 1
16789 @endif gprof
16791 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16792 maybe-mostlyclean-gprof:
16793 @if gprof
16794 maybe-mostlyclean-gprof: mostlyclean-gprof
16796 mostlyclean-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 mostlyclean 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 mostlyclean) \
16812 || exit 1
16814 @endif gprof
16816 .PHONY: maybe-clean-gprof clean-gprof
16817 maybe-clean-gprof:
16818 @if gprof
16819 maybe-clean-gprof: clean-gprof
16821 clean-gprof:
16822 @: $(MAKE); $(unstage)
16823 @[ -f ./gprof/Makefile ] || exit 0; \
16824 r=`${PWD_COMMAND}`; export r; \
16825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16826 $(HOST_EXPORTS) \
16827 for flag in $(EXTRA_HOST_FLAGS) ; do \
16828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16829 done; \
16830 echo "Doing clean in gprof" ; \
16831 (cd $(HOST_SUBDIR)/gprof && \
16832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16834 "RANLIB=$${RANLIB}" \
16835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16836 clean) \
16837 || exit 1
16839 @endif gprof
16841 .PHONY: maybe-distclean-gprof distclean-gprof
16842 maybe-distclean-gprof:
16843 @if gprof
16844 maybe-distclean-gprof: distclean-gprof
16846 distclean-gprof:
16847 @: $(MAKE); $(unstage)
16848 @[ -f ./gprof/Makefile ] || exit 0; \
16849 r=`${PWD_COMMAND}`; export r; \
16850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16851 $(HOST_EXPORTS) \
16852 for flag in $(EXTRA_HOST_FLAGS) ; do \
16853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16854 done; \
16855 echo "Doing distclean in gprof" ; \
16856 (cd $(HOST_SUBDIR)/gprof && \
16857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16859 "RANLIB=$${RANLIB}" \
16860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16861 distclean) \
16862 || exit 1
16864 @endif gprof
16866 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16867 maybe-maintainer-clean-gprof:
16868 @if gprof
16869 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16871 maintainer-clean-gprof:
16872 @: $(MAKE); $(unstage)
16873 @[ -f ./gprof/Makefile ] || exit 0; \
16874 r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876 $(HOST_EXPORTS) \
16877 for flag in $(EXTRA_HOST_FLAGS) ; do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879 done; \
16880 echo "Doing maintainer-clean in gprof" ; \
16881 (cd $(HOST_SUBDIR)/gprof && \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16886 maintainer-clean) \
16887 || exit 1
16889 @endif gprof
16893 .PHONY: configure-intl maybe-configure-intl
16894 maybe-configure-intl:
16895 @if gcc-bootstrap
16896 configure-intl: stage_current
16897 @endif gcc-bootstrap
16898 @if intl
16899 maybe-configure-intl: configure-intl
16900 configure-intl:
16901 @r=`${PWD_COMMAND}`; export r; \
16902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16903 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16905 $(HOST_EXPORTS) \
16906 echo Configuring in $(HOST_SUBDIR)/intl; \
16907 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16908 case $(srcdir) in \
16909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16910 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16912 esac; \
16913 srcdiroption="--srcdir=$${topdir}/intl"; \
16914 libsrcdir="$$s/intl"; \
16915 $(SHELL) $${libsrcdir}/configure \
16916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16917 --target=${target_alias} $${srcdiroption} \
16918 || exit 1
16919 @endif intl
16923 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16924 maybe-configure-stage1-intl:
16925 @if intl-bootstrap
16926 maybe-configure-stage1-intl: configure-stage1-intl
16927 configure-stage1-intl:
16928 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16930 @r=`${PWD_COMMAND}`; export r; \
16931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16932 TFLAGS="$(STAGE1_TFLAGS)"; \
16933 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16934 $(HOST_EXPORTS) \
16935 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16936 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16937 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16938 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16940 cd $(HOST_SUBDIR)/intl || exit 1; \
16941 case $(srcdir) in \
16942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16943 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16945 esac; \
16946 srcdiroption="--srcdir=$${topdir}/intl"; \
16947 libsrcdir="$$s/intl"; \
16948 $(SHELL) $${libsrcdir}/configure \
16949 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16950 --target=${target_alias} $${srcdiroption} \
16951 $(STAGE1_CONFIGURE_FLAGS)
16952 @endif intl-bootstrap
16954 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16955 maybe-configure-stage2-intl:
16956 @if intl-bootstrap
16957 maybe-configure-stage2-intl: configure-stage2-intl
16958 configure-stage2-intl:
16959 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16961 @r=`${PWD_COMMAND}`; export r; \
16962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 TFLAGS="$(STAGE2_TFLAGS)"; \
16964 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16965 $(HOST_EXPORTS) \
16966 $(POSTSTAGE1_HOST_EXPORTS) \
16967 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16968 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16969 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16970 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16972 cd $(HOST_SUBDIR)/intl || exit 1; \
16973 case $(srcdir) in \
16974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16975 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16977 esac; \
16978 srcdiroption="--srcdir=$${topdir}/intl"; \
16979 libsrcdir="$$s/intl"; \
16980 $(SHELL) $${libsrcdir}/configure \
16981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16982 --target=${target_alias} $${srcdiroption} \
16983 --with-build-libsubdir=$(HOST_SUBDIR) \
16984 $(STAGE2_CONFIGURE_FLAGS)
16985 @endif intl-bootstrap
16987 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16988 maybe-configure-stage3-intl:
16989 @if intl-bootstrap
16990 maybe-configure-stage3-intl: configure-stage3-intl
16991 configure-stage3-intl:
16992 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16994 @r=`${PWD_COMMAND}`; export r; \
16995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16996 TFLAGS="$(STAGE3_TFLAGS)"; \
16997 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16998 $(HOST_EXPORTS) \
16999 $(POSTSTAGE1_HOST_EXPORTS) \
17000 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17001 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17002 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17003 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17005 cd $(HOST_SUBDIR)/intl || exit 1; \
17006 case $(srcdir) in \
17007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17008 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17010 esac; \
17011 srcdiroption="--srcdir=$${topdir}/intl"; \
17012 libsrcdir="$$s/intl"; \
17013 $(SHELL) $${libsrcdir}/configure \
17014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17015 --target=${target_alias} $${srcdiroption} \
17016 --with-build-libsubdir=$(HOST_SUBDIR) \
17017 $(STAGE3_CONFIGURE_FLAGS)
17018 @endif intl-bootstrap
17020 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17021 maybe-configure-stage4-intl:
17022 @if intl-bootstrap
17023 maybe-configure-stage4-intl: configure-stage4-intl
17024 configure-stage4-intl:
17025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17027 @r=`${PWD_COMMAND}`; export r; \
17028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 TFLAGS="$(STAGE4_TFLAGS)"; \
17030 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17031 $(HOST_EXPORTS) \
17032 $(POSTSTAGE1_HOST_EXPORTS) \
17033 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17034 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17035 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17036 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17038 cd $(HOST_SUBDIR)/intl || exit 1; \
17039 case $(srcdir) in \
17040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17041 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17043 esac; \
17044 srcdiroption="--srcdir=$${topdir}/intl"; \
17045 libsrcdir="$$s/intl"; \
17046 $(SHELL) $${libsrcdir}/configure \
17047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17048 --target=${target_alias} $${srcdiroption} \
17049 --with-build-libsubdir=$(HOST_SUBDIR) \
17050 $(STAGE4_CONFIGURE_FLAGS)
17051 @endif intl-bootstrap
17053 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17054 maybe-configure-stageprofile-intl:
17055 @if intl-bootstrap
17056 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17057 configure-stageprofile-intl:
17058 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17060 @r=`${PWD_COMMAND}`; export r; \
17061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17062 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17063 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17064 $(HOST_EXPORTS) \
17065 $(POSTSTAGE1_HOST_EXPORTS) \
17066 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17067 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17068 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17069 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17071 cd $(HOST_SUBDIR)/intl || exit 1; \
17072 case $(srcdir) in \
17073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17074 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17076 esac; \
17077 srcdiroption="--srcdir=$${topdir}/intl"; \
17078 libsrcdir="$$s/intl"; \
17079 $(SHELL) $${libsrcdir}/configure \
17080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17081 --target=${target_alias} $${srcdiroption} \
17082 --with-build-libsubdir=$(HOST_SUBDIR) \
17083 $(STAGEprofile_CONFIGURE_FLAGS)
17084 @endif intl-bootstrap
17086 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17087 maybe-configure-stagefeedback-intl:
17088 @if intl-bootstrap
17089 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17090 configure-stagefeedback-intl:
17091 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17093 @r=`${PWD_COMMAND}`; export r; \
17094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17095 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17096 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17097 $(HOST_EXPORTS) \
17098 $(POSTSTAGE1_HOST_EXPORTS) \
17099 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17100 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17101 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17102 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17104 cd $(HOST_SUBDIR)/intl || exit 1; \
17105 case $(srcdir) in \
17106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17107 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17109 esac; \
17110 srcdiroption="--srcdir=$${topdir}/intl"; \
17111 libsrcdir="$$s/intl"; \
17112 $(SHELL) $${libsrcdir}/configure \
17113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17114 --target=${target_alias} $${srcdiroption} \
17115 --with-build-libsubdir=$(HOST_SUBDIR) \
17116 $(STAGEfeedback_CONFIGURE_FLAGS)
17117 @endif intl-bootstrap
17123 .PHONY: all-intl maybe-all-intl
17124 maybe-all-intl:
17125 @if gcc-bootstrap
17126 all-intl: stage_current
17127 @endif gcc-bootstrap
17128 @if intl
17129 TARGET-intl=all
17130 maybe-all-intl: all-intl
17131 all-intl: configure-intl
17132 @r=`${PWD_COMMAND}`; export r; \
17133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17134 $(HOST_EXPORTS) \
17135 (cd $(HOST_SUBDIR)/intl && \
17136 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17137 $(TARGET-intl))
17138 @endif intl
17142 .PHONY: all-stage1-intl maybe-all-stage1-intl
17143 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17144 maybe-all-stage1-intl:
17145 maybe-clean-stage1-intl:
17146 @if intl-bootstrap
17147 maybe-all-stage1-intl: all-stage1-intl
17148 all-stage1: all-stage1-intl
17149 TARGET-stage1-intl = $(TARGET-intl)
17150 all-stage1-intl: configure-stage1-intl
17151 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17152 @r=`${PWD_COMMAND}`; export r; \
17153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17154 TFLAGS="$(STAGE1_TFLAGS)"; \
17155 $(HOST_EXPORTS) \
17156 cd $(HOST_SUBDIR)/intl && \
17157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17158 CFLAGS="$(STAGE1_CFLAGS)" \
17159 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17160 LIBCFLAGS="$(LIBCFLAGS)" \
17161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17164 $(EXTRA_HOST_FLAGS) \
17165 $(STAGE1_FLAGS_TO_PASS) \
17166 TFLAGS="$(STAGE1_TFLAGS)" \
17167 $(TARGET-stage1-intl)
17169 maybe-clean-stage1-intl: clean-stage1-intl
17170 clean-stage1: clean-stage1-intl
17171 clean-stage1-intl:
17172 @if [ $(current_stage) = stage1 ]; then \
17173 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17174 else \
17175 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17176 $(MAKE) stage1-start; \
17177 fi; \
17178 cd $(HOST_SUBDIR)/intl && \
17179 $(MAKE) $(EXTRA_HOST_FLAGS) \
17180 $(STAGE1_FLAGS_TO_PASS) clean
17181 @endif intl-bootstrap
17184 .PHONY: all-stage2-intl maybe-all-stage2-intl
17185 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17186 maybe-all-stage2-intl:
17187 maybe-clean-stage2-intl:
17188 @if intl-bootstrap
17189 maybe-all-stage2-intl: all-stage2-intl
17190 all-stage2: all-stage2-intl
17191 TARGET-stage2-intl = $(TARGET-intl)
17192 all-stage2-intl: configure-stage2-intl
17193 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17194 @r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 TFLAGS="$(STAGE2_TFLAGS)"; \
17197 $(HOST_EXPORTS) \
17198 $(POSTSTAGE1_HOST_EXPORTS) \
17199 cd $(HOST_SUBDIR)/intl && \
17200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17201 CFLAGS="$(STAGE2_CFLAGS)" \
17202 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17203 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17208 TFLAGS="$(STAGE2_TFLAGS)" \
17209 $(TARGET-stage2-intl)
17211 maybe-clean-stage2-intl: clean-stage2-intl
17212 clean-stage2: clean-stage2-intl
17213 clean-stage2-intl:
17214 @if [ $(current_stage) = stage2 ]; then \
17215 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17216 else \
17217 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17218 $(MAKE) stage2-start; \
17219 fi; \
17220 cd $(HOST_SUBDIR)/intl && \
17221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17222 @endif intl-bootstrap
17225 .PHONY: all-stage3-intl maybe-all-stage3-intl
17226 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17227 maybe-all-stage3-intl:
17228 maybe-clean-stage3-intl:
17229 @if intl-bootstrap
17230 maybe-all-stage3-intl: all-stage3-intl
17231 all-stage3: all-stage3-intl
17232 TARGET-stage3-intl = $(TARGET-intl)
17233 all-stage3-intl: configure-stage3-intl
17234 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17235 @r=`${PWD_COMMAND}`; export r; \
17236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17237 TFLAGS="$(STAGE3_TFLAGS)"; \
17238 $(HOST_EXPORTS) \
17239 $(POSTSTAGE1_HOST_EXPORTS) \
17240 cd $(HOST_SUBDIR)/intl && \
17241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17242 CFLAGS="$(STAGE3_CFLAGS)" \
17243 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17244 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17249 TFLAGS="$(STAGE3_TFLAGS)" \
17250 $(TARGET-stage3-intl)
17252 maybe-clean-stage3-intl: clean-stage3-intl
17253 clean-stage3: clean-stage3-intl
17254 clean-stage3-intl:
17255 @if [ $(current_stage) = stage3 ]; then \
17256 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17257 else \
17258 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17259 $(MAKE) stage3-start; \
17260 fi; \
17261 cd $(HOST_SUBDIR)/intl && \
17262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17263 @endif intl-bootstrap
17266 .PHONY: all-stage4-intl maybe-all-stage4-intl
17267 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17268 maybe-all-stage4-intl:
17269 maybe-clean-stage4-intl:
17270 @if intl-bootstrap
17271 maybe-all-stage4-intl: all-stage4-intl
17272 all-stage4: all-stage4-intl
17273 TARGET-stage4-intl = $(TARGET-intl)
17274 all-stage4-intl: configure-stage4-intl
17275 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17276 @r=`${PWD_COMMAND}`; export r; \
17277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17278 TFLAGS="$(STAGE4_TFLAGS)"; \
17279 $(HOST_EXPORTS) \
17280 $(POSTSTAGE1_HOST_EXPORTS) \
17281 cd $(HOST_SUBDIR)/intl && \
17282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17283 CFLAGS="$(STAGE4_CFLAGS)" \
17284 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17285 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17290 TFLAGS="$(STAGE4_TFLAGS)" \
17291 $(TARGET-stage4-intl)
17293 maybe-clean-stage4-intl: clean-stage4-intl
17294 clean-stage4: clean-stage4-intl
17295 clean-stage4-intl:
17296 @if [ $(current_stage) = stage4 ]; then \
17297 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17298 else \
17299 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17300 $(MAKE) stage4-start; \
17301 fi; \
17302 cd $(HOST_SUBDIR)/intl && \
17303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17304 @endif intl-bootstrap
17307 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17308 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17309 maybe-all-stageprofile-intl:
17310 maybe-clean-stageprofile-intl:
17311 @if intl-bootstrap
17312 maybe-all-stageprofile-intl: all-stageprofile-intl
17313 all-stageprofile: all-stageprofile-intl
17314 TARGET-stageprofile-intl = $(TARGET-intl)
17315 all-stageprofile-intl: configure-stageprofile-intl
17316 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17317 @r=`${PWD_COMMAND}`; export r; \
17318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17319 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17320 $(HOST_EXPORTS) \
17321 $(POSTSTAGE1_HOST_EXPORTS) \
17322 cd $(HOST_SUBDIR)/intl && \
17323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17324 CFLAGS="$(STAGEprofile_CFLAGS)" \
17325 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17326 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17331 TFLAGS="$(STAGEprofile_TFLAGS)" \
17332 $(TARGET-stageprofile-intl)
17334 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17335 clean-stageprofile: clean-stageprofile-intl
17336 clean-stageprofile-intl:
17337 @if [ $(current_stage) = stageprofile ]; then \
17338 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17339 else \
17340 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17341 $(MAKE) stageprofile-start; \
17342 fi; \
17343 cd $(HOST_SUBDIR)/intl && \
17344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17345 @endif intl-bootstrap
17348 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17349 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17350 maybe-all-stagefeedback-intl:
17351 maybe-clean-stagefeedback-intl:
17352 @if intl-bootstrap
17353 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17354 all-stagefeedback: all-stagefeedback-intl
17355 TARGET-stagefeedback-intl = $(TARGET-intl)
17356 all-stagefeedback-intl: configure-stagefeedback-intl
17357 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17358 @r=`${PWD_COMMAND}`; export r; \
17359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17360 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17361 $(HOST_EXPORTS) \
17362 $(POSTSTAGE1_HOST_EXPORTS) \
17363 cd $(HOST_SUBDIR)/intl && \
17364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17365 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17366 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17367 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17371 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17372 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17373 $(TARGET-stagefeedback-intl)
17375 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17376 clean-stagefeedback: clean-stagefeedback-intl
17377 clean-stagefeedback-intl:
17378 @if [ $(current_stage) = stagefeedback ]; then \
17379 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17380 else \
17381 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17382 $(MAKE) stagefeedback-start; \
17383 fi; \
17384 cd $(HOST_SUBDIR)/intl && \
17385 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17386 @endif intl-bootstrap
17392 .PHONY: check-intl maybe-check-intl
17393 maybe-check-intl:
17394 @if intl
17395 maybe-check-intl: check-intl
17397 check-intl:
17398 @: $(MAKE); $(unstage)
17399 @r=`${PWD_COMMAND}`; export r; \
17400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 $(HOST_EXPORTS) \
17402 (cd $(HOST_SUBDIR)/intl && \
17403 $(MAKE) $(FLAGS_TO_PASS) check)
17405 @endif intl
17407 .PHONY: install-intl maybe-install-intl
17408 maybe-install-intl:
17409 @if intl
17410 maybe-install-intl: install-intl
17412 install-intl: installdirs
17413 @: $(MAKE); $(unstage)
17414 @r=`${PWD_COMMAND}`; export r; \
17415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416 $(HOST_EXPORTS) \
17417 (cd $(HOST_SUBDIR)/intl && \
17418 $(MAKE) $(FLAGS_TO_PASS) install)
17420 @endif intl
17422 .PHONY: install-strip-intl maybe-install-strip-intl
17423 maybe-install-strip-intl:
17424 @if intl
17425 maybe-install-strip-intl: install-strip-intl
17427 install-strip-intl: installdirs
17428 @: $(MAKE); $(unstage)
17429 @r=`${PWD_COMMAND}`; export r; \
17430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17431 $(HOST_EXPORTS) \
17432 (cd $(HOST_SUBDIR)/intl && \
17433 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17435 @endif intl
17437 # Other targets (info, dvi, pdf, etc.)
17439 .PHONY: maybe-info-intl info-intl
17440 maybe-info-intl:
17441 @if intl
17442 maybe-info-intl: info-intl
17444 info-intl: \
17445 configure-intl
17446 @[ -f ./intl/Makefile ] || exit 0; \
17447 r=`${PWD_COMMAND}`; export r; \
17448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17449 $(HOST_EXPORTS) \
17450 for flag in $(EXTRA_HOST_FLAGS) ; do \
17451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17452 done; \
17453 echo "Doing info in intl" ; \
17454 (cd $(HOST_SUBDIR)/intl && \
17455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17457 "RANLIB=$${RANLIB}" \
17458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17459 info) \
17460 || exit 1
17462 @endif intl
17464 .PHONY: maybe-dvi-intl dvi-intl
17465 maybe-dvi-intl:
17466 @if intl
17467 maybe-dvi-intl: dvi-intl
17469 dvi-intl: \
17470 configure-intl
17471 @[ -f ./intl/Makefile ] || exit 0; \
17472 r=`${PWD_COMMAND}`; export r; \
17473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17474 $(HOST_EXPORTS) \
17475 for flag in $(EXTRA_HOST_FLAGS) ; do \
17476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17477 done; \
17478 echo "Doing dvi in intl" ; \
17479 (cd $(HOST_SUBDIR)/intl && \
17480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17482 "RANLIB=$${RANLIB}" \
17483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17484 dvi) \
17485 || exit 1
17487 @endif intl
17489 .PHONY: maybe-pdf-intl pdf-intl
17490 maybe-pdf-intl:
17491 @if intl
17492 maybe-pdf-intl: pdf-intl
17494 pdf-intl: \
17495 configure-intl
17496 @[ -f ./intl/Makefile ] || exit 0; \
17497 r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(HOST_EXPORTS) \
17500 for flag in $(EXTRA_HOST_FLAGS) ; do \
17501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17502 done; \
17503 echo "Doing pdf in intl" ; \
17504 (cd $(HOST_SUBDIR)/intl && \
17505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17507 "RANLIB=$${RANLIB}" \
17508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17509 pdf) \
17510 || exit 1
17512 @endif intl
17514 .PHONY: maybe-html-intl html-intl
17515 maybe-html-intl:
17516 @if intl
17517 maybe-html-intl: html-intl
17519 html-intl: \
17520 configure-intl
17521 @[ -f ./intl/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing html in intl" ; \
17529 (cd $(HOST_SUBDIR)/intl && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17534 html) \
17535 || exit 1
17537 @endif intl
17539 .PHONY: maybe-TAGS-intl TAGS-intl
17540 maybe-TAGS-intl:
17541 @if intl
17542 maybe-TAGS-intl: TAGS-intl
17544 TAGS-intl: \
17545 configure-intl
17546 @[ -f ./intl/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing TAGS in intl" ; \
17554 (cd $(HOST_SUBDIR)/intl && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17559 TAGS) \
17560 || exit 1
17562 @endif intl
17564 .PHONY: maybe-install-info-intl install-info-intl
17565 maybe-install-info-intl:
17566 @if intl
17567 maybe-install-info-intl: install-info-intl
17569 install-info-intl: \
17570 configure-intl \
17571 info-intl
17572 @[ -f ./intl/Makefile ] || exit 0; \
17573 r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17575 $(HOST_EXPORTS) \
17576 for flag in $(EXTRA_HOST_FLAGS) ; do \
17577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17578 done; \
17579 echo "Doing install-info in intl" ; \
17580 (cd $(HOST_SUBDIR)/intl && \
17581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17583 "RANLIB=$${RANLIB}" \
17584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17585 install-info) \
17586 || exit 1
17588 @endif intl
17590 .PHONY: maybe-install-pdf-intl install-pdf-intl
17591 maybe-install-pdf-intl:
17592 @if intl
17593 maybe-install-pdf-intl: install-pdf-intl
17595 install-pdf-intl: \
17596 configure-intl \
17597 pdf-intl
17598 @[ -f ./intl/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing install-pdf in intl" ; \
17606 (cd $(HOST_SUBDIR)/intl && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17611 install-pdf) \
17612 || exit 1
17614 @endif intl
17616 .PHONY: maybe-install-html-intl install-html-intl
17617 maybe-install-html-intl:
17618 @if intl
17619 maybe-install-html-intl: install-html-intl
17621 install-html-intl: \
17622 configure-intl \
17623 html-intl
17624 @[ -f ./intl/Makefile ] || exit 0; \
17625 r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(HOST_EXPORTS) \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 done; \
17631 echo "Doing install-html in intl" ; \
17632 (cd $(HOST_SUBDIR)/intl && \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17637 install-html) \
17638 || exit 1
17640 @endif intl
17642 .PHONY: maybe-installcheck-intl installcheck-intl
17643 maybe-installcheck-intl:
17644 @if intl
17645 maybe-installcheck-intl: installcheck-intl
17647 installcheck-intl: \
17648 configure-intl
17649 @[ -f ./intl/Makefile ] || exit 0; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(HOST_EXPORTS) \
17653 for flag in $(EXTRA_HOST_FLAGS) ; do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17655 done; \
17656 echo "Doing installcheck in intl" ; \
17657 (cd $(HOST_SUBDIR)/intl && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17662 installcheck) \
17663 || exit 1
17665 @endif intl
17667 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17668 maybe-mostlyclean-intl:
17669 @if intl
17670 maybe-mostlyclean-intl: mostlyclean-intl
17672 mostlyclean-intl:
17673 @[ -f ./intl/Makefile ] || exit 0; \
17674 r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17676 $(HOST_EXPORTS) \
17677 for flag in $(EXTRA_HOST_FLAGS) ; do \
17678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17679 done; \
17680 echo "Doing mostlyclean in intl" ; \
17681 (cd $(HOST_SUBDIR)/intl && \
17682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17684 "RANLIB=$${RANLIB}" \
17685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17686 mostlyclean) \
17687 || exit 1
17689 @endif intl
17691 .PHONY: maybe-clean-intl clean-intl
17692 maybe-clean-intl:
17693 @if intl
17694 maybe-clean-intl: clean-intl
17696 clean-intl:
17697 @[ -f ./intl/Makefile ] || exit 0; \
17698 r=`${PWD_COMMAND}`; export r; \
17699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17700 $(HOST_EXPORTS) \
17701 for flag in $(EXTRA_HOST_FLAGS) ; do \
17702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17703 done; \
17704 echo "Doing clean in intl" ; \
17705 (cd $(HOST_SUBDIR)/intl && \
17706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17708 "RANLIB=$${RANLIB}" \
17709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17710 clean) \
17711 || exit 1
17713 @endif intl
17715 .PHONY: maybe-distclean-intl distclean-intl
17716 maybe-distclean-intl:
17717 @if intl
17718 maybe-distclean-intl: distclean-intl
17720 distclean-intl:
17721 @[ -f ./intl/Makefile ] || exit 0; \
17722 r=`${PWD_COMMAND}`; export r; \
17723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17724 $(HOST_EXPORTS) \
17725 for flag in $(EXTRA_HOST_FLAGS) ; do \
17726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17727 done; \
17728 echo "Doing distclean in intl" ; \
17729 (cd $(HOST_SUBDIR)/intl && \
17730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17732 "RANLIB=$${RANLIB}" \
17733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17734 distclean) \
17735 || exit 1
17737 @endif intl
17739 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17740 maybe-maintainer-clean-intl:
17741 @if intl
17742 maybe-maintainer-clean-intl: maintainer-clean-intl
17744 maintainer-clean-intl:
17745 @[ -f ./intl/Makefile ] || exit 0; \
17746 r=`${PWD_COMMAND}`; export r; \
17747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17748 $(HOST_EXPORTS) \
17749 for flag in $(EXTRA_HOST_FLAGS) ; do \
17750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17751 done; \
17752 echo "Doing maintainer-clean in intl" ; \
17753 (cd $(HOST_SUBDIR)/intl && \
17754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17756 "RANLIB=$${RANLIB}" \
17757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17758 maintainer-clean) \
17759 || exit 1
17761 @endif intl
17765 .PHONY: configure-tcl maybe-configure-tcl
17766 maybe-configure-tcl:
17767 @if gcc-bootstrap
17768 configure-tcl: stage_current
17769 @endif gcc-bootstrap
17770 @if tcl
17771 maybe-configure-tcl: configure-tcl
17772 configure-tcl:
17773 @: $(MAKE); $(unstage)
17774 @r=`${PWD_COMMAND}`; export r; \
17775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17778 $(HOST_EXPORTS) \
17779 echo Configuring in $(HOST_SUBDIR)/tcl; \
17780 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17781 case $(srcdir) in \
17782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17783 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17785 esac; \
17786 srcdiroption="--srcdir=$${topdir}/tcl"; \
17787 libsrcdir="$$s/tcl"; \
17788 $(SHELL) $${libsrcdir}/configure \
17789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17790 --target=${target_alias} $${srcdiroption} \
17791 || exit 1
17792 @endif tcl
17798 .PHONY: all-tcl maybe-all-tcl
17799 maybe-all-tcl:
17800 @if gcc-bootstrap
17801 all-tcl: stage_current
17802 @endif gcc-bootstrap
17803 @if tcl
17804 TARGET-tcl=all
17805 maybe-all-tcl: all-tcl
17806 all-tcl: configure-tcl
17807 @: $(MAKE); $(unstage)
17808 @r=`${PWD_COMMAND}`; export r; \
17809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17810 $(HOST_EXPORTS) \
17811 (cd $(HOST_SUBDIR)/tcl && \
17812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17813 $(TARGET-tcl))
17814 @endif tcl
17819 .PHONY: check-tcl maybe-check-tcl
17820 maybe-check-tcl:
17821 @if tcl
17822 maybe-check-tcl: check-tcl
17824 check-tcl:
17825 @: $(MAKE); $(unstage)
17826 @r=`${PWD_COMMAND}`; export r; \
17827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17828 $(HOST_EXPORTS) \
17829 (cd $(HOST_SUBDIR)/tcl && \
17830 $(MAKE) $(FLAGS_TO_PASS) check)
17832 @endif tcl
17834 .PHONY: install-tcl maybe-install-tcl
17835 maybe-install-tcl:
17836 @if tcl
17837 maybe-install-tcl: install-tcl
17839 install-tcl: installdirs
17840 @: $(MAKE); $(unstage)
17841 @r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 $(HOST_EXPORTS) \
17844 (cd $(HOST_SUBDIR)/tcl && \
17845 $(MAKE) $(FLAGS_TO_PASS) install)
17847 @endif tcl
17849 .PHONY: install-strip-tcl maybe-install-strip-tcl
17850 maybe-install-strip-tcl:
17851 @if tcl
17852 maybe-install-strip-tcl: install-strip-tcl
17854 install-strip-tcl: installdirs
17855 @: $(MAKE); $(unstage)
17856 @r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 $(HOST_EXPORTS) \
17859 (cd $(HOST_SUBDIR)/tcl && \
17860 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17862 @endif tcl
17864 # Other targets (info, dvi, pdf, etc.)
17866 .PHONY: maybe-info-tcl info-tcl
17867 maybe-info-tcl:
17868 @if tcl
17869 maybe-info-tcl: info-tcl
17871 info-tcl: \
17872 configure-tcl
17873 @: $(MAKE); $(unstage)
17874 @[ -f ./tcl/Makefile ] || exit 0; \
17875 r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877 $(HOST_EXPORTS) \
17878 for flag in $(EXTRA_HOST_FLAGS) ; do \
17879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17880 done; \
17881 echo "Doing info in tcl" ; \
17882 (cd $(HOST_SUBDIR)/tcl && \
17883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17885 "RANLIB=$${RANLIB}" \
17886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17887 info) \
17888 || exit 1
17890 @endif tcl
17892 .PHONY: maybe-dvi-tcl dvi-tcl
17893 maybe-dvi-tcl:
17894 @if tcl
17895 maybe-dvi-tcl: dvi-tcl
17897 dvi-tcl: \
17898 configure-tcl
17899 @: $(MAKE); $(unstage)
17900 @[ -f ./tcl/Makefile ] || exit 0; \
17901 r=`${PWD_COMMAND}`; export r; \
17902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17903 $(HOST_EXPORTS) \
17904 for flag in $(EXTRA_HOST_FLAGS) ; do \
17905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17906 done; \
17907 echo "Doing dvi in tcl" ; \
17908 (cd $(HOST_SUBDIR)/tcl && \
17909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17911 "RANLIB=$${RANLIB}" \
17912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17913 dvi) \
17914 || exit 1
17916 @endif tcl
17918 .PHONY: maybe-pdf-tcl pdf-tcl
17919 maybe-pdf-tcl:
17920 @if tcl
17921 maybe-pdf-tcl: pdf-tcl
17923 pdf-tcl: \
17924 configure-tcl
17925 @: $(MAKE); $(unstage)
17926 @[ -f ./tcl/Makefile ] || exit 0; \
17927 r=`${PWD_COMMAND}`; export r; \
17928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17929 $(HOST_EXPORTS) \
17930 for flag in $(EXTRA_HOST_FLAGS) ; do \
17931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17932 done; \
17933 echo "Doing pdf in tcl" ; \
17934 (cd $(HOST_SUBDIR)/tcl && \
17935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17937 "RANLIB=$${RANLIB}" \
17938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17939 pdf) \
17940 || exit 1
17942 @endif tcl
17944 .PHONY: maybe-html-tcl html-tcl
17945 maybe-html-tcl:
17946 @if tcl
17947 maybe-html-tcl: html-tcl
17949 html-tcl: \
17950 configure-tcl
17951 @: $(MAKE); $(unstage)
17952 @[ -f ./tcl/Makefile ] || exit 0; \
17953 r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 $(HOST_EXPORTS) \
17956 for flag in $(EXTRA_HOST_FLAGS) ; do \
17957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17958 done; \
17959 echo "Doing html in tcl" ; \
17960 (cd $(HOST_SUBDIR)/tcl && \
17961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17963 "RANLIB=$${RANLIB}" \
17964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17965 html) \
17966 || exit 1
17968 @endif tcl
17970 .PHONY: maybe-TAGS-tcl TAGS-tcl
17971 maybe-TAGS-tcl:
17972 @if tcl
17973 maybe-TAGS-tcl: TAGS-tcl
17975 TAGS-tcl: \
17976 configure-tcl
17977 @: $(MAKE); $(unstage)
17978 @[ -f ./tcl/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(HOST_EXPORTS) \
17982 for flag in $(EXTRA_HOST_FLAGS) ; do \
17983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17984 done; \
17985 echo "Doing TAGS in tcl" ; \
17986 (cd $(HOST_SUBDIR)/tcl && \
17987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17989 "RANLIB=$${RANLIB}" \
17990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17991 TAGS) \
17992 || exit 1
17994 @endif tcl
17996 .PHONY: maybe-install-info-tcl install-info-tcl
17997 maybe-install-info-tcl:
17998 @if tcl
17999 maybe-install-info-tcl: install-info-tcl
18001 install-info-tcl: \
18002 configure-tcl \
18003 info-tcl
18004 @: $(MAKE); $(unstage)
18005 @[ -f ./tcl/Makefile ] || exit 0; \
18006 r=`${PWD_COMMAND}`; export r; \
18007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18008 $(HOST_EXPORTS) \
18009 for flag in $(EXTRA_HOST_FLAGS) ; do \
18010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18011 done; \
18012 echo "Doing install-info in tcl" ; \
18013 (cd $(HOST_SUBDIR)/tcl && \
18014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18016 "RANLIB=$${RANLIB}" \
18017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18018 install-info) \
18019 || exit 1
18021 @endif tcl
18023 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18024 maybe-install-pdf-tcl:
18025 @if tcl
18026 maybe-install-pdf-tcl: install-pdf-tcl
18028 install-pdf-tcl: \
18029 configure-tcl \
18030 pdf-tcl
18031 @: $(MAKE); $(unstage)
18032 @[ -f ./tcl/Makefile ] || exit 0; \
18033 r=`${PWD_COMMAND}`; export r; \
18034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18035 $(HOST_EXPORTS) \
18036 for flag in $(EXTRA_HOST_FLAGS) ; do \
18037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18038 done; \
18039 echo "Doing install-pdf in tcl" ; \
18040 (cd $(HOST_SUBDIR)/tcl && \
18041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18043 "RANLIB=$${RANLIB}" \
18044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18045 install-pdf) \
18046 || exit 1
18048 @endif tcl
18050 .PHONY: maybe-install-html-tcl install-html-tcl
18051 maybe-install-html-tcl:
18052 @if tcl
18053 maybe-install-html-tcl: install-html-tcl
18055 install-html-tcl: \
18056 configure-tcl \
18057 html-tcl
18058 @: $(MAKE); $(unstage)
18059 @[ -f ./tcl/Makefile ] || exit 0; \
18060 r=`${PWD_COMMAND}`; export r; \
18061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18062 $(HOST_EXPORTS) \
18063 for flag in $(EXTRA_HOST_FLAGS) ; do \
18064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18065 done; \
18066 echo "Doing install-html in tcl" ; \
18067 (cd $(HOST_SUBDIR)/tcl && \
18068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18070 "RANLIB=$${RANLIB}" \
18071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18072 install-html) \
18073 || exit 1
18075 @endif tcl
18077 .PHONY: maybe-installcheck-tcl installcheck-tcl
18078 maybe-installcheck-tcl:
18079 @if tcl
18080 maybe-installcheck-tcl: installcheck-tcl
18082 installcheck-tcl: \
18083 configure-tcl
18084 @: $(MAKE); $(unstage)
18085 @[ -f ./tcl/Makefile ] || exit 0; \
18086 r=`${PWD_COMMAND}`; export r; \
18087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18088 $(HOST_EXPORTS) \
18089 for flag in $(EXTRA_HOST_FLAGS) ; do \
18090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18091 done; \
18092 echo "Doing installcheck in tcl" ; \
18093 (cd $(HOST_SUBDIR)/tcl && \
18094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18096 "RANLIB=$${RANLIB}" \
18097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18098 installcheck) \
18099 || exit 1
18101 @endif tcl
18103 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18104 maybe-mostlyclean-tcl:
18105 @if tcl
18106 maybe-mostlyclean-tcl: mostlyclean-tcl
18108 # tcl doesn't support mostlyclean.
18109 mostlyclean-tcl:
18111 @endif tcl
18113 .PHONY: maybe-clean-tcl clean-tcl
18114 maybe-clean-tcl:
18115 @if tcl
18116 maybe-clean-tcl: clean-tcl
18118 clean-tcl:
18119 @: $(MAKE); $(unstage)
18120 @[ -f ./tcl/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(HOST_EXPORTS) \
18124 for flag in $(EXTRA_HOST_FLAGS) ; do \
18125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18126 done; \
18127 echo "Doing clean in tcl" ; \
18128 (cd $(HOST_SUBDIR)/tcl && \
18129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131 "RANLIB=$${RANLIB}" \
18132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18133 clean) \
18134 || exit 1
18136 @endif tcl
18138 .PHONY: maybe-distclean-tcl distclean-tcl
18139 maybe-distclean-tcl:
18140 @if tcl
18141 maybe-distclean-tcl: distclean-tcl
18143 distclean-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 distclean 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 distclean) \
18159 || exit 1
18161 @endif tcl
18163 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18164 maybe-maintainer-clean-tcl:
18165 @if tcl
18166 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18168 maintainer-clean-tcl:
18169 @: $(MAKE); $(unstage)
18170 @[ -f ./tcl/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing maintainer-clean in tcl" ; \
18178 (cd $(HOST_SUBDIR)/tcl && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18183 maintainer-clean) \
18184 || exit 1
18186 @endif tcl
18190 .PHONY: configure-itcl maybe-configure-itcl
18191 maybe-configure-itcl:
18192 @if gcc-bootstrap
18193 configure-itcl: stage_current
18194 @endif gcc-bootstrap
18195 @if itcl
18196 maybe-configure-itcl: configure-itcl
18197 configure-itcl:
18198 @: $(MAKE); $(unstage)
18199 @r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18203 $(HOST_EXPORTS) \
18204 echo Configuring in $(HOST_SUBDIR)/itcl; \
18205 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18206 case $(srcdir) in \
18207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18208 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18210 esac; \
18211 srcdiroption="--srcdir=$${topdir}/itcl"; \
18212 libsrcdir="$$s/itcl"; \
18213 $(SHELL) $${libsrcdir}/configure \
18214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18215 --target=${target_alias} $${srcdiroption} \
18216 || exit 1
18217 @endif itcl
18223 .PHONY: all-itcl maybe-all-itcl
18224 maybe-all-itcl:
18225 @if gcc-bootstrap
18226 all-itcl: stage_current
18227 @endif gcc-bootstrap
18228 @if itcl
18229 TARGET-itcl=all
18230 maybe-all-itcl: all-itcl
18231 all-itcl: configure-itcl
18232 @: $(MAKE); $(unstage)
18233 @r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(HOST_EXPORTS) \
18236 (cd $(HOST_SUBDIR)/itcl && \
18237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18238 $(TARGET-itcl))
18239 @endif itcl
18244 .PHONY: check-itcl maybe-check-itcl
18245 maybe-check-itcl:
18246 @if itcl
18247 maybe-check-itcl: check-itcl
18249 check-itcl:
18250 @: $(MAKE); $(unstage)
18251 @r=`${PWD_COMMAND}`; export r; \
18252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18253 $(HOST_EXPORTS) \
18254 (cd $(HOST_SUBDIR)/itcl && \
18255 $(MAKE) $(FLAGS_TO_PASS) check)
18257 @endif itcl
18259 .PHONY: install-itcl maybe-install-itcl
18260 maybe-install-itcl:
18261 @if itcl
18262 maybe-install-itcl: install-itcl
18264 install-itcl: installdirs
18265 @: $(MAKE); $(unstage)
18266 @r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 $(HOST_EXPORTS) \
18269 (cd $(HOST_SUBDIR)/itcl && \
18270 $(MAKE) $(FLAGS_TO_PASS) install)
18272 @endif itcl
18274 .PHONY: install-strip-itcl maybe-install-strip-itcl
18275 maybe-install-strip-itcl:
18276 @if itcl
18277 maybe-install-strip-itcl: install-strip-itcl
18279 install-strip-itcl: installdirs
18280 @: $(MAKE); $(unstage)
18281 @r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 $(HOST_EXPORTS) \
18284 (cd $(HOST_SUBDIR)/itcl && \
18285 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18287 @endif itcl
18289 # Other targets (info, dvi, pdf, etc.)
18291 .PHONY: maybe-info-itcl info-itcl
18292 maybe-info-itcl:
18293 @if itcl
18294 maybe-info-itcl: info-itcl
18296 info-itcl: \
18297 configure-itcl
18298 @: $(MAKE); $(unstage)
18299 @[ -f ./itcl/Makefile ] || exit 0; \
18300 r=`${PWD_COMMAND}`; export r; \
18301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18302 $(HOST_EXPORTS) \
18303 for flag in $(EXTRA_HOST_FLAGS) ; do \
18304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18305 done; \
18306 echo "Doing info in itcl" ; \
18307 (cd $(HOST_SUBDIR)/itcl && \
18308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18310 "RANLIB=$${RANLIB}" \
18311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18312 info) \
18313 || exit 1
18315 @endif itcl
18317 .PHONY: maybe-dvi-itcl dvi-itcl
18318 maybe-dvi-itcl:
18319 @if itcl
18320 maybe-dvi-itcl: dvi-itcl
18322 dvi-itcl: \
18323 configure-itcl
18324 @: $(MAKE); $(unstage)
18325 @[ -f ./itcl/Makefile ] || exit 0; \
18326 r=`${PWD_COMMAND}`; export r; \
18327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 $(HOST_EXPORTS) \
18329 for flag in $(EXTRA_HOST_FLAGS) ; do \
18330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 done; \
18332 echo "Doing dvi in itcl" ; \
18333 (cd $(HOST_SUBDIR)/itcl && \
18334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18336 "RANLIB=$${RANLIB}" \
18337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18338 dvi) \
18339 || exit 1
18341 @endif itcl
18343 .PHONY: maybe-pdf-itcl pdf-itcl
18344 maybe-pdf-itcl:
18345 @if itcl
18346 maybe-pdf-itcl: pdf-itcl
18348 pdf-itcl: \
18349 configure-itcl
18350 @: $(MAKE); $(unstage)
18351 @[ -f ./itcl/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing pdf in itcl" ; \
18359 (cd $(HOST_SUBDIR)/itcl && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18364 pdf) \
18365 || exit 1
18367 @endif itcl
18369 .PHONY: maybe-html-itcl html-itcl
18370 maybe-html-itcl:
18371 @if itcl
18372 maybe-html-itcl: html-itcl
18374 html-itcl: \
18375 configure-itcl
18376 @: $(MAKE); $(unstage)
18377 @[ -f ./itcl/Makefile ] || exit 0; \
18378 r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(HOST_EXPORTS) \
18381 for flag in $(EXTRA_HOST_FLAGS) ; do \
18382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18383 done; \
18384 echo "Doing html in itcl" ; \
18385 (cd $(HOST_SUBDIR)/itcl && \
18386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18388 "RANLIB=$${RANLIB}" \
18389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18390 html) \
18391 || exit 1
18393 @endif itcl
18395 .PHONY: maybe-TAGS-itcl TAGS-itcl
18396 maybe-TAGS-itcl:
18397 @if itcl
18398 maybe-TAGS-itcl: TAGS-itcl
18400 TAGS-itcl: \
18401 configure-itcl
18402 @: $(MAKE); $(unstage)
18403 @[ -f ./itcl/Makefile ] || exit 0; \
18404 r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 $(HOST_EXPORTS) \
18407 for flag in $(EXTRA_HOST_FLAGS) ; do \
18408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18409 done; \
18410 echo "Doing TAGS in itcl" ; \
18411 (cd $(HOST_SUBDIR)/itcl && \
18412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18414 "RANLIB=$${RANLIB}" \
18415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18416 TAGS) \
18417 || exit 1
18419 @endif itcl
18421 .PHONY: maybe-install-info-itcl install-info-itcl
18422 maybe-install-info-itcl:
18423 @if itcl
18424 maybe-install-info-itcl: install-info-itcl
18426 install-info-itcl: \
18427 configure-itcl \
18428 info-itcl
18429 @: $(MAKE); $(unstage)
18430 @[ -f ./itcl/Makefile ] || exit 0; \
18431 r=`${PWD_COMMAND}`; export r; \
18432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18433 $(HOST_EXPORTS) \
18434 for flag in $(EXTRA_HOST_FLAGS) ; do \
18435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18436 done; \
18437 echo "Doing install-info in itcl" ; \
18438 (cd $(HOST_SUBDIR)/itcl && \
18439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18441 "RANLIB=$${RANLIB}" \
18442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18443 install-info) \
18444 || exit 1
18446 @endif itcl
18448 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18449 maybe-install-pdf-itcl:
18450 @if itcl
18451 maybe-install-pdf-itcl: install-pdf-itcl
18453 install-pdf-itcl: \
18454 configure-itcl \
18455 pdf-itcl
18456 @: $(MAKE); $(unstage)
18457 @[ -f ./itcl/Makefile ] || exit 0; \
18458 r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 $(HOST_EXPORTS) \
18461 for flag in $(EXTRA_HOST_FLAGS) ; do \
18462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18463 done; \
18464 echo "Doing install-pdf in itcl" ; \
18465 (cd $(HOST_SUBDIR)/itcl && \
18466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18468 "RANLIB=$${RANLIB}" \
18469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18470 install-pdf) \
18471 || exit 1
18473 @endif itcl
18475 .PHONY: maybe-install-html-itcl install-html-itcl
18476 maybe-install-html-itcl:
18477 @if itcl
18478 maybe-install-html-itcl: install-html-itcl
18480 install-html-itcl: \
18481 configure-itcl \
18482 html-itcl
18483 @: $(MAKE); $(unstage)
18484 @[ -f ./itcl/Makefile ] || exit 0; \
18485 r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18487 $(HOST_EXPORTS) \
18488 for flag in $(EXTRA_HOST_FLAGS) ; do \
18489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18490 done; \
18491 echo "Doing install-html in itcl" ; \
18492 (cd $(HOST_SUBDIR)/itcl && \
18493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18495 "RANLIB=$${RANLIB}" \
18496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18497 install-html) \
18498 || exit 1
18500 @endif itcl
18502 .PHONY: maybe-installcheck-itcl installcheck-itcl
18503 maybe-installcheck-itcl:
18504 @if itcl
18505 maybe-installcheck-itcl: installcheck-itcl
18507 installcheck-itcl: \
18508 configure-itcl
18509 @: $(MAKE); $(unstage)
18510 @[ -f ./itcl/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(HOST_EXPORTS) \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18516 done; \
18517 echo "Doing installcheck in itcl" ; \
18518 (cd $(HOST_SUBDIR)/itcl && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18523 installcheck) \
18524 || exit 1
18526 @endif itcl
18528 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18529 maybe-mostlyclean-itcl:
18530 @if itcl
18531 maybe-mostlyclean-itcl: mostlyclean-itcl
18533 mostlyclean-itcl:
18534 @: $(MAKE); $(unstage)
18535 @[ -f ./itcl/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(HOST_EXPORTS) \
18539 for flag in $(EXTRA_HOST_FLAGS) ; do \
18540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18541 done; \
18542 echo "Doing mostlyclean in itcl" ; \
18543 (cd $(HOST_SUBDIR)/itcl && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18546 "RANLIB=$${RANLIB}" \
18547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18548 mostlyclean) \
18549 || exit 1
18551 @endif itcl
18553 .PHONY: maybe-clean-itcl clean-itcl
18554 maybe-clean-itcl:
18555 @if itcl
18556 maybe-clean-itcl: clean-itcl
18558 clean-itcl:
18559 @: $(MAKE); $(unstage)
18560 @[ -f ./itcl/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(HOST_EXPORTS) \
18564 for flag in $(EXTRA_HOST_FLAGS) ; do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566 done; \
18567 echo "Doing clean in itcl" ; \
18568 (cd $(HOST_SUBDIR)/itcl && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18573 clean) \
18574 || exit 1
18576 @endif itcl
18578 .PHONY: maybe-distclean-itcl distclean-itcl
18579 maybe-distclean-itcl:
18580 @if itcl
18581 maybe-distclean-itcl: distclean-itcl
18583 distclean-itcl:
18584 @: $(MAKE); $(unstage)
18585 @[ -f ./itcl/Makefile ] || exit 0; \
18586 r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 $(HOST_EXPORTS) \
18589 for flag in $(EXTRA_HOST_FLAGS) ; do \
18590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18591 done; \
18592 echo "Doing distclean in itcl" ; \
18593 (cd $(HOST_SUBDIR)/itcl && \
18594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596 "RANLIB=$${RANLIB}" \
18597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18598 distclean) \
18599 || exit 1
18601 @endif itcl
18603 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18604 maybe-maintainer-clean-itcl:
18605 @if itcl
18606 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18608 maintainer-clean-itcl:
18609 @: $(MAKE); $(unstage)
18610 @[ -f ./itcl/Makefile ] || exit 0; \
18611 r=`${PWD_COMMAND}`; export r; \
18612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613 $(HOST_EXPORTS) \
18614 for flag in $(EXTRA_HOST_FLAGS) ; do \
18615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18616 done; \
18617 echo "Doing maintainer-clean in itcl" ; \
18618 (cd $(HOST_SUBDIR)/itcl && \
18619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18621 "RANLIB=$${RANLIB}" \
18622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18623 maintainer-clean) \
18624 || exit 1
18626 @endif itcl
18630 .PHONY: configure-ld maybe-configure-ld
18631 maybe-configure-ld:
18632 @if gcc-bootstrap
18633 configure-ld: stage_current
18634 @endif gcc-bootstrap
18635 @if ld
18636 maybe-configure-ld: configure-ld
18637 configure-ld:
18638 @r=`${PWD_COMMAND}`; export r; \
18639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18640 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18642 $(HOST_EXPORTS) \
18643 echo Configuring in $(HOST_SUBDIR)/ld; \
18644 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18645 case $(srcdir) in \
18646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18647 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18649 esac; \
18650 srcdiroption="--srcdir=$${topdir}/ld"; \
18651 libsrcdir="$$s/ld"; \
18652 $(SHELL) $${libsrcdir}/configure \
18653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18654 --target=${target_alias} $${srcdiroption} \
18655 || exit 1
18656 @endif ld
18660 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18661 maybe-configure-stage1-ld:
18662 @if ld-bootstrap
18663 maybe-configure-stage1-ld: configure-stage1-ld
18664 configure-stage1-ld:
18665 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18667 @r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 TFLAGS="$(STAGE1_TFLAGS)"; \
18670 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18671 $(HOST_EXPORTS) \
18672 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18673 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18674 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18675 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18677 cd $(HOST_SUBDIR)/ld || exit 1; \
18678 case $(srcdir) in \
18679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18680 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18682 esac; \
18683 srcdiroption="--srcdir=$${topdir}/ld"; \
18684 libsrcdir="$$s/ld"; \
18685 $(SHELL) $${libsrcdir}/configure \
18686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18687 --target=${target_alias} $${srcdiroption} \
18688 $(STAGE1_CONFIGURE_FLAGS)
18689 @endif ld-bootstrap
18691 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18692 maybe-configure-stage2-ld:
18693 @if ld-bootstrap
18694 maybe-configure-stage2-ld: configure-stage2-ld
18695 configure-stage2-ld:
18696 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18698 @r=`${PWD_COMMAND}`; export r; \
18699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18700 TFLAGS="$(STAGE2_TFLAGS)"; \
18701 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18702 $(HOST_EXPORTS) \
18703 $(POSTSTAGE1_HOST_EXPORTS) \
18704 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18705 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18706 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18707 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18709 cd $(HOST_SUBDIR)/ld || exit 1; \
18710 case $(srcdir) in \
18711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18712 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18714 esac; \
18715 srcdiroption="--srcdir=$${topdir}/ld"; \
18716 libsrcdir="$$s/ld"; \
18717 $(SHELL) $${libsrcdir}/configure \
18718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18719 --target=${target_alias} $${srcdiroption} \
18720 --with-build-libsubdir=$(HOST_SUBDIR) \
18721 $(STAGE2_CONFIGURE_FLAGS)
18722 @endif ld-bootstrap
18724 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18725 maybe-configure-stage3-ld:
18726 @if ld-bootstrap
18727 maybe-configure-stage3-ld: configure-stage3-ld
18728 configure-stage3-ld:
18729 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18731 @r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733 TFLAGS="$(STAGE3_TFLAGS)"; \
18734 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18735 $(HOST_EXPORTS) \
18736 $(POSTSTAGE1_HOST_EXPORTS) \
18737 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18738 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18739 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18740 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18742 cd $(HOST_SUBDIR)/ld || exit 1; \
18743 case $(srcdir) in \
18744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18745 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18747 esac; \
18748 srcdiroption="--srcdir=$${topdir}/ld"; \
18749 libsrcdir="$$s/ld"; \
18750 $(SHELL) $${libsrcdir}/configure \
18751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18752 --target=${target_alias} $${srcdiroption} \
18753 --with-build-libsubdir=$(HOST_SUBDIR) \
18754 $(STAGE3_CONFIGURE_FLAGS)
18755 @endif ld-bootstrap
18757 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18758 maybe-configure-stage4-ld:
18759 @if ld-bootstrap
18760 maybe-configure-stage4-ld: configure-stage4-ld
18761 configure-stage4-ld:
18762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18764 @r=`${PWD_COMMAND}`; export r; \
18765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18766 TFLAGS="$(STAGE4_TFLAGS)"; \
18767 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18768 $(HOST_EXPORTS) \
18769 $(POSTSTAGE1_HOST_EXPORTS) \
18770 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18771 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18772 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18773 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18775 cd $(HOST_SUBDIR)/ld || exit 1; \
18776 case $(srcdir) in \
18777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18778 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18780 esac; \
18781 srcdiroption="--srcdir=$${topdir}/ld"; \
18782 libsrcdir="$$s/ld"; \
18783 $(SHELL) $${libsrcdir}/configure \
18784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18785 --target=${target_alias} $${srcdiroption} \
18786 --with-build-libsubdir=$(HOST_SUBDIR) \
18787 $(STAGE4_CONFIGURE_FLAGS)
18788 @endif ld-bootstrap
18790 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18791 maybe-configure-stageprofile-ld:
18792 @if ld-bootstrap
18793 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18794 configure-stageprofile-ld:
18795 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18797 @r=`${PWD_COMMAND}`; export r; \
18798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18799 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18800 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18801 $(HOST_EXPORTS) \
18802 $(POSTSTAGE1_HOST_EXPORTS) \
18803 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18804 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18805 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18806 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18808 cd $(HOST_SUBDIR)/ld || exit 1; \
18809 case $(srcdir) in \
18810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18811 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18813 esac; \
18814 srcdiroption="--srcdir=$${topdir}/ld"; \
18815 libsrcdir="$$s/ld"; \
18816 $(SHELL) $${libsrcdir}/configure \
18817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18818 --target=${target_alias} $${srcdiroption} \
18819 --with-build-libsubdir=$(HOST_SUBDIR) \
18820 $(STAGEprofile_CONFIGURE_FLAGS)
18821 @endif ld-bootstrap
18823 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18824 maybe-configure-stagefeedback-ld:
18825 @if ld-bootstrap
18826 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18827 configure-stagefeedback-ld:
18828 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18830 @r=`${PWD_COMMAND}`; export r; \
18831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18832 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18833 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18834 $(HOST_EXPORTS) \
18835 $(POSTSTAGE1_HOST_EXPORTS) \
18836 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18837 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18838 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18839 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18841 cd $(HOST_SUBDIR)/ld || exit 1; \
18842 case $(srcdir) in \
18843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18844 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18846 esac; \
18847 srcdiroption="--srcdir=$${topdir}/ld"; \
18848 libsrcdir="$$s/ld"; \
18849 $(SHELL) $${libsrcdir}/configure \
18850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18851 --target=${target_alias} $${srcdiroption} \
18852 --with-build-libsubdir=$(HOST_SUBDIR) \
18853 $(STAGEfeedback_CONFIGURE_FLAGS)
18854 @endif ld-bootstrap
18860 .PHONY: all-ld maybe-all-ld
18861 maybe-all-ld:
18862 @if gcc-bootstrap
18863 all-ld: stage_current
18864 @endif gcc-bootstrap
18865 @if ld
18866 TARGET-ld=all
18867 maybe-all-ld: all-ld
18868 all-ld: configure-ld
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 (cd $(HOST_SUBDIR)/ld && \
18873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18874 $(TARGET-ld))
18875 @endif ld
18879 .PHONY: all-stage1-ld maybe-all-stage1-ld
18880 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18881 maybe-all-stage1-ld:
18882 maybe-clean-stage1-ld:
18883 @if ld-bootstrap
18884 maybe-all-stage1-ld: all-stage1-ld
18885 all-stage1: all-stage1-ld
18886 TARGET-stage1-ld = $(TARGET-ld)
18887 all-stage1-ld: configure-stage1-ld
18888 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18889 @r=`${PWD_COMMAND}`; export r; \
18890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18891 TFLAGS="$(STAGE1_TFLAGS)"; \
18892 $(HOST_EXPORTS) \
18893 cd $(HOST_SUBDIR)/ld && \
18894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18895 CFLAGS="$(STAGE1_CFLAGS)" \
18896 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18897 LIBCFLAGS="$(LIBCFLAGS)" \
18898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18901 $(EXTRA_HOST_FLAGS) \
18902 $(STAGE1_FLAGS_TO_PASS) \
18903 TFLAGS="$(STAGE1_TFLAGS)" \
18904 $(TARGET-stage1-ld)
18906 maybe-clean-stage1-ld: clean-stage1-ld
18907 clean-stage1: clean-stage1-ld
18908 clean-stage1-ld:
18909 @if [ $(current_stage) = stage1 ]; then \
18910 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18911 else \
18912 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18913 $(MAKE) stage1-start; \
18914 fi; \
18915 cd $(HOST_SUBDIR)/ld && \
18916 $(MAKE) $(EXTRA_HOST_FLAGS) \
18917 $(STAGE1_FLAGS_TO_PASS) clean
18918 @endif ld-bootstrap
18921 .PHONY: all-stage2-ld maybe-all-stage2-ld
18922 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18923 maybe-all-stage2-ld:
18924 maybe-clean-stage2-ld:
18925 @if ld-bootstrap
18926 maybe-all-stage2-ld: all-stage2-ld
18927 all-stage2: all-stage2-ld
18928 TARGET-stage2-ld = $(TARGET-ld)
18929 all-stage2-ld: configure-stage2-ld
18930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18931 @r=`${PWD_COMMAND}`; export r; \
18932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933 TFLAGS="$(STAGE2_TFLAGS)"; \
18934 $(HOST_EXPORTS) \
18935 $(POSTSTAGE1_HOST_EXPORTS) \
18936 cd $(HOST_SUBDIR)/ld && \
18937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18938 CFLAGS="$(STAGE2_CFLAGS)" \
18939 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18940 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18945 TFLAGS="$(STAGE2_TFLAGS)" \
18946 $(TARGET-stage2-ld)
18948 maybe-clean-stage2-ld: clean-stage2-ld
18949 clean-stage2: clean-stage2-ld
18950 clean-stage2-ld:
18951 @if [ $(current_stage) = stage2 ]; then \
18952 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18953 else \
18954 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18955 $(MAKE) stage2-start; \
18956 fi; \
18957 cd $(HOST_SUBDIR)/ld && \
18958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18959 @endif ld-bootstrap
18962 .PHONY: all-stage3-ld maybe-all-stage3-ld
18963 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18964 maybe-all-stage3-ld:
18965 maybe-clean-stage3-ld:
18966 @if ld-bootstrap
18967 maybe-all-stage3-ld: all-stage3-ld
18968 all-stage3: all-stage3-ld
18969 TARGET-stage3-ld = $(TARGET-ld)
18970 all-stage3-ld: configure-stage3-ld
18971 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18972 @r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 TFLAGS="$(STAGE3_TFLAGS)"; \
18975 $(HOST_EXPORTS) \
18976 $(POSTSTAGE1_HOST_EXPORTS) \
18977 cd $(HOST_SUBDIR)/ld && \
18978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18979 CFLAGS="$(STAGE3_CFLAGS)" \
18980 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18981 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18986 TFLAGS="$(STAGE3_TFLAGS)" \
18987 $(TARGET-stage3-ld)
18989 maybe-clean-stage3-ld: clean-stage3-ld
18990 clean-stage3: clean-stage3-ld
18991 clean-stage3-ld:
18992 @if [ $(current_stage) = stage3 ]; then \
18993 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18994 else \
18995 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18996 $(MAKE) stage3-start; \
18997 fi; \
18998 cd $(HOST_SUBDIR)/ld && \
18999 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19000 @endif ld-bootstrap
19003 .PHONY: all-stage4-ld maybe-all-stage4-ld
19004 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19005 maybe-all-stage4-ld:
19006 maybe-clean-stage4-ld:
19007 @if ld-bootstrap
19008 maybe-all-stage4-ld: all-stage4-ld
19009 all-stage4: all-stage4-ld
19010 TARGET-stage4-ld = $(TARGET-ld)
19011 all-stage4-ld: configure-stage4-ld
19012 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19013 @r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 TFLAGS="$(STAGE4_TFLAGS)"; \
19016 $(HOST_EXPORTS) \
19017 $(POSTSTAGE1_HOST_EXPORTS) \
19018 cd $(HOST_SUBDIR)/ld && \
19019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19020 CFLAGS="$(STAGE4_CFLAGS)" \
19021 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19022 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19026 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19027 TFLAGS="$(STAGE4_TFLAGS)" \
19028 $(TARGET-stage4-ld)
19030 maybe-clean-stage4-ld: clean-stage4-ld
19031 clean-stage4: clean-stage4-ld
19032 clean-stage4-ld:
19033 @if [ $(current_stage) = stage4 ]; then \
19034 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19035 else \
19036 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19037 $(MAKE) stage4-start; \
19038 fi; \
19039 cd $(HOST_SUBDIR)/ld && \
19040 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19041 @endif ld-bootstrap
19044 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19045 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19046 maybe-all-stageprofile-ld:
19047 maybe-clean-stageprofile-ld:
19048 @if ld-bootstrap
19049 maybe-all-stageprofile-ld: all-stageprofile-ld
19050 all-stageprofile: all-stageprofile-ld
19051 TARGET-stageprofile-ld = $(TARGET-ld)
19052 all-stageprofile-ld: configure-stageprofile-ld
19053 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19054 @r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19057 $(HOST_EXPORTS) \
19058 $(POSTSTAGE1_HOST_EXPORTS) \
19059 cd $(HOST_SUBDIR)/ld && \
19060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19061 CFLAGS="$(STAGEprofile_CFLAGS)" \
19062 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19063 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19067 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19068 TFLAGS="$(STAGEprofile_TFLAGS)" \
19069 $(TARGET-stageprofile-ld)
19071 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19072 clean-stageprofile: clean-stageprofile-ld
19073 clean-stageprofile-ld:
19074 @if [ $(current_stage) = stageprofile ]; then \
19075 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19076 else \
19077 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19078 $(MAKE) stageprofile-start; \
19079 fi; \
19080 cd $(HOST_SUBDIR)/ld && \
19081 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19082 @endif ld-bootstrap
19085 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19086 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19087 maybe-all-stagefeedback-ld:
19088 maybe-clean-stagefeedback-ld:
19089 @if ld-bootstrap
19090 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19091 all-stagefeedback: all-stagefeedback-ld
19092 TARGET-stagefeedback-ld = $(TARGET-ld)
19093 all-stagefeedback-ld: configure-stagefeedback-ld
19094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19095 @r=`${PWD_COMMAND}`; export r; \
19096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19098 $(HOST_EXPORTS) \
19099 $(POSTSTAGE1_HOST_EXPORTS) \
19100 cd $(HOST_SUBDIR)/ld && \
19101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19110 $(TARGET-stagefeedback-ld)
19112 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19113 clean-stagefeedback: clean-stagefeedback-ld
19114 clean-stagefeedback-ld:
19115 @if [ $(current_stage) = stagefeedback ]; then \
19116 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19117 else \
19118 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19119 $(MAKE) stagefeedback-start; \
19120 fi; \
19121 cd $(HOST_SUBDIR)/ld && \
19122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19123 @endif ld-bootstrap
19129 .PHONY: check-ld maybe-check-ld
19130 maybe-check-ld:
19131 @if ld
19132 maybe-check-ld: check-ld
19134 check-ld:
19135 @: $(MAKE); $(unstage)
19136 @r=`${PWD_COMMAND}`; export r; \
19137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19138 $(HOST_EXPORTS) \
19139 (cd $(HOST_SUBDIR)/ld && \
19140 $(MAKE) $(FLAGS_TO_PASS) check)
19142 @endif ld
19144 .PHONY: install-ld maybe-install-ld
19145 maybe-install-ld:
19146 @if ld
19147 maybe-install-ld: install-ld
19149 install-ld: installdirs
19150 @: $(MAKE); $(unstage)
19151 @r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19153 $(HOST_EXPORTS) \
19154 (cd $(HOST_SUBDIR)/ld && \
19155 $(MAKE) $(FLAGS_TO_PASS) install)
19157 @endif ld
19159 .PHONY: install-strip-ld maybe-install-strip-ld
19160 maybe-install-strip-ld:
19161 @if ld
19162 maybe-install-strip-ld: install-strip-ld
19164 install-strip-ld: installdirs
19165 @: $(MAKE); $(unstage)
19166 @r=`${PWD_COMMAND}`; export r; \
19167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19168 $(HOST_EXPORTS) \
19169 (cd $(HOST_SUBDIR)/ld && \
19170 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19172 @endif ld
19174 # Other targets (info, dvi, pdf, etc.)
19176 .PHONY: maybe-info-ld info-ld
19177 maybe-info-ld:
19178 @if ld
19179 maybe-info-ld: info-ld
19181 info-ld: \
19182 configure-ld
19183 @[ -f ./ld/Makefile ] || exit 0; \
19184 r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 $(HOST_EXPORTS) \
19187 for flag in $(EXTRA_HOST_FLAGS) ; do \
19188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19189 done; \
19190 echo "Doing info in ld" ; \
19191 (cd $(HOST_SUBDIR)/ld && \
19192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19194 "RANLIB=$${RANLIB}" \
19195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19196 info) \
19197 || exit 1
19199 @endif ld
19201 .PHONY: maybe-dvi-ld dvi-ld
19202 maybe-dvi-ld:
19203 @if ld
19204 maybe-dvi-ld: dvi-ld
19206 dvi-ld: \
19207 configure-ld
19208 @[ -f ./ld/Makefile ] || exit 0; \
19209 r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211 $(HOST_EXPORTS) \
19212 for flag in $(EXTRA_HOST_FLAGS) ; do \
19213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19214 done; \
19215 echo "Doing dvi in ld" ; \
19216 (cd $(HOST_SUBDIR)/ld && \
19217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19219 "RANLIB=$${RANLIB}" \
19220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19221 dvi) \
19222 || exit 1
19224 @endif ld
19226 .PHONY: maybe-pdf-ld pdf-ld
19227 maybe-pdf-ld:
19228 @if ld
19229 maybe-pdf-ld: pdf-ld
19231 pdf-ld: \
19232 configure-ld
19233 @[ -f ./ld/Makefile ] || exit 0; \
19234 r=`${PWD_COMMAND}`; export r; \
19235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19236 $(HOST_EXPORTS) \
19237 for flag in $(EXTRA_HOST_FLAGS) ; do \
19238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19239 done; \
19240 echo "Doing pdf in ld" ; \
19241 (cd $(HOST_SUBDIR)/ld && \
19242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19244 "RANLIB=$${RANLIB}" \
19245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19246 pdf) \
19247 || exit 1
19249 @endif ld
19251 .PHONY: maybe-html-ld html-ld
19252 maybe-html-ld:
19253 @if ld
19254 maybe-html-ld: html-ld
19256 html-ld: \
19257 configure-ld
19258 @[ -f ./ld/Makefile ] || exit 0; \
19259 r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261 $(HOST_EXPORTS) \
19262 for flag in $(EXTRA_HOST_FLAGS) ; do \
19263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19264 done; \
19265 echo "Doing html in ld" ; \
19266 (cd $(HOST_SUBDIR)/ld && \
19267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19269 "RANLIB=$${RANLIB}" \
19270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19271 html) \
19272 || exit 1
19274 @endif ld
19276 .PHONY: maybe-TAGS-ld TAGS-ld
19277 maybe-TAGS-ld:
19278 @if ld
19279 maybe-TAGS-ld: TAGS-ld
19281 TAGS-ld: \
19282 configure-ld
19283 @[ -f ./ld/Makefile ] || exit 0; \
19284 r=`${PWD_COMMAND}`; export r; \
19285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19286 $(HOST_EXPORTS) \
19287 for flag in $(EXTRA_HOST_FLAGS) ; do \
19288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19289 done; \
19290 echo "Doing TAGS in ld" ; \
19291 (cd $(HOST_SUBDIR)/ld && \
19292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19294 "RANLIB=$${RANLIB}" \
19295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19296 TAGS) \
19297 || exit 1
19299 @endif ld
19301 .PHONY: maybe-install-info-ld install-info-ld
19302 maybe-install-info-ld:
19303 @if ld
19304 maybe-install-info-ld: install-info-ld
19306 install-info-ld: \
19307 configure-ld \
19308 info-ld
19309 @[ -f ./ld/Makefile ] || exit 0; \
19310 r=`${PWD_COMMAND}`; export r; \
19311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19312 $(HOST_EXPORTS) \
19313 for flag in $(EXTRA_HOST_FLAGS) ; do \
19314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19315 done; \
19316 echo "Doing install-info in ld" ; \
19317 (cd $(HOST_SUBDIR)/ld && \
19318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19320 "RANLIB=$${RANLIB}" \
19321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19322 install-info) \
19323 || exit 1
19325 @endif ld
19327 .PHONY: maybe-install-pdf-ld install-pdf-ld
19328 maybe-install-pdf-ld:
19329 @if ld
19330 maybe-install-pdf-ld: install-pdf-ld
19332 install-pdf-ld: \
19333 configure-ld \
19334 pdf-ld
19335 @[ -f ./ld/Makefile ] || exit 0; \
19336 r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 $(HOST_EXPORTS) \
19339 for flag in $(EXTRA_HOST_FLAGS) ; do \
19340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19341 done; \
19342 echo "Doing install-pdf in ld" ; \
19343 (cd $(HOST_SUBDIR)/ld && \
19344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19346 "RANLIB=$${RANLIB}" \
19347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19348 install-pdf) \
19349 || exit 1
19351 @endif ld
19353 .PHONY: maybe-install-html-ld install-html-ld
19354 maybe-install-html-ld:
19355 @if ld
19356 maybe-install-html-ld: install-html-ld
19358 install-html-ld: \
19359 configure-ld \
19360 html-ld
19361 @[ -f ./ld/Makefile ] || exit 0; \
19362 r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 $(HOST_EXPORTS) \
19365 for flag in $(EXTRA_HOST_FLAGS) ; do \
19366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19367 done; \
19368 echo "Doing install-html in ld" ; \
19369 (cd $(HOST_SUBDIR)/ld && \
19370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19372 "RANLIB=$${RANLIB}" \
19373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19374 install-html) \
19375 || exit 1
19377 @endif ld
19379 .PHONY: maybe-installcheck-ld installcheck-ld
19380 maybe-installcheck-ld:
19381 @if ld
19382 maybe-installcheck-ld: installcheck-ld
19384 installcheck-ld: \
19385 configure-ld
19386 @[ -f ./ld/Makefile ] || exit 0; \
19387 r=`${PWD_COMMAND}`; export r; \
19388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19389 $(HOST_EXPORTS) \
19390 for flag in $(EXTRA_HOST_FLAGS) ; do \
19391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19392 done; \
19393 echo "Doing installcheck in ld" ; \
19394 (cd $(HOST_SUBDIR)/ld && \
19395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19397 "RANLIB=$${RANLIB}" \
19398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19399 installcheck) \
19400 || exit 1
19402 @endif ld
19404 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19405 maybe-mostlyclean-ld:
19406 @if ld
19407 maybe-mostlyclean-ld: mostlyclean-ld
19409 mostlyclean-ld:
19410 @[ -f ./ld/Makefile ] || exit 0; \
19411 r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(HOST_EXPORTS) \
19414 for flag in $(EXTRA_HOST_FLAGS) ; do \
19415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19416 done; \
19417 echo "Doing mostlyclean in ld" ; \
19418 (cd $(HOST_SUBDIR)/ld && \
19419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421 "RANLIB=$${RANLIB}" \
19422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19423 mostlyclean) \
19424 || exit 1
19426 @endif ld
19428 .PHONY: maybe-clean-ld clean-ld
19429 maybe-clean-ld:
19430 @if ld
19431 maybe-clean-ld: clean-ld
19433 clean-ld:
19434 @[ -f ./ld/Makefile ] || exit 0; \
19435 r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437 $(HOST_EXPORTS) \
19438 for flag in $(EXTRA_HOST_FLAGS) ; do \
19439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19440 done; \
19441 echo "Doing clean in ld" ; \
19442 (cd $(HOST_SUBDIR)/ld && \
19443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19445 "RANLIB=$${RANLIB}" \
19446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19447 clean) \
19448 || exit 1
19450 @endif ld
19452 .PHONY: maybe-distclean-ld distclean-ld
19453 maybe-distclean-ld:
19454 @if ld
19455 maybe-distclean-ld: distclean-ld
19457 distclean-ld:
19458 @[ -f ./ld/Makefile ] || exit 0; \
19459 r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 $(HOST_EXPORTS) \
19462 for flag in $(EXTRA_HOST_FLAGS) ; do \
19463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19464 done; \
19465 echo "Doing distclean in ld" ; \
19466 (cd $(HOST_SUBDIR)/ld && \
19467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19469 "RANLIB=$${RANLIB}" \
19470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19471 distclean) \
19472 || exit 1
19474 @endif ld
19476 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19477 maybe-maintainer-clean-ld:
19478 @if ld
19479 maybe-maintainer-clean-ld: maintainer-clean-ld
19481 maintainer-clean-ld:
19482 @[ -f ./ld/Makefile ] || exit 0; \
19483 r=`${PWD_COMMAND}`; export r; \
19484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 $(HOST_EXPORTS) \
19486 for flag in $(EXTRA_HOST_FLAGS) ; do \
19487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19488 done; \
19489 echo "Doing maintainer-clean in ld" ; \
19490 (cd $(HOST_SUBDIR)/ld && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19493 "RANLIB=$${RANLIB}" \
19494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19495 maintainer-clean) \
19496 || exit 1
19498 @endif ld
19502 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19503 maybe-configure-libbacktrace:
19504 @if gcc-bootstrap
19505 configure-libbacktrace: stage_current
19506 @endif gcc-bootstrap
19507 @if libbacktrace
19508 maybe-configure-libbacktrace: configure-libbacktrace
19509 configure-libbacktrace:
19510 @r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19514 $(HOST_EXPORTS) \
19515 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19516 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19517 case $(srcdir) in \
19518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19519 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19521 esac; \
19522 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19523 libsrcdir="$$s/libbacktrace"; \
19524 $(SHELL) $${libsrcdir}/configure \
19525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19526 --target=${target_alias} $${srcdiroption} \
19527 || exit 1
19528 @endif libbacktrace
19532 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19533 maybe-configure-stage1-libbacktrace:
19534 @if libbacktrace-bootstrap
19535 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19536 configure-stage1-libbacktrace:
19537 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19539 @r=`${PWD_COMMAND}`; export r; \
19540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19541 TFLAGS="$(STAGE1_TFLAGS)"; \
19542 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19543 $(HOST_EXPORTS) \
19544 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19545 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19546 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19547 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19549 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19550 case $(srcdir) in \
19551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19552 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19554 esac; \
19555 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19556 libsrcdir="$$s/libbacktrace"; \
19557 $(SHELL) $${libsrcdir}/configure \
19558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19559 --target=${target_alias} $${srcdiroption} \
19560 $(STAGE1_CONFIGURE_FLAGS)
19561 @endif libbacktrace-bootstrap
19563 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19564 maybe-configure-stage2-libbacktrace:
19565 @if libbacktrace-bootstrap
19566 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19567 configure-stage2-libbacktrace:
19568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19570 @r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572 TFLAGS="$(STAGE2_TFLAGS)"; \
19573 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19574 $(HOST_EXPORTS) \
19575 $(POSTSTAGE1_HOST_EXPORTS) \
19576 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19577 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19578 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19579 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19581 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19582 case $(srcdir) in \
19583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19584 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19586 esac; \
19587 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19588 libsrcdir="$$s/libbacktrace"; \
19589 $(SHELL) $${libsrcdir}/configure \
19590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19591 --target=${target_alias} $${srcdiroption} \
19592 --with-build-libsubdir=$(HOST_SUBDIR) \
19593 $(STAGE2_CONFIGURE_FLAGS)
19594 @endif libbacktrace-bootstrap
19596 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19597 maybe-configure-stage3-libbacktrace:
19598 @if libbacktrace-bootstrap
19599 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19600 configure-stage3-libbacktrace:
19601 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19603 @r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 TFLAGS="$(STAGE3_TFLAGS)"; \
19606 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19607 $(HOST_EXPORTS) \
19608 $(POSTSTAGE1_HOST_EXPORTS) \
19609 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19610 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19611 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19612 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19614 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19615 case $(srcdir) in \
19616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19617 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19619 esac; \
19620 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19621 libsrcdir="$$s/libbacktrace"; \
19622 $(SHELL) $${libsrcdir}/configure \
19623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19624 --target=${target_alias} $${srcdiroption} \
19625 --with-build-libsubdir=$(HOST_SUBDIR) \
19626 $(STAGE3_CONFIGURE_FLAGS)
19627 @endif libbacktrace-bootstrap
19629 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19630 maybe-configure-stage4-libbacktrace:
19631 @if libbacktrace-bootstrap
19632 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19633 configure-stage4-libbacktrace:
19634 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19636 @r=`${PWD_COMMAND}`; export r; \
19637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19638 TFLAGS="$(STAGE4_TFLAGS)"; \
19639 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19640 $(HOST_EXPORTS) \
19641 $(POSTSTAGE1_HOST_EXPORTS) \
19642 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19643 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19644 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19645 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19647 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19648 case $(srcdir) in \
19649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19650 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19652 esac; \
19653 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19654 libsrcdir="$$s/libbacktrace"; \
19655 $(SHELL) $${libsrcdir}/configure \
19656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19657 --target=${target_alias} $${srcdiroption} \
19658 --with-build-libsubdir=$(HOST_SUBDIR) \
19659 $(STAGE4_CONFIGURE_FLAGS)
19660 @endif libbacktrace-bootstrap
19662 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19663 maybe-configure-stageprofile-libbacktrace:
19664 @if libbacktrace-bootstrap
19665 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19666 configure-stageprofile-libbacktrace:
19667 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19669 @r=`${PWD_COMMAND}`; export r; \
19670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19671 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19672 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19673 $(HOST_EXPORTS) \
19674 $(POSTSTAGE1_HOST_EXPORTS) \
19675 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19676 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19677 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19678 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19680 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19681 case $(srcdir) in \
19682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19683 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19685 esac; \
19686 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19687 libsrcdir="$$s/libbacktrace"; \
19688 $(SHELL) $${libsrcdir}/configure \
19689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19690 --target=${target_alias} $${srcdiroption} \
19691 --with-build-libsubdir=$(HOST_SUBDIR) \
19692 $(STAGEprofile_CONFIGURE_FLAGS)
19693 @endif libbacktrace-bootstrap
19695 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19696 maybe-configure-stagefeedback-libbacktrace:
19697 @if libbacktrace-bootstrap
19698 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19699 configure-stagefeedback-libbacktrace:
19700 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19702 @r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19705 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19706 $(HOST_EXPORTS) \
19707 $(POSTSTAGE1_HOST_EXPORTS) \
19708 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19709 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19710 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19711 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19713 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19714 case $(srcdir) in \
19715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19716 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19718 esac; \
19719 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19720 libsrcdir="$$s/libbacktrace"; \
19721 $(SHELL) $${libsrcdir}/configure \
19722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19723 --target=${target_alias} $${srcdiroption} \
19724 --with-build-libsubdir=$(HOST_SUBDIR) \
19725 $(STAGEfeedback_CONFIGURE_FLAGS)
19726 @endif libbacktrace-bootstrap
19732 .PHONY: all-libbacktrace maybe-all-libbacktrace
19733 maybe-all-libbacktrace:
19734 @if gcc-bootstrap
19735 all-libbacktrace: stage_current
19736 @endif gcc-bootstrap
19737 @if libbacktrace
19738 TARGET-libbacktrace=all
19739 maybe-all-libbacktrace: all-libbacktrace
19740 all-libbacktrace: configure-libbacktrace
19741 @r=`${PWD_COMMAND}`; export r; \
19742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19743 $(HOST_EXPORTS) \
19744 (cd $(HOST_SUBDIR)/libbacktrace && \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19746 $(TARGET-libbacktrace))
19747 @endif libbacktrace
19751 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19752 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19753 maybe-all-stage1-libbacktrace:
19754 maybe-clean-stage1-libbacktrace:
19755 @if libbacktrace-bootstrap
19756 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19757 all-stage1: all-stage1-libbacktrace
19758 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19759 all-stage1-libbacktrace: configure-stage1-libbacktrace
19760 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19763 TFLAGS="$(STAGE1_TFLAGS)"; \
19764 $(HOST_EXPORTS) \
19765 cd $(HOST_SUBDIR)/libbacktrace && \
19766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19767 CFLAGS="$(STAGE1_CFLAGS)" \
19768 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19769 LIBCFLAGS="$(LIBCFLAGS)" \
19770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19773 $(EXTRA_HOST_FLAGS) \
19774 $(STAGE1_FLAGS_TO_PASS) \
19775 TFLAGS="$(STAGE1_TFLAGS)" \
19776 $(TARGET-stage1-libbacktrace)
19778 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19779 clean-stage1: clean-stage1-libbacktrace
19780 clean-stage1-libbacktrace:
19781 @if [ $(current_stage) = stage1 ]; then \
19782 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19783 else \
19784 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19785 $(MAKE) stage1-start; \
19786 fi; \
19787 cd $(HOST_SUBDIR)/libbacktrace && \
19788 $(MAKE) $(EXTRA_HOST_FLAGS) \
19789 $(STAGE1_FLAGS_TO_PASS) clean
19790 @endif libbacktrace-bootstrap
19793 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19794 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19795 maybe-all-stage2-libbacktrace:
19796 maybe-clean-stage2-libbacktrace:
19797 @if libbacktrace-bootstrap
19798 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19799 all-stage2: all-stage2-libbacktrace
19800 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19801 all-stage2-libbacktrace: configure-stage2-libbacktrace
19802 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19803 @r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 TFLAGS="$(STAGE2_TFLAGS)"; \
19806 $(HOST_EXPORTS) \
19807 $(POSTSTAGE1_HOST_EXPORTS) \
19808 cd $(HOST_SUBDIR)/libbacktrace && \
19809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19810 CFLAGS="$(STAGE2_CFLAGS)" \
19811 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19812 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19817 TFLAGS="$(STAGE2_TFLAGS)" \
19818 $(TARGET-stage2-libbacktrace)
19820 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19821 clean-stage2: clean-stage2-libbacktrace
19822 clean-stage2-libbacktrace:
19823 @if [ $(current_stage) = stage2 ]; then \
19824 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19825 else \
19826 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19827 $(MAKE) stage2-start; \
19828 fi; \
19829 cd $(HOST_SUBDIR)/libbacktrace && \
19830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19831 @endif libbacktrace-bootstrap
19834 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19835 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19836 maybe-all-stage3-libbacktrace:
19837 maybe-clean-stage3-libbacktrace:
19838 @if libbacktrace-bootstrap
19839 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19840 all-stage3: all-stage3-libbacktrace
19841 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19842 all-stage3-libbacktrace: configure-stage3-libbacktrace
19843 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19844 @r=`${PWD_COMMAND}`; export r; \
19845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19846 TFLAGS="$(STAGE3_TFLAGS)"; \
19847 $(HOST_EXPORTS) \
19848 $(POSTSTAGE1_HOST_EXPORTS) \
19849 cd $(HOST_SUBDIR)/libbacktrace && \
19850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19851 CFLAGS="$(STAGE3_CFLAGS)" \
19852 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19853 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19858 TFLAGS="$(STAGE3_TFLAGS)" \
19859 $(TARGET-stage3-libbacktrace)
19861 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19862 clean-stage3: clean-stage3-libbacktrace
19863 clean-stage3-libbacktrace:
19864 @if [ $(current_stage) = stage3 ]; then \
19865 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19866 else \
19867 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19868 $(MAKE) stage3-start; \
19869 fi; \
19870 cd $(HOST_SUBDIR)/libbacktrace && \
19871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19872 @endif libbacktrace-bootstrap
19875 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19876 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19877 maybe-all-stage4-libbacktrace:
19878 maybe-clean-stage4-libbacktrace:
19879 @if libbacktrace-bootstrap
19880 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19881 all-stage4: all-stage4-libbacktrace
19882 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19883 all-stage4-libbacktrace: configure-stage4-libbacktrace
19884 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19885 @r=`${PWD_COMMAND}`; export r; \
19886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19887 TFLAGS="$(STAGE4_TFLAGS)"; \
19888 $(HOST_EXPORTS) \
19889 $(POSTSTAGE1_HOST_EXPORTS) \
19890 cd $(HOST_SUBDIR)/libbacktrace && \
19891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19892 CFLAGS="$(STAGE4_CFLAGS)" \
19893 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19894 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19899 TFLAGS="$(STAGE4_TFLAGS)" \
19900 $(TARGET-stage4-libbacktrace)
19902 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19903 clean-stage4: clean-stage4-libbacktrace
19904 clean-stage4-libbacktrace:
19905 @if [ $(current_stage) = stage4 ]; then \
19906 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19907 else \
19908 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19909 $(MAKE) stage4-start; \
19910 fi; \
19911 cd $(HOST_SUBDIR)/libbacktrace && \
19912 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19913 @endif libbacktrace-bootstrap
19916 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19917 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19918 maybe-all-stageprofile-libbacktrace:
19919 maybe-clean-stageprofile-libbacktrace:
19920 @if libbacktrace-bootstrap
19921 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19922 all-stageprofile: all-stageprofile-libbacktrace
19923 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19924 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19925 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19926 @r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19929 $(HOST_EXPORTS) \
19930 $(POSTSTAGE1_HOST_EXPORTS) \
19931 cd $(HOST_SUBDIR)/libbacktrace && \
19932 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19933 CFLAGS="$(STAGEprofile_CFLAGS)" \
19934 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19935 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19936 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19937 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19938 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19939 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19940 TFLAGS="$(STAGEprofile_TFLAGS)" \
19941 $(TARGET-stageprofile-libbacktrace)
19943 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19944 clean-stageprofile: clean-stageprofile-libbacktrace
19945 clean-stageprofile-libbacktrace:
19946 @if [ $(current_stage) = stageprofile ]; then \
19947 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19948 else \
19949 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19950 $(MAKE) stageprofile-start; \
19951 fi; \
19952 cd $(HOST_SUBDIR)/libbacktrace && \
19953 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19954 @endif libbacktrace-bootstrap
19957 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19958 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19959 maybe-all-stagefeedback-libbacktrace:
19960 maybe-clean-stagefeedback-libbacktrace:
19961 @if libbacktrace-bootstrap
19962 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19963 all-stagefeedback: all-stagefeedback-libbacktrace
19964 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19965 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19966 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19967 @r=`${PWD_COMMAND}`; export r; \
19968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19969 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19970 $(HOST_EXPORTS) \
19971 $(POSTSTAGE1_HOST_EXPORTS) \
19972 cd $(HOST_SUBDIR)/libbacktrace && \
19973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19974 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19975 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19976 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19980 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19981 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19982 $(TARGET-stagefeedback-libbacktrace)
19984 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19985 clean-stagefeedback: clean-stagefeedback-libbacktrace
19986 clean-stagefeedback-libbacktrace:
19987 @if [ $(current_stage) = stagefeedback ]; then \
19988 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19989 else \
19990 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19991 $(MAKE) stagefeedback-start; \
19992 fi; \
19993 cd $(HOST_SUBDIR)/libbacktrace && \
19994 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19995 @endif libbacktrace-bootstrap
20001 .PHONY: check-libbacktrace maybe-check-libbacktrace
20002 maybe-check-libbacktrace:
20003 @if libbacktrace
20004 maybe-check-libbacktrace: check-libbacktrace
20006 check-libbacktrace:
20007 @: $(MAKE); $(unstage)
20008 @r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 (cd $(HOST_SUBDIR)/libbacktrace && \
20012 $(MAKE) $(FLAGS_TO_PASS) check)
20014 @endif libbacktrace
20016 .PHONY: install-libbacktrace maybe-install-libbacktrace
20017 maybe-install-libbacktrace:
20018 @if libbacktrace
20019 maybe-install-libbacktrace: install-libbacktrace
20021 install-libbacktrace: installdirs
20022 @: $(MAKE); $(unstage)
20023 @r=`${PWD_COMMAND}`; export r; \
20024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20025 $(HOST_EXPORTS) \
20026 (cd $(HOST_SUBDIR)/libbacktrace && \
20027 $(MAKE) $(FLAGS_TO_PASS) install)
20029 @endif libbacktrace
20031 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20032 maybe-install-strip-libbacktrace:
20033 @if libbacktrace
20034 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20036 install-strip-libbacktrace: installdirs
20037 @: $(MAKE); $(unstage)
20038 @r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 $(HOST_EXPORTS) \
20041 (cd $(HOST_SUBDIR)/libbacktrace && \
20042 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20044 @endif libbacktrace
20046 # Other targets (info, dvi, pdf, etc.)
20048 .PHONY: maybe-info-libbacktrace info-libbacktrace
20049 maybe-info-libbacktrace:
20050 @if libbacktrace
20051 maybe-info-libbacktrace: info-libbacktrace
20053 info-libbacktrace: \
20054 configure-libbacktrace
20055 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20056 r=`${PWD_COMMAND}`; export r; \
20057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20058 $(HOST_EXPORTS) \
20059 for flag in $(EXTRA_HOST_FLAGS) ; do \
20060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20061 done; \
20062 echo "Doing info in libbacktrace" ; \
20063 (cd $(HOST_SUBDIR)/libbacktrace && \
20064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20066 "RANLIB=$${RANLIB}" \
20067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20068 info) \
20069 || exit 1
20071 @endif libbacktrace
20073 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20074 maybe-dvi-libbacktrace:
20075 @if libbacktrace
20076 maybe-dvi-libbacktrace: dvi-libbacktrace
20078 dvi-libbacktrace: \
20079 configure-libbacktrace
20080 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20081 r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 for flag in $(EXTRA_HOST_FLAGS) ; do \
20085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20086 done; \
20087 echo "Doing dvi in libbacktrace" ; \
20088 (cd $(HOST_SUBDIR)/libbacktrace && \
20089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20091 "RANLIB=$${RANLIB}" \
20092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20093 dvi) \
20094 || exit 1
20096 @endif libbacktrace
20098 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20099 maybe-pdf-libbacktrace:
20100 @if libbacktrace
20101 maybe-pdf-libbacktrace: pdf-libbacktrace
20103 pdf-libbacktrace: \
20104 configure-libbacktrace
20105 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20106 r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(HOST_EXPORTS) \
20109 for flag in $(EXTRA_HOST_FLAGS) ; do \
20110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20111 done; \
20112 echo "Doing pdf in libbacktrace" ; \
20113 (cd $(HOST_SUBDIR)/libbacktrace && \
20114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20116 "RANLIB=$${RANLIB}" \
20117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20118 pdf) \
20119 || exit 1
20121 @endif libbacktrace
20123 .PHONY: maybe-html-libbacktrace html-libbacktrace
20124 maybe-html-libbacktrace:
20125 @if libbacktrace
20126 maybe-html-libbacktrace: html-libbacktrace
20128 html-libbacktrace: \
20129 configure-libbacktrace
20130 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20131 r=`${PWD_COMMAND}`; export r; \
20132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20133 $(HOST_EXPORTS) \
20134 for flag in $(EXTRA_HOST_FLAGS) ; do \
20135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20136 done; \
20137 echo "Doing html in libbacktrace" ; \
20138 (cd $(HOST_SUBDIR)/libbacktrace && \
20139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20141 "RANLIB=$${RANLIB}" \
20142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20143 html) \
20144 || exit 1
20146 @endif libbacktrace
20148 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20149 maybe-TAGS-libbacktrace:
20150 @if libbacktrace
20151 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20153 TAGS-libbacktrace: \
20154 configure-libbacktrace
20155 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20156 r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 $(HOST_EXPORTS) \
20159 for flag in $(EXTRA_HOST_FLAGS) ; do \
20160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20161 done; \
20162 echo "Doing TAGS in libbacktrace" ; \
20163 (cd $(HOST_SUBDIR)/libbacktrace && \
20164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20166 "RANLIB=$${RANLIB}" \
20167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20168 TAGS) \
20169 || exit 1
20171 @endif libbacktrace
20173 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20174 maybe-install-info-libbacktrace:
20175 @if libbacktrace
20176 maybe-install-info-libbacktrace: install-info-libbacktrace
20178 install-info-libbacktrace: \
20179 configure-libbacktrace \
20180 info-libbacktrace
20181 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20182 r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 $(HOST_EXPORTS) \
20185 for flag in $(EXTRA_HOST_FLAGS) ; do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20187 done; \
20188 echo "Doing install-info in libbacktrace" ; \
20189 (cd $(HOST_SUBDIR)/libbacktrace && \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20192 "RANLIB=$${RANLIB}" \
20193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20194 install-info) \
20195 || exit 1
20197 @endif libbacktrace
20199 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20200 maybe-install-pdf-libbacktrace:
20201 @if libbacktrace
20202 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20204 install-pdf-libbacktrace: \
20205 configure-libbacktrace \
20206 pdf-libbacktrace
20207 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing install-pdf in libbacktrace" ; \
20215 (cd $(HOST_SUBDIR)/libbacktrace && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20220 install-pdf) \
20221 || exit 1
20223 @endif libbacktrace
20225 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20226 maybe-install-html-libbacktrace:
20227 @if libbacktrace
20228 maybe-install-html-libbacktrace: install-html-libbacktrace
20230 install-html-libbacktrace: \
20231 configure-libbacktrace \
20232 html-libbacktrace
20233 @[ -f ./libbacktrace/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 install-html in libbacktrace" ; \
20241 (cd $(HOST_SUBDIR)/libbacktrace && \
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 install-html) \
20247 || exit 1
20249 @endif libbacktrace
20251 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20252 maybe-installcheck-libbacktrace:
20253 @if libbacktrace
20254 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20256 installcheck-libbacktrace: \
20257 configure-libbacktrace
20258 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 for flag in $(EXTRA_HOST_FLAGS) ; do \
20263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20264 done; \
20265 echo "Doing installcheck in libbacktrace" ; \
20266 (cd $(HOST_SUBDIR)/libbacktrace && \
20267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20269 "RANLIB=$${RANLIB}" \
20270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20271 installcheck) \
20272 || exit 1
20274 @endif libbacktrace
20276 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20277 maybe-mostlyclean-libbacktrace:
20278 @if libbacktrace
20279 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20281 mostlyclean-libbacktrace:
20282 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20283 r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 $(HOST_EXPORTS) \
20286 for flag in $(EXTRA_HOST_FLAGS) ; do \
20287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20288 done; \
20289 echo "Doing mostlyclean in libbacktrace" ; \
20290 (cd $(HOST_SUBDIR)/libbacktrace && \
20291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20293 "RANLIB=$${RANLIB}" \
20294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20295 mostlyclean) \
20296 || exit 1
20298 @endif libbacktrace
20300 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20301 maybe-clean-libbacktrace:
20302 @if libbacktrace
20303 maybe-clean-libbacktrace: clean-libbacktrace
20305 clean-libbacktrace:
20306 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20307 r=`${PWD_COMMAND}`; export r; \
20308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20309 $(HOST_EXPORTS) \
20310 for flag in $(EXTRA_HOST_FLAGS) ; do \
20311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20312 done; \
20313 echo "Doing clean in libbacktrace" ; \
20314 (cd $(HOST_SUBDIR)/libbacktrace && \
20315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20317 "RANLIB=$${RANLIB}" \
20318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20319 clean) \
20320 || exit 1
20322 @endif libbacktrace
20324 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20325 maybe-distclean-libbacktrace:
20326 @if libbacktrace
20327 maybe-distclean-libbacktrace: distclean-libbacktrace
20329 distclean-libbacktrace:
20330 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20331 r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20333 $(HOST_EXPORTS) \
20334 for flag in $(EXTRA_HOST_FLAGS) ; do \
20335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20336 done; \
20337 echo "Doing distclean in libbacktrace" ; \
20338 (cd $(HOST_SUBDIR)/libbacktrace && \
20339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20341 "RANLIB=$${RANLIB}" \
20342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20343 distclean) \
20344 || exit 1
20346 @endif libbacktrace
20348 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20349 maybe-maintainer-clean-libbacktrace:
20350 @if libbacktrace
20351 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20353 maintainer-clean-libbacktrace:
20354 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20355 r=`${PWD_COMMAND}`; export r; \
20356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20357 $(HOST_EXPORTS) \
20358 for flag in $(EXTRA_HOST_FLAGS) ; do \
20359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20360 done; \
20361 echo "Doing maintainer-clean in libbacktrace" ; \
20362 (cd $(HOST_SUBDIR)/libbacktrace && \
20363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20365 "RANLIB=$${RANLIB}" \
20366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20367 maintainer-clean) \
20368 || exit 1
20370 @endif libbacktrace
20374 .PHONY: configure-libcpp maybe-configure-libcpp
20375 maybe-configure-libcpp:
20376 @if gcc-bootstrap
20377 configure-libcpp: stage_current
20378 @endif gcc-bootstrap
20379 @if libcpp
20380 maybe-configure-libcpp: configure-libcpp
20381 configure-libcpp:
20382 @r=`${PWD_COMMAND}`; export r; \
20383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20384 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20386 $(HOST_EXPORTS) \
20387 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20388 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20389 case $(srcdir) in \
20390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20391 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20393 esac; \
20394 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20395 libsrcdir="$$s/libcpp"; \
20396 $(SHELL) $${libsrcdir}/configure \
20397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20398 --target=${target_alias} $${srcdiroption} \
20399 || exit 1
20400 @endif libcpp
20404 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20405 maybe-configure-stage1-libcpp:
20406 @if libcpp-bootstrap
20407 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20408 configure-stage1-libcpp:
20409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20411 @r=`${PWD_COMMAND}`; export r; \
20412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20413 TFLAGS="$(STAGE1_TFLAGS)"; \
20414 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20415 $(HOST_EXPORTS) \
20416 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20417 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20418 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20419 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20421 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20422 case $(srcdir) in \
20423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20424 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20426 esac; \
20427 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20428 libsrcdir="$$s/libcpp"; \
20429 $(SHELL) $${libsrcdir}/configure \
20430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20431 --target=${target_alias} $${srcdiroption} \
20432 $(STAGE1_CONFIGURE_FLAGS)
20433 @endif libcpp-bootstrap
20435 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20436 maybe-configure-stage2-libcpp:
20437 @if libcpp-bootstrap
20438 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20439 configure-stage2-libcpp:
20440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20442 @r=`${PWD_COMMAND}`; export r; \
20443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20444 TFLAGS="$(STAGE2_TFLAGS)"; \
20445 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20446 $(HOST_EXPORTS) \
20447 $(POSTSTAGE1_HOST_EXPORTS) \
20448 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20449 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20450 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20451 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20453 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20454 case $(srcdir) in \
20455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20456 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20458 esac; \
20459 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20460 libsrcdir="$$s/libcpp"; \
20461 $(SHELL) $${libsrcdir}/configure \
20462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20463 --target=${target_alias} $${srcdiroption} \
20464 --with-build-libsubdir=$(HOST_SUBDIR) \
20465 $(STAGE2_CONFIGURE_FLAGS)
20466 @endif libcpp-bootstrap
20468 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20469 maybe-configure-stage3-libcpp:
20470 @if libcpp-bootstrap
20471 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20472 configure-stage3-libcpp:
20473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20475 @r=`${PWD_COMMAND}`; export r; \
20476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20477 TFLAGS="$(STAGE3_TFLAGS)"; \
20478 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20479 $(HOST_EXPORTS) \
20480 $(POSTSTAGE1_HOST_EXPORTS) \
20481 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20482 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20483 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20484 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20486 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20487 case $(srcdir) in \
20488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20489 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20491 esac; \
20492 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20493 libsrcdir="$$s/libcpp"; \
20494 $(SHELL) $${libsrcdir}/configure \
20495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20496 --target=${target_alias} $${srcdiroption} \
20497 --with-build-libsubdir=$(HOST_SUBDIR) \
20498 $(STAGE3_CONFIGURE_FLAGS)
20499 @endif libcpp-bootstrap
20501 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20502 maybe-configure-stage4-libcpp:
20503 @if libcpp-bootstrap
20504 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20505 configure-stage4-libcpp:
20506 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20508 @r=`${PWD_COMMAND}`; export r; \
20509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20510 TFLAGS="$(STAGE4_TFLAGS)"; \
20511 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20512 $(HOST_EXPORTS) \
20513 $(POSTSTAGE1_HOST_EXPORTS) \
20514 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20515 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20516 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20517 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20519 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20520 case $(srcdir) in \
20521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20522 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20524 esac; \
20525 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20526 libsrcdir="$$s/libcpp"; \
20527 $(SHELL) $${libsrcdir}/configure \
20528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20529 --target=${target_alias} $${srcdiroption} \
20530 --with-build-libsubdir=$(HOST_SUBDIR) \
20531 $(STAGE4_CONFIGURE_FLAGS)
20532 @endif libcpp-bootstrap
20534 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20535 maybe-configure-stageprofile-libcpp:
20536 @if libcpp-bootstrap
20537 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20538 configure-stageprofile-libcpp:
20539 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20541 @r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20544 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20545 $(HOST_EXPORTS) \
20546 $(POSTSTAGE1_HOST_EXPORTS) \
20547 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20548 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20549 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20550 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20552 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20553 case $(srcdir) in \
20554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20555 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20557 esac; \
20558 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20559 libsrcdir="$$s/libcpp"; \
20560 $(SHELL) $${libsrcdir}/configure \
20561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20562 --target=${target_alias} $${srcdiroption} \
20563 --with-build-libsubdir=$(HOST_SUBDIR) \
20564 $(STAGEprofile_CONFIGURE_FLAGS)
20565 @endif libcpp-bootstrap
20567 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20568 maybe-configure-stagefeedback-libcpp:
20569 @if libcpp-bootstrap
20570 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20571 configure-stagefeedback-libcpp:
20572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20574 @r=`${PWD_COMMAND}`; export r; \
20575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20577 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20578 $(HOST_EXPORTS) \
20579 $(POSTSTAGE1_HOST_EXPORTS) \
20580 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20583 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20585 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20586 case $(srcdir) in \
20587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20588 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20590 esac; \
20591 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20592 libsrcdir="$$s/libcpp"; \
20593 $(SHELL) $${libsrcdir}/configure \
20594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20595 --target=${target_alias} $${srcdiroption} \
20596 --with-build-libsubdir=$(HOST_SUBDIR) \
20597 $(STAGEfeedback_CONFIGURE_FLAGS)
20598 @endif libcpp-bootstrap
20604 .PHONY: all-libcpp maybe-all-libcpp
20605 maybe-all-libcpp:
20606 @if gcc-bootstrap
20607 all-libcpp: stage_current
20608 @endif gcc-bootstrap
20609 @if libcpp
20610 TARGET-libcpp=all
20611 maybe-all-libcpp: all-libcpp
20612 all-libcpp: configure-libcpp
20613 @r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615 $(HOST_EXPORTS) \
20616 (cd $(HOST_SUBDIR)/libcpp && \
20617 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20618 $(TARGET-libcpp))
20619 @endif libcpp
20623 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20624 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20625 maybe-all-stage1-libcpp:
20626 maybe-clean-stage1-libcpp:
20627 @if libcpp-bootstrap
20628 maybe-all-stage1-libcpp: all-stage1-libcpp
20629 all-stage1: all-stage1-libcpp
20630 TARGET-stage1-libcpp = $(TARGET-libcpp)
20631 all-stage1-libcpp: configure-stage1-libcpp
20632 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20633 @r=`${PWD_COMMAND}`; export r; \
20634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20635 TFLAGS="$(STAGE1_TFLAGS)"; \
20636 $(HOST_EXPORTS) \
20637 cd $(HOST_SUBDIR)/libcpp && \
20638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20639 CFLAGS="$(STAGE1_CFLAGS)" \
20640 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20641 LIBCFLAGS="$(LIBCFLAGS)" \
20642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20645 $(EXTRA_HOST_FLAGS) \
20646 $(STAGE1_FLAGS_TO_PASS) \
20647 TFLAGS="$(STAGE1_TFLAGS)" \
20648 $(TARGET-stage1-libcpp)
20650 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20651 clean-stage1: clean-stage1-libcpp
20652 clean-stage1-libcpp:
20653 @if [ $(current_stage) = stage1 ]; then \
20654 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20655 else \
20656 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20657 $(MAKE) stage1-start; \
20658 fi; \
20659 cd $(HOST_SUBDIR)/libcpp && \
20660 $(MAKE) $(EXTRA_HOST_FLAGS) \
20661 $(STAGE1_FLAGS_TO_PASS) clean
20662 @endif libcpp-bootstrap
20665 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20666 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20667 maybe-all-stage2-libcpp:
20668 maybe-clean-stage2-libcpp:
20669 @if libcpp-bootstrap
20670 maybe-all-stage2-libcpp: all-stage2-libcpp
20671 all-stage2: all-stage2-libcpp
20672 TARGET-stage2-libcpp = $(TARGET-libcpp)
20673 all-stage2-libcpp: configure-stage2-libcpp
20674 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20675 @r=`${PWD_COMMAND}`; export r; \
20676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20677 TFLAGS="$(STAGE2_TFLAGS)"; \
20678 $(HOST_EXPORTS) \
20679 $(POSTSTAGE1_HOST_EXPORTS) \
20680 cd $(HOST_SUBDIR)/libcpp && \
20681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20682 CFLAGS="$(STAGE2_CFLAGS)" \
20683 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20684 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20688 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20689 TFLAGS="$(STAGE2_TFLAGS)" \
20690 $(TARGET-stage2-libcpp)
20692 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20693 clean-stage2: clean-stage2-libcpp
20694 clean-stage2-libcpp:
20695 @if [ $(current_stage) = stage2 ]; then \
20696 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20697 else \
20698 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20699 $(MAKE) stage2-start; \
20700 fi; \
20701 cd $(HOST_SUBDIR)/libcpp && \
20702 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20703 @endif libcpp-bootstrap
20706 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20707 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20708 maybe-all-stage3-libcpp:
20709 maybe-clean-stage3-libcpp:
20710 @if libcpp-bootstrap
20711 maybe-all-stage3-libcpp: all-stage3-libcpp
20712 all-stage3: all-stage3-libcpp
20713 TARGET-stage3-libcpp = $(TARGET-libcpp)
20714 all-stage3-libcpp: configure-stage3-libcpp
20715 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20716 @r=`${PWD_COMMAND}`; export r; \
20717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20718 TFLAGS="$(STAGE3_TFLAGS)"; \
20719 $(HOST_EXPORTS) \
20720 $(POSTSTAGE1_HOST_EXPORTS) \
20721 cd $(HOST_SUBDIR)/libcpp && \
20722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20723 CFLAGS="$(STAGE3_CFLAGS)" \
20724 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20725 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20730 TFLAGS="$(STAGE3_TFLAGS)" \
20731 $(TARGET-stage3-libcpp)
20733 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20734 clean-stage3: clean-stage3-libcpp
20735 clean-stage3-libcpp:
20736 @if [ $(current_stage) = stage3 ]; then \
20737 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20738 else \
20739 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20740 $(MAKE) stage3-start; \
20741 fi; \
20742 cd $(HOST_SUBDIR)/libcpp && \
20743 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20744 @endif libcpp-bootstrap
20747 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20748 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20749 maybe-all-stage4-libcpp:
20750 maybe-clean-stage4-libcpp:
20751 @if libcpp-bootstrap
20752 maybe-all-stage4-libcpp: all-stage4-libcpp
20753 all-stage4: all-stage4-libcpp
20754 TARGET-stage4-libcpp = $(TARGET-libcpp)
20755 all-stage4-libcpp: configure-stage4-libcpp
20756 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20757 @r=`${PWD_COMMAND}`; export r; \
20758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20759 TFLAGS="$(STAGE4_TFLAGS)"; \
20760 $(HOST_EXPORTS) \
20761 $(POSTSTAGE1_HOST_EXPORTS) \
20762 cd $(HOST_SUBDIR)/libcpp && \
20763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20764 CFLAGS="$(STAGE4_CFLAGS)" \
20765 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20766 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20771 TFLAGS="$(STAGE4_TFLAGS)" \
20772 $(TARGET-stage4-libcpp)
20774 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20775 clean-stage4: clean-stage4-libcpp
20776 clean-stage4-libcpp:
20777 @if [ $(current_stage) = stage4 ]; then \
20778 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20779 else \
20780 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20781 $(MAKE) stage4-start; \
20782 fi; \
20783 cd $(HOST_SUBDIR)/libcpp && \
20784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20785 @endif libcpp-bootstrap
20788 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20789 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20790 maybe-all-stageprofile-libcpp:
20791 maybe-clean-stageprofile-libcpp:
20792 @if libcpp-bootstrap
20793 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20794 all-stageprofile: all-stageprofile-libcpp
20795 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20796 all-stageprofile-libcpp: configure-stageprofile-libcpp
20797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20798 @r=`${PWD_COMMAND}`; export r; \
20799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20800 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20801 $(HOST_EXPORTS) \
20802 $(POSTSTAGE1_HOST_EXPORTS) \
20803 cd $(HOST_SUBDIR)/libcpp && \
20804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20805 CFLAGS="$(STAGEprofile_CFLAGS)" \
20806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20807 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20812 TFLAGS="$(STAGEprofile_TFLAGS)" \
20813 $(TARGET-stageprofile-libcpp)
20815 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20816 clean-stageprofile: clean-stageprofile-libcpp
20817 clean-stageprofile-libcpp:
20818 @if [ $(current_stage) = stageprofile ]; then \
20819 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20820 else \
20821 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20822 $(MAKE) stageprofile-start; \
20823 fi; \
20824 cd $(HOST_SUBDIR)/libcpp && \
20825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20826 @endif libcpp-bootstrap
20829 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20830 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20831 maybe-all-stagefeedback-libcpp:
20832 maybe-clean-stagefeedback-libcpp:
20833 @if libcpp-bootstrap
20834 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20835 all-stagefeedback: all-stagefeedback-libcpp
20836 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20837 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20838 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20839 @r=`${PWD_COMMAND}`; export r; \
20840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20841 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20842 $(HOST_EXPORTS) \
20843 $(POSTSTAGE1_HOST_EXPORTS) \
20844 cd $(HOST_SUBDIR)/libcpp && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20846 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20847 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20848 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20853 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20854 $(TARGET-stagefeedback-libcpp)
20856 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20857 clean-stagefeedback: clean-stagefeedback-libcpp
20858 clean-stagefeedback-libcpp:
20859 @if [ $(current_stage) = stagefeedback ]; then \
20860 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20861 else \
20862 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20863 $(MAKE) stagefeedback-start; \
20864 fi; \
20865 cd $(HOST_SUBDIR)/libcpp && \
20866 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20867 @endif libcpp-bootstrap
20873 .PHONY: check-libcpp maybe-check-libcpp
20874 maybe-check-libcpp:
20875 @if libcpp
20876 maybe-check-libcpp: check-libcpp
20878 check-libcpp:
20879 @: $(MAKE); $(unstage)
20880 @r=`${PWD_COMMAND}`; export r; \
20881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20882 $(HOST_EXPORTS) \
20883 (cd $(HOST_SUBDIR)/libcpp && \
20884 $(MAKE) $(FLAGS_TO_PASS) check)
20886 @endif libcpp
20888 .PHONY: install-libcpp maybe-install-libcpp
20889 maybe-install-libcpp:
20890 @if libcpp
20891 maybe-install-libcpp: install-libcpp
20893 install-libcpp: installdirs
20894 @: $(MAKE); $(unstage)
20895 @r=`${PWD_COMMAND}`; export r; \
20896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20897 $(HOST_EXPORTS) \
20898 (cd $(HOST_SUBDIR)/libcpp && \
20899 $(MAKE) $(FLAGS_TO_PASS) install)
20901 @endif libcpp
20903 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20904 maybe-install-strip-libcpp:
20905 @if libcpp
20906 maybe-install-strip-libcpp: install-strip-libcpp
20908 install-strip-libcpp: installdirs
20909 @: $(MAKE); $(unstage)
20910 @r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 $(HOST_EXPORTS) \
20913 (cd $(HOST_SUBDIR)/libcpp && \
20914 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20916 @endif libcpp
20918 # Other targets (info, dvi, pdf, etc.)
20920 .PHONY: maybe-info-libcpp info-libcpp
20921 maybe-info-libcpp:
20922 @if libcpp
20923 maybe-info-libcpp: info-libcpp
20925 info-libcpp: \
20926 configure-libcpp
20927 @[ -f ./libcpp/Makefile ] || exit 0; \
20928 r=`${PWD_COMMAND}`; export r; \
20929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20930 $(HOST_EXPORTS) \
20931 for flag in $(EXTRA_HOST_FLAGS) ; do \
20932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20933 done; \
20934 echo "Doing info in libcpp" ; \
20935 (cd $(HOST_SUBDIR)/libcpp && \
20936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20938 "RANLIB=$${RANLIB}" \
20939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20940 info) \
20941 || exit 1
20943 @endif libcpp
20945 .PHONY: maybe-dvi-libcpp dvi-libcpp
20946 maybe-dvi-libcpp:
20947 @if libcpp
20948 maybe-dvi-libcpp: dvi-libcpp
20950 dvi-libcpp: \
20951 configure-libcpp
20952 @[ -f ./libcpp/Makefile ] || exit 0; \
20953 r=`${PWD_COMMAND}`; export r; \
20954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20955 $(HOST_EXPORTS) \
20956 for flag in $(EXTRA_HOST_FLAGS) ; do \
20957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20958 done; \
20959 echo "Doing dvi in libcpp" ; \
20960 (cd $(HOST_SUBDIR)/libcpp && \
20961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20963 "RANLIB=$${RANLIB}" \
20964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20965 dvi) \
20966 || exit 1
20968 @endif libcpp
20970 .PHONY: maybe-pdf-libcpp pdf-libcpp
20971 maybe-pdf-libcpp:
20972 @if libcpp
20973 maybe-pdf-libcpp: pdf-libcpp
20975 pdf-libcpp: \
20976 configure-libcpp
20977 @[ -f ./libcpp/Makefile ] || exit 0; \
20978 r=`${PWD_COMMAND}`; export r; \
20979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20980 $(HOST_EXPORTS) \
20981 for flag in $(EXTRA_HOST_FLAGS) ; do \
20982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20983 done; \
20984 echo "Doing pdf in libcpp" ; \
20985 (cd $(HOST_SUBDIR)/libcpp && \
20986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20988 "RANLIB=$${RANLIB}" \
20989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20990 pdf) \
20991 || exit 1
20993 @endif libcpp
20995 .PHONY: maybe-html-libcpp html-libcpp
20996 maybe-html-libcpp:
20997 @if libcpp
20998 maybe-html-libcpp: html-libcpp
21000 html-libcpp: \
21001 configure-libcpp
21002 @[ -f ./libcpp/Makefile ] || exit 0; \
21003 r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 $(HOST_EXPORTS) \
21006 for flag in $(EXTRA_HOST_FLAGS) ; do \
21007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21008 done; \
21009 echo "Doing html in libcpp" ; \
21010 (cd $(HOST_SUBDIR)/libcpp && \
21011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21013 "RANLIB=$${RANLIB}" \
21014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21015 html) \
21016 || exit 1
21018 @endif libcpp
21020 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21021 maybe-TAGS-libcpp:
21022 @if libcpp
21023 maybe-TAGS-libcpp: TAGS-libcpp
21025 TAGS-libcpp: \
21026 configure-libcpp
21027 @[ -f ./libcpp/Makefile ] || exit 0; \
21028 r=`${PWD_COMMAND}`; export r; \
21029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21030 $(HOST_EXPORTS) \
21031 for flag in $(EXTRA_HOST_FLAGS) ; do \
21032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21033 done; \
21034 echo "Doing TAGS in libcpp" ; \
21035 (cd $(HOST_SUBDIR)/libcpp && \
21036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21038 "RANLIB=$${RANLIB}" \
21039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21040 TAGS) \
21041 || exit 1
21043 @endif libcpp
21045 .PHONY: maybe-install-info-libcpp install-info-libcpp
21046 maybe-install-info-libcpp:
21047 @if libcpp
21048 maybe-install-info-libcpp: install-info-libcpp
21050 install-info-libcpp: \
21051 configure-libcpp \
21052 info-libcpp
21053 @[ -f ./libcpp/Makefile ] || exit 0; \
21054 r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056 $(HOST_EXPORTS) \
21057 for flag in $(EXTRA_HOST_FLAGS) ; do \
21058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21059 done; \
21060 echo "Doing install-info in libcpp" ; \
21061 (cd $(HOST_SUBDIR)/libcpp && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21066 install-info) \
21067 || exit 1
21069 @endif libcpp
21071 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21072 maybe-install-pdf-libcpp:
21073 @if libcpp
21074 maybe-install-pdf-libcpp: install-pdf-libcpp
21076 install-pdf-libcpp: \
21077 configure-libcpp \
21078 pdf-libcpp
21079 @[ -f ./libcpp/Makefile ] || exit 0; \
21080 r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(HOST_EXPORTS) \
21083 for flag in $(EXTRA_HOST_FLAGS) ; do \
21084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21085 done; \
21086 echo "Doing install-pdf in libcpp" ; \
21087 (cd $(HOST_SUBDIR)/libcpp && \
21088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21090 "RANLIB=$${RANLIB}" \
21091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21092 install-pdf) \
21093 || exit 1
21095 @endif libcpp
21097 .PHONY: maybe-install-html-libcpp install-html-libcpp
21098 maybe-install-html-libcpp:
21099 @if libcpp
21100 maybe-install-html-libcpp: install-html-libcpp
21102 install-html-libcpp: \
21103 configure-libcpp \
21104 html-libcpp
21105 @[ -f ./libcpp/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 for flag in $(EXTRA_HOST_FLAGS) ; do \
21110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21111 done; \
21112 echo "Doing install-html in libcpp" ; \
21113 (cd $(HOST_SUBDIR)/libcpp && \
21114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21116 "RANLIB=$${RANLIB}" \
21117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21118 install-html) \
21119 || exit 1
21121 @endif libcpp
21123 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21124 maybe-installcheck-libcpp:
21125 @if libcpp
21126 maybe-installcheck-libcpp: installcheck-libcpp
21128 installcheck-libcpp: \
21129 configure-libcpp
21130 @[ -f ./libcpp/Makefile ] || exit 0; \
21131 r=`${PWD_COMMAND}`; export r; \
21132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21133 $(HOST_EXPORTS) \
21134 for flag in $(EXTRA_HOST_FLAGS) ; do \
21135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21136 done; \
21137 echo "Doing installcheck in libcpp" ; \
21138 (cd $(HOST_SUBDIR)/libcpp && \
21139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21141 "RANLIB=$${RANLIB}" \
21142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21143 installcheck) \
21144 || exit 1
21146 @endif libcpp
21148 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21149 maybe-mostlyclean-libcpp:
21150 @if libcpp
21151 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21153 mostlyclean-libcpp:
21154 @[ -f ./libcpp/Makefile ] || exit 0; \
21155 r=`${PWD_COMMAND}`; export r; \
21156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21157 $(HOST_EXPORTS) \
21158 for flag in $(EXTRA_HOST_FLAGS) ; do \
21159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21160 done; \
21161 echo "Doing mostlyclean in libcpp" ; \
21162 (cd $(HOST_SUBDIR)/libcpp && \
21163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21165 "RANLIB=$${RANLIB}" \
21166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21167 mostlyclean) \
21168 || exit 1
21170 @endif libcpp
21172 .PHONY: maybe-clean-libcpp clean-libcpp
21173 maybe-clean-libcpp:
21174 @if libcpp
21175 maybe-clean-libcpp: clean-libcpp
21177 clean-libcpp:
21178 @[ -f ./libcpp/Makefile ] || exit 0; \
21179 r=`${PWD_COMMAND}`; export r; \
21180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21181 $(HOST_EXPORTS) \
21182 for flag in $(EXTRA_HOST_FLAGS) ; do \
21183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21184 done; \
21185 echo "Doing clean in libcpp" ; \
21186 (cd $(HOST_SUBDIR)/libcpp && \
21187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21189 "RANLIB=$${RANLIB}" \
21190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21191 clean) \
21192 || exit 1
21194 @endif libcpp
21196 .PHONY: maybe-distclean-libcpp distclean-libcpp
21197 maybe-distclean-libcpp:
21198 @if libcpp
21199 maybe-distclean-libcpp: distclean-libcpp
21201 distclean-libcpp:
21202 @[ -f ./libcpp/Makefile ] || exit 0; \
21203 r=`${PWD_COMMAND}`; export r; \
21204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21205 $(HOST_EXPORTS) \
21206 for flag in $(EXTRA_HOST_FLAGS) ; do \
21207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21208 done; \
21209 echo "Doing distclean in libcpp" ; \
21210 (cd $(HOST_SUBDIR)/libcpp && \
21211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21213 "RANLIB=$${RANLIB}" \
21214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21215 distclean) \
21216 || exit 1
21218 @endif libcpp
21220 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21221 maybe-maintainer-clean-libcpp:
21222 @if libcpp
21223 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21225 maintainer-clean-libcpp:
21226 @[ -f ./libcpp/Makefile ] || exit 0; \
21227 r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 $(HOST_EXPORTS) \
21230 for flag in $(EXTRA_HOST_FLAGS) ; do \
21231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21232 done; \
21233 echo "Doing maintainer-clean in libcpp" ; \
21234 (cd $(HOST_SUBDIR)/libcpp && \
21235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21237 "RANLIB=$${RANLIB}" \
21238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21239 maintainer-clean) \
21240 || exit 1
21242 @endif libcpp
21246 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21247 maybe-configure-libdecnumber:
21248 @if gcc-bootstrap
21249 configure-libdecnumber: stage_current
21250 @endif gcc-bootstrap
21251 @if libdecnumber
21252 maybe-configure-libdecnumber: configure-libdecnumber
21253 configure-libdecnumber:
21254 @r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21258 $(HOST_EXPORTS) \
21259 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21260 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21261 case $(srcdir) in \
21262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21263 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21265 esac; \
21266 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21267 libsrcdir="$$s/libdecnumber"; \
21268 $(SHELL) $${libsrcdir}/configure \
21269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21270 --target=${target_alias} $${srcdiroption} \
21271 || exit 1
21272 @endif libdecnumber
21276 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21277 maybe-configure-stage1-libdecnumber:
21278 @if libdecnumber-bootstrap
21279 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21280 configure-stage1-libdecnumber:
21281 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21283 @r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 TFLAGS="$(STAGE1_TFLAGS)"; \
21286 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21287 $(HOST_EXPORTS) \
21288 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21289 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21290 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21291 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21293 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21294 case $(srcdir) in \
21295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21296 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21298 esac; \
21299 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21300 libsrcdir="$$s/libdecnumber"; \
21301 $(SHELL) $${libsrcdir}/configure \
21302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21303 --target=${target_alias} $${srcdiroption} \
21304 $(STAGE1_CONFIGURE_FLAGS)
21305 @endif libdecnumber-bootstrap
21307 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21308 maybe-configure-stage2-libdecnumber:
21309 @if libdecnumber-bootstrap
21310 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21311 configure-stage2-libdecnumber:
21312 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21313 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21314 @r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 TFLAGS="$(STAGE2_TFLAGS)"; \
21317 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21318 $(HOST_EXPORTS) \
21319 $(POSTSTAGE1_HOST_EXPORTS) \
21320 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21321 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21322 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21323 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21325 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21326 case $(srcdir) in \
21327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21328 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21330 esac; \
21331 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21332 libsrcdir="$$s/libdecnumber"; \
21333 $(SHELL) $${libsrcdir}/configure \
21334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21335 --target=${target_alias} $${srcdiroption} \
21336 --with-build-libsubdir=$(HOST_SUBDIR) \
21337 $(STAGE2_CONFIGURE_FLAGS)
21338 @endif libdecnumber-bootstrap
21340 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21341 maybe-configure-stage3-libdecnumber:
21342 @if libdecnumber-bootstrap
21343 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21344 configure-stage3-libdecnumber:
21345 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21347 @r=`${PWD_COMMAND}`; export r; \
21348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21349 TFLAGS="$(STAGE3_TFLAGS)"; \
21350 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21351 $(HOST_EXPORTS) \
21352 $(POSTSTAGE1_HOST_EXPORTS) \
21353 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21354 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21355 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21356 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21358 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21359 case $(srcdir) in \
21360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21361 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21363 esac; \
21364 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21365 libsrcdir="$$s/libdecnumber"; \
21366 $(SHELL) $${libsrcdir}/configure \
21367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21368 --target=${target_alias} $${srcdiroption} \
21369 --with-build-libsubdir=$(HOST_SUBDIR) \
21370 $(STAGE3_CONFIGURE_FLAGS)
21371 @endif libdecnumber-bootstrap
21373 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21374 maybe-configure-stage4-libdecnumber:
21375 @if libdecnumber-bootstrap
21376 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21377 configure-stage4-libdecnumber:
21378 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21380 @r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 TFLAGS="$(STAGE4_TFLAGS)"; \
21383 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21384 $(HOST_EXPORTS) \
21385 $(POSTSTAGE1_HOST_EXPORTS) \
21386 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21387 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21388 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21389 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21391 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21392 case $(srcdir) in \
21393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21394 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21396 esac; \
21397 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21398 libsrcdir="$$s/libdecnumber"; \
21399 $(SHELL) $${libsrcdir}/configure \
21400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21401 --target=${target_alias} $${srcdiroption} \
21402 --with-build-libsubdir=$(HOST_SUBDIR) \
21403 $(STAGE4_CONFIGURE_FLAGS)
21404 @endif libdecnumber-bootstrap
21406 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21407 maybe-configure-stageprofile-libdecnumber:
21408 @if libdecnumber-bootstrap
21409 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21410 configure-stageprofile-libdecnumber:
21411 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21413 @r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21416 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21417 $(HOST_EXPORTS) \
21418 $(POSTSTAGE1_HOST_EXPORTS) \
21419 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21420 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21421 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21422 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21424 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21425 case $(srcdir) in \
21426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21427 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21429 esac; \
21430 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21431 libsrcdir="$$s/libdecnumber"; \
21432 $(SHELL) $${libsrcdir}/configure \
21433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21434 --target=${target_alias} $${srcdiroption} \
21435 --with-build-libsubdir=$(HOST_SUBDIR) \
21436 $(STAGEprofile_CONFIGURE_FLAGS)
21437 @endif libdecnumber-bootstrap
21439 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21440 maybe-configure-stagefeedback-libdecnumber:
21441 @if libdecnumber-bootstrap
21442 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21443 configure-stagefeedback-libdecnumber:
21444 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21446 @r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21448 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21449 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21450 $(HOST_EXPORTS) \
21451 $(POSTSTAGE1_HOST_EXPORTS) \
21452 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21453 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21454 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21455 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21457 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21458 case $(srcdir) in \
21459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21460 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21462 esac; \
21463 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21464 libsrcdir="$$s/libdecnumber"; \
21465 $(SHELL) $${libsrcdir}/configure \
21466 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21467 --target=${target_alias} $${srcdiroption} \
21468 --with-build-libsubdir=$(HOST_SUBDIR) \
21469 $(STAGEfeedback_CONFIGURE_FLAGS)
21470 @endif libdecnumber-bootstrap
21476 .PHONY: all-libdecnumber maybe-all-libdecnumber
21477 maybe-all-libdecnumber:
21478 @if gcc-bootstrap
21479 all-libdecnumber: stage_current
21480 @endif gcc-bootstrap
21481 @if libdecnumber
21482 TARGET-libdecnumber=all
21483 maybe-all-libdecnumber: all-libdecnumber
21484 all-libdecnumber: configure-libdecnumber
21485 @r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(HOST_EXPORTS) \
21488 (cd $(HOST_SUBDIR)/libdecnumber && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21490 $(TARGET-libdecnumber))
21491 @endif libdecnumber
21495 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21496 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21497 maybe-all-stage1-libdecnumber:
21498 maybe-clean-stage1-libdecnumber:
21499 @if libdecnumber-bootstrap
21500 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21501 all-stage1: all-stage1-libdecnumber
21502 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21503 all-stage1-libdecnumber: configure-stage1-libdecnumber
21504 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21505 @r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 TFLAGS="$(STAGE1_TFLAGS)"; \
21508 $(HOST_EXPORTS) \
21509 cd $(HOST_SUBDIR)/libdecnumber && \
21510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21511 CFLAGS="$(STAGE1_CFLAGS)" \
21512 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21513 LIBCFLAGS="$(LIBCFLAGS)" \
21514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21517 $(EXTRA_HOST_FLAGS) \
21518 $(STAGE1_FLAGS_TO_PASS) \
21519 TFLAGS="$(STAGE1_TFLAGS)" \
21520 $(TARGET-stage1-libdecnumber)
21522 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21523 clean-stage1: clean-stage1-libdecnumber
21524 clean-stage1-libdecnumber:
21525 @if [ $(current_stage) = stage1 ]; then \
21526 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21527 else \
21528 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21529 $(MAKE) stage1-start; \
21530 fi; \
21531 cd $(HOST_SUBDIR)/libdecnumber && \
21532 $(MAKE) $(EXTRA_HOST_FLAGS) \
21533 $(STAGE1_FLAGS_TO_PASS) clean
21534 @endif libdecnumber-bootstrap
21537 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21538 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21539 maybe-all-stage2-libdecnumber:
21540 maybe-clean-stage2-libdecnumber:
21541 @if libdecnumber-bootstrap
21542 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21543 all-stage2: all-stage2-libdecnumber
21544 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21545 all-stage2-libdecnumber: configure-stage2-libdecnumber
21546 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21547 @r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 TFLAGS="$(STAGE2_TFLAGS)"; \
21550 $(HOST_EXPORTS) \
21551 $(POSTSTAGE1_HOST_EXPORTS) \
21552 cd $(HOST_SUBDIR)/libdecnumber && \
21553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21554 CFLAGS="$(STAGE2_CFLAGS)" \
21555 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21556 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21561 TFLAGS="$(STAGE2_TFLAGS)" \
21562 $(TARGET-stage2-libdecnumber)
21564 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21565 clean-stage2: clean-stage2-libdecnumber
21566 clean-stage2-libdecnumber:
21567 @if [ $(current_stage) = stage2 ]; then \
21568 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21569 else \
21570 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21571 $(MAKE) stage2-start; \
21572 fi; \
21573 cd $(HOST_SUBDIR)/libdecnumber && \
21574 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21575 @endif libdecnumber-bootstrap
21578 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21579 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21580 maybe-all-stage3-libdecnumber:
21581 maybe-clean-stage3-libdecnumber:
21582 @if libdecnumber-bootstrap
21583 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21584 all-stage3: all-stage3-libdecnumber
21585 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21586 all-stage3-libdecnumber: configure-stage3-libdecnumber
21587 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21588 @r=`${PWD_COMMAND}`; export r; \
21589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21590 TFLAGS="$(STAGE3_TFLAGS)"; \
21591 $(HOST_EXPORTS) \
21592 $(POSTSTAGE1_HOST_EXPORTS) \
21593 cd $(HOST_SUBDIR)/libdecnumber && \
21594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21595 CFLAGS="$(STAGE3_CFLAGS)" \
21596 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21597 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21602 TFLAGS="$(STAGE3_TFLAGS)" \
21603 $(TARGET-stage3-libdecnumber)
21605 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21606 clean-stage3: clean-stage3-libdecnumber
21607 clean-stage3-libdecnumber:
21608 @if [ $(current_stage) = stage3 ]; then \
21609 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21610 else \
21611 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21612 $(MAKE) stage3-start; \
21613 fi; \
21614 cd $(HOST_SUBDIR)/libdecnumber && \
21615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21616 @endif libdecnumber-bootstrap
21619 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21620 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21621 maybe-all-stage4-libdecnumber:
21622 maybe-clean-stage4-libdecnumber:
21623 @if libdecnumber-bootstrap
21624 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21625 all-stage4: all-stage4-libdecnumber
21626 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21627 all-stage4-libdecnumber: configure-stage4-libdecnumber
21628 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21629 @r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 TFLAGS="$(STAGE4_TFLAGS)"; \
21632 $(HOST_EXPORTS) \
21633 $(POSTSTAGE1_HOST_EXPORTS) \
21634 cd $(HOST_SUBDIR)/libdecnumber && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21636 CFLAGS="$(STAGE4_CFLAGS)" \
21637 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21638 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21642 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21643 TFLAGS="$(STAGE4_TFLAGS)" \
21644 $(TARGET-stage4-libdecnumber)
21646 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21647 clean-stage4: clean-stage4-libdecnumber
21648 clean-stage4-libdecnumber:
21649 @if [ $(current_stage) = stage4 ]; then \
21650 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21651 else \
21652 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21653 $(MAKE) stage4-start; \
21654 fi; \
21655 cd $(HOST_SUBDIR)/libdecnumber && \
21656 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21657 @endif libdecnumber-bootstrap
21660 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21661 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21662 maybe-all-stageprofile-libdecnumber:
21663 maybe-clean-stageprofile-libdecnumber:
21664 @if libdecnumber-bootstrap
21665 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21666 all-stageprofile: all-stageprofile-libdecnumber
21667 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21668 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21669 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21670 @r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21673 $(HOST_EXPORTS) \
21674 $(POSTSTAGE1_HOST_EXPORTS) \
21675 cd $(HOST_SUBDIR)/libdecnumber && \
21676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21677 CFLAGS="$(STAGEprofile_CFLAGS)" \
21678 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21679 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21680 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21681 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21682 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21683 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21684 TFLAGS="$(STAGEprofile_TFLAGS)" \
21685 $(TARGET-stageprofile-libdecnumber)
21687 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21688 clean-stageprofile: clean-stageprofile-libdecnumber
21689 clean-stageprofile-libdecnumber:
21690 @if [ $(current_stage) = stageprofile ]; then \
21691 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21692 else \
21693 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21694 $(MAKE) stageprofile-start; \
21695 fi; \
21696 cd $(HOST_SUBDIR)/libdecnumber && \
21697 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21698 @endif libdecnumber-bootstrap
21701 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21702 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21703 maybe-all-stagefeedback-libdecnumber:
21704 maybe-clean-stagefeedback-libdecnumber:
21705 @if libdecnumber-bootstrap
21706 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21707 all-stagefeedback: all-stagefeedback-libdecnumber
21708 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21709 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21710 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21711 @r=`${PWD_COMMAND}`; export r; \
21712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21713 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21714 $(HOST_EXPORTS) \
21715 $(POSTSTAGE1_HOST_EXPORTS) \
21716 cd $(HOST_SUBDIR)/libdecnumber && \
21717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21718 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21719 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21720 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21724 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21725 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21726 $(TARGET-stagefeedback-libdecnumber)
21728 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21729 clean-stagefeedback: clean-stagefeedback-libdecnumber
21730 clean-stagefeedback-libdecnumber:
21731 @if [ $(current_stage) = stagefeedback ]; then \
21732 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21733 else \
21734 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21735 $(MAKE) stagefeedback-start; \
21736 fi; \
21737 cd $(HOST_SUBDIR)/libdecnumber && \
21738 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21739 @endif libdecnumber-bootstrap
21745 .PHONY: check-libdecnumber maybe-check-libdecnumber
21746 maybe-check-libdecnumber:
21747 @if libdecnumber
21748 maybe-check-libdecnumber: check-libdecnumber
21750 check-libdecnumber:
21751 @: $(MAKE); $(unstage)
21752 @r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 (cd $(HOST_SUBDIR)/libdecnumber && \
21756 $(MAKE) $(FLAGS_TO_PASS) check)
21758 @endif libdecnumber
21760 .PHONY: install-libdecnumber maybe-install-libdecnumber
21761 maybe-install-libdecnumber:
21762 @if libdecnumber
21763 maybe-install-libdecnumber: install-libdecnumber
21765 install-libdecnumber: installdirs
21766 @: $(MAKE); $(unstage)
21767 @r=`${PWD_COMMAND}`; export r; \
21768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 $(HOST_EXPORTS) \
21770 (cd $(HOST_SUBDIR)/libdecnumber && \
21771 $(MAKE) $(FLAGS_TO_PASS) install)
21773 @endif libdecnumber
21775 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21776 maybe-install-strip-libdecnumber:
21777 @if libdecnumber
21778 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21780 install-strip-libdecnumber: installdirs
21781 @: $(MAKE); $(unstage)
21782 @r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(HOST_EXPORTS) \
21785 (cd $(HOST_SUBDIR)/libdecnumber && \
21786 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21788 @endif libdecnumber
21790 # Other targets (info, dvi, pdf, etc.)
21792 .PHONY: maybe-info-libdecnumber info-libdecnumber
21793 maybe-info-libdecnumber:
21794 @if libdecnumber
21795 maybe-info-libdecnumber: info-libdecnumber
21797 info-libdecnumber: \
21798 configure-libdecnumber
21799 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21800 r=`${PWD_COMMAND}`; export r; \
21801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 $(HOST_EXPORTS) \
21803 for flag in $(EXTRA_HOST_FLAGS) ; do \
21804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21805 done; \
21806 echo "Doing info in libdecnumber" ; \
21807 (cd $(HOST_SUBDIR)/libdecnumber && \
21808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21810 "RANLIB=$${RANLIB}" \
21811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21812 info) \
21813 || exit 1
21815 @endif libdecnumber
21817 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21818 maybe-dvi-libdecnumber:
21819 @if libdecnumber
21820 maybe-dvi-libdecnumber: dvi-libdecnumber
21822 dvi-libdecnumber: \
21823 configure-libdecnumber
21824 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21825 r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21827 $(HOST_EXPORTS) \
21828 for flag in $(EXTRA_HOST_FLAGS) ; do \
21829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21830 done; \
21831 echo "Doing dvi in libdecnumber" ; \
21832 (cd $(HOST_SUBDIR)/libdecnumber && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21835 "RANLIB=$${RANLIB}" \
21836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21837 dvi) \
21838 || exit 1
21840 @endif libdecnumber
21842 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21843 maybe-pdf-libdecnumber:
21844 @if libdecnumber
21845 maybe-pdf-libdecnumber: pdf-libdecnumber
21847 pdf-libdecnumber: \
21848 configure-libdecnumber
21849 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21850 r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 $(HOST_EXPORTS) \
21853 for flag in $(EXTRA_HOST_FLAGS) ; do \
21854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21855 done; \
21856 echo "Doing pdf in libdecnumber" ; \
21857 (cd $(HOST_SUBDIR)/libdecnumber && \
21858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21860 "RANLIB=$${RANLIB}" \
21861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21862 pdf) \
21863 || exit 1
21865 @endif libdecnumber
21867 .PHONY: maybe-html-libdecnumber html-libdecnumber
21868 maybe-html-libdecnumber:
21869 @if libdecnumber
21870 maybe-html-libdecnumber: html-libdecnumber
21872 html-libdecnumber: \
21873 configure-libdecnumber
21874 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21875 r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21877 $(HOST_EXPORTS) \
21878 for flag in $(EXTRA_HOST_FLAGS) ; do \
21879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21880 done; \
21881 echo "Doing html in libdecnumber" ; \
21882 (cd $(HOST_SUBDIR)/libdecnumber && \
21883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21885 "RANLIB=$${RANLIB}" \
21886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21887 html) \
21888 || exit 1
21890 @endif libdecnumber
21892 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21893 maybe-TAGS-libdecnumber:
21894 @if libdecnumber
21895 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21897 TAGS-libdecnumber: \
21898 configure-libdecnumber
21899 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21900 r=`${PWD_COMMAND}`; export r; \
21901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21902 $(HOST_EXPORTS) \
21903 for flag in $(EXTRA_HOST_FLAGS) ; do \
21904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21905 done; \
21906 echo "Doing TAGS in libdecnumber" ; \
21907 (cd $(HOST_SUBDIR)/libdecnumber && \
21908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21910 "RANLIB=$${RANLIB}" \
21911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21912 TAGS) \
21913 || exit 1
21915 @endif libdecnumber
21917 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21918 maybe-install-info-libdecnumber:
21919 @if libdecnumber
21920 maybe-install-info-libdecnumber: install-info-libdecnumber
21922 install-info-libdecnumber: \
21923 configure-libdecnumber \
21924 info-libdecnumber
21925 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21926 r=`${PWD_COMMAND}`; export r; \
21927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21928 $(HOST_EXPORTS) \
21929 for flag in $(EXTRA_HOST_FLAGS) ; do \
21930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21931 done; \
21932 echo "Doing install-info in libdecnumber" ; \
21933 (cd $(HOST_SUBDIR)/libdecnumber && \
21934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21936 "RANLIB=$${RANLIB}" \
21937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21938 install-info) \
21939 || exit 1
21941 @endif libdecnumber
21943 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21944 maybe-install-pdf-libdecnumber:
21945 @if libdecnumber
21946 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21948 install-pdf-libdecnumber: \
21949 configure-libdecnumber \
21950 pdf-libdecnumber
21951 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21952 r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 $(HOST_EXPORTS) \
21955 for flag in $(EXTRA_HOST_FLAGS) ; do \
21956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21957 done; \
21958 echo "Doing install-pdf in libdecnumber" ; \
21959 (cd $(HOST_SUBDIR)/libdecnumber && \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21964 install-pdf) \
21965 || exit 1
21967 @endif libdecnumber
21969 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21970 maybe-install-html-libdecnumber:
21971 @if libdecnumber
21972 maybe-install-html-libdecnumber: install-html-libdecnumber
21974 install-html-libdecnumber: \
21975 configure-libdecnumber \
21976 html-libdecnumber
21977 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(HOST_EXPORTS) \
21981 for flag in $(EXTRA_HOST_FLAGS) ; do \
21982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21983 done; \
21984 echo "Doing install-html in libdecnumber" ; \
21985 (cd $(HOST_SUBDIR)/libdecnumber && \
21986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21988 "RANLIB=$${RANLIB}" \
21989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21990 install-html) \
21991 || exit 1
21993 @endif libdecnumber
21995 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21996 maybe-installcheck-libdecnumber:
21997 @if libdecnumber
21998 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22000 installcheck-libdecnumber: \
22001 configure-libdecnumber
22002 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22003 r=`${PWD_COMMAND}`; export r; \
22004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005 $(HOST_EXPORTS) \
22006 for flag in $(EXTRA_HOST_FLAGS) ; do \
22007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22008 done; \
22009 echo "Doing installcheck in libdecnumber" ; \
22010 (cd $(HOST_SUBDIR)/libdecnumber && \
22011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22013 "RANLIB=$${RANLIB}" \
22014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22015 installcheck) \
22016 || exit 1
22018 @endif libdecnumber
22020 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22021 maybe-mostlyclean-libdecnumber:
22022 @if libdecnumber
22023 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22025 mostlyclean-libdecnumber:
22026 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22027 r=`${PWD_COMMAND}`; export r; \
22028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22029 $(HOST_EXPORTS) \
22030 for flag in $(EXTRA_HOST_FLAGS) ; do \
22031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22032 done; \
22033 echo "Doing mostlyclean in libdecnumber" ; \
22034 (cd $(HOST_SUBDIR)/libdecnumber && \
22035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22037 "RANLIB=$${RANLIB}" \
22038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22039 mostlyclean) \
22040 || exit 1
22042 @endif libdecnumber
22044 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22045 maybe-clean-libdecnumber:
22046 @if libdecnumber
22047 maybe-clean-libdecnumber: clean-libdecnumber
22049 clean-libdecnumber:
22050 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22051 r=`${PWD_COMMAND}`; export r; \
22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22053 $(HOST_EXPORTS) \
22054 for flag in $(EXTRA_HOST_FLAGS) ; do \
22055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22056 done; \
22057 echo "Doing clean in libdecnumber" ; \
22058 (cd $(HOST_SUBDIR)/libdecnumber && \
22059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22061 "RANLIB=$${RANLIB}" \
22062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22063 clean) \
22064 || exit 1
22066 @endif libdecnumber
22068 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22069 maybe-distclean-libdecnumber:
22070 @if libdecnumber
22071 maybe-distclean-libdecnumber: distclean-libdecnumber
22073 distclean-libdecnumber:
22074 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22075 r=`${PWD_COMMAND}`; export r; \
22076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22077 $(HOST_EXPORTS) \
22078 for flag in $(EXTRA_HOST_FLAGS) ; do \
22079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22080 done; \
22081 echo "Doing distclean in libdecnumber" ; \
22082 (cd $(HOST_SUBDIR)/libdecnumber && \
22083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22085 "RANLIB=$${RANLIB}" \
22086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22087 distclean) \
22088 || exit 1
22090 @endif libdecnumber
22092 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22093 maybe-maintainer-clean-libdecnumber:
22094 @if libdecnumber
22095 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22097 maintainer-clean-libdecnumber:
22098 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22099 r=`${PWD_COMMAND}`; export r; \
22100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22101 $(HOST_EXPORTS) \
22102 for flag in $(EXTRA_HOST_FLAGS) ; do \
22103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22104 done; \
22105 echo "Doing maintainer-clean in libdecnumber" ; \
22106 (cd $(HOST_SUBDIR)/libdecnumber && \
22107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22109 "RANLIB=$${RANLIB}" \
22110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22111 maintainer-clean) \
22112 || exit 1
22114 @endif libdecnumber
22118 .PHONY: configure-libgui maybe-configure-libgui
22119 maybe-configure-libgui:
22120 @if gcc-bootstrap
22121 configure-libgui: stage_current
22122 @endif gcc-bootstrap
22123 @if libgui
22124 maybe-configure-libgui: configure-libgui
22125 configure-libgui:
22126 @: $(MAKE); $(unstage)
22127 @r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22131 $(HOST_EXPORTS) \
22132 echo Configuring in $(HOST_SUBDIR)/libgui; \
22133 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22134 case $(srcdir) in \
22135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22136 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22138 esac; \
22139 srcdiroption="--srcdir=$${topdir}/libgui"; \
22140 libsrcdir="$$s/libgui"; \
22141 $(SHELL) $${libsrcdir}/configure \
22142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22143 --target=${target_alias} $${srcdiroption} \
22144 || exit 1
22145 @endif libgui
22151 .PHONY: all-libgui maybe-all-libgui
22152 maybe-all-libgui:
22153 @if gcc-bootstrap
22154 all-libgui: stage_current
22155 @endif gcc-bootstrap
22156 @if libgui
22157 TARGET-libgui=all
22158 maybe-all-libgui: all-libgui
22159 all-libgui: configure-libgui
22160 @: $(MAKE); $(unstage)
22161 @r=`${PWD_COMMAND}`; export r; \
22162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22163 $(HOST_EXPORTS) \
22164 (cd $(HOST_SUBDIR)/libgui && \
22165 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22166 $(TARGET-libgui))
22167 @endif libgui
22172 .PHONY: check-libgui maybe-check-libgui
22173 maybe-check-libgui:
22174 @if libgui
22175 maybe-check-libgui: check-libgui
22177 check-libgui:
22178 @: $(MAKE); $(unstage)
22179 @r=`${PWD_COMMAND}`; export r; \
22180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22181 $(HOST_EXPORTS) \
22182 (cd $(HOST_SUBDIR)/libgui && \
22183 $(MAKE) $(FLAGS_TO_PASS) check)
22185 @endif libgui
22187 .PHONY: install-libgui maybe-install-libgui
22188 maybe-install-libgui:
22189 @if libgui
22190 maybe-install-libgui: install-libgui
22192 install-libgui: installdirs
22193 @: $(MAKE); $(unstage)
22194 @r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(HOST_EXPORTS) \
22197 (cd $(HOST_SUBDIR)/libgui && \
22198 $(MAKE) $(FLAGS_TO_PASS) install)
22200 @endif libgui
22202 .PHONY: install-strip-libgui maybe-install-strip-libgui
22203 maybe-install-strip-libgui:
22204 @if libgui
22205 maybe-install-strip-libgui: install-strip-libgui
22207 install-strip-libgui: installdirs
22208 @: $(MAKE); $(unstage)
22209 @r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211 $(HOST_EXPORTS) \
22212 (cd $(HOST_SUBDIR)/libgui && \
22213 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22215 @endif libgui
22217 # Other targets (info, dvi, pdf, etc.)
22219 .PHONY: maybe-info-libgui info-libgui
22220 maybe-info-libgui:
22221 @if libgui
22222 maybe-info-libgui: info-libgui
22224 info-libgui: \
22225 configure-libgui
22226 @: $(MAKE); $(unstage)
22227 @[ -f ./libgui/Makefile ] || exit 0; \
22228 r=`${PWD_COMMAND}`; export r; \
22229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22230 $(HOST_EXPORTS) \
22231 for flag in $(EXTRA_HOST_FLAGS) ; do \
22232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22233 done; \
22234 echo "Doing info in libgui" ; \
22235 (cd $(HOST_SUBDIR)/libgui && \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22238 "RANLIB=$${RANLIB}" \
22239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22240 info) \
22241 || exit 1
22243 @endif libgui
22245 .PHONY: maybe-dvi-libgui dvi-libgui
22246 maybe-dvi-libgui:
22247 @if libgui
22248 maybe-dvi-libgui: dvi-libgui
22250 dvi-libgui: \
22251 configure-libgui
22252 @: $(MAKE); $(unstage)
22253 @[ -f ./libgui/Makefile ] || exit 0; \
22254 r=`${PWD_COMMAND}`; export r; \
22255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 $(HOST_EXPORTS) \
22257 for flag in $(EXTRA_HOST_FLAGS) ; do \
22258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22259 done; \
22260 echo "Doing dvi in libgui" ; \
22261 (cd $(HOST_SUBDIR)/libgui && \
22262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22264 "RANLIB=$${RANLIB}" \
22265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22266 dvi) \
22267 || exit 1
22269 @endif libgui
22271 .PHONY: maybe-pdf-libgui pdf-libgui
22272 maybe-pdf-libgui:
22273 @if libgui
22274 maybe-pdf-libgui: pdf-libgui
22276 pdf-libgui: \
22277 configure-libgui
22278 @: $(MAKE); $(unstage)
22279 @[ -f ./libgui/Makefile ] || exit 0; \
22280 r=`${PWD_COMMAND}`; export r; \
22281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22282 $(HOST_EXPORTS) \
22283 for flag in $(EXTRA_HOST_FLAGS) ; do \
22284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22285 done; \
22286 echo "Doing pdf in libgui" ; \
22287 (cd $(HOST_SUBDIR)/libgui && \
22288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22290 "RANLIB=$${RANLIB}" \
22291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22292 pdf) \
22293 || exit 1
22295 @endif libgui
22297 .PHONY: maybe-html-libgui html-libgui
22298 maybe-html-libgui:
22299 @if libgui
22300 maybe-html-libgui: html-libgui
22302 html-libgui: \
22303 configure-libgui
22304 @: $(MAKE); $(unstage)
22305 @[ -f ./libgui/Makefile ] || exit 0; \
22306 r=`${PWD_COMMAND}`; export r; \
22307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22308 $(HOST_EXPORTS) \
22309 for flag in $(EXTRA_HOST_FLAGS) ; do \
22310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22311 done; \
22312 echo "Doing html in libgui" ; \
22313 (cd $(HOST_SUBDIR)/libgui && \
22314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22316 "RANLIB=$${RANLIB}" \
22317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22318 html) \
22319 || exit 1
22321 @endif libgui
22323 .PHONY: maybe-TAGS-libgui TAGS-libgui
22324 maybe-TAGS-libgui:
22325 @if libgui
22326 maybe-TAGS-libgui: TAGS-libgui
22328 TAGS-libgui: \
22329 configure-libgui
22330 @: $(MAKE); $(unstage)
22331 @[ -f ./libgui/Makefile ] || exit 0; \
22332 r=`${PWD_COMMAND}`; export r; \
22333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22334 $(HOST_EXPORTS) \
22335 for flag in $(EXTRA_HOST_FLAGS) ; do \
22336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22337 done; \
22338 echo "Doing TAGS in libgui" ; \
22339 (cd $(HOST_SUBDIR)/libgui && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22342 "RANLIB=$${RANLIB}" \
22343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22344 TAGS) \
22345 || exit 1
22347 @endif libgui
22349 .PHONY: maybe-install-info-libgui install-info-libgui
22350 maybe-install-info-libgui:
22351 @if libgui
22352 maybe-install-info-libgui: install-info-libgui
22354 install-info-libgui: \
22355 configure-libgui \
22356 info-libgui
22357 @: $(MAKE); $(unstage)
22358 @[ -f ./libgui/Makefile ] || exit 0; \
22359 r=`${PWD_COMMAND}`; export r; \
22360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(HOST_EXPORTS) \
22362 for flag in $(EXTRA_HOST_FLAGS) ; do \
22363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22364 done; \
22365 echo "Doing install-info in libgui" ; \
22366 (cd $(HOST_SUBDIR)/libgui && \
22367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369 "RANLIB=$${RANLIB}" \
22370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22371 install-info) \
22372 || exit 1
22374 @endif libgui
22376 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22377 maybe-install-pdf-libgui:
22378 @if libgui
22379 maybe-install-pdf-libgui: install-pdf-libgui
22381 install-pdf-libgui: \
22382 configure-libgui \
22383 pdf-libgui
22384 @: $(MAKE); $(unstage)
22385 @[ -f ./libgui/Makefile ] || exit 0; \
22386 r=`${PWD_COMMAND}`; export r; \
22387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22388 $(HOST_EXPORTS) \
22389 for flag in $(EXTRA_HOST_FLAGS) ; do \
22390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22391 done; \
22392 echo "Doing install-pdf in libgui" ; \
22393 (cd $(HOST_SUBDIR)/libgui && \
22394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22396 "RANLIB=$${RANLIB}" \
22397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22398 install-pdf) \
22399 || exit 1
22401 @endif libgui
22403 .PHONY: maybe-install-html-libgui install-html-libgui
22404 maybe-install-html-libgui:
22405 @if libgui
22406 maybe-install-html-libgui: install-html-libgui
22408 install-html-libgui: \
22409 configure-libgui \
22410 html-libgui
22411 @: $(MAKE); $(unstage)
22412 @[ -f ./libgui/Makefile ] || exit 0; \
22413 r=`${PWD_COMMAND}`; export r; \
22414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22415 $(HOST_EXPORTS) \
22416 for flag in $(EXTRA_HOST_FLAGS) ; do \
22417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22418 done; \
22419 echo "Doing install-html in libgui" ; \
22420 (cd $(HOST_SUBDIR)/libgui && \
22421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22423 "RANLIB=$${RANLIB}" \
22424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22425 install-html) \
22426 || exit 1
22428 @endif libgui
22430 .PHONY: maybe-installcheck-libgui installcheck-libgui
22431 maybe-installcheck-libgui:
22432 @if libgui
22433 maybe-installcheck-libgui: installcheck-libgui
22435 installcheck-libgui: \
22436 configure-libgui
22437 @: $(MAKE); $(unstage)
22438 @[ -f ./libgui/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing installcheck in libgui" ; \
22446 (cd $(HOST_SUBDIR)/libgui && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22451 installcheck) \
22452 || exit 1
22454 @endif libgui
22456 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22457 maybe-mostlyclean-libgui:
22458 @if libgui
22459 maybe-mostlyclean-libgui: mostlyclean-libgui
22461 mostlyclean-libgui:
22462 @: $(MAKE); $(unstage)
22463 @[ -f ./libgui/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) ; do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing mostlyclean in libgui" ; \
22471 (cd $(HOST_SUBDIR)/libgui && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22476 mostlyclean) \
22477 || exit 1
22479 @endif libgui
22481 .PHONY: maybe-clean-libgui clean-libgui
22482 maybe-clean-libgui:
22483 @if libgui
22484 maybe-clean-libgui: clean-libgui
22486 clean-libgui:
22487 @: $(MAKE); $(unstage)
22488 @[ -f ./libgui/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(HOST_EXPORTS) \
22492 for flag in $(EXTRA_HOST_FLAGS) ; do \
22493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22494 done; \
22495 echo "Doing clean in libgui" ; \
22496 (cd $(HOST_SUBDIR)/libgui && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22501 clean) \
22502 || exit 1
22504 @endif libgui
22506 .PHONY: maybe-distclean-libgui distclean-libgui
22507 maybe-distclean-libgui:
22508 @if libgui
22509 maybe-distclean-libgui: distclean-libgui
22511 distclean-libgui:
22512 @: $(MAKE); $(unstage)
22513 @[ -f ./libgui/Makefile ] || exit 0; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22516 $(HOST_EXPORTS) \
22517 for flag in $(EXTRA_HOST_FLAGS) ; do \
22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22519 done; \
22520 echo "Doing distclean in libgui" ; \
22521 (cd $(HOST_SUBDIR)/libgui && \
22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22524 "RANLIB=$${RANLIB}" \
22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22526 distclean) \
22527 || exit 1
22529 @endif libgui
22531 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22532 maybe-maintainer-clean-libgui:
22533 @if libgui
22534 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22536 maintainer-clean-libgui:
22537 @: $(MAKE); $(unstage)
22538 @[ -f ./libgui/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) ; do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing maintainer-clean in libgui" ; \
22546 (cd $(HOST_SUBDIR)/libgui && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22551 maintainer-clean) \
22552 || exit 1
22554 @endif libgui
22558 .PHONY: configure-libiberty maybe-configure-libiberty
22559 maybe-configure-libiberty:
22560 @if gcc-bootstrap
22561 configure-libiberty: stage_current
22562 @endif gcc-bootstrap
22563 @if libiberty
22564 maybe-configure-libiberty: configure-libiberty
22565 configure-libiberty:
22566 @r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22570 $(HOST_EXPORTS) \
22571 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22572 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22573 case $(srcdir) in \
22574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22575 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22577 esac; \
22578 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22579 libsrcdir="$$s/libiberty"; \
22580 $(SHELL) $${libsrcdir}/configure \
22581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22582 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22583 || exit 1
22584 @endif libiberty
22588 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22589 maybe-configure-stage1-libiberty:
22590 @if libiberty-bootstrap
22591 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22592 configure-stage1-libiberty:
22593 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22595 @r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 TFLAGS="$(STAGE1_TFLAGS)"; \
22598 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22599 $(HOST_EXPORTS) \
22600 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22601 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22602 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22603 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22605 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22606 case $(srcdir) in \
22607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22608 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22610 esac; \
22611 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22612 libsrcdir="$$s/libiberty"; \
22613 $(SHELL) $${libsrcdir}/configure \
22614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22615 --target=${target_alias} $${srcdiroption} \
22616 $(STAGE1_CONFIGURE_FLAGS) \
22617 @extra_host_libiberty_configure_flags@
22618 @endif libiberty-bootstrap
22620 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22621 maybe-configure-stage2-libiberty:
22622 @if libiberty-bootstrap
22623 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22624 configure-stage2-libiberty:
22625 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22627 @r=`${PWD_COMMAND}`; export r; \
22628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22629 TFLAGS="$(STAGE2_TFLAGS)"; \
22630 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22631 $(HOST_EXPORTS) \
22632 $(POSTSTAGE1_HOST_EXPORTS) \
22633 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22634 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22635 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22636 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22638 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22639 case $(srcdir) in \
22640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22641 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22643 esac; \
22644 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22645 libsrcdir="$$s/libiberty"; \
22646 $(SHELL) $${libsrcdir}/configure \
22647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22648 --target=${target_alias} $${srcdiroption} \
22649 --with-build-libsubdir=$(HOST_SUBDIR) \
22650 $(STAGE2_CONFIGURE_FLAGS) \
22651 @extra_host_libiberty_configure_flags@
22652 @endif libiberty-bootstrap
22654 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22655 maybe-configure-stage3-libiberty:
22656 @if libiberty-bootstrap
22657 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22658 configure-stage3-libiberty:
22659 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22661 @r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 TFLAGS="$(STAGE3_TFLAGS)"; \
22664 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22665 $(HOST_EXPORTS) \
22666 $(POSTSTAGE1_HOST_EXPORTS) \
22667 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22668 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22669 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22670 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22672 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22673 case $(srcdir) in \
22674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22675 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22677 esac; \
22678 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22679 libsrcdir="$$s/libiberty"; \
22680 $(SHELL) $${libsrcdir}/configure \
22681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22682 --target=${target_alias} $${srcdiroption} \
22683 --with-build-libsubdir=$(HOST_SUBDIR) \
22684 $(STAGE3_CONFIGURE_FLAGS) \
22685 @extra_host_libiberty_configure_flags@
22686 @endif libiberty-bootstrap
22688 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22689 maybe-configure-stage4-libiberty:
22690 @if libiberty-bootstrap
22691 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22692 configure-stage4-libiberty:
22693 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22695 @r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 TFLAGS="$(STAGE4_TFLAGS)"; \
22698 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22699 $(HOST_EXPORTS) \
22700 $(POSTSTAGE1_HOST_EXPORTS) \
22701 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22702 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22703 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22704 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22706 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22707 case $(srcdir) in \
22708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22709 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22711 esac; \
22712 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22713 libsrcdir="$$s/libiberty"; \
22714 $(SHELL) $${libsrcdir}/configure \
22715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22716 --target=${target_alias} $${srcdiroption} \
22717 --with-build-libsubdir=$(HOST_SUBDIR) \
22718 $(STAGE4_CONFIGURE_FLAGS) \
22719 @extra_host_libiberty_configure_flags@
22720 @endif libiberty-bootstrap
22722 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22723 maybe-configure-stageprofile-libiberty:
22724 @if libiberty-bootstrap
22725 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22726 configure-stageprofile-libiberty:
22727 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22729 @r=`${PWD_COMMAND}`; export r; \
22730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22731 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22732 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22733 $(HOST_EXPORTS) \
22734 $(POSTSTAGE1_HOST_EXPORTS) \
22735 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22736 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22737 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22738 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22740 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22741 case $(srcdir) in \
22742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22743 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22745 esac; \
22746 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22747 libsrcdir="$$s/libiberty"; \
22748 $(SHELL) $${libsrcdir}/configure \
22749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22750 --target=${target_alias} $${srcdiroption} \
22751 --with-build-libsubdir=$(HOST_SUBDIR) \
22752 $(STAGEprofile_CONFIGURE_FLAGS) \
22753 @extra_host_libiberty_configure_flags@
22754 @endif libiberty-bootstrap
22756 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22757 maybe-configure-stagefeedback-libiberty:
22758 @if libiberty-bootstrap
22759 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22760 configure-stagefeedback-libiberty:
22761 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22763 @r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22766 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22767 $(HOST_EXPORTS) \
22768 $(POSTSTAGE1_HOST_EXPORTS) \
22769 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22770 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22771 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22772 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22774 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22775 case $(srcdir) in \
22776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22777 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22779 esac; \
22780 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22781 libsrcdir="$$s/libiberty"; \
22782 $(SHELL) $${libsrcdir}/configure \
22783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22784 --target=${target_alias} $${srcdiroption} \
22785 --with-build-libsubdir=$(HOST_SUBDIR) \
22786 $(STAGEfeedback_CONFIGURE_FLAGS) \
22787 @extra_host_libiberty_configure_flags@
22788 @endif libiberty-bootstrap
22794 .PHONY: all-libiberty maybe-all-libiberty
22795 maybe-all-libiberty:
22796 @if gcc-bootstrap
22797 all-libiberty: stage_current
22798 @endif gcc-bootstrap
22799 @if libiberty
22800 TARGET-libiberty=all
22801 maybe-all-libiberty: all-libiberty
22802 all-libiberty: configure-libiberty
22803 @r=`${PWD_COMMAND}`; export r; \
22804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22805 $(HOST_EXPORTS) \
22806 (cd $(HOST_SUBDIR)/libiberty && \
22807 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22808 $(TARGET-libiberty))
22809 @endif libiberty
22813 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22814 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22815 maybe-all-stage1-libiberty:
22816 maybe-clean-stage1-libiberty:
22817 @if libiberty-bootstrap
22818 maybe-all-stage1-libiberty: all-stage1-libiberty
22819 all-stage1: all-stage1-libiberty
22820 TARGET-stage1-libiberty = $(TARGET-libiberty)
22821 all-stage1-libiberty: configure-stage1-libiberty
22822 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22823 @r=`${PWD_COMMAND}`; export r; \
22824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22825 TFLAGS="$(STAGE1_TFLAGS)"; \
22826 $(HOST_EXPORTS) \
22827 cd $(HOST_SUBDIR)/libiberty && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22829 CFLAGS="$(STAGE1_CFLAGS)" \
22830 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22831 LIBCFLAGS="$(LIBCFLAGS)" \
22832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22835 $(EXTRA_HOST_FLAGS) \
22836 $(STAGE1_FLAGS_TO_PASS) \
22837 TFLAGS="$(STAGE1_TFLAGS)" \
22838 $(TARGET-stage1-libiberty)
22840 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22841 clean-stage1: clean-stage1-libiberty
22842 clean-stage1-libiberty:
22843 @if [ $(current_stage) = stage1 ]; then \
22844 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22845 else \
22846 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22847 $(MAKE) stage1-start; \
22848 fi; \
22849 cd $(HOST_SUBDIR)/libiberty && \
22850 $(MAKE) $(EXTRA_HOST_FLAGS) \
22851 $(STAGE1_FLAGS_TO_PASS) clean
22852 @endif libiberty-bootstrap
22855 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22856 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22857 maybe-all-stage2-libiberty:
22858 maybe-clean-stage2-libiberty:
22859 @if libiberty-bootstrap
22860 maybe-all-stage2-libiberty: all-stage2-libiberty
22861 all-stage2: all-stage2-libiberty
22862 TARGET-stage2-libiberty = $(TARGET-libiberty)
22863 all-stage2-libiberty: configure-stage2-libiberty
22864 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22865 @r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 TFLAGS="$(STAGE2_TFLAGS)"; \
22868 $(HOST_EXPORTS) \
22869 $(POSTSTAGE1_HOST_EXPORTS) \
22870 cd $(HOST_SUBDIR)/libiberty && \
22871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22872 CFLAGS="$(STAGE2_CFLAGS)" \
22873 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22874 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22878 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22879 TFLAGS="$(STAGE2_TFLAGS)" \
22880 $(TARGET-stage2-libiberty)
22882 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22883 clean-stage2: clean-stage2-libiberty
22884 clean-stage2-libiberty:
22885 @if [ $(current_stage) = stage2 ]; then \
22886 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22887 else \
22888 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22889 $(MAKE) stage2-start; \
22890 fi; \
22891 cd $(HOST_SUBDIR)/libiberty && \
22892 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22893 @endif libiberty-bootstrap
22896 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22897 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22898 maybe-all-stage3-libiberty:
22899 maybe-clean-stage3-libiberty:
22900 @if libiberty-bootstrap
22901 maybe-all-stage3-libiberty: all-stage3-libiberty
22902 all-stage3: all-stage3-libiberty
22903 TARGET-stage3-libiberty = $(TARGET-libiberty)
22904 all-stage3-libiberty: configure-stage3-libiberty
22905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22906 @r=`${PWD_COMMAND}`; export r; \
22907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22908 TFLAGS="$(STAGE3_TFLAGS)"; \
22909 $(HOST_EXPORTS) \
22910 $(POSTSTAGE1_HOST_EXPORTS) \
22911 cd $(HOST_SUBDIR)/libiberty && \
22912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22913 CFLAGS="$(STAGE3_CFLAGS)" \
22914 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22915 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22920 TFLAGS="$(STAGE3_TFLAGS)" \
22921 $(TARGET-stage3-libiberty)
22923 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22924 clean-stage3: clean-stage3-libiberty
22925 clean-stage3-libiberty:
22926 @if [ $(current_stage) = stage3 ]; then \
22927 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22928 else \
22929 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22930 $(MAKE) stage3-start; \
22931 fi; \
22932 cd $(HOST_SUBDIR)/libiberty && \
22933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22934 @endif libiberty-bootstrap
22937 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22938 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22939 maybe-all-stage4-libiberty:
22940 maybe-clean-stage4-libiberty:
22941 @if libiberty-bootstrap
22942 maybe-all-stage4-libiberty: all-stage4-libiberty
22943 all-stage4: all-stage4-libiberty
22944 TARGET-stage4-libiberty = $(TARGET-libiberty)
22945 all-stage4-libiberty: configure-stage4-libiberty
22946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22947 @r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 TFLAGS="$(STAGE4_TFLAGS)"; \
22950 $(HOST_EXPORTS) \
22951 $(POSTSTAGE1_HOST_EXPORTS) \
22952 cd $(HOST_SUBDIR)/libiberty && \
22953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22954 CFLAGS="$(STAGE4_CFLAGS)" \
22955 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22956 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22961 TFLAGS="$(STAGE4_TFLAGS)" \
22962 $(TARGET-stage4-libiberty)
22964 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22965 clean-stage4: clean-stage4-libiberty
22966 clean-stage4-libiberty:
22967 @if [ $(current_stage) = stage4 ]; then \
22968 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22969 else \
22970 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22971 $(MAKE) stage4-start; \
22972 fi; \
22973 cd $(HOST_SUBDIR)/libiberty && \
22974 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22975 @endif libiberty-bootstrap
22978 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22979 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22980 maybe-all-stageprofile-libiberty:
22981 maybe-clean-stageprofile-libiberty:
22982 @if libiberty-bootstrap
22983 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22984 all-stageprofile: all-stageprofile-libiberty
22985 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22986 all-stageprofile-libiberty: configure-stageprofile-libiberty
22987 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22988 @r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22991 $(HOST_EXPORTS) \
22992 $(POSTSTAGE1_HOST_EXPORTS) \
22993 cd $(HOST_SUBDIR)/libiberty && \
22994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22995 CFLAGS="$(STAGEprofile_CFLAGS)" \
22996 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22997 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23002 TFLAGS="$(STAGEprofile_TFLAGS)" \
23003 $(TARGET-stageprofile-libiberty)
23005 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23006 clean-stageprofile: clean-stageprofile-libiberty
23007 clean-stageprofile-libiberty:
23008 @if [ $(current_stage) = stageprofile ]; then \
23009 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23010 else \
23011 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23012 $(MAKE) stageprofile-start; \
23013 fi; \
23014 cd $(HOST_SUBDIR)/libiberty && \
23015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23016 @endif libiberty-bootstrap
23019 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23020 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23021 maybe-all-stagefeedback-libiberty:
23022 maybe-clean-stagefeedback-libiberty:
23023 @if libiberty-bootstrap
23024 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23025 all-stagefeedback: all-stagefeedback-libiberty
23026 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23027 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23028 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23029 @r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23032 $(HOST_EXPORTS) \
23033 $(POSTSTAGE1_HOST_EXPORTS) \
23034 cd $(HOST_SUBDIR)/libiberty && \
23035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23036 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23037 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23038 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23042 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23043 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23044 $(TARGET-stagefeedback-libiberty)
23046 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23047 clean-stagefeedback: clean-stagefeedback-libiberty
23048 clean-stagefeedback-libiberty:
23049 @if [ $(current_stage) = stagefeedback ]; then \
23050 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23051 else \
23052 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23053 $(MAKE) stagefeedback-start; \
23054 fi; \
23055 cd $(HOST_SUBDIR)/libiberty && \
23056 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23057 @endif libiberty-bootstrap
23063 .PHONY: check-libiberty maybe-check-libiberty
23064 maybe-check-libiberty:
23065 @if libiberty
23066 maybe-check-libiberty: check-libiberty
23068 check-libiberty:
23069 @: $(MAKE); $(unstage)
23070 @r=`${PWD_COMMAND}`; export r; \
23071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23072 $(HOST_EXPORTS) \
23073 (cd $(HOST_SUBDIR)/libiberty && \
23074 $(MAKE) $(FLAGS_TO_PASS) check)
23076 @endif libiberty
23078 .PHONY: install-libiberty maybe-install-libiberty
23079 maybe-install-libiberty:
23080 @if libiberty
23081 maybe-install-libiberty: install-libiberty
23083 install-libiberty: installdirs
23084 @: $(MAKE); $(unstage)
23085 @r=`${PWD_COMMAND}`; export r; \
23086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 $(HOST_EXPORTS) \
23088 (cd $(HOST_SUBDIR)/libiberty && \
23089 $(MAKE) $(FLAGS_TO_PASS) install)
23091 @endif libiberty
23093 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23094 maybe-install-strip-libiberty:
23095 @if libiberty
23096 maybe-install-strip-libiberty: install-strip-libiberty
23098 install-strip-libiberty: installdirs
23099 @: $(MAKE); $(unstage)
23100 @r=`${PWD_COMMAND}`; export r; \
23101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23102 $(HOST_EXPORTS) \
23103 (cd $(HOST_SUBDIR)/libiberty && \
23104 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23106 @endif libiberty
23108 # Other targets (info, dvi, pdf, etc.)
23110 .PHONY: maybe-info-libiberty info-libiberty
23111 maybe-info-libiberty:
23112 @if libiberty
23113 maybe-info-libiberty: info-libiberty
23115 info-libiberty: \
23116 configure-libiberty
23117 @[ -f ./libiberty/Makefile ] || exit 0; \
23118 r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 for flag in $(EXTRA_HOST_FLAGS) ; do \
23122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23123 done; \
23124 echo "Doing info in libiberty" ; \
23125 (cd $(HOST_SUBDIR)/libiberty && \
23126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23128 "RANLIB=$${RANLIB}" \
23129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23130 info) \
23131 || exit 1
23133 @endif libiberty
23135 .PHONY: maybe-dvi-libiberty dvi-libiberty
23136 maybe-dvi-libiberty:
23137 @if libiberty
23138 maybe-dvi-libiberty: dvi-libiberty
23140 dvi-libiberty: \
23141 configure-libiberty
23142 @[ -f ./libiberty/Makefile ] || exit 0; \
23143 r=`${PWD_COMMAND}`; export r; \
23144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23145 $(HOST_EXPORTS) \
23146 for flag in $(EXTRA_HOST_FLAGS) ; do \
23147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23148 done; \
23149 echo "Doing dvi in libiberty" ; \
23150 (cd $(HOST_SUBDIR)/libiberty && \
23151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23153 "RANLIB=$${RANLIB}" \
23154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23155 dvi) \
23156 || exit 1
23158 @endif libiberty
23160 .PHONY: maybe-pdf-libiberty pdf-libiberty
23161 maybe-pdf-libiberty:
23162 @if libiberty
23163 maybe-pdf-libiberty: pdf-libiberty
23165 pdf-libiberty: \
23166 configure-libiberty
23167 @[ -f ./libiberty/Makefile ] || exit 0; \
23168 r=`${PWD_COMMAND}`; export r; \
23169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23170 $(HOST_EXPORTS) \
23171 for flag in $(EXTRA_HOST_FLAGS) ; do \
23172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23173 done; \
23174 echo "Doing pdf in libiberty" ; \
23175 (cd $(HOST_SUBDIR)/libiberty && \
23176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23178 "RANLIB=$${RANLIB}" \
23179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23180 pdf) \
23181 || exit 1
23183 @endif libiberty
23185 .PHONY: maybe-html-libiberty html-libiberty
23186 maybe-html-libiberty:
23187 @if libiberty
23188 maybe-html-libiberty: html-libiberty
23190 html-libiberty: \
23191 configure-libiberty
23192 @[ -f ./libiberty/Makefile ] || exit 0; \
23193 r=`${PWD_COMMAND}`; export r; \
23194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23195 $(HOST_EXPORTS) \
23196 for flag in $(EXTRA_HOST_FLAGS) ; do \
23197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23198 done; \
23199 echo "Doing html in libiberty" ; \
23200 (cd $(HOST_SUBDIR)/libiberty && \
23201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23203 "RANLIB=$${RANLIB}" \
23204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23205 html) \
23206 || exit 1
23208 @endif libiberty
23210 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23211 maybe-TAGS-libiberty:
23212 @if libiberty
23213 maybe-TAGS-libiberty: TAGS-libiberty
23215 TAGS-libiberty: \
23216 configure-libiberty
23217 @[ -f ./libiberty/Makefile ] || exit 0; \
23218 r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 $(HOST_EXPORTS) \
23221 for flag in $(EXTRA_HOST_FLAGS) ; do \
23222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23223 done; \
23224 echo "Doing TAGS in libiberty" ; \
23225 (cd $(HOST_SUBDIR)/libiberty && \
23226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23228 "RANLIB=$${RANLIB}" \
23229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23230 TAGS) \
23231 || exit 1
23233 @endif libiberty
23235 .PHONY: maybe-install-info-libiberty install-info-libiberty
23236 maybe-install-info-libiberty:
23237 @if libiberty
23238 maybe-install-info-libiberty: install-info-libiberty
23240 install-info-libiberty: \
23241 configure-libiberty \
23242 info-libiberty
23243 @[ -f ./libiberty/Makefile ] || exit 0; \
23244 r=`${PWD_COMMAND}`; export r; \
23245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23246 $(HOST_EXPORTS) \
23247 for flag in $(EXTRA_HOST_FLAGS) ; do \
23248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23249 done; \
23250 echo "Doing install-info in libiberty" ; \
23251 (cd $(HOST_SUBDIR)/libiberty && \
23252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23254 "RANLIB=$${RANLIB}" \
23255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23256 install-info) \
23257 || exit 1
23259 @endif libiberty
23261 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23262 maybe-install-pdf-libiberty:
23263 @if libiberty
23264 maybe-install-pdf-libiberty: install-pdf-libiberty
23266 install-pdf-libiberty: \
23267 configure-libiberty \
23268 pdf-libiberty
23269 @[ -f ./libiberty/Makefile ] || exit 0; \
23270 r=`${PWD_COMMAND}`; export r; \
23271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23272 $(HOST_EXPORTS) \
23273 for flag in $(EXTRA_HOST_FLAGS) ; do \
23274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23275 done; \
23276 echo "Doing install-pdf in libiberty" ; \
23277 (cd $(HOST_SUBDIR)/libiberty && \
23278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23280 "RANLIB=$${RANLIB}" \
23281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23282 install-pdf) \
23283 || exit 1
23285 @endif libiberty
23287 .PHONY: maybe-install-html-libiberty install-html-libiberty
23288 maybe-install-html-libiberty:
23289 @if libiberty
23290 maybe-install-html-libiberty: install-html-libiberty
23292 install-html-libiberty: \
23293 configure-libiberty \
23294 html-libiberty
23295 @[ -f ./libiberty/Makefile ] || exit 0; \
23296 r=`${PWD_COMMAND}`; export r; \
23297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23298 $(HOST_EXPORTS) \
23299 for flag in $(EXTRA_HOST_FLAGS) ; do \
23300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23301 done; \
23302 echo "Doing install-html in libiberty" ; \
23303 (cd $(HOST_SUBDIR)/libiberty && \
23304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23306 "RANLIB=$${RANLIB}" \
23307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23308 install-html) \
23309 || exit 1
23311 @endif libiberty
23313 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23314 maybe-installcheck-libiberty:
23315 @if libiberty
23316 maybe-installcheck-libiberty: installcheck-libiberty
23318 installcheck-libiberty: \
23319 configure-libiberty
23320 @[ -f ./libiberty/Makefile ] || exit 0; \
23321 r=`${PWD_COMMAND}`; export r; \
23322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23323 $(HOST_EXPORTS) \
23324 for flag in $(EXTRA_HOST_FLAGS) ; do \
23325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23326 done; \
23327 echo "Doing installcheck in libiberty" ; \
23328 (cd $(HOST_SUBDIR)/libiberty && \
23329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23331 "RANLIB=$${RANLIB}" \
23332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23333 installcheck) \
23334 || exit 1
23336 @endif libiberty
23338 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23339 maybe-mostlyclean-libiberty:
23340 @if libiberty
23341 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23343 mostlyclean-libiberty:
23344 @[ -f ./libiberty/Makefile ] || exit 0; \
23345 r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(HOST_EXPORTS) \
23348 for flag in $(EXTRA_HOST_FLAGS) ; do \
23349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23350 done; \
23351 echo "Doing mostlyclean in libiberty" ; \
23352 (cd $(HOST_SUBDIR)/libiberty && \
23353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23355 "RANLIB=$${RANLIB}" \
23356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23357 mostlyclean) \
23358 || exit 1
23360 @endif libiberty
23362 .PHONY: maybe-clean-libiberty clean-libiberty
23363 maybe-clean-libiberty:
23364 @if libiberty
23365 maybe-clean-libiberty: clean-libiberty
23367 clean-libiberty:
23368 @[ -f ./libiberty/Makefile ] || exit 0; \
23369 r=`${PWD_COMMAND}`; export r; \
23370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23371 $(HOST_EXPORTS) \
23372 for flag in $(EXTRA_HOST_FLAGS) ; do \
23373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23374 done; \
23375 echo "Doing clean in libiberty" ; \
23376 (cd $(HOST_SUBDIR)/libiberty && \
23377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23379 "RANLIB=$${RANLIB}" \
23380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23381 clean) \
23382 || exit 1
23384 @endif libiberty
23386 .PHONY: maybe-distclean-libiberty distclean-libiberty
23387 maybe-distclean-libiberty:
23388 @if libiberty
23389 maybe-distclean-libiberty: distclean-libiberty
23391 distclean-libiberty:
23392 @[ -f ./libiberty/Makefile ] || exit 0; \
23393 r=`${PWD_COMMAND}`; export r; \
23394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23395 $(HOST_EXPORTS) \
23396 for flag in $(EXTRA_HOST_FLAGS) ; do \
23397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23398 done; \
23399 echo "Doing distclean in libiberty" ; \
23400 (cd $(HOST_SUBDIR)/libiberty && \
23401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23403 "RANLIB=$${RANLIB}" \
23404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23405 distclean) \
23406 || exit 1
23408 @endif libiberty
23410 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23411 maybe-maintainer-clean-libiberty:
23412 @if libiberty
23413 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23415 maintainer-clean-libiberty:
23416 @[ -f ./libiberty/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(HOST_EXPORTS) \
23420 for flag in $(EXTRA_HOST_FLAGS) ; do \
23421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23422 done; \
23423 echo "Doing maintainer-clean in libiberty" ; \
23424 (cd $(HOST_SUBDIR)/libiberty && \
23425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23427 "RANLIB=$${RANLIB}" \
23428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23429 maintainer-clean) \
23430 || exit 1
23432 @endif libiberty
23436 .PHONY: configure-libiconv maybe-configure-libiconv
23437 maybe-configure-libiconv:
23438 @if gcc-bootstrap
23439 configure-libiconv: stage_current
23440 @endif gcc-bootstrap
23441 @if libiconv
23442 maybe-configure-libiconv: configure-libiconv
23443 configure-libiconv:
23444 @: $(MAKE); $(unstage)
23445 @r=`${PWD_COMMAND}`; export r; \
23446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23447 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23449 $(HOST_EXPORTS) \
23450 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23451 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23452 case $(srcdir) in \
23453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23454 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23456 esac; \
23457 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23458 libsrcdir="$$s/libiconv"; \
23459 $(SHELL) $${libsrcdir}/configure \
23460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23461 --target=${target_alias} $${srcdiroption} --disable-shared \
23462 || exit 1
23463 @endif libiconv
23469 .PHONY: all-libiconv maybe-all-libiconv
23470 maybe-all-libiconv:
23471 @if gcc-bootstrap
23472 all-libiconv: stage_current
23473 @endif gcc-bootstrap
23474 @if libiconv
23475 TARGET-libiconv=all
23476 maybe-all-libiconv: all-libiconv
23477 all-libiconv: configure-libiconv
23478 @: $(MAKE); $(unstage)
23479 @r=`${PWD_COMMAND}`; export r; \
23480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 $(HOST_EXPORTS) \
23482 (cd $(HOST_SUBDIR)/libiconv && \
23483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23484 $(TARGET-libiconv))
23485 @endif libiconv
23490 .PHONY: check-libiconv maybe-check-libiconv
23491 maybe-check-libiconv:
23492 @if libiconv
23493 maybe-check-libiconv: check-libiconv
23495 check-libiconv:
23496 @: $(MAKE); $(unstage)
23497 @r=`${PWD_COMMAND}`; export r; \
23498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 $(HOST_EXPORTS) \
23500 (cd $(HOST_SUBDIR)/libiconv && \
23501 $(MAKE) $(FLAGS_TO_PASS) check)
23503 @endif libiconv
23505 .PHONY: install-libiconv maybe-install-libiconv
23506 maybe-install-libiconv:
23507 @if libiconv
23508 maybe-install-libiconv: install-libiconv
23510 install-libiconv:
23512 @endif libiconv
23514 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23515 maybe-install-strip-libiconv:
23516 @if libiconv
23517 maybe-install-strip-libiconv: install-strip-libiconv
23519 install-strip-libiconv:
23521 @endif libiconv
23523 # Other targets (info, dvi, pdf, etc.)
23525 .PHONY: maybe-info-libiconv info-libiconv
23526 maybe-info-libiconv:
23527 @if libiconv
23528 maybe-info-libiconv: info-libiconv
23530 info-libiconv: \
23531 configure-libiconv
23532 @: $(MAKE); $(unstage)
23533 @[ -f ./libiconv/Makefile ] || exit 0; \
23534 r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23536 $(HOST_EXPORTS) \
23537 for flag in $(EXTRA_HOST_FLAGS) ; do \
23538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539 done; \
23540 echo "Doing info in libiconv" ; \
23541 (cd $(HOST_SUBDIR)/libiconv && \
23542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23544 "RANLIB=$${RANLIB}" \
23545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23546 info) \
23547 || exit 1
23549 @endif libiconv
23551 .PHONY: maybe-dvi-libiconv dvi-libiconv
23552 maybe-dvi-libiconv:
23553 @if libiconv
23554 maybe-dvi-libiconv: dvi-libiconv
23556 dvi-libiconv: \
23557 configure-libiconv
23558 @: $(MAKE); $(unstage)
23559 @[ -f ./libiconv/Makefile ] || exit 0; \
23560 r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 $(HOST_EXPORTS) \
23563 for flag in $(EXTRA_HOST_FLAGS) ; do \
23564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565 done; \
23566 echo "Doing dvi in libiconv" ; \
23567 (cd $(HOST_SUBDIR)/libiconv && \
23568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23570 "RANLIB=$${RANLIB}" \
23571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23572 dvi) \
23573 || exit 1
23575 @endif libiconv
23577 .PHONY: maybe-pdf-libiconv pdf-libiconv
23578 maybe-pdf-libiconv:
23579 @if libiconv
23580 maybe-pdf-libiconv: pdf-libiconv
23582 pdf-libiconv: \
23583 configure-libiconv
23584 @: $(MAKE); $(unstage)
23585 @[ -f ./libiconv/Makefile ] || exit 0; \
23586 r=`${PWD_COMMAND}`; export r; \
23587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23588 $(HOST_EXPORTS) \
23589 for flag in $(EXTRA_HOST_FLAGS) ; do \
23590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23591 done; \
23592 echo "Doing pdf in libiconv" ; \
23593 (cd $(HOST_SUBDIR)/libiconv && \
23594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23596 "RANLIB=$${RANLIB}" \
23597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23598 pdf) \
23599 || exit 1
23601 @endif libiconv
23603 .PHONY: maybe-html-libiconv html-libiconv
23604 maybe-html-libiconv:
23605 @if libiconv
23606 maybe-html-libiconv: html-libiconv
23608 html-libiconv: \
23609 configure-libiconv
23610 @: $(MAKE); $(unstage)
23611 @[ -f ./libiconv/Makefile ] || exit 0; \
23612 r=`${PWD_COMMAND}`; export r; \
23613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(HOST_EXPORTS) \
23615 for flag in $(EXTRA_HOST_FLAGS) ; do \
23616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23617 done; \
23618 echo "Doing html in libiconv" ; \
23619 (cd $(HOST_SUBDIR)/libiconv && \
23620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23622 "RANLIB=$${RANLIB}" \
23623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23624 html) \
23625 || exit 1
23627 @endif libiconv
23629 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23630 maybe-TAGS-libiconv:
23631 @if libiconv
23632 maybe-TAGS-libiconv: TAGS-libiconv
23634 TAGS-libiconv: \
23635 configure-libiconv
23636 @: $(MAKE); $(unstage)
23637 @[ -f ./libiconv/Makefile ] || exit 0; \
23638 r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(HOST_EXPORTS) \
23641 for flag in $(EXTRA_HOST_FLAGS) ; do \
23642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23643 done; \
23644 echo "Doing TAGS in libiconv" ; \
23645 (cd $(HOST_SUBDIR)/libiconv && \
23646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23648 "RANLIB=$${RANLIB}" \
23649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23650 TAGS) \
23651 || exit 1
23653 @endif libiconv
23655 .PHONY: maybe-install-info-libiconv install-info-libiconv
23656 maybe-install-info-libiconv:
23657 @if libiconv
23658 maybe-install-info-libiconv: install-info-libiconv
23660 # libiconv doesn't support install-info.
23661 install-info-libiconv:
23663 @endif libiconv
23665 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23666 maybe-install-pdf-libiconv:
23667 @if libiconv
23668 maybe-install-pdf-libiconv: install-pdf-libiconv
23670 # libiconv doesn't support install-pdf.
23671 install-pdf-libiconv:
23673 @endif libiconv
23675 .PHONY: maybe-install-html-libiconv install-html-libiconv
23676 maybe-install-html-libiconv:
23677 @if libiconv
23678 maybe-install-html-libiconv: install-html-libiconv
23680 # libiconv doesn't support install-html.
23681 install-html-libiconv:
23683 @endif libiconv
23685 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23686 maybe-installcheck-libiconv:
23687 @if libiconv
23688 maybe-installcheck-libiconv: installcheck-libiconv
23690 installcheck-libiconv: \
23691 configure-libiconv
23692 @: $(MAKE); $(unstage)
23693 @[ -f ./libiconv/Makefile ] || exit 0; \
23694 r=`${PWD_COMMAND}`; export r; \
23695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23696 $(HOST_EXPORTS) \
23697 for flag in $(EXTRA_HOST_FLAGS) ; do \
23698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23699 done; \
23700 echo "Doing installcheck in libiconv" ; \
23701 (cd $(HOST_SUBDIR)/libiconv && \
23702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23704 "RANLIB=$${RANLIB}" \
23705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23706 installcheck) \
23707 || exit 1
23709 @endif libiconv
23711 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23712 maybe-mostlyclean-libiconv:
23713 @if libiconv
23714 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23716 mostlyclean-libiconv:
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./libiconv/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing mostlyclean in libiconv" ; \
23726 (cd $(HOST_SUBDIR)/libiconv && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23731 mostlyclean) \
23732 || exit 1
23734 @endif libiconv
23736 .PHONY: maybe-clean-libiconv clean-libiconv
23737 maybe-clean-libiconv:
23738 @if libiconv
23739 maybe-clean-libiconv: clean-libiconv
23741 clean-libiconv:
23742 @: $(MAKE); $(unstage)
23743 @[ -f ./libiconv/Makefile ] || exit 0; \
23744 r=`${PWD_COMMAND}`; export r; \
23745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23746 $(HOST_EXPORTS) \
23747 for flag in $(EXTRA_HOST_FLAGS) ; do \
23748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23749 done; \
23750 echo "Doing clean in libiconv" ; \
23751 (cd $(HOST_SUBDIR)/libiconv && \
23752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23754 "RANLIB=$${RANLIB}" \
23755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23756 clean) \
23757 || exit 1
23759 @endif libiconv
23761 .PHONY: maybe-distclean-libiconv distclean-libiconv
23762 maybe-distclean-libiconv:
23763 @if libiconv
23764 maybe-distclean-libiconv: distclean-libiconv
23766 distclean-libiconv:
23767 @: $(MAKE); $(unstage)
23768 @[ -f ./libiconv/Makefile ] || exit 0; \
23769 r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 $(HOST_EXPORTS) \
23772 for flag in $(EXTRA_HOST_FLAGS) ; do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 done; \
23775 echo "Doing distclean in libiconv" ; \
23776 (cd $(HOST_SUBDIR)/libiconv && \
23777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23779 "RANLIB=$${RANLIB}" \
23780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23781 distclean) \
23782 || exit 1
23784 @endif libiconv
23786 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23787 maybe-maintainer-clean-libiconv:
23788 @if libiconv
23789 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23791 maintainer-clean-libiconv:
23792 @: $(MAKE); $(unstage)
23793 @[ -f ./libiconv/Makefile ] || exit 0; \
23794 r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(HOST_EXPORTS) \
23797 for flag in $(EXTRA_HOST_FLAGS) ; do \
23798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23799 done; \
23800 echo "Doing maintainer-clean in libiconv" ; \
23801 (cd $(HOST_SUBDIR)/libiconv && \
23802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23804 "RANLIB=$${RANLIB}" \
23805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23806 maintainer-clean) \
23807 || exit 1
23809 @endif libiconv
23813 .PHONY: configure-m4 maybe-configure-m4
23814 maybe-configure-m4:
23815 @if gcc-bootstrap
23816 configure-m4: stage_current
23817 @endif gcc-bootstrap
23818 @if m4
23819 maybe-configure-m4: configure-m4
23820 configure-m4:
23821 @: $(MAKE); $(unstage)
23822 @r=`${PWD_COMMAND}`; export r; \
23823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23824 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23826 $(HOST_EXPORTS) \
23827 echo Configuring in $(HOST_SUBDIR)/m4; \
23828 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23829 case $(srcdir) in \
23830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23831 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23833 esac; \
23834 srcdiroption="--srcdir=$${topdir}/m4"; \
23835 libsrcdir="$$s/m4"; \
23836 $(SHELL) $${libsrcdir}/configure \
23837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23838 --target=${target_alias} $${srcdiroption} \
23839 || exit 1
23840 @endif m4
23846 .PHONY: all-m4 maybe-all-m4
23847 maybe-all-m4:
23848 @if gcc-bootstrap
23849 all-m4: stage_current
23850 @endif gcc-bootstrap
23851 @if m4
23852 TARGET-m4=all
23853 maybe-all-m4: all-m4
23854 all-m4: configure-m4
23855 @: $(MAKE); $(unstage)
23856 @r=`${PWD_COMMAND}`; export r; \
23857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 $(HOST_EXPORTS) \
23859 (cd $(HOST_SUBDIR)/m4 && \
23860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23861 $(TARGET-m4))
23862 @endif m4
23867 .PHONY: check-m4 maybe-check-m4
23868 maybe-check-m4:
23869 @if m4
23870 maybe-check-m4: check-m4
23872 check-m4:
23873 @: $(MAKE); $(unstage)
23874 @r=`${PWD_COMMAND}`; export r; \
23875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 $(HOST_EXPORTS) \
23877 (cd $(HOST_SUBDIR)/m4 && \
23878 $(MAKE) $(FLAGS_TO_PASS) check)
23880 @endif m4
23882 .PHONY: install-m4 maybe-install-m4
23883 maybe-install-m4:
23884 @if m4
23885 maybe-install-m4: install-m4
23887 install-m4: installdirs
23888 @: $(MAKE); $(unstage)
23889 @r=`${PWD_COMMAND}`; export r; \
23890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23891 $(HOST_EXPORTS) \
23892 (cd $(HOST_SUBDIR)/m4 && \
23893 $(MAKE) $(FLAGS_TO_PASS) install)
23895 @endif m4
23897 .PHONY: install-strip-m4 maybe-install-strip-m4
23898 maybe-install-strip-m4:
23899 @if m4
23900 maybe-install-strip-m4: install-strip-m4
23902 install-strip-m4: installdirs
23903 @: $(MAKE); $(unstage)
23904 @r=`${PWD_COMMAND}`; export r; \
23905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23906 $(HOST_EXPORTS) \
23907 (cd $(HOST_SUBDIR)/m4 && \
23908 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23910 @endif m4
23912 # Other targets (info, dvi, pdf, etc.)
23914 .PHONY: maybe-info-m4 info-m4
23915 maybe-info-m4:
23916 @if m4
23917 maybe-info-m4: info-m4
23919 info-m4: \
23920 configure-m4
23921 @: $(MAKE); $(unstage)
23922 @[ -f ./m4/Makefile ] || exit 0; \
23923 r=`${PWD_COMMAND}`; export r; \
23924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23925 $(HOST_EXPORTS) \
23926 for flag in $(EXTRA_HOST_FLAGS) ; do \
23927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23928 done; \
23929 echo "Doing info in m4" ; \
23930 (cd $(HOST_SUBDIR)/m4 && \
23931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23933 "RANLIB=$${RANLIB}" \
23934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23935 info) \
23936 || exit 1
23938 @endif m4
23940 .PHONY: maybe-dvi-m4 dvi-m4
23941 maybe-dvi-m4:
23942 @if m4
23943 maybe-dvi-m4: dvi-m4
23945 dvi-m4: \
23946 configure-m4
23947 @: $(MAKE); $(unstage)
23948 @[ -f ./m4/Makefile ] || exit 0; \
23949 r=`${PWD_COMMAND}`; export r; \
23950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 $(HOST_EXPORTS) \
23952 for flag in $(EXTRA_HOST_FLAGS) ; do \
23953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23954 done; \
23955 echo "Doing dvi in m4" ; \
23956 (cd $(HOST_SUBDIR)/m4 && \
23957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23959 "RANLIB=$${RANLIB}" \
23960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23961 dvi) \
23962 || exit 1
23964 @endif m4
23966 .PHONY: maybe-pdf-m4 pdf-m4
23967 maybe-pdf-m4:
23968 @if m4
23969 maybe-pdf-m4: pdf-m4
23971 pdf-m4: \
23972 configure-m4
23973 @: $(MAKE); $(unstage)
23974 @[ -f ./m4/Makefile ] || exit 0; \
23975 r=`${PWD_COMMAND}`; export r; \
23976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(HOST_EXPORTS) \
23978 for flag in $(EXTRA_HOST_FLAGS) ; do \
23979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23980 done; \
23981 echo "Doing pdf in m4" ; \
23982 (cd $(HOST_SUBDIR)/m4 && \
23983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23985 "RANLIB=$${RANLIB}" \
23986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23987 pdf) \
23988 || exit 1
23990 @endif m4
23992 .PHONY: maybe-html-m4 html-m4
23993 maybe-html-m4:
23994 @if m4
23995 maybe-html-m4: html-m4
23997 html-m4: \
23998 configure-m4
23999 @: $(MAKE); $(unstage)
24000 @[ -f ./m4/Makefile ] || exit 0; \
24001 r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(HOST_EXPORTS) \
24004 for flag in $(EXTRA_HOST_FLAGS) ; do \
24005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24006 done; \
24007 echo "Doing html in m4" ; \
24008 (cd $(HOST_SUBDIR)/m4 && \
24009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24011 "RANLIB=$${RANLIB}" \
24012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24013 html) \
24014 || exit 1
24016 @endif m4
24018 .PHONY: maybe-TAGS-m4 TAGS-m4
24019 maybe-TAGS-m4:
24020 @if m4
24021 maybe-TAGS-m4: TAGS-m4
24023 TAGS-m4: \
24024 configure-m4
24025 @: $(MAKE); $(unstage)
24026 @[ -f ./m4/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 TAGS in m4" ; \
24034 (cd $(HOST_SUBDIR)/m4 && \
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 TAGS) \
24040 || exit 1
24042 @endif m4
24044 .PHONY: maybe-install-info-m4 install-info-m4
24045 maybe-install-info-m4:
24046 @if m4
24047 maybe-install-info-m4: install-info-m4
24049 install-info-m4: \
24050 configure-m4 \
24051 info-m4
24052 @: $(MAKE); $(unstage)
24053 @[ -f ./m4/Makefile ] || exit 0; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(HOST_EXPORTS) \
24057 for flag in $(EXTRA_HOST_FLAGS) ; do \
24058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24059 done; \
24060 echo "Doing install-info in m4" ; \
24061 (cd $(HOST_SUBDIR)/m4 && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24066 install-info) \
24067 || exit 1
24069 @endif m4
24071 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24072 maybe-install-pdf-m4:
24073 @if m4
24074 maybe-install-pdf-m4: install-pdf-m4
24076 install-pdf-m4: \
24077 configure-m4 \
24078 pdf-m4
24079 @: $(MAKE); $(unstage)
24080 @[ -f ./m4/Makefile ] || exit 0; \
24081 r=`${PWD_COMMAND}`; export r; \
24082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24083 $(HOST_EXPORTS) \
24084 for flag in $(EXTRA_HOST_FLAGS) ; do \
24085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24086 done; \
24087 echo "Doing install-pdf in m4" ; \
24088 (cd $(HOST_SUBDIR)/m4 && \
24089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24091 "RANLIB=$${RANLIB}" \
24092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24093 install-pdf) \
24094 || exit 1
24096 @endif m4
24098 .PHONY: maybe-install-html-m4 install-html-m4
24099 maybe-install-html-m4:
24100 @if m4
24101 maybe-install-html-m4: install-html-m4
24103 install-html-m4: \
24104 configure-m4 \
24105 html-m4
24106 @: $(MAKE); $(unstage)
24107 @[ -f ./m4/Makefile ] || exit 0; \
24108 r=`${PWD_COMMAND}`; export r; \
24109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24110 $(HOST_EXPORTS) \
24111 for flag in $(EXTRA_HOST_FLAGS) ; do \
24112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24113 done; \
24114 echo "Doing install-html in m4" ; \
24115 (cd $(HOST_SUBDIR)/m4 && \
24116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24118 "RANLIB=$${RANLIB}" \
24119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24120 install-html) \
24121 || exit 1
24123 @endif m4
24125 .PHONY: maybe-installcheck-m4 installcheck-m4
24126 maybe-installcheck-m4:
24127 @if m4
24128 maybe-installcheck-m4: installcheck-m4
24130 installcheck-m4: \
24131 configure-m4
24132 @: $(MAKE); $(unstage)
24133 @[ -f ./m4/Makefile ] || exit 0; \
24134 r=`${PWD_COMMAND}`; export r; \
24135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24136 $(HOST_EXPORTS) \
24137 for flag in $(EXTRA_HOST_FLAGS) ; do \
24138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24139 done; \
24140 echo "Doing installcheck in m4" ; \
24141 (cd $(HOST_SUBDIR)/m4 && \
24142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144 "RANLIB=$${RANLIB}" \
24145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24146 installcheck) \
24147 || exit 1
24149 @endif m4
24151 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24152 maybe-mostlyclean-m4:
24153 @if m4
24154 maybe-mostlyclean-m4: mostlyclean-m4
24156 mostlyclean-m4:
24157 @: $(MAKE); $(unstage)
24158 @[ -f ./m4/Makefile ] || exit 0; \
24159 r=`${PWD_COMMAND}`; export r; \
24160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24161 $(HOST_EXPORTS) \
24162 for flag in $(EXTRA_HOST_FLAGS) ; do \
24163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24164 done; \
24165 echo "Doing mostlyclean in m4" ; \
24166 (cd $(HOST_SUBDIR)/m4 && \
24167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24169 "RANLIB=$${RANLIB}" \
24170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24171 mostlyclean) \
24172 || exit 1
24174 @endif m4
24176 .PHONY: maybe-clean-m4 clean-m4
24177 maybe-clean-m4:
24178 @if m4
24179 maybe-clean-m4: clean-m4
24181 clean-m4:
24182 @: $(MAKE); $(unstage)
24183 @[ -f ./m4/Makefile ] || exit 0; \
24184 r=`${PWD_COMMAND}`; export r; \
24185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24186 $(HOST_EXPORTS) \
24187 for flag in $(EXTRA_HOST_FLAGS) ; do \
24188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24189 done; \
24190 echo "Doing clean in m4" ; \
24191 (cd $(HOST_SUBDIR)/m4 && \
24192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24194 "RANLIB=$${RANLIB}" \
24195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24196 clean) \
24197 || exit 1
24199 @endif m4
24201 .PHONY: maybe-distclean-m4 distclean-m4
24202 maybe-distclean-m4:
24203 @if m4
24204 maybe-distclean-m4: distclean-m4
24206 distclean-m4:
24207 @: $(MAKE); $(unstage)
24208 @[ -f ./m4/Makefile ] || exit 0; \
24209 r=`${PWD_COMMAND}`; export r; \
24210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24211 $(HOST_EXPORTS) \
24212 for flag in $(EXTRA_HOST_FLAGS) ; do \
24213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24214 done; \
24215 echo "Doing distclean in m4" ; \
24216 (cd $(HOST_SUBDIR)/m4 && \
24217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24219 "RANLIB=$${RANLIB}" \
24220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24221 distclean) \
24222 || exit 1
24224 @endif m4
24226 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24227 maybe-maintainer-clean-m4:
24228 @if m4
24229 maybe-maintainer-clean-m4: maintainer-clean-m4
24231 maintainer-clean-m4:
24232 @: $(MAKE); $(unstage)
24233 @[ -f ./m4/Makefile ] || exit 0; \
24234 r=`${PWD_COMMAND}`; export r; \
24235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24236 $(HOST_EXPORTS) \
24237 for flag in $(EXTRA_HOST_FLAGS) ; do \
24238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24239 done; \
24240 echo "Doing maintainer-clean in m4" ; \
24241 (cd $(HOST_SUBDIR)/m4 && \
24242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24244 "RANLIB=$${RANLIB}" \
24245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24246 maintainer-clean) \
24247 || exit 1
24249 @endif m4
24253 .PHONY: configure-readline maybe-configure-readline
24254 maybe-configure-readline:
24255 @if gcc-bootstrap
24256 configure-readline: stage_current
24257 @endif gcc-bootstrap
24258 @if readline
24259 maybe-configure-readline: configure-readline
24260 configure-readline:
24261 @: $(MAKE); $(unstage)
24262 @r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24266 $(HOST_EXPORTS) \
24267 echo Configuring in $(HOST_SUBDIR)/readline; \
24268 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24269 case $(srcdir) in \
24270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24271 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24273 esac; \
24274 srcdiroption="--srcdir=$${topdir}/readline"; \
24275 libsrcdir="$$s/readline"; \
24276 $(SHELL) $${libsrcdir}/configure \
24277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24278 --target=${target_alias} $${srcdiroption} \
24279 || exit 1
24280 @endif readline
24286 .PHONY: all-readline maybe-all-readline
24287 maybe-all-readline:
24288 @if gcc-bootstrap
24289 all-readline: stage_current
24290 @endif gcc-bootstrap
24291 @if readline
24292 TARGET-readline=all
24293 maybe-all-readline: all-readline
24294 all-readline: configure-readline
24295 @: $(MAKE); $(unstage)
24296 @r=`${PWD_COMMAND}`; export r; \
24297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24298 $(HOST_EXPORTS) \
24299 (cd $(HOST_SUBDIR)/readline && \
24300 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24301 $(TARGET-readline))
24302 @endif readline
24307 .PHONY: check-readline maybe-check-readline
24308 maybe-check-readline:
24309 @if readline
24310 maybe-check-readline: check-readline
24312 check-readline:
24313 @: $(MAKE); $(unstage)
24314 @r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 (cd $(HOST_SUBDIR)/readline && \
24318 $(MAKE) $(FLAGS_TO_PASS) check)
24320 @endif readline
24322 .PHONY: install-readline maybe-install-readline
24323 maybe-install-readline:
24324 @if readline
24325 maybe-install-readline: install-readline
24327 install-readline: installdirs
24328 @: $(MAKE); $(unstage)
24329 @r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 $(HOST_EXPORTS) \
24332 (cd $(HOST_SUBDIR)/readline && \
24333 $(MAKE) $(FLAGS_TO_PASS) install)
24335 @endif readline
24337 .PHONY: install-strip-readline maybe-install-strip-readline
24338 maybe-install-strip-readline:
24339 @if readline
24340 maybe-install-strip-readline: install-strip-readline
24342 install-strip-readline: installdirs
24343 @: $(MAKE); $(unstage)
24344 @r=`${PWD_COMMAND}`; export r; \
24345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24346 $(HOST_EXPORTS) \
24347 (cd $(HOST_SUBDIR)/readline && \
24348 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24350 @endif readline
24352 # Other targets (info, dvi, pdf, etc.)
24354 .PHONY: maybe-info-readline info-readline
24355 maybe-info-readline:
24356 @if readline
24357 maybe-info-readline: info-readline
24359 info-readline: \
24360 configure-readline
24361 @: $(MAKE); $(unstage)
24362 @[ -f ./readline/Makefile ] || exit 0; \
24363 r=`${PWD_COMMAND}`; export r; \
24364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24365 $(HOST_EXPORTS) \
24366 for flag in $(EXTRA_HOST_FLAGS) ; do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24368 done; \
24369 echo "Doing info in readline" ; \
24370 (cd $(HOST_SUBDIR)/readline && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24375 info) \
24376 || exit 1
24378 @endif readline
24380 .PHONY: maybe-dvi-readline dvi-readline
24381 maybe-dvi-readline:
24382 @if readline
24383 maybe-dvi-readline: dvi-readline
24385 dvi-readline: \
24386 configure-readline
24387 @: $(MAKE); $(unstage)
24388 @[ -f ./readline/Makefile ] || exit 0; \
24389 r=`${PWD_COMMAND}`; export r; \
24390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(HOST_EXPORTS) \
24392 for flag in $(EXTRA_HOST_FLAGS) ; do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 echo "Doing dvi in readline" ; \
24396 (cd $(HOST_SUBDIR)/readline && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24401 dvi) \
24402 || exit 1
24404 @endif readline
24406 .PHONY: maybe-pdf-readline pdf-readline
24407 maybe-pdf-readline:
24408 @if readline
24409 maybe-pdf-readline: pdf-readline
24411 pdf-readline: \
24412 configure-readline
24413 @: $(MAKE); $(unstage)
24414 @[ -f ./readline/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing pdf in readline" ; \
24422 (cd $(HOST_SUBDIR)/readline && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24427 pdf) \
24428 || exit 1
24430 @endif readline
24432 .PHONY: maybe-html-readline html-readline
24433 maybe-html-readline:
24434 @if readline
24435 maybe-html-readline: html-readline
24437 html-readline: \
24438 configure-readline
24439 @: $(MAKE); $(unstage)
24440 @[ -f ./readline/Makefile ] || exit 0; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(HOST_EXPORTS) \
24444 for flag in $(EXTRA_HOST_FLAGS) ; do \
24445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24446 done; \
24447 echo "Doing html in readline" ; \
24448 (cd $(HOST_SUBDIR)/readline && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24453 html) \
24454 || exit 1
24456 @endif readline
24458 .PHONY: maybe-TAGS-readline TAGS-readline
24459 maybe-TAGS-readline:
24460 @if readline
24461 maybe-TAGS-readline: TAGS-readline
24463 TAGS-readline: \
24464 configure-readline
24465 @: $(MAKE); $(unstage)
24466 @[ -f ./readline/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 TAGS in readline" ; \
24474 (cd $(HOST_SUBDIR)/readline && \
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 TAGS) \
24480 || exit 1
24482 @endif readline
24484 .PHONY: maybe-install-info-readline install-info-readline
24485 maybe-install-info-readline:
24486 @if readline
24487 maybe-install-info-readline: install-info-readline
24489 install-info-readline: \
24490 configure-readline \
24491 info-readline
24492 @: $(MAKE); $(unstage)
24493 @[ -f ./readline/Makefile ] || exit 0; \
24494 r=`${PWD_COMMAND}`; export r; \
24495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24496 $(HOST_EXPORTS) \
24497 for flag in $(EXTRA_HOST_FLAGS) ; do \
24498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24499 done; \
24500 echo "Doing install-info in readline" ; \
24501 (cd $(HOST_SUBDIR)/readline && \
24502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24504 "RANLIB=$${RANLIB}" \
24505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24506 install-info) \
24507 || exit 1
24509 @endif readline
24511 .PHONY: maybe-install-pdf-readline install-pdf-readline
24512 maybe-install-pdf-readline:
24513 @if readline
24514 maybe-install-pdf-readline: install-pdf-readline
24516 install-pdf-readline: \
24517 configure-readline \
24518 pdf-readline
24519 @: $(MAKE); $(unstage)
24520 @[ -f ./readline/Makefile ] || exit 0; \
24521 r=`${PWD_COMMAND}`; export r; \
24522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24523 $(HOST_EXPORTS) \
24524 for flag in $(EXTRA_HOST_FLAGS) ; do \
24525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24526 done; \
24527 echo "Doing install-pdf in readline" ; \
24528 (cd $(HOST_SUBDIR)/readline && \
24529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24531 "RANLIB=$${RANLIB}" \
24532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24533 install-pdf) \
24534 || exit 1
24536 @endif readline
24538 .PHONY: maybe-install-html-readline install-html-readline
24539 maybe-install-html-readline:
24540 @if readline
24541 maybe-install-html-readline: install-html-readline
24543 install-html-readline: \
24544 configure-readline \
24545 html-readline
24546 @: $(MAKE); $(unstage)
24547 @[ -f ./readline/Makefile ] || exit 0; \
24548 r=`${PWD_COMMAND}`; export r; \
24549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24550 $(HOST_EXPORTS) \
24551 for flag in $(EXTRA_HOST_FLAGS) ; do \
24552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24553 done; \
24554 echo "Doing install-html in readline" ; \
24555 (cd $(HOST_SUBDIR)/readline && \
24556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24558 "RANLIB=$${RANLIB}" \
24559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24560 install-html) \
24561 || exit 1
24563 @endif readline
24565 .PHONY: maybe-installcheck-readline installcheck-readline
24566 maybe-installcheck-readline:
24567 @if readline
24568 maybe-installcheck-readline: installcheck-readline
24570 installcheck-readline: \
24571 configure-readline
24572 @: $(MAKE); $(unstage)
24573 @[ -f ./readline/Makefile ] || exit 0; \
24574 r=`${PWD_COMMAND}`; export r; \
24575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 $(HOST_EXPORTS) \
24577 for flag in $(EXTRA_HOST_FLAGS) ; do \
24578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24579 done; \
24580 echo "Doing installcheck in readline" ; \
24581 (cd $(HOST_SUBDIR)/readline && \
24582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24584 "RANLIB=$${RANLIB}" \
24585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24586 installcheck) \
24587 || exit 1
24589 @endif readline
24591 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24592 maybe-mostlyclean-readline:
24593 @if readline
24594 maybe-mostlyclean-readline: mostlyclean-readline
24596 mostlyclean-readline:
24597 @: $(MAKE); $(unstage)
24598 @[ -f ./readline/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(HOST_EXPORTS) \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24604 done; \
24605 echo "Doing mostlyclean in readline" ; \
24606 (cd $(HOST_SUBDIR)/readline && \
24607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24609 "RANLIB=$${RANLIB}" \
24610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24611 mostlyclean) \
24612 || exit 1
24614 @endif readline
24616 .PHONY: maybe-clean-readline clean-readline
24617 maybe-clean-readline:
24618 @if readline
24619 maybe-clean-readline: clean-readline
24621 clean-readline:
24622 @: $(MAKE); $(unstage)
24623 @[ -f ./readline/Makefile ] || exit 0; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(HOST_EXPORTS) \
24627 for flag in $(EXTRA_HOST_FLAGS) ; do \
24628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24629 done; \
24630 echo "Doing clean in readline" ; \
24631 (cd $(HOST_SUBDIR)/readline && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24636 clean) \
24637 || exit 1
24639 @endif readline
24641 .PHONY: maybe-distclean-readline distclean-readline
24642 maybe-distclean-readline:
24643 @if readline
24644 maybe-distclean-readline: distclean-readline
24646 distclean-readline:
24647 @: $(MAKE); $(unstage)
24648 @[ -f ./readline/Makefile ] || exit 0; \
24649 r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) \
24652 for flag in $(EXTRA_HOST_FLAGS) ; do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 echo "Doing distclean in readline" ; \
24656 (cd $(HOST_SUBDIR)/readline && \
24657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24659 "RANLIB=$${RANLIB}" \
24660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24661 distclean) \
24662 || exit 1
24664 @endif readline
24666 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24667 maybe-maintainer-clean-readline:
24668 @if readline
24669 maybe-maintainer-clean-readline: maintainer-clean-readline
24671 maintainer-clean-readline:
24672 @: $(MAKE); $(unstage)
24673 @[ -f ./readline/Makefile ] || exit 0; \
24674 r=`${PWD_COMMAND}`; export r; \
24675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24676 $(HOST_EXPORTS) \
24677 for flag in $(EXTRA_HOST_FLAGS) ; do \
24678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24679 done; \
24680 echo "Doing maintainer-clean in readline" ; \
24681 (cd $(HOST_SUBDIR)/readline && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24684 "RANLIB=$${RANLIB}" \
24685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24686 maintainer-clean) \
24687 || exit 1
24689 @endif readline
24693 .PHONY: configure-sid maybe-configure-sid
24694 maybe-configure-sid:
24695 @if gcc-bootstrap
24696 configure-sid: stage_current
24697 @endif gcc-bootstrap
24698 @if sid
24699 maybe-configure-sid: configure-sid
24700 configure-sid:
24701 @: $(MAKE); $(unstage)
24702 @r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24706 $(HOST_EXPORTS) \
24707 echo Configuring in $(HOST_SUBDIR)/sid; \
24708 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24709 case $(srcdir) in \
24710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24711 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24713 esac; \
24714 srcdiroption="--srcdir=$${topdir}/sid"; \
24715 libsrcdir="$$s/sid"; \
24716 $(SHELL) $${libsrcdir}/configure \
24717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24718 --target=${target_alias} $${srcdiroption} \
24719 || exit 1
24720 @endif sid
24726 .PHONY: all-sid maybe-all-sid
24727 maybe-all-sid:
24728 @if gcc-bootstrap
24729 all-sid: stage_current
24730 @endif gcc-bootstrap
24731 @if sid
24732 TARGET-sid=all
24733 maybe-all-sid: all-sid
24734 all-sid: configure-sid
24735 @: $(MAKE); $(unstage)
24736 @r=`${PWD_COMMAND}`; export r; \
24737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24738 $(HOST_EXPORTS) \
24739 (cd $(HOST_SUBDIR)/sid && \
24740 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24741 $(TARGET-sid))
24742 @endif sid
24747 .PHONY: check-sid maybe-check-sid
24748 maybe-check-sid:
24749 @if sid
24750 maybe-check-sid: check-sid
24752 check-sid:
24753 @: $(MAKE); $(unstage)
24754 @r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 (cd $(HOST_SUBDIR)/sid && \
24758 $(MAKE) $(FLAGS_TO_PASS) check)
24760 @endif sid
24762 .PHONY: install-sid maybe-install-sid
24763 maybe-install-sid:
24764 @if sid
24765 maybe-install-sid: install-sid
24767 install-sid: installdirs
24768 @: $(MAKE); $(unstage)
24769 @r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24771 $(HOST_EXPORTS) \
24772 (cd $(HOST_SUBDIR)/sid && \
24773 $(MAKE) $(FLAGS_TO_PASS) install)
24775 @endif sid
24777 .PHONY: install-strip-sid maybe-install-strip-sid
24778 maybe-install-strip-sid:
24779 @if sid
24780 maybe-install-strip-sid: install-strip-sid
24782 install-strip-sid: installdirs
24783 @: $(MAKE); $(unstage)
24784 @r=`${PWD_COMMAND}`; export r; \
24785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24786 $(HOST_EXPORTS) \
24787 (cd $(HOST_SUBDIR)/sid && \
24788 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24790 @endif sid
24792 # Other targets (info, dvi, pdf, etc.)
24794 .PHONY: maybe-info-sid info-sid
24795 maybe-info-sid:
24796 @if sid
24797 maybe-info-sid: info-sid
24799 info-sid: \
24800 configure-sid
24801 @: $(MAKE); $(unstage)
24802 @[ -f ./sid/Makefile ] || exit 0; \
24803 r=`${PWD_COMMAND}`; export r; \
24804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24805 $(HOST_EXPORTS) \
24806 for flag in $(EXTRA_HOST_FLAGS) ; do \
24807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24808 done; \
24809 echo "Doing info in sid" ; \
24810 (cd $(HOST_SUBDIR)/sid && \
24811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24813 "RANLIB=$${RANLIB}" \
24814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24815 info) \
24816 || exit 1
24818 @endif sid
24820 .PHONY: maybe-dvi-sid dvi-sid
24821 maybe-dvi-sid:
24822 @if sid
24823 maybe-dvi-sid: dvi-sid
24825 dvi-sid: \
24826 configure-sid
24827 @: $(MAKE); $(unstage)
24828 @[ -f ./sid/Makefile ] || exit 0; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 for flag in $(EXTRA_HOST_FLAGS) ; do \
24833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24834 done; \
24835 echo "Doing dvi in sid" ; \
24836 (cd $(HOST_SUBDIR)/sid && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24841 dvi) \
24842 || exit 1
24844 @endif sid
24846 .PHONY: maybe-pdf-sid pdf-sid
24847 maybe-pdf-sid:
24848 @if sid
24849 maybe-pdf-sid: pdf-sid
24851 pdf-sid: \
24852 configure-sid
24853 @: $(MAKE); $(unstage)
24854 @[ -f ./sid/Makefile ] || exit 0; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 for flag in $(EXTRA_HOST_FLAGS) ; do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860 done; \
24861 echo "Doing pdf in sid" ; \
24862 (cd $(HOST_SUBDIR)/sid && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24867 pdf) \
24868 || exit 1
24870 @endif sid
24872 .PHONY: maybe-html-sid html-sid
24873 maybe-html-sid:
24874 @if sid
24875 maybe-html-sid: html-sid
24877 html-sid: \
24878 configure-sid
24879 @: $(MAKE); $(unstage)
24880 @[ -f ./sid/Makefile ] || exit 0; \
24881 r=`${PWD_COMMAND}`; export r; \
24882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24883 $(HOST_EXPORTS) \
24884 for flag in $(EXTRA_HOST_FLAGS) ; do \
24885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24886 done; \
24887 echo "Doing html in sid" ; \
24888 (cd $(HOST_SUBDIR)/sid && \
24889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24891 "RANLIB=$${RANLIB}" \
24892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24893 html) \
24894 || exit 1
24896 @endif sid
24898 .PHONY: maybe-TAGS-sid TAGS-sid
24899 maybe-TAGS-sid:
24900 @if sid
24901 maybe-TAGS-sid: TAGS-sid
24903 TAGS-sid: \
24904 configure-sid
24905 @: $(MAKE); $(unstage)
24906 @[ -f ./sid/Makefile ] || exit 0; \
24907 r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 $(HOST_EXPORTS) \
24910 for flag in $(EXTRA_HOST_FLAGS) ; do \
24911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 done; \
24913 echo "Doing TAGS in sid" ; \
24914 (cd $(HOST_SUBDIR)/sid && \
24915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24917 "RANLIB=$${RANLIB}" \
24918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24919 TAGS) \
24920 || exit 1
24922 @endif sid
24924 .PHONY: maybe-install-info-sid install-info-sid
24925 maybe-install-info-sid:
24926 @if sid
24927 maybe-install-info-sid: install-info-sid
24929 install-info-sid: \
24930 configure-sid \
24931 info-sid
24932 @: $(MAKE); $(unstage)
24933 @[ -f ./sid/Makefile ] || exit 0; \
24934 r=`${PWD_COMMAND}`; export r; \
24935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24936 $(HOST_EXPORTS) \
24937 for flag in $(EXTRA_HOST_FLAGS) ; do \
24938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24939 done; \
24940 echo "Doing install-info in sid" ; \
24941 (cd $(HOST_SUBDIR)/sid && \
24942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24944 "RANLIB=$${RANLIB}" \
24945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24946 install-info) \
24947 || exit 1
24949 @endif sid
24951 .PHONY: maybe-install-pdf-sid install-pdf-sid
24952 maybe-install-pdf-sid:
24953 @if sid
24954 maybe-install-pdf-sid: install-pdf-sid
24956 install-pdf-sid: \
24957 configure-sid \
24958 pdf-sid
24959 @: $(MAKE); $(unstage)
24960 @[ -f ./sid/Makefile ] || exit 0; \
24961 r=`${PWD_COMMAND}`; export r; \
24962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24963 $(HOST_EXPORTS) \
24964 for flag in $(EXTRA_HOST_FLAGS) ; do \
24965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24966 done; \
24967 echo "Doing install-pdf in sid" ; \
24968 (cd $(HOST_SUBDIR)/sid && \
24969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24971 "RANLIB=$${RANLIB}" \
24972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24973 install-pdf) \
24974 || exit 1
24976 @endif sid
24978 .PHONY: maybe-install-html-sid install-html-sid
24979 maybe-install-html-sid:
24980 @if sid
24981 maybe-install-html-sid: install-html-sid
24983 install-html-sid: \
24984 configure-sid \
24985 html-sid
24986 @: $(MAKE); $(unstage)
24987 @[ -f ./sid/Makefile ] || exit 0; \
24988 r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(HOST_EXPORTS) \
24991 for flag in $(EXTRA_HOST_FLAGS) ; do \
24992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24993 done; \
24994 echo "Doing install-html in sid" ; \
24995 (cd $(HOST_SUBDIR)/sid && \
24996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24998 "RANLIB=$${RANLIB}" \
24999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25000 install-html) \
25001 || exit 1
25003 @endif sid
25005 .PHONY: maybe-installcheck-sid installcheck-sid
25006 maybe-installcheck-sid:
25007 @if sid
25008 maybe-installcheck-sid: installcheck-sid
25010 installcheck-sid: \
25011 configure-sid
25012 @: $(MAKE); $(unstage)
25013 @[ -f ./sid/Makefile ] || exit 0; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016 $(HOST_EXPORTS) \
25017 for flag in $(EXTRA_HOST_FLAGS) ; do \
25018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25019 done; \
25020 echo "Doing installcheck in sid" ; \
25021 (cd $(HOST_SUBDIR)/sid && \
25022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25024 "RANLIB=$${RANLIB}" \
25025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25026 installcheck) \
25027 || exit 1
25029 @endif sid
25031 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25032 maybe-mostlyclean-sid:
25033 @if sid
25034 maybe-mostlyclean-sid: mostlyclean-sid
25036 mostlyclean-sid:
25037 @: $(MAKE); $(unstage)
25038 @[ -f ./sid/Makefile ] || exit 0; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 $(HOST_EXPORTS) \
25042 for flag in $(EXTRA_HOST_FLAGS) ; do \
25043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25044 done; \
25045 echo "Doing mostlyclean in sid" ; \
25046 (cd $(HOST_SUBDIR)/sid && \
25047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25049 "RANLIB=$${RANLIB}" \
25050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25051 mostlyclean) \
25052 || exit 1
25054 @endif sid
25056 .PHONY: maybe-clean-sid clean-sid
25057 maybe-clean-sid:
25058 @if sid
25059 maybe-clean-sid: clean-sid
25061 clean-sid:
25062 @: $(MAKE); $(unstage)
25063 @[ -f ./sid/Makefile ] || exit 0; \
25064 r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066 $(HOST_EXPORTS) \
25067 for flag in $(EXTRA_HOST_FLAGS) ; do \
25068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25069 done; \
25070 echo "Doing clean in sid" ; \
25071 (cd $(HOST_SUBDIR)/sid && \
25072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25074 "RANLIB=$${RANLIB}" \
25075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25076 clean) \
25077 || exit 1
25079 @endif sid
25081 .PHONY: maybe-distclean-sid distclean-sid
25082 maybe-distclean-sid:
25083 @if sid
25084 maybe-distclean-sid: distclean-sid
25086 distclean-sid:
25087 @: $(MAKE); $(unstage)
25088 @[ -f ./sid/Makefile ] || exit 0; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(HOST_EXPORTS) \
25092 for flag in $(EXTRA_HOST_FLAGS) ; do \
25093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25094 done; \
25095 echo "Doing distclean in sid" ; \
25096 (cd $(HOST_SUBDIR)/sid && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25099 "RANLIB=$${RANLIB}" \
25100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25101 distclean) \
25102 || exit 1
25104 @endif sid
25106 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25107 maybe-maintainer-clean-sid:
25108 @if sid
25109 maybe-maintainer-clean-sid: maintainer-clean-sid
25111 maintainer-clean-sid:
25112 @: $(MAKE); $(unstage)
25113 @[ -f ./sid/Makefile ] || exit 0; \
25114 r=`${PWD_COMMAND}`; export r; \
25115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25116 $(HOST_EXPORTS) \
25117 for flag in $(EXTRA_HOST_FLAGS) ; do \
25118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25119 done; \
25120 echo "Doing maintainer-clean in sid" ; \
25121 (cd $(HOST_SUBDIR)/sid && \
25122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25124 "RANLIB=$${RANLIB}" \
25125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25126 maintainer-clean) \
25127 || exit 1
25129 @endif sid
25133 .PHONY: configure-sim maybe-configure-sim
25134 maybe-configure-sim:
25135 @if gcc-bootstrap
25136 configure-sim: stage_current
25137 @endif gcc-bootstrap
25138 @if sim
25139 maybe-configure-sim: configure-sim
25140 configure-sim:
25141 @: $(MAKE); $(unstage)
25142 @r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25146 $(HOST_EXPORTS) \
25147 echo Configuring in $(HOST_SUBDIR)/sim; \
25148 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25149 case $(srcdir) in \
25150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25151 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25153 esac; \
25154 srcdiroption="--srcdir=$${topdir}/sim"; \
25155 libsrcdir="$$s/sim"; \
25156 $(SHELL) $${libsrcdir}/configure \
25157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25158 --target=${target_alias} $${srcdiroption} \
25159 || exit 1
25160 @endif sim
25166 .PHONY: all-sim maybe-all-sim
25167 maybe-all-sim:
25168 @if gcc-bootstrap
25169 all-sim: stage_current
25170 @endif gcc-bootstrap
25171 @if sim
25172 TARGET-sim=all
25173 maybe-all-sim: all-sim
25174 all-sim: configure-sim
25175 @: $(MAKE); $(unstage)
25176 @r=`${PWD_COMMAND}`; export r; \
25177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25178 $(HOST_EXPORTS) \
25179 (cd $(HOST_SUBDIR)/sim && \
25180 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25181 $(TARGET-sim))
25182 @endif sim
25187 .PHONY: check-sim maybe-check-sim
25188 maybe-check-sim:
25189 @if sim
25190 maybe-check-sim: check-sim
25192 check-sim:
25193 @: $(MAKE); $(unstage)
25194 @r=`${PWD_COMMAND}`; export r; \
25195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25196 $(HOST_EXPORTS) \
25197 (cd $(HOST_SUBDIR)/sim && \
25198 $(MAKE) $(FLAGS_TO_PASS) check)
25200 @endif sim
25202 .PHONY: install-sim maybe-install-sim
25203 maybe-install-sim:
25204 @if sim
25205 maybe-install-sim: install-sim
25207 install-sim: installdirs
25208 @: $(MAKE); $(unstage)
25209 @r=`${PWD_COMMAND}`; export r; \
25210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25211 $(HOST_EXPORTS) \
25212 (cd $(HOST_SUBDIR)/sim && \
25213 $(MAKE) $(FLAGS_TO_PASS) install)
25215 @endif sim
25217 .PHONY: install-strip-sim maybe-install-strip-sim
25218 maybe-install-strip-sim:
25219 @if sim
25220 maybe-install-strip-sim: install-strip-sim
25222 install-strip-sim: installdirs
25223 @: $(MAKE); $(unstage)
25224 @r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 $(HOST_EXPORTS) \
25227 (cd $(HOST_SUBDIR)/sim && \
25228 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25230 @endif sim
25232 # Other targets (info, dvi, pdf, etc.)
25234 .PHONY: maybe-info-sim info-sim
25235 maybe-info-sim:
25236 @if sim
25237 maybe-info-sim: info-sim
25239 info-sim: \
25240 configure-sim
25241 @: $(MAKE); $(unstage)
25242 @[ -f ./sim/Makefile ] || exit 0; \
25243 r=`${PWD_COMMAND}`; export r; \
25244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25245 $(HOST_EXPORTS) \
25246 for flag in $(EXTRA_HOST_FLAGS) ; do \
25247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25248 done; \
25249 echo "Doing info in sim" ; \
25250 (cd $(HOST_SUBDIR)/sim && \
25251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25253 "RANLIB=$${RANLIB}" \
25254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25255 info) \
25256 || exit 1
25258 @endif sim
25260 .PHONY: maybe-dvi-sim dvi-sim
25261 maybe-dvi-sim:
25262 @if sim
25263 maybe-dvi-sim: dvi-sim
25265 dvi-sim: \
25266 configure-sim
25267 @: $(MAKE); $(unstage)
25268 @[ -f ./sim/Makefile ] || exit 0; \
25269 r=`${PWD_COMMAND}`; export r; \
25270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25271 $(HOST_EXPORTS) \
25272 for flag in $(EXTRA_HOST_FLAGS) ; do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25274 done; \
25275 echo "Doing dvi in sim" ; \
25276 (cd $(HOST_SUBDIR)/sim && \
25277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25279 "RANLIB=$${RANLIB}" \
25280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25281 dvi) \
25282 || exit 1
25284 @endif sim
25286 .PHONY: maybe-pdf-sim pdf-sim
25287 maybe-pdf-sim:
25288 @if sim
25289 maybe-pdf-sim: pdf-sim
25291 pdf-sim: \
25292 configure-sim
25293 @: $(MAKE); $(unstage)
25294 @[ -f ./sim/Makefile ] || exit 0; \
25295 r=`${PWD_COMMAND}`; export r; \
25296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25297 $(HOST_EXPORTS) \
25298 for flag in $(EXTRA_HOST_FLAGS) ; do \
25299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25300 done; \
25301 echo "Doing pdf in sim" ; \
25302 (cd $(HOST_SUBDIR)/sim && \
25303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25305 "RANLIB=$${RANLIB}" \
25306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25307 pdf) \
25308 || exit 1
25310 @endif sim
25312 .PHONY: maybe-html-sim html-sim
25313 maybe-html-sim:
25314 @if sim
25315 maybe-html-sim: html-sim
25317 html-sim: \
25318 configure-sim
25319 @: $(MAKE); $(unstage)
25320 @[ -f ./sim/Makefile ] || exit 0; \
25321 r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 $(HOST_EXPORTS) \
25324 for flag in $(EXTRA_HOST_FLAGS) ; do \
25325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25326 done; \
25327 echo "Doing html in sim" ; \
25328 (cd $(HOST_SUBDIR)/sim && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25333 html) \
25334 || exit 1
25336 @endif sim
25338 .PHONY: maybe-TAGS-sim TAGS-sim
25339 maybe-TAGS-sim:
25340 @if sim
25341 maybe-TAGS-sim: TAGS-sim
25343 TAGS-sim: \
25344 configure-sim
25345 @: $(MAKE); $(unstage)
25346 @[ -f ./sim/Makefile ] || exit 0; \
25347 r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(HOST_EXPORTS) \
25350 for flag in $(EXTRA_HOST_FLAGS) ; do \
25351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25352 done; \
25353 echo "Doing TAGS in sim" ; \
25354 (cd $(HOST_SUBDIR)/sim && \
25355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25357 "RANLIB=$${RANLIB}" \
25358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25359 TAGS) \
25360 || exit 1
25362 @endif sim
25364 .PHONY: maybe-install-info-sim install-info-sim
25365 maybe-install-info-sim:
25366 @if sim
25367 maybe-install-info-sim: install-info-sim
25369 install-info-sim: \
25370 configure-sim \
25371 info-sim
25372 @: $(MAKE); $(unstage)
25373 @[ -f ./sim/Makefile ] || exit 0; \
25374 r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 $(HOST_EXPORTS) \
25377 for flag in $(EXTRA_HOST_FLAGS) ; do \
25378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25379 done; \
25380 echo "Doing install-info in sim" ; \
25381 (cd $(HOST_SUBDIR)/sim && \
25382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25384 "RANLIB=$${RANLIB}" \
25385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25386 install-info) \
25387 || exit 1
25389 @endif sim
25391 .PHONY: maybe-install-pdf-sim install-pdf-sim
25392 maybe-install-pdf-sim:
25393 @if sim
25394 maybe-install-pdf-sim: install-pdf-sim
25396 install-pdf-sim: \
25397 configure-sim \
25398 pdf-sim
25399 @: $(MAKE); $(unstage)
25400 @[ -f ./sim/Makefile ] || exit 0; \
25401 r=`${PWD_COMMAND}`; export r; \
25402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25403 $(HOST_EXPORTS) \
25404 for flag in $(EXTRA_HOST_FLAGS) ; do \
25405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25406 done; \
25407 echo "Doing install-pdf in sim" ; \
25408 (cd $(HOST_SUBDIR)/sim && \
25409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25411 "RANLIB=$${RANLIB}" \
25412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25413 install-pdf) \
25414 || exit 1
25416 @endif sim
25418 .PHONY: maybe-install-html-sim install-html-sim
25419 maybe-install-html-sim:
25420 @if sim
25421 maybe-install-html-sim: install-html-sim
25423 install-html-sim: \
25424 configure-sim \
25425 html-sim
25426 @: $(MAKE); $(unstage)
25427 @[ -f ./sim/Makefile ] || exit 0; \
25428 r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(HOST_EXPORTS) \
25431 for flag in $(EXTRA_HOST_FLAGS) ; do \
25432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25433 done; \
25434 echo "Doing install-html in sim" ; \
25435 (cd $(HOST_SUBDIR)/sim && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25438 "RANLIB=$${RANLIB}" \
25439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25440 install-html) \
25441 || exit 1
25443 @endif sim
25445 .PHONY: maybe-installcheck-sim installcheck-sim
25446 maybe-installcheck-sim:
25447 @if sim
25448 maybe-installcheck-sim: installcheck-sim
25450 installcheck-sim: \
25451 configure-sim
25452 @: $(MAKE); $(unstage)
25453 @[ -f ./sim/Makefile ] || exit 0; \
25454 r=`${PWD_COMMAND}`; export r; \
25455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(HOST_EXPORTS) \
25457 for flag in $(EXTRA_HOST_FLAGS) ; do \
25458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25459 done; \
25460 echo "Doing installcheck in sim" ; \
25461 (cd $(HOST_SUBDIR)/sim && \
25462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25464 "RANLIB=$${RANLIB}" \
25465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25466 installcheck) \
25467 || exit 1
25469 @endif sim
25471 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25472 maybe-mostlyclean-sim:
25473 @if sim
25474 maybe-mostlyclean-sim: mostlyclean-sim
25476 mostlyclean-sim:
25477 @: $(MAKE); $(unstage)
25478 @[ -f ./sim/Makefile ] || exit 0; \
25479 r=`${PWD_COMMAND}`; export r; \
25480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25481 $(HOST_EXPORTS) \
25482 for flag in $(EXTRA_HOST_FLAGS) ; do \
25483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25484 done; \
25485 echo "Doing mostlyclean in sim" ; \
25486 (cd $(HOST_SUBDIR)/sim && \
25487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25489 "RANLIB=$${RANLIB}" \
25490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25491 mostlyclean) \
25492 || exit 1
25494 @endif sim
25496 .PHONY: maybe-clean-sim clean-sim
25497 maybe-clean-sim:
25498 @if sim
25499 maybe-clean-sim: clean-sim
25501 clean-sim:
25502 @: $(MAKE); $(unstage)
25503 @[ -f ./sim/Makefile ] || exit 0; \
25504 r=`${PWD_COMMAND}`; export r; \
25505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25506 $(HOST_EXPORTS) \
25507 for flag in $(EXTRA_HOST_FLAGS) ; do \
25508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25509 done; \
25510 echo "Doing clean in sim" ; \
25511 (cd $(HOST_SUBDIR)/sim && \
25512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25514 "RANLIB=$${RANLIB}" \
25515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25516 clean) \
25517 || exit 1
25519 @endif sim
25521 .PHONY: maybe-distclean-sim distclean-sim
25522 maybe-distclean-sim:
25523 @if sim
25524 maybe-distclean-sim: distclean-sim
25526 distclean-sim:
25527 @: $(MAKE); $(unstage)
25528 @[ -f ./sim/Makefile ] || exit 0; \
25529 r=`${PWD_COMMAND}`; export r; \
25530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25531 $(HOST_EXPORTS) \
25532 for flag in $(EXTRA_HOST_FLAGS) ; do \
25533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25534 done; \
25535 echo "Doing distclean in sim" ; \
25536 (cd $(HOST_SUBDIR)/sim && \
25537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25539 "RANLIB=$${RANLIB}" \
25540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25541 distclean) \
25542 || exit 1
25544 @endif sim
25546 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25547 maybe-maintainer-clean-sim:
25548 @if sim
25549 maybe-maintainer-clean-sim: maintainer-clean-sim
25551 maintainer-clean-sim:
25552 @: $(MAKE); $(unstage)
25553 @[ -f ./sim/Makefile ] || exit 0; \
25554 r=`${PWD_COMMAND}`; export r; \
25555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25556 $(HOST_EXPORTS) \
25557 for flag in $(EXTRA_HOST_FLAGS) ; do \
25558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25559 done; \
25560 echo "Doing maintainer-clean in sim" ; \
25561 (cd $(HOST_SUBDIR)/sim && \
25562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25564 "RANLIB=$${RANLIB}" \
25565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25566 maintainer-clean) \
25567 || exit 1
25569 @endif sim
25573 .PHONY: configure-texinfo maybe-configure-texinfo
25574 maybe-configure-texinfo:
25575 @if gcc-bootstrap
25576 configure-texinfo: stage_current
25577 @endif gcc-bootstrap
25578 @if texinfo
25579 maybe-configure-texinfo: configure-texinfo
25580 configure-texinfo:
25581 @: $(MAKE); $(unstage)
25582 @r=`${PWD_COMMAND}`; export r; \
25583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25584 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25586 $(HOST_EXPORTS) \
25587 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25588 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25589 case $(srcdir) in \
25590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25591 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25593 esac; \
25594 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25595 libsrcdir="$$s/texinfo"; \
25596 $(SHELL) $${libsrcdir}/configure \
25597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25598 --target=${target_alias} $${srcdiroption} \
25599 || exit 1
25600 @endif texinfo
25606 .PHONY: all-texinfo maybe-all-texinfo
25607 maybe-all-texinfo:
25608 @if gcc-bootstrap
25609 all-texinfo: stage_current
25610 @endif gcc-bootstrap
25611 @if texinfo
25612 TARGET-texinfo=all
25613 maybe-all-texinfo: all-texinfo
25614 all-texinfo: configure-texinfo
25615 @: $(MAKE); $(unstage)
25616 @r=`${PWD_COMMAND}`; export r; \
25617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25618 $(HOST_EXPORTS) \
25619 (cd $(HOST_SUBDIR)/texinfo && \
25620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25621 $(TARGET-texinfo))
25622 @endif texinfo
25627 .PHONY: check-texinfo maybe-check-texinfo
25628 maybe-check-texinfo:
25629 @if texinfo
25630 maybe-check-texinfo: check-texinfo
25632 check-texinfo:
25633 @: $(MAKE); $(unstage)
25634 @r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 (cd $(HOST_SUBDIR)/texinfo && \
25638 $(MAKE) $(FLAGS_TO_PASS) check)
25640 @endif texinfo
25642 .PHONY: install-texinfo maybe-install-texinfo
25643 maybe-install-texinfo:
25644 @if texinfo
25645 maybe-install-texinfo: install-texinfo
25647 install-texinfo:
25649 @endif texinfo
25651 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25652 maybe-install-strip-texinfo:
25653 @if texinfo
25654 maybe-install-strip-texinfo: install-strip-texinfo
25656 install-strip-texinfo:
25658 @endif texinfo
25660 # Other targets (info, dvi, pdf, etc.)
25662 .PHONY: maybe-info-texinfo info-texinfo
25663 maybe-info-texinfo:
25664 @if texinfo
25665 maybe-info-texinfo: info-texinfo
25667 info-texinfo: \
25668 configure-texinfo
25669 @: $(MAKE); $(unstage)
25670 @[ -f ./texinfo/Makefile ] || exit 0; \
25671 r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(HOST_EXPORTS) \
25674 for flag in $(EXTRA_HOST_FLAGS) ; do \
25675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676 done; \
25677 echo "Doing info in texinfo" ; \
25678 (cd $(HOST_SUBDIR)/texinfo && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25681 "RANLIB=$${RANLIB}" \
25682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25683 info) \
25684 || exit 1
25686 @endif texinfo
25688 .PHONY: maybe-dvi-texinfo dvi-texinfo
25689 maybe-dvi-texinfo:
25690 @if texinfo
25691 maybe-dvi-texinfo: dvi-texinfo
25693 dvi-texinfo: \
25694 configure-texinfo
25695 @: $(MAKE); $(unstage)
25696 @[ -f ./texinfo/Makefile ] || exit 0; \
25697 r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(HOST_EXPORTS) \
25700 for flag in $(EXTRA_HOST_FLAGS) ; do \
25701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25702 done; \
25703 echo "Doing dvi in texinfo" ; \
25704 (cd $(HOST_SUBDIR)/texinfo && \
25705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25707 "RANLIB=$${RANLIB}" \
25708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25709 dvi) \
25710 || exit 1
25712 @endif texinfo
25714 .PHONY: maybe-pdf-texinfo pdf-texinfo
25715 maybe-pdf-texinfo:
25716 @if texinfo
25717 maybe-pdf-texinfo: pdf-texinfo
25719 pdf-texinfo: \
25720 configure-texinfo
25721 @: $(MAKE); $(unstage)
25722 @[ -f ./texinfo/Makefile ] || exit 0; \
25723 r=`${PWD_COMMAND}`; export r; \
25724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25725 $(HOST_EXPORTS) \
25726 for flag in $(EXTRA_HOST_FLAGS) ; do \
25727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25728 done; \
25729 echo "Doing pdf in texinfo" ; \
25730 (cd $(HOST_SUBDIR)/texinfo && \
25731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25733 "RANLIB=$${RANLIB}" \
25734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25735 pdf) \
25736 || exit 1
25738 @endif texinfo
25740 .PHONY: maybe-html-texinfo html-texinfo
25741 maybe-html-texinfo:
25742 @if texinfo
25743 maybe-html-texinfo: html-texinfo
25745 html-texinfo: \
25746 configure-texinfo
25747 @: $(MAKE); $(unstage)
25748 @[ -f ./texinfo/Makefile ] || exit 0; \
25749 r=`${PWD_COMMAND}`; export r; \
25750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25751 $(HOST_EXPORTS) \
25752 for flag in $(EXTRA_HOST_FLAGS) ; do \
25753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25754 done; \
25755 echo "Doing html in texinfo" ; \
25756 (cd $(HOST_SUBDIR)/texinfo && \
25757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25759 "RANLIB=$${RANLIB}" \
25760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25761 html) \
25762 || exit 1
25764 @endif texinfo
25766 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25767 maybe-TAGS-texinfo:
25768 @if texinfo
25769 maybe-TAGS-texinfo: TAGS-texinfo
25771 TAGS-texinfo: \
25772 configure-texinfo
25773 @: $(MAKE); $(unstage)
25774 @[ -f ./texinfo/Makefile ] || exit 0; \
25775 r=`${PWD_COMMAND}`; export r; \
25776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25777 $(HOST_EXPORTS) \
25778 for flag in $(EXTRA_HOST_FLAGS) ; do \
25779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25780 done; \
25781 echo "Doing TAGS in texinfo" ; \
25782 (cd $(HOST_SUBDIR)/texinfo && \
25783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25785 "RANLIB=$${RANLIB}" \
25786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25787 TAGS) \
25788 || exit 1
25790 @endif texinfo
25792 .PHONY: maybe-install-info-texinfo install-info-texinfo
25793 maybe-install-info-texinfo:
25794 @if texinfo
25795 maybe-install-info-texinfo: install-info-texinfo
25797 install-info-texinfo: \
25798 configure-texinfo \
25799 info-texinfo
25800 @: $(MAKE); $(unstage)
25801 @[ -f ./texinfo/Makefile ] || exit 0; \
25802 r=`${PWD_COMMAND}`; export r; \
25803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(HOST_EXPORTS) \
25805 for flag in $(EXTRA_HOST_FLAGS) ; do \
25806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25807 done; \
25808 echo "Doing install-info in texinfo" ; \
25809 (cd $(HOST_SUBDIR)/texinfo && \
25810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25812 "RANLIB=$${RANLIB}" \
25813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25814 install-info) \
25815 || exit 1
25817 @endif texinfo
25819 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25820 maybe-install-pdf-texinfo:
25821 @if texinfo
25822 maybe-install-pdf-texinfo: install-pdf-texinfo
25824 install-pdf-texinfo: \
25825 configure-texinfo \
25826 pdf-texinfo
25827 @: $(MAKE); $(unstage)
25828 @[ -f ./texinfo/Makefile ] || exit 0; \
25829 r=`${PWD_COMMAND}`; export r; \
25830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25831 $(HOST_EXPORTS) \
25832 for flag in $(EXTRA_HOST_FLAGS) ; do \
25833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 done; \
25835 echo "Doing install-pdf in texinfo" ; \
25836 (cd $(HOST_SUBDIR)/texinfo && \
25837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25839 "RANLIB=$${RANLIB}" \
25840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25841 install-pdf) \
25842 || exit 1
25844 @endif texinfo
25846 .PHONY: maybe-install-html-texinfo install-html-texinfo
25847 maybe-install-html-texinfo:
25848 @if texinfo
25849 maybe-install-html-texinfo: install-html-texinfo
25851 install-html-texinfo: \
25852 configure-texinfo \
25853 html-texinfo
25854 @: $(MAKE); $(unstage)
25855 @[ -f ./texinfo/Makefile ] || exit 0; \
25856 r=`${PWD_COMMAND}`; export r; \
25857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25858 $(HOST_EXPORTS) \
25859 for flag in $(EXTRA_HOST_FLAGS) ; do \
25860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25861 done; \
25862 echo "Doing install-html in texinfo" ; \
25863 (cd $(HOST_SUBDIR)/texinfo && \
25864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25866 "RANLIB=$${RANLIB}" \
25867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25868 install-html) \
25869 || exit 1
25871 @endif texinfo
25873 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25874 maybe-installcheck-texinfo:
25875 @if texinfo
25876 maybe-installcheck-texinfo: installcheck-texinfo
25878 installcheck-texinfo: \
25879 configure-texinfo
25880 @: $(MAKE); $(unstage)
25881 @[ -f ./texinfo/Makefile ] || exit 0; \
25882 r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 $(HOST_EXPORTS) \
25885 for flag in $(EXTRA_HOST_FLAGS) ; do \
25886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25887 done; \
25888 echo "Doing installcheck in texinfo" ; \
25889 (cd $(HOST_SUBDIR)/texinfo && \
25890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25892 "RANLIB=$${RANLIB}" \
25893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25894 installcheck) \
25895 || exit 1
25897 @endif texinfo
25899 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25900 maybe-mostlyclean-texinfo:
25901 @if texinfo
25902 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25904 mostlyclean-texinfo:
25905 @: $(MAKE); $(unstage)
25906 @[ -f ./texinfo/Makefile ] || exit 0; \
25907 r=`${PWD_COMMAND}`; export r; \
25908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25909 $(HOST_EXPORTS) \
25910 for flag in $(EXTRA_HOST_FLAGS) ; do \
25911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25912 done; \
25913 echo "Doing mostlyclean in texinfo" ; \
25914 (cd $(HOST_SUBDIR)/texinfo && \
25915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25917 "RANLIB=$${RANLIB}" \
25918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25919 mostlyclean) \
25920 || exit 1
25922 @endif texinfo
25924 .PHONY: maybe-clean-texinfo clean-texinfo
25925 maybe-clean-texinfo:
25926 @if texinfo
25927 maybe-clean-texinfo: clean-texinfo
25929 clean-texinfo:
25930 @: $(MAKE); $(unstage)
25931 @[ -f ./texinfo/Makefile ] || exit 0; \
25932 r=`${PWD_COMMAND}`; export r; \
25933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25934 $(HOST_EXPORTS) \
25935 for flag in $(EXTRA_HOST_FLAGS) ; do \
25936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25937 done; \
25938 echo "Doing clean in texinfo" ; \
25939 (cd $(HOST_SUBDIR)/texinfo && \
25940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25942 "RANLIB=$${RANLIB}" \
25943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25944 clean) \
25945 || exit 1
25947 @endif texinfo
25949 .PHONY: maybe-distclean-texinfo distclean-texinfo
25950 maybe-distclean-texinfo:
25951 @if texinfo
25952 maybe-distclean-texinfo: distclean-texinfo
25954 distclean-texinfo:
25955 @: $(MAKE); $(unstage)
25956 @[ -f ./texinfo/Makefile ] || exit 0; \
25957 r=`${PWD_COMMAND}`; export r; \
25958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25959 $(HOST_EXPORTS) \
25960 for flag in $(EXTRA_HOST_FLAGS) ; do \
25961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25962 done; \
25963 echo "Doing distclean in texinfo" ; \
25964 (cd $(HOST_SUBDIR)/texinfo && \
25965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25967 "RANLIB=$${RANLIB}" \
25968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25969 distclean) \
25970 || exit 1
25972 @endif texinfo
25974 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25975 maybe-maintainer-clean-texinfo:
25976 @if texinfo
25977 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25979 maintainer-clean-texinfo:
25980 @: $(MAKE); $(unstage)
25981 @[ -f ./texinfo/Makefile ] || exit 0; \
25982 r=`${PWD_COMMAND}`; export r; \
25983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25984 $(HOST_EXPORTS) \
25985 for flag in $(EXTRA_HOST_FLAGS) ; do \
25986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25987 done; \
25988 echo "Doing maintainer-clean in texinfo" ; \
25989 (cd $(HOST_SUBDIR)/texinfo && \
25990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25992 "RANLIB=$${RANLIB}" \
25993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25994 maintainer-clean) \
25995 || exit 1
25997 @endif texinfo
26001 .PHONY: configure-zlib maybe-configure-zlib
26002 maybe-configure-zlib:
26003 @if gcc-bootstrap
26004 configure-zlib: stage_current
26005 @endif gcc-bootstrap
26006 @if zlib
26007 maybe-configure-zlib: configure-zlib
26008 configure-zlib:
26009 @r=`${PWD_COMMAND}`; export r; \
26010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26011 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26013 $(HOST_EXPORTS) \
26014 echo Configuring in $(HOST_SUBDIR)/zlib; \
26015 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26016 case $(srcdir) in \
26017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26018 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26020 esac; \
26021 srcdiroption="--srcdir=$${topdir}/zlib"; \
26022 libsrcdir="$$s/zlib"; \
26023 $(SHELL) $${libsrcdir}/configure \
26024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26025 --target=${target_alias} $${srcdiroption} \
26026 || exit 1
26027 @endif zlib
26031 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26032 maybe-configure-stage1-zlib:
26033 @if zlib-bootstrap
26034 maybe-configure-stage1-zlib: configure-stage1-zlib
26035 configure-stage1-zlib:
26036 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26038 @r=`${PWD_COMMAND}`; export r; \
26039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26040 TFLAGS="$(STAGE1_TFLAGS)"; \
26041 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26042 $(HOST_EXPORTS) \
26043 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26044 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26045 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26046 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26048 cd $(HOST_SUBDIR)/zlib || exit 1; \
26049 case $(srcdir) in \
26050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26051 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26053 esac; \
26054 srcdiroption="--srcdir=$${topdir}/zlib"; \
26055 libsrcdir="$$s/zlib"; \
26056 $(SHELL) $${libsrcdir}/configure \
26057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26058 --target=${target_alias} $${srcdiroption} \
26059 $(STAGE1_CONFIGURE_FLAGS)
26060 @endif zlib-bootstrap
26062 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26063 maybe-configure-stage2-zlib:
26064 @if zlib-bootstrap
26065 maybe-configure-stage2-zlib: configure-stage2-zlib
26066 configure-stage2-zlib:
26067 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26069 @r=`${PWD_COMMAND}`; export r; \
26070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26071 TFLAGS="$(STAGE2_TFLAGS)"; \
26072 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26073 $(HOST_EXPORTS) \
26074 $(POSTSTAGE1_HOST_EXPORTS) \
26075 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26076 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26077 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26078 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26080 cd $(HOST_SUBDIR)/zlib || exit 1; \
26081 case $(srcdir) in \
26082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26083 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26085 esac; \
26086 srcdiroption="--srcdir=$${topdir}/zlib"; \
26087 libsrcdir="$$s/zlib"; \
26088 $(SHELL) $${libsrcdir}/configure \
26089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26090 --target=${target_alias} $${srcdiroption} \
26091 --with-build-libsubdir=$(HOST_SUBDIR) \
26092 $(STAGE2_CONFIGURE_FLAGS)
26093 @endif zlib-bootstrap
26095 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26096 maybe-configure-stage3-zlib:
26097 @if zlib-bootstrap
26098 maybe-configure-stage3-zlib: configure-stage3-zlib
26099 configure-stage3-zlib:
26100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26102 @r=`${PWD_COMMAND}`; export r; \
26103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26104 TFLAGS="$(STAGE3_TFLAGS)"; \
26105 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26106 $(HOST_EXPORTS) \
26107 $(POSTSTAGE1_HOST_EXPORTS) \
26108 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26109 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26110 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26111 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26113 cd $(HOST_SUBDIR)/zlib || exit 1; \
26114 case $(srcdir) in \
26115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26116 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26118 esac; \
26119 srcdiroption="--srcdir=$${topdir}/zlib"; \
26120 libsrcdir="$$s/zlib"; \
26121 $(SHELL) $${libsrcdir}/configure \
26122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26123 --target=${target_alias} $${srcdiroption} \
26124 --with-build-libsubdir=$(HOST_SUBDIR) \
26125 $(STAGE3_CONFIGURE_FLAGS)
26126 @endif zlib-bootstrap
26128 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26129 maybe-configure-stage4-zlib:
26130 @if zlib-bootstrap
26131 maybe-configure-stage4-zlib: configure-stage4-zlib
26132 configure-stage4-zlib:
26133 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26135 @r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 TFLAGS="$(STAGE4_TFLAGS)"; \
26138 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26139 $(HOST_EXPORTS) \
26140 $(POSTSTAGE1_HOST_EXPORTS) \
26141 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26142 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26143 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26144 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26146 cd $(HOST_SUBDIR)/zlib || exit 1; \
26147 case $(srcdir) in \
26148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26149 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26151 esac; \
26152 srcdiroption="--srcdir=$${topdir}/zlib"; \
26153 libsrcdir="$$s/zlib"; \
26154 $(SHELL) $${libsrcdir}/configure \
26155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26156 --target=${target_alias} $${srcdiroption} \
26157 --with-build-libsubdir=$(HOST_SUBDIR) \
26158 $(STAGE4_CONFIGURE_FLAGS)
26159 @endif zlib-bootstrap
26161 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26162 maybe-configure-stageprofile-zlib:
26163 @if zlib-bootstrap
26164 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26165 configure-stageprofile-zlib:
26166 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26168 @r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26171 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26172 $(HOST_EXPORTS) \
26173 $(POSTSTAGE1_HOST_EXPORTS) \
26174 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26175 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26176 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26177 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26179 cd $(HOST_SUBDIR)/zlib || exit 1; \
26180 case $(srcdir) in \
26181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26182 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26184 esac; \
26185 srcdiroption="--srcdir=$${topdir}/zlib"; \
26186 libsrcdir="$$s/zlib"; \
26187 $(SHELL) $${libsrcdir}/configure \
26188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26189 --target=${target_alias} $${srcdiroption} \
26190 --with-build-libsubdir=$(HOST_SUBDIR) \
26191 $(STAGEprofile_CONFIGURE_FLAGS)
26192 @endif zlib-bootstrap
26194 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26195 maybe-configure-stagefeedback-zlib:
26196 @if zlib-bootstrap
26197 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26198 configure-stagefeedback-zlib:
26199 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26201 @r=`${PWD_COMMAND}`; export r; \
26202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26203 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26204 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26205 $(HOST_EXPORTS) \
26206 $(POSTSTAGE1_HOST_EXPORTS) \
26207 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26208 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26209 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26210 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26212 cd $(HOST_SUBDIR)/zlib || exit 1; \
26213 case $(srcdir) in \
26214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26215 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26217 esac; \
26218 srcdiroption="--srcdir=$${topdir}/zlib"; \
26219 libsrcdir="$$s/zlib"; \
26220 $(SHELL) $${libsrcdir}/configure \
26221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26222 --target=${target_alias} $${srcdiroption} \
26223 --with-build-libsubdir=$(HOST_SUBDIR) \
26224 $(STAGEfeedback_CONFIGURE_FLAGS)
26225 @endif zlib-bootstrap
26231 .PHONY: all-zlib maybe-all-zlib
26232 maybe-all-zlib:
26233 @if gcc-bootstrap
26234 all-zlib: stage_current
26235 @endif gcc-bootstrap
26236 @if zlib
26237 TARGET-zlib=all
26238 maybe-all-zlib: all-zlib
26239 all-zlib: configure-zlib
26240 @r=`${PWD_COMMAND}`; export r; \
26241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 $(HOST_EXPORTS) \
26243 (cd $(HOST_SUBDIR)/zlib && \
26244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26245 $(TARGET-zlib))
26246 @endif zlib
26250 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26251 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26252 maybe-all-stage1-zlib:
26253 maybe-clean-stage1-zlib:
26254 @if zlib-bootstrap
26255 maybe-all-stage1-zlib: all-stage1-zlib
26256 all-stage1: all-stage1-zlib
26257 TARGET-stage1-zlib = $(TARGET-zlib)
26258 all-stage1-zlib: configure-stage1-zlib
26259 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26260 @r=`${PWD_COMMAND}`; export r; \
26261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26262 TFLAGS="$(STAGE1_TFLAGS)"; \
26263 $(HOST_EXPORTS) \
26264 cd $(HOST_SUBDIR)/zlib && \
26265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26266 CFLAGS="$(STAGE1_CFLAGS)" \
26267 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26268 LIBCFLAGS="$(LIBCFLAGS)" \
26269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26272 $(EXTRA_HOST_FLAGS) \
26273 $(STAGE1_FLAGS_TO_PASS) \
26274 TFLAGS="$(STAGE1_TFLAGS)" \
26275 $(TARGET-stage1-zlib)
26277 maybe-clean-stage1-zlib: clean-stage1-zlib
26278 clean-stage1: clean-stage1-zlib
26279 clean-stage1-zlib:
26280 @if [ $(current_stage) = stage1 ]; then \
26281 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26282 else \
26283 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26284 $(MAKE) stage1-start; \
26285 fi; \
26286 cd $(HOST_SUBDIR)/zlib && \
26287 $(MAKE) $(EXTRA_HOST_FLAGS) \
26288 $(STAGE1_FLAGS_TO_PASS) clean
26289 @endif zlib-bootstrap
26292 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26293 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26294 maybe-all-stage2-zlib:
26295 maybe-clean-stage2-zlib:
26296 @if zlib-bootstrap
26297 maybe-all-stage2-zlib: all-stage2-zlib
26298 all-stage2: all-stage2-zlib
26299 TARGET-stage2-zlib = $(TARGET-zlib)
26300 all-stage2-zlib: configure-stage2-zlib
26301 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26302 @r=`${PWD_COMMAND}`; export r; \
26303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26304 TFLAGS="$(STAGE2_TFLAGS)"; \
26305 $(HOST_EXPORTS) \
26306 $(POSTSTAGE1_HOST_EXPORTS) \
26307 cd $(HOST_SUBDIR)/zlib && \
26308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26309 CFLAGS="$(STAGE2_CFLAGS)" \
26310 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26311 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26316 TFLAGS="$(STAGE2_TFLAGS)" \
26317 $(TARGET-stage2-zlib)
26319 maybe-clean-stage2-zlib: clean-stage2-zlib
26320 clean-stage2: clean-stage2-zlib
26321 clean-stage2-zlib:
26322 @if [ $(current_stage) = stage2 ]; then \
26323 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26324 else \
26325 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26326 $(MAKE) stage2-start; \
26327 fi; \
26328 cd $(HOST_SUBDIR)/zlib && \
26329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26330 @endif zlib-bootstrap
26333 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26334 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26335 maybe-all-stage3-zlib:
26336 maybe-clean-stage3-zlib:
26337 @if zlib-bootstrap
26338 maybe-all-stage3-zlib: all-stage3-zlib
26339 all-stage3: all-stage3-zlib
26340 TARGET-stage3-zlib = $(TARGET-zlib)
26341 all-stage3-zlib: configure-stage3-zlib
26342 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26343 @r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 TFLAGS="$(STAGE3_TFLAGS)"; \
26346 $(HOST_EXPORTS) \
26347 $(POSTSTAGE1_HOST_EXPORTS) \
26348 cd $(HOST_SUBDIR)/zlib && \
26349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26350 CFLAGS="$(STAGE3_CFLAGS)" \
26351 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26352 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26357 TFLAGS="$(STAGE3_TFLAGS)" \
26358 $(TARGET-stage3-zlib)
26360 maybe-clean-stage3-zlib: clean-stage3-zlib
26361 clean-stage3: clean-stage3-zlib
26362 clean-stage3-zlib:
26363 @if [ $(current_stage) = stage3 ]; then \
26364 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26365 else \
26366 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26367 $(MAKE) stage3-start; \
26368 fi; \
26369 cd $(HOST_SUBDIR)/zlib && \
26370 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26371 @endif zlib-bootstrap
26374 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26375 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26376 maybe-all-stage4-zlib:
26377 maybe-clean-stage4-zlib:
26378 @if zlib-bootstrap
26379 maybe-all-stage4-zlib: all-stage4-zlib
26380 all-stage4: all-stage4-zlib
26381 TARGET-stage4-zlib = $(TARGET-zlib)
26382 all-stage4-zlib: configure-stage4-zlib
26383 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26384 @r=`${PWD_COMMAND}`; export r; \
26385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26386 TFLAGS="$(STAGE4_TFLAGS)"; \
26387 $(HOST_EXPORTS) \
26388 $(POSTSTAGE1_HOST_EXPORTS) \
26389 cd $(HOST_SUBDIR)/zlib && \
26390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26391 CFLAGS="$(STAGE4_CFLAGS)" \
26392 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26393 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26398 TFLAGS="$(STAGE4_TFLAGS)" \
26399 $(TARGET-stage4-zlib)
26401 maybe-clean-stage4-zlib: clean-stage4-zlib
26402 clean-stage4: clean-stage4-zlib
26403 clean-stage4-zlib:
26404 @if [ $(current_stage) = stage4 ]; then \
26405 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26406 else \
26407 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26408 $(MAKE) stage4-start; \
26409 fi; \
26410 cd $(HOST_SUBDIR)/zlib && \
26411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26412 @endif zlib-bootstrap
26415 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26416 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26417 maybe-all-stageprofile-zlib:
26418 maybe-clean-stageprofile-zlib:
26419 @if zlib-bootstrap
26420 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26421 all-stageprofile: all-stageprofile-zlib
26422 TARGET-stageprofile-zlib = $(TARGET-zlib)
26423 all-stageprofile-zlib: configure-stageprofile-zlib
26424 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26425 @r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26428 $(HOST_EXPORTS) \
26429 $(POSTSTAGE1_HOST_EXPORTS) \
26430 cd $(HOST_SUBDIR)/zlib && \
26431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26432 CFLAGS="$(STAGEprofile_CFLAGS)" \
26433 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26434 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26435 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26436 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26437 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26438 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26439 TFLAGS="$(STAGEprofile_TFLAGS)" \
26440 $(TARGET-stageprofile-zlib)
26442 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26443 clean-stageprofile: clean-stageprofile-zlib
26444 clean-stageprofile-zlib:
26445 @if [ $(current_stage) = stageprofile ]; then \
26446 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26447 else \
26448 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26449 $(MAKE) stageprofile-start; \
26450 fi; \
26451 cd $(HOST_SUBDIR)/zlib && \
26452 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26453 @endif zlib-bootstrap
26456 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26457 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26458 maybe-all-stagefeedback-zlib:
26459 maybe-clean-stagefeedback-zlib:
26460 @if zlib-bootstrap
26461 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26462 all-stagefeedback: all-stagefeedback-zlib
26463 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26464 all-stagefeedback-zlib: configure-stagefeedback-zlib
26465 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26466 @r=`${PWD_COMMAND}`; export r; \
26467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26468 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26469 $(HOST_EXPORTS) \
26470 $(POSTSTAGE1_HOST_EXPORTS) \
26471 cd $(HOST_SUBDIR)/zlib && \
26472 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26473 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26474 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26475 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26476 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26477 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26478 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26479 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26480 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26481 $(TARGET-stagefeedback-zlib)
26483 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26484 clean-stagefeedback: clean-stagefeedback-zlib
26485 clean-stagefeedback-zlib:
26486 @if [ $(current_stage) = stagefeedback ]; then \
26487 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26488 else \
26489 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26490 $(MAKE) stagefeedback-start; \
26491 fi; \
26492 cd $(HOST_SUBDIR)/zlib && \
26493 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26494 @endif zlib-bootstrap
26500 .PHONY: check-zlib maybe-check-zlib
26501 maybe-check-zlib:
26502 @if zlib
26503 maybe-check-zlib: check-zlib
26505 check-zlib:
26507 @endif zlib
26509 .PHONY: install-zlib maybe-install-zlib
26510 maybe-install-zlib:
26511 @if zlib
26512 maybe-install-zlib: install-zlib
26514 install-zlib:
26516 @endif zlib
26518 .PHONY: install-strip-zlib maybe-install-strip-zlib
26519 maybe-install-strip-zlib:
26520 @if zlib
26521 maybe-install-strip-zlib: install-strip-zlib
26523 install-strip-zlib:
26525 @endif zlib
26527 # Other targets (info, dvi, pdf, etc.)
26529 .PHONY: maybe-info-zlib info-zlib
26530 maybe-info-zlib:
26531 @if zlib
26532 maybe-info-zlib: info-zlib
26534 info-zlib: \
26535 configure-zlib
26536 @[ -f ./zlib/Makefile ] || exit 0; \
26537 r=`${PWD_COMMAND}`; export r; \
26538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26539 $(HOST_EXPORTS) \
26540 for flag in $(EXTRA_HOST_FLAGS) ; do \
26541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26542 done; \
26543 echo "Doing info in zlib" ; \
26544 (cd $(HOST_SUBDIR)/zlib && \
26545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26547 "RANLIB=$${RANLIB}" \
26548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26549 info) \
26550 || exit 1
26552 @endif zlib
26554 .PHONY: maybe-dvi-zlib dvi-zlib
26555 maybe-dvi-zlib:
26556 @if zlib
26557 maybe-dvi-zlib: dvi-zlib
26559 dvi-zlib: \
26560 configure-zlib
26561 @[ -f ./zlib/Makefile ] || exit 0; \
26562 r=`${PWD_COMMAND}`; export r; \
26563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26564 $(HOST_EXPORTS) \
26565 for flag in $(EXTRA_HOST_FLAGS) ; do \
26566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26567 done; \
26568 echo "Doing dvi in zlib" ; \
26569 (cd $(HOST_SUBDIR)/zlib && \
26570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26572 "RANLIB=$${RANLIB}" \
26573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26574 dvi) \
26575 || exit 1
26577 @endif zlib
26579 .PHONY: maybe-pdf-zlib pdf-zlib
26580 maybe-pdf-zlib:
26581 @if zlib
26582 maybe-pdf-zlib: pdf-zlib
26584 pdf-zlib: \
26585 configure-zlib
26586 @[ -f ./zlib/Makefile ] || exit 0; \
26587 r=`${PWD_COMMAND}`; export r; \
26588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26589 $(HOST_EXPORTS) \
26590 for flag in $(EXTRA_HOST_FLAGS) ; do \
26591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26592 done; \
26593 echo "Doing pdf in zlib" ; \
26594 (cd $(HOST_SUBDIR)/zlib && \
26595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26597 "RANLIB=$${RANLIB}" \
26598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26599 pdf) \
26600 || exit 1
26602 @endif zlib
26604 .PHONY: maybe-html-zlib html-zlib
26605 maybe-html-zlib:
26606 @if zlib
26607 maybe-html-zlib: html-zlib
26609 html-zlib: \
26610 configure-zlib
26611 @[ -f ./zlib/Makefile ] || exit 0; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(HOST_EXPORTS) \
26615 for flag in $(EXTRA_HOST_FLAGS) ; do \
26616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26617 done; \
26618 echo "Doing html in zlib" ; \
26619 (cd $(HOST_SUBDIR)/zlib && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26622 "RANLIB=$${RANLIB}" \
26623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26624 html) \
26625 || exit 1
26627 @endif zlib
26629 .PHONY: maybe-TAGS-zlib TAGS-zlib
26630 maybe-TAGS-zlib:
26631 @if zlib
26632 maybe-TAGS-zlib: TAGS-zlib
26634 TAGS-zlib: \
26635 configure-zlib
26636 @[ -f ./zlib/Makefile ] || exit 0; \
26637 r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(HOST_EXPORTS) \
26640 for flag in $(EXTRA_HOST_FLAGS) ; do \
26641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26642 done; \
26643 echo "Doing TAGS in zlib" ; \
26644 (cd $(HOST_SUBDIR)/zlib && \
26645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26647 "RANLIB=$${RANLIB}" \
26648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26649 TAGS) \
26650 || exit 1
26652 @endif zlib
26654 .PHONY: maybe-install-info-zlib install-info-zlib
26655 maybe-install-info-zlib:
26656 @if zlib
26657 maybe-install-info-zlib: install-info-zlib
26659 install-info-zlib: \
26660 configure-zlib \
26661 info-zlib
26662 @[ -f ./zlib/Makefile ] || exit 0; \
26663 r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(HOST_EXPORTS) \
26666 for flag in $(EXTRA_HOST_FLAGS) ; do \
26667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26668 done; \
26669 echo "Doing install-info in zlib" ; \
26670 (cd $(HOST_SUBDIR)/zlib && \
26671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26673 "RANLIB=$${RANLIB}" \
26674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26675 install-info) \
26676 || exit 1
26678 @endif zlib
26680 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26681 maybe-install-pdf-zlib:
26682 @if zlib
26683 maybe-install-pdf-zlib: install-pdf-zlib
26685 install-pdf-zlib: \
26686 configure-zlib \
26687 pdf-zlib
26688 @[ -f ./zlib/Makefile ] || exit 0; \
26689 r=`${PWD_COMMAND}`; export r; \
26690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26691 $(HOST_EXPORTS) \
26692 for flag in $(EXTRA_HOST_FLAGS) ; do \
26693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26694 done; \
26695 echo "Doing install-pdf in zlib" ; \
26696 (cd $(HOST_SUBDIR)/zlib && \
26697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26699 "RANLIB=$${RANLIB}" \
26700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26701 install-pdf) \
26702 || exit 1
26704 @endif zlib
26706 .PHONY: maybe-install-html-zlib install-html-zlib
26707 maybe-install-html-zlib:
26708 @if zlib
26709 maybe-install-html-zlib: install-html-zlib
26711 install-html-zlib: \
26712 configure-zlib \
26713 html-zlib
26714 @[ -f ./zlib/Makefile ] || exit 0; \
26715 r=`${PWD_COMMAND}`; export r; \
26716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26717 $(HOST_EXPORTS) \
26718 for flag in $(EXTRA_HOST_FLAGS) ; do \
26719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26720 done; \
26721 echo "Doing install-html in zlib" ; \
26722 (cd $(HOST_SUBDIR)/zlib && \
26723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26725 "RANLIB=$${RANLIB}" \
26726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26727 install-html) \
26728 || exit 1
26730 @endif zlib
26732 .PHONY: maybe-installcheck-zlib installcheck-zlib
26733 maybe-installcheck-zlib:
26734 @if zlib
26735 maybe-installcheck-zlib: installcheck-zlib
26737 installcheck-zlib: \
26738 configure-zlib
26739 @[ -f ./zlib/Makefile ] || exit 0; \
26740 r=`${PWD_COMMAND}`; export r; \
26741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26742 $(HOST_EXPORTS) \
26743 for flag in $(EXTRA_HOST_FLAGS) ; do \
26744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26745 done; \
26746 echo "Doing installcheck in zlib" ; \
26747 (cd $(HOST_SUBDIR)/zlib && \
26748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26750 "RANLIB=$${RANLIB}" \
26751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26752 installcheck) \
26753 || exit 1
26755 @endif zlib
26757 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26758 maybe-mostlyclean-zlib:
26759 @if zlib
26760 maybe-mostlyclean-zlib: mostlyclean-zlib
26762 mostlyclean-zlib:
26763 @[ -f ./zlib/Makefile ] || exit 0; \
26764 r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) \
26767 for flag in $(EXTRA_HOST_FLAGS) ; do \
26768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26769 done; \
26770 echo "Doing mostlyclean in zlib" ; \
26771 (cd $(HOST_SUBDIR)/zlib && \
26772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26774 "RANLIB=$${RANLIB}" \
26775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26776 mostlyclean) \
26777 || exit 1
26779 @endif zlib
26781 .PHONY: maybe-clean-zlib clean-zlib
26782 maybe-clean-zlib:
26783 @if zlib
26784 maybe-clean-zlib: clean-zlib
26786 clean-zlib:
26787 @[ -f ./zlib/Makefile ] || exit 0; \
26788 r=`${PWD_COMMAND}`; export r; \
26789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 $(HOST_EXPORTS) \
26791 for flag in $(EXTRA_HOST_FLAGS) ; do \
26792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26793 done; \
26794 echo "Doing clean in zlib" ; \
26795 (cd $(HOST_SUBDIR)/zlib && \
26796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26798 "RANLIB=$${RANLIB}" \
26799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26800 clean) \
26801 || exit 1
26803 @endif zlib
26805 .PHONY: maybe-distclean-zlib distclean-zlib
26806 maybe-distclean-zlib:
26807 @if zlib
26808 maybe-distclean-zlib: distclean-zlib
26810 distclean-zlib:
26811 @[ -f ./zlib/Makefile ] || exit 0; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(HOST_EXPORTS) \
26815 for flag in $(EXTRA_HOST_FLAGS) ; do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 echo "Doing distclean in zlib" ; \
26819 (cd $(HOST_SUBDIR)/zlib && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26824 distclean) \
26825 || exit 1
26827 @endif zlib
26829 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26830 maybe-maintainer-clean-zlib:
26831 @if zlib
26832 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26834 maintainer-clean-zlib:
26835 @[ -f ./zlib/Makefile ] || exit 0; \
26836 r=`${PWD_COMMAND}`; export r; \
26837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26838 $(HOST_EXPORTS) \
26839 for flag in $(EXTRA_HOST_FLAGS) ; do \
26840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26841 done; \
26842 echo "Doing maintainer-clean in zlib" ; \
26843 (cd $(HOST_SUBDIR)/zlib && \
26844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26846 "RANLIB=$${RANLIB}" \
26847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26848 maintainer-clean) \
26849 || exit 1
26851 @endif zlib
26855 .PHONY: configure-gdb maybe-configure-gdb
26856 maybe-configure-gdb:
26857 @if gcc-bootstrap
26858 configure-gdb: stage_current
26859 @endif gcc-bootstrap
26860 @if gdb
26861 maybe-configure-gdb: configure-gdb
26862 configure-gdb:
26863 @: $(MAKE); $(unstage)
26864 @r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26868 $(HOST_EXPORTS) \
26869 echo Configuring in $(HOST_SUBDIR)/gdb; \
26870 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26871 case $(srcdir) in \
26872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26873 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26875 esac; \
26876 srcdiroption="--srcdir=$${topdir}/gdb"; \
26877 libsrcdir="$$s/gdb"; \
26878 $(SHELL) $${libsrcdir}/configure \
26879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26880 --target=${target_alias} $${srcdiroption} \
26881 || exit 1
26882 @endif gdb
26888 .PHONY: all-gdb maybe-all-gdb
26889 maybe-all-gdb:
26890 @if gcc-bootstrap
26891 all-gdb: stage_current
26892 @endif gcc-bootstrap
26893 @if gdb
26894 TARGET-gdb=all
26895 maybe-all-gdb: all-gdb
26896 all-gdb: configure-gdb
26897 @: $(MAKE); $(unstage)
26898 @r=`${PWD_COMMAND}`; export r; \
26899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900 $(HOST_EXPORTS) \
26901 (cd $(HOST_SUBDIR)/gdb && \
26902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26903 $(TARGET-gdb))
26904 @endif gdb
26909 .PHONY: check-gdb maybe-check-gdb
26910 maybe-check-gdb:
26911 @if gdb
26912 maybe-check-gdb: check-gdb
26914 check-gdb:
26915 @: $(MAKE); $(unstage)
26916 @r=`${PWD_COMMAND}`; export r; \
26917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26918 $(HOST_EXPORTS) \
26919 (cd $(HOST_SUBDIR)/gdb && \
26920 $(MAKE) $(FLAGS_TO_PASS) check)
26922 @endif gdb
26924 .PHONY: install-gdb maybe-install-gdb
26925 maybe-install-gdb:
26926 @if gdb
26927 maybe-install-gdb: install-gdb
26929 install-gdb: installdirs
26930 @: $(MAKE); $(unstage)
26931 @r=`${PWD_COMMAND}`; export r; \
26932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26933 $(HOST_EXPORTS) \
26934 (cd $(HOST_SUBDIR)/gdb && \
26935 $(MAKE) $(FLAGS_TO_PASS) install)
26937 @endif gdb
26939 .PHONY: install-strip-gdb maybe-install-strip-gdb
26940 maybe-install-strip-gdb:
26941 @if gdb
26942 maybe-install-strip-gdb: install-strip-gdb
26944 install-strip-gdb: installdirs
26945 @: $(MAKE); $(unstage)
26946 @r=`${PWD_COMMAND}`; export r; \
26947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26948 $(HOST_EXPORTS) \
26949 (cd $(HOST_SUBDIR)/gdb && \
26950 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26952 @endif gdb
26954 # Other targets (info, dvi, pdf, etc.)
26956 .PHONY: maybe-info-gdb info-gdb
26957 maybe-info-gdb:
26958 @if gdb
26959 maybe-info-gdb: info-gdb
26961 info-gdb: \
26962 configure-gdb
26963 @: $(MAKE); $(unstage)
26964 @[ -f ./gdb/Makefile ] || exit 0; \
26965 r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 $(HOST_EXPORTS) \
26968 for flag in $(EXTRA_HOST_FLAGS) ; do \
26969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26970 done; \
26971 echo "Doing info in gdb" ; \
26972 (cd $(HOST_SUBDIR)/gdb && \
26973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26975 "RANLIB=$${RANLIB}" \
26976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26977 info) \
26978 || exit 1
26980 @endif gdb
26982 .PHONY: maybe-dvi-gdb dvi-gdb
26983 maybe-dvi-gdb:
26984 @if gdb
26985 maybe-dvi-gdb: dvi-gdb
26987 dvi-gdb: \
26988 configure-gdb
26989 @: $(MAKE); $(unstage)
26990 @[ -f ./gdb/Makefile ] || exit 0; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(HOST_EXPORTS) \
26994 for flag in $(EXTRA_HOST_FLAGS) ; do \
26995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26996 done; \
26997 echo "Doing dvi in gdb" ; \
26998 (cd $(HOST_SUBDIR)/gdb && \
26999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27001 "RANLIB=$${RANLIB}" \
27002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27003 dvi) \
27004 || exit 1
27006 @endif gdb
27008 .PHONY: maybe-pdf-gdb pdf-gdb
27009 maybe-pdf-gdb:
27010 @if gdb
27011 maybe-pdf-gdb: pdf-gdb
27013 pdf-gdb: \
27014 configure-gdb
27015 @: $(MAKE); $(unstage)
27016 @[ -f ./gdb/Makefile ] || exit 0; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(HOST_EXPORTS) \
27020 for flag in $(EXTRA_HOST_FLAGS) ; do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27022 done; \
27023 echo "Doing pdf in gdb" ; \
27024 (cd $(HOST_SUBDIR)/gdb && \
27025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27027 "RANLIB=$${RANLIB}" \
27028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27029 pdf) \
27030 || exit 1
27032 @endif gdb
27034 .PHONY: maybe-html-gdb html-gdb
27035 maybe-html-gdb:
27036 @if gdb
27037 maybe-html-gdb: html-gdb
27039 html-gdb: \
27040 configure-gdb
27041 @: $(MAKE); $(unstage)
27042 @[ -f ./gdb/Makefile ] || exit 0; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 $(HOST_EXPORTS) \
27046 for flag in $(EXTRA_HOST_FLAGS) ; do \
27047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27048 done; \
27049 echo "Doing html in gdb" ; \
27050 (cd $(HOST_SUBDIR)/gdb && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27055 html) \
27056 || exit 1
27058 @endif gdb
27060 .PHONY: maybe-TAGS-gdb TAGS-gdb
27061 maybe-TAGS-gdb:
27062 @if gdb
27063 maybe-TAGS-gdb: TAGS-gdb
27065 TAGS-gdb: \
27066 configure-gdb
27067 @: $(MAKE); $(unstage)
27068 @[ -f ./gdb/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) ; do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing TAGS in gdb" ; \
27076 (cd $(HOST_SUBDIR)/gdb && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27081 TAGS) \
27082 || exit 1
27084 @endif gdb
27086 .PHONY: maybe-install-info-gdb install-info-gdb
27087 maybe-install-info-gdb:
27088 @if gdb
27089 maybe-install-info-gdb: install-info-gdb
27091 install-info-gdb: \
27092 configure-gdb \
27093 info-gdb
27094 @: $(MAKE); $(unstage)
27095 @[ -f ./gdb/Makefile ] || exit 0; \
27096 r=`${PWD_COMMAND}`; export r; \
27097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27098 $(HOST_EXPORTS) \
27099 for flag in $(EXTRA_HOST_FLAGS) ; do \
27100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27101 done; \
27102 echo "Doing install-info in gdb" ; \
27103 (cd $(HOST_SUBDIR)/gdb && \
27104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27106 "RANLIB=$${RANLIB}" \
27107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27108 install-info) \
27109 || exit 1
27111 @endif gdb
27113 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27114 maybe-install-pdf-gdb:
27115 @if gdb
27116 maybe-install-pdf-gdb: install-pdf-gdb
27118 install-pdf-gdb: \
27119 configure-gdb \
27120 pdf-gdb
27121 @: $(MAKE); $(unstage)
27122 @[ -f ./gdb/Makefile ] || exit 0; \
27123 r=`${PWD_COMMAND}`; export r; \
27124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27125 $(HOST_EXPORTS) \
27126 for flag in $(EXTRA_HOST_FLAGS) ; do \
27127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27128 done; \
27129 echo "Doing install-pdf in gdb" ; \
27130 (cd $(HOST_SUBDIR)/gdb && \
27131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27133 "RANLIB=$${RANLIB}" \
27134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27135 install-pdf) \
27136 || exit 1
27138 @endif gdb
27140 .PHONY: maybe-install-html-gdb install-html-gdb
27141 maybe-install-html-gdb:
27142 @if gdb
27143 maybe-install-html-gdb: install-html-gdb
27145 install-html-gdb: \
27146 configure-gdb \
27147 html-gdb
27148 @: $(MAKE); $(unstage)
27149 @[ -f ./gdb/Makefile ] || exit 0; \
27150 r=`${PWD_COMMAND}`; export r; \
27151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27152 $(HOST_EXPORTS) \
27153 for flag in $(EXTRA_HOST_FLAGS) ; do \
27154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27155 done; \
27156 echo "Doing install-html in gdb" ; \
27157 (cd $(HOST_SUBDIR)/gdb && \
27158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27160 "RANLIB=$${RANLIB}" \
27161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27162 install-html) \
27163 || exit 1
27165 @endif gdb
27167 .PHONY: maybe-installcheck-gdb installcheck-gdb
27168 maybe-installcheck-gdb:
27169 @if gdb
27170 maybe-installcheck-gdb: installcheck-gdb
27172 installcheck-gdb: \
27173 configure-gdb
27174 @: $(MAKE); $(unstage)
27175 @[ -f ./gdb/Makefile ] || exit 0; \
27176 r=`${PWD_COMMAND}`; export r; \
27177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27178 $(HOST_EXPORTS) \
27179 for flag in $(EXTRA_HOST_FLAGS) ; do \
27180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27181 done; \
27182 echo "Doing installcheck in gdb" ; \
27183 (cd $(HOST_SUBDIR)/gdb && \
27184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27186 "RANLIB=$${RANLIB}" \
27187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27188 installcheck) \
27189 || exit 1
27191 @endif gdb
27193 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27194 maybe-mostlyclean-gdb:
27195 @if gdb
27196 maybe-mostlyclean-gdb: mostlyclean-gdb
27198 mostlyclean-gdb:
27199 @: $(MAKE); $(unstage)
27200 @[ -f ./gdb/Makefile ] || exit 0; \
27201 r=`${PWD_COMMAND}`; export r; \
27202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27203 $(HOST_EXPORTS) \
27204 for flag in $(EXTRA_HOST_FLAGS) ; do \
27205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206 done; \
27207 echo "Doing mostlyclean in gdb" ; \
27208 (cd $(HOST_SUBDIR)/gdb && \
27209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27211 "RANLIB=$${RANLIB}" \
27212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27213 mostlyclean) \
27214 || exit 1
27216 @endif gdb
27218 .PHONY: maybe-clean-gdb clean-gdb
27219 maybe-clean-gdb:
27220 @if gdb
27221 maybe-clean-gdb: clean-gdb
27223 clean-gdb:
27224 @: $(MAKE); $(unstage)
27225 @[ -f ./gdb/Makefile ] || exit 0; \
27226 r=`${PWD_COMMAND}`; export r; \
27227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(HOST_EXPORTS) \
27229 for flag in $(EXTRA_HOST_FLAGS) ; do \
27230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27231 done; \
27232 echo "Doing clean in gdb" ; \
27233 (cd $(HOST_SUBDIR)/gdb && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27238 clean) \
27239 || exit 1
27241 @endif gdb
27243 .PHONY: maybe-distclean-gdb distclean-gdb
27244 maybe-distclean-gdb:
27245 @if gdb
27246 maybe-distclean-gdb: distclean-gdb
27248 distclean-gdb:
27249 @: $(MAKE); $(unstage)
27250 @[ -f ./gdb/Makefile ] || exit 0; \
27251 r=`${PWD_COMMAND}`; export r; \
27252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27253 $(HOST_EXPORTS) \
27254 for flag in $(EXTRA_HOST_FLAGS) ; do \
27255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27256 done; \
27257 echo "Doing distclean in gdb" ; \
27258 (cd $(HOST_SUBDIR)/gdb && \
27259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27261 "RANLIB=$${RANLIB}" \
27262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27263 distclean) \
27264 || exit 1
27266 @endif gdb
27268 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27269 maybe-maintainer-clean-gdb:
27270 @if gdb
27271 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27273 maintainer-clean-gdb:
27274 @: $(MAKE); $(unstage)
27275 @[ -f ./gdb/Makefile ] || exit 0; \
27276 r=`${PWD_COMMAND}`; export r; \
27277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27278 $(HOST_EXPORTS) \
27279 for flag in $(EXTRA_HOST_FLAGS) ; do \
27280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27281 done; \
27282 echo "Doing maintainer-clean in gdb" ; \
27283 (cd $(HOST_SUBDIR)/gdb && \
27284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27286 "RANLIB=$${RANLIB}" \
27287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27288 maintainer-clean) \
27289 || exit 1
27291 @endif gdb
27295 .PHONY: configure-expect maybe-configure-expect
27296 maybe-configure-expect:
27297 @if gcc-bootstrap
27298 configure-expect: stage_current
27299 @endif gcc-bootstrap
27300 @if expect
27301 maybe-configure-expect: configure-expect
27302 configure-expect:
27303 @: $(MAKE); $(unstage)
27304 @r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27308 $(HOST_EXPORTS) \
27309 echo Configuring in $(HOST_SUBDIR)/expect; \
27310 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27311 case $(srcdir) in \
27312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27313 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27315 esac; \
27316 srcdiroption="--srcdir=$${topdir}/expect"; \
27317 libsrcdir="$$s/expect"; \
27318 $(SHELL) $${libsrcdir}/configure \
27319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27320 --target=${target_alias} $${srcdiroption} \
27321 || exit 1
27322 @endif expect
27328 .PHONY: all-expect maybe-all-expect
27329 maybe-all-expect:
27330 @if gcc-bootstrap
27331 all-expect: stage_current
27332 @endif gcc-bootstrap
27333 @if expect
27334 TARGET-expect=all
27335 maybe-all-expect: all-expect
27336 all-expect: configure-expect
27337 @: $(MAKE); $(unstage)
27338 @r=`${PWD_COMMAND}`; export r; \
27339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27340 $(HOST_EXPORTS) \
27341 (cd $(HOST_SUBDIR)/expect && \
27342 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27343 $(TARGET-expect))
27344 @endif expect
27349 .PHONY: check-expect maybe-check-expect
27350 maybe-check-expect:
27351 @if expect
27352 maybe-check-expect: check-expect
27354 check-expect:
27355 @: $(MAKE); $(unstage)
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 (cd $(HOST_SUBDIR)/expect && \
27360 $(MAKE) $(FLAGS_TO_PASS) check)
27362 @endif expect
27364 .PHONY: install-expect maybe-install-expect
27365 maybe-install-expect:
27366 @if expect
27367 maybe-install-expect: install-expect
27369 install-expect: installdirs
27370 @: $(MAKE); $(unstage)
27371 @r=`${PWD_COMMAND}`; export r; \
27372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27373 $(HOST_EXPORTS) \
27374 (cd $(HOST_SUBDIR)/expect && \
27375 $(MAKE) $(FLAGS_TO_PASS) install)
27377 @endif expect
27379 .PHONY: install-strip-expect maybe-install-strip-expect
27380 maybe-install-strip-expect:
27381 @if expect
27382 maybe-install-strip-expect: install-strip-expect
27384 install-strip-expect: installdirs
27385 @: $(MAKE); $(unstage)
27386 @r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 (cd $(HOST_SUBDIR)/expect && \
27390 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27392 @endif expect
27394 # Other targets (info, dvi, pdf, etc.)
27396 .PHONY: maybe-info-expect info-expect
27397 maybe-info-expect:
27398 @if expect
27399 maybe-info-expect: info-expect
27401 info-expect: \
27402 configure-expect
27403 @: $(MAKE); $(unstage)
27404 @[ -f ./expect/Makefile ] || exit 0; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(HOST_EXPORTS) \
27408 for flag in $(EXTRA_HOST_FLAGS) ; do \
27409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27410 done; \
27411 echo "Doing info in expect" ; \
27412 (cd $(HOST_SUBDIR)/expect && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27417 info) \
27418 || exit 1
27420 @endif expect
27422 .PHONY: maybe-dvi-expect dvi-expect
27423 maybe-dvi-expect:
27424 @if expect
27425 maybe-dvi-expect: dvi-expect
27427 dvi-expect: \
27428 configure-expect
27429 @: $(MAKE); $(unstage)
27430 @[ -f ./expect/Makefile ] || exit 0; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(HOST_EXPORTS) \
27434 for flag in $(EXTRA_HOST_FLAGS) ; do \
27435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27436 done; \
27437 echo "Doing dvi in expect" ; \
27438 (cd $(HOST_SUBDIR)/expect && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27443 dvi) \
27444 || exit 1
27446 @endif expect
27448 .PHONY: maybe-pdf-expect pdf-expect
27449 maybe-pdf-expect:
27450 @if expect
27451 maybe-pdf-expect: pdf-expect
27453 pdf-expect: \
27454 configure-expect
27455 @: $(MAKE); $(unstage)
27456 @[ -f ./expect/Makefile ] || exit 0; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(HOST_EXPORTS) \
27460 for flag in $(EXTRA_HOST_FLAGS) ; do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 echo "Doing pdf in expect" ; \
27464 (cd $(HOST_SUBDIR)/expect && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27469 pdf) \
27470 || exit 1
27472 @endif expect
27474 .PHONY: maybe-html-expect html-expect
27475 maybe-html-expect:
27476 @if expect
27477 maybe-html-expect: html-expect
27479 html-expect: \
27480 configure-expect
27481 @: $(MAKE); $(unstage)
27482 @[ -f ./expect/Makefile ] || exit 0; \
27483 r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 $(HOST_EXPORTS) \
27486 for flag in $(EXTRA_HOST_FLAGS) ; do \
27487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27488 done; \
27489 echo "Doing html in expect" ; \
27490 (cd $(HOST_SUBDIR)/expect && \
27491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27493 "RANLIB=$${RANLIB}" \
27494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27495 html) \
27496 || exit 1
27498 @endif expect
27500 .PHONY: maybe-TAGS-expect TAGS-expect
27501 maybe-TAGS-expect:
27502 @if expect
27503 maybe-TAGS-expect: TAGS-expect
27505 TAGS-expect: \
27506 configure-expect
27507 @: $(MAKE); $(unstage)
27508 @[ -f ./expect/Makefile ] || exit 0; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(HOST_EXPORTS) \
27512 for flag in $(EXTRA_HOST_FLAGS) ; do \
27513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27514 done; \
27515 echo "Doing TAGS in expect" ; \
27516 (cd $(HOST_SUBDIR)/expect && \
27517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27519 "RANLIB=$${RANLIB}" \
27520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27521 TAGS) \
27522 || exit 1
27524 @endif expect
27526 .PHONY: maybe-install-info-expect install-info-expect
27527 maybe-install-info-expect:
27528 @if expect
27529 maybe-install-info-expect: install-info-expect
27531 install-info-expect: \
27532 configure-expect \
27533 info-expect
27534 @: $(MAKE); $(unstage)
27535 @[ -f ./expect/Makefile ] || exit 0; \
27536 r=`${PWD_COMMAND}`; export r; \
27537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27538 $(HOST_EXPORTS) \
27539 for flag in $(EXTRA_HOST_FLAGS) ; do \
27540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27541 done; \
27542 echo "Doing install-info in expect" ; \
27543 (cd $(HOST_SUBDIR)/expect && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27546 "RANLIB=$${RANLIB}" \
27547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27548 install-info) \
27549 || exit 1
27551 @endif expect
27553 .PHONY: maybe-install-pdf-expect install-pdf-expect
27554 maybe-install-pdf-expect:
27555 @if expect
27556 maybe-install-pdf-expect: install-pdf-expect
27558 install-pdf-expect: \
27559 configure-expect \
27560 pdf-expect
27561 @: $(MAKE); $(unstage)
27562 @[ -f ./expect/Makefile ] || exit 0; \
27563 r=`${PWD_COMMAND}`; export r; \
27564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 $(HOST_EXPORTS) \
27566 for flag in $(EXTRA_HOST_FLAGS) ; do \
27567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27568 done; \
27569 echo "Doing install-pdf in expect" ; \
27570 (cd $(HOST_SUBDIR)/expect && \
27571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27573 "RANLIB=$${RANLIB}" \
27574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27575 install-pdf) \
27576 || exit 1
27578 @endif expect
27580 .PHONY: maybe-install-html-expect install-html-expect
27581 maybe-install-html-expect:
27582 @if expect
27583 maybe-install-html-expect: install-html-expect
27585 install-html-expect: \
27586 configure-expect \
27587 html-expect
27588 @: $(MAKE); $(unstage)
27589 @[ -f ./expect/Makefile ] || exit 0; \
27590 r=`${PWD_COMMAND}`; export r; \
27591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27592 $(HOST_EXPORTS) \
27593 for flag in $(EXTRA_HOST_FLAGS) ; do \
27594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27595 done; \
27596 echo "Doing install-html in expect" ; \
27597 (cd $(HOST_SUBDIR)/expect && \
27598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27600 "RANLIB=$${RANLIB}" \
27601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27602 install-html) \
27603 || exit 1
27605 @endif expect
27607 .PHONY: maybe-installcheck-expect installcheck-expect
27608 maybe-installcheck-expect:
27609 @if expect
27610 maybe-installcheck-expect: installcheck-expect
27612 installcheck-expect: \
27613 configure-expect
27614 @: $(MAKE); $(unstage)
27615 @[ -f ./expect/Makefile ] || exit 0; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 for flag in $(EXTRA_HOST_FLAGS) ; do \
27620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27621 done; \
27622 echo "Doing installcheck in expect" ; \
27623 (cd $(HOST_SUBDIR)/expect && \
27624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27626 "RANLIB=$${RANLIB}" \
27627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27628 installcheck) \
27629 || exit 1
27631 @endif expect
27633 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27634 maybe-mostlyclean-expect:
27635 @if expect
27636 maybe-mostlyclean-expect: mostlyclean-expect
27638 mostlyclean-expect:
27639 @: $(MAKE); $(unstage)
27640 @[ -f ./expect/Makefile ] || exit 0; \
27641 r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(HOST_EXPORTS) \
27644 for flag in $(EXTRA_HOST_FLAGS) ; do \
27645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27646 done; \
27647 echo "Doing mostlyclean in expect" ; \
27648 (cd $(HOST_SUBDIR)/expect && \
27649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27651 "RANLIB=$${RANLIB}" \
27652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27653 mostlyclean) \
27654 || exit 1
27656 @endif expect
27658 .PHONY: maybe-clean-expect clean-expect
27659 maybe-clean-expect:
27660 @if expect
27661 maybe-clean-expect: clean-expect
27663 clean-expect:
27664 @: $(MAKE); $(unstage)
27665 @[ -f ./expect/Makefile ] || exit 0; \
27666 r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(HOST_EXPORTS) \
27669 for flag in $(EXTRA_HOST_FLAGS) ; do \
27670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27671 done; \
27672 echo "Doing clean in expect" ; \
27673 (cd $(HOST_SUBDIR)/expect && \
27674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27676 "RANLIB=$${RANLIB}" \
27677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27678 clean) \
27679 || exit 1
27681 @endif expect
27683 .PHONY: maybe-distclean-expect distclean-expect
27684 maybe-distclean-expect:
27685 @if expect
27686 maybe-distclean-expect: distclean-expect
27688 distclean-expect:
27689 @: $(MAKE); $(unstage)
27690 @[ -f ./expect/Makefile ] || exit 0; \
27691 r=`${PWD_COMMAND}`; export r; \
27692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27693 $(HOST_EXPORTS) \
27694 for flag in $(EXTRA_HOST_FLAGS) ; do \
27695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27696 done; \
27697 echo "Doing distclean in expect" ; \
27698 (cd $(HOST_SUBDIR)/expect && \
27699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27701 "RANLIB=$${RANLIB}" \
27702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27703 distclean) \
27704 || exit 1
27706 @endif expect
27708 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27709 maybe-maintainer-clean-expect:
27710 @if expect
27711 maybe-maintainer-clean-expect: maintainer-clean-expect
27713 maintainer-clean-expect:
27714 @: $(MAKE); $(unstage)
27715 @[ -f ./expect/Makefile ] || exit 0; \
27716 r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 $(HOST_EXPORTS) \
27719 for flag in $(EXTRA_HOST_FLAGS) ; do \
27720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27721 done; \
27722 echo "Doing maintainer-clean in expect" ; \
27723 (cd $(HOST_SUBDIR)/expect && \
27724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27726 "RANLIB=$${RANLIB}" \
27727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27728 maintainer-clean) \
27729 || exit 1
27731 @endif expect
27735 .PHONY: configure-guile maybe-configure-guile
27736 maybe-configure-guile:
27737 @if gcc-bootstrap
27738 configure-guile: stage_current
27739 @endif gcc-bootstrap
27740 @if guile
27741 maybe-configure-guile: configure-guile
27742 configure-guile:
27743 @: $(MAKE); $(unstage)
27744 @r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27748 $(HOST_EXPORTS) \
27749 echo Configuring in $(HOST_SUBDIR)/guile; \
27750 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27751 case $(srcdir) in \
27752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27753 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27755 esac; \
27756 srcdiroption="--srcdir=$${topdir}/guile"; \
27757 libsrcdir="$$s/guile"; \
27758 $(SHELL) $${libsrcdir}/configure \
27759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27760 --target=${target_alias} $${srcdiroption} \
27761 || exit 1
27762 @endif guile
27768 .PHONY: all-guile maybe-all-guile
27769 maybe-all-guile:
27770 @if gcc-bootstrap
27771 all-guile: stage_current
27772 @endif gcc-bootstrap
27773 @if guile
27774 TARGET-guile=all
27775 maybe-all-guile: all-guile
27776 all-guile: configure-guile
27777 @: $(MAKE); $(unstage)
27778 @r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(HOST_EXPORTS) \
27781 (cd $(HOST_SUBDIR)/guile && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27783 $(TARGET-guile))
27784 @endif guile
27789 .PHONY: check-guile maybe-check-guile
27790 maybe-check-guile:
27791 @if guile
27792 maybe-check-guile: check-guile
27794 check-guile:
27795 @: $(MAKE); $(unstage)
27796 @r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798 $(HOST_EXPORTS) \
27799 (cd $(HOST_SUBDIR)/guile && \
27800 $(MAKE) $(FLAGS_TO_PASS) check)
27802 @endif guile
27804 .PHONY: install-guile maybe-install-guile
27805 maybe-install-guile:
27806 @if guile
27807 maybe-install-guile: install-guile
27809 install-guile: installdirs
27810 @: $(MAKE); $(unstage)
27811 @r=`${PWD_COMMAND}`; export r; \
27812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27813 $(HOST_EXPORTS) \
27814 (cd $(HOST_SUBDIR)/guile && \
27815 $(MAKE) $(FLAGS_TO_PASS) install)
27817 @endif guile
27819 .PHONY: install-strip-guile maybe-install-strip-guile
27820 maybe-install-strip-guile:
27821 @if guile
27822 maybe-install-strip-guile: install-strip-guile
27824 install-strip-guile: installdirs
27825 @: $(MAKE); $(unstage)
27826 @r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(HOST_EXPORTS) \
27829 (cd $(HOST_SUBDIR)/guile && \
27830 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27832 @endif guile
27834 # Other targets (info, dvi, pdf, etc.)
27836 .PHONY: maybe-info-guile info-guile
27837 maybe-info-guile:
27838 @if guile
27839 maybe-info-guile: info-guile
27841 info-guile: \
27842 configure-guile
27843 @: $(MAKE); $(unstage)
27844 @[ -f ./guile/Makefile ] || exit 0; \
27845 r=`${PWD_COMMAND}`; export r; \
27846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27847 $(HOST_EXPORTS) \
27848 for flag in $(EXTRA_HOST_FLAGS) ; do \
27849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27850 done; \
27851 echo "Doing info in guile" ; \
27852 (cd $(HOST_SUBDIR)/guile && \
27853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27855 "RANLIB=$${RANLIB}" \
27856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27857 info) \
27858 || exit 1
27860 @endif guile
27862 .PHONY: maybe-dvi-guile dvi-guile
27863 maybe-dvi-guile:
27864 @if guile
27865 maybe-dvi-guile: dvi-guile
27867 dvi-guile: \
27868 configure-guile
27869 @: $(MAKE); $(unstage)
27870 @[ -f ./guile/Makefile ] || exit 0; \
27871 r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 $(HOST_EXPORTS) \
27874 for flag in $(EXTRA_HOST_FLAGS) ; do \
27875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27876 done; \
27877 echo "Doing dvi in guile" ; \
27878 (cd $(HOST_SUBDIR)/guile && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27883 dvi) \
27884 || exit 1
27886 @endif guile
27888 .PHONY: maybe-pdf-guile pdf-guile
27889 maybe-pdf-guile:
27890 @if guile
27891 maybe-pdf-guile: pdf-guile
27893 pdf-guile: \
27894 configure-guile
27895 @: $(MAKE); $(unstage)
27896 @[ -f ./guile/Makefile ] || exit 0; \
27897 r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(HOST_EXPORTS) \
27900 for flag in $(EXTRA_HOST_FLAGS) ; do \
27901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27902 done; \
27903 echo "Doing pdf in guile" ; \
27904 (cd $(HOST_SUBDIR)/guile && \
27905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27907 "RANLIB=$${RANLIB}" \
27908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27909 pdf) \
27910 || exit 1
27912 @endif guile
27914 .PHONY: maybe-html-guile html-guile
27915 maybe-html-guile:
27916 @if guile
27917 maybe-html-guile: html-guile
27919 html-guile: \
27920 configure-guile
27921 @: $(MAKE); $(unstage)
27922 @[ -f ./guile/Makefile ] || exit 0; \
27923 r=`${PWD_COMMAND}`; export r; \
27924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 $(HOST_EXPORTS) \
27926 for flag in $(EXTRA_HOST_FLAGS) ; do \
27927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27928 done; \
27929 echo "Doing html in guile" ; \
27930 (cd $(HOST_SUBDIR)/guile && \
27931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27933 "RANLIB=$${RANLIB}" \
27934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27935 html) \
27936 || exit 1
27938 @endif guile
27940 .PHONY: maybe-TAGS-guile TAGS-guile
27941 maybe-TAGS-guile:
27942 @if guile
27943 maybe-TAGS-guile: TAGS-guile
27945 TAGS-guile: \
27946 configure-guile
27947 @: $(MAKE); $(unstage)
27948 @[ -f ./guile/Makefile ] || exit 0; \
27949 r=`${PWD_COMMAND}`; export r; \
27950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27951 $(HOST_EXPORTS) \
27952 for flag in $(EXTRA_HOST_FLAGS) ; do \
27953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27954 done; \
27955 echo "Doing TAGS in guile" ; \
27956 (cd $(HOST_SUBDIR)/guile && \
27957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27959 "RANLIB=$${RANLIB}" \
27960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27961 TAGS) \
27962 || exit 1
27964 @endif guile
27966 .PHONY: maybe-install-info-guile install-info-guile
27967 maybe-install-info-guile:
27968 @if guile
27969 maybe-install-info-guile: install-info-guile
27971 install-info-guile: \
27972 configure-guile \
27973 info-guile
27974 @: $(MAKE); $(unstage)
27975 @[ -f ./guile/Makefile ] || exit 0; \
27976 r=`${PWD_COMMAND}`; export r; \
27977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27978 $(HOST_EXPORTS) \
27979 for flag in $(EXTRA_HOST_FLAGS) ; do \
27980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27981 done; \
27982 echo "Doing install-info in guile" ; \
27983 (cd $(HOST_SUBDIR)/guile && \
27984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27986 "RANLIB=$${RANLIB}" \
27987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27988 install-info) \
27989 || exit 1
27991 @endif guile
27993 .PHONY: maybe-install-pdf-guile install-pdf-guile
27994 maybe-install-pdf-guile:
27995 @if guile
27996 maybe-install-pdf-guile: install-pdf-guile
27998 install-pdf-guile: \
27999 configure-guile \
28000 pdf-guile
28001 @: $(MAKE); $(unstage)
28002 @[ -f ./guile/Makefile ] || exit 0; \
28003 r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(HOST_EXPORTS) \
28006 for flag in $(EXTRA_HOST_FLAGS) ; do \
28007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28008 done; \
28009 echo "Doing install-pdf in guile" ; \
28010 (cd $(HOST_SUBDIR)/guile && \
28011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28013 "RANLIB=$${RANLIB}" \
28014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28015 install-pdf) \
28016 || exit 1
28018 @endif guile
28020 .PHONY: maybe-install-html-guile install-html-guile
28021 maybe-install-html-guile:
28022 @if guile
28023 maybe-install-html-guile: install-html-guile
28025 install-html-guile: \
28026 configure-guile \
28027 html-guile
28028 @: $(MAKE); $(unstage)
28029 @[ -f ./guile/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing install-html in guile" ; \
28037 (cd $(HOST_SUBDIR)/guile && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 install-html) \
28043 || exit 1
28045 @endif guile
28047 .PHONY: maybe-installcheck-guile installcheck-guile
28048 maybe-installcheck-guile:
28049 @if guile
28050 maybe-installcheck-guile: installcheck-guile
28052 installcheck-guile: \
28053 configure-guile
28054 @: $(MAKE); $(unstage)
28055 @[ -f ./guile/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 installcheck in guile" ; \
28063 (cd $(HOST_SUBDIR)/guile && \
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 installcheck) \
28069 || exit 1
28071 @endif guile
28073 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28074 maybe-mostlyclean-guile:
28075 @if guile
28076 maybe-mostlyclean-guile: mostlyclean-guile
28078 mostlyclean-guile:
28079 @: $(MAKE); $(unstage)
28080 @[ -f ./guile/Makefile ] || exit 0; \
28081 r=`${PWD_COMMAND}`; export r; \
28082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28083 $(HOST_EXPORTS) \
28084 for flag in $(EXTRA_HOST_FLAGS) ; do \
28085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28086 done; \
28087 echo "Doing mostlyclean in guile" ; \
28088 (cd $(HOST_SUBDIR)/guile && \
28089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28091 "RANLIB=$${RANLIB}" \
28092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28093 mostlyclean) \
28094 || exit 1
28096 @endif guile
28098 .PHONY: maybe-clean-guile clean-guile
28099 maybe-clean-guile:
28100 @if guile
28101 maybe-clean-guile: clean-guile
28103 clean-guile:
28104 @: $(MAKE); $(unstage)
28105 @[ -f ./guile/Makefile ] || exit 0; \
28106 r=`${PWD_COMMAND}`; export r; \
28107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28108 $(HOST_EXPORTS) \
28109 for flag in $(EXTRA_HOST_FLAGS) ; do \
28110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28111 done; \
28112 echo "Doing clean in guile" ; \
28113 (cd $(HOST_SUBDIR)/guile && \
28114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28116 "RANLIB=$${RANLIB}" \
28117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28118 clean) \
28119 || exit 1
28121 @endif guile
28123 .PHONY: maybe-distclean-guile distclean-guile
28124 maybe-distclean-guile:
28125 @if guile
28126 maybe-distclean-guile: distclean-guile
28128 distclean-guile:
28129 @: $(MAKE); $(unstage)
28130 @[ -f ./guile/Makefile ] || exit 0; \
28131 r=`${PWD_COMMAND}`; export r; \
28132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28133 $(HOST_EXPORTS) \
28134 for flag in $(EXTRA_HOST_FLAGS) ; do \
28135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28136 done; \
28137 echo "Doing distclean in guile" ; \
28138 (cd $(HOST_SUBDIR)/guile && \
28139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28141 "RANLIB=$${RANLIB}" \
28142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28143 distclean) \
28144 || exit 1
28146 @endif guile
28148 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28149 maybe-maintainer-clean-guile:
28150 @if guile
28151 maybe-maintainer-clean-guile: maintainer-clean-guile
28153 maintainer-clean-guile:
28154 @: $(MAKE); $(unstage)
28155 @[ -f ./guile/Makefile ] || exit 0; \
28156 r=`${PWD_COMMAND}`; export r; \
28157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28158 $(HOST_EXPORTS) \
28159 for flag in $(EXTRA_HOST_FLAGS) ; do \
28160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28161 done; \
28162 echo "Doing maintainer-clean in guile" ; \
28163 (cd $(HOST_SUBDIR)/guile && \
28164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28166 "RANLIB=$${RANLIB}" \
28167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28168 maintainer-clean) \
28169 || exit 1
28171 @endif guile
28175 .PHONY: configure-tk maybe-configure-tk
28176 maybe-configure-tk:
28177 @if gcc-bootstrap
28178 configure-tk: stage_current
28179 @endif gcc-bootstrap
28180 @if tk
28181 maybe-configure-tk: configure-tk
28182 configure-tk:
28183 @: $(MAKE); $(unstage)
28184 @r=`${PWD_COMMAND}`; export r; \
28185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28186 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28188 $(HOST_EXPORTS) \
28189 echo Configuring in $(HOST_SUBDIR)/tk; \
28190 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28191 case $(srcdir) in \
28192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28193 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28195 esac; \
28196 srcdiroption="--srcdir=$${topdir}/tk"; \
28197 libsrcdir="$$s/tk"; \
28198 $(SHELL) $${libsrcdir}/configure \
28199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28200 --target=${target_alias} $${srcdiroption} \
28201 || exit 1
28202 @endif tk
28208 .PHONY: all-tk maybe-all-tk
28209 maybe-all-tk:
28210 @if gcc-bootstrap
28211 all-tk: stage_current
28212 @endif gcc-bootstrap
28213 @if tk
28214 TARGET-tk=all
28215 maybe-all-tk: all-tk
28216 all-tk: configure-tk
28217 @: $(MAKE); $(unstage)
28218 @r=`${PWD_COMMAND}`; export r; \
28219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28220 $(HOST_EXPORTS) \
28221 (cd $(HOST_SUBDIR)/tk && \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28223 $(TARGET-tk))
28224 @endif tk
28229 .PHONY: check-tk maybe-check-tk
28230 maybe-check-tk:
28231 @if tk
28232 maybe-check-tk: check-tk
28234 check-tk:
28235 @: $(MAKE); $(unstage)
28236 @r=`${PWD_COMMAND}`; export r; \
28237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28238 $(HOST_EXPORTS) \
28239 (cd $(HOST_SUBDIR)/tk && \
28240 $(MAKE) $(FLAGS_TO_PASS) check)
28242 @endif tk
28244 .PHONY: install-tk maybe-install-tk
28245 maybe-install-tk:
28246 @if tk
28247 maybe-install-tk: install-tk
28249 install-tk: installdirs
28250 @: $(MAKE); $(unstage)
28251 @r=`${PWD_COMMAND}`; export r; \
28252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253 $(HOST_EXPORTS) \
28254 (cd $(HOST_SUBDIR)/tk && \
28255 $(MAKE) $(FLAGS_TO_PASS) install)
28257 @endif tk
28259 .PHONY: install-strip-tk maybe-install-strip-tk
28260 maybe-install-strip-tk:
28261 @if tk
28262 maybe-install-strip-tk: install-strip-tk
28264 install-strip-tk: installdirs
28265 @: $(MAKE); $(unstage)
28266 @r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(HOST_EXPORTS) \
28269 (cd $(HOST_SUBDIR)/tk && \
28270 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28272 @endif tk
28274 # Other targets (info, dvi, pdf, etc.)
28276 .PHONY: maybe-info-tk info-tk
28277 maybe-info-tk:
28278 @if tk
28279 maybe-info-tk: info-tk
28281 info-tk: \
28282 configure-tk
28283 @: $(MAKE); $(unstage)
28284 @[ -f ./tk/Makefile ] || exit 0; \
28285 r=`${PWD_COMMAND}`; export r; \
28286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28287 $(HOST_EXPORTS) \
28288 for flag in $(EXTRA_HOST_FLAGS) ; do \
28289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28290 done; \
28291 echo "Doing info in tk" ; \
28292 (cd $(HOST_SUBDIR)/tk && \
28293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28295 "RANLIB=$${RANLIB}" \
28296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28297 info) \
28298 || exit 1
28300 @endif tk
28302 .PHONY: maybe-dvi-tk dvi-tk
28303 maybe-dvi-tk:
28304 @if tk
28305 maybe-dvi-tk: dvi-tk
28307 dvi-tk: \
28308 configure-tk
28309 @: $(MAKE); $(unstage)
28310 @[ -f ./tk/Makefile ] || exit 0; \
28311 r=`${PWD_COMMAND}`; export r; \
28312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28313 $(HOST_EXPORTS) \
28314 for flag in $(EXTRA_HOST_FLAGS) ; do \
28315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28316 done; \
28317 echo "Doing dvi in tk" ; \
28318 (cd $(HOST_SUBDIR)/tk && \
28319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28321 "RANLIB=$${RANLIB}" \
28322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28323 dvi) \
28324 || exit 1
28326 @endif tk
28328 .PHONY: maybe-pdf-tk pdf-tk
28329 maybe-pdf-tk:
28330 @if tk
28331 maybe-pdf-tk: pdf-tk
28333 pdf-tk: \
28334 configure-tk
28335 @: $(MAKE); $(unstage)
28336 @[ -f ./tk/Makefile ] || exit 0; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(HOST_EXPORTS) \
28340 for flag in $(EXTRA_HOST_FLAGS) ; do \
28341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28342 done; \
28343 echo "Doing pdf in tk" ; \
28344 (cd $(HOST_SUBDIR)/tk && \
28345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28347 "RANLIB=$${RANLIB}" \
28348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28349 pdf) \
28350 || exit 1
28352 @endif tk
28354 .PHONY: maybe-html-tk html-tk
28355 maybe-html-tk:
28356 @if tk
28357 maybe-html-tk: html-tk
28359 html-tk: \
28360 configure-tk
28361 @: $(MAKE); $(unstage)
28362 @[ -f ./tk/Makefile ] || exit 0; \
28363 r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(HOST_EXPORTS) \
28366 for flag in $(EXTRA_HOST_FLAGS) ; do \
28367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28368 done; \
28369 echo "Doing html in tk" ; \
28370 (cd $(HOST_SUBDIR)/tk && \
28371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28373 "RANLIB=$${RANLIB}" \
28374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28375 html) \
28376 || exit 1
28378 @endif tk
28380 .PHONY: maybe-TAGS-tk TAGS-tk
28381 maybe-TAGS-tk:
28382 @if tk
28383 maybe-TAGS-tk: TAGS-tk
28385 TAGS-tk: \
28386 configure-tk
28387 @: $(MAKE); $(unstage)
28388 @[ -f ./tk/Makefile ] || exit 0; \
28389 r=`${PWD_COMMAND}`; export r; \
28390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28391 $(HOST_EXPORTS) \
28392 for flag in $(EXTRA_HOST_FLAGS) ; do \
28393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28394 done; \
28395 echo "Doing TAGS in tk" ; \
28396 (cd $(HOST_SUBDIR)/tk && \
28397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28399 "RANLIB=$${RANLIB}" \
28400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28401 TAGS) \
28402 || exit 1
28404 @endif tk
28406 .PHONY: maybe-install-info-tk install-info-tk
28407 maybe-install-info-tk:
28408 @if tk
28409 maybe-install-info-tk: install-info-tk
28411 install-info-tk: \
28412 configure-tk \
28413 info-tk
28414 @: $(MAKE); $(unstage)
28415 @[ -f ./tk/Makefile ] || exit 0; \
28416 r=`${PWD_COMMAND}`; export r; \
28417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28418 $(HOST_EXPORTS) \
28419 for flag in $(EXTRA_HOST_FLAGS) ; do \
28420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28421 done; \
28422 echo "Doing install-info in tk" ; \
28423 (cd $(HOST_SUBDIR)/tk && \
28424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28426 "RANLIB=$${RANLIB}" \
28427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28428 install-info) \
28429 || exit 1
28431 @endif tk
28433 .PHONY: maybe-install-pdf-tk install-pdf-tk
28434 maybe-install-pdf-tk:
28435 @if tk
28436 maybe-install-pdf-tk: install-pdf-tk
28438 install-pdf-tk: \
28439 configure-tk \
28440 pdf-tk
28441 @: $(MAKE); $(unstage)
28442 @[ -f ./tk/Makefile ] || exit 0; \
28443 r=`${PWD_COMMAND}`; export r; \
28444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28445 $(HOST_EXPORTS) \
28446 for flag in $(EXTRA_HOST_FLAGS) ; do \
28447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28448 done; \
28449 echo "Doing install-pdf in tk" ; \
28450 (cd $(HOST_SUBDIR)/tk && \
28451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28453 "RANLIB=$${RANLIB}" \
28454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28455 install-pdf) \
28456 || exit 1
28458 @endif tk
28460 .PHONY: maybe-install-html-tk install-html-tk
28461 maybe-install-html-tk:
28462 @if tk
28463 maybe-install-html-tk: install-html-tk
28465 install-html-tk: \
28466 configure-tk \
28467 html-tk
28468 @: $(MAKE); $(unstage)
28469 @[ -f ./tk/Makefile ] || exit 0; \
28470 r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472 $(HOST_EXPORTS) \
28473 for flag in $(EXTRA_HOST_FLAGS) ; do \
28474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28475 done; \
28476 echo "Doing install-html in tk" ; \
28477 (cd $(HOST_SUBDIR)/tk && \
28478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28480 "RANLIB=$${RANLIB}" \
28481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28482 install-html) \
28483 || exit 1
28485 @endif tk
28487 .PHONY: maybe-installcheck-tk installcheck-tk
28488 maybe-installcheck-tk:
28489 @if tk
28490 maybe-installcheck-tk: installcheck-tk
28492 installcheck-tk: \
28493 configure-tk
28494 @: $(MAKE); $(unstage)
28495 @[ -f ./tk/Makefile ] || exit 0; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28498 $(HOST_EXPORTS) \
28499 for flag in $(EXTRA_HOST_FLAGS) ; do \
28500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28501 done; \
28502 echo "Doing installcheck in tk" ; \
28503 (cd $(HOST_SUBDIR)/tk && \
28504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28506 "RANLIB=$${RANLIB}" \
28507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28508 installcheck) \
28509 || exit 1
28511 @endif tk
28513 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28514 maybe-mostlyclean-tk:
28515 @if tk
28516 maybe-mostlyclean-tk: mostlyclean-tk
28518 mostlyclean-tk:
28519 @: $(MAKE); $(unstage)
28520 @[ -f ./tk/Makefile ] || exit 0; \
28521 r=`${PWD_COMMAND}`; export r; \
28522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(HOST_EXPORTS) \
28524 for flag in $(EXTRA_HOST_FLAGS) ; do \
28525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28526 done; \
28527 echo "Doing mostlyclean in tk" ; \
28528 (cd $(HOST_SUBDIR)/tk && \
28529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28531 "RANLIB=$${RANLIB}" \
28532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28533 mostlyclean) \
28534 || exit 1
28536 @endif tk
28538 .PHONY: maybe-clean-tk clean-tk
28539 maybe-clean-tk:
28540 @if tk
28541 maybe-clean-tk: clean-tk
28543 clean-tk:
28544 @: $(MAKE); $(unstage)
28545 @[ -f ./tk/Makefile ] || exit 0; \
28546 r=`${PWD_COMMAND}`; export r; \
28547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28548 $(HOST_EXPORTS) \
28549 for flag in $(EXTRA_HOST_FLAGS) ; do \
28550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28551 done; \
28552 echo "Doing clean in tk" ; \
28553 (cd $(HOST_SUBDIR)/tk && \
28554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28556 "RANLIB=$${RANLIB}" \
28557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28558 clean) \
28559 || exit 1
28561 @endif tk
28563 .PHONY: maybe-distclean-tk distclean-tk
28564 maybe-distclean-tk:
28565 @if tk
28566 maybe-distclean-tk: distclean-tk
28568 distclean-tk:
28569 @: $(MAKE); $(unstage)
28570 @[ -f ./tk/Makefile ] || exit 0; \
28571 r=`${PWD_COMMAND}`; export r; \
28572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28573 $(HOST_EXPORTS) \
28574 for flag in $(EXTRA_HOST_FLAGS) ; do \
28575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28576 done; \
28577 echo "Doing distclean in tk" ; \
28578 (cd $(HOST_SUBDIR)/tk && \
28579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28581 "RANLIB=$${RANLIB}" \
28582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28583 distclean) \
28584 || exit 1
28586 @endif tk
28588 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28589 maybe-maintainer-clean-tk:
28590 @if tk
28591 maybe-maintainer-clean-tk: maintainer-clean-tk
28593 maintainer-clean-tk:
28594 @: $(MAKE); $(unstage)
28595 @[ -f ./tk/Makefile ] || exit 0; \
28596 r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(HOST_EXPORTS) \
28599 for flag in $(EXTRA_HOST_FLAGS) ; do \
28600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28601 done; \
28602 echo "Doing maintainer-clean in tk" ; \
28603 (cd $(HOST_SUBDIR)/tk && \
28604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28606 "RANLIB=$${RANLIB}" \
28607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28608 maintainer-clean) \
28609 || exit 1
28611 @endif tk
28615 .PHONY: configure-libtermcap maybe-configure-libtermcap
28616 maybe-configure-libtermcap:
28617 @if gcc-bootstrap
28618 configure-libtermcap: stage_current
28619 @endif gcc-bootstrap
28620 @if libtermcap
28621 maybe-configure-libtermcap: configure-libtermcap
28622 configure-libtermcap:
28623 @: $(MAKE); $(unstage)
28624 @r=`${PWD_COMMAND}`; export r; \
28625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28626 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28628 $(HOST_EXPORTS) \
28629 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28630 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28631 case $(srcdir) in \
28632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28633 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28635 esac; \
28636 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28637 libsrcdir="$$s/libtermcap"; \
28638 $(SHELL) $${libsrcdir}/configure \
28639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28640 --target=${target_alias} $${srcdiroption} \
28641 || exit 1
28642 @endif libtermcap
28648 .PHONY: all-libtermcap maybe-all-libtermcap
28649 maybe-all-libtermcap:
28650 @if gcc-bootstrap
28651 all-libtermcap: stage_current
28652 @endif gcc-bootstrap
28653 @if libtermcap
28654 TARGET-libtermcap=all
28655 maybe-all-libtermcap: all-libtermcap
28656 all-libtermcap: configure-libtermcap
28657 @: $(MAKE); $(unstage)
28658 @r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 (cd $(HOST_SUBDIR)/libtermcap && \
28662 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28663 $(TARGET-libtermcap))
28664 @endif libtermcap
28669 .PHONY: check-libtermcap maybe-check-libtermcap
28670 maybe-check-libtermcap:
28671 @if libtermcap
28672 maybe-check-libtermcap: check-libtermcap
28674 check-libtermcap:
28676 @endif libtermcap
28678 .PHONY: install-libtermcap maybe-install-libtermcap
28679 maybe-install-libtermcap:
28680 @if libtermcap
28681 maybe-install-libtermcap: install-libtermcap
28683 install-libtermcap: installdirs
28684 @: $(MAKE); $(unstage)
28685 @r=`${PWD_COMMAND}`; export r; \
28686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28687 $(HOST_EXPORTS) \
28688 (cd $(HOST_SUBDIR)/libtermcap && \
28689 $(MAKE) $(FLAGS_TO_PASS) install)
28691 @endif libtermcap
28693 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28694 maybe-install-strip-libtermcap:
28695 @if libtermcap
28696 maybe-install-strip-libtermcap: install-strip-libtermcap
28698 install-strip-libtermcap: installdirs
28699 @: $(MAKE); $(unstage)
28700 @r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 $(HOST_EXPORTS) \
28703 (cd $(HOST_SUBDIR)/libtermcap && \
28704 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28706 @endif libtermcap
28708 # Other targets (info, dvi, pdf, etc.)
28710 .PHONY: maybe-info-libtermcap info-libtermcap
28711 maybe-info-libtermcap:
28712 @if libtermcap
28713 maybe-info-libtermcap: info-libtermcap
28715 info-libtermcap: \
28716 configure-libtermcap
28717 @: $(MAKE); $(unstage)
28718 @[ -f ./libtermcap/Makefile ] || exit 0; \
28719 r=`${PWD_COMMAND}`; export r; \
28720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28721 $(HOST_EXPORTS) \
28722 for flag in $(EXTRA_HOST_FLAGS) ; do \
28723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28724 done; \
28725 echo "Doing info in libtermcap" ; \
28726 (cd $(HOST_SUBDIR)/libtermcap && \
28727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28729 "RANLIB=$${RANLIB}" \
28730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28731 info) \
28732 || exit 1
28734 @endif libtermcap
28736 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28737 maybe-dvi-libtermcap:
28738 @if libtermcap
28739 maybe-dvi-libtermcap: dvi-libtermcap
28741 dvi-libtermcap: \
28742 configure-libtermcap
28743 @: $(MAKE); $(unstage)
28744 @[ -f ./libtermcap/Makefile ] || exit 0; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(HOST_EXPORTS) \
28748 for flag in $(EXTRA_HOST_FLAGS) ; do \
28749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 done; \
28751 echo "Doing dvi in libtermcap" ; \
28752 (cd $(HOST_SUBDIR)/libtermcap && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28757 dvi) \
28758 || exit 1
28760 @endif libtermcap
28762 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28763 maybe-pdf-libtermcap:
28764 @if libtermcap
28765 maybe-pdf-libtermcap: pdf-libtermcap
28767 pdf-libtermcap: \
28768 configure-libtermcap
28769 @: $(MAKE); $(unstage)
28770 @[ -f ./libtermcap/Makefile ] || exit 0; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(HOST_EXPORTS) \
28774 for flag in $(EXTRA_HOST_FLAGS) ; do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 echo "Doing pdf in libtermcap" ; \
28778 (cd $(HOST_SUBDIR)/libtermcap && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28783 pdf) \
28784 || exit 1
28786 @endif libtermcap
28788 .PHONY: maybe-html-libtermcap html-libtermcap
28789 maybe-html-libtermcap:
28790 @if libtermcap
28791 maybe-html-libtermcap: html-libtermcap
28793 html-libtermcap: \
28794 configure-libtermcap
28795 @: $(MAKE); $(unstage)
28796 @[ -f ./libtermcap/Makefile ] || exit 0; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(HOST_EXPORTS) \
28800 for flag in $(EXTRA_HOST_FLAGS) ; do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 echo "Doing html in libtermcap" ; \
28804 (cd $(HOST_SUBDIR)/libtermcap && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28809 html) \
28810 || exit 1
28812 @endif libtermcap
28814 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28815 maybe-TAGS-libtermcap:
28816 @if libtermcap
28817 maybe-TAGS-libtermcap: TAGS-libtermcap
28819 TAGS-libtermcap: \
28820 configure-libtermcap
28821 @: $(MAKE); $(unstage)
28822 @[ -f ./libtermcap/Makefile ] || exit 0; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 $(HOST_EXPORTS) \
28826 for flag in $(EXTRA_HOST_FLAGS) ; do \
28827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28828 done; \
28829 echo "Doing TAGS in libtermcap" ; \
28830 (cd $(HOST_SUBDIR)/libtermcap && \
28831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28833 "RANLIB=$${RANLIB}" \
28834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28835 TAGS) \
28836 || exit 1
28838 @endif libtermcap
28840 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28841 maybe-install-info-libtermcap:
28842 @if libtermcap
28843 maybe-install-info-libtermcap: install-info-libtermcap
28845 install-info-libtermcap: \
28846 configure-libtermcap \
28847 info-libtermcap
28848 @: $(MAKE); $(unstage)
28849 @[ -f ./libtermcap/Makefile ] || exit 0; \
28850 r=`${PWD_COMMAND}`; export r; \
28851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28852 $(HOST_EXPORTS) \
28853 for flag in $(EXTRA_HOST_FLAGS) ; do \
28854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28855 done; \
28856 echo "Doing install-info in libtermcap" ; \
28857 (cd $(HOST_SUBDIR)/libtermcap && \
28858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28860 "RANLIB=$${RANLIB}" \
28861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28862 install-info) \
28863 || exit 1
28865 @endif libtermcap
28867 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28868 maybe-install-pdf-libtermcap:
28869 @if libtermcap
28870 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28872 install-pdf-libtermcap: \
28873 configure-libtermcap \
28874 pdf-libtermcap
28875 @: $(MAKE); $(unstage)
28876 @[ -f ./libtermcap/Makefile ] || exit 0; \
28877 r=`${PWD_COMMAND}`; export r; \
28878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28879 $(HOST_EXPORTS) \
28880 for flag in $(EXTRA_HOST_FLAGS) ; do \
28881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28882 done; \
28883 echo "Doing install-pdf in libtermcap" ; \
28884 (cd $(HOST_SUBDIR)/libtermcap && \
28885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28887 "RANLIB=$${RANLIB}" \
28888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28889 install-pdf) \
28890 || exit 1
28892 @endif libtermcap
28894 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28895 maybe-install-html-libtermcap:
28896 @if libtermcap
28897 maybe-install-html-libtermcap: install-html-libtermcap
28899 install-html-libtermcap: \
28900 configure-libtermcap \
28901 html-libtermcap
28902 @: $(MAKE); $(unstage)
28903 @[ -f ./libtermcap/Makefile ] || exit 0; \
28904 r=`${PWD_COMMAND}`; export r; \
28905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28906 $(HOST_EXPORTS) \
28907 for flag in $(EXTRA_HOST_FLAGS) ; do \
28908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28909 done; \
28910 echo "Doing install-html in libtermcap" ; \
28911 (cd $(HOST_SUBDIR)/libtermcap && \
28912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28914 "RANLIB=$${RANLIB}" \
28915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28916 install-html) \
28917 || exit 1
28919 @endif libtermcap
28921 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28922 maybe-installcheck-libtermcap:
28923 @if libtermcap
28924 maybe-installcheck-libtermcap: installcheck-libtermcap
28926 installcheck-libtermcap: \
28927 configure-libtermcap
28928 @: $(MAKE); $(unstage)
28929 @[ -f ./libtermcap/Makefile ] || exit 0; \
28930 r=`${PWD_COMMAND}`; export r; \
28931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28932 $(HOST_EXPORTS) \
28933 for flag in $(EXTRA_HOST_FLAGS) ; do \
28934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28935 done; \
28936 echo "Doing installcheck in libtermcap" ; \
28937 (cd $(HOST_SUBDIR)/libtermcap && \
28938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28940 "RANLIB=$${RANLIB}" \
28941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28942 installcheck) \
28943 || exit 1
28945 @endif libtermcap
28947 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28948 maybe-mostlyclean-libtermcap:
28949 @if libtermcap
28950 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28952 # libtermcap doesn't support mostlyclean.
28953 mostlyclean-libtermcap:
28955 @endif libtermcap
28957 .PHONY: maybe-clean-libtermcap clean-libtermcap
28958 maybe-clean-libtermcap:
28959 @if libtermcap
28960 maybe-clean-libtermcap: clean-libtermcap
28962 # libtermcap doesn't support clean.
28963 clean-libtermcap:
28965 @endif libtermcap
28967 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28968 maybe-distclean-libtermcap:
28969 @if libtermcap
28970 maybe-distclean-libtermcap: distclean-libtermcap
28972 # libtermcap doesn't support distclean.
28973 distclean-libtermcap:
28975 @endif libtermcap
28977 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28978 maybe-maintainer-clean-libtermcap:
28979 @if libtermcap
28980 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28982 # libtermcap doesn't support maintainer-clean.
28983 maintainer-clean-libtermcap:
28985 @endif libtermcap
28989 .PHONY: configure-utils maybe-configure-utils
28990 maybe-configure-utils:
28991 @if gcc-bootstrap
28992 configure-utils: stage_current
28993 @endif gcc-bootstrap
28994 @if utils
28995 maybe-configure-utils: configure-utils
28996 configure-utils:
28997 @: $(MAKE); $(unstage)
28998 @r=`${PWD_COMMAND}`; export r; \
28999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29000 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29002 $(HOST_EXPORTS) \
29003 echo Configuring in $(HOST_SUBDIR)/utils; \
29004 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29005 case $(srcdir) in \
29006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29007 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29009 esac; \
29010 srcdiroption="--srcdir=$${topdir}/utils"; \
29011 libsrcdir="$$s/utils"; \
29012 $(SHELL) $${libsrcdir}/configure \
29013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29014 --target=${target_alias} $${srcdiroption} \
29015 || exit 1
29016 @endif utils
29022 .PHONY: all-utils maybe-all-utils
29023 maybe-all-utils:
29024 @if gcc-bootstrap
29025 all-utils: stage_current
29026 @endif gcc-bootstrap
29027 @if utils
29028 TARGET-utils=all
29029 maybe-all-utils: all-utils
29030 all-utils: configure-utils
29031 @: $(MAKE); $(unstage)
29032 @r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 $(HOST_EXPORTS) \
29035 (cd $(HOST_SUBDIR)/utils && \
29036 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29037 $(TARGET-utils))
29038 @endif utils
29043 .PHONY: check-utils maybe-check-utils
29044 maybe-check-utils:
29045 @if utils
29046 maybe-check-utils: check-utils
29048 check-utils:
29050 @endif utils
29052 .PHONY: install-utils maybe-install-utils
29053 maybe-install-utils:
29054 @if utils
29055 maybe-install-utils: install-utils
29057 install-utils: installdirs
29058 @: $(MAKE); $(unstage)
29059 @r=`${PWD_COMMAND}`; export r; \
29060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29061 $(HOST_EXPORTS) \
29062 (cd $(HOST_SUBDIR)/utils && \
29063 $(MAKE) $(FLAGS_TO_PASS) install)
29065 @endif utils
29067 .PHONY: install-strip-utils maybe-install-strip-utils
29068 maybe-install-strip-utils:
29069 @if utils
29070 maybe-install-strip-utils: install-strip-utils
29072 install-strip-utils: installdirs
29073 @: $(MAKE); $(unstage)
29074 @r=`${PWD_COMMAND}`; export r; \
29075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29076 $(HOST_EXPORTS) \
29077 (cd $(HOST_SUBDIR)/utils && \
29078 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29080 @endif utils
29082 # Other targets (info, dvi, pdf, etc.)
29084 .PHONY: maybe-info-utils info-utils
29085 maybe-info-utils:
29086 @if utils
29087 maybe-info-utils: info-utils
29089 info-utils: \
29090 configure-utils
29091 @: $(MAKE); $(unstage)
29092 @[ -f ./utils/Makefile ] || exit 0; \
29093 r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(HOST_EXPORTS) \
29096 for flag in $(EXTRA_HOST_FLAGS) ; do \
29097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29098 done; \
29099 echo "Doing info in utils" ; \
29100 (cd $(HOST_SUBDIR)/utils && \
29101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29103 "RANLIB=$${RANLIB}" \
29104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29105 info) \
29106 || exit 1
29108 @endif utils
29110 .PHONY: maybe-dvi-utils dvi-utils
29111 maybe-dvi-utils:
29112 @if utils
29113 maybe-dvi-utils: dvi-utils
29115 dvi-utils: \
29116 configure-utils
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./utils/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing dvi in utils" ; \
29126 (cd $(HOST_SUBDIR)/utils && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29131 dvi) \
29132 || exit 1
29134 @endif utils
29136 .PHONY: maybe-pdf-utils pdf-utils
29137 maybe-pdf-utils:
29138 @if utils
29139 maybe-pdf-utils: pdf-utils
29141 pdf-utils: \
29142 configure-utils
29143 @: $(MAKE); $(unstage)
29144 @[ -f ./utils/Makefile ] || exit 0; \
29145 r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(HOST_EXPORTS) \
29148 for flag in $(EXTRA_HOST_FLAGS) ; do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 echo "Doing pdf in utils" ; \
29152 (cd $(HOST_SUBDIR)/utils && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29157 pdf) \
29158 || exit 1
29160 @endif utils
29162 .PHONY: maybe-html-utils html-utils
29163 maybe-html-utils:
29164 @if utils
29165 maybe-html-utils: html-utils
29167 html-utils: \
29168 configure-utils
29169 @: $(MAKE); $(unstage)
29170 @[ -f ./utils/Makefile ] || exit 0; \
29171 r=`${PWD_COMMAND}`; export r; \
29172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29173 $(HOST_EXPORTS) \
29174 for flag in $(EXTRA_HOST_FLAGS) ; do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 echo "Doing html in utils" ; \
29178 (cd $(HOST_SUBDIR)/utils && \
29179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29181 "RANLIB=$${RANLIB}" \
29182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29183 html) \
29184 || exit 1
29186 @endif utils
29188 .PHONY: maybe-TAGS-utils TAGS-utils
29189 maybe-TAGS-utils:
29190 @if utils
29191 maybe-TAGS-utils: TAGS-utils
29193 TAGS-utils: \
29194 configure-utils
29195 @: $(MAKE); $(unstage)
29196 @[ -f ./utils/Makefile ] || exit 0; \
29197 r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199 $(HOST_EXPORTS) \
29200 for flag in $(EXTRA_HOST_FLAGS) ; do \
29201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29202 done; \
29203 echo "Doing TAGS in utils" ; \
29204 (cd $(HOST_SUBDIR)/utils && \
29205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29207 "RANLIB=$${RANLIB}" \
29208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29209 TAGS) \
29210 || exit 1
29212 @endif utils
29214 .PHONY: maybe-install-info-utils install-info-utils
29215 maybe-install-info-utils:
29216 @if utils
29217 maybe-install-info-utils: install-info-utils
29219 install-info-utils: \
29220 configure-utils \
29221 info-utils
29222 @: $(MAKE); $(unstage)
29223 @[ -f ./utils/Makefile ] || exit 0; \
29224 r=`${PWD_COMMAND}`; export r; \
29225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29226 $(HOST_EXPORTS) \
29227 for flag in $(EXTRA_HOST_FLAGS) ; do \
29228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29229 done; \
29230 echo "Doing install-info in utils" ; \
29231 (cd $(HOST_SUBDIR)/utils && \
29232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29234 "RANLIB=$${RANLIB}" \
29235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29236 install-info) \
29237 || exit 1
29239 @endif utils
29241 .PHONY: maybe-install-pdf-utils install-pdf-utils
29242 maybe-install-pdf-utils:
29243 @if utils
29244 maybe-install-pdf-utils: install-pdf-utils
29246 install-pdf-utils: \
29247 configure-utils \
29248 pdf-utils
29249 @: $(MAKE); $(unstage)
29250 @[ -f ./utils/Makefile ] || exit 0; \
29251 r=`${PWD_COMMAND}`; export r; \
29252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29253 $(HOST_EXPORTS) \
29254 for flag in $(EXTRA_HOST_FLAGS) ; do \
29255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29256 done; \
29257 echo "Doing install-pdf in utils" ; \
29258 (cd $(HOST_SUBDIR)/utils && \
29259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29261 "RANLIB=$${RANLIB}" \
29262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29263 install-pdf) \
29264 || exit 1
29266 @endif utils
29268 .PHONY: maybe-install-html-utils install-html-utils
29269 maybe-install-html-utils:
29270 @if utils
29271 maybe-install-html-utils: install-html-utils
29273 install-html-utils: \
29274 configure-utils \
29275 html-utils
29276 @: $(MAKE); $(unstage)
29277 @[ -f ./utils/Makefile ] || exit 0; \
29278 r=`${PWD_COMMAND}`; export r; \
29279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29280 $(HOST_EXPORTS) \
29281 for flag in $(EXTRA_HOST_FLAGS) ; do \
29282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29283 done; \
29284 echo "Doing install-html in utils" ; \
29285 (cd $(HOST_SUBDIR)/utils && \
29286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29288 "RANLIB=$${RANLIB}" \
29289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29290 install-html) \
29291 || exit 1
29293 @endif utils
29295 .PHONY: maybe-installcheck-utils installcheck-utils
29296 maybe-installcheck-utils:
29297 @if utils
29298 maybe-installcheck-utils: installcheck-utils
29300 installcheck-utils: \
29301 configure-utils
29302 @: $(MAKE); $(unstage)
29303 @[ -f ./utils/Makefile ] || exit 0; \
29304 r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(HOST_EXPORTS) \
29307 for flag in $(EXTRA_HOST_FLAGS) ; do \
29308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29309 done; \
29310 echo "Doing installcheck in utils" ; \
29311 (cd $(HOST_SUBDIR)/utils && \
29312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29314 "RANLIB=$${RANLIB}" \
29315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29316 installcheck) \
29317 || exit 1
29319 @endif utils
29321 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29322 maybe-mostlyclean-utils:
29323 @if utils
29324 maybe-mostlyclean-utils: mostlyclean-utils
29326 mostlyclean-utils:
29327 @: $(MAKE); $(unstage)
29328 @[ -f ./utils/Makefile ] || exit 0; \
29329 r=`${PWD_COMMAND}`; export r; \
29330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29331 $(HOST_EXPORTS) \
29332 for flag in $(EXTRA_HOST_FLAGS) ; do \
29333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29334 done; \
29335 echo "Doing mostlyclean in utils" ; \
29336 (cd $(HOST_SUBDIR)/utils && \
29337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29339 "RANLIB=$${RANLIB}" \
29340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29341 mostlyclean) \
29342 || exit 1
29344 @endif utils
29346 .PHONY: maybe-clean-utils clean-utils
29347 maybe-clean-utils:
29348 @if utils
29349 maybe-clean-utils: clean-utils
29351 clean-utils:
29352 @: $(MAKE); $(unstage)
29353 @[ -f ./utils/Makefile ] || exit 0; \
29354 r=`${PWD_COMMAND}`; export r; \
29355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29356 $(HOST_EXPORTS) \
29357 for flag in $(EXTRA_HOST_FLAGS) ; do \
29358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29359 done; \
29360 echo "Doing clean in utils" ; \
29361 (cd $(HOST_SUBDIR)/utils && \
29362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29364 "RANLIB=$${RANLIB}" \
29365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29366 clean) \
29367 || exit 1
29369 @endif utils
29371 .PHONY: maybe-distclean-utils distclean-utils
29372 maybe-distclean-utils:
29373 @if utils
29374 maybe-distclean-utils: distclean-utils
29376 distclean-utils:
29377 @: $(MAKE); $(unstage)
29378 @[ -f ./utils/Makefile ] || exit 0; \
29379 r=`${PWD_COMMAND}`; export r; \
29380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29381 $(HOST_EXPORTS) \
29382 for flag in $(EXTRA_HOST_FLAGS) ; do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 echo "Doing distclean in utils" ; \
29386 (cd $(HOST_SUBDIR)/utils && \
29387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29389 "RANLIB=$${RANLIB}" \
29390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29391 distclean) \
29392 || exit 1
29394 @endif utils
29396 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29397 maybe-maintainer-clean-utils:
29398 @if utils
29399 maybe-maintainer-clean-utils: maintainer-clean-utils
29401 maintainer-clean-utils:
29402 @: $(MAKE); $(unstage)
29403 @[ -f ./utils/Makefile ] || exit 0; \
29404 r=`${PWD_COMMAND}`; export r; \
29405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29406 $(HOST_EXPORTS) \
29407 for flag in $(EXTRA_HOST_FLAGS) ; do \
29408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29409 done; \
29410 echo "Doing maintainer-clean in utils" ; \
29411 (cd $(HOST_SUBDIR)/utils && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29416 maintainer-clean) \
29417 || exit 1
29419 @endif utils
29423 .PHONY: configure-gnattools maybe-configure-gnattools
29424 maybe-configure-gnattools:
29425 @if gcc-bootstrap
29426 configure-gnattools: stage_current
29427 @endif gcc-bootstrap
29428 @if gnattools
29429 maybe-configure-gnattools: configure-gnattools
29430 configure-gnattools:
29431 @: $(MAKE); $(unstage)
29432 @r=`${PWD_COMMAND}`; export r; \
29433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29434 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29436 $(HOST_EXPORTS) \
29437 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29438 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29439 case $(srcdir) in \
29440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29441 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29443 esac; \
29444 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29445 libsrcdir="$$s/gnattools"; \
29446 $(SHELL) $${libsrcdir}/configure \
29447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29448 --target=${target_alias} $${srcdiroption} \
29449 || exit 1
29450 @endif gnattools
29456 .PHONY: all-gnattools maybe-all-gnattools
29457 maybe-all-gnattools:
29458 @if gcc-bootstrap
29459 all-gnattools: stage_current
29460 @endif gcc-bootstrap
29461 @if gnattools
29462 TARGET-gnattools=all
29463 maybe-all-gnattools: all-gnattools
29464 all-gnattools: configure-gnattools
29465 @: $(MAKE); $(unstage)
29466 @r=`${PWD_COMMAND}`; export r; \
29467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29468 $(HOST_EXPORTS) \
29469 (cd $(HOST_SUBDIR)/gnattools && \
29470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29471 $(TARGET-gnattools))
29472 @endif gnattools
29477 .PHONY: check-gnattools maybe-check-gnattools
29478 maybe-check-gnattools:
29479 @if gnattools
29480 maybe-check-gnattools: check-gnattools
29482 check-gnattools:
29483 @: $(MAKE); $(unstage)
29484 @r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(HOST_EXPORTS) \
29487 (cd $(HOST_SUBDIR)/gnattools && \
29488 $(MAKE) $(FLAGS_TO_PASS) check)
29490 @endif gnattools
29492 .PHONY: install-gnattools maybe-install-gnattools
29493 maybe-install-gnattools:
29494 @if gnattools
29495 maybe-install-gnattools: install-gnattools
29497 install-gnattools: installdirs
29498 @: $(MAKE); $(unstage)
29499 @r=`${PWD_COMMAND}`; export r; \
29500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29501 $(HOST_EXPORTS) \
29502 (cd $(HOST_SUBDIR)/gnattools && \
29503 $(MAKE) $(FLAGS_TO_PASS) install)
29505 @endif gnattools
29507 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29508 maybe-install-strip-gnattools:
29509 @if gnattools
29510 maybe-install-strip-gnattools: install-strip-gnattools
29512 install-strip-gnattools: installdirs
29513 @: $(MAKE); $(unstage)
29514 @r=`${PWD_COMMAND}`; export r; \
29515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29516 $(HOST_EXPORTS) \
29517 (cd $(HOST_SUBDIR)/gnattools && \
29518 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29520 @endif gnattools
29522 # Other targets (info, dvi, pdf, etc.)
29524 .PHONY: maybe-info-gnattools info-gnattools
29525 maybe-info-gnattools:
29526 @if gnattools
29527 maybe-info-gnattools: info-gnattools
29529 info-gnattools: \
29530 configure-gnattools
29531 @: $(MAKE); $(unstage)
29532 @[ -f ./gnattools/Makefile ] || exit 0; \
29533 r=`${PWD_COMMAND}`; export r; \
29534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29535 $(HOST_EXPORTS) \
29536 for flag in $(EXTRA_HOST_FLAGS) ; do \
29537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29538 done; \
29539 echo "Doing info in gnattools" ; \
29540 (cd $(HOST_SUBDIR)/gnattools && \
29541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29543 "RANLIB=$${RANLIB}" \
29544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29545 info) \
29546 || exit 1
29548 @endif gnattools
29550 .PHONY: maybe-dvi-gnattools dvi-gnattools
29551 maybe-dvi-gnattools:
29552 @if gnattools
29553 maybe-dvi-gnattools: dvi-gnattools
29555 dvi-gnattools: \
29556 configure-gnattools
29557 @: $(MAKE); $(unstage)
29558 @[ -f ./gnattools/Makefile ] || exit 0; \
29559 r=`${PWD_COMMAND}`; export r; \
29560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29561 $(HOST_EXPORTS) \
29562 for flag in $(EXTRA_HOST_FLAGS) ; do \
29563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29564 done; \
29565 echo "Doing dvi in gnattools" ; \
29566 (cd $(HOST_SUBDIR)/gnattools && \
29567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29569 "RANLIB=$${RANLIB}" \
29570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29571 dvi) \
29572 || exit 1
29574 @endif gnattools
29576 .PHONY: maybe-pdf-gnattools pdf-gnattools
29577 maybe-pdf-gnattools:
29578 @if gnattools
29579 maybe-pdf-gnattools: pdf-gnattools
29581 pdf-gnattools: \
29582 configure-gnattools
29583 @: $(MAKE); $(unstage)
29584 @[ -f ./gnattools/Makefile ] || exit 0; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(HOST_EXPORTS) \
29588 for flag in $(EXTRA_HOST_FLAGS) ; do \
29589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29590 done; \
29591 echo "Doing pdf in gnattools" ; \
29592 (cd $(HOST_SUBDIR)/gnattools && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29597 pdf) \
29598 || exit 1
29600 @endif gnattools
29602 .PHONY: maybe-html-gnattools html-gnattools
29603 maybe-html-gnattools:
29604 @if gnattools
29605 maybe-html-gnattools: html-gnattools
29607 html-gnattools: \
29608 configure-gnattools
29609 @: $(MAKE); $(unstage)
29610 @[ -f ./gnattools/Makefile ] || exit 0; \
29611 r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(HOST_EXPORTS) \
29614 for flag in $(EXTRA_HOST_FLAGS) ; do \
29615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29616 done; \
29617 echo "Doing html in gnattools" ; \
29618 (cd $(HOST_SUBDIR)/gnattools && \
29619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29621 "RANLIB=$${RANLIB}" \
29622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29623 html) \
29624 || exit 1
29626 @endif gnattools
29628 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29629 maybe-TAGS-gnattools:
29630 @if gnattools
29631 maybe-TAGS-gnattools: TAGS-gnattools
29633 TAGS-gnattools: \
29634 configure-gnattools
29635 @: $(MAKE); $(unstage)
29636 @[ -f ./gnattools/Makefile ] || exit 0; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 for flag in $(EXTRA_HOST_FLAGS) ; do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 echo "Doing TAGS in gnattools" ; \
29644 (cd $(HOST_SUBDIR)/gnattools && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29649 TAGS) \
29650 || exit 1
29652 @endif gnattools
29654 .PHONY: maybe-install-info-gnattools install-info-gnattools
29655 maybe-install-info-gnattools:
29656 @if gnattools
29657 maybe-install-info-gnattools: install-info-gnattools
29659 install-info-gnattools: \
29660 configure-gnattools \
29661 info-gnattools
29662 @: $(MAKE); $(unstage)
29663 @[ -f ./gnattools/Makefile ] || exit 0; \
29664 r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(HOST_EXPORTS) \
29667 for flag in $(EXTRA_HOST_FLAGS) ; do \
29668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29669 done; \
29670 echo "Doing install-info in gnattools" ; \
29671 (cd $(HOST_SUBDIR)/gnattools && \
29672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29674 "RANLIB=$${RANLIB}" \
29675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29676 install-info) \
29677 || exit 1
29679 @endif gnattools
29681 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29682 maybe-install-pdf-gnattools:
29683 @if gnattools
29684 maybe-install-pdf-gnattools: install-pdf-gnattools
29686 install-pdf-gnattools: \
29687 configure-gnattools \
29688 pdf-gnattools
29689 @: $(MAKE); $(unstage)
29690 @[ -f ./gnattools/Makefile ] || exit 0; \
29691 r=`${PWD_COMMAND}`; export r; \
29692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29693 $(HOST_EXPORTS) \
29694 for flag in $(EXTRA_HOST_FLAGS) ; do \
29695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29696 done; \
29697 echo "Doing install-pdf in gnattools" ; \
29698 (cd $(HOST_SUBDIR)/gnattools && \
29699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29701 "RANLIB=$${RANLIB}" \
29702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29703 install-pdf) \
29704 || exit 1
29706 @endif gnattools
29708 .PHONY: maybe-install-html-gnattools install-html-gnattools
29709 maybe-install-html-gnattools:
29710 @if gnattools
29711 maybe-install-html-gnattools: install-html-gnattools
29713 install-html-gnattools: \
29714 configure-gnattools \
29715 html-gnattools
29716 @: $(MAKE); $(unstage)
29717 @[ -f ./gnattools/Makefile ] || exit 0; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(HOST_EXPORTS) \
29721 for flag in $(EXTRA_HOST_FLAGS) ; do \
29722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29723 done; \
29724 echo "Doing install-html in gnattools" ; \
29725 (cd $(HOST_SUBDIR)/gnattools && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29730 install-html) \
29731 || exit 1
29733 @endif gnattools
29735 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29736 maybe-installcheck-gnattools:
29737 @if gnattools
29738 maybe-installcheck-gnattools: installcheck-gnattools
29740 installcheck-gnattools: \
29741 configure-gnattools
29742 @: $(MAKE); $(unstage)
29743 @[ -f ./gnattools/Makefile ] || exit 0; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(HOST_EXPORTS) \
29747 for flag in $(EXTRA_HOST_FLAGS) ; do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 echo "Doing installcheck in gnattools" ; \
29751 (cd $(HOST_SUBDIR)/gnattools && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29756 installcheck) \
29757 || exit 1
29759 @endif gnattools
29761 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29762 maybe-mostlyclean-gnattools:
29763 @if gnattools
29764 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29766 mostlyclean-gnattools:
29767 @: $(MAKE); $(unstage)
29768 @[ -f ./gnattools/Makefile ] || exit 0; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(HOST_EXPORTS) \
29772 for flag in $(EXTRA_HOST_FLAGS) ; do \
29773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29774 done; \
29775 echo "Doing mostlyclean in gnattools" ; \
29776 (cd $(HOST_SUBDIR)/gnattools && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29781 mostlyclean) \
29782 || exit 1
29784 @endif gnattools
29786 .PHONY: maybe-clean-gnattools clean-gnattools
29787 maybe-clean-gnattools:
29788 @if gnattools
29789 maybe-clean-gnattools: clean-gnattools
29791 clean-gnattools:
29792 @: $(MAKE); $(unstage)
29793 @[ -f ./gnattools/Makefile ] || exit 0; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(HOST_EXPORTS) \
29797 for flag in $(EXTRA_HOST_FLAGS) ; do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 echo "Doing clean in gnattools" ; \
29801 (cd $(HOST_SUBDIR)/gnattools && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29806 clean) \
29807 || exit 1
29809 @endif gnattools
29811 .PHONY: maybe-distclean-gnattools distclean-gnattools
29812 maybe-distclean-gnattools:
29813 @if gnattools
29814 maybe-distclean-gnattools: distclean-gnattools
29816 distclean-gnattools:
29817 @: $(MAKE); $(unstage)
29818 @[ -f ./gnattools/Makefile ] || exit 0; \
29819 r=`${PWD_COMMAND}`; export r; \
29820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29821 $(HOST_EXPORTS) \
29822 for flag in $(EXTRA_HOST_FLAGS) ; do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 echo "Doing distclean in gnattools" ; \
29826 (cd $(HOST_SUBDIR)/gnattools && \
29827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29829 "RANLIB=$${RANLIB}" \
29830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29831 distclean) \
29832 || exit 1
29834 @endif gnattools
29836 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29837 maybe-maintainer-clean-gnattools:
29838 @if gnattools
29839 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29841 maintainer-clean-gnattools:
29842 @: $(MAKE); $(unstage)
29843 @[ -f ./gnattools/Makefile ] || exit 0; \
29844 r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 for flag in $(EXTRA_HOST_FLAGS) ; do \
29848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29849 done; \
29850 echo "Doing maintainer-clean in gnattools" ; \
29851 (cd $(HOST_SUBDIR)/gnattools && \
29852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29854 "RANLIB=$${RANLIB}" \
29855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29856 maintainer-clean) \
29857 || exit 1
29859 @endif gnattools
29863 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29864 maybe-configure-lto-plugin:
29865 @if gcc-bootstrap
29866 configure-lto-plugin: stage_current
29867 @endif gcc-bootstrap
29868 @if lto-plugin
29869 maybe-configure-lto-plugin: configure-lto-plugin
29870 configure-lto-plugin:
29871 @r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29875 $(HOST_EXPORTS) \
29876 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29877 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29878 case $(srcdir) in \
29879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29880 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29882 esac; \
29883 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29884 libsrcdir="$$s/lto-plugin"; \
29885 $(SHELL) $${libsrcdir}/configure \
29886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29887 --target=${target_alias} $${srcdiroption} --enable-shared \
29888 || exit 1
29889 @endif lto-plugin
29893 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29894 maybe-configure-stage1-lto-plugin:
29895 @if lto-plugin-bootstrap
29896 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29897 configure-stage1-lto-plugin:
29898 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29900 @r=`${PWD_COMMAND}`; export r; \
29901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29902 TFLAGS="$(STAGE1_TFLAGS)"; \
29903 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29904 $(HOST_EXPORTS) \
29905 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29906 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29907 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29908 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29910 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29911 case $(srcdir) in \
29912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29913 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29915 esac; \
29916 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29917 libsrcdir="$$s/lto-plugin"; \
29918 $(SHELL) $${libsrcdir}/configure \
29919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29920 --target=${target_alias} $${srcdiroption} \
29921 $(STAGE1_CONFIGURE_FLAGS) \
29922 --enable-shared
29923 @endif lto-plugin-bootstrap
29925 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29926 maybe-configure-stage2-lto-plugin:
29927 @if lto-plugin-bootstrap
29928 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29929 configure-stage2-lto-plugin:
29930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29932 @r=`${PWD_COMMAND}`; export r; \
29933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29934 TFLAGS="$(STAGE2_TFLAGS)"; \
29935 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29936 $(HOST_EXPORTS) \
29937 $(POSTSTAGE1_HOST_EXPORTS) \
29938 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29939 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29940 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29941 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29943 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29944 case $(srcdir) in \
29945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29946 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29948 esac; \
29949 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29950 libsrcdir="$$s/lto-plugin"; \
29951 $(SHELL) $${libsrcdir}/configure \
29952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29953 --target=${target_alias} $${srcdiroption} \
29954 --with-build-libsubdir=$(HOST_SUBDIR) \
29955 $(STAGE2_CONFIGURE_FLAGS) \
29956 --enable-shared
29957 @endif lto-plugin-bootstrap
29959 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29960 maybe-configure-stage3-lto-plugin:
29961 @if lto-plugin-bootstrap
29962 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29963 configure-stage3-lto-plugin:
29964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29966 @r=`${PWD_COMMAND}`; export r; \
29967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29968 TFLAGS="$(STAGE3_TFLAGS)"; \
29969 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29970 $(HOST_EXPORTS) \
29971 $(POSTSTAGE1_HOST_EXPORTS) \
29972 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29973 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29974 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29975 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29977 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29978 case $(srcdir) in \
29979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29980 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29982 esac; \
29983 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29984 libsrcdir="$$s/lto-plugin"; \
29985 $(SHELL) $${libsrcdir}/configure \
29986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29987 --target=${target_alias} $${srcdiroption} \
29988 --with-build-libsubdir=$(HOST_SUBDIR) \
29989 $(STAGE3_CONFIGURE_FLAGS) \
29990 --enable-shared
29991 @endif lto-plugin-bootstrap
29993 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29994 maybe-configure-stage4-lto-plugin:
29995 @if lto-plugin-bootstrap
29996 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29997 configure-stage4-lto-plugin:
29998 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30000 @r=`${PWD_COMMAND}`; export r; \
30001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30002 TFLAGS="$(STAGE4_TFLAGS)"; \
30003 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30004 $(HOST_EXPORTS) \
30005 $(POSTSTAGE1_HOST_EXPORTS) \
30006 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30007 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30008 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30009 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30011 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30012 case $(srcdir) in \
30013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30014 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30016 esac; \
30017 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30018 libsrcdir="$$s/lto-plugin"; \
30019 $(SHELL) $${libsrcdir}/configure \
30020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30021 --target=${target_alias} $${srcdiroption} \
30022 --with-build-libsubdir=$(HOST_SUBDIR) \
30023 $(STAGE4_CONFIGURE_FLAGS) \
30024 --enable-shared
30025 @endif lto-plugin-bootstrap
30027 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30028 maybe-configure-stageprofile-lto-plugin:
30029 @if lto-plugin-bootstrap
30030 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30031 configure-stageprofile-lto-plugin:
30032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30034 @r=`${PWD_COMMAND}`; export r; \
30035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30037 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30038 $(HOST_EXPORTS) \
30039 $(POSTSTAGE1_HOST_EXPORTS) \
30040 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30041 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30042 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30043 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30045 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30046 case $(srcdir) in \
30047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30048 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30050 esac; \
30051 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30052 libsrcdir="$$s/lto-plugin"; \
30053 $(SHELL) $${libsrcdir}/configure \
30054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30055 --target=${target_alias} $${srcdiroption} \
30056 --with-build-libsubdir=$(HOST_SUBDIR) \
30057 $(STAGEprofile_CONFIGURE_FLAGS) \
30058 --enable-shared
30059 @endif lto-plugin-bootstrap
30061 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30062 maybe-configure-stagefeedback-lto-plugin:
30063 @if lto-plugin-bootstrap
30064 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30065 configure-stagefeedback-lto-plugin:
30066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30068 @r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30071 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30072 $(HOST_EXPORTS) \
30073 $(POSTSTAGE1_HOST_EXPORTS) \
30074 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30075 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30076 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30077 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30079 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30080 case $(srcdir) in \
30081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30082 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30084 esac; \
30085 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30086 libsrcdir="$$s/lto-plugin"; \
30087 $(SHELL) $${libsrcdir}/configure \
30088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30089 --target=${target_alias} $${srcdiroption} \
30090 --with-build-libsubdir=$(HOST_SUBDIR) \
30091 $(STAGEfeedback_CONFIGURE_FLAGS) \
30092 --enable-shared
30093 @endif lto-plugin-bootstrap
30099 .PHONY: all-lto-plugin maybe-all-lto-plugin
30100 maybe-all-lto-plugin:
30101 @if gcc-bootstrap
30102 all-lto-plugin: stage_current
30103 @endif gcc-bootstrap
30104 @if lto-plugin
30105 TARGET-lto-plugin=all
30106 maybe-all-lto-plugin: all-lto-plugin
30107 all-lto-plugin: configure-lto-plugin
30108 @r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 $(HOST_EXPORTS) \
30111 (cd $(HOST_SUBDIR)/lto-plugin && \
30112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30113 $(TARGET-lto-plugin))
30114 @endif lto-plugin
30118 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30119 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30120 maybe-all-stage1-lto-plugin:
30121 maybe-clean-stage1-lto-plugin:
30122 @if lto-plugin-bootstrap
30123 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30124 all-stage1: all-stage1-lto-plugin
30125 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30126 all-stage1-lto-plugin: configure-stage1-lto-plugin
30127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30128 @r=`${PWD_COMMAND}`; export r; \
30129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30130 TFLAGS="$(STAGE1_TFLAGS)"; \
30131 $(HOST_EXPORTS) \
30132 cd $(HOST_SUBDIR)/lto-plugin && \
30133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30134 CFLAGS="$(STAGE1_CFLAGS)" \
30135 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30136 LIBCFLAGS="$(LIBCFLAGS)" \
30137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30140 $(EXTRA_HOST_FLAGS) \
30141 $(STAGE1_FLAGS_TO_PASS) \
30142 TFLAGS="$(STAGE1_TFLAGS)" \
30143 $(TARGET-stage1-lto-plugin)
30145 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30146 clean-stage1: clean-stage1-lto-plugin
30147 clean-stage1-lto-plugin:
30148 @if [ $(current_stage) = stage1 ]; then \
30149 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30150 else \
30151 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30152 $(MAKE) stage1-start; \
30153 fi; \
30154 cd $(HOST_SUBDIR)/lto-plugin && \
30155 $(MAKE) $(EXTRA_HOST_FLAGS) \
30156 $(STAGE1_FLAGS_TO_PASS) clean
30157 @endif lto-plugin-bootstrap
30160 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30161 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30162 maybe-all-stage2-lto-plugin:
30163 maybe-clean-stage2-lto-plugin:
30164 @if lto-plugin-bootstrap
30165 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30166 all-stage2: all-stage2-lto-plugin
30167 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30168 all-stage2-lto-plugin: configure-stage2-lto-plugin
30169 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30170 @r=`${PWD_COMMAND}`; export r; \
30171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30172 TFLAGS="$(STAGE2_TFLAGS)"; \
30173 $(HOST_EXPORTS) \
30174 $(POSTSTAGE1_HOST_EXPORTS) \
30175 cd $(HOST_SUBDIR)/lto-plugin && \
30176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30177 CFLAGS="$(STAGE2_CFLAGS)" \
30178 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30179 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30184 TFLAGS="$(STAGE2_TFLAGS)" \
30185 $(TARGET-stage2-lto-plugin)
30187 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30188 clean-stage2: clean-stage2-lto-plugin
30189 clean-stage2-lto-plugin:
30190 @if [ $(current_stage) = stage2 ]; then \
30191 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30192 else \
30193 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30194 $(MAKE) stage2-start; \
30195 fi; \
30196 cd $(HOST_SUBDIR)/lto-plugin && \
30197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30198 @endif lto-plugin-bootstrap
30201 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30202 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30203 maybe-all-stage3-lto-plugin:
30204 maybe-clean-stage3-lto-plugin:
30205 @if lto-plugin-bootstrap
30206 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30207 all-stage3: all-stage3-lto-plugin
30208 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30209 all-stage3-lto-plugin: configure-stage3-lto-plugin
30210 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30211 @r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 TFLAGS="$(STAGE3_TFLAGS)"; \
30214 $(HOST_EXPORTS) \
30215 $(POSTSTAGE1_HOST_EXPORTS) \
30216 cd $(HOST_SUBDIR)/lto-plugin && \
30217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30218 CFLAGS="$(STAGE3_CFLAGS)" \
30219 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30220 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30225 TFLAGS="$(STAGE3_TFLAGS)" \
30226 $(TARGET-stage3-lto-plugin)
30228 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30229 clean-stage3: clean-stage3-lto-plugin
30230 clean-stage3-lto-plugin:
30231 @if [ $(current_stage) = stage3 ]; then \
30232 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30233 else \
30234 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30235 $(MAKE) stage3-start; \
30236 fi; \
30237 cd $(HOST_SUBDIR)/lto-plugin && \
30238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30239 @endif lto-plugin-bootstrap
30242 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30243 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30244 maybe-all-stage4-lto-plugin:
30245 maybe-clean-stage4-lto-plugin:
30246 @if lto-plugin-bootstrap
30247 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30248 all-stage4: all-stage4-lto-plugin
30249 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30250 all-stage4-lto-plugin: configure-stage4-lto-plugin
30251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30252 @r=`${PWD_COMMAND}`; export r; \
30253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30254 TFLAGS="$(STAGE4_TFLAGS)"; \
30255 $(HOST_EXPORTS) \
30256 $(POSTSTAGE1_HOST_EXPORTS) \
30257 cd $(HOST_SUBDIR)/lto-plugin && \
30258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30259 CFLAGS="$(STAGE4_CFLAGS)" \
30260 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30261 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30266 TFLAGS="$(STAGE4_TFLAGS)" \
30267 $(TARGET-stage4-lto-plugin)
30269 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30270 clean-stage4: clean-stage4-lto-plugin
30271 clean-stage4-lto-plugin:
30272 @if [ $(current_stage) = stage4 ]; then \
30273 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30274 else \
30275 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30276 $(MAKE) stage4-start; \
30277 fi; \
30278 cd $(HOST_SUBDIR)/lto-plugin && \
30279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30280 @endif lto-plugin-bootstrap
30283 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30284 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30285 maybe-all-stageprofile-lto-plugin:
30286 maybe-clean-stageprofile-lto-plugin:
30287 @if lto-plugin-bootstrap
30288 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30289 all-stageprofile: all-stageprofile-lto-plugin
30290 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30291 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30293 @r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30296 $(HOST_EXPORTS) \
30297 $(POSTSTAGE1_HOST_EXPORTS) \
30298 cd $(HOST_SUBDIR)/lto-plugin && \
30299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30300 CFLAGS="$(STAGEprofile_CFLAGS)" \
30301 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30302 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30307 TFLAGS="$(STAGEprofile_TFLAGS)" \
30308 $(TARGET-stageprofile-lto-plugin)
30310 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30311 clean-stageprofile: clean-stageprofile-lto-plugin
30312 clean-stageprofile-lto-plugin:
30313 @if [ $(current_stage) = stageprofile ]; then \
30314 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30315 else \
30316 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30317 $(MAKE) stageprofile-start; \
30318 fi; \
30319 cd $(HOST_SUBDIR)/lto-plugin && \
30320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30321 @endif lto-plugin-bootstrap
30324 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30325 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30326 maybe-all-stagefeedback-lto-plugin:
30327 maybe-clean-stagefeedback-lto-plugin:
30328 @if lto-plugin-bootstrap
30329 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30330 all-stagefeedback: all-stagefeedback-lto-plugin
30331 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30332 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30334 @r=`${PWD_COMMAND}`; export r; \
30335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30336 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30337 $(HOST_EXPORTS) \
30338 $(POSTSTAGE1_HOST_EXPORTS) \
30339 cd $(HOST_SUBDIR)/lto-plugin && \
30340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30341 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30342 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30343 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30348 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30349 $(TARGET-stagefeedback-lto-plugin)
30351 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30352 clean-stagefeedback: clean-stagefeedback-lto-plugin
30353 clean-stagefeedback-lto-plugin:
30354 @if [ $(current_stage) = stagefeedback ]; then \
30355 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30356 else \
30357 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30358 $(MAKE) stagefeedback-start; \
30359 fi; \
30360 cd $(HOST_SUBDIR)/lto-plugin && \
30361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30362 @endif lto-plugin-bootstrap
30368 .PHONY: check-lto-plugin maybe-check-lto-plugin
30369 maybe-check-lto-plugin:
30370 @if lto-plugin
30371 maybe-check-lto-plugin: check-lto-plugin
30373 check-lto-plugin:
30374 @: $(MAKE); $(unstage)
30375 @r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(HOST_EXPORTS) \
30378 (cd $(HOST_SUBDIR)/lto-plugin && \
30379 $(MAKE) $(FLAGS_TO_PASS) check)
30381 @endif lto-plugin
30383 .PHONY: install-lto-plugin maybe-install-lto-plugin
30384 maybe-install-lto-plugin:
30385 @if lto-plugin
30386 maybe-install-lto-plugin: install-lto-plugin
30388 install-lto-plugin: installdirs
30389 @: $(MAKE); $(unstage)
30390 @r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(HOST_EXPORTS) \
30393 (cd $(HOST_SUBDIR)/lto-plugin && \
30394 $(MAKE) $(FLAGS_TO_PASS) install)
30396 @endif lto-plugin
30398 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30399 maybe-install-strip-lto-plugin:
30400 @if lto-plugin
30401 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30403 install-strip-lto-plugin: installdirs
30404 @: $(MAKE); $(unstage)
30405 @r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 $(HOST_EXPORTS) \
30408 (cd $(HOST_SUBDIR)/lto-plugin && \
30409 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30411 @endif lto-plugin
30413 # Other targets (info, dvi, pdf, etc.)
30415 .PHONY: maybe-info-lto-plugin info-lto-plugin
30416 maybe-info-lto-plugin:
30417 @if lto-plugin
30418 maybe-info-lto-plugin: info-lto-plugin
30420 info-lto-plugin: \
30421 configure-lto-plugin
30422 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30423 r=`${PWD_COMMAND}`; export r; \
30424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30425 $(HOST_EXPORTS) \
30426 for flag in $(EXTRA_HOST_FLAGS) ; do \
30427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30428 done; \
30429 echo "Doing info in lto-plugin" ; \
30430 (cd $(HOST_SUBDIR)/lto-plugin && \
30431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30433 "RANLIB=$${RANLIB}" \
30434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30435 info) \
30436 || exit 1
30438 @endif lto-plugin
30440 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30441 maybe-dvi-lto-plugin:
30442 @if lto-plugin
30443 maybe-dvi-lto-plugin: dvi-lto-plugin
30445 dvi-lto-plugin: \
30446 configure-lto-plugin
30447 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30448 r=`${PWD_COMMAND}`; export r; \
30449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30450 $(HOST_EXPORTS) \
30451 for flag in $(EXTRA_HOST_FLAGS) ; do \
30452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30453 done; \
30454 echo "Doing dvi in lto-plugin" ; \
30455 (cd $(HOST_SUBDIR)/lto-plugin && \
30456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30458 "RANLIB=$${RANLIB}" \
30459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30460 dvi) \
30461 || exit 1
30463 @endif lto-plugin
30465 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30466 maybe-pdf-lto-plugin:
30467 @if lto-plugin
30468 maybe-pdf-lto-plugin: pdf-lto-plugin
30470 pdf-lto-plugin: \
30471 configure-lto-plugin
30472 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30473 r=`${PWD_COMMAND}`; export r; \
30474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30475 $(HOST_EXPORTS) \
30476 for flag in $(EXTRA_HOST_FLAGS) ; do \
30477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30478 done; \
30479 echo "Doing pdf in lto-plugin" ; \
30480 (cd $(HOST_SUBDIR)/lto-plugin && \
30481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30483 "RANLIB=$${RANLIB}" \
30484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30485 pdf) \
30486 || exit 1
30488 @endif lto-plugin
30490 .PHONY: maybe-html-lto-plugin html-lto-plugin
30491 maybe-html-lto-plugin:
30492 @if lto-plugin
30493 maybe-html-lto-plugin: html-lto-plugin
30495 html-lto-plugin: \
30496 configure-lto-plugin
30497 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30498 r=`${PWD_COMMAND}`; export r; \
30499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30500 $(HOST_EXPORTS) \
30501 for flag in $(EXTRA_HOST_FLAGS) ; do \
30502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30503 done; \
30504 echo "Doing html in lto-plugin" ; \
30505 (cd $(HOST_SUBDIR)/lto-plugin && \
30506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30508 "RANLIB=$${RANLIB}" \
30509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30510 html) \
30511 || exit 1
30513 @endif lto-plugin
30515 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30516 maybe-TAGS-lto-plugin:
30517 @if lto-plugin
30518 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30520 TAGS-lto-plugin: \
30521 configure-lto-plugin
30522 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30523 r=`${PWD_COMMAND}`; export r; \
30524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30525 $(HOST_EXPORTS) \
30526 for flag in $(EXTRA_HOST_FLAGS) ; do \
30527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30528 done; \
30529 echo "Doing TAGS in lto-plugin" ; \
30530 (cd $(HOST_SUBDIR)/lto-plugin && \
30531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30533 "RANLIB=$${RANLIB}" \
30534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30535 TAGS) \
30536 || exit 1
30538 @endif lto-plugin
30540 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30541 maybe-install-info-lto-plugin:
30542 @if lto-plugin
30543 maybe-install-info-lto-plugin: install-info-lto-plugin
30545 install-info-lto-plugin: \
30546 configure-lto-plugin \
30547 info-lto-plugin
30548 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30549 r=`${PWD_COMMAND}`; export r; \
30550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30551 $(HOST_EXPORTS) \
30552 for flag in $(EXTRA_HOST_FLAGS) ; do \
30553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30554 done; \
30555 echo "Doing install-info in lto-plugin" ; \
30556 (cd $(HOST_SUBDIR)/lto-plugin && \
30557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30559 "RANLIB=$${RANLIB}" \
30560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30561 install-info) \
30562 || exit 1
30564 @endif lto-plugin
30566 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30567 maybe-install-pdf-lto-plugin:
30568 @if lto-plugin
30569 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30571 install-pdf-lto-plugin: \
30572 configure-lto-plugin \
30573 pdf-lto-plugin
30574 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30575 r=`${PWD_COMMAND}`; export r; \
30576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30577 $(HOST_EXPORTS) \
30578 for flag in $(EXTRA_HOST_FLAGS) ; do \
30579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30580 done; \
30581 echo "Doing install-pdf in lto-plugin" ; \
30582 (cd $(HOST_SUBDIR)/lto-plugin && \
30583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30585 "RANLIB=$${RANLIB}" \
30586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30587 install-pdf) \
30588 || exit 1
30590 @endif lto-plugin
30592 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30593 maybe-install-html-lto-plugin:
30594 @if lto-plugin
30595 maybe-install-html-lto-plugin: install-html-lto-plugin
30597 install-html-lto-plugin: \
30598 configure-lto-plugin \
30599 html-lto-plugin
30600 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30601 r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 $(HOST_EXPORTS) \
30604 for flag in $(EXTRA_HOST_FLAGS) ; do \
30605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30606 done; \
30607 echo "Doing install-html in lto-plugin" ; \
30608 (cd $(HOST_SUBDIR)/lto-plugin && \
30609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30611 "RANLIB=$${RANLIB}" \
30612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30613 install-html) \
30614 || exit 1
30616 @endif lto-plugin
30618 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30619 maybe-installcheck-lto-plugin:
30620 @if lto-plugin
30621 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30623 installcheck-lto-plugin: \
30624 configure-lto-plugin
30625 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30626 r=`${PWD_COMMAND}`; export r; \
30627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30628 $(HOST_EXPORTS) \
30629 for flag in $(EXTRA_HOST_FLAGS) ; do \
30630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30631 done; \
30632 echo "Doing installcheck in lto-plugin" ; \
30633 (cd $(HOST_SUBDIR)/lto-plugin && \
30634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30636 "RANLIB=$${RANLIB}" \
30637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30638 installcheck) \
30639 || exit 1
30641 @endif lto-plugin
30643 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30644 maybe-mostlyclean-lto-plugin:
30645 @if lto-plugin
30646 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30648 mostlyclean-lto-plugin:
30649 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30650 r=`${PWD_COMMAND}`; export r; \
30651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30652 $(HOST_EXPORTS) \
30653 for flag in $(EXTRA_HOST_FLAGS) ; do \
30654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30655 done; \
30656 echo "Doing mostlyclean in lto-plugin" ; \
30657 (cd $(HOST_SUBDIR)/lto-plugin && \
30658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30660 "RANLIB=$${RANLIB}" \
30661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30662 mostlyclean) \
30663 || exit 1
30665 @endif lto-plugin
30667 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30668 maybe-clean-lto-plugin:
30669 @if lto-plugin
30670 maybe-clean-lto-plugin: clean-lto-plugin
30672 clean-lto-plugin:
30673 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30674 r=`${PWD_COMMAND}`; export r; \
30675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30676 $(HOST_EXPORTS) \
30677 for flag in $(EXTRA_HOST_FLAGS) ; do \
30678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30679 done; \
30680 echo "Doing clean in lto-plugin" ; \
30681 (cd $(HOST_SUBDIR)/lto-plugin && \
30682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30684 "RANLIB=$${RANLIB}" \
30685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30686 clean) \
30687 || exit 1
30689 @endif lto-plugin
30691 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30692 maybe-distclean-lto-plugin:
30693 @if lto-plugin
30694 maybe-distclean-lto-plugin: distclean-lto-plugin
30696 distclean-lto-plugin:
30697 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30698 r=`${PWD_COMMAND}`; export r; \
30699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30700 $(HOST_EXPORTS) \
30701 for flag in $(EXTRA_HOST_FLAGS) ; do \
30702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30703 done; \
30704 echo "Doing distclean in lto-plugin" ; \
30705 (cd $(HOST_SUBDIR)/lto-plugin && \
30706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30708 "RANLIB=$${RANLIB}" \
30709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30710 distclean) \
30711 || exit 1
30713 @endif lto-plugin
30715 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30716 maybe-maintainer-clean-lto-plugin:
30717 @if lto-plugin
30718 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30720 maintainer-clean-lto-plugin:
30721 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30722 r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 $(HOST_EXPORTS) \
30725 for flag in $(EXTRA_HOST_FLAGS) ; do \
30726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30727 done; \
30728 echo "Doing maintainer-clean in lto-plugin" ; \
30729 (cd $(HOST_SUBDIR)/lto-plugin && \
30730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30732 "RANLIB=$${RANLIB}" \
30733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30734 maintainer-clean) \
30735 || exit 1
30737 @endif lto-plugin
30741 # ---------------------------------------
30742 # Modules which run on the target machine
30743 # ---------------------------------------
30748 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30749 maybe-configure-target-libstdc++-v3:
30750 @if gcc-bootstrap
30751 configure-target-libstdc++-v3: stage_current
30752 @endif gcc-bootstrap
30753 @if target-libstdc++-v3
30754 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30755 configure-target-libstdc++-v3:
30756 @r=`${PWD_COMMAND}`; export r; \
30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30758 echo "Checking multilib configuration for libstdc++-v3..."; \
30759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30760 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30761 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30762 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30763 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30764 else \
30765 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30766 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30767 fi; \
30768 else \
30769 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30770 fi; \
30771 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30773 $(RAW_CXX_TARGET_EXPORTS) \
30774 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30775 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30776 case $(srcdir) in \
30777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30778 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30780 esac; \
30781 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30782 libsrcdir="$$s/libstdc++-v3"; \
30783 rm -f no-such-file || : ; \
30784 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30785 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30786 --target=${target_alias} $${srcdiroption} \
30787 || exit 1
30788 @endif target-libstdc++-v3
30792 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30793 maybe-configure-stage1-target-libstdc++-v3:
30794 @if target-libstdc++-v3-bootstrap
30795 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30796 configure-stage1-target-libstdc++-v3:
30797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30798 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30799 @r=`${PWD_COMMAND}`; export r; \
30800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30801 TFLAGS="$(STAGE1_TFLAGS)"; \
30802 echo "Checking multilib configuration for libstdc++-v3..."; \
30803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30804 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30805 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30806 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30807 else \
30808 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30809 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30810 fi; \
30811 else \
30812 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30813 fi; \
30814 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30815 $(RAW_CXX_TARGET_EXPORTS) \
30816 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30817 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30818 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30819 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30820 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30821 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30822 case $(srcdir) in \
30823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30824 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30826 esac; \
30827 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30828 libsrcdir="$$s/libstdc++-v3"; \
30829 $(SHELL) $${libsrcdir}/configure \
30830 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30831 --target=${target_alias} $${srcdiroption} \
30832 $(STAGE1_CONFIGURE_FLAGS)
30833 @endif target-libstdc++-v3-bootstrap
30835 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30836 maybe-configure-stage2-target-libstdc++-v3:
30837 @if target-libstdc++-v3-bootstrap
30838 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30839 configure-stage2-target-libstdc++-v3:
30840 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30841 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30842 @r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 TFLAGS="$(STAGE2_TFLAGS)"; \
30845 echo "Checking multilib configuration for libstdc++-v3..."; \
30846 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30847 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30848 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30849 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30850 else \
30851 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30852 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30853 fi; \
30854 else \
30855 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30856 fi; \
30857 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30858 $(RAW_CXX_TARGET_EXPORTS) \
30860 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30861 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30862 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30863 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30865 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30866 case $(srcdir) in \
30867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30868 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30870 esac; \
30871 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30872 libsrcdir="$$s/libstdc++-v3"; \
30873 $(SHELL) $${libsrcdir}/configure \
30874 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30875 --target=${target_alias} $${srcdiroption} \
30876 --with-build-libsubdir=$(HOST_SUBDIR) \
30877 $(STAGE2_CONFIGURE_FLAGS)
30878 @endif target-libstdc++-v3-bootstrap
30880 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30881 maybe-configure-stage3-target-libstdc++-v3:
30882 @if target-libstdc++-v3-bootstrap
30883 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30884 configure-stage3-target-libstdc++-v3:
30885 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30886 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30887 @r=`${PWD_COMMAND}`; export r; \
30888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30889 TFLAGS="$(STAGE3_TFLAGS)"; \
30890 echo "Checking multilib configuration for libstdc++-v3..."; \
30891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30892 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30893 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30894 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30895 else \
30896 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30897 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30898 fi; \
30899 else \
30900 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30901 fi; \
30902 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30903 $(RAW_CXX_TARGET_EXPORTS) \
30905 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30906 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30907 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30908 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30910 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30911 case $(srcdir) in \
30912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30913 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30915 esac; \
30916 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30917 libsrcdir="$$s/libstdc++-v3"; \
30918 $(SHELL) $${libsrcdir}/configure \
30919 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30920 --target=${target_alias} $${srcdiroption} \
30921 --with-build-libsubdir=$(HOST_SUBDIR) \
30922 $(STAGE3_CONFIGURE_FLAGS)
30923 @endif target-libstdc++-v3-bootstrap
30925 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30926 maybe-configure-stage4-target-libstdc++-v3:
30927 @if target-libstdc++-v3-bootstrap
30928 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30929 configure-stage4-target-libstdc++-v3:
30930 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30931 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30932 @r=`${PWD_COMMAND}`; export r; \
30933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30934 TFLAGS="$(STAGE4_TFLAGS)"; \
30935 echo "Checking multilib configuration for libstdc++-v3..."; \
30936 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30937 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30938 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30939 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30940 else \
30941 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30942 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30943 fi; \
30944 else \
30945 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30946 fi; \
30947 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30948 $(RAW_CXX_TARGET_EXPORTS) \
30950 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30951 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30952 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30953 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30955 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30956 case $(srcdir) in \
30957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30958 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30960 esac; \
30961 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30962 libsrcdir="$$s/libstdc++-v3"; \
30963 $(SHELL) $${libsrcdir}/configure \
30964 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30965 --target=${target_alias} $${srcdiroption} \
30966 --with-build-libsubdir=$(HOST_SUBDIR) \
30967 $(STAGE4_CONFIGURE_FLAGS)
30968 @endif target-libstdc++-v3-bootstrap
30970 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30971 maybe-configure-stageprofile-target-libstdc++-v3:
30972 @if target-libstdc++-v3-bootstrap
30973 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30974 configure-stageprofile-target-libstdc++-v3:
30975 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30976 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30977 @r=`${PWD_COMMAND}`; export r; \
30978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30979 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30980 echo "Checking multilib configuration for libstdc++-v3..."; \
30981 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30982 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30983 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30984 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30985 else \
30986 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30987 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30988 fi; \
30989 else \
30990 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30991 fi; \
30992 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30993 $(RAW_CXX_TARGET_EXPORTS) \
30995 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30996 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30997 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30998 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31000 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31001 case $(srcdir) in \
31002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31003 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31005 esac; \
31006 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31007 libsrcdir="$$s/libstdc++-v3"; \
31008 $(SHELL) $${libsrcdir}/configure \
31009 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31010 --target=${target_alias} $${srcdiroption} \
31011 --with-build-libsubdir=$(HOST_SUBDIR) \
31012 $(STAGEprofile_CONFIGURE_FLAGS)
31013 @endif target-libstdc++-v3-bootstrap
31015 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31016 maybe-configure-stagefeedback-target-libstdc++-v3:
31017 @if target-libstdc++-v3-bootstrap
31018 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31019 configure-stagefeedback-target-libstdc++-v3:
31020 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31021 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31022 @r=`${PWD_COMMAND}`; export r; \
31023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31024 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31025 echo "Checking multilib configuration for libstdc++-v3..."; \
31026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31027 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31028 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31029 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31030 else \
31031 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31032 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31033 fi; \
31034 else \
31035 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31036 fi; \
31037 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31038 $(RAW_CXX_TARGET_EXPORTS) \
31040 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31043 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31045 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31046 case $(srcdir) in \
31047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31048 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31050 esac; \
31051 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31052 libsrcdir="$$s/libstdc++-v3"; \
31053 $(SHELL) $${libsrcdir}/configure \
31054 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31055 --target=${target_alias} $${srcdiroption} \
31056 --with-build-libsubdir=$(HOST_SUBDIR) \
31057 $(STAGEfeedback_CONFIGURE_FLAGS)
31058 @endif target-libstdc++-v3-bootstrap
31064 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31065 maybe-all-target-libstdc++-v3:
31066 @if gcc-bootstrap
31067 all-target-libstdc++-v3: stage_current
31068 @endif gcc-bootstrap
31069 @if target-libstdc++-v3
31070 TARGET-target-libstdc++-v3=all
31071 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31072 all-target-libstdc++-v3: configure-target-libstdc++-v3
31073 @r=`${PWD_COMMAND}`; export r; \
31074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 $(RAW_CXX_TARGET_EXPORTS) \
31076 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31077 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31078 $(TARGET-target-libstdc++-v3))
31079 @endif target-libstdc++-v3
31083 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31084 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31085 maybe-all-stage1-target-libstdc++-v3:
31086 maybe-clean-stage1-target-libstdc++-v3:
31087 @if target-libstdc++-v3-bootstrap
31088 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31089 all-stage1: all-stage1-target-libstdc++-v3
31090 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31091 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31092 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31093 @r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 TFLAGS="$(STAGE1_TFLAGS)"; \
31096 $(RAW_CXX_TARGET_EXPORTS) \
31097 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31099 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31100 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31101 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31105 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31107 TFLAGS="$(STAGE1_TFLAGS)" \
31108 $(TARGET-stage1-target-libstdc++-v3)
31110 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31111 clean-stage1: clean-stage1-target-libstdc++-v3
31112 clean-stage1-target-libstdc++-v3:
31113 @if [ $(current_stage) = stage1 ]; then \
31114 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31115 else \
31116 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31117 $(MAKE) stage1-start; \
31118 fi; \
31119 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31120 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31121 clean
31122 @endif target-libstdc++-v3-bootstrap
31125 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31126 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31127 maybe-all-stage2-target-libstdc++-v3:
31128 maybe-clean-stage2-target-libstdc++-v3:
31129 @if target-libstdc++-v3-bootstrap
31130 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31131 all-stage2: all-stage2-target-libstdc++-v3
31132 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31133 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31134 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31135 @r=`${PWD_COMMAND}`; export r; \
31136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31137 TFLAGS="$(STAGE2_TFLAGS)"; \
31138 $(RAW_CXX_TARGET_EXPORTS) \
31140 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31142 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31143 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31144 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31148 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31149 TFLAGS="$(STAGE2_TFLAGS)" \
31150 $(TARGET-stage2-target-libstdc++-v3)
31152 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31153 clean-stage2: clean-stage2-target-libstdc++-v3
31154 clean-stage2-target-libstdc++-v3:
31155 @if [ $(current_stage) = stage2 ]; then \
31156 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31157 else \
31158 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31159 $(MAKE) stage2-start; \
31160 fi; \
31161 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31162 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31163 @endif target-libstdc++-v3-bootstrap
31166 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31167 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31168 maybe-all-stage3-target-libstdc++-v3:
31169 maybe-clean-stage3-target-libstdc++-v3:
31170 @if target-libstdc++-v3-bootstrap
31171 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31172 all-stage3: all-stage3-target-libstdc++-v3
31173 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31174 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31175 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31176 @r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 TFLAGS="$(STAGE3_TFLAGS)"; \
31179 $(RAW_CXX_TARGET_EXPORTS) \
31181 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31183 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31184 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31185 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31189 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31190 TFLAGS="$(STAGE3_TFLAGS)" \
31191 $(TARGET-stage3-target-libstdc++-v3)
31193 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31194 clean-stage3: clean-stage3-target-libstdc++-v3
31195 clean-stage3-target-libstdc++-v3:
31196 @if [ $(current_stage) = stage3 ]; then \
31197 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31198 else \
31199 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31200 $(MAKE) stage3-start; \
31201 fi; \
31202 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31203 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31204 @endif target-libstdc++-v3-bootstrap
31207 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31208 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31209 maybe-all-stage4-target-libstdc++-v3:
31210 maybe-clean-stage4-target-libstdc++-v3:
31211 @if target-libstdc++-v3-bootstrap
31212 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31213 all-stage4: all-stage4-target-libstdc++-v3
31214 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31215 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31216 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31217 @r=`${PWD_COMMAND}`; export r; \
31218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31219 TFLAGS="$(STAGE4_TFLAGS)"; \
31220 $(RAW_CXX_TARGET_EXPORTS) \
31222 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31224 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31225 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31226 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31230 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31231 TFLAGS="$(STAGE4_TFLAGS)" \
31232 $(TARGET-stage4-target-libstdc++-v3)
31234 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31235 clean-stage4: clean-stage4-target-libstdc++-v3
31236 clean-stage4-target-libstdc++-v3:
31237 @if [ $(current_stage) = stage4 ]; then \
31238 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31239 else \
31240 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31241 $(MAKE) stage4-start; \
31242 fi; \
31243 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31244 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31245 @endif target-libstdc++-v3-bootstrap
31248 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31249 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31250 maybe-all-stageprofile-target-libstdc++-v3:
31251 maybe-clean-stageprofile-target-libstdc++-v3:
31252 @if target-libstdc++-v3-bootstrap
31253 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31254 all-stageprofile: all-stageprofile-target-libstdc++-v3
31255 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31256 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31257 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31258 @r=`${PWD_COMMAND}`; export r; \
31259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31260 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31261 $(RAW_CXX_TARGET_EXPORTS) \
31263 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31265 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31266 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31267 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31268 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31269 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31270 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31271 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31272 TFLAGS="$(STAGEprofile_TFLAGS)" \
31273 $(TARGET-stageprofile-target-libstdc++-v3)
31275 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31276 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31277 clean-stageprofile-target-libstdc++-v3:
31278 @if [ $(current_stage) = stageprofile ]; then \
31279 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31280 else \
31281 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31282 $(MAKE) stageprofile-start; \
31283 fi; \
31284 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31285 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31286 @endif target-libstdc++-v3-bootstrap
31289 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31290 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31291 maybe-all-stagefeedback-target-libstdc++-v3:
31292 maybe-clean-stagefeedback-target-libstdc++-v3:
31293 @if target-libstdc++-v3-bootstrap
31294 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31295 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31296 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31297 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31298 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31299 @r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31302 $(RAW_CXX_TARGET_EXPORTS) \
31304 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31306 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31312 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31313 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31314 $(TARGET-stagefeedback-target-libstdc++-v3)
31316 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31317 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31318 clean-stagefeedback-target-libstdc++-v3:
31319 @if [ $(current_stage) = stagefeedback ]; then \
31320 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31321 else \
31322 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31323 $(MAKE) stagefeedback-start; \
31324 fi; \
31325 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31326 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31327 @endif target-libstdc++-v3-bootstrap
31334 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31335 maybe-check-target-libstdc++-v3:
31336 @if target-libstdc++-v3
31337 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31339 check-target-libstdc++-v3:
31340 @: $(MAKE); $(unstage)
31341 @r=`${PWD_COMMAND}`; export r; \
31342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31343 $(RAW_CXX_TARGET_EXPORTS) \
31344 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31345 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31347 @endif target-libstdc++-v3
31349 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31350 maybe-install-target-libstdc++-v3:
31351 @if target-libstdc++-v3
31352 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31354 install-target-libstdc++-v3: installdirs
31355 @: $(MAKE); $(unstage)
31356 @r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 $(RAW_CXX_TARGET_EXPORTS) \
31359 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31360 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31362 @endif target-libstdc++-v3
31364 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31365 maybe-install-strip-target-libstdc++-v3:
31366 @if target-libstdc++-v3
31367 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31369 install-strip-target-libstdc++-v3: installdirs
31370 @: $(MAKE); $(unstage)
31371 @r=`${PWD_COMMAND}`; export r; \
31372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31373 $(RAW_CXX_TARGET_EXPORTS) \
31374 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31377 @endif target-libstdc++-v3
31379 # Other targets (info, dvi, pdf, etc.)
31381 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31382 maybe-info-target-libstdc++-v3:
31383 @if target-libstdc++-v3
31384 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31386 info-target-libstdc++-v3: \
31387 configure-target-libstdc++-v3
31388 @: $(MAKE); $(unstage)
31389 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31390 r=`${PWD_COMMAND}`; export r; \
31391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31392 $(RAW_CXX_TARGET_EXPORTS) \
31393 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31394 for flag in $(EXTRA_TARGET_FLAGS); do \
31395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31396 done; \
31397 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31400 "RANLIB=$${RANLIB}" \
31401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31402 info) \
31403 || exit 1
31405 @endif target-libstdc++-v3
31407 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31408 maybe-dvi-target-libstdc++-v3:
31409 @if target-libstdc++-v3
31410 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31412 dvi-target-libstdc++-v3: \
31413 configure-target-libstdc++-v3
31414 @: $(MAKE); $(unstage)
31415 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31416 r=`${PWD_COMMAND}`; export r; \
31417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31418 $(RAW_CXX_TARGET_EXPORTS) \
31419 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31420 for flag in $(EXTRA_TARGET_FLAGS); do \
31421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31422 done; \
31423 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31426 "RANLIB=$${RANLIB}" \
31427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31428 dvi) \
31429 || exit 1
31431 @endif target-libstdc++-v3
31433 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31434 maybe-pdf-target-libstdc++-v3:
31435 @if target-libstdc++-v3
31436 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31438 pdf-target-libstdc++-v3: \
31439 configure-target-libstdc++-v3
31440 @: $(MAKE); $(unstage)
31441 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31442 r=`${PWD_COMMAND}`; export r; \
31443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31444 $(RAW_CXX_TARGET_EXPORTS) \
31445 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31446 for flag in $(EXTRA_TARGET_FLAGS); do \
31447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31448 done; \
31449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31452 "RANLIB=$${RANLIB}" \
31453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31454 pdf) \
31455 || exit 1
31457 @endif target-libstdc++-v3
31459 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31460 maybe-html-target-libstdc++-v3:
31461 @if target-libstdc++-v3
31462 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31464 html-target-libstdc++-v3: \
31465 configure-target-libstdc++-v3
31466 @: $(MAKE); $(unstage)
31467 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31468 r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(RAW_CXX_TARGET_EXPORTS) \
31471 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31472 for flag in $(EXTRA_TARGET_FLAGS); do \
31473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31474 done; \
31475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31478 "RANLIB=$${RANLIB}" \
31479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31480 html) \
31481 || exit 1
31483 @endif target-libstdc++-v3
31485 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31486 maybe-TAGS-target-libstdc++-v3:
31487 @if target-libstdc++-v3
31488 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31490 TAGS-target-libstdc++-v3: \
31491 configure-target-libstdc++-v3
31492 @: $(MAKE); $(unstage)
31493 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31494 r=`${PWD_COMMAND}`; export r; \
31495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31496 $(RAW_CXX_TARGET_EXPORTS) \
31497 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31498 for flag in $(EXTRA_TARGET_FLAGS); do \
31499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31500 done; \
31501 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31504 "RANLIB=$${RANLIB}" \
31505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31506 TAGS) \
31507 || exit 1
31509 @endif target-libstdc++-v3
31511 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31512 maybe-install-info-target-libstdc++-v3:
31513 @if target-libstdc++-v3
31514 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31516 install-info-target-libstdc++-v3: \
31517 configure-target-libstdc++-v3 \
31518 info-target-libstdc++-v3
31519 @: $(MAKE); $(unstage)
31520 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31521 r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(RAW_CXX_TARGET_EXPORTS) \
31524 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31525 for flag in $(EXTRA_TARGET_FLAGS); do \
31526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31527 done; \
31528 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31531 "RANLIB=$${RANLIB}" \
31532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31533 install-info) \
31534 || exit 1
31536 @endif target-libstdc++-v3
31538 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31539 maybe-install-pdf-target-libstdc++-v3:
31540 @if target-libstdc++-v3
31541 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31543 install-pdf-target-libstdc++-v3: \
31544 configure-target-libstdc++-v3 \
31545 pdf-target-libstdc++-v3
31546 @: $(MAKE); $(unstage)
31547 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31548 r=`${PWD_COMMAND}`; export r; \
31549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31550 $(RAW_CXX_TARGET_EXPORTS) \
31551 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31552 for flag in $(EXTRA_TARGET_FLAGS); do \
31553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31554 done; \
31555 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31558 "RANLIB=$${RANLIB}" \
31559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31560 install-pdf) \
31561 || exit 1
31563 @endif target-libstdc++-v3
31565 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31566 maybe-install-html-target-libstdc++-v3:
31567 @if target-libstdc++-v3
31568 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31570 install-html-target-libstdc++-v3: \
31571 configure-target-libstdc++-v3 \
31572 html-target-libstdc++-v3
31573 @: $(MAKE); $(unstage)
31574 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31575 r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(RAW_CXX_TARGET_EXPORTS) \
31578 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31579 for flag in $(EXTRA_TARGET_FLAGS); do \
31580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31581 done; \
31582 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31585 "RANLIB=$${RANLIB}" \
31586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31587 install-html) \
31588 || exit 1
31590 @endif target-libstdc++-v3
31592 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31593 maybe-installcheck-target-libstdc++-v3:
31594 @if target-libstdc++-v3
31595 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31597 installcheck-target-libstdc++-v3: \
31598 configure-target-libstdc++-v3
31599 @: $(MAKE); $(unstage)
31600 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31601 r=`${PWD_COMMAND}`; export r; \
31602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31603 $(RAW_CXX_TARGET_EXPORTS) \
31604 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31605 for flag in $(EXTRA_TARGET_FLAGS); do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31611 "RANLIB=$${RANLIB}" \
31612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31613 installcheck) \
31614 || exit 1
31616 @endif target-libstdc++-v3
31618 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31619 maybe-mostlyclean-target-libstdc++-v3:
31620 @if target-libstdc++-v3
31621 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31623 mostlyclean-target-libstdc++-v3:
31624 @: $(MAKE); $(unstage)
31625 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31626 r=`${PWD_COMMAND}`; export r; \
31627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31628 $(RAW_CXX_TARGET_EXPORTS) \
31629 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31630 for flag in $(EXTRA_TARGET_FLAGS); do \
31631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31632 done; \
31633 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31636 "RANLIB=$${RANLIB}" \
31637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31638 mostlyclean) \
31639 || exit 1
31641 @endif target-libstdc++-v3
31643 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31644 maybe-clean-target-libstdc++-v3:
31645 @if target-libstdc++-v3
31646 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31648 clean-target-libstdc++-v3:
31649 @: $(MAKE); $(unstage)
31650 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31651 r=`${PWD_COMMAND}`; export r; \
31652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31653 $(RAW_CXX_TARGET_EXPORTS) \
31654 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31655 for flag in $(EXTRA_TARGET_FLAGS); do \
31656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31657 done; \
31658 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31661 "RANLIB=$${RANLIB}" \
31662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31663 clean) \
31664 || exit 1
31666 @endif target-libstdc++-v3
31668 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31669 maybe-distclean-target-libstdc++-v3:
31670 @if target-libstdc++-v3
31671 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31673 distclean-target-libstdc++-v3:
31674 @: $(MAKE); $(unstage)
31675 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31676 r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(RAW_CXX_TARGET_EXPORTS) \
31679 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31680 for flag in $(EXTRA_TARGET_FLAGS); do \
31681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31682 done; \
31683 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31686 "RANLIB=$${RANLIB}" \
31687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31688 distclean) \
31689 || exit 1
31691 @endif target-libstdc++-v3
31693 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31694 maybe-maintainer-clean-target-libstdc++-v3:
31695 @if target-libstdc++-v3
31696 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31698 maintainer-clean-target-libstdc++-v3:
31699 @: $(MAKE); $(unstage)
31700 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31701 r=`${PWD_COMMAND}`; export r; \
31702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31703 $(RAW_CXX_TARGET_EXPORTS) \
31704 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31705 for flag in $(EXTRA_TARGET_FLAGS); do \
31706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31707 done; \
31708 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31711 "RANLIB=$${RANLIB}" \
31712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31713 maintainer-clean) \
31714 || exit 1
31716 @endif target-libstdc++-v3
31722 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31723 maybe-configure-target-libmudflap:
31724 @if gcc-bootstrap
31725 configure-target-libmudflap: stage_current
31726 @endif gcc-bootstrap
31727 @if target-libmudflap
31728 maybe-configure-target-libmudflap: configure-target-libmudflap
31729 configure-target-libmudflap:
31730 @: $(MAKE); $(unstage)
31731 @r=`${PWD_COMMAND}`; export r; \
31732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31733 echo "Checking multilib configuration for libmudflap..."; \
31734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31735 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31736 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31737 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31738 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31739 else \
31740 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31741 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31742 fi; \
31743 else \
31744 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31745 fi; \
31746 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31748 $(NORMAL_TARGET_EXPORTS) \
31749 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31750 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31751 case $(srcdir) in \
31752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31753 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31755 esac; \
31756 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31757 libsrcdir="$$s/libmudflap"; \
31758 rm -f no-such-file || : ; \
31759 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31760 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31761 --target=${target_alias} $${srcdiroption} \
31762 || exit 1
31763 @endif target-libmudflap
31769 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31770 maybe-all-target-libmudflap:
31771 @if gcc-bootstrap
31772 all-target-libmudflap: stage_current
31773 @endif gcc-bootstrap
31774 @if target-libmudflap
31775 TARGET-target-libmudflap=all
31776 maybe-all-target-libmudflap: all-target-libmudflap
31777 all-target-libmudflap: configure-target-libmudflap
31778 @: $(MAKE); $(unstage)
31779 @r=`${PWD_COMMAND}`; export r; \
31780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31781 $(NORMAL_TARGET_EXPORTS) \
31782 (cd $(TARGET_SUBDIR)/libmudflap && \
31783 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31784 $(TARGET-target-libmudflap))
31785 @endif target-libmudflap
31791 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31792 maybe-check-target-libmudflap:
31793 @if target-libmudflap
31794 maybe-check-target-libmudflap: check-target-libmudflap
31796 check-target-libmudflap:
31797 @: $(MAKE); $(unstage)
31798 @r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(NORMAL_TARGET_EXPORTS) \
31801 (cd $(TARGET_SUBDIR)/libmudflap && \
31802 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31804 @endif target-libmudflap
31806 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31807 maybe-install-target-libmudflap:
31808 @if target-libmudflap
31809 maybe-install-target-libmudflap: install-target-libmudflap
31811 install-target-libmudflap: installdirs
31812 @: $(MAKE); $(unstage)
31813 @r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(NORMAL_TARGET_EXPORTS) \
31816 (cd $(TARGET_SUBDIR)/libmudflap && \
31817 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31819 @endif target-libmudflap
31821 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31822 maybe-install-strip-target-libmudflap:
31823 @if target-libmudflap
31824 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31826 install-strip-target-libmudflap: installdirs
31827 @: $(MAKE); $(unstage)
31828 @r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(NORMAL_TARGET_EXPORTS) \
31831 (cd $(TARGET_SUBDIR)/libmudflap && \
31832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31834 @endif target-libmudflap
31836 # Other targets (info, dvi, pdf, etc.)
31838 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31839 maybe-info-target-libmudflap:
31840 @if target-libmudflap
31841 maybe-info-target-libmudflap: info-target-libmudflap
31843 info-target-libmudflap: \
31844 configure-target-libmudflap
31845 @: $(MAKE); $(unstage)
31846 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31847 r=`${PWD_COMMAND}`; export r; \
31848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31849 $(NORMAL_TARGET_EXPORTS) \
31850 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31851 for flag in $(EXTRA_TARGET_FLAGS); do \
31852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31853 done; \
31854 (cd $(TARGET_SUBDIR)/libmudflap && \
31855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31857 "RANLIB=$${RANLIB}" \
31858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31859 info) \
31860 || exit 1
31862 @endif target-libmudflap
31864 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31865 maybe-dvi-target-libmudflap:
31866 @if target-libmudflap
31867 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31869 dvi-target-libmudflap: \
31870 configure-target-libmudflap
31871 @: $(MAKE); $(unstage)
31872 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31873 r=`${PWD_COMMAND}`; export r; \
31874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31875 $(NORMAL_TARGET_EXPORTS) \
31876 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31877 for flag in $(EXTRA_TARGET_FLAGS); do \
31878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31879 done; \
31880 (cd $(TARGET_SUBDIR)/libmudflap && \
31881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31883 "RANLIB=$${RANLIB}" \
31884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31885 dvi) \
31886 || exit 1
31888 @endif target-libmudflap
31890 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31891 maybe-pdf-target-libmudflap:
31892 @if target-libmudflap
31893 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31895 pdf-target-libmudflap: \
31896 configure-target-libmudflap
31897 @: $(MAKE); $(unstage)
31898 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31899 r=`${PWD_COMMAND}`; export r; \
31900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31901 $(NORMAL_TARGET_EXPORTS) \
31902 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31903 for flag in $(EXTRA_TARGET_FLAGS); do \
31904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31905 done; \
31906 (cd $(TARGET_SUBDIR)/libmudflap && \
31907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31909 "RANLIB=$${RANLIB}" \
31910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31911 pdf) \
31912 || exit 1
31914 @endif target-libmudflap
31916 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31917 maybe-html-target-libmudflap:
31918 @if target-libmudflap
31919 maybe-html-target-libmudflap: html-target-libmudflap
31921 html-target-libmudflap: \
31922 configure-target-libmudflap
31923 @: $(MAKE); $(unstage)
31924 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31925 r=`${PWD_COMMAND}`; export r; \
31926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31927 $(NORMAL_TARGET_EXPORTS) \
31928 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31929 for flag in $(EXTRA_TARGET_FLAGS); do \
31930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31931 done; \
31932 (cd $(TARGET_SUBDIR)/libmudflap && \
31933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31935 "RANLIB=$${RANLIB}" \
31936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31937 html) \
31938 || exit 1
31940 @endif target-libmudflap
31942 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31943 maybe-TAGS-target-libmudflap:
31944 @if target-libmudflap
31945 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31947 TAGS-target-libmudflap: \
31948 configure-target-libmudflap
31949 @: $(MAKE); $(unstage)
31950 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31951 r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 $(NORMAL_TARGET_EXPORTS) \
31954 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31955 for flag in $(EXTRA_TARGET_FLAGS); do \
31956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31957 done; \
31958 (cd $(TARGET_SUBDIR)/libmudflap && \
31959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31961 "RANLIB=$${RANLIB}" \
31962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31963 TAGS) \
31964 || exit 1
31966 @endif target-libmudflap
31968 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31969 maybe-install-info-target-libmudflap:
31970 @if target-libmudflap
31971 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31973 install-info-target-libmudflap: \
31974 configure-target-libmudflap \
31975 info-target-libmudflap
31976 @: $(MAKE); $(unstage)
31977 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31978 r=`${PWD_COMMAND}`; export r; \
31979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31980 $(NORMAL_TARGET_EXPORTS) \
31981 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31982 for flag in $(EXTRA_TARGET_FLAGS); do \
31983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31984 done; \
31985 (cd $(TARGET_SUBDIR)/libmudflap && \
31986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31988 "RANLIB=$${RANLIB}" \
31989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31990 install-info) \
31991 || exit 1
31993 @endif target-libmudflap
31995 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31996 maybe-install-pdf-target-libmudflap:
31997 @if target-libmudflap
31998 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32000 install-pdf-target-libmudflap: \
32001 configure-target-libmudflap \
32002 pdf-target-libmudflap
32003 @: $(MAKE); $(unstage)
32004 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32005 r=`${PWD_COMMAND}`; export r; \
32006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32007 $(NORMAL_TARGET_EXPORTS) \
32008 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32009 for flag in $(EXTRA_TARGET_FLAGS); do \
32010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32011 done; \
32012 (cd $(TARGET_SUBDIR)/libmudflap && \
32013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32015 "RANLIB=$${RANLIB}" \
32016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32017 install-pdf) \
32018 || exit 1
32020 @endif target-libmudflap
32022 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32023 maybe-install-html-target-libmudflap:
32024 @if target-libmudflap
32025 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32027 install-html-target-libmudflap: \
32028 configure-target-libmudflap \
32029 html-target-libmudflap
32030 @: $(MAKE); $(unstage)
32031 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32032 r=`${PWD_COMMAND}`; export r; \
32033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32034 $(NORMAL_TARGET_EXPORTS) \
32035 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32036 for flag in $(EXTRA_TARGET_FLAGS); do \
32037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32038 done; \
32039 (cd $(TARGET_SUBDIR)/libmudflap && \
32040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32042 "RANLIB=$${RANLIB}" \
32043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32044 install-html) \
32045 || exit 1
32047 @endif target-libmudflap
32049 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32050 maybe-installcheck-target-libmudflap:
32051 @if target-libmudflap
32052 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32054 installcheck-target-libmudflap: \
32055 configure-target-libmudflap
32056 @: $(MAKE); $(unstage)
32057 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32058 r=`${PWD_COMMAND}`; export r; \
32059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32060 $(NORMAL_TARGET_EXPORTS) \
32061 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32062 for flag in $(EXTRA_TARGET_FLAGS); do \
32063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32064 done; \
32065 (cd $(TARGET_SUBDIR)/libmudflap && \
32066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32068 "RANLIB=$${RANLIB}" \
32069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32070 installcheck) \
32071 || exit 1
32073 @endif target-libmudflap
32075 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32076 maybe-mostlyclean-target-libmudflap:
32077 @if target-libmudflap
32078 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32080 mostlyclean-target-libmudflap:
32081 @: $(MAKE); $(unstage)
32082 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32083 r=`${PWD_COMMAND}`; export r; \
32084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32085 $(NORMAL_TARGET_EXPORTS) \
32086 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32087 for flag in $(EXTRA_TARGET_FLAGS); do \
32088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32089 done; \
32090 (cd $(TARGET_SUBDIR)/libmudflap && \
32091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32093 "RANLIB=$${RANLIB}" \
32094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32095 mostlyclean) \
32096 || exit 1
32098 @endif target-libmudflap
32100 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32101 maybe-clean-target-libmudflap:
32102 @if target-libmudflap
32103 maybe-clean-target-libmudflap: clean-target-libmudflap
32105 clean-target-libmudflap:
32106 @: $(MAKE); $(unstage)
32107 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32108 r=`${PWD_COMMAND}`; export r; \
32109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32110 $(NORMAL_TARGET_EXPORTS) \
32111 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32112 for flag in $(EXTRA_TARGET_FLAGS); do \
32113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32114 done; \
32115 (cd $(TARGET_SUBDIR)/libmudflap && \
32116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32118 "RANLIB=$${RANLIB}" \
32119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32120 clean) \
32121 || exit 1
32123 @endif target-libmudflap
32125 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32126 maybe-distclean-target-libmudflap:
32127 @if target-libmudflap
32128 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32130 distclean-target-libmudflap:
32131 @: $(MAKE); $(unstage)
32132 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32133 r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(NORMAL_TARGET_EXPORTS) \
32136 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32137 for flag in $(EXTRA_TARGET_FLAGS); do \
32138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32139 done; \
32140 (cd $(TARGET_SUBDIR)/libmudflap && \
32141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32143 "RANLIB=$${RANLIB}" \
32144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32145 distclean) \
32146 || exit 1
32148 @endif target-libmudflap
32150 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32151 maybe-maintainer-clean-target-libmudflap:
32152 @if target-libmudflap
32153 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32155 maintainer-clean-target-libmudflap:
32156 @: $(MAKE); $(unstage)
32157 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32158 r=`${PWD_COMMAND}`; export r; \
32159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32160 $(NORMAL_TARGET_EXPORTS) \
32161 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32162 for flag in $(EXTRA_TARGET_FLAGS); do \
32163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32164 done; \
32165 (cd $(TARGET_SUBDIR)/libmudflap && \
32166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32168 "RANLIB=$${RANLIB}" \
32169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32170 maintainer-clean) \
32171 || exit 1
32173 @endif target-libmudflap
32179 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32180 maybe-configure-target-libsanitizer:
32181 @if gcc-bootstrap
32182 configure-target-libsanitizer: stage_current
32183 @endif gcc-bootstrap
32184 @if target-libsanitizer
32185 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32186 configure-target-libsanitizer:
32187 @: $(MAKE); $(unstage)
32188 @r=`${PWD_COMMAND}`; export r; \
32189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32190 echo "Checking multilib configuration for libsanitizer..."; \
32191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32192 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32193 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32194 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32195 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32196 else \
32197 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32198 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32199 fi; \
32200 else \
32201 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32202 fi; \
32203 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32204 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32205 $(NORMAL_TARGET_EXPORTS) \
32206 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32207 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32208 case $(srcdir) in \
32209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32210 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32212 esac; \
32213 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32214 libsrcdir="$$s/libsanitizer"; \
32215 rm -f no-such-file || : ; \
32216 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32217 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32218 --target=${target_alias} $${srcdiroption} \
32219 || exit 1
32220 @endif target-libsanitizer
32226 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32227 maybe-all-target-libsanitizer:
32228 @if gcc-bootstrap
32229 all-target-libsanitizer: stage_current
32230 @endif gcc-bootstrap
32231 @if target-libsanitizer
32232 TARGET-target-libsanitizer=all
32233 maybe-all-target-libsanitizer: all-target-libsanitizer
32234 all-target-libsanitizer: configure-target-libsanitizer
32235 @: $(MAKE); $(unstage)
32236 @r=`${PWD_COMMAND}`; export r; \
32237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32238 $(NORMAL_TARGET_EXPORTS) \
32239 (cd $(TARGET_SUBDIR)/libsanitizer && \
32240 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32241 $(TARGET-target-libsanitizer))
32242 @endif target-libsanitizer
32248 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32249 maybe-check-target-libsanitizer:
32250 @if target-libsanitizer
32251 maybe-check-target-libsanitizer: check-target-libsanitizer
32253 check-target-libsanitizer:
32254 @: $(MAKE); $(unstage)
32255 @r=`${PWD_COMMAND}`; export r; \
32256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32257 $(NORMAL_TARGET_EXPORTS) \
32258 (cd $(TARGET_SUBDIR)/libsanitizer && \
32259 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32261 @endif target-libsanitizer
32263 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32264 maybe-install-target-libsanitizer:
32265 @if target-libsanitizer
32266 maybe-install-target-libsanitizer: install-target-libsanitizer
32268 install-target-libsanitizer: installdirs
32269 @: $(MAKE); $(unstage)
32270 @r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(NORMAL_TARGET_EXPORTS) \
32273 (cd $(TARGET_SUBDIR)/libsanitizer && \
32274 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32276 @endif target-libsanitizer
32278 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32279 maybe-install-strip-target-libsanitizer:
32280 @if target-libsanitizer
32281 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32283 install-strip-target-libsanitizer: installdirs
32284 @: $(MAKE); $(unstage)
32285 @r=`${PWD_COMMAND}`; export r; \
32286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32287 $(NORMAL_TARGET_EXPORTS) \
32288 (cd $(TARGET_SUBDIR)/libsanitizer && \
32289 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32291 @endif target-libsanitizer
32293 # Other targets (info, dvi, pdf, etc.)
32295 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32296 maybe-info-target-libsanitizer:
32297 @if target-libsanitizer
32298 maybe-info-target-libsanitizer: info-target-libsanitizer
32300 info-target-libsanitizer: \
32301 configure-target-libsanitizer
32302 @: $(MAKE); $(unstage)
32303 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32304 r=`${PWD_COMMAND}`; export r; \
32305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32306 $(NORMAL_TARGET_EXPORTS) \
32307 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32308 for flag in $(EXTRA_TARGET_FLAGS); do \
32309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32310 done; \
32311 (cd $(TARGET_SUBDIR)/libsanitizer && \
32312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32314 "RANLIB=$${RANLIB}" \
32315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32316 info) \
32317 || exit 1
32319 @endif target-libsanitizer
32321 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32322 maybe-dvi-target-libsanitizer:
32323 @if target-libsanitizer
32324 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32326 dvi-target-libsanitizer: \
32327 configure-target-libsanitizer
32328 @: $(MAKE); $(unstage)
32329 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32330 r=`${PWD_COMMAND}`; export r; \
32331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32332 $(NORMAL_TARGET_EXPORTS) \
32333 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32334 for flag in $(EXTRA_TARGET_FLAGS); do \
32335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32336 done; \
32337 (cd $(TARGET_SUBDIR)/libsanitizer && \
32338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32340 "RANLIB=$${RANLIB}" \
32341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32342 dvi) \
32343 || exit 1
32345 @endif target-libsanitizer
32347 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32348 maybe-pdf-target-libsanitizer:
32349 @if target-libsanitizer
32350 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32352 pdf-target-libsanitizer: \
32353 configure-target-libsanitizer
32354 @: $(MAKE); $(unstage)
32355 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32356 r=`${PWD_COMMAND}`; export r; \
32357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32358 $(NORMAL_TARGET_EXPORTS) \
32359 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32360 for flag in $(EXTRA_TARGET_FLAGS); do \
32361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32362 done; \
32363 (cd $(TARGET_SUBDIR)/libsanitizer && \
32364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32366 "RANLIB=$${RANLIB}" \
32367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32368 pdf) \
32369 || exit 1
32371 @endif target-libsanitizer
32373 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32374 maybe-html-target-libsanitizer:
32375 @if target-libsanitizer
32376 maybe-html-target-libsanitizer: html-target-libsanitizer
32378 html-target-libsanitizer: \
32379 configure-target-libsanitizer
32380 @: $(MAKE); $(unstage)
32381 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32382 r=`${PWD_COMMAND}`; export r; \
32383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32384 $(NORMAL_TARGET_EXPORTS) \
32385 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32386 for flag in $(EXTRA_TARGET_FLAGS); do \
32387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32388 done; \
32389 (cd $(TARGET_SUBDIR)/libsanitizer && \
32390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32392 "RANLIB=$${RANLIB}" \
32393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32394 html) \
32395 || exit 1
32397 @endif target-libsanitizer
32399 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32400 maybe-TAGS-target-libsanitizer:
32401 @if target-libsanitizer
32402 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32404 TAGS-target-libsanitizer: \
32405 configure-target-libsanitizer
32406 @: $(MAKE); $(unstage)
32407 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32408 r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(NORMAL_TARGET_EXPORTS) \
32411 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32412 for flag in $(EXTRA_TARGET_FLAGS); do \
32413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32414 done; \
32415 (cd $(TARGET_SUBDIR)/libsanitizer && \
32416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32418 "RANLIB=$${RANLIB}" \
32419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32420 TAGS) \
32421 || exit 1
32423 @endif target-libsanitizer
32425 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32426 maybe-install-info-target-libsanitizer:
32427 @if target-libsanitizer
32428 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32430 install-info-target-libsanitizer: \
32431 configure-target-libsanitizer \
32432 info-target-libsanitizer
32433 @: $(MAKE); $(unstage)
32434 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32435 r=`${PWD_COMMAND}`; export r; \
32436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32437 $(NORMAL_TARGET_EXPORTS) \
32438 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32439 for flag in $(EXTRA_TARGET_FLAGS); do \
32440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32441 done; \
32442 (cd $(TARGET_SUBDIR)/libsanitizer && \
32443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32445 "RANLIB=$${RANLIB}" \
32446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32447 install-info) \
32448 || exit 1
32450 @endif target-libsanitizer
32452 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32453 maybe-install-pdf-target-libsanitizer:
32454 @if target-libsanitizer
32455 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
32457 install-pdf-target-libsanitizer: \
32458 configure-target-libsanitizer \
32459 pdf-target-libsanitizer
32460 @: $(MAKE); $(unstage)
32461 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32462 r=`${PWD_COMMAND}`; export r; \
32463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32464 $(NORMAL_TARGET_EXPORTS) \
32465 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32466 for flag in $(EXTRA_TARGET_FLAGS); do \
32467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32468 done; \
32469 (cd $(TARGET_SUBDIR)/libsanitizer && \
32470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32472 "RANLIB=$${RANLIB}" \
32473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32474 install-pdf) \
32475 || exit 1
32477 @endif target-libsanitizer
32479 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
32480 maybe-install-html-target-libsanitizer:
32481 @if target-libsanitizer
32482 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
32484 install-html-target-libsanitizer: \
32485 configure-target-libsanitizer \
32486 html-target-libsanitizer
32487 @: $(MAKE); $(unstage)
32488 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32489 r=`${PWD_COMMAND}`; export r; \
32490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32491 $(NORMAL_TARGET_EXPORTS) \
32492 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
32493 for flag in $(EXTRA_TARGET_FLAGS); do \
32494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32495 done; \
32496 (cd $(TARGET_SUBDIR)/libsanitizer && \
32497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32499 "RANLIB=$${RANLIB}" \
32500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32501 install-html) \
32502 || exit 1
32504 @endif target-libsanitizer
32506 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
32507 maybe-installcheck-target-libsanitizer:
32508 @if target-libsanitizer
32509 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
32511 installcheck-target-libsanitizer: \
32512 configure-target-libsanitizer
32513 @: $(MAKE); $(unstage)
32514 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32515 r=`${PWD_COMMAND}`; export r; \
32516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32517 $(NORMAL_TARGET_EXPORTS) \
32518 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
32519 for flag in $(EXTRA_TARGET_FLAGS); do \
32520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32521 done; \
32522 (cd $(TARGET_SUBDIR)/libsanitizer && \
32523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32525 "RANLIB=$${RANLIB}" \
32526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32527 installcheck) \
32528 || exit 1
32530 @endif target-libsanitizer
32532 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
32533 maybe-mostlyclean-target-libsanitizer:
32534 @if target-libsanitizer
32535 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
32537 mostlyclean-target-libsanitizer:
32538 @: $(MAKE); $(unstage)
32539 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32540 r=`${PWD_COMMAND}`; export r; \
32541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32542 $(NORMAL_TARGET_EXPORTS) \
32543 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32544 for flag in $(EXTRA_TARGET_FLAGS); do \
32545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32546 done; \
32547 (cd $(TARGET_SUBDIR)/libsanitizer && \
32548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32550 "RANLIB=$${RANLIB}" \
32551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32552 mostlyclean) \
32553 || exit 1
32555 @endif target-libsanitizer
32557 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
32558 maybe-clean-target-libsanitizer:
32559 @if target-libsanitizer
32560 maybe-clean-target-libsanitizer: clean-target-libsanitizer
32562 clean-target-libsanitizer:
32563 @: $(MAKE); $(unstage)
32564 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32565 r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(NORMAL_TARGET_EXPORTS) \
32568 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32569 for flag in $(EXTRA_TARGET_FLAGS); do \
32570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32571 done; \
32572 (cd $(TARGET_SUBDIR)/libsanitizer && \
32573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32575 "RANLIB=$${RANLIB}" \
32576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32577 clean) \
32578 || exit 1
32580 @endif target-libsanitizer
32582 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
32583 maybe-distclean-target-libsanitizer:
32584 @if target-libsanitizer
32585 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
32587 distclean-target-libsanitizer:
32588 @: $(MAKE); $(unstage)
32589 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32590 r=`${PWD_COMMAND}`; export r; \
32591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32592 $(NORMAL_TARGET_EXPORTS) \
32593 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32594 for flag in $(EXTRA_TARGET_FLAGS); do \
32595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32596 done; \
32597 (cd $(TARGET_SUBDIR)/libsanitizer && \
32598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32600 "RANLIB=$${RANLIB}" \
32601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32602 distclean) \
32603 || exit 1
32605 @endif target-libsanitizer
32607 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
32608 maybe-maintainer-clean-target-libsanitizer:
32609 @if target-libsanitizer
32610 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
32612 maintainer-clean-target-libsanitizer:
32613 @: $(MAKE); $(unstage)
32614 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32615 r=`${PWD_COMMAND}`; export r; \
32616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32617 $(NORMAL_TARGET_EXPORTS) \
32618 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32619 for flag in $(EXTRA_TARGET_FLAGS); do \
32620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32621 done; \
32622 (cd $(TARGET_SUBDIR)/libsanitizer && \
32623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32625 "RANLIB=$${RANLIB}" \
32626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32627 maintainer-clean) \
32628 || exit 1
32630 @endif target-libsanitizer
32636 .PHONY: configure-target-libssp maybe-configure-target-libssp
32637 maybe-configure-target-libssp:
32638 @if gcc-bootstrap
32639 configure-target-libssp: stage_current
32640 @endif gcc-bootstrap
32641 @if target-libssp
32642 maybe-configure-target-libssp: configure-target-libssp
32643 configure-target-libssp:
32644 @: $(MAKE); $(unstage)
32645 @r=`${PWD_COMMAND}`; export r; \
32646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32647 echo "Checking multilib configuration for libssp..."; \
32648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32650 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32651 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32652 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32653 else \
32654 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32655 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32656 fi; \
32657 else \
32658 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32659 fi; \
32660 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32662 $(NORMAL_TARGET_EXPORTS) \
32663 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32664 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32665 case $(srcdir) in \
32666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32667 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32669 esac; \
32670 srcdiroption="--srcdir=$${topdir}/libssp"; \
32671 libsrcdir="$$s/libssp"; \
32672 rm -f no-such-file || : ; \
32673 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32674 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32675 --target=${target_alias} $${srcdiroption} \
32676 || exit 1
32677 @endif target-libssp
32683 .PHONY: all-target-libssp maybe-all-target-libssp
32684 maybe-all-target-libssp:
32685 @if gcc-bootstrap
32686 all-target-libssp: stage_current
32687 @endif gcc-bootstrap
32688 @if target-libssp
32689 TARGET-target-libssp=all
32690 maybe-all-target-libssp: all-target-libssp
32691 all-target-libssp: configure-target-libssp
32692 @: $(MAKE); $(unstage)
32693 @r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(NORMAL_TARGET_EXPORTS) \
32696 (cd $(TARGET_SUBDIR)/libssp && \
32697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32698 $(TARGET-target-libssp))
32699 @endif target-libssp
32705 .PHONY: check-target-libssp maybe-check-target-libssp
32706 maybe-check-target-libssp:
32707 @if target-libssp
32708 maybe-check-target-libssp: check-target-libssp
32710 check-target-libssp:
32711 @: $(MAKE); $(unstage)
32712 @r=`${PWD_COMMAND}`; export r; \
32713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32714 $(NORMAL_TARGET_EXPORTS) \
32715 (cd $(TARGET_SUBDIR)/libssp && \
32716 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32718 @endif target-libssp
32720 .PHONY: install-target-libssp maybe-install-target-libssp
32721 maybe-install-target-libssp:
32722 @if target-libssp
32723 maybe-install-target-libssp: install-target-libssp
32725 install-target-libssp: installdirs
32726 @: $(MAKE); $(unstage)
32727 @r=`${PWD_COMMAND}`; export r; \
32728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32729 $(NORMAL_TARGET_EXPORTS) \
32730 (cd $(TARGET_SUBDIR)/libssp && \
32731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32733 @endif target-libssp
32735 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
32736 maybe-install-strip-target-libssp:
32737 @if target-libssp
32738 maybe-install-strip-target-libssp: install-strip-target-libssp
32740 install-strip-target-libssp: installdirs
32741 @: $(MAKE); $(unstage)
32742 @r=`${PWD_COMMAND}`; export r; \
32743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32744 $(NORMAL_TARGET_EXPORTS) \
32745 (cd $(TARGET_SUBDIR)/libssp && \
32746 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32748 @endif target-libssp
32750 # Other targets (info, dvi, pdf, etc.)
32752 .PHONY: maybe-info-target-libssp info-target-libssp
32753 maybe-info-target-libssp:
32754 @if target-libssp
32755 maybe-info-target-libssp: info-target-libssp
32757 info-target-libssp: \
32758 configure-target-libssp
32759 @: $(MAKE); $(unstage)
32760 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32761 r=`${PWD_COMMAND}`; export r; \
32762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32763 $(NORMAL_TARGET_EXPORTS) \
32764 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32765 for flag in $(EXTRA_TARGET_FLAGS); do \
32766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32767 done; \
32768 (cd $(TARGET_SUBDIR)/libssp && \
32769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32771 "RANLIB=$${RANLIB}" \
32772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32773 info) \
32774 || exit 1
32776 @endif target-libssp
32778 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32779 maybe-dvi-target-libssp:
32780 @if target-libssp
32781 maybe-dvi-target-libssp: dvi-target-libssp
32783 dvi-target-libssp: \
32784 configure-target-libssp
32785 @: $(MAKE); $(unstage)
32786 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32787 r=`${PWD_COMMAND}`; export r; \
32788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32789 $(NORMAL_TARGET_EXPORTS) \
32790 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32791 for flag in $(EXTRA_TARGET_FLAGS); do \
32792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32793 done; \
32794 (cd $(TARGET_SUBDIR)/libssp && \
32795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32797 "RANLIB=$${RANLIB}" \
32798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32799 dvi) \
32800 || exit 1
32802 @endif target-libssp
32804 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
32805 maybe-pdf-target-libssp:
32806 @if target-libssp
32807 maybe-pdf-target-libssp: pdf-target-libssp
32809 pdf-target-libssp: \
32810 configure-target-libssp
32811 @: $(MAKE); $(unstage)
32812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32813 r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(NORMAL_TARGET_EXPORTS) \
32816 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
32817 for flag in $(EXTRA_TARGET_FLAGS); do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 (cd $(TARGET_SUBDIR)/libssp && \
32821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32823 "RANLIB=$${RANLIB}" \
32824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32825 pdf) \
32826 || exit 1
32828 @endif target-libssp
32830 .PHONY: maybe-html-target-libssp html-target-libssp
32831 maybe-html-target-libssp:
32832 @if target-libssp
32833 maybe-html-target-libssp: html-target-libssp
32835 html-target-libssp: \
32836 configure-target-libssp
32837 @: $(MAKE); $(unstage)
32838 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32839 r=`${PWD_COMMAND}`; export r; \
32840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32841 $(NORMAL_TARGET_EXPORTS) \
32842 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32843 for flag in $(EXTRA_TARGET_FLAGS); do \
32844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32845 done; \
32846 (cd $(TARGET_SUBDIR)/libssp && \
32847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32849 "RANLIB=$${RANLIB}" \
32850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32851 html) \
32852 || exit 1
32854 @endif target-libssp
32856 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32857 maybe-TAGS-target-libssp:
32858 @if target-libssp
32859 maybe-TAGS-target-libssp: TAGS-target-libssp
32861 TAGS-target-libssp: \
32862 configure-target-libssp
32863 @: $(MAKE); $(unstage)
32864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32865 r=`${PWD_COMMAND}`; export r; \
32866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32867 $(NORMAL_TARGET_EXPORTS) \
32868 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32869 for flag in $(EXTRA_TARGET_FLAGS); do \
32870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32871 done; \
32872 (cd $(TARGET_SUBDIR)/libssp && \
32873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32875 "RANLIB=$${RANLIB}" \
32876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32877 TAGS) \
32878 || exit 1
32880 @endif target-libssp
32882 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32883 maybe-install-info-target-libssp:
32884 @if target-libssp
32885 maybe-install-info-target-libssp: install-info-target-libssp
32887 install-info-target-libssp: \
32888 configure-target-libssp \
32889 info-target-libssp
32890 @: $(MAKE); $(unstage)
32891 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32892 r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 $(NORMAL_TARGET_EXPORTS) \
32895 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32896 for flag in $(EXTRA_TARGET_FLAGS); do \
32897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32898 done; \
32899 (cd $(TARGET_SUBDIR)/libssp && \
32900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32902 "RANLIB=$${RANLIB}" \
32903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32904 install-info) \
32905 || exit 1
32907 @endif target-libssp
32909 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
32910 maybe-install-pdf-target-libssp:
32911 @if target-libssp
32912 maybe-install-pdf-target-libssp: install-pdf-target-libssp
32914 install-pdf-target-libssp: \
32915 configure-target-libssp \
32916 pdf-target-libssp
32917 @: $(MAKE); $(unstage)
32918 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32919 r=`${PWD_COMMAND}`; export r; \
32920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32921 $(NORMAL_TARGET_EXPORTS) \
32922 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
32923 for flag in $(EXTRA_TARGET_FLAGS); do \
32924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32925 done; \
32926 (cd $(TARGET_SUBDIR)/libssp && \
32927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32929 "RANLIB=$${RANLIB}" \
32930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32931 install-pdf) \
32932 || exit 1
32934 @endif target-libssp
32936 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32937 maybe-install-html-target-libssp:
32938 @if target-libssp
32939 maybe-install-html-target-libssp: install-html-target-libssp
32941 install-html-target-libssp: \
32942 configure-target-libssp \
32943 html-target-libssp
32944 @: $(MAKE); $(unstage)
32945 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32946 r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(NORMAL_TARGET_EXPORTS) \
32949 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32950 for flag in $(EXTRA_TARGET_FLAGS); do \
32951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32952 done; \
32953 (cd $(TARGET_SUBDIR)/libssp && \
32954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32956 "RANLIB=$${RANLIB}" \
32957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32958 install-html) \
32959 || exit 1
32961 @endif target-libssp
32963 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32964 maybe-installcheck-target-libssp:
32965 @if target-libssp
32966 maybe-installcheck-target-libssp: installcheck-target-libssp
32968 installcheck-target-libssp: \
32969 configure-target-libssp
32970 @: $(MAKE); $(unstage)
32971 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32972 r=`${PWD_COMMAND}`; export r; \
32973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32974 $(NORMAL_TARGET_EXPORTS) \
32975 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32976 for flag in $(EXTRA_TARGET_FLAGS); do \
32977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32978 done; \
32979 (cd $(TARGET_SUBDIR)/libssp && \
32980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32982 "RANLIB=$${RANLIB}" \
32983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32984 installcheck) \
32985 || exit 1
32987 @endif target-libssp
32989 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32990 maybe-mostlyclean-target-libssp:
32991 @if target-libssp
32992 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32994 mostlyclean-target-libssp:
32995 @: $(MAKE); $(unstage)
32996 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32997 r=`${PWD_COMMAND}`; export r; \
32998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32999 $(NORMAL_TARGET_EXPORTS) \
33000 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
33001 for flag in $(EXTRA_TARGET_FLAGS); do \
33002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33003 done; \
33004 (cd $(TARGET_SUBDIR)/libssp && \
33005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33007 "RANLIB=$${RANLIB}" \
33008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33009 mostlyclean) \
33010 || exit 1
33012 @endif target-libssp
33014 .PHONY: maybe-clean-target-libssp clean-target-libssp
33015 maybe-clean-target-libssp:
33016 @if target-libssp
33017 maybe-clean-target-libssp: clean-target-libssp
33019 clean-target-libssp:
33020 @: $(MAKE); $(unstage)
33021 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33022 r=`${PWD_COMMAND}`; export r; \
33023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33024 $(NORMAL_TARGET_EXPORTS) \
33025 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
33026 for flag in $(EXTRA_TARGET_FLAGS); do \
33027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33028 done; \
33029 (cd $(TARGET_SUBDIR)/libssp && \
33030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33032 "RANLIB=$${RANLIB}" \
33033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33034 clean) \
33035 || exit 1
33037 @endif target-libssp
33039 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
33040 maybe-distclean-target-libssp:
33041 @if target-libssp
33042 maybe-distclean-target-libssp: distclean-target-libssp
33044 distclean-target-libssp:
33045 @: $(MAKE); $(unstage)
33046 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33047 r=`${PWD_COMMAND}`; export r; \
33048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33049 $(NORMAL_TARGET_EXPORTS) \
33050 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
33051 for flag in $(EXTRA_TARGET_FLAGS); do \
33052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33053 done; \
33054 (cd $(TARGET_SUBDIR)/libssp && \
33055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33057 "RANLIB=$${RANLIB}" \
33058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33059 distclean) \
33060 || exit 1
33062 @endif target-libssp
33064 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
33065 maybe-maintainer-clean-target-libssp:
33066 @if target-libssp
33067 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
33069 maintainer-clean-target-libssp:
33070 @: $(MAKE); $(unstage)
33071 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33072 r=`${PWD_COMMAND}`; export r; \
33073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33074 $(NORMAL_TARGET_EXPORTS) \
33075 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
33076 for flag in $(EXTRA_TARGET_FLAGS); do \
33077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33078 done; \
33079 (cd $(TARGET_SUBDIR)/libssp && \
33080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33082 "RANLIB=$${RANLIB}" \
33083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33084 maintainer-clean) \
33085 || exit 1
33087 @endif target-libssp
33093 .PHONY: configure-target-newlib maybe-configure-target-newlib
33094 maybe-configure-target-newlib:
33095 @if gcc-bootstrap
33096 configure-target-newlib: stage_current
33097 @endif gcc-bootstrap
33098 @if target-newlib
33099 maybe-configure-target-newlib: configure-target-newlib
33100 configure-target-newlib:
33101 @: $(MAKE); $(unstage)
33102 @r=`${PWD_COMMAND}`; export r; \
33103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33104 echo "Checking multilib configuration for newlib..."; \
33105 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33106 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
33107 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
33108 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
33109 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
33110 else \
33111 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
33112 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33113 fi; \
33114 else \
33115 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33116 fi; \
33117 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
33118 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33119 $(NORMAL_TARGET_EXPORTS) \
33120 echo Configuring in $(TARGET_SUBDIR)/newlib; \
33121 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
33122 case $(srcdir) in \
33123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33124 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
33125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33126 esac; \
33127 srcdiroption="--srcdir=$${topdir}/newlib"; \
33128 libsrcdir="$$s/newlib"; \
33129 rm -f no-such-file || : ; \
33130 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33131 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33132 --target=${target_alias} $${srcdiroption} \
33133 || exit 1
33134 @endif target-newlib
33140 .PHONY: all-target-newlib maybe-all-target-newlib
33141 maybe-all-target-newlib:
33142 @if gcc-bootstrap
33143 all-target-newlib: stage_current
33144 @endif gcc-bootstrap
33145 @if target-newlib
33146 TARGET-target-newlib=all
33147 maybe-all-target-newlib: all-target-newlib
33148 all-target-newlib: configure-target-newlib
33149 @: $(MAKE); $(unstage)
33150 @r=`${PWD_COMMAND}`; export r; \
33151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33152 $(NORMAL_TARGET_EXPORTS) \
33153 (cd $(TARGET_SUBDIR)/newlib && \
33154 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33155 $(TARGET-target-newlib))
33156 @endif target-newlib
33162 .PHONY: check-target-newlib maybe-check-target-newlib
33163 maybe-check-target-newlib:
33164 @if target-newlib
33165 maybe-check-target-newlib: check-target-newlib
33167 check-target-newlib:
33168 @: $(MAKE); $(unstage)
33169 @r=`${PWD_COMMAND}`; export r; \
33170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33171 $(NORMAL_TARGET_EXPORTS) \
33172 (cd $(TARGET_SUBDIR)/newlib && \
33173 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33175 @endif target-newlib
33177 .PHONY: install-target-newlib maybe-install-target-newlib
33178 maybe-install-target-newlib:
33179 @if target-newlib
33180 maybe-install-target-newlib: install-target-newlib
33182 install-target-newlib: installdirs
33183 @: $(MAKE); $(unstage)
33184 @r=`${PWD_COMMAND}`; export r; \
33185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33186 $(NORMAL_TARGET_EXPORTS) \
33187 (cd $(TARGET_SUBDIR)/newlib && \
33188 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33190 @endif target-newlib
33192 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
33193 maybe-install-strip-target-newlib:
33194 @if target-newlib
33195 maybe-install-strip-target-newlib: install-strip-target-newlib
33197 install-strip-target-newlib: installdirs
33198 @: $(MAKE); $(unstage)
33199 @r=`${PWD_COMMAND}`; export r; \
33200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33201 $(NORMAL_TARGET_EXPORTS) \
33202 (cd $(TARGET_SUBDIR)/newlib && \
33203 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33205 @endif target-newlib
33207 # Other targets (info, dvi, pdf, etc.)
33209 .PHONY: maybe-info-target-newlib info-target-newlib
33210 maybe-info-target-newlib:
33211 @if target-newlib
33212 maybe-info-target-newlib: info-target-newlib
33214 info-target-newlib: \
33215 configure-target-newlib
33216 @: $(MAKE); $(unstage)
33217 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33218 r=`${PWD_COMMAND}`; export r; \
33219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33220 $(NORMAL_TARGET_EXPORTS) \
33221 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
33222 for flag in $(EXTRA_TARGET_FLAGS); do \
33223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33224 done; \
33225 (cd $(TARGET_SUBDIR)/newlib && \
33226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33228 "RANLIB=$${RANLIB}" \
33229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33230 info) \
33231 || exit 1
33233 @endif target-newlib
33235 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
33236 maybe-dvi-target-newlib:
33237 @if target-newlib
33238 maybe-dvi-target-newlib: dvi-target-newlib
33240 dvi-target-newlib: \
33241 configure-target-newlib
33242 @: $(MAKE); $(unstage)
33243 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33244 r=`${PWD_COMMAND}`; export r; \
33245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33246 $(NORMAL_TARGET_EXPORTS) \
33247 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
33248 for flag in $(EXTRA_TARGET_FLAGS); do \
33249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33250 done; \
33251 (cd $(TARGET_SUBDIR)/newlib && \
33252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33254 "RANLIB=$${RANLIB}" \
33255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33256 dvi) \
33257 || exit 1
33259 @endif target-newlib
33261 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
33262 maybe-pdf-target-newlib:
33263 @if target-newlib
33264 maybe-pdf-target-newlib: pdf-target-newlib
33266 pdf-target-newlib: \
33267 configure-target-newlib
33268 @: $(MAKE); $(unstage)
33269 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33270 r=`${PWD_COMMAND}`; export r; \
33271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33272 $(NORMAL_TARGET_EXPORTS) \
33273 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
33274 for flag in $(EXTRA_TARGET_FLAGS); do \
33275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33276 done; \
33277 (cd $(TARGET_SUBDIR)/newlib && \
33278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33280 "RANLIB=$${RANLIB}" \
33281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33282 pdf) \
33283 || exit 1
33285 @endif target-newlib
33287 .PHONY: maybe-html-target-newlib html-target-newlib
33288 maybe-html-target-newlib:
33289 @if target-newlib
33290 maybe-html-target-newlib: html-target-newlib
33292 html-target-newlib: \
33293 configure-target-newlib
33294 @: $(MAKE); $(unstage)
33295 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33296 r=`${PWD_COMMAND}`; export r; \
33297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33298 $(NORMAL_TARGET_EXPORTS) \
33299 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
33300 for flag in $(EXTRA_TARGET_FLAGS); do \
33301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33302 done; \
33303 (cd $(TARGET_SUBDIR)/newlib && \
33304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33306 "RANLIB=$${RANLIB}" \
33307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33308 html) \
33309 || exit 1
33311 @endif target-newlib
33313 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
33314 maybe-TAGS-target-newlib:
33315 @if target-newlib
33316 maybe-TAGS-target-newlib: TAGS-target-newlib
33318 TAGS-target-newlib: \
33319 configure-target-newlib
33320 @: $(MAKE); $(unstage)
33321 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33322 r=`${PWD_COMMAND}`; export r; \
33323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33324 $(NORMAL_TARGET_EXPORTS) \
33325 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
33326 for flag in $(EXTRA_TARGET_FLAGS); do \
33327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33328 done; \
33329 (cd $(TARGET_SUBDIR)/newlib && \
33330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33332 "RANLIB=$${RANLIB}" \
33333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33334 TAGS) \
33335 || exit 1
33337 @endif target-newlib
33339 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
33340 maybe-install-info-target-newlib:
33341 @if target-newlib
33342 maybe-install-info-target-newlib: install-info-target-newlib
33344 install-info-target-newlib: \
33345 configure-target-newlib \
33346 info-target-newlib
33347 @: $(MAKE); $(unstage)
33348 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33349 r=`${PWD_COMMAND}`; export r; \
33350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33351 $(NORMAL_TARGET_EXPORTS) \
33352 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
33353 for flag in $(EXTRA_TARGET_FLAGS); do \
33354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33355 done; \
33356 (cd $(TARGET_SUBDIR)/newlib && \
33357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33359 "RANLIB=$${RANLIB}" \
33360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33361 install-info) \
33362 || exit 1
33364 @endif target-newlib
33366 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
33367 maybe-install-pdf-target-newlib:
33368 @if target-newlib
33369 maybe-install-pdf-target-newlib: install-pdf-target-newlib
33371 install-pdf-target-newlib: \
33372 configure-target-newlib \
33373 pdf-target-newlib
33374 @: $(MAKE); $(unstage)
33375 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33376 r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(NORMAL_TARGET_EXPORTS) \
33379 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
33380 for flag in $(EXTRA_TARGET_FLAGS); do \
33381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33382 done; \
33383 (cd $(TARGET_SUBDIR)/newlib && \
33384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33386 "RANLIB=$${RANLIB}" \
33387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33388 install-pdf) \
33389 || exit 1
33391 @endif target-newlib
33393 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
33394 maybe-install-html-target-newlib:
33395 @if target-newlib
33396 maybe-install-html-target-newlib: install-html-target-newlib
33398 install-html-target-newlib: \
33399 configure-target-newlib \
33400 html-target-newlib
33401 @: $(MAKE); $(unstage)
33402 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33403 r=`${PWD_COMMAND}`; export r; \
33404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33405 $(NORMAL_TARGET_EXPORTS) \
33406 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
33407 for flag in $(EXTRA_TARGET_FLAGS); do \
33408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33409 done; \
33410 (cd $(TARGET_SUBDIR)/newlib && \
33411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33413 "RANLIB=$${RANLIB}" \
33414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33415 install-html) \
33416 || exit 1
33418 @endif target-newlib
33420 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
33421 maybe-installcheck-target-newlib:
33422 @if target-newlib
33423 maybe-installcheck-target-newlib: installcheck-target-newlib
33425 installcheck-target-newlib: \
33426 configure-target-newlib
33427 @: $(MAKE); $(unstage)
33428 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33429 r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(NORMAL_TARGET_EXPORTS) \
33432 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
33433 for flag in $(EXTRA_TARGET_FLAGS); do \
33434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33435 done; \
33436 (cd $(TARGET_SUBDIR)/newlib && \
33437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33439 "RANLIB=$${RANLIB}" \
33440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33441 installcheck) \
33442 || exit 1
33444 @endif target-newlib
33446 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
33447 maybe-mostlyclean-target-newlib:
33448 @if target-newlib
33449 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
33451 mostlyclean-target-newlib:
33452 @: $(MAKE); $(unstage)
33453 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(NORMAL_TARGET_EXPORTS) \
33457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
33458 for flag in $(EXTRA_TARGET_FLAGS); do \
33459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33460 done; \
33461 (cd $(TARGET_SUBDIR)/newlib && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33466 mostlyclean) \
33467 || exit 1
33469 @endif target-newlib
33471 .PHONY: maybe-clean-target-newlib clean-target-newlib
33472 maybe-clean-target-newlib:
33473 @if target-newlib
33474 maybe-clean-target-newlib: clean-target-newlib
33476 clean-target-newlib:
33477 @: $(MAKE); $(unstage)
33478 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33479 r=`${PWD_COMMAND}`; export r; \
33480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33481 $(NORMAL_TARGET_EXPORTS) \
33482 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
33483 for flag in $(EXTRA_TARGET_FLAGS); do \
33484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33485 done; \
33486 (cd $(TARGET_SUBDIR)/newlib && \
33487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33489 "RANLIB=$${RANLIB}" \
33490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33491 clean) \
33492 || exit 1
33494 @endif target-newlib
33496 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
33497 maybe-distclean-target-newlib:
33498 @if target-newlib
33499 maybe-distclean-target-newlib: distclean-target-newlib
33501 distclean-target-newlib:
33502 @: $(MAKE); $(unstage)
33503 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33504 r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(NORMAL_TARGET_EXPORTS) \
33507 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
33508 for flag in $(EXTRA_TARGET_FLAGS); do \
33509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33510 done; \
33511 (cd $(TARGET_SUBDIR)/newlib && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33514 "RANLIB=$${RANLIB}" \
33515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33516 distclean) \
33517 || exit 1
33519 @endif target-newlib
33521 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
33522 maybe-maintainer-clean-target-newlib:
33523 @if target-newlib
33524 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
33526 maintainer-clean-target-newlib:
33527 @: $(MAKE); $(unstage)
33528 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33529 r=`${PWD_COMMAND}`; export r; \
33530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33531 $(NORMAL_TARGET_EXPORTS) \
33532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
33533 for flag in $(EXTRA_TARGET_FLAGS); do \
33534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33535 done; \
33536 (cd $(TARGET_SUBDIR)/newlib && \
33537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33539 "RANLIB=$${RANLIB}" \
33540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33541 maintainer-clean) \
33542 || exit 1
33544 @endif target-newlib
33550 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
33551 maybe-configure-target-libgcc:
33552 @if gcc-bootstrap
33553 configure-target-libgcc: stage_current
33554 @endif gcc-bootstrap
33555 @if target-libgcc
33556 maybe-configure-target-libgcc: configure-target-libgcc
33557 configure-target-libgcc:
33558 @r=`${PWD_COMMAND}`; export r; \
33559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33560 echo "Checking multilib configuration for libgcc..."; \
33561 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33562 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33563 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33564 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33565 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33566 else \
33567 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33568 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33569 fi; \
33570 else \
33571 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33572 fi; \
33573 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33575 $(NORMAL_TARGET_EXPORTS) \
33576 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
33577 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
33578 case $(srcdir) in \
33579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33580 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33582 esac; \
33583 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33584 libsrcdir="$$s/libgcc"; \
33585 rm -f no-such-file || : ; \
33586 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33587 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33588 --target=${target_alias} $${srcdiroption} \
33589 || exit 1
33590 @endif target-libgcc
33594 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
33595 maybe-configure-stage1-target-libgcc:
33596 @if target-libgcc-bootstrap
33597 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
33598 configure-stage1-target-libgcc:
33599 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33600 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33601 @r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 TFLAGS="$(STAGE1_TFLAGS)"; \
33604 echo "Checking multilib configuration for libgcc..."; \
33605 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33606 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33607 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33608 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33609 else \
33610 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33611 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33612 fi; \
33613 else \
33614 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33615 fi; \
33616 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33617 $(NORMAL_TARGET_EXPORTS) \
33618 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33619 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33620 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33621 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
33622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33623 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33624 case $(srcdir) in \
33625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33626 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33628 esac; \
33629 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33630 libsrcdir="$$s/libgcc"; \
33631 $(SHELL) $${libsrcdir}/configure \
33632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33633 --target=${target_alias} $${srcdiroption} \
33634 $(STAGE1_CONFIGURE_FLAGS)
33635 @endif target-libgcc-bootstrap
33637 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
33638 maybe-configure-stage2-target-libgcc:
33639 @if target-libgcc-bootstrap
33640 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
33641 configure-stage2-target-libgcc:
33642 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33643 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33644 @r=`${PWD_COMMAND}`; export r; \
33645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33646 TFLAGS="$(STAGE2_TFLAGS)"; \
33647 echo "Checking multilib configuration for libgcc..."; \
33648 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33649 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33650 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33651 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33652 else \
33653 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33654 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33655 fi; \
33656 else \
33657 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33658 fi; \
33659 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33660 $(NORMAL_TARGET_EXPORTS) \
33662 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33665 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
33666 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33667 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33668 case $(srcdir) in \
33669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33670 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33672 esac; \
33673 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33674 libsrcdir="$$s/libgcc"; \
33675 $(SHELL) $${libsrcdir}/configure \
33676 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33677 --target=${target_alias} $${srcdiroption} \
33678 --with-build-libsubdir=$(HOST_SUBDIR) \
33679 $(STAGE2_CONFIGURE_FLAGS)
33680 @endif target-libgcc-bootstrap
33682 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
33683 maybe-configure-stage3-target-libgcc:
33684 @if target-libgcc-bootstrap
33685 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
33686 configure-stage3-target-libgcc:
33687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33688 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33689 @r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 TFLAGS="$(STAGE3_TFLAGS)"; \
33692 echo "Checking multilib configuration for libgcc..."; \
33693 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33694 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33695 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33696 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33697 else \
33698 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33699 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33700 fi; \
33701 else \
33702 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33703 fi; \
33704 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33705 $(NORMAL_TARGET_EXPORTS) \
33707 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33708 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33709 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33710 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
33711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33712 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33713 case $(srcdir) in \
33714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33715 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33717 esac; \
33718 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33719 libsrcdir="$$s/libgcc"; \
33720 $(SHELL) $${libsrcdir}/configure \
33721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33722 --target=${target_alias} $${srcdiroption} \
33723 --with-build-libsubdir=$(HOST_SUBDIR) \
33724 $(STAGE3_CONFIGURE_FLAGS)
33725 @endif target-libgcc-bootstrap
33727 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
33728 maybe-configure-stage4-target-libgcc:
33729 @if target-libgcc-bootstrap
33730 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
33731 configure-stage4-target-libgcc:
33732 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33733 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33734 @r=`${PWD_COMMAND}`; export r; \
33735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33736 TFLAGS="$(STAGE4_TFLAGS)"; \
33737 echo "Checking multilib configuration for libgcc..."; \
33738 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33739 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33740 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33741 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33742 else \
33743 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33744 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33745 fi; \
33746 else \
33747 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33748 fi; \
33749 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33750 $(NORMAL_TARGET_EXPORTS) \
33752 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33753 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33754 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33755 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
33756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33757 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33758 case $(srcdir) in \
33759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33760 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33762 esac; \
33763 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33764 libsrcdir="$$s/libgcc"; \
33765 $(SHELL) $${libsrcdir}/configure \
33766 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33767 --target=${target_alias} $${srcdiroption} \
33768 --with-build-libsubdir=$(HOST_SUBDIR) \
33769 $(STAGE4_CONFIGURE_FLAGS)
33770 @endif target-libgcc-bootstrap
33772 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
33773 maybe-configure-stageprofile-target-libgcc:
33774 @if target-libgcc-bootstrap
33775 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
33776 configure-stageprofile-target-libgcc:
33777 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33778 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33779 @r=`${PWD_COMMAND}`; export r; \
33780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33781 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33782 echo "Checking multilib configuration for libgcc..."; \
33783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33784 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33785 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33786 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33787 else \
33788 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33789 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33790 fi; \
33791 else \
33792 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33793 fi; \
33794 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33795 $(NORMAL_TARGET_EXPORTS) \
33797 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33800 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
33801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33802 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33803 case $(srcdir) in \
33804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33805 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33807 esac; \
33808 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33809 libsrcdir="$$s/libgcc"; \
33810 $(SHELL) $${libsrcdir}/configure \
33811 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33812 --target=${target_alias} $${srcdiroption} \
33813 --with-build-libsubdir=$(HOST_SUBDIR) \
33814 $(STAGEprofile_CONFIGURE_FLAGS)
33815 @endif target-libgcc-bootstrap
33817 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
33818 maybe-configure-stagefeedback-target-libgcc:
33819 @if target-libgcc-bootstrap
33820 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
33821 configure-stagefeedback-target-libgcc:
33822 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33823 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33824 @r=`${PWD_COMMAND}`; export r; \
33825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33826 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33827 echo "Checking multilib configuration for libgcc..."; \
33828 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33829 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33830 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33831 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33832 else \
33833 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33834 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33835 fi; \
33836 else \
33837 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33838 fi; \
33839 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33840 $(NORMAL_TARGET_EXPORTS) \
33842 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33843 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33844 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33845 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
33846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33847 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33848 case $(srcdir) in \
33849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33850 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33852 esac; \
33853 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33854 libsrcdir="$$s/libgcc"; \
33855 $(SHELL) $${libsrcdir}/configure \
33856 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33857 --target=${target_alias} $${srcdiroption} \
33858 --with-build-libsubdir=$(HOST_SUBDIR) \
33859 $(STAGEfeedback_CONFIGURE_FLAGS)
33860 @endif target-libgcc-bootstrap
33866 .PHONY: all-target-libgcc maybe-all-target-libgcc
33867 maybe-all-target-libgcc:
33868 @if gcc-bootstrap
33869 all-target-libgcc: stage_current
33870 @endif gcc-bootstrap
33871 @if target-libgcc
33872 TARGET-target-libgcc=all
33873 maybe-all-target-libgcc: all-target-libgcc
33874 all-target-libgcc: configure-target-libgcc
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(NORMAL_TARGET_EXPORTS) \
33878 (cd $(TARGET_SUBDIR)/libgcc && \
33879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33880 $(TARGET-target-libgcc))
33881 @endif target-libgcc
33885 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
33886 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
33887 maybe-all-stage1-target-libgcc:
33888 maybe-clean-stage1-target-libgcc:
33889 @if target-libgcc-bootstrap
33890 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
33891 all-stage1: all-stage1-target-libgcc
33892 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
33893 all-stage1-target-libgcc: configure-stage1-target-libgcc
33894 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33895 @r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 TFLAGS="$(STAGE1_TFLAGS)"; \
33898 $(NORMAL_TARGET_EXPORTS) \
33899 cd $(TARGET_SUBDIR)/libgcc && \
33900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33901 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33902 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33903 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33907 $(EXTRA_TARGET_FLAGS) \
33909 TFLAGS="$(STAGE1_TFLAGS)" \
33910 $(TARGET-stage1-target-libgcc)
33912 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
33913 clean-stage1: clean-stage1-target-libgcc
33914 clean-stage1-target-libgcc:
33915 @if [ $(current_stage) = stage1 ]; then \
33916 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33917 else \
33918 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
33919 $(MAKE) stage1-start; \
33920 fi; \
33921 cd $(TARGET_SUBDIR)/libgcc && \
33922 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33923 clean
33924 @endif target-libgcc-bootstrap
33927 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
33928 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
33929 maybe-all-stage2-target-libgcc:
33930 maybe-clean-stage2-target-libgcc:
33931 @if target-libgcc-bootstrap
33932 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
33933 all-stage2: all-stage2-target-libgcc
33934 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
33935 all-stage2-target-libgcc: configure-stage2-target-libgcc
33936 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33937 @r=`${PWD_COMMAND}`; export r; \
33938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33939 TFLAGS="$(STAGE2_TFLAGS)"; \
33940 $(NORMAL_TARGET_EXPORTS) \
33942 cd $(TARGET_SUBDIR)/libgcc && \
33943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33944 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33945 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33946 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33950 $(EXTRA_TARGET_FLAGS) \
33951 TFLAGS="$(STAGE2_TFLAGS)" \
33952 $(TARGET-stage2-target-libgcc)
33954 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
33955 clean-stage2: clean-stage2-target-libgcc
33956 clean-stage2-target-libgcc:
33957 @if [ $(current_stage) = stage2 ]; then \
33958 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33959 else \
33960 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
33961 $(MAKE) stage2-start; \
33962 fi; \
33963 cd $(TARGET_SUBDIR)/libgcc && \
33964 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33965 @endif target-libgcc-bootstrap
33968 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
33969 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
33970 maybe-all-stage3-target-libgcc:
33971 maybe-clean-stage3-target-libgcc:
33972 @if target-libgcc-bootstrap
33973 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
33974 all-stage3: all-stage3-target-libgcc
33975 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
33976 all-stage3-target-libgcc: configure-stage3-target-libgcc
33977 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33978 @r=`${PWD_COMMAND}`; export r; \
33979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33980 TFLAGS="$(STAGE3_TFLAGS)"; \
33981 $(NORMAL_TARGET_EXPORTS) \
33983 cd $(TARGET_SUBDIR)/libgcc && \
33984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33985 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33986 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33987 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33991 $(EXTRA_TARGET_FLAGS) \
33992 TFLAGS="$(STAGE3_TFLAGS)" \
33993 $(TARGET-stage3-target-libgcc)
33995 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
33996 clean-stage3: clean-stage3-target-libgcc
33997 clean-stage3-target-libgcc:
33998 @if [ $(current_stage) = stage3 ]; then \
33999 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34000 else \
34001 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
34002 $(MAKE) stage3-start; \
34003 fi; \
34004 cd $(TARGET_SUBDIR)/libgcc && \
34005 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34006 @endif target-libgcc-bootstrap
34009 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
34010 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
34011 maybe-all-stage4-target-libgcc:
34012 maybe-clean-stage4-target-libgcc:
34013 @if target-libgcc-bootstrap
34014 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
34015 all-stage4: all-stage4-target-libgcc
34016 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
34017 all-stage4-target-libgcc: configure-stage4-target-libgcc
34018 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34019 @r=`${PWD_COMMAND}`; export r; \
34020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34021 TFLAGS="$(STAGE4_TFLAGS)"; \
34022 $(NORMAL_TARGET_EXPORTS) \
34024 cd $(TARGET_SUBDIR)/libgcc && \
34025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34026 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34027 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34028 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34032 $(EXTRA_TARGET_FLAGS) \
34033 TFLAGS="$(STAGE4_TFLAGS)" \
34034 $(TARGET-stage4-target-libgcc)
34036 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
34037 clean-stage4: clean-stage4-target-libgcc
34038 clean-stage4-target-libgcc:
34039 @if [ $(current_stage) = stage4 ]; then \
34040 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34041 else \
34042 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
34043 $(MAKE) stage4-start; \
34044 fi; \
34045 cd $(TARGET_SUBDIR)/libgcc && \
34046 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34047 @endif target-libgcc-bootstrap
34050 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
34051 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
34052 maybe-all-stageprofile-target-libgcc:
34053 maybe-clean-stageprofile-target-libgcc:
34054 @if target-libgcc-bootstrap
34055 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
34056 all-stageprofile: all-stageprofile-target-libgcc
34057 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
34058 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34059 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34060 @r=`${PWD_COMMAND}`; export r; \
34061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34062 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34063 $(NORMAL_TARGET_EXPORTS) \
34065 cd $(TARGET_SUBDIR)/libgcc && \
34066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34067 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34073 $(EXTRA_TARGET_FLAGS) \
34074 TFLAGS="$(STAGEprofile_TFLAGS)" \
34075 $(TARGET-stageprofile-target-libgcc)
34077 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
34078 clean-stageprofile: clean-stageprofile-target-libgcc
34079 clean-stageprofile-target-libgcc:
34080 @if [ $(current_stage) = stageprofile ]; then \
34081 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34082 else \
34083 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
34084 $(MAKE) stageprofile-start; \
34085 fi; \
34086 cd $(TARGET_SUBDIR)/libgcc && \
34087 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34088 @endif target-libgcc-bootstrap
34091 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
34092 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
34093 maybe-all-stagefeedback-target-libgcc:
34094 maybe-clean-stagefeedback-target-libgcc:
34095 @if target-libgcc-bootstrap
34096 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
34097 all-stagefeedback: all-stagefeedback-target-libgcc
34098 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
34099 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34100 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34101 @r=`${PWD_COMMAND}`; export r; \
34102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34103 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34104 $(NORMAL_TARGET_EXPORTS) \
34106 cd $(TARGET_SUBDIR)/libgcc && \
34107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34108 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34109 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34110 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34114 $(EXTRA_TARGET_FLAGS) \
34115 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34116 $(TARGET-stagefeedback-target-libgcc)
34118 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
34119 clean-stagefeedback: clean-stagefeedback-target-libgcc
34120 clean-stagefeedback-target-libgcc:
34121 @if [ $(current_stage) = stagefeedback ]; then \
34122 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34123 else \
34124 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
34125 $(MAKE) stagefeedback-start; \
34126 fi; \
34127 cd $(TARGET_SUBDIR)/libgcc && \
34128 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34129 @endif target-libgcc-bootstrap
34136 .PHONY: check-target-libgcc maybe-check-target-libgcc
34137 maybe-check-target-libgcc:
34138 @if target-libgcc
34139 maybe-check-target-libgcc: check-target-libgcc
34141 # Dummy target for uncheckable module.
34142 check-target-libgcc:
34144 @endif target-libgcc
34146 .PHONY: install-target-libgcc maybe-install-target-libgcc
34147 maybe-install-target-libgcc:
34148 @if target-libgcc
34149 maybe-install-target-libgcc: install-target-libgcc
34151 install-target-libgcc: installdirs
34152 @: $(MAKE); $(unstage)
34153 @r=`${PWD_COMMAND}`; export r; \
34154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34155 $(NORMAL_TARGET_EXPORTS) \
34156 (cd $(TARGET_SUBDIR)/libgcc && \
34157 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34159 @endif target-libgcc
34161 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
34162 maybe-install-strip-target-libgcc:
34163 @if target-libgcc
34164 maybe-install-strip-target-libgcc: install-strip-target-libgcc
34166 install-strip-target-libgcc: installdirs
34167 @: $(MAKE); $(unstage)
34168 @r=`${PWD_COMMAND}`; export r; \
34169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34170 $(NORMAL_TARGET_EXPORTS) \
34171 (cd $(TARGET_SUBDIR)/libgcc && \
34172 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34174 @endif target-libgcc
34176 # Other targets (info, dvi, pdf, etc.)
34178 .PHONY: maybe-info-target-libgcc info-target-libgcc
34179 maybe-info-target-libgcc:
34180 @if target-libgcc
34181 maybe-info-target-libgcc: info-target-libgcc
34183 info-target-libgcc: \
34184 configure-target-libgcc
34185 @: $(MAKE); $(unstage)
34186 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34187 r=`${PWD_COMMAND}`; export r; \
34188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34189 $(NORMAL_TARGET_EXPORTS) \
34190 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
34191 for flag in $(EXTRA_TARGET_FLAGS); do \
34192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34193 done; \
34194 (cd $(TARGET_SUBDIR)/libgcc && \
34195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34197 "RANLIB=$${RANLIB}" \
34198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34199 info) \
34200 || exit 1
34202 @endif target-libgcc
34204 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
34205 maybe-dvi-target-libgcc:
34206 @if target-libgcc
34207 maybe-dvi-target-libgcc: dvi-target-libgcc
34209 dvi-target-libgcc: \
34210 configure-target-libgcc
34211 @: $(MAKE); $(unstage)
34212 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34213 r=`${PWD_COMMAND}`; export r; \
34214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34215 $(NORMAL_TARGET_EXPORTS) \
34216 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
34217 for flag in $(EXTRA_TARGET_FLAGS); do \
34218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34219 done; \
34220 (cd $(TARGET_SUBDIR)/libgcc && \
34221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34223 "RANLIB=$${RANLIB}" \
34224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34225 dvi) \
34226 || exit 1
34228 @endif target-libgcc
34230 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
34231 maybe-pdf-target-libgcc:
34232 @if target-libgcc
34233 maybe-pdf-target-libgcc: pdf-target-libgcc
34235 pdf-target-libgcc: \
34236 configure-target-libgcc
34237 @: $(MAKE); $(unstage)
34238 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34239 r=`${PWD_COMMAND}`; export r; \
34240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34241 $(NORMAL_TARGET_EXPORTS) \
34242 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
34243 for flag in $(EXTRA_TARGET_FLAGS); do \
34244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34245 done; \
34246 (cd $(TARGET_SUBDIR)/libgcc && \
34247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34249 "RANLIB=$${RANLIB}" \
34250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34251 pdf) \
34252 || exit 1
34254 @endif target-libgcc
34256 .PHONY: maybe-html-target-libgcc html-target-libgcc
34257 maybe-html-target-libgcc:
34258 @if target-libgcc
34259 maybe-html-target-libgcc: html-target-libgcc
34261 html-target-libgcc: \
34262 configure-target-libgcc
34263 @: $(MAKE); $(unstage)
34264 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34265 r=`${PWD_COMMAND}`; export r; \
34266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34267 $(NORMAL_TARGET_EXPORTS) \
34268 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
34269 for flag in $(EXTRA_TARGET_FLAGS); do \
34270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34271 done; \
34272 (cd $(TARGET_SUBDIR)/libgcc && \
34273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34275 "RANLIB=$${RANLIB}" \
34276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34277 html) \
34278 || exit 1
34280 @endif target-libgcc
34282 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
34283 maybe-TAGS-target-libgcc:
34284 @if target-libgcc
34285 maybe-TAGS-target-libgcc: TAGS-target-libgcc
34287 TAGS-target-libgcc: \
34288 configure-target-libgcc
34289 @: $(MAKE); $(unstage)
34290 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34291 r=`${PWD_COMMAND}`; export r; \
34292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34293 $(NORMAL_TARGET_EXPORTS) \
34294 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
34295 for flag in $(EXTRA_TARGET_FLAGS); do \
34296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34297 done; \
34298 (cd $(TARGET_SUBDIR)/libgcc && \
34299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34301 "RANLIB=$${RANLIB}" \
34302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34303 TAGS) \
34304 || exit 1
34306 @endif target-libgcc
34308 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
34309 maybe-install-info-target-libgcc:
34310 @if target-libgcc
34311 maybe-install-info-target-libgcc: install-info-target-libgcc
34313 install-info-target-libgcc: \
34314 configure-target-libgcc \
34315 info-target-libgcc
34316 @: $(MAKE); $(unstage)
34317 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34318 r=`${PWD_COMMAND}`; export r; \
34319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34320 $(NORMAL_TARGET_EXPORTS) \
34321 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
34322 for flag in $(EXTRA_TARGET_FLAGS); do \
34323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34324 done; \
34325 (cd $(TARGET_SUBDIR)/libgcc && \
34326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34328 "RANLIB=$${RANLIB}" \
34329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34330 install-info) \
34331 || exit 1
34333 @endif target-libgcc
34335 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
34336 maybe-install-pdf-target-libgcc:
34337 @if target-libgcc
34338 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
34340 install-pdf-target-libgcc: \
34341 configure-target-libgcc \
34342 pdf-target-libgcc
34343 @: $(MAKE); $(unstage)
34344 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34345 r=`${PWD_COMMAND}`; export r; \
34346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34347 $(NORMAL_TARGET_EXPORTS) \
34348 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
34349 for flag in $(EXTRA_TARGET_FLAGS); do \
34350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34351 done; \
34352 (cd $(TARGET_SUBDIR)/libgcc && \
34353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34355 "RANLIB=$${RANLIB}" \
34356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34357 install-pdf) \
34358 || exit 1
34360 @endif target-libgcc
34362 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
34363 maybe-install-html-target-libgcc:
34364 @if target-libgcc
34365 maybe-install-html-target-libgcc: install-html-target-libgcc
34367 install-html-target-libgcc: \
34368 configure-target-libgcc \
34369 html-target-libgcc
34370 @: $(MAKE); $(unstage)
34371 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34372 r=`${PWD_COMMAND}`; export r; \
34373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34374 $(NORMAL_TARGET_EXPORTS) \
34375 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
34376 for flag in $(EXTRA_TARGET_FLAGS); do \
34377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34378 done; \
34379 (cd $(TARGET_SUBDIR)/libgcc && \
34380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34382 "RANLIB=$${RANLIB}" \
34383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34384 install-html) \
34385 || exit 1
34387 @endif target-libgcc
34389 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
34390 maybe-installcheck-target-libgcc:
34391 @if target-libgcc
34392 maybe-installcheck-target-libgcc: installcheck-target-libgcc
34394 installcheck-target-libgcc: \
34395 configure-target-libgcc
34396 @: $(MAKE); $(unstage)
34397 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34398 r=`${PWD_COMMAND}`; export r; \
34399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34400 $(NORMAL_TARGET_EXPORTS) \
34401 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
34402 for flag in $(EXTRA_TARGET_FLAGS); do \
34403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34404 done; \
34405 (cd $(TARGET_SUBDIR)/libgcc && \
34406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34408 "RANLIB=$${RANLIB}" \
34409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34410 installcheck) \
34411 || exit 1
34413 @endif target-libgcc
34415 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
34416 maybe-mostlyclean-target-libgcc:
34417 @if target-libgcc
34418 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
34420 mostlyclean-target-libgcc:
34421 @: $(MAKE); $(unstage)
34422 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34423 r=`${PWD_COMMAND}`; export r; \
34424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34425 $(NORMAL_TARGET_EXPORTS) \
34426 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
34427 for flag in $(EXTRA_TARGET_FLAGS); do \
34428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34429 done; \
34430 (cd $(TARGET_SUBDIR)/libgcc && \
34431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34433 "RANLIB=$${RANLIB}" \
34434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34435 mostlyclean) \
34436 || exit 1
34438 @endif target-libgcc
34440 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
34441 maybe-clean-target-libgcc:
34442 @if target-libgcc
34443 maybe-clean-target-libgcc: clean-target-libgcc
34445 clean-target-libgcc:
34446 @: $(MAKE); $(unstage)
34447 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34448 r=`${PWD_COMMAND}`; export r; \
34449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34450 $(NORMAL_TARGET_EXPORTS) \
34451 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
34452 for flag in $(EXTRA_TARGET_FLAGS); do \
34453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34454 done; \
34455 (cd $(TARGET_SUBDIR)/libgcc && \
34456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34458 "RANLIB=$${RANLIB}" \
34459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34460 clean) \
34461 || exit 1
34463 @endif target-libgcc
34465 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
34466 maybe-distclean-target-libgcc:
34467 @if target-libgcc
34468 maybe-distclean-target-libgcc: distclean-target-libgcc
34470 distclean-target-libgcc:
34471 @: $(MAKE); $(unstage)
34472 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34473 r=`${PWD_COMMAND}`; export r; \
34474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34475 $(NORMAL_TARGET_EXPORTS) \
34476 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
34477 for flag in $(EXTRA_TARGET_FLAGS); do \
34478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34479 done; \
34480 (cd $(TARGET_SUBDIR)/libgcc && \
34481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34483 "RANLIB=$${RANLIB}" \
34484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34485 distclean) \
34486 || exit 1
34488 @endif target-libgcc
34490 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
34491 maybe-maintainer-clean-target-libgcc:
34492 @if target-libgcc
34493 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
34495 maintainer-clean-target-libgcc:
34496 @: $(MAKE); $(unstage)
34497 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/libgcc && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34510 maintainer-clean) \
34511 || exit 1
34513 @endif target-libgcc
34519 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
34520 maybe-configure-target-libbacktrace:
34521 @if gcc-bootstrap
34522 configure-target-libbacktrace: stage_current
34523 @endif gcc-bootstrap
34524 @if target-libbacktrace
34525 maybe-configure-target-libbacktrace: configure-target-libbacktrace
34526 configure-target-libbacktrace:
34527 @: $(MAKE); $(unstage)
34528 @r=`${PWD_COMMAND}`; export r; \
34529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34530 echo "Checking multilib configuration for libbacktrace..."; \
34531 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
34532 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
34533 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
34534 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
34535 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
34536 else \
34537 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
34538 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
34539 fi; \
34540 else \
34541 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
34542 fi; \
34543 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
34544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
34545 $(NORMAL_TARGET_EXPORTS) \
34546 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
34547 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
34548 case $(srcdir) in \
34549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34550 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
34551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34552 esac; \
34553 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
34554 libsrcdir="$$s/libbacktrace"; \
34555 rm -f no-such-file || : ; \
34556 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34557 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34558 --target=${target_alias} $${srcdiroption} \
34559 || exit 1
34560 @endif target-libbacktrace
34566 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
34567 maybe-all-target-libbacktrace:
34568 @if gcc-bootstrap
34569 all-target-libbacktrace: stage_current
34570 @endif gcc-bootstrap
34571 @if target-libbacktrace
34572 TARGET-target-libbacktrace=all
34573 maybe-all-target-libbacktrace: all-target-libbacktrace
34574 all-target-libbacktrace: configure-target-libbacktrace
34575 @: $(MAKE); $(unstage)
34576 @r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 $(NORMAL_TARGET_EXPORTS) \
34579 (cd $(TARGET_SUBDIR)/libbacktrace && \
34580 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34581 $(TARGET-target-libbacktrace))
34582 @endif target-libbacktrace
34588 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
34589 maybe-check-target-libbacktrace:
34590 @if target-libbacktrace
34591 maybe-check-target-libbacktrace: check-target-libbacktrace
34593 check-target-libbacktrace:
34594 @: $(MAKE); $(unstage)
34595 @r=`${PWD_COMMAND}`; export r; \
34596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34597 $(NORMAL_TARGET_EXPORTS) \
34598 (cd $(TARGET_SUBDIR)/libbacktrace && \
34599 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34601 @endif target-libbacktrace
34603 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
34604 maybe-install-target-libbacktrace:
34605 @if target-libbacktrace
34606 maybe-install-target-libbacktrace: install-target-libbacktrace
34608 install-target-libbacktrace: installdirs
34609 @: $(MAKE); $(unstage)
34610 @r=`${PWD_COMMAND}`; export r; \
34611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34612 $(NORMAL_TARGET_EXPORTS) \
34613 (cd $(TARGET_SUBDIR)/libbacktrace && \
34614 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34616 @endif target-libbacktrace
34618 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
34619 maybe-install-strip-target-libbacktrace:
34620 @if target-libbacktrace
34621 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
34623 install-strip-target-libbacktrace: installdirs
34624 @: $(MAKE); $(unstage)
34625 @r=`${PWD_COMMAND}`; export r; \
34626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34627 $(NORMAL_TARGET_EXPORTS) \
34628 (cd $(TARGET_SUBDIR)/libbacktrace && \
34629 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34631 @endif target-libbacktrace
34633 # Other targets (info, dvi, pdf, etc.)
34635 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
34636 maybe-info-target-libbacktrace:
34637 @if target-libbacktrace
34638 maybe-info-target-libbacktrace: info-target-libbacktrace
34640 info-target-libbacktrace: \
34641 configure-target-libbacktrace
34642 @: $(MAKE); $(unstage)
34643 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34644 r=`${PWD_COMMAND}`; export r; \
34645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34646 $(NORMAL_TARGET_EXPORTS) \
34647 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
34648 for flag in $(EXTRA_TARGET_FLAGS); do \
34649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34650 done; \
34651 (cd $(TARGET_SUBDIR)/libbacktrace && \
34652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34654 "RANLIB=$${RANLIB}" \
34655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34656 info) \
34657 || exit 1
34659 @endif target-libbacktrace
34661 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
34662 maybe-dvi-target-libbacktrace:
34663 @if target-libbacktrace
34664 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
34666 dvi-target-libbacktrace: \
34667 configure-target-libbacktrace
34668 @: $(MAKE); $(unstage)
34669 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34670 r=`${PWD_COMMAND}`; export r; \
34671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34672 $(NORMAL_TARGET_EXPORTS) \
34673 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
34674 for flag in $(EXTRA_TARGET_FLAGS); do \
34675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34676 done; \
34677 (cd $(TARGET_SUBDIR)/libbacktrace && \
34678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34680 "RANLIB=$${RANLIB}" \
34681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34682 dvi) \
34683 || exit 1
34685 @endif target-libbacktrace
34687 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
34688 maybe-pdf-target-libbacktrace:
34689 @if target-libbacktrace
34690 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
34692 pdf-target-libbacktrace: \
34693 configure-target-libbacktrace
34694 @: $(MAKE); $(unstage)
34695 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(NORMAL_TARGET_EXPORTS) \
34699 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
34700 for flag in $(EXTRA_TARGET_FLAGS); do \
34701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34702 done; \
34703 (cd $(TARGET_SUBDIR)/libbacktrace && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34708 pdf) \
34709 || exit 1
34711 @endif target-libbacktrace
34713 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
34714 maybe-html-target-libbacktrace:
34715 @if target-libbacktrace
34716 maybe-html-target-libbacktrace: html-target-libbacktrace
34718 html-target-libbacktrace: \
34719 configure-target-libbacktrace
34720 @: $(MAKE); $(unstage)
34721 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34722 r=`${PWD_COMMAND}`; export r; \
34723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34724 $(NORMAL_TARGET_EXPORTS) \
34725 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
34726 for flag in $(EXTRA_TARGET_FLAGS); do \
34727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34728 done; \
34729 (cd $(TARGET_SUBDIR)/libbacktrace && \
34730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34732 "RANLIB=$${RANLIB}" \
34733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34734 html) \
34735 || exit 1
34737 @endif target-libbacktrace
34739 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
34740 maybe-TAGS-target-libbacktrace:
34741 @if target-libbacktrace
34742 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
34744 TAGS-target-libbacktrace: \
34745 configure-target-libbacktrace
34746 @: $(MAKE); $(unstage)
34747 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34748 r=`${PWD_COMMAND}`; export r; \
34749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34750 $(NORMAL_TARGET_EXPORTS) \
34751 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
34752 for flag in $(EXTRA_TARGET_FLAGS); do \
34753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34754 done; \
34755 (cd $(TARGET_SUBDIR)/libbacktrace && \
34756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34758 "RANLIB=$${RANLIB}" \
34759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34760 TAGS) \
34761 || exit 1
34763 @endif target-libbacktrace
34765 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
34766 maybe-install-info-target-libbacktrace:
34767 @if target-libbacktrace
34768 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
34770 install-info-target-libbacktrace: \
34771 configure-target-libbacktrace \
34772 info-target-libbacktrace
34773 @: $(MAKE); $(unstage)
34774 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34775 r=`${PWD_COMMAND}`; export r; \
34776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34777 $(NORMAL_TARGET_EXPORTS) \
34778 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
34779 for flag in $(EXTRA_TARGET_FLAGS); do \
34780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34781 done; \
34782 (cd $(TARGET_SUBDIR)/libbacktrace && \
34783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34785 "RANLIB=$${RANLIB}" \
34786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34787 install-info) \
34788 || exit 1
34790 @endif target-libbacktrace
34792 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
34793 maybe-install-pdf-target-libbacktrace:
34794 @if target-libbacktrace
34795 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
34797 install-pdf-target-libbacktrace: \
34798 configure-target-libbacktrace \
34799 pdf-target-libbacktrace
34800 @: $(MAKE); $(unstage)
34801 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34802 r=`${PWD_COMMAND}`; export r; \
34803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34804 $(NORMAL_TARGET_EXPORTS) \
34805 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
34806 for flag in $(EXTRA_TARGET_FLAGS); do \
34807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34808 done; \
34809 (cd $(TARGET_SUBDIR)/libbacktrace && \
34810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34812 "RANLIB=$${RANLIB}" \
34813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34814 install-pdf) \
34815 || exit 1
34817 @endif target-libbacktrace
34819 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
34820 maybe-install-html-target-libbacktrace:
34821 @if target-libbacktrace
34822 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
34824 install-html-target-libbacktrace: \
34825 configure-target-libbacktrace \
34826 html-target-libbacktrace
34827 @: $(MAKE); $(unstage)
34828 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34829 r=`${PWD_COMMAND}`; export r; \
34830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34831 $(NORMAL_TARGET_EXPORTS) \
34832 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
34833 for flag in $(EXTRA_TARGET_FLAGS); do \
34834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34835 done; \
34836 (cd $(TARGET_SUBDIR)/libbacktrace && \
34837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34839 "RANLIB=$${RANLIB}" \
34840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34841 install-html) \
34842 || exit 1
34844 @endif target-libbacktrace
34846 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
34847 maybe-installcheck-target-libbacktrace:
34848 @if target-libbacktrace
34849 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
34851 installcheck-target-libbacktrace: \
34852 configure-target-libbacktrace
34853 @: $(MAKE); $(unstage)
34854 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34855 r=`${PWD_COMMAND}`; export r; \
34856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34857 $(NORMAL_TARGET_EXPORTS) \
34858 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
34859 for flag in $(EXTRA_TARGET_FLAGS); do \
34860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34861 done; \
34862 (cd $(TARGET_SUBDIR)/libbacktrace && \
34863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34865 "RANLIB=$${RANLIB}" \
34866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34867 installcheck) \
34868 || exit 1
34870 @endif target-libbacktrace
34872 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
34873 maybe-mostlyclean-target-libbacktrace:
34874 @if target-libbacktrace
34875 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
34877 mostlyclean-target-libbacktrace:
34878 @: $(MAKE); $(unstage)
34879 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34880 r=`${PWD_COMMAND}`; export r; \
34881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34882 $(NORMAL_TARGET_EXPORTS) \
34883 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
34884 for flag in $(EXTRA_TARGET_FLAGS); do \
34885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34886 done; \
34887 (cd $(TARGET_SUBDIR)/libbacktrace && \
34888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34890 "RANLIB=$${RANLIB}" \
34891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34892 mostlyclean) \
34893 || exit 1
34895 @endif target-libbacktrace
34897 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
34898 maybe-clean-target-libbacktrace:
34899 @if target-libbacktrace
34900 maybe-clean-target-libbacktrace: clean-target-libbacktrace
34902 clean-target-libbacktrace:
34903 @: $(MAKE); $(unstage)
34904 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34905 r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34907 $(NORMAL_TARGET_EXPORTS) \
34908 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
34909 for flag in $(EXTRA_TARGET_FLAGS); do \
34910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34911 done; \
34912 (cd $(TARGET_SUBDIR)/libbacktrace && \
34913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34915 "RANLIB=$${RANLIB}" \
34916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34917 clean) \
34918 || exit 1
34920 @endif target-libbacktrace
34922 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
34923 maybe-distclean-target-libbacktrace:
34924 @if target-libbacktrace
34925 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
34927 distclean-target-libbacktrace:
34928 @: $(MAKE); $(unstage)
34929 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34930 r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(NORMAL_TARGET_EXPORTS) \
34933 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
34934 for flag in $(EXTRA_TARGET_FLAGS); do \
34935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34936 done; \
34937 (cd $(TARGET_SUBDIR)/libbacktrace && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34940 "RANLIB=$${RANLIB}" \
34941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34942 distclean) \
34943 || exit 1
34945 @endif target-libbacktrace
34947 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
34948 maybe-maintainer-clean-target-libbacktrace:
34949 @if target-libbacktrace
34950 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
34952 maintainer-clean-target-libbacktrace:
34953 @: $(MAKE); $(unstage)
34954 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34955 r=`${PWD_COMMAND}`; export r; \
34956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34957 $(NORMAL_TARGET_EXPORTS) \
34958 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
34959 for flag in $(EXTRA_TARGET_FLAGS); do \
34960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34961 done; \
34962 (cd $(TARGET_SUBDIR)/libbacktrace && \
34963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34965 "RANLIB=$${RANLIB}" \
34966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34967 maintainer-clean) \
34968 || exit 1
34970 @endif target-libbacktrace
34976 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
34977 maybe-configure-target-libquadmath:
34978 @if gcc-bootstrap
34979 configure-target-libquadmath: stage_current
34980 @endif gcc-bootstrap
34981 @if target-libquadmath
34982 maybe-configure-target-libquadmath: configure-target-libquadmath
34983 configure-target-libquadmath:
34984 @: $(MAKE); $(unstage)
34985 @r=`${PWD_COMMAND}`; export r; \
34986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34987 echo "Checking multilib configuration for libquadmath..."; \
34988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
34989 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
34990 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34991 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34992 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
34993 else \
34994 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
34995 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34996 fi; \
34997 else \
34998 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34999 fi; \
35000 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
35001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
35002 $(NORMAL_TARGET_EXPORTS) \
35003 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
35004 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
35005 case $(srcdir) in \
35006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35007 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
35008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35009 esac; \
35010 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
35011 libsrcdir="$$s/libquadmath"; \
35012 rm -f no-such-file || : ; \
35013 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35014 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35015 --target=${target_alias} $${srcdiroption} \
35016 || exit 1
35017 @endif target-libquadmath
35023 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
35024 maybe-all-target-libquadmath:
35025 @if gcc-bootstrap
35026 all-target-libquadmath: stage_current
35027 @endif gcc-bootstrap
35028 @if target-libquadmath
35029 TARGET-target-libquadmath=all
35030 maybe-all-target-libquadmath: all-target-libquadmath
35031 all-target-libquadmath: configure-target-libquadmath
35032 @: $(MAKE); $(unstage)
35033 @r=`${PWD_COMMAND}`; export r; \
35034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35035 $(NORMAL_TARGET_EXPORTS) \
35036 (cd $(TARGET_SUBDIR)/libquadmath && \
35037 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35038 $(TARGET-target-libquadmath))
35039 @endif target-libquadmath
35045 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
35046 maybe-check-target-libquadmath:
35047 @if target-libquadmath
35048 maybe-check-target-libquadmath: check-target-libquadmath
35050 check-target-libquadmath:
35051 @: $(MAKE); $(unstage)
35052 @r=`${PWD_COMMAND}`; export r; \
35053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35054 $(NORMAL_TARGET_EXPORTS) \
35055 (cd $(TARGET_SUBDIR)/libquadmath && \
35056 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35058 @endif target-libquadmath
35060 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
35061 maybe-install-target-libquadmath:
35062 @if target-libquadmath
35063 maybe-install-target-libquadmath: install-target-libquadmath
35065 install-target-libquadmath: installdirs
35066 @: $(MAKE); $(unstage)
35067 @r=`${PWD_COMMAND}`; export r; \
35068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35069 $(NORMAL_TARGET_EXPORTS) \
35070 (cd $(TARGET_SUBDIR)/libquadmath && \
35071 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35073 @endif target-libquadmath
35075 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
35076 maybe-install-strip-target-libquadmath:
35077 @if target-libquadmath
35078 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
35080 install-strip-target-libquadmath: installdirs
35081 @: $(MAKE); $(unstage)
35082 @r=`${PWD_COMMAND}`; export r; \
35083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35084 $(NORMAL_TARGET_EXPORTS) \
35085 (cd $(TARGET_SUBDIR)/libquadmath && \
35086 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35088 @endif target-libquadmath
35090 # Other targets (info, dvi, pdf, etc.)
35092 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
35093 maybe-info-target-libquadmath:
35094 @if target-libquadmath
35095 maybe-info-target-libquadmath: info-target-libquadmath
35097 info-target-libquadmath: \
35098 configure-target-libquadmath
35099 @: $(MAKE); $(unstage)
35100 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35101 r=`${PWD_COMMAND}`; export r; \
35102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35103 $(NORMAL_TARGET_EXPORTS) \
35104 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
35105 for flag in $(EXTRA_TARGET_FLAGS); do \
35106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35107 done; \
35108 (cd $(TARGET_SUBDIR)/libquadmath && \
35109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35111 "RANLIB=$${RANLIB}" \
35112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35113 info) \
35114 || exit 1
35116 @endif target-libquadmath
35118 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
35119 maybe-dvi-target-libquadmath:
35120 @if target-libquadmath
35121 maybe-dvi-target-libquadmath: dvi-target-libquadmath
35123 dvi-target-libquadmath: \
35124 configure-target-libquadmath
35125 @: $(MAKE); $(unstage)
35126 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35127 r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 $(NORMAL_TARGET_EXPORTS) \
35130 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
35131 for flag in $(EXTRA_TARGET_FLAGS); do \
35132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35133 done; \
35134 (cd $(TARGET_SUBDIR)/libquadmath && \
35135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35137 "RANLIB=$${RANLIB}" \
35138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35139 dvi) \
35140 || exit 1
35142 @endif target-libquadmath
35144 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
35145 maybe-pdf-target-libquadmath:
35146 @if target-libquadmath
35147 maybe-pdf-target-libquadmath: pdf-target-libquadmath
35149 pdf-target-libquadmath: \
35150 configure-target-libquadmath
35151 @: $(MAKE); $(unstage)
35152 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35153 r=`${PWD_COMMAND}`; export r; \
35154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35155 $(NORMAL_TARGET_EXPORTS) \
35156 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35157 for flag in $(EXTRA_TARGET_FLAGS); do \
35158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35159 done; \
35160 (cd $(TARGET_SUBDIR)/libquadmath && \
35161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35163 "RANLIB=$${RANLIB}" \
35164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35165 pdf) \
35166 || exit 1
35168 @endif target-libquadmath
35170 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
35171 maybe-html-target-libquadmath:
35172 @if target-libquadmath
35173 maybe-html-target-libquadmath: html-target-libquadmath
35175 html-target-libquadmath: \
35176 configure-target-libquadmath
35177 @: $(MAKE); $(unstage)
35178 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35179 r=`${PWD_COMMAND}`; export r; \
35180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35181 $(NORMAL_TARGET_EXPORTS) \
35182 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
35183 for flag in $(EXTRA_TARGET_FLAGS); do \
35184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35185 done; \
35186 (cd $(TARGET_SUBDIR)/libquadmath && \
35187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35189 "RANLIB=$${RANLIB}" \
35190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35191 html) \
35192 || exit 1
35194 @endif target-libquadmath
35196 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
35197 maybe-TAGS-target-libquadmath:
35198 @if target-libquadmath
35199 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
35201 TAGS-target-libquadmath: \
35202 configure-target-libquadmath
35203 @: $(MAKE); $(unstage)
35204 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35205 r=`${PWD_COMMAND}`; export r; \
35206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35207 $(NORMAL_TARGET_EXPORTS) \
35208 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
35209 for flag in $(EXTRA_TARGET_FLAGS); do \
35210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35211 done; \
35212 (cd $(TARGET_SUBDIR)/libquadmath && \
35213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35215 "RANLIB=$${RANLIB}" \
35216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35217 TAGS) \
35218 || exit 1
35220 @endif target-libquadmath
35222 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
35223 maybe-install-info-target-libquadmath:
35224 @if target-libquadmath
35225 maybe-install-info-target-libquadmath: install-info-target-libquadmath
35227 install-info-target-libquadmath: \
35228 configure-target-libquadmath \
35229 info-target-libquadmath
35230 @: $(MAKE); $(unstage)
35231 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35232 r=`${PWD_COMMAND}`; export r; \
35233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35234 $(NORMAL_TARGET_EXPORTS) \
35235 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
35236 for flag in $(EXTRA_TARGET_FLAGS); do \
35237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35238 done; \
35239 (cd $(TARGET_SUBDIR)/libquadmath && \
35240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35242 "RANLIB=$${RANLIB}" \
35243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35244 install-info) \
35245 || exit 1
35247 @endif target-libquadmath
35249 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
35250 maybe-install-pdf-target-libquadmath:
35251 @if target-libquadmath
35252 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
35254 install-pdf-target-libquadmath: \
35255 configure-target-libquadmath \
35256 pdf-target-libquadmath
35257 @: $(MAKE); $(unstage)
35258 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35259 r=`${PWD_COMMAND}`; export r; \
35260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35261 $(NORMAL_TARGET_EXPORTS) \
35262 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35263 for flag in $(EXTRA_TARGET_FLAGS); do \
35264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35265 done; \
35266 (cd $(TARGET_SUBDIR)/libquadmath && \
35267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35269 "RANLIB=$${RANLIB}" \
35270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35271 install-pdf) \
35272 || exit 1
35274 @endif target-libquadmath
35276 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
35277 maybe-install-html-target-libquadmath:
35278 @if target-libquadmath
35279 maybe-install-html-target-libquadmath: install-html-target-libquadmath
35281 install-html-target-libquadmath: \
35282 configure-target-libquadmath \
35283 html-target-libquadmath
35284 @: $(MAKE); $(unstage)
35285 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35286 r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 $(NORMAL_TARGET_EXPORTS) \
35289 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
35290 for flag in $(EXTRA_TARGET_FLAGS); do \
35291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35292 done; \
35293 (cd $(TARGET_SUBDIR)/libquadmath && \
35294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35296 "RANLIB=$${RANLIB}" \
35297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35298 install-html) \
35299 || exit 1
35301 @endif target-libquadmath
35303 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
35304 maybe-installcheck-target-libquadmath:
35305 @if target-libquadmath
35306 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
35308 installcheck-target-libquadmath: \
35309 configure-target-libquadmath
35310 @: $(MAKE); $(unstage)
35311 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35312 r=`${PWD_COMMAND}`; export r; \
35313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35314 $(NORMAL_TARGET_EXPORTS) \
35315 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
35316 for flag in $(EXTRA_TARGET_FLAGS); do \
35317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35318 done; \
35319 (cd $(TARGET_SUBDIR)/libquadmath && \
35320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35322 "RANLIB=$${RANLIB}" \
35323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35324 installcheck) \
35325 || exit 1
35327 @endif target-libquadmath
35329 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
35330 maybe-mostlyclean-target-libquadmath:
35331 @if target-libquadmath
35332 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
35334 mostlyclean-target-libquadmath:
35335 @: $(MAKE); $(unstage)
35336 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35337 r=`${PWD_COMMAND}`; export r; \
35338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35339 $(NORMAL_TARGET_EXPORTS) \
35340 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
35341 for flag in $(EXTRA_TARGET_FLAGS); do \
35342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35343 done; \
35344 (cd $(TARGET_SUBDIR)/libquadmath && \
35345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35347 "RANLIB=$${RANLIB}" \
35348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35349 mostlyclean) \
35350 || exit 1
35352 @endif target-libquadmath
35354 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
35355 maybe-clean-target-libquadmath:
35356 @if target-libquadmath
35357 maybe-clean-target-libquadmath: clean-target-libquadmath
35359 clean-target-libquadmath:
35360 @: $(MAKE); $(unstage)
35361 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35362 r=`${PWD_COMMAND}`; export r; \
35363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35364 $(NORMAL_TARGET_EXPORTS) \
35365 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
35366 for flag in $(EXTRA_TARGET_FLAGS); do \
35367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35368 done; \
35369 (cd $(TARGET_SUBDIR)/libquadmath && \
35370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35372 "RANLIB=$${RANLIB}" \
35373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35374 clean) \
35375 || exit 1
35377 @endif target-libquadmath
35379 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
35380 maybe-distclean-target-libquadmath:
35381 @if target-libquadmath
35382 maybe-distclean-target-libquadmath: distclean-target-libquadmath
35384 distclean-target-libquadmath:
35385 @: $(MAKE); $(unstage)
35386 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35387 r=`${PWD_COMMAND}`; export r; \
35388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35389 $(NORMAL_TARGET_EXPORTS) \
35390 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
35391 for flag in $(EXTRA_TARGET_FLAGS); do \
35392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35393 done; \
35394 (cd $(TARGET_SUBDIR)/libquadmath && \
35395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35397 "RANLIB=$${RANLIB}" \
35398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35399 distclean) \
35400 || exit 1
35402 @endif target-libquadmath
35404 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
35405 maybe-maintainer-clean-target-libquadmath:
35406 @if target-libquadmath
35407 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
35409 maintainer-clean-target-libquadmath:
35410 @: $(MAKE); $(unstage)
35411 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35412 r=`${PWD_COMMAND}`; export r; \
35413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35414 $(NORMAL_TARGET_EXPORTS) \
35415 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
35416 for flag in $(EXTRA_TARGET_FLAGS); do \
35417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35418 done; \
35419 (cd $(TARGET_SUBDIR)/libquadmath && \
35420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35422 "RANLIB=$${RANLIB}" \
35423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35424 maintainer-clean) \
35425 || exit 1
35427 @endif target-libquadmath
35433 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35434 maybe-configure-target-libgfortran:
35435 @if gcc-bootstrap
35436 configure-target-libgfortran: stage_current
35437 @endif gcc-bootstrap
35438 @if target-libgfortran
35439 maybe-configure-target-libgfortran: configure-target-libgfortran
35440 configure-target-libgfortran:
35441 @: $(MAKE); $(unstage)
35442 @r=`${PWD_COMMAND}`; export r; \
35443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35444 echo "Checking multilib configuration for libgfortran..."; \
35445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35446 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35447 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35448 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35449 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35450 else \
35451 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35452 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35453 fi; \
35454 else \
35455 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35456 fi; \
35457 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35458 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35459 $(NORMAL_TARGET_EXPORTS) \
35460 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35461 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35462 case $(srcdir) in \
35463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35464 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35466 esac; \
35467 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35468 libsrcdir="$$s/libgfortran"; \
35469 rm -f no-such-file || : ; \
35470 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35471 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35472 --target=${target_alias} $${srcdiroption} \
35473 || exit 1
35474 @endif target-libgfortran
35480 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35481 maybe-all-target-libgfortran:
35482 @if gcc-bootstrap
35483 all-target-libgfortran: stage_current
35484 @endif gcc-bootstrap
35485 @if target-libgfortran
35486 TARGET-target-libgfortran=all
35487 maybe-all-target-libgfortran: all-target-libgfortran
35488 all-target-libgfortran: configure-target-libgfortran
35489 @: $(MAKE); $(unstage)
35490 @r=`${PWD_COMMAND}`; export r; \
35491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35492 $(NORMAL_TARGET_EXPORTS) \
35493 (cd $(TARGET_SUBDIR)/libgfortran && \
35494 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35495 $(TARGET-target-libgfortran))
35496 @endif target-libgfortran
35502 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35503 maybe-check-target-libgfortran:
35504 @if target-libgfortran
35505 maybe-check-target-libgfortran: check-target-libgfortran
35507 check-target-libgfortran:
35508 @: $(MAKE); $(unstage)
35509 @r=`${PWD_COMMAND}`; export r; \
35510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35511 $(NORMAL_TARGET_EXPORTS) \
35512 (cd $(TARGET_SUBDIR)/libgfortran && \
35513 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35515 @endif target-libgfortran
35517 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35518 maybe-install-target-libgfortran:
35519 @if target-libgfortran
35520 maybe-install-target-libgfortran: install-target-libgfortran
35522 install-target-libgfortran: installdirs
35523 @: $(MAKE); $(unstage)
35524 @r=`${PWD_COMMAND}`; export r; \
35525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35526 $(NORMAL_TARGET_EXPORTS) \
35527 (cd $(TARGET_SUBDIR)/libgfortran && \
35528 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35530 @endif target-libgfortran
35532 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
35533 maybe-install-strip-target-libgfortran:
35534 @if target-libgfortran
35535 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
35537 install-strip-target-libgfortran: installdirs
35538 @: $(MAKE); $(unstage)
35539 @r=`${PWD_COMMAND}`; export r; \
35540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35541 $(NORMAL_TARGET_EXPORTS) \
35542 (cd $(TARGET_SUBDIR)/libgfortran && \
35543 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35545 @endif target-libgfortran
35547 # Other targets (info, dvi, pdf, etc.)
35549 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35550 maybe-info-target-libgfortran:
35551 @if target-libgfortran
35552 maybe-info-target-libgfortran: info-target-libgfortran
35554 info-target-libgfortran: \
35555 configure-target-libgfortran
35556 @: $(MAKE); $(unstage)
35557 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35558 r=`${PWD_COMMAND}`; export r; \
35559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35560 $(NORMAL_TARGET_EXPORTS) \
35561 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35562 for flag in $(EXTRA_TARGET_FLAGS); do \
35563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35564 done; \
35565 (cd $(TARGET_SUBDIR)/libgfortran && \
35566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35568 "RANLIB=$${RANLIB}" \
35569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35570 info) \
35571 || exit 1
35573 @endif target-libgfortran
35575 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35576 maybe-dvi-target-libgfortran:
35577 @if target-libgfortran
35578 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35580 dvi-target-libgfortran: \
35581 configure-target-libgfortran
35582 @: $(MAKE); $(unstage)
35583 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35584 r=`${PWD_COMMAND}`; export r; \
35585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35586 $(NORMAL_TARGET_EXPORTS) \
35587 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35588 for flag in $(EXTRA_TARGET_FLAGS); do \
35589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35590 done; \
35591 (cd $(TARGET_SUBDIR)/libgfortran && \
35592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35594 "RANLIB=$${RANLIB}" \
35595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35596 dvi) \
35597 || exit 1
35599 @endif target-libgfortran
35601 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35602 maybe-pdf-target-libgfortran:
35603 @if target-libgfortran
35604 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35606 pdf-target-libgfortran: \
35607 configure-target-libgfortran
35608 @: $(MAKE); $(unstage)
35609 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35610 r=`${PWD_COMMAND}`; export r; \
35611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35612 $(NORMAL_TARGET_EXPORTS) \
35613 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35614 for flag in $(EXTRA_TARGET_FLAGS); do \
35615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35616 done; \
35617 (cd $(TARGET_SUBDIR)/libgfortran && \
35618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35620 "RANLIB=$${RANLIB}" \
35621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35622 pdf) \
35623 || exit 1
35625 @endif target-libgfortran
35627 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35628 maybe-html-target-libgfortran:
35629 @if target-libgfortran
35630 maybe-html-target-libgfortran: html-target-libgfortran
35632 html-target-libgfortran: \
35633 configure-target-libgfortran
35634 @: $(MAKE); $(unstage)
35635 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35636 r=`${PWD_COMMAND}`; export r; \
35637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35638 $(NORMAL_TARGET_EXPORTS) \
35639 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35640 for flag in $(EXTRA_TARGET_FLAGS); do \
35641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35642 done; \
35643 (cd $(TARGET_SUBDIR)/libgfortran && \
35644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35646 "RANLIB=$${RANLIB}" \
35647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35648 html) \
35649 || exit 1
35651 @endif target-libgfortran
35653 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35654 maybe-TAGS-target-libgfortran:
35655 @if target-libgfortran
35656 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35658 TAGS-target-libgfortran: \
35659 configure-target-libgfortran
35660 @: $(MAKE); $(unstage)
35661 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35662 r=`${PWD_COMMAND}`; export r; \
35663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35664 $(NORMAL_TARGET_EXPORTS) \
35665 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35666 for flag in $(EXTRA_TARGET_FLAGS); do \
35667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35668 done; \
35669 (cd $(TARGET_SUBDIR)/libgfortran && \
35670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35672 "RANLIB=$${RANLIB}" \
35673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35674 TAGS) \
35675 || exit 1
35677 @endif target-libgfortran
35679 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35680 maybe-install-info-target-libgfortran:
35681 @if target-libgfortran
35682 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35684 install-info-target-libgfortran: \
35685 configure-target-libgfortran \
35686 info-target-libgfortran
35687 @: $(MAKE); $(unstage)
35688 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35689 r=`${PWD_COMMAND}`; export r; \
35690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35691 $(NORMAL_TARGET_EXPORTS) \
35692 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35693 for flag in $(EXTRA_TARGET_FLAGS); do \
35694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35695 done; \
35696 (cd $(TARGET_SUBDIR)/libgfortran && \
35697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35699 "RANLIB=$${RANLIB}" \
35700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35701 install-info) \
35702 || exit 1
35704 @endif target-libgfortran
35706 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
35707 maybe-install-pdf-target-libgfortran:
35708 @if target-libgfortran
35709 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
35711 install-pdf-target-libgfortran: \
35712 configure-target-libgfortran \
35713 pdf-target-libgfortran
35714 @: $(MAKE); $(unstage)
35715 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35716 r=`${PWD_COMMAND}`; export r; \
35717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35718 $(NORMAL_TARGET_EXPORTS) \
35719 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35720 for flag in $(EXTRA_TARGET_FLAGS); do \
35721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35722 done; \
35723 (cd $(TARGET_SUBDIR)/libgfortran && \
35724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35726 "RANLIB=$${RANLIB}" \
35727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35728 install-pdf) \
35729 || exit 1
35731 @endif target-libgfortran
35733 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35734 maybe-install-html-target-libgfortran:
35735 @if target-libgfortran
35736 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35738 install-html-target-libgfortran: \
35739 configure-target-libgfortran \
35740 html-target-libgfortran
35741 @: $(MAKE); $(unstage)
35742 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(NORMAL_TARGET_EXPORTS) \
35746 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35747 for flag in $(EXTRA_TARGET_FLAGS); do \
35748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35749 done; \
35750 (cd $(TARGET_SUBDIR)/libgfortran && \
35751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35753 "RANLIB=$${RANLIB}" \
35754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35755 install-html) \
35756 || exit 1
35758 @endif target-libgfortran
35760 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35761 maybe-installcheck-target-libgfortran:
35762 @if target-libgfortran
35763 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35765 installcheck-target-libgfortran: \
35766 configure-target-libgfortran
35767 @: $(MAKE); $(unstage)
35768 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35769 r=`${PWD_COMMAND}`; export r; \
35770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35771 $(NORMAL_TARGET_EXPORTS) \
35772 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35773 for flag in $(EXTRA_TARGET_FLAGS); do \
35774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35775 done; \
35776 (cd $(TARGET_SUBDIR)/libgfortran && \
35777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35779 "RANLIB=$${RANLIB}" \
35780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35781 installcheck) \
35782 || exit 1
35784 @endif target-libgfortran
35786 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35787 maybe-mostlyclean-target-libgfortran:
35788 @if target-libgfortran
35789 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35791 mostlyclean-target-libgfortran:
35792 @: $(MAKE); $(unstage)
35793 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35794 r=`${PWD_COMMAND}`; export r; \
35795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35796 $(NORMAL_TARGET_EXPORTS) \
35797 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35798 for flag in $(EXTRA_TARGET_FLAGS); do \
35799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35800 done; \
35801 (cd $(TARGET_SUBDIR)/libgfortran && \
35802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35804 "RANLIB=$${RANLIB}" \
35805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35806 mostlyclean) \
35807 || exit 1
35809 @endif target-libgfortran
35811 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35812 maybe-clean-target-libgfortran:
35813 @if target-libgfortran
35814 maybe-clean-target-libgfortran: clean-target-libgfortran
35816 clean-target-libgfortran:
35817 @: $(MAKE); $(unstage)
35818 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35819 r=`${PWD_COMMAND}`; export r; \
35820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35821 $(NORMAL_TARGET_EXPORTS) \
35822 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35823 for flag in $(EXTRA_TARGET_FLAGS); do \
35824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35825 done; \
35826 (cd $(TARGET_SUBDIR)/libgfortran && \
35827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35829 "RANLIB=$${RANLIB}" \
35830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35831 clean) \
35832 || exit 1
35834 @endif target-libgfortran
35836 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35837 maybe-distclean-target-libgfortran:
35838 @if target-libgfortran
35839 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35841 distclean-target-libgfortran:
35842 @: $(MAKE); $(unstage)
35843 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35844 r=`${PWD_COMMAND}`; export r; \
35845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35846 $(NORMAL_TARGET_EXPORTS) \
35847 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35848 for flag in $(EXTRA_TARGET_FLAGS); do \
35849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35850 done; \
35851 (cd $(TARGET_SUBDIR)/libgfortran && \
35852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35854 "RANLIB=$${RANLIB}" \
35855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35856 distclean) \
35857 || exit 1
35859 @endif target-libgfortran
35861 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35862 maybe-maintainer-clean-target-libgfortran:
35863 @if target-libgfortran
35864 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35866 maintainer-clean-target-libgfortran:
35867 @: $(MAKE); $(unstage)
35868 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35869 r=`${PWD_COMMAND}`; export r; \
35870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35871 $(NORMAL_TARGET_EXPORTS) \
35872 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35873 for flag in $(EXTRA_TARGET_FLAGS); do \
35874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35875 done; \
35876 (cd $(TARGET_SUBDIR)/libgfortran && \
35877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35879 "RANLIB=$${RANLIB}" \
35880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35881 maintainer-clean) \
35882 || exit 1
35884 @endif target-libgfortran
35890 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35891 maybe-configure-target-libobjc:
35892 @if gcc-bootstrap
35893 configure-target-libobjc: stage_current
35894 @endif gcc-bootstrap
35895 @if target-libobjc
35896 maybe-configure-target-libobjc: configure-target-libobjc
35897 configure-target-libobjc:
35898 @: $(MAKE); $(unstage)
35899 @r=`${PWD_COMMAND}`; export r; \
35900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35901 echo "Checking multilib configuration for libobjc..."; \
35902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35903 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35904 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35905 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35906 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35907 else \
35908 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35909 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35910 fi; \
35911 else \
35912 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35913 fi; \
35914 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35915 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35916 $(NORMAL_TARGET_EXPORTS) \
35917 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35918 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35919 case $(srcdir) in \
35920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35921 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35923 esac; \
35924 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35925 libsrcdir="$$s/libobjc"; \
35926 rm -f no-such-file || : ; \
35927 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35928 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35929 --target=${target_alias} $${srcdiroption} \
35930 || exit 1
35931 @endif target-libobjc
35937 .PHONY: all-target-libobjc maybe-all-target-libobjc
35938 maybe-all-target-libobjc:
35939 @if gcc-bootstrap
35940 all-target-libobjc: stage_current
35941 @endif gcc-bootstrap
35942 @if target-libobjc
35943 TARGET-target-libobjc=all
35944 maybe-all-target-libobjc: all-target-libobjc
35945 all-target-libobjc: configure-target-libobjc
35946 @: $(MAKE); $(unstage)
35947 @r=`${PWD_COMMAND}`; export r; \
35948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35949 $(NORMAL_TARGET_EXPORTS) \
35950 (cd $(TARGET_SUBDIR)/libobjc && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35952 $(TARGET-target-libobjc))
35953 @endif target-libobjc
35959 .PHONY: check-target-libobjc maybe-check-target-libobjc
35960 maybe-check-target-libobjc:
35961 @if target-libobjc
35962 maybe-check-target-libobjc: check-target-libobjc
35964 check-target-libobjc:
35965 @: $(MAKE); $(unstage)
35966 @r=`${PWD_COMMAND}`; export r; \
35967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35968 $(NORMAL_TARGET_EXPORTS) \
35969 (cd $(TARGET_SUBDIR)/libobjc && \
35970 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35972 @endif target-libobjc
35974 .PHONY: install-target-libobjc maybe-install-target-libobjc
35975 maybe-install-target-libobjc:
35976 @if target-libobjc
35977 maybe-install-target-libobjc: install-target-libobjc
35979 install-target-libobjc: installdirs
35980 @: $(MAKE); $(unstage)
35981 @r=`${PWD_COMMAND}`; export r; \
35982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35983 $(NORMAL_TARGET_EXPORTS) \
35984 (cd $(TARGET_SUBDIR)/libobjc && \
35985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35987 @endif target-libobjc
35989 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
35990 maybe-install-strip-target-libobjc:
35991 @if target-libobjc
35992 maybe-install-strip-target-libobjc: install-strip-target-libobjc
35994 install-strip-target-libobjc: installdirs
35995 @: $(MAKE); $(unstage)
35996 @r=`${PWD_COMMAND}`; export r; \
35997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35998 $(NORMAL_TARGET_EXPORTS) \
35999 (cd $(TARGET_SUBDIR)/libobjc && \
36000 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36002 @endif target-libobjc
36004 # Other targets (info, dvi, pdf, etc.)
36006 .PHONY: maybe-info-target-libobjc info-target-libobjc
36007 maybe-info-target-libobjc:
36008 @if target-libobjc
36009 maybe-info-target-libobjc: info-target-libobjc
36011 info-target-libobjc: \
36012 configure-target-libobjc
36013 @: $(MAKE); $(unstage)
36014 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36015 r=`${PWD_COMMAND}`; export r; \
36016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36017 $(NORMAL_TARGET_EXPORTS) \
36018 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
36019 for flag in $(EXTRA_TARGET_FLAGS); do \
36020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36021 done; \
36022 (cd $(TARGET_SUBDIR)/libobjc && \
36023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36025 "RANLIB=$${RANLIB}" \
36026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36027 info) \
36028 || exit 1
36030 @endif target-libobjc
36032 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
36033 maybe-dvi-target-libobjc:
36034 @if target-libobjc
36035 maybe-dvi-target-libobjc: dvi-target-libobjc
36037 dvi-target-libobjc: \
36038 configure-target-libobjc
36039 @: $(MAKE); $(unstage)
36040 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36041 r=`${PWD_COMMAND}`; export r; \
36042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36043 $(NORMAL_TARGET_EXPORTS) \
36044 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
36045 for flag in $(EXTRA_TARGET_FLAGS); do \
36046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36047 done; \
36048 (cd $(TARGET_SUBDIR)/libobjc && \
36049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36051 "RANLIB=$${RANLIB}" \
36052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36053 dvi) \
36054 || exit 1
36056 @endif target-libobjc
36058 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
36059 maybe-pdf-target-libobjc:
36060 @if target-libobjc
36061 maybe-pdf-target-libobjc: pdf-target-libobjc
36063 pdf-target-libobjc: \
36064 configure-target-libobjc
36065 @: $(MAKE); $(unstage)
36066 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36067 r=`${PWD_COMMAND}`; export r; \
36068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36069 $(NORMAL_TARGET_EXPORTS) \
36070 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
36071 for flag in $(EXTRA_TARGET_FLAGS); do \
36072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36073 done; \
36074 (cd $(TARGET_SUBDIR)/libobjc && \
36075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36077 "RANLIB=$${RANLIB}" \
36078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36079 pdf) \
36080 || exit 1
36082 @endif target-libobjc
36084 .PHONY: maybe-html-target-libobjc html-target-libobjc
36085 maybe-html-target-libobjc:
36086 @if target-libobjc
36087 maybe-html-target-libobjc: html-target-libobjc
36089 html-target-libobjc: \
36090 configure-target-libobjc
36091 @: $(MAKE); $(unstage)
36092 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36093 r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(NORMAL_TARGET_EXPORTS) \
36096 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
36097 for flag in $(EXTRA_TARGET_FLAGS); do \
36098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36099 done; \
36100 (cd $(TARGET_SUBDIR)/libobjc && \
36101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36103 "RANLIB=$${RANLIB}" \
36104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36105 html) \
36106 || exit 1
36108 @endif target-libobjc
36110 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
36111 maybe-TAGS-target-libobjc:
36112 @if target-libobjc
36113 maybe-TAGS-target-libobjc: TAGS-target-libobjc
36115 TAGS-target-libobjc: \
36116 configure-target-libobjc
36117 @: $(MAKE); $(unstage)
36118 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 TAGS) \
36132 || exit 1
36134 @endif target-libobjc
36136 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
36137 maybe-install-info-target-libobjc:
36138 @if target-libobjc
36139 maybe-install-info-target-libobjc: install-info-target-libobjc
36141 install-info-target-libobjc: \
36142 configure-target-libobjc \
36143 info-target-libobjc
36144 @: $(MAKE); $(unstage)
36145 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36146 r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 $(NORMAL_TARGET_EXPORTS) \
36149 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
36150 for flag in $(EXTRA_TARGET_FLAGS); do \
36151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36152 done; \
36153 (cd $(TARGET_SUBDIR)/libobjc && \
36154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36156 "RANLIB=$${RANLIB}" \
36157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36158 install-info) \
36159 || exit 1
36161 @endif target-libobjc
36163 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
36164 maybe-install-pdf-target-libobjc:
36165 @if target-libobjc
36166 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
36168 install-pdf-target-libobjc: \
36169 configure-target-libobjc \
36170 pdf-target-libobjc
36171 @: $(MAKE); $(unstage)
36172 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36173 r=`${PWD_COMMAND}`; export r; \
36174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36175 $(NORMAL_TARGET_EXPORTS) \
36176 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
36177 for flag in $(EXTRA_TARGET_FLAGS); do \
36178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36179 done; \
36180 (cd $(TARGET_SUBDIR)/libobjc && \
36181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36183 "RANLIB=$${RANLIB}" \
36184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36185 install-pdf) \
36186 || exit 1
36188 @endif target-libobjc
36190 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
36191 maybe-install-html-target-libobjc:
36192 @if target-libobjc
36193 maybe-install-html-target-libobjc: install-html-target-libobjc
36195 install-html-target-libobjc: \
36196 configure-target-libobjc \
36197 html-target-libobjc
36198 @: $(MAKE); $(unstage)
36199 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36200 r=`${PWD_COMMAND}`; export r; \
36201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36202 $(NORMAL_TARGET_EXPORTS) \
36203 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
36204 for flag in $(EXTRA_TARGET_FLAGS); do \
36205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36206 done; \
36207 (cd $(TARGET_SUBDIR)/libobjc && \
36208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36210 "RANLIB=$${RANLIB}" \
36211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36212 install-html) \
36213 || exit 1
36215 @endif target-libobjc
36217 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
36218 maybe-installcheck-target-libobjc:
36219 @if target-libobjc
36220 maybe-installcheck-target-libobjc: installcheck-target-libobjc
36222 installcheck-target-libobjc: \
36223 configure-target-libobjc
36224 @: $(MAKE); $(unstage)
36225 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36226 r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 $(NORMAL_TARGET_EXPORTS) \
36229 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
36230 for flag in $(EXTRA_TARGET_FLAGS); do \
36231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36232 done; \
36233 (cd $(TARGET_SUBDIR)/libobjc && \
36234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36236 "RANLIB=$${RANLIB}" \
36237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36238 installcheck) \
36239 || exit 1
36241 @endif target-libobjc
36243 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
36244 maybe-mostlyclean-target-libobjc:
36245 @if target-libobjc
36246 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
36248 mostlyclean-target-libobjc:
36249 @: $(MAKE); $(unstage)
36250 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36251 r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(NORMAL_TARGET_EXPORTS) \
36254 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
36255 for flag in $(EXTRA_TARGET_FLAGS); do \
36256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36257 done; \
36258 (cd $(TARGET_SUBDIR)/libobjc && \
36259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36261 "RANLIB=$${RANLIB}" \
36262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36263 mostlyclean) \
36264 || exit 1
36266 @endif target-libobjc
36268 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
36269 maybe-clean-target-libobjc:
36270 @if target-libobjc
36271 maybe-clean-target-libobjc: clean-target-libobjc
36273 clean-target-libobjc:
36274 @: $(MAKE); $(unstage)
36275 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36276 r=`${PWD_COMMAND}`; export r; \
36277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36278 $(NORMAL_TARGET_EXPORTS) \
36279 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
36280 for flag in $(EXTRA_TARGET_FLAGS); do \
36281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36282 done; \
36283 (cd $(TARGET_SUBDIR)/libobjc && \
36284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36286 "RANLIB=$${RANLIB}" \
36287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36288 clean) \
36289 || exit 1
36291 @endif target-libobjc
36293 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
36294 maybe-distclean-target-libobjc:
36295 @if target-libobjc
36296 maybe-distclean-target-libobjc: distclean-target-libobjc
36298 distclean-target-libobjc:
36299 @: $(MAKE); $(unstage)
36300 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36301 r=`${PWD_COMMAND}`; export r; \
36302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36303 $(NORMAL_TARGET_EXPORTS) \
36304 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
36305 for flag in $(EXTRA_TARGET_FLAGS); do \
36306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36307 done; \
36308 (cd $(TARGET_SUBDIR)/libobjc && \
36309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36311 "RANLIB=$${RANLIB}" \
36312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36313 distclean) \
36314 || exit 1
36316 @endif target-libobjc
36318 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
36319 maybe-maintainer-clean-target-libobjc:
36320 @if target-libobjc
36321 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
36323 maintainer-clean-target-libobjc:
36324 @: $(MAKE); $(unstage)
36325 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36326 r=`${PWD_COMMAND}`; export r; \
36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36328 $(NORMAL_TARGET_EXPORTS) \
36329 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
36330 for flag in $(EXTRA_TARGET_FLAGS); do \
36331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36332 done; \
36333 (cd $(TARGET_SUBDIR)/libobjc && \
36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36336 "RANLIB=$${RANLIB}" \
36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36338 maintainer-clean) \
36339 || exit 1
36341 @endif target-libobjc
36347 .PHONY: configure-target-libgo maybe-configure-target-libgo
36348 maybe-configure-target-libgo:
36349 @if gcc-bootstrap
36350 configure-target-libgo: stage_current
36351 @endif gcc-bootstrap
36352 @if target-libgo
36353 maybe-configure-target-libgo: configure-target-libgo
36354 configure-target-libgo:
36355 @: $(MAKE); $(unstage)
36356 @r=`${PWD_COMMAND}`; export r; \
36357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36358 echo "Checking multilib configuration for libgo..."; \
36359 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
36361 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
36362 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
36363 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
36364 else \
36365 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
36366 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36367 fi; \
36368 else \
36369 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36370 fi; \
36371 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
36372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36373 $(NORMAL_TARGET_EXPORTS) \
36374 echo Configuring in $(TARGET_SUBDIR)/libgo; \
36375 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
36376 case $(srcdir) in \
36377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36378 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
36379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36380 esac; \
36381 srcdiroption="--srcdir=$${topdir}/libgo"; \
36382 libsrcdir="$$s/libgo"; \
36383 rm -f no-such-file || : ; \
36384 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36385 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36386 --target=${target_alias} $${srcdiroption} \
36387 || exit 1
36388 @endif target-libgo
36394 .PHONY: all-target-libgo maybe-all-target-libgo
36395 maybe-all-target-libgo:
36396 @if gcc-bootstrap
36397 all-target-libgo: stage_current
36398 @endif gcc-bootstrap
36399 @if target-libgo
36400 TARGET-target-libgo=all
36401 maybe-all-target-libgo: all-target-libgo
36402 all-target-libgo: configure-target-libgo
36403 @: $(MAKE); $(unstage)
36404 @r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 $(NORMAL_TARGET_EXPORTS) \
36407 (cd $(TARGET_SUBDIR)/libgo && \
36408 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36409 $(TARGET-target-libgo))
36410 @endif target-libgo
36416 .PHONY: check-target-libgo maybe-check-target-libgo
36417 maybe-check-target-libgo:
36418 @if target-libgo
36419 maybe-check-target-libgo: check-target-libgo
36421 check-target-libgo:
36422 @: $(MAKE); $(unstage)
36423 @r=`${PWD_COMMAND}`; export r; \
36424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36425 $(NORMAL_TARGET_EXPORTS) \
36426 (cd $(TARGET_SUBDIR)/libgo && \
36427 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36429 @endif target-libgo
36431 .PHONY: install-target-libgo maybe-install-target-libgo
36432 maybe-install-target-libgo:
36433 @if target-libgo
36434 maybe-install-target-libgo: install-target-libgo
36436 install-target-libgo: installdirs
36437 @: $(MAKE); $(unstage)
36438 @r=`${PWD_COMMAND}`; export r; \
36439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36440 $(NORMAL_TARGET_EXPORTS) \
36441 (cd $(TARGET_SUBDIR)/libgo && \
36442 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36444 @endif target-libgo
36446 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
36447 maybe-install-strip-target-libgo:
36448 @if target-libgo
36449 maybe-install-strip-target-libgo: install-strip-target-libgo
36451 install-strip-target-libgo: installdirs
36452 @: $(MAKE); $(unstage)
36453 @r=`${PWD_COMMAND}`; export r; \
36454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36455 $(NORMAL_TARGET_EXPORTS) \
36456 (cd $(TARGET_SUBDIR)/libgo && \
36457 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36459 @endif target-libgo
36461 # Other targets (info, dvi, pdf, etc.)
36463 .PHONY: maybe-info-target-libgo info-target-libgo
36464 maybe-info-target-libgo:
36465 @if target-libgo
36466 maybe-info-target-libgo: info-target-libgo
36468 info-target-libgo: \
36469 configure-target-libgo
36470 @: $(MAKE); $(unstage)
36471 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36472 r=`${PWD_COMMAND}`; export r; \
36473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36474 $(NORMAL_TARGET_EXPORTS) \
36475 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
36476 for flag in $(EXTRA_TARGET_FLAGS); do \
36477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36478 done; \
36479 (cd $(TARGET_SUBDIR)/libgo && \
36480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36482 "RANLIB=$${RANLIB}" \
36483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36484 info) \
36485 || exit 1
36487 @endif target-libgo
36489 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
36490 maybe-dvi-target-libgo:
36491 @if target-libgo
36492 maybe-dvi-target-libgo: dvi-target-libgo
36494 dvi-target-libgo: \
36495 configure-target-libgo
36496 @: $(MAKE); $(unstage)
36497 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36498 r=`${PWD_COMMAND}`; export r; \
36499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36500 $(NORMAL_TARGET_EXPORTS) \
36501 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
36502 for flag in $(EXTRA_TARGET_FLAGS); do \
36503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36504 done; \
36505 (cd $(TARGET_SUBDIR)/libgo && \
36506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36508 "RANLIB=$${RANLIB}" \
36509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36510 dvi) \
36511 || exit 1
36513 @endif target-libgo
36515 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
36516 maybe-pdf-target-libgo:
36517 @if target-libgo
36518 maybe-pdf-target-libgo: pdf-target-libgo
36520 pdf-target-libgo: \
36521 configure-target-libgo
36522 @: $(MAKE); $(unstage)
36523 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36524 r=`${PWD_COMMAND}`; export r; \
36525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36526 $(NORMAL_TARGET_EXPORTS) \
36527 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
36528 for flag in $(EXTRA_TARGET_FLAGS); do \
36529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36530 done; \
36531 (cd $(TARGET_SUBDIR)/libgo && \
36532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36534 "RANLIB=$${RANLIB}" \
36535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36536 pdf) \
36537 || exit 1
36539 @endif target-libgo
36541 .PHONY: maybe-html-target-libgo html-target-libgo
36542 maybe-html-target-libgo:
36543 @if target-libgo
36544 maybe-html-target-libgo: html-target-libgo
36546 html-target-libgo: \
36547 configure-target-libgo
36548 @: $(MAKE); $(unstage)
36549 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36550 r=`${PWD_COMMAND}`; export r; \
36551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36552 $(NORMAL_TARGET_EXPORTS) \
36553 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
36554 for flag in $(EXTRA_TARGET_FLAGS); do \
36555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36556 done; \
36557 (cd $(TARGET_SUBDIR)/libgo && \
36558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36560 "RANLIB=$${RANLIB}" \
36561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36562 html) \
36563 || exit 1
36565 @endif target-libgo
36567 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
36568 maybe-TAGS-target-libgo:
36569 @if target-libgo
36570 maybe-TAGS-target-libgo: TAGS-target-libgo
36572 TAGS-target-libgo: \
36573 configure-target-libgo
36574 @: $(MAKE); $(unstage)
36575 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36576 r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(NORMAL_TARGET_EXPORTS) \
36579 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
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)/libgo && \
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 TAGS) \
36589 || exit 1
36591 @endif target-libgo
36593 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
36594 maybe-install-info-target-libgo:
36595 @if target-libgo
36596 maybe-install-info-target-libgo: install-info-target-libgo
36598 install-info-target-libgo: \
36599 configure-target-libgo \
36600 info-target-libgo
36601 @: $(MAKE); $(unstage)
36602 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(NORMAL_TARGET_EXPORTS) \
36606 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
36607 for flag in $(EXTRA_TARGET_FLAGS); do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36609 done; \
36610 (cd $(TARGET_SUBDIR)/libgo && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36615 install-info) \
36616 || exit 1
36618 @endif target-libgo
36620 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
36621 maybe-install-pdf-target-libgo:
36622 @if target-libgo
36623 maybe-install-pdf-target-libgo: install-pdf-target-libgo
36625 install-pdf-target-libgo: \
36626 configure-target-libgo \
36627 pdf-target-libgo
36628 @: $(MAKE); $(unstage)
36629 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36630 r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 $(NORMAL_TARGET_EXPORTS) \
36633 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
36634 for flag in $(EXTRA_TARGET_FLAGS); do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36636 done; \
36637 (cd $(TARGET_SUBDIR)/libgo && \
36638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36640 "RANLIB=$${RANLIB}" \
36641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36642 install-pdf) \
36643 || exit 1
36645 @endif target-libgo
36647 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
36648 maybe-install-html-target-libgo:
36649 @if target-libgo
36650 maybe-install-html-target-libgo: install-html-target-libgo
36652 install-html-target-libgo: \
36653 configure-target-libgo \
36654 html-target-libgo
36655 @: $(MAKE); $(unstage)
36656 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36657 r=`${PWD_COMMAND}`; export r; \
36658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36659 $(NORMAL_TARGET_EXPORTS) \
36660 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
36661 for flag in $(EXTRA_TARGET_FLAGS); do \
36662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36663 done; \
36664 (cd $(TARGET_SUBDIR)/libgo && \
36665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36667 "RANLIB=$${RANLIB}" \
36668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36669 install-html) \
36670 || exit 1
36672 @endif target-libgo
36674 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
36675 maybe-installcheck-target-libgo:
36676 @if target-libgo
36677 maybe-installcheck-target-libgo: installcheck-target-libgo
36679 installcheck-target-libgo: \
36680 configure-target-libgo
36681 @: $(MAKE); $(unstage)
36682 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36683 r=`${PWD_COMMAND}`; export r; \
36684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36685 $(NORMAL_TARGET_EXPORTS) \
36686 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
36687 for flag in $(EXTRA_TARGET_FLAGS); do \
36688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36689 done; \
36690 (cd $(TARGET_SUBDIR)/libgo && \
36691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36693 "RANLIB=$${RANLIB}" \
36694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36695 installcheck) \
36696 || exit 1
36698 @endif target-libgo
36700 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
36701 maybe-mostlyclean-target-libgo:
36702 @if target-libgo
36703 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
36705 mostlyclean-target-libgo:
36706 @: $(MAKE); $(unstage)
36707 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36708 r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(NORMAL_TARGET_EXPORTS) \
36711 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
36712 for flag in $(EXTRA_TARGET_FLAGS); do \
36713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36714 done; \
36715 (cd $(TARGET_SUBDIR)/libgo && \
36716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36718 "RANLIB=$${RANLIB}" \
36719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36720 mostlyclean) \
36721 || exit 1
36723 @endif target-libgo
36725 .PHONY: maybe-clean-target-libgo clean-target-libgo
36726 maybe-clean-target-libgo:
36727 @if target-libgo
36728 maybe-clean-target-libgo: clean-target-libgo
36730 clean-target-libgo:
36731 @: $(MAKE); $(unstage)
36732 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36733 r=`${PWD_COMMAND}`; export r; \
36734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36735 $(NORMAL_TARGET_EXPORTS) \
36736 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
36737 for flag in $(EXTRA_TARGET_FLAGS); do \
36738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36739 done; \
36740 (cd $(TARGET_SUBDIR)/libgo && \
36741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36743 "RANLIB=$${RANLIB}" \
36744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36745 clean) \
36746 || exit 1
36748 @endif target-libgo
36750 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
36751 maybe-distclean-target-libgo:
36752 @if target-libgo
36753 maybe-distclean-target-libgo: distclean-target-libgo
36755 distclean-target-libgo:
36756 @: $(MAKE); $(unstage)
36757 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36758 r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 $(NORMAL_TARGET_EXPORTS) \
36761 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
36762 for flag in $(EXTRA_TARGET_FLAGS); do \
36763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36764 done; \
36765 (cd $(TARGET_SUBDIR)/libgo && \
36766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36768 "RANLIB=$${RANLIB}" \
36769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36770 distclean) \
36771 || exit 1
36773 @endif target-libgo
36775 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
36776 maybe-maintainer-clean-target-libgo:
36777 @if target-libgo
36778 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
36780 maintainer-clean-target-libgo:
36781 @: $(MAKE); $(unstage)
36782 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36783 r=`${PWD_COMMAND}`; export r; \
36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36785 $(NORMAL_TARGET_EXPORTS) \
36786 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
36787 for flag in $(EXTRA_TARGET_FLAGS); do \
36788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36789 done; \
36790 (cd $(TARGET_SUBDIR)/libgo && \
36791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36793 "RANLIB=$${RANLIB}" \
36794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36795 maintainer-clean) \
36796 || exit 1
36798 @endif target-libgo
36804 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36805 maybe-configure-target-libtermcap:
36806 @if gcc-bootstrap
36807 configure-target-libtermcap: stage_current
36808 @endif gcc-bootstrap
36809 @if target-libtermcap
36810 maybe-configure-target-libtermcap: configure-target-libtermcap
36811 configure-target-libtermcap:
36812 @: $(MAKE); $(unstage)
36813 @r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 echo "Checking multilib configuration for libtermcap..."; \
36816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36817 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36818 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36819 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36820 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36821 else \
36822 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36823 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36824 fi; \
36825 else \
36826 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36827 fi; \
36828 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36829 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36830 $(NORMAL_TARGET_EXPORTS) \
36831 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36832 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36833 case $(srcdir) in \
36834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36835 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36837 esac; \
36838 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36839 libsrcdir="$$s/libtermcap"; \
36840 rm -f no-such-file || : ; \
36841 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36842 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36843 --target=${target_alias} $${srcdiroption} \
36844 || exit 1
36845 @endif target-libtermcap
36851 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36852 maybe-all-target-libtermcap:
36853 @if gcc-bootstrap
36854 all-target-libtermcap: stage_current
36855 @endif gcc-bootstrap
36856 @if target-libtermcap
36857 TARGET-target-libtermcap=all
36858 maybe-all-target-libtermcap: all-target-libtermcap
36859 all-target-libtermcap: configure-target-libtermcap
36860 @: $(MAKE); $(unstage)
36861 @r=`${PWD_COMMAND}`; export r; \
36862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36863 $(NORMAL_TARGET_EXPORTS) \
36864 (cd $(TARGET_SUBDIR)/libtermcap && \
36865 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36866 $(TARGET-target-libtermcap))
36867 @endif target-libtermcap
36873 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36874 maybe-check-target-libtermcap:
36875 @if target-libtermcap
36876 maybe-check-target-libtermcap: check-target-libtermcap
36878 # Dummy target for uncheckable module.
36879 check-target-libtermcap:
36881 @endif target-libtermcap
36883 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36884 maybe-install-target-libtermcap:
36885 @if target-libtermcap
36886 maybe-install-target-libtermcap: install-target-libtermcap
36888 install-target-libtermcap: installdirs
36889 @: $(MAKE); $(unstage)
36890 @r=`${PWD_COMMAND}`; export r; \
36891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36892 $(NORMAL_TARGET_EXPORTS) \
36893 (cd $(TARGET_SUBDIR)/libtermcap && \
36894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36896 @endif target-libtermcap
36898 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
36899 maybe-install-strip-target-libtermcap:
36900 @if target-libtermcap
36901 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
36903 install-strip-target-libtermcap: installdirs
36904 @: $(MAKE); $(unstage)
36905 @r=`${PWD_COMMAND}`; export r; \
36906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36907 $(NORMAL_TARGET_EXPORTS) \
36908 (cd $(TARGET_SUBDIR)/libtermcap && \
36909 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36911 @endif target-libtermcap
36913 # Other targets (info, dvi, pdf, etc.)
36915 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36916 maybe-info-target-libtermcap:
36917 @if target-libtermcap
36918 maybe-info-target-libtermcap: info-target-libtermcap
36920 info-target-libtermcap: \
36921 configure-target-libtermcap
36922 @: $(MAKE); $(unstage)
36923 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36924 r=`${PWD_COMMAND}`; export r; \
36925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36926 $(NORMAL_TARGET_EXPORTS) \
36927 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36928 for flag in $(EXTRA_TARGET_FLAGS); do \
36929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36930 done; \
36931 (cd $(TARGET_SUBDIR)/libtermcap && \
36932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36934 "RANLIB=$${RANLIB}" \
36935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36936 info) \
36937 || exit 1
36939 @endif target-libtermcap
36941 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36942 maybe-dvi-target-libtermcap:
36943 @if target-libtermcap
36944 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36946 dvi-target-libtermcap: \
36947 configure-target-libtermcap
36948 @: $(MAKE); $(unstage)
36949 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36950 r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 $(NORMAL_TARGET_EXPORTS) \
36953 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36954 for flag in $(EXTRA_TARGET_FLAGS); do \
36955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36956 done; \
36957 (cd $(TARGET_SUBDIR)/libtermcap && \
36958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36960 "RANLIB=$${RANLIB}" \
36961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36962 dvi) \
36963 || exit 1
36965 @endif target-libtermcap
36967 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36968 maybe-pdf-target-libtermcap:
36969 @if target-libtermcap
36970 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36972 pdf-target-libtermcap: \
36973 configure-target-libtermcap
36974 @: $(MAKE); $(unstage)
36975 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36976 r=`${PWD_COMMAND}`; export r; \
36977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36978 $(NORMAL_TARGET_EXPORTS) \
36979 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36980 for flag in $(EXTRA_TARGET_FLAGS); do \
36981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36982 done; \
36983 (cd $(TARGET_SUBDIR)/libtermcap && \
36984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36986 "RANLIB=$${RANLIB}" \
36987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36988 pdf) \
36989 || exit 1
36991 @endif target-libtermcap
36993 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36994 maybe-html-target-libtermcap:
36995 @if target-libtermcap
36996 maybe-html-target-libtermcap: html-target-libtermcap
36998 html-target-libtermcap: \
36999 configure-target-libtermcap
37000 @: $(MAKE); $(unstage)
37001 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37002 r=`${PWD_COMMAND}`; export r; \
37003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37004 $(NORMAL_TARGET_EXPORTS) \
37005 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
37006 for flag in $(EXTRA_TARGET_FLAGS); do \
37007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37008 done; \
37009 (cd $(TARGET_SUBDIR)/libtermcap && \
37010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37012 "RANLIB=$${RANLIB}" \
37013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37014 html) \
37015 || exit 1
37017 @endif target-libtermcap
37019 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
37020 maybe-TAGS-target-libtermcap:
37021 @if target-libtermcap
37022 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
37024 TAGS-target-libtermcap: \
37025 configure-target-libtermcap
37026 @: $(MAKE); $(unstage)
37027 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37028 r=`${PWD_COMMAND}`; export r; \
37029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37030 $(NORMAL_TARGET_EXPORTS) \
37031 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
37032 for flag in $(EXTRA_TARGET_FLAGS); do \
37033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37034 done; \
37035 (cd $(TARGET_SUBDIR)/libtermcap && \
37036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37038 "RANLIB=$${RANLIB}" \
37039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37040 TAGS) \
37041 || exit 1
37043 @endif target-libtermcap
37045 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
37046 maybe-install-info-target-libtermcap:
37047 @if target-libtermcap
37048 maybe-install-info-target-libtermcap: install-info-target-libtermcap
37050 install-info-target-libtermcap: \
37051 configure-target-libtermcap \
37052 info-target-libtermcap
37053 @: $(MAKE); $(unstage)
37054 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37055 r=`${PWD_COMMAND}`; export r; \
37056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37057 $(NORMAL_TARGET_EXPORTS) \
37058 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
37059 for flag in $(EXTRA_TARGET_FLAGS); do \
37060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37061 done; \
37062 (cd $(TARGET_SUBDIR)/libtermcap && \
37063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37065 "RANLIB=$${RANLIB}" \
37066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37067 install-info) \
37068 || exit 1
37070 @endif target-libtermcap
37072 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
37073 maybe-install-pdf-target-libtermcap:
37074 @if target-libtermcap
37075 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
37077 install-pdf-target-libtermcap: \
37078 configure-target-libtermcap \
37079 pdf-target-libtermcap
37080 @: $(MAKE); $(unstage)
37081 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37082 r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 $(NORMAL_TARGET_EXPORTS) \
37085 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37086 for flag in $(EXTRA_TARGET_FLAGS); do \
37087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37088 done; \
37089 (cd $(TARGET_SUBDIR)/libtermcap && \
37090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37092 "RANLIB=$${RANLIB}" \
37093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37094 install-pdf) \
37095 || exit 1
37097 @endif target-libtermcap
37099 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
37100 maybe-install-html-target-libtermcap:
37101 @if target-libtermcap
37102 maybe-install-html-target-libtermcap: install-html-target-libtermcap
37104 install-html-target-libtermcap: \
37105 configure-target-libtermcap \
37106 html-target-libtermcap
37107 @: $(MAKE); $(unstage)
37108 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37109 r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(NORMAL_TARGET_EXPORTS) \
37112 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
37113 for flag in $(EXTRA_TARGET_FLAGS); do \
37114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37115 done; \
37116 (cd $(TARGET_SUBDIR)/libtermcap && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37119 "RANLIB=$${RANLIB}" \
37120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37121 install-html) \
37122 || exit 1
37124 @endif target-libtermcap
37126 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
37127 maybe-installcheck-target-libtermcap:
37128 @if target-libtermcap
37129 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
37131 installcheck-target-libtermcap: \
37132 configure-target-libtermcap
37133 @: $(MAKE); $(unstage)
37134 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37135 r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(NORMAL_TARGET_EXPORTS) \
37138 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
37139 for flag in $(EXTRA_TARGET_FLAGS); do \
37140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37141 done; \
37142 (cd $(TARGET_SUBDIR)/libtermcap && \
37143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37145 "RANLIB=$${RANLIB}" \
37146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37147 installcheck) \
37148 || exit 1
37150 @endif target-libtermcap
37152 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
37153 maybe-mostlyclean-target-libtermcap:
37154 @if target-libtermcap
37155 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
37157 # libtermcap doesn't support mostlyclean.
37158 mostlyclean-target-libtermcap:
37160 @endif target-libtermcap
37162 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
37163 maybe-clean-target-libtermcap:
37164 @if target-libtermcap
37165 maybe-clean-target-libtermcap: clean-target-libtermcap
37167 # libtermcap doesn't support clean.
37168 clean-target-libtermcap:
37170 @endif target-libtermcap
37172 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
37173 maybe-distclean-target-libtermcap:
37174 @if target-libtermcap
37175 maybe-distclean-target-libtermcap: distclean-target-libtermcap
37177 # libtermcap doesn't support distclean.
37178 distclean-target-libtermcap:
37180 @endif target-libtermcap
37182 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
37183 maybe-maintainer-clean-target-libtermcap:
37184 @if target-libtermcap
37185 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
37187 # libtermcap doesn't support maintainer-clean.
37188 maintainer-clean-target-libtermcap:
37190 @endif target-libtermcap
37196 .PHONY: configure-target-winsup maybe-configure-target-winsup
37197 maybe-configure-target-winsup:
37198 @if gcc-bootstrap
37199 configure-target-winsup: stage_current
37200 @endif gcc-bootstrap
37201 @if target-winsup
37202 maybe-configure-target-winsup: configure-target-winsup
37203 configure-target-winsup:
37204 @: $(MAKE); $(unstage)
37205 @r=`${PWD_COMMAND}`; export r; \
37206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37207 echo "Checking multilib configuration for winsup..."; \
37208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37209 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
37210 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
37211 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
37212 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
37213 else \
37214 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
37215 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37216 fi; \
37217 else \
37218 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37219 fi; \
37220 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
37221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37222 $(NORMAL_TARGET_EXPORTS) \
37223 echo Configuring in $(TARGET_SUBDIR)/winsup; \
37224 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
37225 case $(srcdir) in \
37226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37227 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
37228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37229 esac; \
37230 srcdiroption="--srcdir=$${topdir}/winsup"; \
37231 libsrcdir="$$s/winsup"; \
37232 rm -f no-such-file || : ; \
37233 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37234 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37235 --target=${target_alias} $${srcdiroption} \
37236 || exit 1
37237 @endif target-winsup
37243 .PHONY: all-target-winsup maybe-all-target-winsup
37244 maybe-all-target-winsup:
37245 @if gcc-bootstrap
37246 all-target-winsup: stage_current
37247 @endif gcc-bootstrap
37248 @if target-winsup
37249 TARGET-target-winsup=all
37250 maybe-all-target-winsup: all-target-winsup
37251 all-target-winsup: configure-target-winsup
37252 @: $(MAKE); $(unstage)
37253 @r=`${PWD_COMMAND}`; export r; \
37254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37255 $(NORMAL_TARGET_EXPORTS) \
37256 (cd $(TARGET_SUBDIR)/winsup && \
37257 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37258 $(TARGET-target-winsup))
37259 @endif target-winsup
37265 .PHONY: check-target-winsup maybe-check-target-winsup
37266 maybe-check-target-winsup:
37267 @if target-winsup
37268 maybe-check-target-winsup: check-target-winsup
37270 check-target-winsup:
37271 @: $(MAKE); $(unstage)
37272 @r=`${PWD_COMMAND}`; export r; \
37273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37274 $(NORMAL_TARGET_EXPORTS) \
37275 (cd $(TARGET_SUBDIR)/winsup && \
37276 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37278 @endif target-winsup
37280 .PHONY: install-target-winsup maybe-install-target-winsup
37281 maybe-install-target-winsup:
37282 @if target-winsup
37283 maybe-install-target-winsup: install-target-winsup
37285 install-target-winsup: installdirs
37286 @: $(MAKE); $(unstage)
37287 @r=`${PWD_COMMAND}`; export r; \
37288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37289 $(NORMAL_TARGET_EXPORTS) \
37290 (cd $(TARGET_SUBDIR)/winsup && \
37291 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37293 @endif target-winsup
37295 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
37296 maybe-install-strip-target-winsup:
37297 @if target-winsup
37298 maybe-install-strip-target-winsup: install-strip-target-winsup
37300 install-strip-target-winsup: installdirs
37301 @: $(MAKE); $(unstage)
37302 @r=`${PWD_COMMAND}`; export r; \
37303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37304 $(NORMAL_TARGET_EXPORTS) \
37305 (cd $(TARGET_SUBDIR)/winsup && \
37306 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37308 @endif target-winsup
37310 # Other targets (info, dvi, pdf, etc.)
37312 .PHONY: maybe-info-target-winsup info-target-winsup
37313 maybe-info-target-winsup:
37314 @if target-winsup
37315 maybe-info-target-winsup: info-target-winsup
37317 info-target-winsup: \
37318 configure-target-winsup
37319 @: $(MAKE); $(unstage)
37320 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37321 r=`${PWD_COMMAND}`; export r; \
37322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37323 $(NORMAL_TARGET_EXPORTS) \
37324 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
37325 for flag in $(EXTRA_TARGET_FLAGS); do \
37326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37327 done; \
37328 (cd $(TARGET_SUBDIR)/winsup && \
37329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37331 "RANLIB=$${RANLIB}" \
37332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37333 info) \
37334 || exit 1
37336 @endif target-winsup
37338 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
37339 maybe-dvi-target-winsup:
37340 @if target-winsup
37341 maybe-dvi-target-winsup: dvi-target-winsup
37343 dvi-target-winsup: \
37344 configure-target-winsup
37345 @: $(MAKE); $(unstage)
37346 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37347 r=`${PWD_COMMAND}`; export r; \
37348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37349 $(NORMAL_TARGET_EXPORTS) \
37350 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
37351 for flag in $(EXTRA_TARGET_FLAGS); do \
37352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37353 done; \
37354 (cd $(TARGET_SUBDIR)/winsup && \
37355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37357 "RANLIB=$${RANLIB}" \
37358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37359 dvi) \
37360 || exit 1
37362 @endif target-winsup
37364 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
37365 maybe-pdf-target-winsup:
37366 @if target-winsup
37367 maybe-pdf-target-winsup: pdf-target-winsup
37369 pdf-target-winsup: \
37370 configure-target-winsup
37371 @: $(MAKE); $(unstage)
37372 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37373 r=`${PWD_COMMAND}`; export r; \
37374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37375 $(NORMAL_TARGET_EXPORTS) \
37376 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
37377 for flag in $(EXTRA_TARGET_FLAGS); do \
37378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37379 done; \
37380 (cd $(TARGET_SUBDIR)/winsup && \
37381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37383 "RANLIB=$${RANLIB}" \
37384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37385 pdf) \
37386 || exit 1
37388 @endif target-winsup
37390 .PHONY: maybe-html-target-winsup html-target-winsup
37391 maybe-html-target-winsup:
37392 @if target-winsup
37393 maybe-html-target-winsup: html-target-winsup
37395 html-target-winsup: \
37396 configure-target-winsup
37397 @: $(MAKE); $(unstage)
37398 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37399 r=`${PWD_COMMAND}`; export r; \
37400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37401 $(NORMAL_TARGET_EXPORTS) \
37402 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
37403 for flag in $(EXTRA_TARGET_FLAGS); do \
37404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37405 done; \
37406 (cd $(TARGET_SUBDIR)/winsup && \
37407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37409 "RANLIB=$${RANLIB}" \
37410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37411 html) \
37412 || exit 1
37414 @endif target-winsup
37416 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
37417 maybe-TAGS-target-winsup:
37418 @if target-winsup
37419 maybe-TAGS-target-winsup: TAGS-target-winsup
37421 TAGS-target-winsup: \
37422 configure-target-winsup
37423 @: $(MAKE); $(unstage)
37424 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37425 r=`${PWD_COMMAND}`; export r; \
37426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37427 $(NORMAL_TARGET_EXPORTS) \
37428 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
37429 for flag in $(EXTRA_TARGET_FLAGS); do \
37430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37431 done; \
37432 (cd $(TARGET_SUBDIR)/winsup && \
37433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37435 "RANLIB=$${RANLIB}" \
37436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37437 TAGS) \
37438 || exit 1
37440 @endif target-winsup
37442 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
37443 maybe-install-info-target-winsup:
37444 @if target-winsup
37445 maybe-install-info-target-winsup: install-info-target-winsup
37447 install-info-target-winsup: \
37448 configure-target-winsup \
37449 info-target-winsup
37450 @: $(MAKE); $(unstage)
37451 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37452 r=`${PWD_COMMAND}`; export r; \
37453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37454 $(NORMAL_TARGET_EXPORTS) \
37455 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
37456 for flag in $(EXTRA_TARGET_FLAGS); do \
37457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37458 done; \
37459 (cd $(TARGET_SUBDIR)/winsup && \
37460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37462 "RANLIB=$${RANLIB}" \
37463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37464 install-info) \
37465 || exit 1
37467 @endif target-winsup
37469 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
37470 maybe-install-pdf-target-winsup:
37471 @if target-winsup
37472 maybe-install-pdf-target-winsup: install-pdf-target-winsup
37474 install-pdf-target-winsup: \
37475 configure-target-winsup \
37476 pdf-target-winsup
37477 @: $(MAKE); $(unstage)
37478 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37479 r=`${PWD_COMMAND}`; export r; \
37480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37481 $(NORMAL_TARGET_EXPORTS) \
37482 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
37483 for flag in $(EXTRA_TARGET_FLAGS); do \
37484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37485 done; \
37486 (cd $(TARGET_SUBDIR)/winsup && \
37487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37489 "RANLIB=$${RANLIB}" \
37490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37491 install-pdf) \
37492 || exit 1
37494 @endif target-winsup
37496 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
37497 maybe-install-html-target-winsup:
37498 @if target-winsup
37499 maybe-install-html-target-winsup: install-html-target-winsup
37501 install-html-target-winsup: \
37502 configure-target-winsup \
37503 html-target-winsup
37504 @: $(MAKE); $(unstage)
37505 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37506 r=`${PWD_COMMAND}`; export r; \
37507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37508 $(NORMAL_TARGET_EXPORTS) \
37509 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
37510 for flag in $(EXTRA_TARGET_FLAGS); do \
37511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37512 done; \
37513 (cd $(TARGET_SUBDIR)/winsup && \
37514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37516 "RANLIB=$${RANLIB}" \
37517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37518 install-html) \
37519 || exit 1
37521 @endif target-winsup
37523 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
37524 maybe-installcheck-target-winsup:
37525 @if target-winsup
37526 maybe-installcheck-target-winsup: installcheck-target-winsup
37528 installcheck-target-winsup: \
37529 configure-target-winsup
37530 @: $(MAKE); $(unstage)
37531 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37532 r=`${PWD_COMMAND}`; export r; \
37533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37534 $(NORMAL_TARGET_EXPORTS) \
37535 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
37536 for flag in $(EXTRA_TARGET_FLAGS); do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 (cd $(TARGET_SUBDIR)/winsup && \
37540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37542 "RANLIB=$${RANLIB}" \
37543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37544 installcheck) \
37545 || exit 1
37547 @endif target-winsup
37549 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
37550 maybe-mostlyclean-target-winsup:
37551 @if target-winsup
37552 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
37554 mostlyclean-target-winsup:
37555 @: $(MAKE); $(unstage)
37556 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37557 r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(NORMAL_TARGET_EXPORTS) \
37560 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
37561 for flag in $(EXTRA_TARGET_FLAGS); do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 (cd $(TARGET_SUBDIR)/winsup && \
37565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37567 "RANLIB=$${RANLIB}" \
37568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37569 mostlyclean) \
37570 || exit 1
37572 @endif target-winsup
37574 .PHONY: maybe-clean-target-winsup clean-target-winsup
37575 maybe-clean-target-winsup:
37576 @if target-winsup
37577 maybe-clean-target-winsup: clean-target-winsup
37579 clean-target-winsup:
37580 @: $(MAKE); $(unstage)
37581 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37582 r=`${PWD_COMMAND}`; export r; \
37583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37584 $(NORMAL_TARGET_EXPORTS) \
37585 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
37586 for flag in $(EXTRA_TARGET_FLAGS); do \
37587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37588 done; \
37589 (cd $(TARGET_SUBDIR)/winsup && \
37590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37592 "RANLIB=$${RANLIB}" \
37593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37594 clean) \
37595 || exit 1
37597 @endif target-winsup
37599 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
37600 maybe-distclean-target-winsup:
37601 @if target-winsup
37602 maybe-distclean-target-winsup: distclean-target-winsup
37604 distclean-target-winsup:
37605 @: $(MAKE); $(unstage)
37606 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37607 r=`${PWD_COMMAND}`; export r; \
37608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37609 $(NORMAL_TARGET_EXPORTS) \
37610 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
37611 for flag in $(EXTRA_TARGET_FLAGS); do \
37612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37613 done; \
37614 (cd $(TARGET_SUBDIR)/winsup && \
37615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37617 "RANLIB=$${RANLIB}" \
37618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37619 distclean) \
37620 || exit 1
37622 @endif target-winsup
37624 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
37625 maybe-maintainer-clean-target-winsup:
37626 @if target-winsup
37627 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
37629 maintainer-clean-target-winsup:
37630 @: $(MAKE); $(unstage)
37631 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37632 r=`${PWD_COMMAND}`; export r; \
37633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37634 $(NORMAL_TARGET_EXPORTS) \
37635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
37636 for flag in $(EXTRA_TARGET_FLAGS); do \
37637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37638 done; \
37639 (cd $(TARGET_SUBDIR)/winsup && \
37640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37642 "RANLIB=$${RANLIB}" \
37643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37644 maintainer-clean) \
37645 || exit 1
37647 @endif target-winsup
37653 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
37654 maybe-configure-target-libgloss:
37655 @if gcc-bootstrap
37656 configure-target-libgloss: stage_current
37657 @endif gcc-bootstrap
37658 @if target-libgloss
37659 maybe-configure-target-libgloss: configure-target-libgloss
37660 configure-target-libgloss:
37661 @: $(MAKE); $(unstage)
37662 @r=`${PWD_COMMAND}`; export r; \
37663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37664 echo "Checking multilib configuration for libgloss..."; \
37665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37666 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
37667 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37668 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37669 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
37670 else \
37671 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
37672 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37673 fi; \
37674 else \
37675 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37676 fi; \
37677 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
37678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37679 $(NORMAL_TARGET_EXPORTS) \
37680 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
37681 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
37682 case $(srcdir) in \
37683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37684 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
37685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37686 esac; \
37687 srcdiroption="--srcdir=$${topdir}/libgloss"; \
37688 libsrcdir="$$s/libgloss"; \
37689 rm -f no-such-file || : ; \
37690 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37691 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37692 --target=${target_alias} $${srcdiroption} \
37693 || exit 1
37694 @endif target-libgloss
37700 .PHONY: all-target-libgloss maybe-all-target-libgloss
37701 maybe-all-target-libgloss:
37702 @if gcc-bootstrap
37703 all-target-libgloss: stage_current
37704 @endif gcc-bootstrap
37705 @if target-libgloss
37706 TARGET-target-libgloss=all
37707 maybe-all-target-libgloss: all-target-libgloss
37708 all-target-libgloss: configure-target-libgloss
37709 @: $(MAKE); $(unstage)
37710 @r=`${PWD_COMMAND}`; export r; \
37711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37712 $(NORMAL_TARGET_EXPORTS) \
37713 (cd $(TARGET_SUBDIR)/libgloss && \
37714 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37715 $(TARGET-target-libgloss))
37716 @endif target-libgloss
37722 .PHONY: check-target-libgloss maybe-check-target-libgloss
37723 maybe-check-target-libgloss:
37724 @if target-libgloss
37725 maybe-check-target-libgloss: check-target-libgloss
37727 # Dummy target for uncheckable module.
37728 check-target-libgloss:
37730 @endif target-libgloss
37732 .PHONY: install-target-libgloss maybe-install-target-libgloss
37733 maybe-install-target-libgloss:
37734 @if target-libgloss
37735 maybe-install-target-libgloss: install-target-libgloss
37737 install-target-libgloss: installdirs
37738 @: $(MAKE); $(unstage)
37739 @r=`${PWD_COMMAND}`; export r; \
37740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37741 $(NORMAL_TARGET_EXPORTS) \
37742 (cd $(TARGET_SUBDIR)/libgloss && \
37743 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37745 @endif target-libgloss
37747 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
37748 maybe-install-strip-target-libgloss:
37749 @if target-libgloss
37750 maybe-install-strip-target-libgloss: install-strip-target-libgloss
37752 install-strip-target-libgloss: installdirs
37753 @: $(MAKE); $(unstage)
37754 @r=`${PWD_COMMAND}`; export r; \
37755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37756 $(NORMAL_TARGET_EXPORTS) \
37757 (cd $(TARGET_SUBDIR)/libgloss && \
37758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37760 @endif target-libgloss
37762 # Other targets (info, dvi, pdf, etc.)
37764 .PHONY: maybe-info-target-libgloss info-target-libgloss
37765 maybe-info-target-libgloss:
37766 @if target-libgloss
37767 maybe-info-target-libgloss: info-target-libgloss
37769 info-target-libgloss: \
37770 configure-target-libgloss
37771 @: $(MAKE); $(unstage)
37772 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37773 r=`${PWD_COMMAND}`; export r; \
37774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37775 $(NORMAL_TARGET_EXPORTS) \
37776 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
37777 for flag in $(EXTRA_TARGET_FLAGS); do \
37778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37779 done; \
37780 (cd $(TARGET_SUBDIR)/libgloss && \
37781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37783 "RANLIB=$${RANLIB}" \
37784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37785 info) \
37786 || exit 1
37788 @endif target-libgloss
37790 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
37791 maybe-dvi-target-libgloss:
37792 @if target-libgloss
37793 maybe-dvi-target-libgloss: dvi-target-libgloss
37795 dvi-target-libgloss: \
37796 configure-target-libgloss
37797 @: $(MAKE); $(unstage)
37798 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37799 r=`${PWD_COMMAND}`; export r; \
37800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37801 $(NORMAL_TARGET_EXPORTS) \
37802 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
37803 for flag in $(EXTRA_TARGET_FLAGS); do \
37804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37805 done; \
37806 (cd $(TARGET_SUBDIR)/libgloss && \
37807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37809 "RANLIB=$${RANLIB}" \
37810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37811 dvi) \
37812 || exit 1
37814 @endif target-libgloss
37816 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
37817 maybe-pdf-target-libgloss:
37818 @if target-libgloss
37819 maybe-pdf-target-libgloss: pdf-target-libgloss
37821 pdf-target-libgloss: \
37822 configure-target-libgloss
37823 @: $(MAKE); $(unstage)
37824 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37825 r=`${PWD_COMMAND}`; export r; \
37826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37827 $(NORMAL_TARGET_EXPORTS) \
37828 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
37829 for flag in $(EXTRA_TARGET_FLAGS); do \
37830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37831 done; \
37832 (cd $(TARGET_SUBDIR)/libgloss && \
37833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37835 "RANLIB=$${RANLIB}" \
37836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37837 pdf) \
37838 || exit 1
37840 @endif target-libgloss
37842 .PHONY: maybe-html-target-libgloss html-target-libgloss
37843 maybe-html-target-libgloss:
37844 @if target-libgloss
37845 maybe-html-target-libgloss: html-target-libgloss
37847 html-target-libgloss: \
37848 configure-target-libgloss
37849 @: $(MAKE); $(unstage)
37850 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37851 r=`${PWD_COMMAND}`; export r; \
37852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37853 $(NORMAL_TARGET_EXPORTS) \
37854 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
37855 for flag in $(EXTRA_TARGET_FLAGS); do \
37856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37857 done; \
37858 (cd $(TARGET_SUBDIR)/libgloss && \
37859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37861 "RANLIB=$${RANLIB}" \
37862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37863 html) \
37864 || exit 1
37866 @endif target-libgloss
37868 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
37869 maybe-TAGS-target-libgloss:
37870 @if target-libgloss
37871 maybe-TAGS-target-libgloss: TAGS-target-libgloss
37873 TAGS-target-libgloss: \
37874 configure-target-libgloss
37875 @: $(MAKE); $(unstage)
37876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37877 r=`${PWD_COMMAND}`; export r; \
37878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37879 $(NORMAL_TARGET_EXPORTS) \
37880 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
37881 for flag in $(EXTRA_TARGET_FLAGS); do \
37882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37883 done; \
37884 (cd $(TARGET_SUBDIR)/libgloss && \
37885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37887 "RANLIB=$${RANLIB}" \
37888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37889 TAGS) \
37890 || exit 1
37892 @endif target-libgloss
37894 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
37895 maybe-install-info-target-libgloss:
37896 @if target-libgloss
37897 maybe-install-info-target-libgloss: install-info-target-libgloss
37899 install-info-target-libgloss: \
37900 configure-target-libgloss \
37901 info-target-libgloss
37902 @: $(MAKE); $(unstage)
37903 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37904 r=`${PWD_COMMAND}`; export r; \
37905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37906 $(NORMAL_TARGET_EXPORTS) \
37907 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37908 for flag in $(EXTRA_TARGET_FLAGS); do \
37909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37910 done; \
37911 (cd $(TARGET_SUBDIR)/libgloss && \
37912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37914 "RANLIB=$${RANLIB}" \
37915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37916 install-info) \
37917 || exit 1
37919 @endif target-libgloss
37921 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
37922 maybe-install-pdf-target-libgloss:
37923 @if target-libgloss
37924 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
37926 install-pdf-target-libgloss: \
37927 configure-target-libgloss \
37928 pdf-target-libgloss
37929 @: $(MAKE); $(unstage)
37930 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37931 r=`${PWD_COMMAND}`; export r; \
37932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37933 $(NORMAL_TARGET_EXPORTS) \
37934 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
37935 for flag in $(EXTRA_TARGET_FLAGS); do \
37936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37937 done; \
37938 (cd $(TARGET_SUBDIR)/libgloss && \
37939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37941 "RANLIB=$${RANLIB}" \
37942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37943 install-pdf) \
37944 || exit 1
37946 @endif target-libgloss
37948 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37949 maybe-install-html-target-libgloss:
37950 @if target-libgloss
37951 maybe-install-html-target-libgloss: install-html-target-libgloss
37953 install-html-target-libgloss: \
37954 configure-target-libgloss \
37955 html-target-libgloss
37956 @: $(MAKE); $(unstage)
37957 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37958 r=`${PWD_COMMAND}`; export r; \
37959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37960 $(NORMAL_TARGET_EXPORTS) \
37961 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37962 for flag in $(EXTRA_TARGET_FLAGS); do \
37963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37964 done; \
37965 (cd $(TARGET_SUBDIR)/libgloss && \
37966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37968 "RANLIB=$${RANLIB}" \
37969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37970 install-html) \
37971 || exit 1
37973 @endif target-libgloss
37975 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37976 maybe-installcheck-target-libgloss:
37977 @if target-libgloss
37978 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37980 installcheck-target-libgloss: \
37981 configure-target-libgloss
37982 @: $(MAKE); $(unstage)
37983 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37984 r=`${PWD_COMMAND}`; export r; \
37985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37986 $(NORMAL_TARGET_EXPORTS) \
37987 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37988 for flag in $(EXTRA_TARGET_FLAGS); do \
37989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37990 done; \
37991 (cd $(TARGET_SUBDIR)/libgloss && \
37992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37994 "RANLIB=$${RANLIB}" \
37995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37996 installcheck) \
37997 || exit 1
37999 @endif target-libgloss
38001 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
38002 maybe-mostlyclean-target-libgloss:
38003 @if target-libgloss
38004 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
38006 mostlyclean-target-libgloss:
38007 @: $(MAKE); $(unstage)
38008 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38009 r=`${PWD_COMMAND}`; export r; \
38010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38011 $(NORMAL_TARGET_EXPORTS) \
38012 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
38013 for flag in $(EXTRA_TARGET_FLAGS); do \
38014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38015 done; \
38016 (cd $(TARGET_SUBDIR)/libgloss && \
38017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38019 "RANLIB=$${RANLIB}" \
38020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38021 mostlyclean) \
38022 || exit 1
38024 @endif target-libgloss
38026 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
38027 maybe-clean-target-libgloss:
38028 @if target-libgloss
38029 maybe-clean-target-libgloss: clean-target-libgloss
38031 clean-target-libgloss:
38032 @: $(MAKE); $(unstage)
38033 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38034 r=`${PWD_COMMAND}`; export r; \
38035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38036 $(NORMAL_TARGET_EXPORTS) \
38037 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
38038 for flag in $(EXTRA_TARGET_FLAGS); do \
38039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38040 done; \
38041 (cd $(TARGET_SUBDIR)/libgloss && \
38042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38044 "RANLIB=$${RANLIB}" \
38045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38046 clean) \
38047 || exit 1
38049 @endif target-libgloss
38051 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
38052 maybe-distclean-target-libgloss:
38053 @if target-libgloss
38054 maybe-distclean-target-libgloss: distclean-target-libgloss
38056 distclean-target-libgloss:
38057 @: $(MAKE); $(unstage)
38058 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38059 r=`${PWD_COMMAND}`; export r; \
38060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38061 $(NORMAL_TARGET_EXPORTS) \
38062 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
38063 for flag in $(EXTRA_TARGET_FLAGS); do \
38064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38065 done; \
38066 (cd $(TARGET_SUBDIR)/libgloss && \
38067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38069 "RANLIB=$${RANLIB}" \
38070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38071 distclean) \
38072 || exit 1
38074 @endif target-libgloss
38076 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
38077 maybe-maintainer-clean-target-libgloss:
38078 @if target-libgloss
38079 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
38081 maintainer-clean-target-libgloss:
38082 @: $(MAKE); $(unstage)
38083 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38084 r=`${PWD_COMMAND}`; export r; \
38085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38086 $(NORMAL_TARGET_EXPORTS) \
38087 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
38088 for flag in $(EXTRA_TARGET_FLAGS); do \
38089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38090 done; \
38091 (cd $(TARGET_SUBDIR)/libgloss && \
38092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38094 "RANLIB=$${RANLIB}" \
38095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38096 maintainer-clean) \
38097 || exit 1
38099 @endif target-libgloss
38105 .PHONY: configure-target-libffi maybe-configure-target-libffi
38106 maybe-configure-target-libffi:
38107 @if gcc-bootstrap
38108 configure-target-libffi: stage_current
38109 @endif gcc-bootstrap
38110 @if target-libffi
38111 maybe-configure-target-libffi: configure-target-libffi
38112 configure-target-libffi:
38113 @: $(MAKE); $(unstage)
38114 @r=`${PWD_COMMAND}`; export r; \
38115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38116 echo "Checking multilib configuration for libffi..."; \
38117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38118 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38119 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38120 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38121 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38122 else \
38123 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38124 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38125 fi; \
38126 else \
38127 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38128 fi; \
38129 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38130 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38131 $(NORMAL_TARGET_EXPORTS) \
38132 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38133 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38134 case $(srcdir) in \
38135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38136 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38138 esac; \
38139 srcdiroption="--srcdir=$${topdir}/libffi"; \
38140 libsrcdir="$$s/libffi"; \
38141 rm -f no-such-file || : ; \
38142 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38143 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38144 --target=${target_alias} $${srcdiroption} \
38145 || exit 1
38146 @endif target-libffi
38152 .PHONY: all-target-libffi maybe-all-target-libffi
38153 maybe-all-target-libffi:
38154 @if gcc-bootstrap
38155 all-target-libffi: stage_current
38156 @endif gcc-bootstrap
38157 @if target-libffi
38158 TARGET-target-libffi=all
38159 maybe-all-target-libffi: all-target-libffi
38160 all-target-libffi: configure-target-libffi
38161 @: $(MAKE); $(unstage)
38162 @r=`${PWD_COMMAND}`; export r; \
38163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38164 $(NORMAL_TARGET_EXPORTS) \
38165 (cd $(TARGET_SUBDIR)/libffi && \
38166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38167 $(TARGET-target-libffi))
38168 @endif target-libffi
38174 .PHONY: check-target-libffi maybe-check-target-libffi
38175 maybe-check-target-libffi:
38176 @if target-libffi
38177 maybe-check-target-libffi: check-target-libffi
38179 check-target-libffi:
38180 @: $(MAKE); $(unstage)
38181 @r=`${PWD_COMMAND}`; export r; \
38182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38183 $(NORMAL_TARGET_EXPORTS) \
38184 (cd $(TARGET_SUBDIR)/libffi && \
38185 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38187 @endif target-libffi
38189 .PHONY: install-target-libffi maybe-install-target-libffi
38190 maybe-install-target-libffi:
38191 @if target-libffi
38192 maybe-install-target-libffi: install-target-libffi
38194 install-target-libffi: installdirs
38195 @: $(MAKE); $(unstage)
38196 @r=`${PWD_COMMAND}`; export r; \
38197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38198 $(NORMAL_TARGET_EXPORTS) \
38199 (cd $(TARGET_SUBDIR)/libffi && \
38200 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38202 @endif target-libffi
38204 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
38205 maybe-install-strip-target-libffi:
38206 @if target-libffi
38207 maybe-install-strip-target-libffi: install-strip-target-libffi
38209 install-strip-target-libffi: installdirs
38210 @: $(MAKE); $(unstage)
38211 @r=`${PWD_COMMAND}`; export r; \
38212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38213 $(NORMAL_TARGET_EXPORTS) \
38214 (cd $(TARGET_SUBDIR)/libffi && \
38215 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38217 @endif target-libffi
38219 # Other targets (info, dvi, pdf, etc.)
38221 .PHONY: maybe-info-target-libffi info-target-libffi
38222 maybe-info-target-libffi:
38223 @if target-libffi
38224 maybe-info-target-libffi: info-target-libffi
38226 info-target-libffi: \
38227 configure-target-libffi
38228 @: $(MAKE); $(unstage)
38229 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38230 r=`${PWD_COMMAND}`; export r; \
38231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38232 $(NORMAL_TARGET_EXPORTS) \
38233 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38234 for flag in $(EXTRA_TARGET_FLAGS); do \
38235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38236 done; \
38237 (cd $(TARGET_SUBDIR)/libffi && \
38238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38240 "RANLIB=$${RANLIB}" \
38241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38242 info) \
38243 || exit 1
38245 @endif target-libffi
38247 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38248 maybe-dvi-target-libffi:
38249 @if target-libffi
38250 maybe-dvi-target-libffi: dvi-target-libffi
38252 dvi-target-libffi: \
38253 configure-target-libffi
38254 @: $(MAKE); $(unstage)
38255 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38256 r=`${PWD_COMMAND}`; export r; \
38257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38258 $(NORMAL_TARGET_EXPORTS) \
38259 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38260 for flag in $(EXTRA_TARGET_FLAGS); do \
38261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38262 done; \
38263 (cd $(TARGET_SUBDIR)/libffi && \
38264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38266 "RANLIB=$${RANLIB}" \
38267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38268 dvi) \
38269 || exit 1
38271 @endif target-libffi
38273 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38274 maybe-pdf-target-libffi:
38275 @if target-libffi
38276 maybe-pdf-target-libffi: pdf-target-libffi
38278 pdf-target-libffi: \
38279 configure-target-libffi
38280 @: $(MAKE); $(unstage)
38281 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38282 r=`${PWD_COMMAND}`; export r; \
38283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38284 $(NORMAL_TARGET_EXPORTS) \
38285 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38286 for flag in $(EXTRA_TARGET_FLAGS); do \
38287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38288 done; \
38289 (cd $(TARGET_SUBDIR)/libffi && \
38290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38292 "RANLIB=$${RANLIB}" \
38293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38294 pdf) \
38295 || exit 1
38297 @endif target-libffi
38299 .PHONY: maybe-html-target-libffi html-target-libffi
38300 maybe-html-target-libffi:
38301 @if target-libffi
38302 maybe-html-target-libffi: html-target-libffi
38304 html-target-libffi: \
38305 configure-target-libffi
38306 @: $(MAKE); $(unstage)
38307 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38308 r=`${PWD_COMMAND}`; export r; \
38309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38310 $(NORMAL_TARGET_EXPORTS) \
38311 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38312 for flag in $(EXTRA_TARGET_FLAGS); do \
38313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38314 done; \
38315 (cd $(TARGET_SUBDIR)/libffi && \
38316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38318 "RANLIB=$${RANLIB}" \
38319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38320 html) \
38321 || exit 1
38323 @endif target-libffi
38325 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38326 maybe-TAGS-target-libffi:
38327 @if target-libffi
38328 maybe-TAGS-target-libffi: TAGS-target-libffi
38330 TAGS-target-libffi: \
38331 configure-target-libffi
38332 @: $(MAKE); $(unstage)
38333 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38334 r=`${PWD_COMMAND}`; export r; \
38335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38336 $(NORMAL_TARGET_EXPORTS) \
38337 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38338 for flag in $(EXTRA_TARGET_FLAGS); do \
38339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38340 done; \
38341 (cd $(TARGET_SUBDIR)/libffi && \
38342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38344 "RANLIB=$${RANLIB}" \
38345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38346 TAGS) \
38347 || exit 1
38349 @endif target-libffi
38351 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38352 maybe-install-info-target-libffi:
38353 @if target-libffi
38354 maybe-install-info-target-libffi: install-info-target-libffi
38356 install-info-target-libffi: \
38357 configure-target-libffi \
38358 info-target-libffi
38359 @: $(MAKE); $(unstage)
38360 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38361 r=`${PWD_COMMAND}`; export r; \
38362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38363 $(NORMAL_TARGET_EXPORTS) \
38364 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38365 for flag in $(EXTRA_TARGET_FLAGS); do \
38366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38367 done; \
38368 (cd $(TARGET_SUBDIR)/libffi && \
38369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38371 "RANLIB=$${RANLIB}" \
38372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38373 install-info) \
38374 || exit 1
38376 @endif target-libffi
38378 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
38379 maybe-install-pdf-target-libffi:
38380 @if target-libffi
38381 maybe-install-pdf-target-libffi: install-pdf-target-libffi
38383 install-pdf-target-libffi: \
38384 configure-target-libffi \
38385 pdf-target-libffi
38386 @: $(MAKE); $(unstage)
38387 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38388 r=`${PWD_COMMAND}`; export r; \
38389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38390 $(NORMAL_TARGET_EXPORTS) \
38391 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
38392 for flag in $(EXTRA_TARGET_FLAGS); do \
38393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38394 done; \
38395 (cd $(TARGET_SUBDIR)/libffi && \
38396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38398 "RANLIB=$${RANLIB}" \
38399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38400 install-pdf) \
38401 || exit 1
38403 @endif target-libffi
38405 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38406 maybe-install-html-target-libffi:
38407 @if target-libffi
38408 maybe-install-html-target-libffi: install-html-target-libffi
38410 install-html-target-libffi: \
38411 configure-target-libffi \
38412 html-target-libffi
38413 @: $(MAKE); $(unstage)
38414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38415 r=`${PWD_COMMAND}`; export r; \
38416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38417 $(NORMAL_TARGET_EXPORTS) \
38418 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38419 for flag in $(EXTRA_TARGET_FLAGS); do \
38420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38421 done; \
38422 (cd $(TARGET_SUBDIR)/libffi && \
38423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38425 "RANLIB=$${RANLIB}" \
38426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38427 install-html) \
38428 || exit 1
38430 @endif target-libffi
38432 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38433 maybe-installcheck-target-libffi:
38434 @if target-libffi
38435 maybe-installcheck-target-libffi: installcheck-target-libffi
38437 installcheck-target-libffi: \
38438 configure-target-libffi
38439 @: $(MAKE); $(unstage)
38440 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38441 r=`${PWD_COMMAND}`; export r; \
38442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38443 $(NORMAL_TARGET_EXPORTS) \
38444 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38445 for flag in $(EXTRA_TARGET_FLAGS); do \
38446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38447 done; \
38448 (cd $(TARGET_SUBDIR)/libffi && \
38449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38451 "RANLIB=$${RANLIB}" \
38452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38453 installcheck) \
38454 || exit 1
38456 @endif target-libffi
38458 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38459 maybe-mostlyclean-target-libffi:
38460 @if target-libffi
38461 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38463 mostlyclean-target-libffi:
38464 @: $(MAKE); $(unstage)
38465 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38466 r=`${PWD_COMMAND}`; export r; \
38467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38468 $(NORMAL_TARGET_EXPORTS) \
38469 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38470 for flag in $(EXTRA_TARGET_FLAGS); do \
38471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38472 done; \
38473 (cd $(TARGET_SUBDIR)/libffi && \
38474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38476 "RANLIB=$${RANLIB}" \
38477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38478 mostlyclean) \
38479 || exit 1
38481 @endif target-libffi
38483 .PHONY: maybe-clean-target-libffi clean-target-libffi
38484 maybe-clean-target-libffi:
38485 @if target-libffi
38486 maybe-clean-target-libffi: clean-target-libffi
38488 clean-target-libffi:
38489 @: $(MAKE); $(unstage)
38490 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38491 r=`${PWD_COMMAND}`; export r; \
38492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38493 $(NORMAL_TARGET_EXPORTS) \
38494 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38495 for flag in $(EXTRA_TARGET_FLAGS); do \
38496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38497 done; \
38498 (cd $(TARGET_SUBDIR)/libffi && \
38499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38501 "RANLIB=$${RANLIB}" \
38502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38503 clean) \
38504 || exit 1
38506 @endif target-libffi
38508 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38509 maybe-distclean-target-libffi:
38510 @if target-libffi
38511 maybe-distclean-target-libffi: distclean-target-libffi
38513 distclean-target-libffi:
38514 @: $(MAKE); $(unstage)
38515 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38516 r=`${PWD_COMMAND}`; export r; \
38517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38518 $(NORMAL_TARGET_EXPORTS) \
38519 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38520 for flag in $(EXTRA_TARGET_FLAGS); do \
38521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38522 done; \
38523 (cd $(TARGET_SUBDIR)/libffi && \
38524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38526 "RANLIB=$${RANLIB}" \
38527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38528 distclean) \
38529 || exit 1
38531 @endif target-libffi
38533 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38534 maybe-maintainer-clean-target-libffi:
38535 @if target-libffi
38536 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38538 maintainer-clean-target-libffi:
38539 @: $(MAKE); $(unstage)
38540 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38541 r=`${PWD_COMMAND}`; export r; \
38542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38543 $(NORMAL_TARGET_EXPORTS) \
38544 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38545 for flag in $(EXTRA_TARGET_FLAGS); do \
38546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38547 done; \
38548 (cd $(TARGET_SUBDIR)/libffi && \
38549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38551 "RANLIB=$${RANLIB}" \
38552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38553 maintainer-clean) \
38554 || exit 1
38556 @endif target-libffi
38562 .PHONY: configure-target-libjava maybe-configure-target-libjava
38563 maybe-configure-target-libjava:
38564 @if gcc-bootstrap
38565 configure-target-libjava: stage_current
38566 @endif gcc-bootstrap
38567 @if target-libjava
38568 maybe-configure-target-libjava: configure-target-libjava
38569 configure-target-libjava:
38570 @: $(MAKE); $(unstage)
38571 @r=`${PWD_COMMAND}`; export r; \
38572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38573 echo "Checking multilib configuration for libjava..."; \
38574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38575 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38576 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38577 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38578 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38579 else \
38580 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38581 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38582 fi; \
38583 else \
38584 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38585 fi; \
38586 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38588 $(RAW_CXX_TARGET_EXPORTS) \
38589 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38590 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38591 case $(srcdir) in \
38592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38593 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38595 esac; \
38596 srcdiroption="--srcdir=$${topdir}/libjava"; \
38597 libsrcdir="$$s/libjava"; \
38598 rm -f no-such-file || : ; \
38599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38600 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38601 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
38602 || exit 1
38603 @endif target-libjava
38609 .PHONY: all-target-libjava maybe-all-target-libjava
38610 maybe-all-target-libjava:
38611 @if gcc-bootstrap
38612 all-target-libjava: stage_current
38613 @endif gcc-bootstrap
38614 @if target-libjava
38615 TARGET-target-libjava=all
38616 maybe-all-target-libjava: all-target-libjava
38617 all-target-libjava: configure-target-libjava
38618 @: $(MAKE); $(unstage)
38619 @r=`${PWD_COMMAND}`; export r; \
38620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38621 $(RAW_CXX_TARGET_EXPORTS) \
38622 (cd $(TARGET_SUBDIR)/libjava && \
38623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38624 $(TARGET-target-libjava))
38625 @endif target-libjava
38631 .PHONY: check-target-libjava maybe-check-target-libjava
38632 maybe-check-target-libjava:
38633 @if target-libjava
38634 maybe-check-target-libjava: check-target-libjava
38636 check-target-libjava:
38637 @: $(MAKE); $(unstage)
38638 @r=`${PWD_COMMAND}`; export r; \
38639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38640 $(RAW_CXX_TARGET_EXPORTS) \
38641 (cd $(TARGET_SUBDIR)/libjava && \
38642 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38644 @endif target-libjava
38646 .PHONY: install-target-libjava maybe-install-target-libjava
38647 maybe-install-target-libjava:
38648 @if target-libjava
38649 maybe-install-target-libjava: install-target-libjava
38651 install-target-libjava: installdirs
38652 @: $(MAKE); $(unstage)
38653 @r=`${PWD_COMMAND}`; export r; \
38654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38655 $(RAW_CXX_TARGET_EXPORTS) \
38656 (cd $(TARGET_SUBDIR)/libjava && \
38657 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38659 @endif target-libjava
38661 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
38662 maybe-install-strip-target-libjava:
38663 @if target-libjava
38664 maybe-install-strip-target-libjava: install-strip-target-libjava
38666 install-strip-target-libjava: installdirs
38667 @: $(MAKE); $(unstage)
38668 @r=`${PWD_COMMAND}`; export r; \
38669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38670 $(RAW_CXX_TARGET_EXPORTS) \
38671 (cd $(TARGET_SUBDIR)/libjava && \
38672 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38674 @endif target-libjava
38676 # Other targets (info, dvi, pdf, etc.)
38678 .PHONY: maybe-info-target-libjava info-target-libjava
38679 maybe-info-target-libjava:
38680 @if target-libjava
38681 maybe-info-target-libjava: info-target-libjava
38683 info-target-libjava: \
38684 configure-target-libjava
38685 @: $(MAKE); $(unstage)
38686 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38687 r=`${PWD_COMMAND}`; export r; \
38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38689 $(RAW_CXX_TARGET_EXPORTS) \
38690 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38691 for flag in $(EXTRA_TARGET_FLAGS); do \
38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38693 done; \
38694 (cd $(TARGET_SUBDIR)/libjava && \
38695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38697 "RANLIB=$${RANLIB}" \
38698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38699 info) \
38700 || exit 1
38702 @endif target-libjava
38704 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38705 maybe-dvi-target-libjava:
38706 @if target-libjava
38707 maybe-dvi-target-libjava: dvi-target-libjava
38709 dvi-target-libjava: \
38710 configure-target-libjava
38711 @: $(MAKE); $(unstage)
38712 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38713 r=`${PWD_COMMAND}`; export r; \
38714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38715 $(RAW_CXX_TARGET_EXPORTS) \
38716 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38717 for flag in $(EXTRA_TARGET_FLAGS); do \
38718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38719 done; \
38720 (cd $(TARGET_SUBDIR)/libjava && \
38721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38723 "RANLIB=$${RANLIB}" \
38724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38725 dvi) \
38726 || exit 1
38728 @endif target-libjava
38730 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38731 maybe-pdf-target-libjava:
38732 @if target-libjava
38733 maybe-pdf-target-libjava: pdf-target-libjava
38735 pdf-target-libjava: \
38736 configure-target-libjava
38737 @: $(MAKE); $(unstage)
38738 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38739 r=`${PWD_COMMAND}`; export r; \
38740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38741 $(RAW_CXX_TARGET_EXPORTS) \
38742 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38743 for flag in $(EXTRA_TARGET_FLAGS); do \
38744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38745 done; \
38746 (cd $(TARGET_SUBDIR)/libjava && \
38747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38749 "RANLIB=$${RANLIB}" \
38750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38751 pdf) \
38752 || exit 1
38754 @endif target-libjava
38756 .PHONY: maybe-html-target-libjava html-target-libjava
38757 maybe-html-target-libjava:
38758 @if target-libjava
38759 maybe-html-target-libjava: html-target-libjava
38761 html-target-libjava: \
38762 configure-target-libjava
38763 @: $(MAKE); $(unstage)
38764 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38765 r=`${PWD_COMMAND}`; export r; \
38766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38767 $(RAW_CXX_TARGET_EXPORTS) \
38768 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38769 for flag in $(EXTRA_TARGET_FLAGS); do \
38770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38771 done; \
38772 (cd $(TARGET_SUBDIR)/libjava && \
38773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38775 "RANLIB=$${RANLIB}" \
38776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38777 html) \
38778 || exit 1
38780 @endif target-libjava
38782 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
38783 maybe-TAGS-target-libjava:
38784 @if target-libjava
38785 maybe-TAGS-target-libjava: TAGS-target-libjava
38787 TAGS-target-libjava: \
38788 configure-target-libjava
38789 @: $(MAKE); $(unstage)
38790 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38791 r=`${PWD_COMMAND}`; export r; \
38792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38793 $(RAW_CXX_TARGET_EXPORTS) \
38794 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
38795 for flag in $(EXTRA_TARGET_FLAGS); do \
38796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38797 done; \
38798 (cd $(TARGET_SUBDIR)/libjava && \
38799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38801 "RANLIB=$${RANLIB}" \
38802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38803 TAGS) \
38804 || exit 1
38806 @endif target-libjava
38808 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
38809 maybe-install-info-target-libjava:
38810 @if target-libjava
38811 maybe-install-info-target-libjava: install-info-target-libjava
38813 install-info-target-libjava: \
38814 configure-target-libjava \
38815 info-target-libjava
38816 @: $(MAKE); $(unstage)
38817 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38818 r=`${PWD_COMMAND}`; export r; \
38819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38820 $(RAW_CXX_TARGET_EXPORTS) \
38821 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
38822 for flag in $(EXTRA_TARGET_FLAGS); do \
38823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38824 done; \
38825 (cd $(TARGET_SUBDIR)/libjava && \
38826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38828 "RANLIB=$${RANLIB}" \
38829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38830 install-info) \
38831 || exit 1
38833 @endif target-libjava
38835 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
38836 maybe-install-pdf-target-libjava:
38837 @if target-libjava
38838 maybe-install-pdf-target-libjava: install-pdf-target-libjava
38840 install-pdf-target-libjava: \
38841 configure-target-libjava \
38842 pdf-target-libjava
38843 @: $(MAKE); $(unstage)
38844 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38845 r=`${PWD_COMMAND}`; export r; \
38846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38847 $(RAW_CXX_TARGET_EXPORTS) \
38848 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
38849 for flag in $(EXTRA_TARGET_FLAGS); do \
38850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38851 done; \
38852 (cd $(TARGET_SUBDIR)/libjava && \
38853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38855 "RANLIB=$${RANLIB}" \
38856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38857 install-pdf) \
38858 || exit 1
38860 @endif target-libjava
38862 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
38863 maybe-install-html-target-libjava:
38864 @if target-libjava
38865 maybe-install-html-target-libjava: install-html-target-libjava
38867 install-html-target-libjava: \
38868 configure-target-libjava \
38869 html-target-libjava
38870 @: $(MAKE); $(unstage)
38871 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38872 r=`${PWD_COMMAND}`; export r; \
38873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38874 $(RAW_CXX_TARGET_EXPORTS) \
38875 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
38876 for flag in $(EXTRA_TARGET_FLAGS); do \
38877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38878 done; \
38879 (cd $(TARGET_SUBDIR)/libjava && \
38880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38882 "RANLIB=$${RANLIB}" \
38883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38884 install-html) \
38885 || exit 1
38887 @endif target-libjava
38889 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
38890 maybe-installcheck-target-libjava:
38891 @if target-libjava
38892 maybe-installcheck-target-libjava: installcheck-target-libjava
38894 installcheck-target-libjava: \
38895 configure-target-libjava
38896 @: $(MAKE); $(unstage)
38897 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38898 r=`${PWD_COMMAND}`; export r; \
38899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38900 $(RAW_CXX_TARGET_EXPORTS) \
38901 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
38902 for flag in $(EXTRA_TARGET_FLAGS); do \
38903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38904 done; \
38905 (cd $(TARGET_SUBDIR)/libjava && \
38906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38908 "RANLIB=$${RANLIB}" \
38909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38910 installcheck) \
38911 || exit 1
38913 @endif target-libjava
38915 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
38916 maybe-mostlyclean-target-libjava:
38917 @if target-libjava
38918 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
38920 mostlyclean-target-libjava:
38921 @: $(MAKE); $(unstage)
38922 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38923 r=`${PWD_COMMAND}`; export r; \
38924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38925 $(RAW_CXX_TARGET_EXPORTS) \
38926 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
38927 for flag in $(EXTRA_TARGET_FLAGS); do \
38928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38929 done; \
38930 (cd $(TARGET_SUBDIR)/libjava && \
38931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38933 "RANLIB=$${RANLIB}" \
38934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38935 mostlyclean) \
38936 || exit 1
38938 @endif target-libjava
38940 .PHONY: maybe-clean-target-libjava clean-target-libjava
38941 maybe-clean-target-libjava:
38942 @if target-libjava
38943 maybe-clean-target-libjava: clean-target-libjava
38945 clean-target-libjava:
38946 @: $(MAKE); $(unstage)
38947 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38948 r=`${PWD_COMMAND}`; export r; \
38949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38950 $(RAW_CXX_TARGET_EXPORTS) \
38951 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
38952 for flag in $(EXTRA_TARGET_FLAGS); do \
38953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38954 done; \
38955 (cd $(TARGET_SUBDIR)/libjava && \
38956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38958 "RANLIB=$${RANLIB}" \
38959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38960 clean) \
38961 || exit 1
38963 @endif target-libjava
38965 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
38966 maybe-distclean-target-libjava:
38967 @if target-libjava
38968 maybe-distclean-target-libjava: distclean-target-libjava
38970 distclean-target-libjava:
38971 @: $(MAKE); $(unstage)
38972 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38973 r=`${PWD_COMMAND}`; export r; \
38974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38975 $(RAW_CXX_TARGET_EXPORTS) \
38976 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
38977 for flag in $(EXTRA_TARGET_FLAGS); do \
38978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38979 done; \
38980 (cd $(TARGET_SUBDIR)/libjava && \
38981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38983 "RANLIB=$${RANLIB}" \
38984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38985 distclean) \
38986 || exit 1
38988 @endif target-libjava
38990 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
38991 maybe-maintainer-clean-target-libjava:
38992 @if target-libjava
38993 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
38995 maintainer-clean-target-libjava:
38996 @: $(MAKE); $(unstage)
38997 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38998 r=`${PWD_COMMAND}`; export r; \
38999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39000 $(RAW_CXX_TARGET_EXPORTS) \
39001 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39002 for flag in $(EXTRA_TARGET_FLAGS); do \
39003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39004 done; \
39005 (cd $(TARGET_SUBDIR)/libjava && \
39006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39008 "RANLIB=$${RANLIB}" \
39009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39010 maintainer-clean) \
39011 || exit 1
39013 @endif target-libjava
39019 .PHONY: configure-target-zlib maybe-configure-target-zlib
39020 maybe-configure-target-zlib:
39021 @if gcc-bootstrap
39022 configure-target-zlib: stage_current
39023 @endif gcc-bootstrap
39024 @if target-zlib
39025 maybe-configure-target-zlib: configure-target-zlib
39026 configure-target-zlib:
39027 @: $(MAKE); $(unstage)
39028 @r=`${PWD_COMMAND}`; export r; \
39029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39030 echo "Checking multilib configuration for zlib..."; \
39031 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39032 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39033 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39034 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39035 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39036 else \
39037 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39038 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39039 fi; \
39040 else \
39041 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39042 fi; \
39043 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39045 $(NORMAL_TARGET_EXPORTS) \
39046 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39047 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39048 case $(srcdir) in \
39049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39050 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39052 esac; \
39053 srcdiroption="--srcdir=$${topdir}/zlib"; \
39054 libsrcdir="$$s/zlib"; \
39055 rm -f no-such-file || : ; \
39056 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39057 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39058 --target=${target_alias} $${srcdiroption} \
39059 || exit 1
39060 @endif target-zlib
39066 .PHONY: all-target-zlib maybe-all-target-zlib
39067 maybe-all-target-zlib:
39068 @if gcc-bootstrap
39069 all-target-zlib: stage_current
39070 @endif gcc-bootstrap
39071 @if target-zlib
39072 TARGET-target-zlib=all
39073 maybe-all-target-zlib: all-target-zlib
39074 all-target-zlib: configure-target-zlib
39075 @: $(MAKE); $(unstage)
39076 @r=`${PWD_COMMAND}`; export r; \
39077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39078 $(NORMAL_TARGET_EXPORTS) \
39079 (cd $(TARGET_SUBDIR)/zlib && \
39080 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39081 $(TARGET-target-zlib))
39082 @endif target-zlib
39088 .PHONY: check-target-zlib maybe-check-target-zlib
39089 maybe-check-target-zlib:
39090 @if target-zlib
39091 maybe-check-target-zlib: check-target-zlib
39093 check-target-zlib:
39094 @: $(MAKE); $(unstage)
39095 @r=`${PWD_COMMAND}`; export r; \
39096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39097 $(NORMAL_TARGET_EXPORTS) \
39098 (cd $(TARGET_SUBDIR)/zlib && \
39099 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39101 @endif target-zlib
39103 .PHONY: install-target-zlib maybe-install-target-zlib
39104 maybe-install-target-zlib:
39105 @if target-zlib
39106 maybe-install-target-zlib: install-target-zlib
39108 install-target-zlib: installdirs
39109 @: $(MAKE); $(unstage)
39110 @r=`${PWD_COMMAND}`; export r; \
39111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39112 $(NORMAL_TARGET_EXPORTS) \
39113 (cd $(TARGET_SUBDIR)/zlib && \
39114 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39116 @endif target-zlib
39118 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
39119 maybe-install-strip-target-zlib:
39120 @if target-zlib
39121 maybe-install-strip-target-zlib: install-strip-target-zlib
39123 install-strip-target-zlib: installdirs
39124 @: $(MAKE); $(unstage)
39125 @r=`${PWD_COMMAND}`; export r; \
39126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39127 $(NORMAL_TARGET_EXPORTS) \
39128 (cd $(TARGET_SUBDIR)/zlib && \
39129 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39131 @endif target-zlib
39133 # Other targets (info, dvi, pdf, etc.)
39135 .PHONY: maybe-info-target-zlib info-target-zlib
39136 maybe-info-target-zlib:
39137 @if target-zlib
39138 maybe-info-target-zlib: info-target-zlib
39140 info-target-zlib: \
39141 configure-target-zlib
39142 @: $(MAKE); $(unstage)
39143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39144 r=`${PWD_COMMAND}`; export r; \
39145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39146 $(NORMAL_TARGET_EXPORTS) \
39147 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39148 for flag in $(EXTRA_TARGET_FLAGS); do \
39149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39150 done; \
39151 (cd $(TARGET_SUBDIR)/zlib && \
39152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39154 "RANLIB=$${RANLIB}" \
39155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39156 info) \
39157 || exit 1
39159 @endif target-zlib
39161 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39162 maybe-dvi-target-zlib:
39163 @if target-zlib
39164 maybe-dvi-target-zlib: dvi-target-zlib
39166 dvi-target-zlib: \
39167 configure-target-zlib
39168 @: $(MAKE); $(unstage)
39169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39170 r=`${PWD_COMMAND}`; export r; \
39171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39172 $(NORMAL_TARGET_EXPORTS) \
39173 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39174 for flag in $(EXTRA_TARGET_FLAGS); do \
39175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39176 done; \
39177 (cd $(TARGET_SUBDIR)/zlib && \
39178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39180 "RANLIB=$${RANLIB}" \
39181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39182 dvi) \
39183 || exit 1
39185 @endif target-zlib
39187 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39188 maybe-pdf-target-zlib:
39189 @if target-zlib
39190 maybe-pdf-target-zlib: pdf-target-zlib
39192 pdf-target-zlib: \
39193 configure-target-zlib
39194 @: $(MAKE); $(unstage)
39195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39196 r=`${PWD_COMMAND}`; export r; \
39197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39198 $(NORMAL_TARGET_EXPORTS) \
39199 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39200 for flag in $(EXTRA_TARGET_FLAGS); do \
39201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39202 done; \
39203 (cd $(TARGET_SUBDIR)/zlib && \
39204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39206 "RANLIB=$${RANLIB}" \
39207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39208 pdf) \
39209 || exit 1
39211 @endif target-zlib
39213 .PHONY: maybe-html-target-zlib html-target-zlib
39214 maybe-html-target-zlib:
39215 @if target-zlib
39216 maybe-html-target-zlib: html-target-zlib
39218 html-target-zlib: \
39219 configure-target-zlib
39220 @: $(MAKE); $(unstage)
39221 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39222 r=`${PWD_COMMAND}`; export r; \
39223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39224 $(NORMAL_TARGET_EXPORTS) \
39225 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39226 for flag in $(EXTRA_TARGET_FLAGS); do \
39227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39228 done; \
39229 (cd $(TARGET_SUBDIR)/zlib && \
39230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39232 "RANLIB=$${RANLIB}" \
39233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39234 html) \
39235 || exit 1
39237 @endif target-zlib
39239 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39240 maybe-TAGS-target-zlib:
39241 @if target-zlib
39242 maybe-TAGS-target-zlib: TAGS-target-zlib
39244 TAGS-target-zlib: \
39245 configure-target-zlib
39246 @: $(MAKE); $(unstage)
39247 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39248 r=`${PWD_COMMAND}`; export r; \
39249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39250 $(NORMAL_TARGET_EXPORTS) \
39251 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39252 for flag in $(EXTRA_TARGET_FLAGS); do \
39253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39254 done; \
39255 (cd $(TARGET_SUBDIR)/zlib && \
39256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39258 "RANLIB=$${RANLIB}" \
39259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39260 TAGS) \
39261 || exit 1
39263 @endif target-zlib
39265 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39266 maybe-install-info-target-zlib:
39267 @if target-zlib
39268 maybe-install-info-target-zlib: install-info-target-zlib
39270 install-info-target-zlib: \
39271 configure-target-zlib \
39272 info-target-zlib
39273 @: $(MAKE); $(unstage)
39274 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39275 r=`${PWD_COMMAND}`; export r; \
39276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39277 $(NORMAL_TARGET_EXPORTS) \
39278 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39279 for flag in $(EXTRA_TARGET_FLAGS); do \
39280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39281 done; \
39282 (cd $(TARGET_SUBDIR)/zlib && \
39283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39285 "RANLIB=$${RANLIB}" \
39286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39287 install-info) \
39288 || exit 1
39290 @endif target-zlib
39292 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
39293 maybe-install-pdf-target-zlib:
39294 @if target-zlib
39295 maybe-install-pdf-target-zlib: install-pdf-target-zlib
39297 install-pdf-target-zlib: \
39298 configure-target-zlib \
39299 pdf-target-zlib
39300 @: $(MAKE); $(unstage)
39301 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39302 r=`${PWD_COMMAND}`; export r; \
39303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39304 $(NORMAL_TARGET_EXPORTS) \
39305 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
39306 for flag in $(EXTRA_TARGET_FLAGS); do \
39307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39308 done; \
39309 (cd $(TARGET_SUBDIR)/zlib && \
39310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39312 "RANLIB=$${RANLIB}" \
39313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39314 install-pdf) \
39315 || exit 1
39317 @endif target-zlib
39319 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39320 maybe-install-html-target-zlib:
39321 @if target-zlib
39322 maybe-install-html-target-zlib: install-html-target-zlib
39324 install-html-target-zlib: \
39325 configure-target-zlib \
39326 html-target-zlib
39327 @: $(MAKE); $(unstage)
39328 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39329 r=`${PWD_COMMAND}`; export r; \
39330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39331 $(NORMAL_TARGET_EXPORTS) \
39332 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39333 for flag in $(EXTRA_TARGET_FLAGS); do \
39334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39335 done; \
39336 (cd $(TARGET_SUBDIR)/zlib && \
39337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39339 "RANLIB=$${RANLIB}" \
39340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39341 install-html) \
39342 || exit 1
39344 @endif target-zlib
39346 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39347 maybe-installcheck-target-zlib:
39348 @if target-zlib
39349 maybe-installcheck-target-zlib: installcheck-target-zlib
39351 installcheck-target-zlib: \
39352 configure-target-zlib
39353 @: $(MAKE); $(unstage)
39354 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39355 r=`${PWD_COMMAND}`; export r; \
39356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39357 $(NORMAL_TARGET_EXPORTS) \
39358 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39359 for flag in $(EXTRA_TARGET_FLAGS); do \
39360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39361 done; \
39362 (cd $(TARGET_SUBDIR)/zlib && \
39363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39365 "RANLIB=$${RANLIB}" \
39366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39367 installcheck) \
39368 || exit 1
39370 @endif target-zlib
39372 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39373 maybe-mostlyclean-target-zlib:
39374 @if target-zlib
39375 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39377 mostlyclean-target-zlib:
39378 @: $(MAKE); $(unstage)
39379 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39380 r=`${PWD_COMMAND}`; export r; \
39381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39382 $(NORMAL_TARGET_EXPORTS) \
39383 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39384 for flag in $(EXTRA_TARGET_FLAGS); do \
39385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39386 done; \
39387 (cd $(TARGET_SUBDIR)/zlib && \
39388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39390 "RANLIB=$${RANLIB}" \
39391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39392 mostlyclean) \
39393 || exit 1
39395 @endif target-zlib
39397 .PHONY: maybe-clean-target-zlib clean-target-zlib
39398 maybe-clean-target-zlib:
39399 @if target-zlib
39400 maybe-clean-target-zlib: clean-target-zlib
39402 clean-target-zlib:
39403 @: $(MAKE); $(unstage)
39404 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39405 r=`${PWD_COMMAND}`; export r; \
39406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39407 $(NORMAL_TARGET_EXPORTS) \
39408 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39409 for flag in $(EXTRA_TARGET_FLAGS); do \
39410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39411 done; \
39412 (cd $(TARGET_SUBDIR)/zlib && \
39413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39415 "RANLIB=$${RANLIB}" \
39416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39417 clean) \
39418 || exit 1
39420 @endif target-zlib
39422 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39423 maybe-distclean-target-zlib:
39424 @if target-zlib
39425 maybe-distclean-target-zlib: distclean-target-zlib
39427 distclean-target-zlib:
39428 @: $(MAKE); $(unstage)
39429 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39430 r=`${PWD_COMMAND}`; export r; \
39431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39432 $(NORMAL_TARGET_EXPORTS) \
39433 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39434 for flag in $(EXTRA_TARGET_FLAGS); do \
39435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39436 done; \
39437 (cd $(TARGET_SUBDIR)/zlib && \
39438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39440 "RANLIB=$${RANLIB}" \
39441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39442 distclean) \
39443 || exit 1
39445 @endif target-zlib
39447 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39448 maybe-maintainer-clean-target-zlib:
39449 @if target-zlib
39450 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39452 maintainer-clean-target-zlib:
39453 @: $(MAKE); $(unstage)
39454 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39455 r=`${PWD_COMMAND}`; export r; \
39456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39457 $(NORMAL_TARGET_EXPORTS) \
39458 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39459 for flag in $(EXTRA_TARGET_FLAGS); do \
39460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39461 done; \
39462 (cd $(TARGET_SUBDIR)/zlib && \
39463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39465 "RANLIB=$${RANLIB}" \
39466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39467 maintainer-clean) \
39468 || exit 1
39470 @endif target-zlib
39476 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39477 maybe-configure-target-boehm-gc:
39478 @if gcc-bootstrap
39479 configure-target-boehm-gc: stage_current
39480 @endif gcc-bootstrap
39481 @if target-boehm-gc
39482 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39483 configure-target-boehm-gc:
39484 @: $(MAKE); $(unstage)
39485 @r=`${PWD_COMMAND}`; export r; \
39486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39487 echo "Checking multilib configuration for boehm-gc..."; \
39488 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39489 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39490 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39491 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39492 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39493 else \
39494 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39495 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39496 fi; \
39497 else \
39498 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39499 fi; \
39500 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39502 $(NORMAL_TARGET_EXPORTS) \
39503 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39504 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39505 case $(srcdir) in \
39506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39507 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39509 esac; \
39510 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39511 libsrcdir="$$s/boehm-gc"; \
39512 rm -f no-such-file || : ; \
39513 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39514 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39515 --target=${target_alias} $${srcdiroption} \
39516 || exit 1
39517 @endif target-boehm-gc
39523 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39524 maybe-all-target-boehm-gc:
39525 @if gcc-bootstrap
39526 all-target-boehm-gc: stage_current
39527 @endif gcc-bootstrap
39528 @if target-boehm-gc
39529 TARGET-target-boehm-gc=all
39530 maybe-all-target-boehm-gc: all-target-boehm-gc
39531 all-target-boehm-gc: configure-target-boehm-gc
39532 @: $(MAKE); $(unstage)
39533 @r=`${PWD_COMMAND}`; export r; \
39534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39535 $(NORMAL_TARGET_EXPORTS) \
39536 (cd $(TARGET_SUBDIR)/boehm-gc && \
39537 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39538 $(TARGET-target-boehm-gc))
39539 @endif target-boehm-gc
39545 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39546 maybe-check-target-boehm-gc:
39547 @if target-boehm-gc
39548 maybe-check-target-boehm-gc: check-target-boehm-gc
39550 check-target-boehm-gc:
39551 @: $(MAKE); $(unstage)
39552 @r=`${PWD_COMMAND}`; export r; \
39553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39554 $(NORMAL_TARGET_EXPORTS) \
39555 (cd $(TARGET_SUBDIR)/boehm-gc && \
39556 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39558 @endif target-boehm-gc
39560 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39561 maybe-install-target-boehm-gc:
39562 @if target-boehm-gc
39563 maybe-install-target-boehm-gc: install-target-boehm-gc
39565 install-target-boehm-gc: installdirs
39566 @: $(MAKE); $(unstage)
39567 @r=`${PWD_COMMAND}`; export r; \
39568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39569 $(NORMAL_TARGET_EXPORTS) \
39570 (cd $(TARGET_SUBDIR)/boehm-gc && \
39571 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39573 @endif target-boehm-gc
39575 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
39576 maybe-install-strip-target-boehm-gc:
39577 @if target-boehm-gc
39578 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
39580 install-strip-target-boehm-gc: installdirs
39581 @: $(MAKE); $(unstage)
39582 @r=`${PWD_COMMAND}`; export r; \
39583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39584 $(NORMAL_TARGET_EXPORTS) \
39585 (cd $(TARGET_SUBDIR)/boehm-gc && \
39586 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39588 @endif target-boehm-gc
39590 # Other targets (info, dvi, pdf, etc.)
39592 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39593 maybe-info-target-boehm-gc:
39594 @if target-boehm-gc
39595 maybe-info-target-boehm-gc: info-target-boehm-gc
39597 info-target-boehm-gc: \
39598 configure-target-boehm-gc
39599 @: $(MAKE); $(unstage)
39600 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39601 r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 $(NORMAL_TARGET_EXPORTS) \
39604 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39605 for flag in $(EXTRA_TARGET_FLAGS); do \
39606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39607 done; \
39608 (cd $(TARGET_SUBDIR)/boehm-gc && \
39609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39611 "RANLIB=$${RANLIB}" \
39612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39613 info) \
39614 || exit 1
39616 @endif target-boehm-gc
39618 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39619 maybe-dvi-target-boehm-gc:
39620 @if target-boehm-gc
39621 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39623 dvi-target-boehm-gc: \
39624 configure-target-boehm-gc
39625 @: $(MAKE); $(unstage)
39626 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39627 r=`${PWD_COMMAND}`; export r; \
39628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39629 $(NORMAL_TARGET_EXPORTS) \
39630 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39631 for flag in $(EXTRA_TARGET_FLAGS); do \
39632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39633 done; \
39634 (cd $(TARGET_SUBDIR)/boehm-gc && \
39635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39637 "RANLIB=$${RANLIB}" \
39638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39639 dvi) \
39640 || exit 1
39642 @endif target-boehm-gc
39644 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39645 maybe-pdf-target-boehm-gc:
39646 @if target-boehm-gc
39647 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39649 pdf-target-boehm-gc: \
39650 configure-target-boehm-gc
39651 @: $(MAKE); $(unstage)
39652 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39653 r=`${PWD_COMMAND}`; export r; \
39654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39655 $(NORMAL_TARGET_EXPORTS) \
39656 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39657 for flag in $(EXTRA_TARGET_FLAGS); do \
39658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39659 done; \
39660 (cd $(TARGET_SUBDIR)/boehm-gc && \
39661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39663 "RANLIB=$${RANLIB}" \
39664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39665 pdf) \
39666 || exit 1
39668 @endif target-boehm-gc
39670 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39671 maybe-html-target-boehm-gc:
39672 @if target-boehm-gc
39673 maybe-html-target-boehm-gc: html-target-boehm-gc
39675 html-target-boehm-gc: \
39676 configure-target-boehm-gc
39677 @: $(MAKE); $(unstage)
39678 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39679 r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 $(NORMAL_TARGET_EXPORTS) \
39682 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39683 for flag in $(EXTRA_TARGET_FLAGS); do \
39684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39685 done; \
39686 (cd $(TARGET_SUBDIR)/boehm-gc && \
39687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39689 "RANLIB=$${RANLIB}" \
39690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39691 html) \
39692 || exit 1
39694 @endif target-boehm-gc
39696 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39697 maybe-TAGS-target-boehm-gc:
39698 @if target-boehm-gc
39699 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39701 TAGS-target-boehm-gc: \
39702 configure-target-boehm-gc
39703 @: $(MAKE); $(unstage)
39704 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39705 r=`${PWD_COMMAND}`; export r; \
39706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39707 $(NORMAL_TARGET_EXPORTS) \
39708 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39709 for flag in $(EXTRA_TARGET_FLAGS); do \
39710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39711 done; \
39712 (cd $(TARGET_SUBDIR)/boehm-gc && \
39713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39715 "RANLIB=$${RANLIB}" \
39716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39717 TAGS) \
39718 || exit 1
39720 @endif target-boehm-gc
39722 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39723 maybe-install-info-target-boehm-gc:
39724 @if target-boehm-gc
39725 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39727 install-info-target-boehm-gc: \
39728 configure-target-boehm-gc \
39729 info-target-boehm-gc
39730 @: $(MAKE); $(unstage)
39731 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39732 r=`${PWD_COMMAND}`; export r; \
39733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39734 $(NORMAL_TARGET_EXPORTS) \
39735 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39736 for flag in $(EXTRA_TARGET_FLAGS); do \
39737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39738 done; \
39739 (cd $(TARGET_SUBDIR)/boehm-gc && \
39740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39742 "RANLIB=$${RANLIB}" \
39743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39744 install-info) \
39745 || exit 1
39747 @endif target-boehm-gc
39749 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
39750 maybe-install-pdf-target-boehm-gc:
39751 @if target-boehm-gc
39752 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
39754 install-pdf-target-boehm-gc: \
39755 configure-target-boehm-gc \
39756 pdf-target-boehm-gc
39757 @: $(MAKE); $(unstage)
39758 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39759 r=`${PWD_COMMAND}`; export r; \
39760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39761 $(NORMAL_TARGET_EXPORTS) \
39762 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39763 for flag in $(EXTRA_TARGET_FLAGS); do \
39764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39765 done; \
39766 (cd $(TARGET_SUBDIR)/boehm-gc && \
39767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39769 "RANLIB=$${RANLIB}" \
39770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39771 install-pdf) \
39772 || exit 1
39774 @endif target-boehm-gc
39776 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39777 maybe-install-html-target-boehm-gc:
39778 @if target-boehm-gc
39779 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39781 install-html-target-boehm-gc: \
39782 configure-target-boehm-gc \
39783 html-target-boehm-gc
39784 @: $(MAKE); $(unstage)
39785 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39786 r=`${PWD_COMMAND}`; export r; \
39787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39788 $(NORMAL_TARGET_EXPORTS) \
39789 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39790 for flag in $(EXTRA_TARGET_FLAGS); do \
39791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39792 done; \
39793 (cd $(TARGET_SUBDIR)/boehm-gc && \
39794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39796 "RANLIB=$${RANLIB}" \
39797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39798 install-html) \
39799 || exit 1
39801 @endif target-boehm-gc
39803 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39804 maybe-installcheck-target-boehm-gc:
39805 @if target-boehm-gc
39806 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39808 installcheck-target-boehm-gc: \
39809 configure-target-boehm-gc
39810 @: $(MAKE); $(unstage)
39811 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39812 r=`${PWD_COMMAND}`; export r; \
39813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39814 $(NORMAL_TARGET_EXPORTS) \
39815 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39816 for flag in $(EXTRA_TARGET_FLAGS); do \
39817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39818 done; \
39819 (cd $(TARGET_SUBDIR)/boehm-gc && \
39820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39822 "RANLIB=$${RANLIB}" \
39823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39824 installcheck) \
39825 || exit 1
39827 @endif target-boehm-gc
39829 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39830 maybe-mostlyclean-target-boehm-gc:
39831 @if target-boehm-gc
39832 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39834 mostlyclean-target-boehm-gc:
39835 @: $(MAKE); $(unstage)
39836 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39837 r=`${PWD_COMMAND}`; export r; \
39838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39839 $(NORMAL_TARGET_EXPORTS) \
39840 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39841 for flag in $(EXTRA_TARGET_FLAGS); do \
39842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39843 done; \
39844 (cd $(TARGET_SUBDIR)/boehm-gc && \
39845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39847 "RANLIB=$${RANLIB}" \
39848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39849 mostlyclean) \
39850 || exit 1
39852 @endif target-boehm-gc
39854 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39855 maybe-clean-target-boehm-gc:
39856 @if target-boehm-gc
39857 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39859 clean-target-boehm-gc:
39860 @: $(MAKE); $(unstage)
39861 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39862 r=`${PWD_COMMAND}`; export r; \
39863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39864 $(NORMAL_TARGET_EXPORTS) \
39865 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39866 for flag in $(EXTRA_TARGET_FLAGS); do \
39867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39868 done; \
39869 (cd $(TARGET_SUBDIR)/boehm-gc && \
39870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39872 "RANLIB=$${RANLIB}" \
39873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39874 clean) \
39875 || exit 1
39877 @endif target-boehm-gc
39879 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39880 maybe-distclean-target-boehm-gc:
39881 @if target-boehm-gc
39882 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39884 distclean-target-boehm-gc:
39885 @: $(MAKE); $(unstage)
39886 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39887 r=`${PWD_COMMAND}`; export r; \
39888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39889 $(NORMAL_TARGET_EXPORTS) \
39890 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39891 for flag in $(EXTRA_TARGET_FLAGS); do \
39892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39893 done; \
39894 (cd $(TARGET_SUBDIR)/boehm-gc && \
39895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39897 "RANLIB=$${RANLIB}" \
39898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39899 distclean) \
39900 || exit 1
39902 @endif target-boehm-gc
39904 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
39905 maybe-maintainer-clean-target-boehm-gc:
39906 @if target-boehm-gc
39907 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
39909 maintainer-clean-target-boehm-gc:
39910 @: $(MAKE); $(unstage)
39911 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39912 r=`${PWD_COMMAND}`; export r; \
39913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39914 $(NORMAL_TARGET_EXPORTS) \
39915 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39916 for flag in $(EXTRA_TARGET_FLAGS); do \
39917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39918 done; \
39919 (cd $(TARGET_SUBDIR)/boehm-gc && \
39920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39922 "RANLIB=$${RANLIB}" \
39923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39924 maintainer-clean) \
39925 || exit 1
39927 @endif target-boehm-gc
39933 .PHONY: configure-target-rda maybe-configure-target-rda
39934 maybe-configure-target-rda:
39935 @if gcc-bootstrap
39936 configure-target-rda: stage_current
39937 @endif gcc-bootstrap
39938 @if target-rda
39939 maybe-configure-target-rda: configure-target-rda
39940 configure-target-rda:
39941 @: $(MAKE); $(unstage)
39942 @r=`${PWD_COMMAND}`; export r; \
39943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39944 echo "Checking multilib configuration for rda..."; \
39945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39946 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
39947 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
39948 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
39949 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
39950 else \
39951 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
39952 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39953 fi; \
39954 else \
39955 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39956 fi; \
39957 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
39958 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39959 $(NORMAL_TARGET_EXPORTS) \
39960 echo Configuring in $(TARGET_SUBDIR)/rda; \
39961 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
39962 case $(srcdir) in \
39963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39964 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
39965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39966 esac; \
39967 srcdiroption="--srcdir=$${topdir}/rda"; \
39968 libsrcdir="$$s/rda"; \
39969 rm -f no-such-file || : ; \
39970 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39971 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39972 --target=${target_alias} $${srcdiroption} \
39973 || exit 1
39974 @endif target-rda
39980 .PHONY: all-target-rda maybe-all-target-rda
39981 maybe-all-target-rda:
39982 @if gcc-bootstrap
39983 all-target-rda: stage_current
39984 @endif gcc-bootstrap
39985 @if target-rda
39986 TARGET-target-rda=all
39987 maybe-all-target-rda: all-target-rda
39988 all-target-rda: configure-target-rda
39989 @: $(MAKE); $(unstage)
39990 @r=`${PWD_COMMAND}`; export r; \
39991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39992 $(NORMAL_TARGET_EXPORTS) \
39993 (cd $(TARGET_SUBDIR)/rda && \
39994 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39995 $(TARGET-target-rda))
39996 @endif target-rda
40002 .PHONY: check-target-rda maybe-check-target-rda
40003 maybe-check-target-rda:
40004 @if target-rda
40005 maybe-check-target-rda: check-target-rda
40007 check-target-rda:
40008 @: $(MAKE); $(unstage)
40009 @r=`${PWD_COMMAND}`; export r; \
40010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40011 $(NORMAL_TARGET_EXPORTS) \
40012 (cd $(TARGET_SUBDIR)/rda && \
40013 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40015 @endif target-rda
40017 .PHONY: install-target-rda maybe-install-target-rda
40018 maybe-install-target-rda:
40019 @if target-rda
40020 maybe-install-target-rda: install-target-rda
40022 install-target-rda: installdirs
40023 @: $(MAKE); $(unstage)
40024 @r=`${PWD_COMMAND}`; export r; \
40025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40026 $(NORMAL_TARGET_EXPORTS) \
40027 (cd $(TARGET_SUBDIR)/rda && \
40028 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40030 @endif target-rda
40032 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
40033 maybe-install-strip-target-rda:
40034 @if target-rda
40035 maybe-install-strip-target-rda: install-strip-target-rda
40037 install-strip-target-rda: installdirs
40038 @: $(MAKE); $(unstage)
40039 @r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(NORMAL_TARGET_EXPORTS) \
40042 (cd $(TARGET_SUBDIR)/rda && \
40043 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40045 @endif target-rda
40047 # Other targets (info, dvi, pdf, etc.)
40049 .PHONY: maybe-info-target-rda info-target-rda
40050 maybe-info-target-rda:
40051 @if target-rda
40052 maybe-info-target-rda: info-target-rda
40054 info-target-rda: \
40055 configure-target-rda
40056 @: $(MAKE); $(unstage)
40057 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40058 r=`${PWD_COMMAND}`; export r; \
40059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40060 $(NORMAL_TARGET_EXPORTS) \
40061 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40062 for flag in $(EXTRA_TARGET_FLAGS); do \
40063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40064 done; \
40065 (cd $(TARGET_SUBDIR)/rda && \
40066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40068 "RANLIB=$${RANLIB}" \
40069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40070 info) \
40071 || exit 1
40073 @endif target-rda
40075 .PHONY: maybe-dvi-target-rda dvi-target-rda
40076 maybe-dvi-target-rda:
40077 @if target-rda
40078 maybe-dvi-target-rda: dvi-target-rda
40080 dvi-target-rda: \
40081 configure-target-rda
40082 @: $(MAKE); $(unstage)
40083 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40084 r=`${PWD_COMMAND}`; export r; \
40085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40086 $(NORMAL_TARGET_EXPORTS) \
40087 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40088 for flag in $(EXTRA_TARGET_FLAGS); do \
40089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40090 done; \
40091 (cd $(TARGET_SUBDIR)/rda && \
40092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40094 "RANLIB=$${RANLIB}" \
40095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40096 dvi) \
40097 || exit 1
40099 @endif target-rda
40101 .PHONY: maybe-pdf-target-rda pdf-target-rda
40102 maybe-pdf-target-rda:
40103 @if target-rda
40104 maybe-pdf-target-rda: pdf-target-rda
40106 pdf-target-rda: \
40107 configure-target-rda
40108 @: $(MAKE); $(unstage)
40109 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40110 r=`${PWD_COMMAND}`; export r; \
40111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40112 $(NORMAL_TARGET_EXPORTS) \
40113 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40114 for flag in $(EXTRA_TARGET_FLAGS); do \
40115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40116 done; \
40117 (cd $(TARGET_SUBDIR)/rda && \
40118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40120 "RANLIB=$${RANLIB}" \
40121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40122 pdf) \
40123 || exit 1
40125 @endif target-rda
40127 .PHONY: maybe-html-target-rda html-target-rda
40128 maybe-html-target-rda:
40129 @if target-rda
40130 maybe-html-target-rda: html-target-rda
40132 html-target-rda: \
40133 configure-target-rda
40134 @: $(MAKE); $(unstage)
40135 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40136 r=`${PWD_COMMAND}`; export r; \
40137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40138 $(NORMAL_TARGET_EXPORTS) \
40139 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40140 for flag in $(EXTRA_TARGET_FLAGS); do \
40141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40142 done; \
40143 (cd $(TARGET_SUBDIR)/rda && \
40144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40146 "RANLIB=$${RANLIB}" \
40147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40148 html) \
40149 || exit 1
40151 @endif target-rda
40153 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40154 maybe-TAGS-target-rda:
40155 @if target-rda
40156 maybe-TAGS-target-rda: TAGS-target-rda
40158 TAGS-target-rda: \
40159 configure-target-rda
40160 @: $(MAKE); $(unstage)
40161 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40162 r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 $(NORMAL_TARGET_EXPORTS) \
40165 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40166 for flag in $(EXTRA_TARGET_FLAGS); do \
40167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40168 done; \
40169 (cd $(TARGET_SUBDIR)/rda && \
40170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40172 "RANLIB=$${RANLIB}" \
40173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40174 TAGS) \
40175 || exit 1
40177 @endif target-rda
40179 .PHONY: maybe-install-info-target-rda install-info-target-rda
40180 maybe-install-info-target-rda:
40181 @if target-rda
40182 maybe-install-info-target-rda: install-info-target-rda
40184 install-info-target-rda: \
40185 configure-target-rda \
40186 info-target-rda
40187 @: $(MAKE); $(unstage)
40188 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40189 r=`${PWD_COMMAND}`; export r; \
40190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40191 $(NORMAL_TARGET_EXPORTS) \
40192 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40193 for flag in $(EXTRA_TARGET_FLAGS); do \
40194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40195 done; \
40196 (cd $(TARGET_SUBDIR)/rda && \
40197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40199 "RANLIB=$${RANLIB}" \
40200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40201 install-info) \
40202 || exit 1
40204 @endif target-rda
40206 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
40207 maybe-install-pdf-target-rda:
40208 @if target-rda
40209 maybe-install-pdf-target-rda: install-pdf-target-rda
40211 install-pdf-target-rda: \
40212 configure-target-rda \
40213 pdf-target-rda
40214 @: $(MAKE); $(unstage)
40215 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40216 r=`${PWD_COMMAND}`; export r; \
40217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40218 $(NORMAL_TARGET_EXPORTS) \
40219 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
40220 for flag in $(EXTRA_TARGET_FLAGS); do \
40221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40222 done; \
40223 (cd $(TARGET_SUBDIR)/rda && \
40224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40226 "RANLIB=$${RANLIB}" \
40227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40228 install-pdf) \
40229 || exit 1
40231 @endif target-rda
40233 .PHONY: maybe-install-html-target-rda install-html-target-rda
40234 maybe-install-html-target-rda:
40235 @if target-rda
40236 maybe-install-html-target-rda: install-html-target-rda
40238 install-html-target-rda: \
40239 configure-target-rda \
40240 html-target-rda
40241 @: $(MAKE); $(unstage)
40242 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40243 r=`${PWD_COMMAND}`; export r; \
40244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40245 $(NORMAL_TARGET_EXPORTS) \
40246 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40247 for flag in $(EXTRA_TARGET_FLAGS); do \
40248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40249 done; \
40250 (cd $(TARGET_SUBDIR)/rda && \
40251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40253 "RANLIB=$${RANLIB}" \
40254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40255 install-html) \
40256 || exit 1
40258 @endif target-rda
40260 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40261 maybe-installcheck-target-rda:
40262 @if target-rda
40263 maybe-installcheck-target-rda: installcheck-target-rda
40265 installcheck-target-rda: \
40266 configure-target-rda
40267 @: $(MAKE); $(unstage)
40268 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40269 r=`${PWD_COMMAND}`; export r; \
40270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40271 $(NORMAL_TARGET_EXPORTS) \
40272 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40273 for flag in $(EXTRA_TARGET_FLAGS); do \
40274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40275 done; \
40276 (cd $(TARGET_SUBDIR)/rda && \
40277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40279 "RANLIB=$${RANLIB}" \
40280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40281 installcheck) \
40282 || exit 1
40284 @endif target-rda
40286 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40287 maybe-mostlyclean-target-rda:
40288 @if target-rda
40289 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40291 mostlyclean-target-rda:
40292 @: $(MAKE); $(unstage)
40293 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40294 r=`${PWD_COMMAND}`; export r; \
40295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40296 $(NORMAL_TARGET_EXPORTS) \
40297 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40298 for flag in $(EXTRA_TARGET_FLAGS); do \
40299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40300 done; \
40301 (cd $(TARGET_SUBDIR)/rda && \
40302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40304 "RANLIB=$${RANLIB}" \
40305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40306 mostlyclean) \
40307 || exit 1
40309 @endif target-rda
40311 .PHONY: maybe-clean-target-rda clean-target-rda
40312 maybe-clean-target-rda:
40313 @if target-rda
40314 maybe-clean-target-rda: clean-target-rda
40316 clean-target-rda:
40317 @: $(MAKE); $(unstage)
40318 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40319 r=`${PWD_COMMAND}`; export r; \
40320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40321 $(NORMAL_TARGET_EXPORTS) \
40322 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40323 for flag in $(EXTRA_TARGET_FLAGS); do \
40324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40325 done; \
40326 (cd $(TARGET_SUBDIR)/rda && \
40327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40329 "RANLIB=$${RANLIB}" \
40330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40331 clean) \
40332 || exit 1
40334 @endif target-rda
40336 .PHONY: maybe-distclean-target-rda distclean-target-rda
40337 maybe-distclean-target-rda:
40338 @if target-rda
40339 maybe-distclean-target-rda: distclean-target-rda
40341 distclean-target-rda:
40342 @: $(MAKE); $(unstage)
40343 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40344 r=`${PWD_COMMAND}`; export r; \
40345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40346 $(NORMAL_TARGET_EXPORTS) \
40347 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40348 for flag in $(EXTRA_TARGET_FLAGS); do \
40349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40350 done; \
40351 (cd $(TARGET_SUBDIR)/rda && \
40352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40354 "RANLIB=$${RANLIB}" \
40355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40356 distclean) \
40357 || exit 1
40359 @endif target-rda
40361 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40362 maybe-maintainer-clean-target-rda:
40363 @if target-rda
40364 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40366 maintainer-clean-target-rda:
40367 @: $(MAKE); $(unstage)
40368 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40369 r=`${PWD_COMMAND}`; export r; \
40370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40371 $(NORMAL_TARGET_EXPORTS) \
40372 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40373 for flag in $(EXTRA_TARGET_FLAGS); do \
40374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40375 done; \
40376 (cd $(TARGET_SUBDIR)/rda && \
40377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40379 "RANLIB=$${RANLIB}" \
40380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40381 maintainer-clean) \
40382 || exit 1
40384 @endif target-rda
40390 .PHONY: configure-target-libada maybe-configure-target-libada
40391 maybe-configure-target-libada:
40392 @if gcc-bootstrap
40393 configure-target-libada: stage_current
40394 @endif gcc-bootstrap
40395 @if target-libada
40396 maybe-configure-target-libada: configure-target-libada
40397 configure-target-libada:
40398 @: $(MAKE); $(unstage)
40399 @r=`${PWD_COMMAND}`; export r; \
40400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40401 echo "Checking multilib configuration for libada..."; \
40402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40403 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40404 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40405 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40406 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40407 else \
40408 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40409 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40410 fi; \
40411 else \
40412 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40413 fi; \
40414 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40415 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40416 $(NORMAL_TARGET_EXPORTS) \
40417 echo Configuring in $(TARGET_SUBDIR)/libada; \
40418 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40419 case $(srcdir) in \
40420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40421 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40423 esac; \
40424 srcdiroption="--srcdir=$${topdir}/libada"; \
40425 libsrcdir="$$s/libada"; \
40426 rm -f no-such-file || : ; \
40427 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40428 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40429 --target=${target_alias} $${srcdiroption} \
40430 || exit 1
40431 @endif target-libada
40437 .PHONY: all-target-libada maybe-all-target-libada
40438 maybe-all-target-libada:
40439 @if gcc-bootstrap
40440 all-target-libada: stage_current
40441 @endif gcc-bootstrap
40442 @if target-libada
40443 TARGET-target-libada=all
40444 maybe-all-target-libada: all-target-libada
40445 all-target-libada: configure-target-libada
40446 @: $(MAKE); $(unstage)
40447 @r=`${PWD_COMMAND}`; export r; \
40448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40449 $(NORMAL_TARGET_EXPORTS) \
40450 (cd $(TARGET_SUBDIR)/libada && \
40451 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40452 $(TARGET-target-libada))
40453 @endif target-libada
40459 .PHONY: check-target-libada maybe-check-target-libada
40460 maybe-check-target-libada:
40461 @if target-libada
40462 maybe-check-target-libada: check-target-libada
40464 check-target-libada:
40465 @: $(MAKE); $(unstage)
40466 @r=`${PWD_COMMAND}`; export r; \
40467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40468 $(NORMAL_TARGET_EXPORTS) \
40469 (cd $(TARGET_SUBDIR)/libada && \
40470 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40472 @endif target-libada
40474 .PHONY: install-target-libada maybe-install-target-libada
40475 maybe-install-target-libada:
40476 @if target-libada
40477 maybe-install-target-libada: install-target-libada
40479 install-target-libada: installdirs
40480 @: $(MAKE); $(unstage)
40481 @r=`${PWD_COMMAND}`; export r; \
40482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40483 $(NORMAL_TARGET_EXPORTS) \
40484 (cd $(TARGET_SUBDIR)/libada && \
40485 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40487 @endif target-libada
40489 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
40490 maybe-install-strip-target-libada:
40491 @if target-libada
40492 maybe-install-strip-target-libada: install-strip-target-libada
40494 install-strip-target-libada: installdirs
40495 @: $(MAKE); $(unstage)
40496 @r=`${PWD_COMMAND}`; export r; \
40497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40498 $(NORMAL_TARGET_EXPORTS) \
40499 (cd $(TARGET_SUBDIR)/libada && \
40500 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40502 @endif target-libada
40504 # Other targets (info, dvi, pdf, etc.)
40506 .PHONY: maybe-info-target-libada info-target-libada
40507 maybe-info-target-libada:
40508 @if target-libada
40509 maybe-info-target-libada: info-target-libada
40511 info-target-libada: \
40512 configure-target-libada
40513 @: $(MAKE); $(unstage)
40514 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40515 r=`${PWD_COMMAND}`; export r; \
40516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40517 $(NORMAL_TARGET_EXPORTS) \
40518 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40519 for flag in $(EXTRA_TARGET_FLAGS); do \
40520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40521 done; \
40522 (cd $(TARGET_SUBDIR)/libada && \
40523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40525 "RANLIB=$${RANLIB}" \
40526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40527 info) \
40528 || exit 1
40530 @endif target-libada
40532 .PHONY: maybe-dvi-target-libada dvi-target-libada
40533 maybe-dvi-target-libada:
40534 @if target-libada
40535 maybe-dvi-target-libada: dvi-target-libada
40537 dvi-target-libada: \
40538 configure-target-libada
40539 @: $(MAKE); $(unstage)
40540 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40541 r=`${PWD_COMMAND}`; export r; \
40542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40543 $(NORMAL_TARGET_EXPORTS) \
40544 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
40545 for flag in $(EXTRA_TARGET_FLAGS); do \
40546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40547 done; \
40548 (cd $(TARGET_SUBDIR)/libada && \
40549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40551 "RANLIB=$${RANLIB}" \
40552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40553 dvi) \
40554 || exit 1
40556 @endif target-libada
40558 .PHONY: maybe-pdf-target-libada pdf-target-libada
40559 maybe-pdf-target-libada:
40560 @if target-libada
40561 maybe-pdf-target-libada: pdf-target-libada
40563 pdf-target-libada: \
40564 configure-target-libada
40565 @: $(MAKE); $(unstage)
40566 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40567 r=`${PWD_COMMAND}`; export r; \
40568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40569 $(NORMAL_TARGET_EXPORTS) \
40570 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
40571 for flag in $(EXTRA_TARGET_FLAGS); do \
40572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40573 done; \
40574 (cd $(TARGET_SUBDIR)/libada && \
40575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40577 "RANLIB=$${RANLIB}" \
40578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40579 pdf) \
40580 || exit 1
40582 @endif target-libada
40584 .PHONY: maybe-html-target-libada html-target-libada
40585 maybe-html-target-libada:
40586 @if target-libada
40587 maybe-html-target-libada: html-target-libada
40589 html-target-libada: \
40590 configure-target-libada
40591 @: $(MAKE); $(unstage)
40592 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40593 r=`${PWD_COMMAND}`; export r; \
40594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40595 $(NORMAL_TARGET_EXPORTS) \
40596 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
40597 for flag in $(EXTRA_TARGET_FLAGS); do \
40598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40599 done; \
40600 (cd $(TARGET_SUBDIR)/libada && \
40601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40603 "RANLIB=$${RANLIB}" \
40604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40605 html) \
40606 || exit 1
40608 @endif target-libada
40610 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
40611 maybe-TAGS-target-libada:
40612 @if target-libada
40613 maybe-TAGS-target-libada: TAGS-target-libada
40615 TAGS-target-libada: \
40616 configure-target-libada
40617 @: $(MAKE); $(unstage)
40618 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40619 r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
40623 for flag in $(EXTRA_TARGET_FLAGS); do \
40624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40625 done; \
40626 (cd $(TARGET_SUBDIR)/libada && \
40627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40629 "RANLIB=$${RANLIB}" \
40630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40631 TAGS) \
40632 || exit 1
40634 @endif target-libada
40636 .PHONY: maybe-install-info-target-libada install-info-target-libada
40637 maybe-install-info-target-libada:
40638 @if target-libada
40639 maybe-install-info-target-libada: install-info-target-libada
40641 install-info-target-libada: \
40642 configure-target-libada \
40643 info-target-libada
40644 @: $(MAKE); $(unstage)
40645 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40646 r=`${PWD_COMMAND}`; export r; \
40647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40648 $(NORMAL_TARGET_EXPORTS) \
40649 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
40650 for flag in $(EXTRA_TARGET_FLAGS); do \
40651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40652 done; \
40653 (cd $(TARGET_SUBDIR)/libada && \
40654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40656 "RANLIB=$${RANLIB}" \
40657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40658 install-info) \
40659 || exit 1
40661 @endif target-libada
40663 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
40664 maybe-install-pdf-target-libada:
40665 @if target-libada
40666 maybe-install-pdf-target-libada: install-pdf-target-libada
40668 install-pdf-target-libada: \
40669 configure-target-libada \
40670 pdf-target-libada
40671 @: $(MAKE); $(unstage)
40672 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40673 r=`${PWD_COMMAND}`; export r; \
40674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40675 $(NORMAL_TARGET_EXPORTS) \
40676 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
40677 for flag in $(EXTRA_TARGET_FLAGS); do \
40678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40679 done; \
40680 (cd $(TARGET_SUBDIR)/libada && \
40681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40683 "RANLIB=$${RANLIB}" \
40684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40685 install-pdf) \
40686 || exit 1
40688 @endif target-libada
40690 .PHONY: maybe-install-html-target-libada install-html-target-libada
40691 maybe-install-html-target-libada:
40692 @if target-libada
40693 maybe-install-html-target-libada: install-html-target-libada
40695 install-html-target-libada: \
40696 configure-target-libada \
40697 html-target-libada
40698 @: $(MAKE); $(unstage)
40699 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40700 r=`${PWD_COMMAND}`; export r; \
40701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40702 $(NORMAL_TARGET_EXPORTS) \
40703 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
40704 for flag in $(EXTRA_TARGET_FLAGS); do \
40705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40706 done; \
40707 (cd $(TARGET_SUBDIR)/libada && \
40708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40710 "RANLIB=$${RANLIB}" \
40711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40712 install-html) \
40713 || exit 1
40715 @endif target-libada
40717 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
40718 maybe-installcheck-target-libada:
40719 @if target-libada
40720 maybe-installcheck-target-libada: installcheck-target-libada
40722 installcheck-target-libada: \
40723 configure-target-libada
40724 @: $(MAKE); $(unstage)
40725 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40726 r=`${PWD_COMMAND}`; export r; \
40727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40728 $(NORMAL_TARGET_EXPORTS) \
40729 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
40730 for flag in $(EXTRA_TARGET_FLAGS); do \
40731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40732 done; \
40733 (cd $(TARGET_SUBDIR)/libada && \
40734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40736 "RANLIB=$${RANLIB}" \
40737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40738 installcheck) \
40739 || exit 1
40741 @endif target-libada
40743 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
40744 maybe-mostlyclean-target-libada:
40745 @if target-libada
40746 maybe-mostlyclean-target-libada: mostlyclean-target-libada
40748 mostlyclean-target-libada:
40749 @: $(MAKE); $(unstage)
40750 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(NORMAL_TARGET_EXPORTS) \
40754 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
40755 for flag in $(EXTRA_TARGET_FLAGS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 (cd $(TARGET_SUBDIR)/libada && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40763 mostlyclean) \
40764 || exit 1
40766 @endif target-libada
40768 .PHONY: maybe-clean-target-libada clean-target-libada
40769 maybe-clean-target-libada:
40770 @if target-libada
40771 maybe-clean-target-libada: clean-target-libada
40773 clean-target-libada:
40774 @: $(MAKE); $(unstage)
40775 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40776 r=`${PWD_COMMAND}`; export r; \
40777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40778 $(NORMAL_TARGET_EXPORTS) \
40779 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
40780 for flag in $(EXTRA_TARGET_FLAGS); do \
40781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40782 done; \
40783 (cd $(TARGET_SUBDIR)/libada && \
40784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40786 "RANLIB=$${RANLIB}" \
40787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40788 clean) \
40789 || exit 1
40791 @endif target-libada
40793 .PHONY: maybe-distclean-target-libada distclean-target-libada
40794 maybe-distclean-target-libada:
40795 @if target-libada
40796 maybe-distclean-target-libada: distclean-target-libada
40798 distclean-target-libada:
40799 @: $(MAKE); $(unstage)
40800 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40801 r=`${PWD_COMMAND}`; export r; \
40802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40803 $(NORMAL_TARGET_EXPORTS) \
40804 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
40805 for flag in $(EXTRA_TARGET_FLAGS); do \
40806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40807 done; \
40808 (cd $(TARGET_SUBDIR)/libada && \
40809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40811 "RANLIB=$${RANLIB}" \
40812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40813 distclean) \
40814 || exit 1
40816 @endif target-libada
40818 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
40819 maybe-maintainer-clean-target-libada:
40820 @if target-libada
40821 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
40823 maintainer-clean-target-libada:
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(NORMAL_TARGET_EXPORTS) \
40829 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/libada && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 maintainer-clean) \
40839 || exit 1
40841 @endif target-libada
40847 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
40848 maybe-configure-target-libgomp:
40849 @if gcc-bootstrap
40850 configure-target-libgomp: stage_current
40851 @endif gcc-bootstrap
40852 @if target-libgomp
40853 maybe-configure-target-libgomp: configure-target-libgomp
40854 configure-target-libgomp:
40855 @r=`${PWD_COMMAND}`; export r; \
40856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40857 echo "Checking multilib configuration for libgomp..."; \
40858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40860 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40861 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40862 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40863 else \
40864 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40865 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40866 fi; \
40867 else \
40868 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40869 fi; \
40870 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40871 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40872 $(NORMAL_TARGET_EXPORTS) \
40873 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
40874 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
40875 case $(srcdir) in \
40876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40877 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40879 esac; \
40880 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40881 libsrcdir="$$s/libgomp"; \
40882 rm -f no-such-file || : ; \
40883 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40884 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40885 --target=${target_alias} $${srcdiroption} \
40886 || exit 1
40887 @endif target-libgomp
40891 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
40892 maybe-configure-stage1-target-libgomp:
40893 @if target-libgomp-bootstrap
40894 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
40895 configure-stage1-target-libgomp:
40896 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40897 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40898 @r=`${PWD_COMMAND}`; export r; \
40899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40900 TFLAGS="$(STAGE1_TFLAGS)"; \
40901 echo "Checking multilib configuration for libgomp..."; \
40902 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40903 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40904 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40905 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40906 else \
40907 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40908 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40909 fi; \
40910 else \
40911 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40912 fi; \
40913 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40914 $(NORMAL_TARGET_EXPORTS) \
40915 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40916 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40917 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40918 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
40919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40920 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40921 case $(srcdir) in \
40922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40923 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40925 esac; \
40926 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40927 libsrcdir="$$s/libgomp"; \
40928 $(SHELL) $${libsrcdir}/configure \
40929 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40930 --target=${target_alias} $${srcdiroption} \
40931 $(STAGE1_CONFIGURE_FLAGS)
40932 @endif target-libgomp-bootstrap
40934 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
40935 maybe-configure-stage2-target-libgomp:
40936 @if target-libgomp-bootstrap
40937 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
40938 configure-stage2-target-libgomp:
40939 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40940 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40941 @r=`${PWD_COMMAND}`; export r; \
40942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40943 TFLAGS="$(STAGE2_TFLAGS)"; \
40944 echo "Checking multilib configuration for libgomp..."; \
40945 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40946 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40947 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40948 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40949 else \
40950 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40951 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40952 fi; \
40953 else \
40954 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40955 fi; \
40956 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40957 $(NORMAL_TARGET_EXPORTS) \
40959 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40960 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40961 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40962 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
40963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40964 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40965 case $(srcdir) in \
40966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40967 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40969 esac; \
40970 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40971 libsrcdir="$$s/libgomp"; \
40972 $(SHELL) $${libsrcdir}/configure \
40973 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40974 --target=${target_alias} $${srcdiroption} \
40975 --with-build-libsubdir=$(HOST_SUBDIR) \
40976 $(STAGE2_CONFIGURE_FLAGS)
40977 @endif target-libgomp-bootstrap
40979 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
40980 maybe-configure-stage3-target-libgomp:
40981 @if target-libgomp-bootstrap
40982 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
40983 configure-stage3-target-libgomp:
40984 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40985 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40986 @r=`${PWD_COMMAND}`; export r; \
40987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40988 TFLAGS="$(STAGE3_TFLAGS)"; \
40989 echo "Checking multilib configuration for libgomp..."; \
40990 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40991 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40992 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40993 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40994 else \
40995 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40996 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40997 fi; \
40998 else \
40999 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41000 fi; \
41001 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41002 $(NORMAL_TARGET_EXPORTS) \
41004 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41005 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41006 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41007 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
41008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41009 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41010 case $(srcdir) in \
41011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41012 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41014 esac; \
41015 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41016 libsrcdir="$$s/libgomp"; \
41017 $(SHELL) $${libsrcdir}/configure \
41018 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41019 --target=${target_alias} $${srcdiroption} \
41020 --with-build-libsubdir=$(HOST_SUBDIR) \
41021 $(STAGE3_CONFIGURE_FLAGS)
41022 @endif target-libgomp-bootstrap
41024 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
41025 maybe-configure-stage4-target-libgomp:
41026 @if target-libgomp-bootstrap
41027 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
41028 configure-stage4-target-libgomp:
41029 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41030 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41031 @r=`${PWD_COMMAND}`; export r; \
41032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41033 TFLAGS="$(STAGE4_TFLAGS)"; \
41034 echo "Checking multilib configuration for libgomp..."; \
41035 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41036 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41037 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41038 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41039 else \
41040 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41041 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41042 fi; \
41043 else \
41044 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41045 fi; \
41046 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41047 $(NORMAL_TARGET_EXPORTS) \
41049 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41050 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41051 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41052 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
41053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41054 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41055 case $(srcdir) in \
41056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41057 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41059 esac; \
41060 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41061 libsrcdir="$$s/libgomp"; \
41062 $(SHELL) $${libsrcdir}/configure \
41063 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41064 --target=${target_alias} $${srcdiroption} \
41065 --with-build-libsubdir=$(HOST_SUBDIR) \
41066 $(STAGE4_CONFIGURE_FLAGS)
41067 @endif target-libgomp-bootstrap
41069 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
41070 maybe-configure-stageprofile-target-libgomp:
41071 @if target-libgomp-bootstrap
41072 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41073 configure-stageprofile-target-libgomp:
41074 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41075 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41076 @r=`${PWD_COMMAND}`; export r; \
41077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41079 echo "Checking multilib configuration for libgomp..."; \
41080 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41081 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41082 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41083 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41084 else \
41085 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41086 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41087 fi; \
41088 else \
41089 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41090 fi; \
41091 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41092 $(NORMAL_TARGET_EXPORTS) \
41094 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41095 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41096 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41097 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
41098 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41099 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41100 case $(srcdir) in \
41101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41102 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41104 esac; \
41105 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41106 libsrcdir="$$s/libgomp"; \
41107 $(SHELL) $${libsrcdir}/configure \
41108 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41109 --target=${target_alias} $${srcdiroption} \
41110 --with-build-libsubdir=$(HOST_SUBDIR) \
41111 $(STAGEprofile_CONFIGURE_FLAGS)
41112 @endif target-libgomp-bootstrap
41114 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
41115 maybe-configure-stagefeedback-target-libgomp:
41116 @if target-libgomp-bootstrap
41117 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41118 configure-stagefeedback-target-libgomp:
41119 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41120 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41121 @r=`${PWD_COMMAND}`; export r; \
41122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41124 echo "Checking multilib configuration for libgomp..."; \
41125 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41126 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41127 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41128 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41129 else \
41130 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41131 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41132 fi; \
41133 else \
41134 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41135 fi; \
41136 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41137 $(NORMAL_TARGET_EXPORTS) \
41139 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41140 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41141 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41142 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
41143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41144 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41145 case $(srcdir) in \
41146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41147 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41149 esac; \
41150 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41151 libsrcdir="$$s/libgomp"; \
41152 $(SHELL) $${libsrcdir}/configure \
41153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41154 --target=${target_alias} $${srcdiroption} \
41155 --with-build-libsubdir=$(HOST_SUBDIR) \
41156 $(STAGEfeedback_CONFIGURE_FLAGS)
41157 @endif target-libgomp-bootstrap
41163 .PHONY: all-target-libgomp maybe-all-target-libgomp
41164 maybe-all-target-libgomp:
41165 @if gcc-bootstrap
41166 all-target-libgomp: stage_current
41167 @endif gcc-bootstrap
41168 @if target-libgomp
41169 TARGET-target-libgomp=all
41170 maybe-all-target-libgomp: all-target-libgomp
41171 all-target-libgomp: configure-target-libgomp
41172 @r=`${PWD_COMMAND}`; export r; \
41173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41174 $(NORMAL_TARGET_EXPORTS) \
41175 (cd $(TARGET_SUBDIR)/libgomp && \
41176 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41177 $(TARGET-target-libgomp))
41178 @endif target-libgomp
41182 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
41183 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
41184 maybe-all-stage1-target-libgomp:
41185 maybe-clean-stage1-target-libgomp:
41186 @if target-libgomp-bootstrap
41187 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
41188 all-stage1: all-stage1-target-libgomp
41189 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
41190 all-stage1-target-libgomp: configure-stage1-target-libgomp
41191 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41192 @r=`${PWD_COMMAND}`; export r; \
41193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41194 TFLAGS="$(STAGE1_TFLAGS)"; \
41195 $(NORMAL_TARGET_EXPORTS) \
41196 cd $(TARGET_SUBDIR)/libgomp && \
41197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41198 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41200 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41204 $(EXTRA_TARGET_FLAGS) \
41206 TFLAGS="$(STAGE1_TFLAGS)" \
41207 $(TARGET-stage1-target-libgomp)
41209 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
41210 clean-stage1: clean-stage1-target-libgomp
41211 clean-stage1-target-libgomp:
41212 @if [ $(current_stage) = stage1 ]; then \
41213 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41214 else \
41215 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
41216 $(MAKE) stage1-start; \
41217 fi; \
41218 cd $(TARGET_SUBDIR)/libgomp && \
41219 $(MAKE) $(EXTRA_TARGET_FLAGS) \
41220 clean
41221 @endif target-libgomp-bootstrap
41224 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
41225 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
41226 maybe-all-stage2-target-libgomp:
41227 maybe-clean-stage2-target-libgomp:
41228 @if target-libgomp-bootstrap
41229 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
41230 all-stage2: all-stage2-target-libgomp
41231 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
41232 all-stage2-target-libgomp: configure-stage2-target-libgomp
41233 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41234 @r=`${PWD_COMMAND}`; export r; \
41235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41236 TFLAGS="$(STAGE2_TFLAGS)"; \
41237 $(NORMAL_TARGET_EXPORTS) \
41239 cd $(TARGET_SUBDIR)/libgomp && \
41240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41241 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41242 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41243 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41247 $(EXTRA_TARGET_FLAGS) \
41248 TFLAGS="$(STAGE2_TFLAGS)" \
41249 $(TARGET-stage2-target-libgomp)
41251 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
41252 clean-stage2: clean-stage2-target-libgomp
41253 clean-stage2-target-libgomp:
41254 @if [ $(current_stage) = stage2 ]; then \
41255 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41256 else \
41257 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
41258 $(MAKE) stage2-start; \
41259 fi; \
41260 cd $(TARGET_SUBDIR)/libgomp && \
41261 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41262 @endif target-libgomp-bootstrap
41265 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
41266 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
41267 maybe-all-stage3-target-libgomp:
41268 maybe-clean-stage3-target-libgomp:
41269 @if target-libgomp-bootstrap
41270 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
41271 all-stage3: all-stage3-target-libgomp
41272 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
41273 all-stage3-target-libgomp: configure-stage3-target-libgomp
41274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41275 @r=`${PWD_COMMAND}`; export r; \
41276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41277 TFLAGS="$(STAGE3_TFLAGS)"; \
41278 $(NORMAL_TARGET_EXPORTS) \
41280 cd $(TARGET_SUBDIR)/libgomp && \
41281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41282 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41283 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41284 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41288 $(EXTRA_TARGET_FLAGS) \
41289 TFLAGS="$(STAGE3_TFLAGS)" \
41290 $(TARGET-stage3-target-libgomp)
41292 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
41293 clean-stage3: clean-stage3-target-libgomp
41294 clean-stage3-target-libgomp:
41295 @if [ $(current_stage) = stage3 ]; then \
41296 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41297 else \
41298 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
41299 $(MAKE) stage3-start; \
41300 fi; \
41301 cd $(TARGET_SUBDIR)/libgomp && \
41302 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41303 @endif target-libgomp-bootstrap
41306 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
41307 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
41308 maybe-all-stage4-target-libgomp:
41309 maybe-clean-stage4-target-libgomp:
41310 @if target-libgomp-bootstrap
41311 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
41312 all-stage4: all-stage4-target-libgomp
41313 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
41314 all-stage4-target-libgomp: configure-stage4-target-libgomp
41315 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41316 @r=`${PWD_COMMAND}`; export r; \
41317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41318 TFLAGS="$(STAGE4_TFLAGS)"; \
41319 $(NORMAL_TARGET_EXPORTS) \
41321 cd $(TARGET_SUBDIR)/libgomp && \
41322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41323 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41329 $(EXTRA_TARGET_FLAGS) \
41330 TFLAGS="$(STAGE4_TFLAGS)" \
41331 $(TARGET-stage4-target-libgomp)
41333 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
41334 clean-stage4: clean-stage4-target-libgomp
41335 clean-stage4-target-libgomp:
41336 @if [ $(current_stage) = stage4 ]; then \
41337 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41338 else \
41339 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
41340 $(MAKE) stage4-start; \
41341 fi; \
41342 cd $(TARGET_SUBDIR)/libgomp && \
41343 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41344 @endif target-libgomp-bootstrap
41347 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
41348 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
41349 maybe-all-stageprofile-target-libgomp:
41350 maybe-clean-stageprofile-target-libgomp:
41351 @if target-libgomp-bootstrap
41352 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
41353 all-stageprofile: all-stageprofile-target-libgomp
41354 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
41355 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41356 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41357 @r=`${PWD_COMMAND}`; export r; \
41358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41359 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41360 $(NORMAL_TARGET_EXPORTS) \
41362 cd $(TARGET_SUBDIR)/libgomp && \
41363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41364 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41365 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41366 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41370 $(EXTRA_TARGET_FLAGS) \
41371 TFLAGS="$(STAGEprofile_TFLAGS)" \
41372 $(TARGET-stageprofile-target-libgomp)
41374 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
41375 clean-stageprofile: clean-stageprofile-target-libgomp
41376 clean-stageprofile-target-libgomp:
41377 @if [ $(current_stage) = stageprofile ]; then \
41378 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41379 else \
41380 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
41381 $(MAKE) stageprofile-start; \
41382 fi; \
41383 cd $(TARGET_SUBDIR)/libgomp && \
41384 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41385 @endif target-libgomp-bootstrap
41388 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
41389 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
41390 maybe-all-stagefeedback-target-libgomp:
41391 maybe-clean-stagefeedback-target-libgomp:
41392 @if target-libgomp-bootstrap
41393 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
41394 all-stagefeedback: all-stagefeedback-target-libgomp
41395 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
41396 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41397 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41398 @r=`${PWD_COMMAND}`; export r; \
41399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41400 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41401 $(NORMAL_TARGET_EXPORTS) \
41403 cd $(TARGET_SUBDIR)/libgomp && \
41404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41405 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41406 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41407 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41411 $(EXTRA_TARGET_FLAGS) \
41412 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41413 $(TARGET-stagefeedback-target-libgomp)
41415 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
41416 clean-stagefeedback: clean-stagefeedback-target-libgomp
41417 clean-stagefeedback-target-libgomp:
41418 @if [ $(current_stage) = stagefeedback ]; then \
41419 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41420 else \
41421 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
41422 $(MAKE) stagefeedback-start; \
41423 fi; \
41424 cd $(TARGET_SUBDIR)/libgomp && \
41425 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41426 @endif target-libgomp-bootstrap
41433 .PHONY: check-target-libgomp maybe-check-target-libgomp
41434 maybe-check-target-libgomp:
41435 @if target-libgomp
41436 maybe-check-target-libgomp: check-target-libgomp
41438 check-target-libgomp:
41439 @: $(MAKE); $(unstage)
41440 @r=`${PWD_COMMAND}`; export r; \
41441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41442 $(NORMAL_TARGET_EXPORTS) \
41443 (cd $(TARGET_SUBDIR)/libgomp && \
41444 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41446 @endif target-libgomp
41448 .PHONY: install-target-libgomp maybe-install-target-libgomp
41449 maybe-install-target-libgomp:
41450 @if target-libgomp
41451 maybe-install-target-libgomp: install-target-libgomp
41453 install-target-libgomp: installdirs
41454 @: $(MAKE); $(unstage)
41455 @r=`${PWD_COMMAND}`; export r; \
41456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41457 $(NORMAL_TARGET_EXPORTS) \
41458 (cd $(TARGET_SUBDIR)/libgomp && \
41459 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41461 @endif target-libgomp
41463 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
41464 maybe-install-strip-target-libgomp:
41465 @if target-libgomp
41466 maybe-install-strip-target-libgomp: install-strip-target-libgomp
41468 install-strip-target-libgomp: installdirs
41469 @: $(MAKE); $(unstage)
41470 @r=`${PWD_COMMAND}`; export r; \
41471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41472 $(NORMAL_TARGET_EXPORTS) \
41473 (cd $(TARGET_SUBDIR)/libgomp && \
41474 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41476 @endif target-libgomp
41478 # Other targets (info, dvi, pdf, etc.)
41480 .PHONY: maybe-info-target-libgomp info-target-libgomp
41481 maybe-info-target-libgomp:
41482 @if target-libgomp
41483 maybe-info-target-libgomp: info-target-libgomp
41485 info-target-libgomp: \
41486 configure-target-libgomp
41487 @: $(MAKE); $(unstage)
41488 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41489 r=`${PWD_COMMAND}`; export r; \
41490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41491 $(NORMAL_TARGET_EXPORTS) \
41492 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41493 for flag in $(EXTRA_TARGET_FLAGS); do \
41494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41495 done; \
41496 (cd $(TARGET_SUBDIR)/libgomp && \
41497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41499 "RANLIB=$${RANLIB}" \
41500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41501 info) \
41502 || exit 1
41504 @endif target-libgomp
41506 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41507 maybe-dvi-target-libgomp:
41508 @if target-libgomp
41509 maybe-dvi-target-libgomp: dvi-target-libgomp
41511 dvi-target-libgomp: \
41512 configure-target-libgomp
41513 @: $(MAKE); $(unstage)
41514 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41515 r=`${PWD_COMMAND}`; export r; \
41516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41517 $(NORMAL_TARGET_EXPORTS) \
41518 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41519 for flag in $(EXTRA_TARGET_FLAGS); do \
41520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41521 done; \
41522 (cd $(TARGET_SUBDIR)/libgomp && \
41523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41525 "RANLIB=$${RANLIB}" \
41526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41527 dvi) \
41528 || exit 1
41530 @endif target-libgomp
41532 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41533 maybe-pdf-target-libgomp:
41534 @if target-libgomp
41535 maybe-pdf-target-libgomp: pdf-target-libgomp
41537 pdf-target-libgomp: \
41538 configure-target-libgomp
41539 @: $(MAKE); $(unstage)
41540 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41541 r=`${PWD_COMMAND}`; export r; \
41542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41543 $(NORMAL_TARGET_EXPORTS) \
41544 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41545 for flag in $(EXTRA_TARGET_FLAGS); do \
41546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41547 done; \
41548 (cd $(TARGET_SUBDIR)/libgomp && \
41549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41551 "RANLIB=$${RANLIB}" \
41552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41553 pdf) \
41554 || exit 1
41556 @endif target-libgomp
41558 .PHONY: maybe-html-target-libgomp html-target-libgomp
41559 maybe-html-target-libgomp:
41560 @if target-libgomp
41561 maybe-html-target-libgomp: html-target-libgomp
41563 html-target-libgomp: \
41564 configure-target-libgomp
41565 @: $(MAKE); $(unstage)
41566 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41567 r=`${PWD_COMMAND}`; export r; \
41568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41569 $(NORMAL_TARGET_EXPORTS) \
41570 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41571 for flag in $(EXTRA_TARGET_FLAGS); do \
41572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41573 done; \
41574 (cd $(TARGET_SUBDIR)/libgomp && \
41575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41577 "RANLIB=$${RANLIB}" \
41578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41579 html) \
41580 || exit 1
41582 @endif target-libgomp
41584 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41585 maybe-TAGS-target-libgomp:
41586 @if target-libgomp
41587 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41589 TAGS-target-libgomp: \
41590 configure-target-libgomp
41591 @: $(MAKE); $(unstage)
41592 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41593 r=`${PWD_COMMAND}`; export r; \
41594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41595 $(NORMAL_TARGET_EXPORTS) \
41596 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41597 for flag in $(EXTRA_TARGET_FLAGS); do \
41598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41599 done; \
41600 (cd $(TARGET_SUBDIR)/libgomp && \
41601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41603 "RANLIB=$${RANLIB}" \
41604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41605 TAGS) \
41606 || exit 1
41608 @endif target-libgomp
41610 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41611 maybe-install-info-target-libgomp:
41612 @if target-libgomp
41613 maybe-install-info-target-libgomp: install-info-target-libgomp
41615 install-info-target-libgomp: \
41616 configure-target-libgomp \
41617 info-target-libgomp
41618 @: $(MAKE); $(unstage)
41619 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41620 r=`${PWD_COMMAND}`; export r; \
41621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41622 $(NORMAL_TARGET_EXPORTS) \
41623 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41624 for flag in $(EXTRA_TARGET_FLAGS); do \
41625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41626 done; \
41627 (cd $(TARGET_SUBDIR)/libgomp && \
41628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41630 "RANLIB=$${RANLIB}" \
41631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41632 install-info) \
41633 || exit 1
41635 @endif target-libgomp
41637 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
41638 maybe-install-pdf-target-libgomp:
41639 @if target-libgomp
41640 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
41642 install-pdf-target-libgomp: \
41643 configure-target-libgomp \
41644 pdf-target-libgomp
41645 @: $(MAKE); $(unstage)
41646 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41647 r=`${PWD_COMMAND}`; export r; \
41648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41649 $(NORMAL_TARGET_EXPORTS) \
41650 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
41651 for flag in $(EXTRA_TARGET_FLAGS); do \
41652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41653 done; \
41654 (cd $(TARGET_SUBDIR)/libgomp && \
41655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41657 "RANLIB=$${RANLIB}" \
41658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41659 install-pdf) \
41660 || exit 1
41662 @endif target-libgomp
41664 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41665 maybe-install-html-target-libgomp:
41666 @if target-libgomp
41667 maybe-install-html-target-libgomp: install-html-target-libgomp
41669 install-html-target-libgomp: \
41670 configure-target-libgomp \
41671 html-target-libgomp
41672 @: $(MAKE); $(unstage)
41673 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41674 r=`${PWD_COMMAND}`; export r; \
41675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41676 $(NORMAL_TARGET_EXPORTS) \
41677 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41678 for flag in $(EXTRA_TARGET_FLAGS); do \
41679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41680 done; \
41681 (cd $(TARGET_SUBDIR)/libgomp && \
41682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41684 "RANLIB=$${RANLIB}" \
41685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41686 install-html) \
41687 || exit 1
41689 @endif target-libgomp
41691 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41692 maybe-installcheck-target-libgomp:
41693 @if target-libgomp
41694 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41696 installcheck-target-libgomp: \
41697 configure-target-libgomp
41698 @: $(MAKE); $(unstage)
41699 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41700 r=`${PWD_COMMAND}`; export r; \
41701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41702 $(NORMAL_TARGET_EXPORTS) \
41703 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41704 for flag in $(EXTRA_TARGET_FLAGS); do \
41705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41706 done; \
41707 (cd $(TARGET_SUBDIR)/libgomp && \
41708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41710 "RANLIB=$${RANLIB}" \
41711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41712 installcheck) \
41713 || exit 1
41715 @endif target-libgomp
41717 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41718 maybe-mostlyclean-target-libgomp:
41719 @if target-libgomp
41720 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41722 mostlyclean-target-libgomp:
41723 @: $(MAKE); $(unstage)
41724 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41725 r=`${PWD_COMMAND}`; export r; \
41726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41727 $(NORMAL_TARGET_EXPORTS) \
41728 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41729 for flag in $(EXTRA_TARGET_FLAGS); do \
41730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41731 done; \
41732 (cd $(TARGET_SUBDIR)/libgomp && \
41733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41735 "RANLIB=$${RANLIB}" \
41736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41737 mostlyclean) \
41738 || exit 1
41740 @endif target-libgomp
41742 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41743 maybe-clean-target-libgomp:
41744 @if target-libgomp
41745 maybe-clean-target-libgomp: clean-target-libgomp
41747 clean-target-libgomp:
41748 @: $(MAKE); $(unstage)
41749 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41750 r=`${PWD_COMMAND}`; export r; \
41751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41752 $(NORMAL_TARGET_EXPORTS) \
41753 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41754 for flag in $(EXTRA_TARGET_FLAGS); do \
41755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41756 done; \
41757 (cd $(TARGET_SUBDIR)/libgomp && \
41758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41760 "RANLIB=$${RANLIB}" \
41761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41762 clean) \
41763 || exit 1
41765 @endif target-libgomp
41767 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41768 maybe-distclean-target-libgomp:
41769 @if target-libgomp
41770 maybe-distclean-target-libgomp: distclean-target-libgomp
41772 distclean-target-libgomp:
41773 @: $(MAKE); $(unstage)
41774 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41775 r=`${PWD_COMMAND}`; export r; \
41776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41777 $(NORMAL_TARGET_EXPORTS) \
41778 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41779 for flag in $(EXTRA_TARGET_FLAGS); do \
41780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41781 done; \
41782 (cd $(TARGET_SUBDIR)/libgomp && \
41783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41785 "RANLIB=$${RANLIB}" \
41786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41787 distclean) \
41788 || exit 1
41790 @endif target-libgomp
41792 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41793 maybe-maintainer-clean-target-libgomp:
41794 @if target-libgomp
41795 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41797 maintainer-clean-target-libgomp:
41798 @: $(MAKE); $(unstage)
41799 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41800 r=`${PWD_COMMAND}`; export r; \
41801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41802 $(NORMAL_TARGET_EXPORTS) \
41803 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41804 for flag in $(EXTRA_TARGET_FLAGS); do \
41805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41806 done; \
41807 (cd $(TARGET_SUBDIR)/libgomp && \
41808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41810 "RANLIB=$${RANLIB}" \
41811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41812 maintainer-clean) \
41813 || exit 1
41815 @endif target-libgomp
41821 .PHONY: configure-target-libitm maybe-configure-target-libitm
41822 maybe-configure-target-libitm:
41823 @if gcc-bootstrap
41824 configure-target-libitm: stage_current
41825 @endif gcc-bootstrap
41826 @if target-libitm
41827 maybe-configure-target-libitm: configure-target-libitm
41828 configure-target-libitm:
41829 @: $(MAKE); $(unstage)
41830 @r=`${PWD_COMMAND}`; export r; \
41831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41832 echo "Checking multilib configuration for libitm..."; \
41833 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41834 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
41835 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
41836 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
41837 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
41838 else \
41839 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
41840 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41841 fi; \
41842 else \
41843 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41844 fi; \
41845 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
41846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41847 $(NORMAL_TARGET_EXPORTS) \
41848 echo Configuring in $(TARGET_SUBDIR)/libitm; \
41849 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
41850 case $(srcdir) in \
41851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41852 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
41853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41854 esac; \
41855 srcdiroption="--srcdir=$${topdir}/libitm"; \
41856 libsrcdir="$$s/libitm"; \
41857 rm -f no-such-file || : ; \
41858 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41859 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41860 --target=${target_alias} $${srcdiroption} \
41861 || exit 1
41862 @endif target-libitm
41868 .PHONY: all-target-libitm maybe-all-target-libitm
41869 maybe-all-target-libitm:
41870 @if gcc-bootstrap
41871 all-target-libitm: stage_current
41872 @endif gcc-bootstrap
41873 @if target-libitm
41874 TARGET-target-libitm=all
41875 maybe-all-target-libitm: all-target-libitm
41876 all-target-libitm: configure-target-libitm
41877 @: $(MAKE); $(unstage)
41878 @r=`${PWD_COMMAND}`; export r; \
41879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41880 $(NORMAL_TARGET_EXPORTS) \
41881 (cd $(TARGET_SUBDIR)/libitm && \
41882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41883 $(TARGET-target-libitm))
41884 @endif target-libitm
41890 .PHONY: check-target-libitm maybe-check-target-libitm
41891 maybe-check-target-libitm:
41892 @if target-libitm
41893 maybe-check-target-libitm: check-target-libitm
41895 check-target-libitm:
41896 @: $(MAKE); $(unstage)
41897 @r=`${PWD_COMMAND}`; export r; \
41898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41899 $(NORMAL_TARGET_EXPORTS) \
41900 (cd $(TARGET_SUBDIR)/libitm && \
41901 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41903 @endif target-libitm
41905 .PHONY: install-target-libitm maybe-install-target-libitm
41906 maybe-install-target-libitm:
41907 @if target-libitm
41908 maybe-install-target-libitm: install-target-libitm
41910 install-target-libitm: installdirs
41911 @: $(MAKE); $(unstage)
41912 @r=`${PWD_COMMAND}`; export r; \
41913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41914 $(NORMAL_TARGET_EXPORTS) \
41915 (cd $(TARGET_SUBDIR)/libitm && \
41916 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41918 @endif target-libitm
41920 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
41921 maybe-install-strip-target-libitm:
41922 @if target-libitm
41923 maybe-install-strip-target-libitm: install-strip-target-libitm
41925 install-strip-target-libitm: installdirs
41926 @: $(MAKE); $(unstage)
41927 @r=`${PWD_COMMAND}`; export r; \
41928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41929 $(NORMAL_TARGET_EXPORTS) \
41930 (cd $(TARGET_SUBDIR)/libitm && \
41931 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41933 @endif target-libitm
41935 # Other targets (info, dvi, pdf, etc.)
41937 .PHONY: maybe-info-target-libitm info-target-libitm
41938 maybe-info-target-libitm:
41939 @if target-libitm
41940 maybe-info-target-libitm: info-target-libitm
41942 info-target-libitm: \
41943 configure-target-libitm
41944 @: $(MAKE); $(unstage)
41945 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41946 r=`${PWD_COMMAND}`; export r; \
41947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41948 $(NORMAL_TARGET_EXPORTS) \
41949 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
41950 for flag in $(EXTRA_TARGET_FLAGS); do \
41951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41952 done; \
41953 (cd $(TARGET_SUBDIR)/libitm && \
41954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41956 "RANLIB=$${RANLIB}" \
41957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41958 info) \
41959 || exit 1
41961 @endif target-libitm
41963 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
41964 maybe-dvi-target-libitm:
41965 @if target-libitm
41966 maybe-dvi-target-libitm: dvi-target-libitm
41968 dvi-target-libitm: \
41969 configure-target-libitm
41970 @: $(MAKE); $(unstage)
41971 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41972 r=`${PWD_COMMAND}`; export r; \
41973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41974 $(NORMAL_TARGET_EXPORTS) \
41975 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
41976 for flag in $(EXTRA_TARGET_FLAGS); do \
41977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41978 done; \
41979 (cd $(TARGET_SUBDIR)/libitm && \
41980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41982 "RANLIB=$${RANLIB}" \
41983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41984 dvi) \
41985 || exit 1
41987 @endif target-libitm
41989 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
41990 maybe-pdf-target-libitm:
41991 @if target-libitm
41992 maybe-pdf-target-libitm: pdf-target-libitm
41994 pdf-target-libitm: \
41995 configure-target-libitm
41996 @: $(MAKE); $(unstage)
41997 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41998 r=`${PWD_COMMAND}`; export r; \
41999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42000 $(NORMAL_TARGET_EXPORTS) \
42001 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
42002 for flag in $(EXTRA_TARGET_FLAGS); do \
42003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42004 done; \
42005 (cd $(TARGET_SUBDIR)/libitm && \
42006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42008 "RANLIB=$${RANLIB}" \
42009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42010 pdf) \
42011 || exit 1
42013 @endif target-libitm
42015 .PHONY: maybe-html-target-libitm html-target-libitm
42016 maybe-html-target-libitm:
42017 @if target-libitm
42018 maybe-html-target-libitm: html-target-libitm
42020 html-target-libitm: \
42021 configure-target-libitm
42022 @: $(MAKE); $(unstage)
42023 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42024 r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 $(NORMAL_TARGET_EXPORTS) \
42027 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
42028 for flag in $(EXTRA_TARGET_FLAGS); do \
42029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42030 done; \
42031 (cd $(TARGET_SUBDIR)/libitm && \
42032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42034 "RANLIB=$${RANLIB}" \
42035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42036 html) \
42037 || exit 1
42039 @endif target-libitm
42041 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
42042 maybe-TAGS-target-libitm:
42043 @if target-libitm
42044 maybe-TAGS-target-libitm: TAGS-target-libitm
42046 TAGS-target-libitm: \
42047 configure-target-libitm
42048 @: $(MAKE); $(unstage)
42049 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42050 r=`${PWD_COMMAND}`; export r; \
42051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42052 $(NORMAL_TARGET_EXPORTS) \
42053 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
42054 for flag in $(EXTRA_TARGET_FLAGS); do \
42055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42056 done; \
42057 (cd $(TARGET_SUBDIR)/libitm && \
42058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42060 "RANLIB=$${RANLIB}" \
42061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42062 TAGS) \
42063 || exit 1
42065 @endif target-libitm
42067 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
42068 maybe-install-info-target-libitm:
42069 @if target-libitm
42070 maybe-install-info-target-libitm: install-info-target-libitm
42072 install-info-target-libitm: \
42073 configure-target-libitm \
42074 info-target-libitm
42075 @: $(MAKE); $(unstage)
42076 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42077 r=`${PWD_COMMAND}`; export r; \
42078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42079 $(NORMAL_TARGET_EXPORTS) \
42080 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
42081 for flag in $(EXTRA_TARGET_FLAGS); do \
42082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42083 done; \
42084 (cd $(TARGET_SUBDIR)/libitm && \
42085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42087 "RANLIB=$${RANLIB}" \
42088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42089 install-info) \
42090 || exit 1
42092 @endif target-libitm
42094 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
42095 maybe-install-pdf-target-libitm:
42096 @if target-libitm
42097 maybe-install-pdf-target-libitm: install-pdf-target-libitm
42099 install-pdf-target-libitm: \
42100 configure-target-libitm \
42101 pdf-target-libitm
42102 @: $(MAKE); $(unstage)
42103 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42104 r=`${PWD_COMMAND}`; export r; \
42105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42106 $(NORMAL_TARGET_EXPORTS) \
42107 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
42108 for flag in $(EXTRA_TARGET_FLAGS); do \
42109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42110 done; \
42111 (cd $(TARGET_SUBDIR)/libitm && \
42112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42114 "RANLIB=$${RANLIB}" \
42115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42116 install-pdf) \
42117 || exit 1
42119 @endif target-libitm
42121 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
42122 maybe-install-html-target-libitm:
42123 @if target-libitm
42124 maybe-install-html-target-libitm: install-html-target-libitm
42126 install-html-target-libitm: \
42127 configure-target-libitm \
42128 html-target-libitm
42129 @: $(MAKE); $(unstage)
42130 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42131 r=`${PWD_COMMAND}`; export r; \
42132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42133 $(NORMAL_TARGET_EXPORTS) \
42134 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
42135 for flag in $(EXTRA_TARGET_FLAGS); do \
42136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42137 done; \
42138 (cd $(TARGET_SUBDIR)/libitm && \
42139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42141 "RANLIB=$${RANLIB}" \
42142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42143 install-html) \
42144 || exit 1
42146 @endif target-libitm
42148 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
42149 maybe-installcheck-target-libitm:
42150 @if target-libitm
42151 maybe-installcheck-target-libitm: installcheck-target-libitm
42153 installcheck-target-libitm: \
42154 configure-target-libitm
42155 @: $(MAKE); $(unstage)
42156 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42157 r=`${PWD_COMMAND}`; export r; \
42158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42159 $(NORMAL_TARGET_EXPORTS) \
42160 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
42161 for flag in $(EXTRA_TARGET_FLAGS); do \
42162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42163 done; \
42164 (cd $(TARGET_SUBDIR)/libitm && \
42165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42167 "RANLIB=$${RANLIB}" \
42168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42169 installcheck) \
42170 || exit 1
42172 @endif target-libitm
42174 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
42175 maybe-mostlyclean-target-libitm:
42176 @if target-libitm
42177 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
42179 mostlyclean-target-libitm:
42180 @: $(MAKE); $(unstage)
42181 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42182 r=`${PWD_COMMAND}`; export r; \
42183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42184 $(NORMAL_TARGET_EXPORTS) \
42185 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
42186 for flag in $(EXTRA_TARGET_FLAGS); do \
42187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42188 done; \
42189 (cd $(TARGET_SUBDIR)/libitm && \
42190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42192 "RANLIB=$${RANLIB}" \
42193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42194 mostlyclean) \
42195 || exit 1
42197 @endif target-libitm
42199 .PHONY: maybe-clean-target-libitm clean-target-libitm
42200 maybe-clean-target-libitm:
42201 @if target-libitm
42202 maybe-clean-target-libitm: clean-target-libitm
42204 clean-target-libitm:
42205 @: $(MAKE); $(unstage)
42206 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42207 r=`${PWD_COMMAND}`; export r; \
42208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42209 $(NORMAL_TARGET_EXPORTS) \
42210 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
42211 for flag in $(EXTRA_TARGET_FLAGS); do \
42212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42213 done; \
42214 (cd $(TARGET_SUBDIR)/libitm && \
42215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42217 "RANLIB=$${RANLIB}" \
42218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42219 clean) \
42220 || exit 1
42222 @endif target-libitm
42224 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
42225 maybe-distclean-target-libitm:
42226 @if target-libitm
42227 maybe-distclean-target-libitm: distclean-target-libitm
42229 distclean-target-libitm:
42230 @: $(MAKE); $(unstage)
42231 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42232 r=`${PWD_COMMAND}`; export r; \
42233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42234 $(NORMAL_TARGET_EXPORTS) \
42235 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
42236 for flag in $(EXTRA_TARGET_FLAGS); do \
42237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42238 done; \
42239 (cd $(TARGET_SUBDIR)/libitm && \
42240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42242 "RANLIB=$${RANLIB}" \
42243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42244 distclean) \
42245 || exit 1
42247 @endif target-libitm
42249 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
42250 maybe-maintainer-clean-target-libitm:
42251 @if target-libitm
42252 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
42254 maintainer-clean-target-libitm:
42255 @: $(MAKE); $(unstage)
42256 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42257 r=`${PWD_COMMAND}`; export r; \
42258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42259 $(NORMAL_TARGET_EXPORTS) \
42260 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
42261 for flag in $(EXTRA_TARGET_FLAGS); do \
42262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42263 done; \
42264 (cd $(TARGET_SUBDIR)/libitm && \
42265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42267 "RANLIB=$${RANLIB}" \
42268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42269 maintainer-clean) \
42270 || exit 1
42272 @endif target-libitm
42278 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
42279 maybe-configure-target-libatomic:
42280 @if gcc-bootstrap
42281 configure-target-libatomic: stage_current
42282 @endif gcc-bootstrap
42283 @if target-libatomic
42284 maybe-configure-target-libatomic: configure-target-libatomic
42285 configure-target-libatomic:
42286 @: $(MAKE); $(unstage)
42287 @r=`${PWD_COMMAND}`; export r; \
42288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42289 echo "Checking multilib configuration for libatomic..."; \
42290 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42291 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
42292 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42293 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42294 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
42295 else \
42296 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
42297 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42298 fi; \
42299 else \
42300 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42301 fi; \
42302 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
42303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42304 $(NORMAL_TARGET_EXPORTS) \
42305 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
42306 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
42307 case $(srcdir) in \
42308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42309 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
42310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42311 esac; \
42312 srcdiroption="--srcdir=$${topdir}/libatomic"; \
42313 libsrcdir="$$s/libatomic"; \
42314 rm -f no-such-file || : ; \
42315 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42316 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42317 --target=${target_alias} $${srcdiroption} \
42318 || exit 1
42319 @endif target-libatomic
42325 .PHONY: all-target-libatomic maybe-all-target-libatomic
42326 maybe-all-target-libatomic:
42327 @if gcc-bootstrap
42328 all-target-libatomic: stage_current
42329 @endif gcc-bootstrap
42330 @if target-libatomic
42331 TARGET-target-libatomic=all
42332 maybe-all-target-libatomic: all-target-libatomic
42333 all-target-libatomic: configure-target-libatomic
42334 @: $(MAKE); $(unstage)
42335 @r=`${PWD_COMMAND}`; export r; \
42336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42337 $(NORMAL_TARGET_EXPORTS) \
42338 (cd $(TARGET_SUBDIR)/libatomic && \
42339 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42340 $(TARGET-target-libatomic))
42341 @endif target-libatomic
42347 .PHONY: check-target-libatomic maybe-check-target-libatomic
42348 maybe-check-target-libatomic:
42349 @if target-libatomic
42350 maybe-check-target-libatomic: check-target-libatomic
42352 check-target-libatomic:
42353 @: $(MAKE); $(unstage)
42354 @r=`${PWD_COMMAND}`; export r; \
42355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42356 $(NORMAL_TARGET_EXPORTS) \
42357 (cd $(TARGET_SUBDIR)/libatomic && \
42358 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42360 @endif target-libatomic
42362 .PHONY: install-target-libatomic maybe-install-target-libatomic
42363 maybe-install-target-libatomic:
42364 @if target-libatomic
42365 maybe-install-target-libatomic: install-target-libatomic
42367 install-target-libatomic: installdirs
42368 @: $(MAKE); $(unstage)
42369 @r=`${PWD_COMMAND}`; export r; \
42370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42371 $(NORMAL_TARGET_EXPORTS) \
42372 (cd $(TARGET_SUBDIR)/libatomic && \
42373 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42375 @endif target-libatomic
42377 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
42378 maybe-install-strip-target-libatomic:
42379 @if target-libatomic
42380 maybe-install-strip-target-libatomic: install-strip-target-libatomic
42382 install-strip-target-libatomic: installdirs
42383 @: $(MAKE); $(unstage)
42384 @r=`${PWD_COMMAND}`; export r; \
42385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42386 $(NORMAL_TARGET_EXPORTS) \
42387 (cd $(TARGET_SUBDIR)/libatomic && \
42388 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42390 @endif target-libatomic
42392 # Other targets (info, dvi, pdf, etc.)
42394 .PHONY: maybe-info-target-libatomic info-target-libatomic
42395 maybe-info-target-libatomic:
42396 @if target-libatomic
42397 maybe-info-target-libatomic: info-target-libatomic
42399 info-target-libatomic: \
42400 configure-target-libatomic
42401 @: $(MAKE); $(unstage)
42402 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42403 r=`${PWD_COMMAND}`; export r; \
42404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42405 $(NORMAL_TARGET_EXPORTS) \
42406 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
42407 for flag in $(EXTRA_TARGET_FLAGS); do \
42408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42409 done; \
42410 (cd $(TARGET_SUBDIR)/libatomic && \
42411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42413 "RANLIB=$${RANLIB}" \
42414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42415 info) \
42416 || exit 1
42418 @endif target-libatomic
42420 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
42421 maybe-dvi-target-libatomic:
42422 @if target-libatomic
42423 maybe-dvi-target-libatomic: dvi-target-libatomic
42425 dvi-target-libatomic: \
42426 configure-target-libatomic
42427 @: $(MAKE); $(unstage)
42428 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42429 r=`${PWD_COMMAND}`; export r; \
42430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42431 $(NORMAL_TARGET_EXPORTS) \
42432 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
42433 for flag in $(EXTRA_TARGET_FLAGS); do \
42434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42435 done; \
42436 (cd $(TARGET_SUBDIR)/libatomic && \
42437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42439 "RANLIB=$${RANLIB}" \
42440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42441 dvi) \
42442 || exit 1
42444 @endif target-libatomic
42446 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
42447 maybe-pdf-target-libatomic:
42448 @if target-libatomic
42449 maybe-pdf-target-libatomic: pdf-target-libatomic
42451 pdf-target-libatomic: \
42452 configure-target-libatomic
42453 @: $(MAKE); $(unstage)
42454 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42455 r=`${PWD_COMMAND}`; export r; \
42456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42457 $(NORMAL_TARGET_EXPORTS) \
42458 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
42459 for flag in $(EXTRA_TARGET_FLAGS); do \
42460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42461 done; \
42462 (cd $(TARGET_SUBDIR)/libatomic && \
42463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42465 "RANLIB=$${RANLIB}" \
42466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42467 pdf) \
42468 || exit 1
42470 @endif target-libatomic
42472 .PHONY: maybe-html-target-libatomic html-target-libatomic
42473 maybe-html-target-libatomic:
42474 @if target-libatomic
42475 maybe-html-target-libatomic: html-target-libatomic
42477 html-target-libatomic: \
42478 configure-target-libatomic
42479 @: $(MAKE); $(unstage)
42480 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42481 r=`${PWD_COMMAND}`; export r; \
42482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42483 $(NORMAL_TARGET_EXPORTS) \
42484 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
42485 for flag in $(EXTRA_TARGET_FLAGS); do \
42486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42487 done; \
42488 (cd $(TARGET_SUBDIR)/libatomic && \
42489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42491 "RANLIB=$${RANLIB}" \
42492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42493 html) \
42494 || exit 1
42496 @endif target-libatomic
42498 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
42499 maybe-TAGS-target-libatomic:
42500 @if target-libatomic
42501 maybe-TAGS-target-libatomic: TAGS-target-libatomic
42503 TAGS-target-libatomic: \
42504 configure-target-libatomic
42505 @: $(MAKE); $(unstage)
42506 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42507 r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 $(NORMAL_TARGET_EXPORTS) \
42510 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
42511 for flag in $(EXTRA_TARGET_FLAGS); do \
42512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42513 done; \
42514 (cd $(TARGET_SUBDIR)/libatomic && \
42515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42517 "RANLIB=$${RANLIB}" \
42518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42519 TAGS) \
42520 || exit 1
42522 @endif target-libatomic
42524 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
42525 maybe-install-info-target-libatomic:
42526 @if target-libatomic
42527 maybe-install-info-target-libatomic: install-info-target-libatomic
42529 install-info-target-libatomic: \
42530 configure-target-libatomic \
42531 info-target-libatomic
42532 @: $(MAKE); $(unstage)
42533 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42534 r=`${PWD_COMMAND}`; export r; \
42535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42536 $(NORMAL_TARGET_EXPORTS) \
42537 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
42538 for flag in $(EXTRA_TARGET_FLAGS); do \
42539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42540 done; \
42541 (cd $(TARGET_SUBDIR)/libatomic && \
42542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42544 "RANLIB=$${RANLIB}" \
42545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42546 install-info) \
42547 || exit 1
42549 @endif target-libatomic
42551 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
42552 maybe-install-pdf-target-libatomic:
42553 @if target-libatomic
42554 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
42556 install-pdf-target-libatomic: \
42557 configure-target-libatomic \
42558 pdf-target-libatomic
42559 @: $(MAKE); $(unstage)
42560 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42561 r=`${PWD_COMMAND}`; export r; \
42562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42563 $(NORMAL_TARGET_EXPORTS) \
42564 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
42565 for flag in $(EXTRA_TARGET_FLAGS); do \
42566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42567 done; \
42568 (cd $(TARGET_SUBDIR)/libatomic && \
42569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42571 "RANLIB=$${RANLIB}" \
42572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42573 install-pdf) \
42574 || exit 1
42576 @endif target-libatomic
42578 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
42579 maybe-install-html-target-libatomic:
42580 @if target-libatomic
42581 maybe-install-html-target-libatomic: install-html-target-libatomic
42583 install-html-target-libatomic: \
42584 configure-target-libatomic \
42585 html-target-libatomic
42586 @: $(MAKE); $(unstage)
42587 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42588 r=`${PWD_COMMAND}`; export r; \
42589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42590 $(NORMAL_TARGET_EXPORTS) \
42591 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
42592 for flag in $(EXTRA_TARGET_FLAGS); do \
42593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42594 done; \
42595 (cd $(TARGET_SUBDIR)/libatomic && \
42596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42598 "RANLIB=$${RANLIB}" \
42599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42600 install-html) \
42601 || exit 1
42603 @endif target-libatomic
42605 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
42606 maybe-installcheck-target-libatomic:
42607 @if target-libatomic
42608 maybe-installcheck-target-libatomic: installcheck-target-libatomic
42610 installcheck-target-libatomic: \
42611 configure-target-libatomic
42612 @: $(MAKE); $(unstage)
42613 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42614 r=`${PWD_COMMAND}`; export r; \
42615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42616 $(NORMAL_TARGET_EXPORTS) \
42617 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
42618 for flag in $(EXTRA_TARGET_FLAGS); do \
42619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42620 done; \
42621 (cd $(TARGET_SUBDIR)/libatomic && \
42622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42624 "RANLIB=$${RANLIB}" \
42625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42626 installcheck) \
42627 || exit 1
42629 @endif target-libatomic
42631 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
42632 maybe-mostlyclean-target-libatomic:
42633 @if target-libatomic
42634 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
42636 mostlyclean-target-libatomic:
42637 @: $(MAKE); $(unstage)
42638 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42639 r=`${PWD_COMMAND}`; export r; \
42640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42641 $(NORMAL_TARGET_EXPORTS) \
42642 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
42643 for flag in $(EXTRA_TARGET_FLAGS); do \
42644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42645 done; \
42646 (cd $(TARGET_SUBDIR)/libatomic && \
42647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42649 "RANLIB=$${RANLIB}" \
42650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42651 mostlyclean) \
42652 || exit 1
42654 @endif target-libatomic
42656 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
42657 maybe-clean-target-libatomic:
42658 @if target-libatomic
42659 maybe-clean-target-libatomic: clean-target-libatomic
42661 clean-target-libatomic:
42662 @: $(MAKE); $(unstage)
42663 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42664 r=`${PWD_COMMAND}`; export r; \
42665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42666 $(NORMAL_TARGET_EXPORTS) \
42667 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
42668 for flag in $(EXTRA_TARGET_FLAGS); do \
42669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42670 done; \
42671 (cd $(TARGET_SUBDIR)/libatomic && \
42672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42674 "RANLIB=$${RANLIB}" \
42675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42676 clean) \
42677 || exit 1
42679 @endif target-libatomic
42681 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
42682 maybe-distclean-target-libatomic:
42683 @if target-libatomic
42684 maybe-distclean-target-libatomic: distclean-target-libatomic
42686 distclean-target-libatomic:
42687 @: $(MAKE); $(unstage)
42688 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42689 r=`${PWD_COMMAND}`; export r; \
42690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42691 $(NORMAL_TARGET_EXPORTS) \
42692 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
42693 for flag in $(EXTRA_TARGET_FLAGS); do \
42694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42695 done; \
42696 (cd $(TARGET_SUBDIR)/libatomic && \
42697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42699 "RANLIB=$${RANLIB}" \
42700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42701 distclean) \
42702 || exit 1
42704 @endif target-libatomic
42706 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
42707 maybe-maintainer-clean-target-libatomic:
42708 @if target-libatomic
42709 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
42711 maintainer-clean-target-libatomic:
42712 @: $(MAKE); $(unstage)
42713 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42714 r=`${PWD_COMMAND}`; export r; \
42715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42716 $(NORMAL_TARGET_EXPORTS) \
42717 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
42718 for flag in $(EXTRA_TARGET_FLAGS); do \
42719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42720 done; \
42721 (cd $(TARGET_SUBDIR)/libatomic && \
42722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42724 "RANLIB=$${RANLIB}" \
42725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42726 maintainer-clean) \
42727 || exit 1
42729 @endif target-libatomic
42733 @if target-libmudflap
42734 .PHONY: check-target-libmudflap-c++
42735 check-target-libmudflap-c++:
42736 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
42738 @endif target-libmudflap
42740 @if target-libgomp
42741 .PHONY: check-target-libgomp-c++
42742 check-target-libgomp-c++:
42743 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
42745 @endif target-libgomp
42747 @if target-libitm
42748 .PHONY: check-target-libitm-c++
42749 check-target-libitm-c++:
42750 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
42752 @endif target-libitm
42754 # ----------
42755 # GCC module
42756 # ----------
42758 @if gcc-no-bootstrap
42759 .PHONY: cross
42760 cross: all-build all-gas all-ld
42761 @r=`${PWD_COMMAND}`; export r; \
42762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42763 $(HOST_EXPORTS) \
42764 echo "Building the C and C++ compiler"; \
42765 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
42766 @r=`${PWD_COMMAND}`; export r; \
42767 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
42768 echo "Building runtime libraries"; \
42769 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
42770 @endif gcc-no-bootstrap
42772 @if gcc
42774 .PHONY: check-gcc-c check-c
42775 check-gcc-c:
42776 r=`${PWD_COMMAND}`; export r; \
42777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42778 $(HOST_EXPORTS) \
42779 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
42780 check-c: check-gcc-c
42782 .PHONY: check-gcc-c++ check-c++
42783 check-gcc-c++:
42784 r=`${PWD_COMMAND}`; export r; \
42785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42786 $(HOST_EXPORTS) \
42787 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
42788 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
42790 .PHONY: check-gcc-fortran check-fortran
42791 check-gcc-fortran:
42792 r=`${PWD_COMMAND}`; export r; \
42793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42794 $(HOST_EXPORTS) \
42795 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
42796 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
42798 .PHONY: check-gcc-java check-java
42799 check-gcc-java:
42800 r=`${PWD_COMMAND}`; export r; \
42801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42802 $(HOST_EXPORTS) \
42803 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
42804 check-java: check-gcc-java check-target-libjava
42806 .PHONY: check-gcc-ada check-ada
42807 check-gcc-ada:
42808 r=`${PWD_COMMAND}`; export r; \
42809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42810 $(HOST_EXPORTS) \
42811 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
42812 check-ada: check-gcc-ada check-target-libada
42814 .PHONY: check-gcc-objc check-objc
42815 check-gcc-objc:
42816 r=`${PWD_COMMAND}`; export r; \
42817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42818 $(HOST_EXPORTS) \
42819 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
42820 check-objc: check-gcc-objc check-target-libobjc
42822 .PHONY: check-gcc-obj-c++ check-obj-c++
42823 check-gcc-obj-c++:
42824 r=`${PWD_COMMAND}`; export r; \
42825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42826 $(HOST_EXPORTS) \
42827 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
42828 check-obj-c++: check-gcc-obj-c++
42830 .PHONY: check-gcc-go check-go
42831 check-gcc-go:
42832 r=`${PWD_COMMAND}`; export r; \
42833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42834 $(HOST_EXPORTS) \
42835 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
42836 check-go: check-gcc-go check-target-libgo
42839 # The gcc part of install-no-fixedincludes, which relies on an intimate
42840 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
42841 .PHONY: gcc-install-no-fixedincludes
42842 gcc-install-no-fixedincludes:
42843 @if [ -f ./gcc/Makefile ]; then \
42844 r=`${PWD_COMMAND}`; export r; \
42845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42846 $(HOST_EXPORTS) \
42847 (cd ./gcc \
42848 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
42849 else true; fi
42850 @endif gcc
42852 # ---------------------
42853 # GCC bootstrap support
42854 # ---------------------
42856 # We track the current stage (the one in 'gcc') in the stage_current file.
42857 # stage_last instead tracks the stage that was built last. These targets
42858 # are dummy when toplevel bootstrap is not active.
42860 # While making host and target tools, symlinks to the final stage must be
42861 # there, so $(unstage) should be run at various points. To avoid excessive
42862 # recursive invocations of make, we "inline" them using a variable. These
42863 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
42864 # to avoid warnings from the GNU Make job server.
42866 unstage = :
42867 stage = :
42868 current_stage = ""
42870 @if gcc-bootstrap
42871 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
42872 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
42873 current_stage = "`cat stage_current 2> /dev/null`"
42874 @endif gcc-bootstrap
42876 .PHONY: unstage stage
42877 unstage:
42878 @: $(MAKE); $(unstage)
42879 stage:
42880 @: $(MAKE); $(stage)
42882 # Disable commands for lean bootstrap.
42883 LEAN = false
42885 # We name the build directories for the various stages "stage1-gcc",
42886 # "stage2-gcc","stage3-gcc", etc.
42888 # Since the 'compare' process will fail (on debugging information) if any
42889 # directory names are different, we need to link the gcc directory for
42890 # the previous stage to a constant name ('prev-gcc'), and to make the name of
42891 # the build directories constant as well. For the latter, we use naked names
42892 # like 'gcc', because the scripts in that directory assume it. We use
42893 # mv on platforms where symlinks to directories do not work or are not
42894 # reliable.
42896 # 'touch' doesn't work right on some platforms.
42897 STAMP = echo timestamp >
42899 # We only want to compare .o files, so set this!
42900 objext = .o
42903 .PHONY: stage1-start stage1-end
42905 stage1-start::
42906 @: $(MAKE); $(stage); \
42907 echo stage1 > stage_current ; \
42908 echo stage1 > stage_last; \
42909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42910 @if bfd
42911 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
42912 mkdir stage1-bfd; \
42913 mv stage1-bfd bfd
42914 @endif bfd
42915 @if opcodes
42916 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
42917 mkdir stage1-opcodes; \
42918 mv stage1-opcodes opcodes
42919 @endif opcodes
42920 @if binutils
42921 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
42922 mkdir stage1-binutils; \
42923 mv stage1-binutils binutils
42924 @endif binutils
42925 @if gas
42926 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
42927 mkdir stage1-gas; \
42928 mv stage1-gas gas
42929 @endif gas
42930 @if gcc
42931 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
42932 mkdir stage1-gcc; \
42933 mv stage1-gcc gcc
42934 @endif gcc
42935 @if gmp
42936 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
42937 mkdir stage1-gmp; \
42938 mv stage1-gmp gmp
42939 @endif gmp
42940 @if mpfr
42941 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
42942 mkdir stage1-mpfr; \
42943 mv stage1-mpfr mpfr
42944 @endif mpfr
42945 @if mpc
42946 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
42947 mkdir stage1-mpc; \
42948 mv stage1-mpc mpc
42949 @endif mpc
42950 @if isl
42951 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
42952 mkdir stage1-isl; \
42953 mv stage1-isl isl
42954 @endif isl
42955 @if cloog
42956 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
42957 mkdir stage1-cloog; \
42958 mv stage1-cloog cloog
42959 @endif cloog
42960 @if libelf
42961 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
42962 mkdir stage1-libelf; \
42963 mv stage1-libelf libelf
42964 @endif libelf
42965 @if gold
42966 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
42967 mkdir stage1-gold; \
42968 mv stage1-gold gold
42969 @endif gold
42970 @if intl
42971 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
42972 mkdir stage1-intl; \
42973 mv stage1-intl intl
42974 @endif intl
42975 @if ld
42976 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
42977 mkdir stage1-ld; \
42978 mv stage1-ld ld
42979 @endif ld
42980 @if libbacktrace
42981 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
42982 mkdir stage1-libbacktrace; \
42983 mv stage1-libbacktrace libbacktrace
42984 @endif libbacktrace
42985 @if libcpp
42986 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
42987 mkdir stage1-libcpp; \
42988 mv stage1-libcpp libcpp
42989 @endif libcpp
42990 @if libdecnumber
42991 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
42992 mkdir stage1-libdecnumber; \
42993 mv stage1-libdecnumber libdecnumber
42994 @endif libdecnumber
42995 @if libiberty
42996 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
42997 mkdir stage1-libiberty; \
42998 mv stage1-libiberty libiberty
42999 @endif libiberty
43000 @if zlib
43001 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
43002 mkdir stage1-zlib; \
43003 mv stage1-zlib zlib
43004 @endif zlib
43005 @if lto-plugin
43006 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
43007 mkdir stage1-lto-plugin; \
43008 mv stage1-lto-plugin lto-plugin
43009 @endif lto-plugin
43010 @[ -d stage1-$(TARGET_SUBDIR) ] || \
43011 mkdir stage1-$(TARGET_SUBDIR); \
43012 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
43014 stage1-end::
43015 @if bfd
43016 @if test -d $(HOST_SUBDIR)/bfd ; then \
43017 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
43019 @endif bfd
43020 @if opcodes
43021 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43022 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
43024 @endif opcodes
43025 @if binutils
43026 @if test -d $(HOST_SUBDIR)/binutils ; then \
43027 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
43029 @endif binutils
43030 @if gas
43031 @if test -d $(HOST_SUBDIR)/gas ; then \
43032 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
43034 @endif gas
43035 @if gcc
43036 @if test -d $(HOST_SUBDIR)/gcc ; then \
43037 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
43039 @endif gcc
43040 @if gmp
43041 @if test -d $(HOST_SUBDIR)/gmp ; then \
43042 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
43044 @endif gmp
43045 @if mpfr
43046 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43047 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
43049 @endif mpfr
43050 @if mpc
43051 @if test -d $(HOST_SUBDIR)/mpc ; then \
43052 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
43054 @endif mpc
43055 @if isl
43056 @if test -d $(HOST_SUBDIR)/isl ; then \
43057 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
43059 @endif isl
43060 @if cloog
43061 @if test -d $(HOST_SUBDIR)/cloog ; then \
43062 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
43064 @endif cloog
43065 @if libelf
43066 @if test -d $(HOST_SUBDIR)/libelf ; then \
43067 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
43069 @endif libelf
43070 @if gold
43071 @if test -d $(HOST_SUBDIR)/gold ; then \
43072 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
43074 @endif gold
43075 @if intl
43076 @if test -d $(HOST_SUBDIR)/intl ; then \
43077 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
43079 @endif intl
43080 @if ld
43081 @if test -d $(HOST_SUBDIR)/ld ; then \
43082 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
43084 @endif ld
43085 @if libbacktrace
43086 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43087 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
43089 @endif libbacktrace
43090 @if libcpp
43091 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43092 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
43094 @endif libcpp
43095 @if libdecnumber
43096 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43097 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
43099 @endif libdecnumber
43100 @if libiberty
43101 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43102 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
43104 @endif libiberty
43105 @if zlib
43106 @if test -d $(HOST_SUBDIR)/zlib ; then \
43107 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
43109 @endif zlib
43110 @if lto-plugin
43111 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43112 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
43114 @endif lto-plugin
43115 @if test -d $(TARGET_SUBDIR) ; then \
43116 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
43118 rm -f stage_current
43120 # Bubble a bug fix through all the stages up to stage 1. They are
43121 # remade, but not reconfigured. The next stage (if any) will not be
43122 # reconfigured either.
43123 .PHONY: stage1-bubble
43124 stage1-bubble::
43125 @r=`${PWD_COMMAND}`; export r; \
43126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43127 if test -f stage1-lean ; then \
43128 echo Skipping rebuild of stage1 ; \
43129 else \
43130 $(MAKE) stage1-start; \
43131 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
43134 .PHONY: all-stage1 clean-stage1
43135 do-clean: clean-stage1
43137 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43138 # only possibility, but now it conflicts with no-bootstrap rules
43139 @if gcc-bootstrap
43144 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43146 .PHONY: distclean-stage1
43147 distclean-stage1::
43148 @: $(MAKE); $(stage)
43149 @test "`cat stage_last`" != stage1 || rm -f stage_last
43150 rm -rf stage1-*
43153 @endif gcc-bootstrap
43156 .PHONY: stage2-start stage2-end
43158 stage2-start::
43159 @: $(MAKE); $(stage); \
43160 echo stage2 > stage_current ; \
43161 echo stage2 > stage_last; \
43162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43163 @if bfd
43164 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
43165 mkdir stage2-bfd; \
43166 mv stage2-bfd bfd ; \
43167 mv stage1-bfd prev-bfd || test -f stage1-lean
43168 @endif bfd
43169 @if opcodes
43170 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
43171 mkdir stage2-opcodes; \
43172 mv stage2-opcodes opcodes ; \
43173 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43174 @endif opcodes
43175 @if binutils
43176 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
43177 mkdir stage2-binutils; \
43178 mv stage2-binutils binutils ; \
43179 mv stage1-binutils prev-binutils || test -f stage1-lean
43180 @endif binutils
43181 @if gas
43182 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
43183 mkdir stage2-gas; \
43184 mv stage2-gas gas ; \
43185 mv stage1-gas prev-gas || test -f stage1-lean
43186 @endif gas
43187 @if gcc
43188 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
43189 mkdir stage2-gcc; \
43190 mv stage2-gcc gcc ; \
43191 mv stage1-gcc prev-gcc || test -f stage1-lean
43192 @endif gcc
43193 @if gmp
43194 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
43195 mkdir stage2-gmp; \
43196 mv stage2-gmp gmp ; \
43197 mv stage1-gmp prev-gmp || test -f stage1-lean
43198 @endif gmp
43199 @if mpfr
43200 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
43201 mkdir stage2-mpfr; \
43202 mv stage2-mpfr mpfr ; \
43203 mv stage1-mpfr prev-mpfr || test -f stage1-lean
43204 @endif mpfr
43205 @if mpc
43206 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
43207 mkdir stage2-mpc; \
43208 mv stage2-mpc mpc ; \
43209 mv stage1-mpc prev-mpc || test -f stage1-lean
43210 @endif mpc
43211 @if isl
43212 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
43213 mkdir stage2-isl; \
43214 mv stage2-isl isl ; \
43215 mv stage1-isl prev-isl || test -f stage1-lean
43216 @endif isl
43217 @if cloog
43218 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
43219 mkdir stage2-cloog; \
43220 mv stage2-cloog cloog ; \
43221 mv stage1-cloog prev-cloog || test -f stage1-lean
43222 @endif cloog
43223 @if libelf
43224 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
43225 mkdir stage2-libelf; \
43226 mv stage2-libelf libelf ; \
43227 mv stage1-libelf prev-libelf || test -f stage1-lean
43228 @endif libelf
43229 @if gold
43230 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
43231 mkdir stage2-gold; \
43232 mv stage2-gold gold ; \
43233 mv stage1-gold prev-gold || test -f stage1-lean
43234 @endif gold
43235 @if intl
43236 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
43237 mkdir stage2-intl; \
43238 mv stage2-intl intl ; \
43239 mv stage1-intl prev-intl || test -f stage1-lean
43240 @endif intl
43241 @if ld
43242 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
43243 mkdir stage2-ld; \
43244 mv stage2-ld ld ; \
43245 mv stage1-ld prev-ld || test -f stage1-lean
43246 @endif ld
43247 @if libbacktrace
43248 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
43249 mkdir stage2-libbacktrace; \
43250 mv stage2-libbacktrace libbacktrace ; \
43251 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
43252 @endif libbacktrace
43253 @if libcpp
43254 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
43255 mkdir stage2-libcpp; \
43256 mv stage2-libcpp libcpp ; \
43257 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43258 @endif libcpp
43259 @if libdecnumber
43260 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
43261 mkdir stage2-libdecnumber; \
43262 mv stage2-libdecnumber libdecnumber ; \
43263 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43264 @endif libdecnumber
43265 @if libiberty
43266 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
43267 mkdir stage2-libiberty; \
43268 mv stage2-libiberty libiberty ; \
43269 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43270 @endif libiberty
43271 @if zlib
43272 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
43273 mkdir stage2-zlib; \
43274 mv stage2-zlib zlib ; \
43275 mv stage1-zlib prev-zlib || test -f stage1-lean
43276 @endif zlib
43277 @if lto-plugin
43278 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
43279 mkdir stage2-lto-plugin; \
43280 mv stage2-lto-plugin lto-plugin ; \
43281 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
43282 @endif lto-plugin
43283 @[ -d stage2-$(TARGET_SUBDIR) ] || \
43284 mkdir stage2-$(TARGET_SUBDIR); \
43285 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43286 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43288 stage2-end::
43289 @if bfd
43290 @if test -d $(HOST_SUBDIR)/bfd ; then \
43291 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
43292 mv prev-bfd stage1-bfd ; : ; \
43294 @endif bfd
43295 @if opcodes
43296 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43297 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
43298 mv prev-opcodes stage1-opcodes ; : ; \
43300 @endif opcodes
43301 @if binutils
43302 @if test -d $(HOST_SUBDIR)/binutils ; then \
43303 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
43304 mv prev-binutils stage1-binutils ; : ; \
43306 @endif binutils
43307 @if gas
43308 @if test -d $(HOST_SUBDIR)/gas ; then \
43309 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
43310 mv prev-gas stage1-gas ; : ; \
43312 @endif gas
43313 @if gcc
43314 @if test -d $(HOST_SUBDIR)/gcc ; then \
43315 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
43316 mv prev-gcc stage1-gcc ; : ; \
43318 @endif gcc
43319 @if gmp
43320 @if test -d $(HOST_SUBDIR)/gmp ; then \
43321 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
43322 mv prev-gmp stage1-gmp ; : ; \
43324 @endif gmp
43325 @if mpfr
43326 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43327 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
43328 mv prev-mpfr stage1-mpfr ; : ; \
43330 @endif mpfr
43331 @if mpc
43332 @if test -d $(HOST_SUBDIR)/mpc ; then \
43333 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
43334 mv prev-mpc stage1-mpc ; : ; \
43336 @endif mpc
43337 @if isl
43338 @if test -d $(HOST_SUBDIR)/isl ; then \
43339 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
43340 mv prev-isl stage1-isl ; : ; \
43342 @endif isl
43343 @if cloog
43344 @if test -d $(HOST_SUBDIR)/cloog ; then \
43345 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
43346 mv prev-cloog stage1-cloog ; : ; \
43348 @endif cloog
43349 @if libelf
43350 @if test -d $(HOST_SUBDIR)/libelf ; then \
43351 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
43352 mv prev-libelf stage1-libelf ; : ; \
43354 @endif libelf
43355 @if gold
43356 @if test -d $(HOST_SUBDIR)/gold ; then \
43357 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
43358 mv prev-gold stage1-gold ; : ; \
43360 @endif gold
43361 @if intl
43362 @if test -d $(HOST_SUBDIR)/intl ; then \
43363 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
43364 mv prev-intl stage1-intl ; : ; \
43366 @endif intl
43367 @if ld
43368 @if test -d $(HOST_SUBDIR)/ld ; then \
43369 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
43370 mv prev-ld stage1-ld ; : ; \
43372 @endif ld
43373 @if libbacktrace
43374 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43375 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
43376 mv prev-libbacktrace stage1-libbacktrace ; : ; \
43378 @endif libbacktrace
43379 @if libcpp
43380 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43381 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
43382 mv prev-libcpp stage1-libcpp ; : ; \
43384 @endif libcpp
43385 @if libdecnumber
43386 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43387 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
43388 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43390 @endif libdecnumber
43391 @if libiberty
43392 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43393 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
43394 mv prev-libiberty stage1-libiberty ; : ; \
43396 @endif libiberty
43397 @if zlib
43398 @if test -d $(HOST_SUBDIR)/zlib ; then \
43399 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
43400 mv prev-zlib stage1-zlib ; : ; \
43402 @endif zlib
43403 @if lto-plugin
43404 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43405 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
43406 mv prev-lto-plugin stage1-lto-plugin ; : ; \
43408 @endif lto-plugin
43409 @if test -d $(TARGET_SUBDIR) ; then \
43410 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
43411 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43413 rm -f stage_current
43415 # Bubble a bug fix through all the stages up to stage 2. They are
43416 # remade, but not reconfigured. The next stage (if any) will not be
43417 # reconfigured either.
43418 .PHONY: stage2-bubble
43419 stage2-bubble:: stage1-bubble
43420 @r=`${PWD_COMMAND}`; export r; \
43421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43422 if test -f stage2-lean || test -f stage1-lean ; then \
43423 echo Skipping rebuild of stage2 ; \
43424 else \
43425 $(MAKE) stage2-start; \
43426 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
43429 .PHONY: all-stage2 clean-stage2
43430 do-clean: clean-stage2
43432 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43433 # only possibility, but now it conflicts with no-bootstrap rules
43434 @if gcc-bootstrap
43438 .PHONY: bootstrap2 bootstrap2-lean
43439 bootstrap2:
43440 echo stage2 > stage_final
43441 @r=`${PWD_COMMAND}`; export r; \
43442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43443 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
43444 @: $(MAKE); $(unstage)
43445 @r=`${PWD_COMMAND}`; export r; \
43446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43447 TFLAGS="$(STAGE2_TFLAGS)"; \
43448 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43450 bootstrap2-lean:
43451 echo stage2 > stage_final
43452 @r=`${PWD_COMMAND}`; export r; \
43453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43454 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
43455 @: $(MAKE); $(unstage)
43456 @r=`${PWD_COMMAND}`; export r; \
43457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43458 TFLAGS="$(STAGE2_TFLAGS)"; \
43459 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43462 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43463 distclean-stage1:: distclean-stage2
43464 .PHONY: distclean-stage2
43465 distclean-stage2::
43466 @: $(MAKE); $(stage)
43467 @test "`cat stage_last`" != stage2 || rm -f stage_last
43468 rm -rf stage2-*
43471 @endif gcc-bootstrap
43474 .PHONY: stage3-start stage3-end
43476 stage3-start::
43477 @: $(MAKE); $(stage); \
43478 echo stage3 > stage_current ; \
43479 echo stage3 > stage_last; \
43480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43481 @if bfd
43482 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
43483 mkdir stage3-bfd; \
43484 mv stage3-bfd bfd ; \
43485 mv stage2-bfd prev-bfd || test -f stage2-lean
43486 @endif bfd
43487 @if opcodes
43488 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
43489 mkdir stage3-opcodes; \
43490 mv stage3-opcodes opcodes ; \
43491 mv stage2-opcodes prev-opcodes || test -f stage2-lean
43492 @endif opcodes
43493 @if binutils
43494 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
43495 mkdir stage3-binutils; \
43496 mv stage3-binutils binutils ; \
43497 mv stage2-binutils prev-binutils || test -f stage2-lean
43498 @endif binutils
43499 @if gas
43500 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
43501 mkdir stage3-gas; \
43502 mv stage3-gas gas ; \
43503 mv stage2-gas prev-gas || test -f stage2-lean
43504 @endif gas
43505 @if gcc
43506 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
43507 mkdir stage3-gcc; \
43508 mv stage3-gcc gcc ; \
43509 mv stage2-gcc prev-gcc || test -f stage2-lean
43510 @endif gcc
43511 @if gmp
43512 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
43513 mkdir stage3-gmp; \
43514 mv stage3-gmp gmp ; \
43515 mv stage2-gmp prev-gmp || test -f stage2-lean
43516 @endif gmp
43517 @if mpfr
43518 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
43519 mkdir stage3-mpfr; \
43520 mv stage3-mpfr mpfr ; \
43521 mv stage2-mpfr prev-mpfr || test -f stage2-lean
43522 @endif mpfr
43523 @if mpc
43524 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
43525 mkdir stage3-mpc; \
43526 mv stage3-mpc mpc ; \
43527 mv stage2-mpc prev-mpc || test -f stage2-lean
43528 @endif mpc
43529 @if isl
43530 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
43531 mkdir stage3-isl; \
43532 mv stage3-isl isl ; \
43533 mv stage2-isl prev-isl || test -f stage2-lean
43534 @endif isl
43535 @if cloog
43536 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
43537 mkdir stage3-cloog; \
43538 mv stage3-cloog cloog ; \
43539 mv stage2-cloog prev-cloog || test -f stage2-lean
43540 @endif cloog
43541 @if libelf
43542 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
43543 mkdir stage3-libelf; \
43544 mv stage3-libelf libelf ; \
43545 mv stage2-libelf prev-libelf || test -f stage2-lean
43546 @endif libelf
43547 @if gold
43548 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
43549 mkdir stage3-gold; \
43550 mv stage3-gold gold ; \
43551 mv stage2-gold prev-gold || test -f stage2-lean
43552 @endif gold
43553 @if intl
43554 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
43555 mkdir stage3-intl; \
43556 mv stage3-intl intl ; \
43557 mv stage2-intl prev-intl || test -f stage2-lean
43558 @endif intl
43559 @if ld
43560 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
43561 mkdir stage3-ld; \
43562 mv stage3-ld ld ; \
43563 mv stage2-ld prev-ld || test -f stage2-lean
43564 @endif ld
43565 @if libbacktrace
43566 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
43567 mkdir stage3-libbacktrace; \
43568 mv stage3-libbacktrace libbacktrace ; \
43569 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
43570 @endif libbacktrace
43571 @if libcpp
43572 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
43573 mkdir stage3-libcpp; \
43574 mv stage3-libcpp libcpp ; \
43575 mv stage2-libcpp prev-libcpp || test -f stage2-lean
43576 @endif libcpp
43577 @if libdecnumber
43578 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
43579 mkdir stage3-libdecnumber; \
43580 mv stage3-libdecnumber libdecnumber ; \
43581 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
43582 @endif libdecnumber
43583 @if libiberty
43584 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
43585 mkdir stage3-libiberty; \
43586 mv stage3-libiberty libiberty ; \
43587 mv stage2-libiberty prev-libiberty || test -f stage2-lean
43588 @endif libiberty
43589 @if zlib
43590 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
43591 mkdir stage3-zlib; \
43592 mv stage3-zlib zlib ; \
43593 mv stage2-zlib prev-zlib || test -f stage2-lean
43594 @endif zlib
43595 @if lto-plugin
43596 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
43597 mkdir stage3-lto-plugin; \
43598 mv stage3-lto-plugin lto-plugin ; \
43599 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
43600 @endif lto-plugin
43601 @[ -d stage3-$(TARGET_SUBDIR) ] || \
43602 mkdir stage3-$(TARGET_SUBDIR); \
43603 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43604 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
43606 stage3-end::
43607 @if bfd
43608 @if test -d $(HOST_SUBDIR)/bfd ; then \
43609 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
43610 mv prev-bfd stage2-bfd ; : ; \
43612 @endif bfd
43613 @if opcodes
43614 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43615 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
43616 mv prev-opcodes stage2-opcodes ; : ; \
43618 @endif opcodes
43619 @if binutils
43620 @if test -d $(HOST_SUBDIR)/binutils ; then \
43621 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
43622 mv prev-binutils stage2-binutils ; : ; \
43624 @endif binutils
43625 @if gas
43626 @if test -d $(HOST_SUBDIR)/gas ; then \
43627 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
43628 mv prev-gas stage2-gas ; : ; \
43630 @endif gas
43631 @if gcc
43632 @if test -d $(HOST_SUBDIR)/gcc ; then \
43633 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
43634 mv prev-gcc stage2-gcc ; : ; \
43636 @endif gcc
43637 @if gmp
43638 @if test -d $(HOST_SUBDIR)/gmp ; then \
43639 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
43640 mv prev-gmp stage2-gmp ; : ; \
43642 @endif gmp
43643 @if mpfr
43644 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43645 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
43646 mv prev-mpfr stage2-mpfr ; : ; \
43648 @endif mpfr
43649 @if mpc
43650 @if test -d $(HOST_SUBDIR)/mpc ; then \
43651 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
43652 mv prev-mpc stage2-mpc ; : ; \
43654 @endif mpc
43655 @if isl
43656 @if test -d $(HOST_SUBDIR)/isl ; then \
43657 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
43658 mv prev-isl stage2-isl ; : ; \
43660 @endif isl
43661 @if cloog
43662 @if test -d $(HOST_SUBDIR)/cloog ; then \
43663 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
43664 mv prev-cloog stage2-cloog ; : ; \
43666 @endif cloog
43667 @if libelf
43668 @if test -d $(HOST_SUBDIR)/libelf ; then \
43669 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
43670 mv prev-libelf stage2-libelf ; : ; \
43672 @endif libelf
43673 @if gold
43674 @if test -d $(HOST_SUBDIR)/gold ; then \
43675 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
43676 mv prev-gold stage2-gold ; : ; \
43678 @endif gold
43679 @if intl
43680 @if test -d $(HOST_SUBDIR)/intl ; then \
43681 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
43682 mv prev-intl stage2-intl ; : ; \
43684 @endif intl
43685 @if ld
43686 @if test -d $(HOST_SUBDIR)/ld ; then \
43687 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
43688 mv prev-ld stage2-ld ; : ; \
43690 @endif ld
43691 @if libbacktrace
43692 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43693 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
43694 mv prev-libbacktrace stage2-libbacktrace ; : ; \
43696 @endif libbacktrace
43697 @if libcpp
43698 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43699 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
43700 mv prev-libcpp stage2-libcpp ; : ; \
43702 @endif libcpp
43703 @if libdecnumber
43704 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43705 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
43706 mv prev-libdecnumber stage2-libdecnumber ; : ; \
43708 @endif libdecnumber
43709 @if libiberty
43710 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43711 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
43712 mv prev-libiberty stage2-libiberty ; : ; \
43714 @endif libiberty
43715 @if zlib
43716 @if test -d $(HOST_SUBDIR)/zlib ; then \
43717 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
43718 mv prev-zlib stage2-zlib ; : ; \
43720 @endif zlib
43721 @if lto-plugin
43722 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43723 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
43724 mv prev-lto-plugin stage2-lto-plugin ; : ; \
43726 @endif lto-plugin
43727 @if test -d $(TARGET_SUBDIR) ; then \
43728 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
43729 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
43731 rm -f stage_current
43733 # Bubble a bug fix through all the stages up to stage 3. They are
43734 # remade, but not reconfigured. The next stage (if any) will not be
43735 # reconfigured either.
43736 .PHONY: stage3-bubble
43737 stage3-bubble:: stage2-bubble
43738 @r=`${PWD_COMMAND}`; export r; \
43739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43740 if test -f stage3-lean || test -f stage2-lean ; then \
43741 echo Skipping rebuild of stage3 ; \
43742 else \
43743 $(MAKE) stage3-start; \
43744 if $(LEAN); then \
43745 rm -rf stage1-* ; \
43746 $(STAMP) stage1-lean ; \
43747 fi; \
43748 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
43750 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
43752 .PHONY: all-stage3 clean-stage3
43753 do-clean: clean-stage3
43755 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43756 # only possibility, but now it conflicts with no-bootstrap rules
43757 @if gcc-bootstrap
43759 compare:
43760 @r=`${PWD_COMMAND}`; export r; \
43761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43762 if test -f stage2-lean; then \
43763 echo Cannot compare object files as stage 2 was deleted. ; \
43764 exit 0 ; \
43765 fi; \
43766 : $(MAKE); $(stage); \
43767 rm -f .bad_compare ; \
43768 echo Comparing stages 2 and 3 ; \
43769 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
43770 files=`find stage3-* -name "*$(objext)" -print | \
43771 sed -n s,^stage$$sed-,,p` ; \
43772 for file in $${files} ; do \
43773 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
43774 if test ! -f $$f1; then continue; fi; \
43775 $(do-compare) > /dev/null 2>&1; \
43776 if test $$? -eq 1; then \
43777 case $$file in \
43778 @compare_exclusions@) \
43779 echo warning: $$file differs ;; \
43780 *) \
43781 echo $$file differs >> .bad_compare ;; \
43782 esac ; \
43783 fi ; \
43784 done ; \
43785 if [ -f .bad_compare ]; then \
43786 echo "Bootstrap comparison failure!"; \
43787 cat .bad_compare; \
43788 exit 1; \
43789 else \
43790 echo Comparison successful.; \
43791 fi ; \
43792 $(STAMP) compare
43793 if $(LEAN); then \
43794 rm -rf stage2-*; \
43795 $(STAMP) stage2-lean; \
43800 .PHONY: bootstrap bootstrap-lean
43801 bootstrap:
43802 echo stage3 > stage_final
43803 @r=`${PWD_COMMAND}`; export r; \
43804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
43806 @: $(MAKE); $(unstage)
43807 @r=`${PWD_COMMAND}`; export r; \
43808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43809 TFLAGS="$(STAGE3_TFLAGS)"; \
43810 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43812 bootstrap-lean:
43813 echo stage3 > stage_final
43814 @r=`${PWD_COMMAND}`; export r; \
43815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43816 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
43817 @: $(MAKE); $(unstage)
43818 @r=`${PWD_COMMAND}`; export r; \
43819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43820 TFLAGS="$(STAGE3_TFLAGS)"; \
43821 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43824 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43825 distclean-stage2:: distclean-stage3
43826 .PHONY: distclean-stage3
43827 distclean-stage3::
43828 @: $(MAKE); $(stage)
43829 @test "`cat stage_last`" != stage3 || rm -f stage_last
43830 rm -rf stage3-* compare
43833 .PHONY: cleanstrap
43834 cleanstrap: do-distclean local-clean
43835 echo stage3 > stage_final
43836 @r=`${PWD_COMMAND}`; export r; \
43837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43838 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
43839 @: $(MAKE); $(unstage)
43840 @r=`${PWD_COMMAND}`; export r; \
43841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43842 TFLAGS="$(STAGE3_TFLAGS)"; \
43843 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43845 @endif gcc-bootstrap
43848 .PHONY: stage4-start stage4-end
43850 stage4-start::
43851 @: $(MAKE); $(stage); \
43852 echo stage4 > stage_current ; \
43853 echo stage4 > stage_last; \
43854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43855 @if bfd
43856 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
43857 mkdir stage4-bfd; \
43858 mv stage4-bfd bfd ; \
43859 mv stage3-bfd prev-bfd || test -f stage3-lean
43860 @endif bfd
43861 @if opcodes
43862 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
43863 mkdir stage4-opcodes; \
43864 mv stage4-opcodes opcodes ; \
43865 mv stage3-opcodes prev-opcodes || test -f stage3-lean
43866 @endif opcodes
43867 @if binutils
43868 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
43869 mkdir stage4-binutils; \
43870 mv stage4-binutils binutils ; \
43871 mv stage3-binutils prev-binutils || test -f stage3-lean
43872 @endif binutils
43873 @if gas
43874 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
43875 mkdir stage4-gas; \
43876 mv stage4-gas gas ; \
43877 mv stage3-gas prev-gas || test -f stage3-lean
43878 @endif gas
43879 @if gcc
43880 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
43881 mkdir stage4-gcc; \
43882 mv stage4-gcc gcc ; \
43883 mv stage3-gcc prev-gcc || test -f stage3-lean
43884 @endif gcc
43885 @if gmp
43886 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
43887 mkdir stage4-gmp; \
43888 mv stage4-gmp gmp ; \
43889 mv stage3-gmp prev-gmp || test -f stage3-lean
43890 @endif gmp
43891 @if mpfr
43892 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
43893 mkdir stage4-mpfr; \
43894 mv stage4-mpfr mpfr ; \
43895 mv stage3-mpfr prev-mpfr || test -f stage3-lean
43896 @endif mpfr
43897 @if mpc
43898 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
43899 mkdir stage4-mpc; \
43900 mv stage4-mpc mpc ; \
43901 mv stage3-mpc prev-mpc || test -f stage3-lean
43902 @endif mpc
43903 @if isl
43904 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
43905 mkdir stage4-isl; \
43906 mv stage4-isl isl ; \
43907 mv stage3-isl prev-isl || test -f stage3-lean
43908 @endif isl
43909 @if cloog
43910 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
43911 mkdir stage4-cloog; \
43912 mv stage4-cloog cloog ; \
43913 mv stage3-cloog prev-cloog || test -f stage3-lean
43914 @endif cloog
43915 @if libelf
43916 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
43917 mkdir stage4-libelf; \
43918 mv stage4-libelf libelf ; \
43919 mv stage3-libelf prev-libelf || test -f stage3-lean
43920 @endif libelf
43921 @if gold
43922 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
43923 mkdir stage4-gold; \
43924 mv stage4-gold gold ; \
43925 mv stage3-gold prev-gold || test -f stage3-lean
43926 @endif gold
43927 @if intl
43928 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
43929 mkdir stage4-intl; \
43930 mv stage4-intl intl ; \
43931 mv stage3-intl prev-intl || test -f stage3-lean
43932 @endif intl
43933 @if ld
43934 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
43935 mkdir stage4-ld; \
43936 mv stage4-ld ld ; \
43937 mv stage3-ld prev-ld || test -f stage3-lean
43938 @endif ld
43939 @if libbacktrace
43940 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
43941 mkdir stage4-libbacktrace; \
43942 mv stage4-libbacktrace libbacktrace ; \
43943 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
43944 @endif libbacktrace
43945 @if libcpp
43946 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
43947 mkdir stage4-libcpp; \
43948 mv stage4-libcpp libcpp ; \
43949 mv stage3-libcpp prev-libcpp || test -f stage3-lean
43950 @endif libcpp
43951 @if libdecnumber
43952 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
43953 mkdir stage4-libdecnumber; \
43954 mv stage4-libdecnumber libdecnumber ; \
43955 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
43956 @endif libdecnumber
43957 @if libiberty
43958 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
43959 mkdir stage4-libiberty; \
43960 mv stage4-libiberty libiberty ; \
43961 mv stage3-libiberty prev-libiberty || test -f stage3-lean
43962 @endif libiberty
43963 @if zlib
43964 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
43965 mkdir stage4-zlib; \
43966 mv stage4-zlib zlib ; \
43967 mv stage3-zlib prev-zlib || test -f stage3-lean
43968 @endif zlib
43969 @if lto-plugin
43970 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
43971 mkdir stage4-lto-plugin; \
43972 mv stage4-lto-plugin lto-plugin ; \
43973 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
43974 @endif lto-plugin
43975 @[ -d stage4-$(TARGET_SUBDIR) ] || \
43976 mkdir stage4-$(TARGET_SUBDIR); \
43977 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43978 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
43980 stage4-end::
43981 @if bfd
43982 @if test -d $(HOST_SUBDIR)/bfd ; then \
43983 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
43984 mv prev-bfd stage3-bfd ; : ; \
43986 @endif bfd
43987 @if opcodes
43988 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43989 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
43990 mv prev-opcodes stage3-opcodes ; : ; \
43992 @endif opcodes
43993 @if binutils
43994 @if test -d $(HOST_SUBDIR)/binutils ; then \
43995 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
43996 mv prev-binutils stage3-binutils ; : ; \
43998 @endif binutils
43999 @if gas
44000 @if test -d $(HOST_SUBDIR)/gas ; then \
44001 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
44002 mv prev-gas stage3-gas ; : ; \
44004 @endif gas
44005 @if gcc
44006 @if test -d $(HOST_SUBDIR)/gcc ; then \
44007 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
44008 mv prev-gcc stage3-gcc ; : ; \
44010 @endif gcc
44011 @if gmp
44012 @if test -d $(HOST_SUBDIR)/gmp ; then \
44013 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
44014 mv prev-gmp stage3-gmp ; : ; \
44016 @endif gmp
44017 @if mpfr
44018 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44019 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
44020 mv prev-mpfr stage3-mpfr ; : ; \
44022 @endif mpfr
44023 @if mpc
44024 @if test -d $(HOST_SUBDIR)/mpc ; then \
44025 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
44026 mv prev-mpc stage3-mpc ; : ; \
44028 @endif mpc
44029 @if isl
44030 @if test -d $(HOST_SUBDIR)/isl ; then \
44031 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
44032 mv prev-isl stage3-isl ; : ; \
44034 @endif isl
44035 @if cloog
44036 @if test -d $(HOST_SUBDIR)/cloog ; then \
44037 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
44038 mv prev-cloog stage3-cloog ; : ; \
44040 @endif cloog
44041 @if libelf
44042 @if test -d $(HOST_SUBDIR)/libelf ; then \
44043 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
44044 mv prev-libelf stage3-libelf ; : ; \
44046 @endif libelf
44047 @if gold
44048 @if test -d $(HOST_SUBDIR)/gold ; then \
44049 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
44050 mv prev-gold stage3-gold ; : ; \
44052 @endif gold
44053 @if intl
44054 @if test -d $(HOST_SUBDIR)/intl ; then \
44055 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
44056 mv prev-intl stage3-intl ; : ; \
44058 @endif intl
44059 @if ld
44060 @if test -d $(HOST_SUBDIR)/ld ; then \
44061 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
44062 mv prev-ld stage3-ld ; : ; \
44064 @endif ld
44065 @if libbacktrace
44066 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44067 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
44068 mv prev-libbacktrace stage3-libbacktrace ; : ; \
44070 @endif libbacktrace
44071 @if libcpp
44072 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44073 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
44074 mv prev-libcpp stage3-libcpp ; : ; \
44076 @endif libcpp
44077 @if libdecnumber
44078 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44079 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
44080 mv prev-libdecnumber stage3-libdecnumber ; : ; \
44082 @endif libdecnumber
44083 @if libiberty
44084 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44085 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
44086 mv prev-libiberty stage3-libiberty ; : ; \
44088 @endif libiberty
44089 @if zlib
44090 @if test -d $(HOST_SUBDIR)/zlib ; then \
44091 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
44092 mv prev-zlib stage3-zlib ; : ; \
44094 @endif zlib
44095 @if lto-plugin
44096 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44097 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
44098 mv prev-lto-plugin stage3-lto-plugin ; : ; \
44100 @endif lto-plugin
44101 @if test -d $(TARGET_SUBDIR) ; then \
44102 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
44103 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
44105 rm -f stage_current
44107 # Bubble a bug fix through all the stages up to stage 4. They are
44108 # remade, but not reconfigured. The next stage (if any) will not be
44109 # reconfigured either.
44110 .PHONY: stage4-bubble
44111 stage4-bubble:: stage3-bubble
44112 @r=`${PWD_COMMAND}`; export r; \
44113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44114 if test -f stage4-lean || test -f stage3-lean ; then \
44115 echo Skipping rebuild of stage4 ; \
44116 else \
44117 $(MAKE) stage4-start; \
44118 if $(LEAN); then \
44119 rm -rf stage2-* ; \
44120 $(STAMP) stage2-lean ; \
44121 fi; \
44122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
44124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
44126 .PHONY: all-stage4 clean-stage4
44127 do-clean: clean-stage4
44129 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44130 # only possibility, but now it conflicts with no-bootstrap rules
44131 @if gcc-bootstrap
44133 compare3:
44134 @r=`${PWD_COMMAND}`; export r; \
44135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44136 if test -f stage3-lean; then \
44137 echo Cannot compare object files as stage 3 was deleted. ; \
44138 exit 0 ; \
44139 fi; \
44140 : $(MAKE); $(stage); \
44141 rm -f .bad_compare ; \
44142 echo Comparing stages 3 and 4 ; \
44143 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
44144 files=`find stage4-* -name "*$(objext)" -print | \
44145 sed -n s,^stage$$sed-,,p` ; \
44146 for file in $${files} ; do \
44147 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
44148 if test ! -f $$f1; then continue; fi; \
44149 $(do-compare3) > /dev/null 2>&1; \
44150 if test $$? -eq 1; then \
44151 case $$file in \
44152 @compare_exclusions@) \
44153 echo warning: $$file differs ;; \
44154 *) \
44155 echo $$file differs >> .bad_compare ;; \
44156 esac ; \
44157 fi ; \
44158 done ; \
44159 if [ -f .bad_compare ]; then \
44160 echo "Bootstrap comparison failure!"; \
44161 cat .bad_compare; \
44162 exit 1; \
44163 else \
44164 echo Comparison successful.; \
44165 fi ; \
44166 $(STAMP) compare3
44167 if $(LEAN); then \
44168 rm -rf stage3-*; \
44169 $(STAMP) stage3-lean; \
44174 .PHONY: bootstrap4 bootstrap4-lean
44175 bootstrap4:
44176 echo stage4 > stage_final
44177 @r=`${PWD_COMMAND}`; export r; \
44178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44179 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
44180 @: $(MAKE); $(unstage)
44181 @r=`${PWD_COMMAND}`; export r; \
44182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44183 TFLAGS="$(STAGE4_TFLAGS)"; \
44184 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44186 bootstrap4-lean:
44187 echo stage4 > stage_final
44188 @r=`${PWD_COMMAND}`; export r; \
44189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44190 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
44191 @: $(MAKE); $(unstage)
44192 @r=`${PWD_COMMAND}`; export r; \
44193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44194 TFLAGS="$(STAGE4_TFLAGS)"; \
44195 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44198 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44199 distclean-stage3:: distclean-stage4
44200 .PHONY: distclean-stage4
44201 distclean-stage4::
44202 @: $(MAKE); $(stage)
44203 @test "`cat stage_last`" != stage4 || rm -f stage_last
44204 rm -rf stage4-* compare3
44207 @endif gcc-bootstrap
44210 .PHONY: stageprofile-start stageprofile-end
44212 stageprofile-start::
44213 @: $(MAKE); $(stage); \
44214 echo stageprofile > stage_current ; \
44215 echo stageprofile > stage_last; \
44216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44217 @if bfd
44218 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
44219 mkdir stageprofile-bfd; \
44220 mv stageprofile-bfd bfd ; \
44221 mv stage1-bfd prev-bfd || test -f stage1-lean
44222 @endif bfd
44223 @if opcodes
44224 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
44225 mkdir stageprofile-opcodes; \
44226 mv stageprofile-opcodes opcodes ; \
44227 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44228 @endif opcodes
44229 @if binutils
44230 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
44231 mkdir stageprofile-binutils; \
44232 mv stageprofile-binutils binutils ; \
44233 mv stage1-binutils prev-binutils || test -f stage1-lean
44234 @endif binutils
44235 @if gas
44236 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
44237 mkdir stageprofile-gas; \
44238 mv stageprofile-gas gas ; \
44239 mv stage1-gas prev-gas || test -f stage1-lean
44240 @endif gas
44241 @if gcc
44242 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
44243 mkdir stageprofile-gcc; \
44244 mv stageprofile-gcc gcc ; \
44245 mv stage1-gcc prev-gcc || test -f stage1-lean
44246 @endif gcc
44247 @if gmp
44248 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
44249 mkdir stageprofile-gmp; \
44250 mv stageprofile-gmp gmp ; \
44251 mv stage1-gmp prev-gmp || test -f stage1-lean
44252 @endif gmp
44253 @if mpfr
44254 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
44255 mkdir stageprofile-mpfr; \
44256 mv stageprofile-mpfr mpfr ; \
44257 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44258 @endif mpfr
44259 @if mpc
44260 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
44261 mkdir stageprofile-mpc; \
44262 mv stageprofile-mpc mpc ; \
44263 mv stage1-mpc prev-mpc || test -f stage1-lean
44264 @endif mpc
44265 @if isl
44266 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
44267 mkdir stageprofile-isl; \
44268 mv stageprofile-isl isl ; \
44269 mv stage1-isl prev-isl || test -f stage1-lean
44270 @endif isl
44271 @if cloog
44272 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
44273 mkdir stageprofile-cloog; \
44274 mv stageprofile-cloog cloog ; \
44275 mv stage1-cloog prev-cloog || test -f stage1-lean
44276 @endif cloog
44277 @if libelf
44278 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
44279 mkdir stageprofile-libelf; \
44280 mv stageprofile-libelf libelf ; \
44281 mv stage1-libelf prev-libelf || test -f stage1-lean
44282 @endif libelf
44283 @if gold
44284 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
44285 mkdir stageprofile-gold; \
44286 mv stageprofile-gold gold ; \
44287 mv stage1-gold prev-gold || test -f stage1-lean
44288 @endif gold
44289 @if intl
44290 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
44291 mkdir stageprofile-intl; \
44292 mv stageprofile-intl intl ; \
44293 mv stage1-intl prev-intl || test -f stage1-lean
44294 @endif intl
44295 @if ld
44296 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
44297 mkdir stageprofile-ld; \
44298 mv stageprofile-ld ld ; \
44299 mv stage1-ld prev-ld || test -f stage1-lean
44300 @endif ld
44301 @if libbacktrace
44302 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
44303 mkdir stageprofile-libbacktrace; \
44304 mv stageprofile-libbacktrace libbacktrace ; \
44305 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44306 @endif libbacktrace
44307 @if libcpp
44308 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
44309 mkdir stageprofile-libcpp; \
44310 mv stageprofile-libcpp libcpp ; \
44311 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44312 @endif libcpp
44313 @if libdecnumber
44314 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
44315 mkdir stageprofile-libdecnumber; \
44316 mv stageprofile-libdecnumber libdecnumber ; \
44317 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44318 @endif libdecnumber
44319 @if libiberty
44320 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
44321 mkdir stageprofile-libiberty; \
44322 mv stageprofile-libiberty libiberty ; \
44323 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44324 @endif libiberty
44325 @if zlib
44326 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
44327 mkdir stageprofile-zlib; \
44328 mv stageprofile-zlib zlib ; \
44329 mv stage1-zlib prev-zlib || test -f stage1-lean
44330 @endif zlib
44331 @if lto-plugin
44332 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
44333 mkdir stageprofile-lto-plugin; \
44334 mv stageprofile-lto-plugin lto-plugin ; \
44335 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44336 @endif lto-plugin
44337 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
44338 mkdir stageprofile-$(TARGET_SUBDIR); \
44339 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44340 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44342 stageprofile-end::
44343 @if bfd
44344 @if test -d $(HOST_SUBDIR)/bfd ; then \
44345 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
44346 mv prev-bfd stage1-bfd ; : ; \
44348 @endif bfd
44349 @if opcodes
44350 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44351 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
44352 mv prev-opcodes stage1-opcodes ; : ; \
44354 @endif opcodes
44355 @if binutils
44356 @if test -d $(HOST_SUBDIR)/binutils ; then \
44357 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
44358 mv prev-binutils stage1-binutils ; : ; \
44360 @endif binutils
44361 @if gas
44362 @if test -d $(HOST_SUBDIR)/gas ; then \
44363 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
44364 mv prev-gas stage1-gas ; : ; \
44366 @endif gas
44367 @if gcc
44368 @if test -d $(HOST_SUBDIR)/gcc ; then \
44369 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
44370 mv prev-gcc stage1-gcc ; : ; \
44372 @endif gcc
44373 @if gmp
44374 @if test -d $(HOST_SUBDIR)/gmp ; then \
44375 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
44376 mv prev-gmp stage1-gmp ; : ; \
44378 @endif gmp
44379 @if mpfr
44380 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44381 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
44382 mv prev-mpfr stage1-mpfr ; : ; \
44384 @endif mpfr
44385 @if mpc
44386 @if test -d $(HOST_SUBDIR)/mpc ; then \
44387 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
44388 mv prev-mpc stage1-mpc ; : ; \
44390 @endif mpc
44391 @if isl
44392 @if test -d $(HOST_SUBDIR)/isl ; then \
44393 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
44394 mv prev-isl stage1-isl ; : ; \
44396 @endif isl
44397 @if cloog
44398 @if test -d $(HOST_SUBDIR)/cloog ; then \
44399 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
44400 mv prev-cloog stage1-cloog ; : ; \
44402 @endif cloog
44403 @if libelf
44404 @if test -d $(HOST_SUBDIR)/libelf ; then \
44405 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
44406 mv prev-libelf stage1-libelf ; : ; \
44408 @endif libelf
44409 @if gold
44410 @if test -d $(HOST_SUBDIR)/gold ; then \
44411 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
44412 mv prev-gold stage1-gold ; : ; \
44414 @endif gold
44415 @if intl
44416 @if test -d $(HOST_SUBDIR)/intl ; then \
44417 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
44418 mv prev-intl stage1-intl ; : ; \
44420 @endif intl
44421 @if ld
44422 @if test -d $(HOST_SUBDIR)/ld ; then \
44423 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
44424 mv prev-ld stage1-ld ; : ; \
44426 @endif ld
44427 @if libbacktrace
44428 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44429 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
44430 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44432 @endif libbacktrace
44433 @if libcpp
44434 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44435 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
44436 mv prev-libcpp stage1-libcpp ; : ; \
44438 @endif libcpp
44439 @if libdecnumber
44440 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44441 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
44442 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44444 @endif libdecnumber
44445 @if libiberty
44446 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44447 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
44448 mv prev-libiberty stage1-libiberty ; : ; \
44450 @endif libiberty
44451 @if zlib
44452 @if test -d $(HOST_SUBDIR)/zlib ; then \
44453 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
44454 mv prev-zlib stage1-zlib ; : ; \
44456 @endif zlib
44457 @if lto-plugin
44458 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44459 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
44460 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44462 @endif lto-plugin
44463 @if test -d $(TARGET_SUBDIR) ; then \
44464 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
44465 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44467 rm -f stage_current
44469 # Bubble a bug fix through all the stages up to stage profile. They are
44470 # remade, but not reconfigured. The next stage (if any) will not be
44471 # reconfigured either.
44472 .PHONY: stageprofile-bubble
44473 stageprofile-bubble:: stage1-bubble
44474 @r=`${PWD_COMMAND}`; export r; \
44475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44476 if test -f stageprofile-lean || test -f stage1-lean ; then \
44477 echo Skipping rebuild of stageprofile ; \
44478 else \
44479 $(MAKE) stageprofile-start; \
44480 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
44483 .PHONY: all-stageprofile clean-stageprofile
44484 do-clean: clean-stageprofile
44486 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44487 # only possibility, but now it conflicts with no-bootstrap rules
44488 @if gcc-bootstrap
44493 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44494 distclean-stage1:: distclean-stageprofile
44495 .PHONY: distclean-stageprofile
44496 distclean-stageprofile::
44497 @: $(MAKE); $(stage)
44498 @test "`cat stage_last`" != stageprofile || rm -f stage_last
44499 rm -rf stageprofile-*
44502 @endif gcc-bootstrap
44505 .PHONY: stagefeedback-start stagefeedback-end
44507 stagefeedback-start::
44508 @: $(MAKE); $(stage); \
44509 echo stagefeedback > stage_current ; \
44510 echo stagefeedback > stage_last; \
44511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44512 @if bfd
44513 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
44514 mkdir stagefeedback-bfd; \
44515 mv stagefeedback-bfd bfd ; \
44516 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
44517 @endif bfd
44518 @if opcodes
44519 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
44520 mkdir stagefeedback-opcodes; \
44521 mv stagefeedback-opcodes opcodes ; \
44522 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
44523 @endif opcodes
44524 @if binutils
44525 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
44526 mkdir stagefeedback-binutils; \
44527 mv stagefeedback-binutils binutils ; \
44528 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
44529 @endif binutils
44530 @if gas
44531 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
44532 mkdir stagefeedback-gas; \
44533 mv stagefeedback-gas gas ; \
44534 mv stageprofile-gas prev-gas || test -f stageprofile-lean
44535 @endif gas
44536 @if gcc
44537 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
44538 mkdir stagefeedback-gcc; \
44539 mv stagefeedback-gcc gcc ; \
44540 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
44541 @endif gcc
44542 @if gmp
44543 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
44544 mkdir stagefeedback-gmp; \
44545 mv stagefeedback-gmp gmp ; \
44546 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
44547 @endif gmp
44548 @if mpfr
44549 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
44550 mkdir stagefeedback-mpfr; \
44551 mv stagefeedback-mpfr mpfr ; \
44552 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
44553 @endif mpfr
44554 @if mpc
44555 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
44556 mkdir stagefeedback-mpc; \
44557 mv stagefeedback-mpc mpc ; \
44558 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
44559 @endif mpc
44560 @if isl
44561 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
44562 mkdir stagefeedback-isl; \
44563 mv stagefeedback-isl isl ; \
44564 mv stageprofile-isl prev-isl || test -f stageprofile-lean
44565 @endif isl
44566 @if cloog
44567 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
44568 mkdir stagefeedback-cloog; \
44569 mv stagefeedback-cloog cloog ; \
44570 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
44571 @endif cloog
44572 @if libelf
44573 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
44574 mkdir stagefeedback-libelf; \
44575 mv stagefeedback-libelf libelf ; \
44576 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
44577 @endif libelf
44578 @if gold
44579 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
44580 mkdir stagefeedback-gold; \
44581 mv stagefeedback-gold gold ; \
44582 mv stageprofile-gold prev-gold || test -f stageprofile-lean
44583 @endif gold
44584 @if intl
44585 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
44586 mkdir stagefeedback-intl; \
44587 mv stagefeedback-intl intl ; \
44588 mv stageprofile-intl prev-intl || test -f stageprofile-lean
44589 @endif intl
44590 @if ld
44591 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
44592 mkdir stagefeedback-ld; \
44593 mv stagefeedback-ld ld ; \
44594 mv stageprofile-ld prev-ld || test -f stageprofile-lean
44595 @endif ld
44596 @if libbacktrace
44597 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
44598 mkdir stagefeedback-libbacktrace; \
44599 mv stagefeedback-libbacktrace libbacktrace ; \
44600 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
44601 @endif libbacktrace
44602 @if libcpp
44603 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
44604 mkdir stagefeedback-libcpp; \
44605 mv stagefeedback-libcpp libcpp ; \
44606 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
44607 @endif libcpp
44608 @if libdecnumber
44609 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
44610 mkdir stagefeedback-libdecnumber; \
44611 mv stagefeedback-libdecnumber libdecnumber ; \
44612 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
44613 @endif libdecnumber
44614 @if libiberty
44615 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
44616 mkdir stagefeedback-libiberty; \
44617 mv stagefeedback-libiberty libiberty ; \
44618 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
44619 @endif libiberty
44620 @if zlib
44621 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
44622 mkdir stagefeedback-zlib; \
44623 mv stagefeedback-zlib zlib ; \
44624 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
44625 @endif zlib
44626 @if lto-plugin
44627 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
44628 mkdir stagefeedback-lto-plugin; \
44629 mv stagefeedback-lto-plugin lto-plugin ; \
44630 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
44631 @endif lto-plugin
44632 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
44633 mkdir stagefeedback-$(TARGET_SUBDIR); \
44634 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44635 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
44637 stagefeedback-end::
44638 @if bfd
44639 @if test -d $(HOST_SUBDIR)/bfd ; then \
44640 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
44641 mv prev-bfd stageprofile-bfd ; : ; \
44643 @endif bfd
44644 @if opcodes
44645 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44646 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
44647 mv prev-opcodes stageprofile-opcodes ; : ; \
44649 @endif opcodes
44650 @if binutils
44651 @if test -d $(HOST_SUBDIR)/binutils ; then \
44652 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
44653 mv prev-binutils stageprofile-binutils ; : ; \
44655 @endif binutils
44656 @if gas
44657 @if test -d $(HOST_SUBDIR)/gas ; then \
44658 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
44659 mv prev-gas stageprofile-gas ; : ; \
44661 @endif gas
44662 @if gcc
44663 @if test -d $(HOST_SUBDIR)/gcc ; then \
44664 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
44665 mv prev-gcc stageprofile-gcc ; : ; \
44667 @endif gcc
44668 @if gmp
44669 @if test -d $(HOST_SUBDIR)/gmp ; then \
44670 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
44671 mv prev-gmp stageprofile-gmp ; : ; \
44673 @endif gmp
44674 @if mpfr
44675 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44676 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
44677 mv prev-mpfr stageprofile-mpfr ; : ; \
44679 @endif mpfr
44680 @if mpc
44681 @if test -d $(HOST_SUBDIR)/mpc ; then \
44682 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
44683 mv prev-mpc stageprofile-mpc ; : ; \
44685 @endif mpc
44686 @if isl
44687 @if test -d $(HOST_SUBDIR)/isl ; then \
44688 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
44689 mv prev-isl stageprofile-isl ; : ; \
44691 @endif isl
44692 @if cloog
44693 @if test -d $(HOST_SUBDIR)/cloog ; then \
44694 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
44695 mv prev-cloog stageprofile-cloog ; : ; \
44697 @endif cloog
44698 @if libelf
44699 @if test -d $(HOST_SUBDIR)/libelf ; then \
44700 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
44701 mv prev-libelf stageprofile-libelf ; : ; \
44703 @endif libelf
44704 @if gold
44705 @if test -d $(HOST_SUBDIR)/gold ; then \
44706 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
44707 mv prev-gold stageprofile-gold ; : ; \
44709 @endif gold
44710 @if intl
44711 @if test -d $(HOST_SUBDIR)/intl ; then \
44712 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
44713 mv prev-intl stageprofile-intl ; : ; \
44715 @endif intl
44716 @if ld
44717 @if test -d $(HOST_SUBDIR)/ld ; then \
44718 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
44719 mv prev-ld stageprofile-ld ; : ; \
44721 @endif ld
44722 @if libbacktrace
44723 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44724 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
44725 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
44727 @endif libbacktrace
44728 @if libcpp
44729 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44730 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
44731 mv prev-libcpp stageprofile-libcpp ; : ; \
44733 @endif libcpp
44734 @if libdecnumber
44735 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44736 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
44737 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
44739 @endif libdecnumber
44740 @if libiberty
44741 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44742 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
44743 mv prev-libiberty stageprofile-libiberty ; : ; \
44745 @endif libiberty
44746 @if zlib
44747 @if test -d $(HOST_SUBDIR)/zlib ; then \
44748 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
44749 mv prev-zlib stageprofile-zlib ; : ; \
44751 @endif zlib
44752 @if lto-plugin
44753 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44754 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
44755 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
44757 @endif lto-plugin
44758 @if test -d $(TARGET_SUBDIR) ; then \
44759 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
44760 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
44762 rm -f stage_current
44764 # Bubble a bug fix through all the stages up to stage feedback. They are
44765 # remade, but not reconfigured. The next stage (if any) will not be
44766 # reconfigured either.
44767 .PHONY: stagefeedback-bubble
44768 stagefeedback-bubble:: stageprofile-bubble
44769 @r=`${PWD_COMMAND}`; export r; \
44770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44771 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
44772 echo Skipping rebuild of stagefeedback ; \
44773 else \
44774 $(MAKE) stagefeedback-start; \
44775 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
44778 .PHONY: all-stagefeedback clean-stagefeedback
44779 do-clean: clean-stagefeedback
44781 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44782 # only possibility, but now it conflicts with no-bootstrap rules
44783 @if gcc-bootstrap
44787 .PHONY: profiledbootstrap profiledbootstrap-lean
44788 profiledbootstrap:
44789 echo stagefeedback > stage_final
44790 @r=`${PWD_COMMAND}`; export r; \
44791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44792 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
44793 @: $(MAKE); $(unstage)
44794 @r=`${PWD_COMMAND}`; export r; \
44795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44796 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44797 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44799 profiledbootstrap-lean:
44800 echo stagefeedback > stage_final
44801 @r=`${PWD_COMMAND}`; export r; \
44802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44803 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
44804 @: $(MAKE); $(unstage)
44805 @r=`${PWD_COMMAND}`; export r; \
44806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44807 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44808 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44811 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44812 distclean-stageprofile:: distclean-stagefeedback
44813 .PHONY: distclean-stagefeedback
44814 distclean-stagefeedback::
44815 @: $(MAKE); $(stage)
44816 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
44817 rm -rf stagefeedback-*
44820 @endif gcc-bootstrap
44824 stageprofile-end::
44825 $(MAKE) distclean-stagefeedback
44827 stagefeedback-start::
44828 @r=`${PWD_COMMAND}`; export r; \
44829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44830 for i in prev-*; do \
44831 j=`echo $$i | sed s/^prev-//` ; \
44832 cd $$r/$$i && \
44833 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
44834 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
44835 done
44837 @if gcc-bootstrap
44838 do-distclean: distclean-stage1
44840 # Provide a GCC build when we're building target libraries. This does
44841 # not work as a dependency, just as the minimum necessary to avoid errors.
44842 stage_last:
44843 @r=`${PWD_COMMAND}`; export r; \
44844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44845 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
44847 # Same as unstage, but not phony and defaulting to stage1-start. We place
44848 # it in the dependency so that for example `make -j3 all-gcc' works.
44849 stage_current:
44850 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
44852 .PHONY: restrap
44853 restrap::
44854 @: $(MAKE); $(stage)
44855 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
44856 restrap:: all
44857 @endif gcc-bootstrap
44859 # --------------------------------------
44860 # Dependencies between different modules
44861 # --------------------------------------
44863 # Generic dependencies for target modules on host stuff, especially gcc
44864 @if gcc-bootstrap
44865 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
44866 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
44867 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
44868 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
44869 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
44870 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
44871 configure-target-libmudflap: stage_last
44872 configure-target-libsanitizer: stage_last
44873 configure-target-libssp: stage_last
44874 configure-target-newlib: stage_last
44875 configure-stage1-target-libgcc: maybe-all-stage1-gcc
44876 configure-stage2-target-libgcc: maybe-all-stage2-gcc
44877 configure-stage3-target-libgcc: maybe-all-stage3-gcc
44878 configure-stage4-target-libgcc: maybe-all-stage4-gcc
44879 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
44880 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
44881 configure-target-libbacktrace: stage_last
44882 configure-target-libquadmath: stage_last
44883 configure-target-libgfortran: stage_last
44884 configure-target-libobjc: stage_last
44885 configure-target-libgo: stage_last
44886 configure-target-libtermcap: stage_last
44887 configure-target-winsup: stage_last
44888 configure-target-libgloss: stage_last
44889 configure-target-libffi: stage_last
44890 configure-target-libjava: stage_last
44891 configure-target-zlib: stage_last
44892 configure-target-boehm-gc: stage_last
44893 configure-target-rda: stage_last
44894 configure-target-libada: stage_last
44895 configure-stage1-target-libgomp: maybe-all-stage1-gcc
44896 configure-stage2-target-libgomp: maybe-all-stage2-gcc
44897 configure-stage3-target-libgomp: maybe-all-stage3-gcc
44898 configure-stage4-target-libgomp: maybe-all-stage4-gcc
44899 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
44900 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
44901 configure-target-libitm: stage_last
44902 configure-target-libatomic: stage_last
44903 @endif gcc-bootstrap
44905 @if gcc-no-bootstrap
44906 configure-target-libstdc++-v3: maybe-all-gcc
44907 configure-target-libmudflap: maybe-all-gcc
44908 configure-target-libsanitizer: maybe-all-gcc
44909 configure-target-libssp: maybe-all-gcc
44910 configure-target-newlib: maybe-all-gcc
44911 configure-target-libgcc: maybe-all-gcc
44912 configure-target-libbacktrace: maybe-all-gcc
44913 configure-target-libquadmath: maybe-all-gcc
44914 configure-target-libgfortran: maybe-all-gcc
44915 configure-target-libobjc: maybe-all-gcc
44916 configure-target-libgo: maybe-all-gcc
44917 configure-target-libtermcap: maybe-all-gcc
44918 configure-target-winsup: maybe-all-gcc
44919 configure-target-libgloss: maybe-all-gcc
44920 configure-target-libffi: maybe-all-gcc
44921 configure-target-libjava: maybe-all-gcc
44922 configure-target-zlib: maybe-all-gcc
44923 configure-target-boehm-gc: maybe-all-gcc
44924 configure-target-rda: maybe-all-gcc
44925 configure-target-libada: maybe-all-gcc
44926 configure-target-libgomp: maybe-all-gcc
44927 configure-target-libitm: maybe-all-gcc
44928 configure-target-libatomic: maybe-all-gcc
44929 @endif gcc-no-bootstrap
44932 # There are two types of dependencies here: 'hard' dependencies, where one
44933 # module simply won't build without the other; and 'soft' dependencies, where
44934 # if the depended-on module is missing, the depending module will do without
44935 # or find a substitute somewhere (perhaps installed). Soft dependencies
44936 # are made here to depend on a 'maybe-' target. If you're not sure,
44937 # it's safer to use a soft dependency.
44944 # With all the machinery above in place, it is pretty easy to generate
44945 # dependencies. Host dependencies are a bit more complex because we have
44946 # to check for bootstrap/prebootstrap dependencies. To resolve
44947 # prebootstrap dependencies, prebootstrap modules are gathered in
44948 # a hash table.
44949 all-build-bison: maybe-all-build-texinfo
44950 all-build-flex: maybe-all-build-texinfo
44951 all-build-flex: maybe-all-build-bison
44952 all-build-flex: maybe-all-build-m4
44953 all-build-libiberty: maybe-all-build-texinfo
44954 all-build-m4: maybe-all-build-texinfo
44955 all-build-fixincludes: maybe-all-build-libiberty
44956 configure-gcc: maybe-configure-intl
44958 configure-stage1-gcc: maybe-configure-stage1-intl
44959 configure-stage2-gcc: maybe-configure-stage2-intl
44960 configure-stage3-gcc: maybe-configure-stage3-intl
44961 configure-stage4-gcc: maybe-configure-stage4-intl
44962 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
44963 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
44964 configure-gcc: maybe-all-lto-plugin
44966 configure-stage1-gcc: maybe-all-stage1-lto-plugin
44967 configure-stage2-gcc: maybe-all-stage2-lto-plugin
44968 configure-stage3-gcc: maybe-all-stage3-lto-plugin
44969 configure-stage4-gcc: maybe-all-stage4-lto-plugin
44970 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
44971 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
44972 configure-gcc: maybe-all-binutils
44974 configure-stage1-gcc: maybe-all-stage1-binutils
44975 configure-stage2-gcc: maybe-all-stage2-binutils
44976 configure-stage3-gcc: maybe-all-stage3-binutils
44977 configure-stage4-gcc: maybe-all-stage4-binutils
44978 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
44979 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
44980 configure-gcc: maybe-all-gas
44982 configure-stage1-gcc: maybe-all-stage1-gas
44983 configure-stage2-gcc: maybe-all-stage2-gas
44984 configure-stage3-gcc: maybe-all-stage3-gas
44985 configure-stage4-gcc: maybe-all-stage4-gas
44986 configure-stageprofile-gcc: maybe-all-stageprofile-gas
44987 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
44988 configure-gcc: maybe-all-ld
44990 configure-stage1-gcc: maybe-all-stage1-ld
44991 configure-stage2-gcc: maybe-all-stage2-ld
44992 configure-stage3-gcc: maybe-all-stage3-ld
44993 configure-stage4-gcc: maybe-all-stage4-ld
44994 configure-stageprofile-gcc: maybe-all-stageprofile-ld
44995 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
44996 configure-gcc: maybe-all-gold
44998 configure-stage1-gcc: maybe-all-stage1-gold
44999 configure-stage2-gcc: maybe-all-stage2-gold
45000 configure-stage3-gcc: maybe-all-stage3-gold
45001 configure-stage4-gcc: maybe-all-stage4-gold
45002 configure-stageprofile-gcc: maybe-all-stageprofile-gold
45003 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
45004 configure-gcc: maybe-all-libelf
45006 configure-stage1-gcc: maybe-all-stage1-libelf
45007 configure-stage2-gcc: maybe-all-stage2-libelf
45008 configure-stage3-gcc: maybe-all-stage3-libelf
45009 configure-stage4-gcc: maybe-all-stage4-libelf
45010 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
45011 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
45012 all-gcc: all-libiberty
45014 all-stage1-gcc: all-stage1-libiberty
45015 all-stage2-gcc: all-stage2-libiberty
45016 all-stage3-gcc: all-stage3-libiberty
45017 all-stage4-gcc: all-stage4-libiberty
45018 all-stageprofile-gcc: all-stageprofile-libiberty
45019 all-stagefeedback-gcc: all-stagefeedback-libiberty
45020 all-gcc: maybe-all-gmp
45022 all-stage1-gcc: maybe-all-stage1-gmp
45023 all-stage2-gcc: maybe-all-stage2-gmp
45024 all-stage3-gcc: maybe-all-stage3-gmp
45025 all-stage4-gcc: maybe-all-stage4-gmp
45026 all-stageprofile-gcc: maybe-all-stageprofile-gmp
45027 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
45028 all-gcc: maybe-all-intl
45030 all-stage1-gcc: maybe-all-stage1-intl
45031 all-stage2-gcc: maybe-all-stage2-intl
45032 all-stage3-gcc: maybe-all-stage3-intl
45033 all-stage4-gcc: maybe-all-stage4-intl
45034 all-stageprofile-gcc: maybe-all-stageprofile-intl
45035 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
45036 all-gcc: maybe-all-mpfr
45038 all-stage1-gcc: maybe-all-stage1-mpfr
45039 all-stage2-gcc: maybe-all-stage2-mpfr
45040 all-stage3-gcc: maybe-all-stage3-mpfr
45041 all-stage4-gcc: maybe-all-stage4-mpfr
45042 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
45043 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
45044 all-gcc: maybe-all-mpc
45046 all-stage1-gcc: maybe-all-stage1-mpc
45047 all-stage2-gcc: maybe-all-stage2-mpc
45048 all-stage3-gcc: maybe-all-stage3-mpc
45049 all-stage4-gcc: maybe-all-stage4-mpc
45050 all-stageprofile-gcc: maybe-all-stageprofile-mpc
45051 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
45052 all-gcc: maybe-all-cloog
45054 all-stage1-gcc: maybe-all-stage1-cloog
45055 all-stage2-gcc: maybe-all-stage2-cloog
45056 all-stage3-gcc: maybe-all-stage3-cloog
45057 all-stage4-gcc: maybe-all-stage4-cloog
45058 all-stageprofile-gcc: maybe-all-stageprofile-cloog
45059 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
45060 all-gcc: maybe-all-build-texinfo
45062 all-stage1-gcc: maybe-all-build-texinfo
45063 all-stage2-gcc: maybe-all-build-texinfo
45064 all-stage3-gcc: maybe-all-build-texinfo
45065 all-stage4-gcc: maybe-all-build-texinfo
45066 all-stageprofile-gcc: maybe-all-build-texinfo
45067 all-stagefeedback-gcc: maybe-all-build-texinfo
45068 all-gcc: maybe-all-build-bison
45070 all-stage1-gcc: maybe-all-build-bison
45071 all-stage2-gcc: maybe-all-build-bison
45072 all-stage3-gcc: maybe-all-build-bison
45073 all-stage4-gcc: maybe-all-build-bison
45074 all-stageprofile-gcc: maybe-all-build-bison
45075 all-stagefeedback-gcc: maybe-all-build-bison
45076 all-gcc: maybe-all-build-flex
45078 all-stage1-gcc: maybe-all-build-flex
45079 all-stage2-gcc: maybe-all-build-flex
45080 all-stage3-gcc: maybe-all-build-flex
45081 all-stage4-gcc: maybe-all-build-flex
45082 all-stageprofile-gcc: maybe-all-build-flex
45083 all-stagefeedback-gcc: maybe-all-build-flex
45084 all-gcc: maybe-all-build-libiberty
45086 all-stage1-gcc: maybe-all-build-libiberty
45087 all-stage2-gcc: maybe-all-build-libiberty
45088 all-stage3-gcc: maybe-all-build-libiberty
45089 all-stage4-gcc: maybe-all-build-libiberty
45090 all-stageprofile-gcc: maybe-all-build-libiberty
45091 all-stagefeedback-gcc: maybe-all-build-libiberty
45092 all-gcc: maybe-all-build-fixincludes
45094 all-stage1-gcc: maybe-all-build-fixincludes
45095 all-stage2-gcc: maybe-all-build-fixincludes
45096 all-stage3-gcc: maybe-all-build-fixincludes
45097 all-stage4-gcc: maybe-all-build-fixincludes
45098 all-stageprofile-gcc: maybe-all-build-fixincludes
45099 all-stagefeedback-gcc: maybe-all-build-fixincludes
45100 all-gcc: maybe-all-zlib
45102 all-stage1-gcc: maybe-all-stage1-zlib
45103 all-stage2-gcc: maybe-all-stage2-zlib
45104 all-stage3-gcc: maybe-all-stage3-zlib
45105 all-stage4-gcc: maybe-all-stage4-zlib
45106 all-stageprofile-gcc: maybe-all-stageprofile-zlib
45107 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
45108 all-gcc: all-libbacktrace
45110 all-stage1-gcc: all-stage1-libbacktrace
45111 all-stage2-gcc: all-stage2-libbacktrace
45112 all-stage3-gcc: all-stage3-libbacktrace
45113 all-stage4-gcc: all-stage4-libbacktrace
45114 all-stageprofile-gcc: all-stageprofile-libbacktrace
45115 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
45116 all-gcc: all-libcpp
45118 all-stage1-gcc: all-stage1-libcpp
45119 all-stage2-gcc: all-stage2-libcpp
45120 all-stage3-gcc: all-stage3-libcpp
45121 all-stage4-gcc: all-stage4-libcpp
45122 all-stageprofile-gcc: all-stageprofile-libcpp
45123 all-stagefeedback-gcc: all-stagefeedback-libcpp
45124 all-gcc: all-libdecnumber
45126 all-stage1-gcc: all-stage1-libdecnumber
45127 all-stage2-gcc: all-stage2-libdecnumber
45128 all-stage3-gcc: all-stage3-libdecnumber
45129 all-stage4-gcc: all-stage4-libdecnumber
45130 all-stageprofile-gcc: all-stageprofile-libdecnumber
45131 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
45132 all-gcc: maybe-all-libiberty
45134 all-stage1-gcc: maybe-all-stage1-libiberty
45135 all-stage2-gcc: maybe-all-stage2-libiberty
45136 all-stage3-gcc: maybe-all-stage3-libiberty
45137 all-stage4-gcc: maybe-all-stage4-libiberty
45138 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
45139 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
45140 all-gcc: maybe-all-fixincludes
45141 all-gcc: maybe-all-lto-plugin
45143 all-stage1-gcc: maybe-all-stage1-lto-plugin
45144 all-stage2-gcc: maybe-all-stage2-lto-plugin
45145 all-stage3-gcc: maybe-all-stage3-lto-plugin
45146 all-stage4-gcc: maybe-all-stage4-lto-plugin
45147 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
45148 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
45149 info-gcc: maybe-all-build-libiberty
45151 info-stage1-gcc: maybe-all-build-libiberty
45152 info-stage2-gcc: maybe-all-build-libiberty
45153 info-stage3-gcc: maybe-all-build-libiberty
45154 info-stage4-gcc: maybe-all-build-libiberty
45155 info-stageprofile-gcc: maybe-all-build-libiberty
45156 info-stagefeedback-gcc: maybe-all-build-libiberty
45157 dvi-gcc: maybe-all-build-libiberty
45159 dvi-stage1-gcc: maybe-all-build-libiberty
45160 dvi-stage2-gcc: maybe-all-build-libiberty
45161 dvi-stage3-gcc: maybe-all-build-libiberty
45162 dvi-stage4-gcc: maybe-all-build-libiberty
45163 dvi-stageprofile-gcc: maybe-all-build-libiberty
45164 dvi-stagefeedback-gcc: maybe-all-build-libiberty
45165 pdf-gcc: maybe-all-build-libiberty
45167 pdf-stage1-gcc: maybe-all-build-libiberty
45168 pdf-stage2-gcc: maybe-all-build-libiberty
45169 pdf-stage3-gcc: maybe-all-build-libiberty
45170 pdf-stage4-gcc: maybe-all-build-libiberty
45171 pdf-stageprofile-gcc: maybe-all-build-libiberty
45172 pdf-stagefeedback-gcc: maybe-all-build-libiberty
45173 html-gcc: maybe-all-build-libiberty
45175 html-stage1-gcc: maybe-all-build-libiberty
45176 html-stage2-gcc: maybe-all-build-libiberty
45177 html-stage3-gcc: maybe-all-build-libiberty
45178 html-stage4-gcc: maybe-all-build-libiberty
45179 html-stageprofile-gcc: maybe-all-build-libiberty
45180 html-stagefeedback-gcc: maybe-all-build-libiberty
45181 install-gcc: maybe-install-fixincludes
45182 install-gcc: maybe-install-lto-plugin
45183 install-strip-gcc: maybe-install-strip-fixincludes
45184 install-strip-gcc: maybe-install-strip-lto-plugin
45185 configure-libcpp: configure-libiberty
45187 configure-stage1-libcpp: configure-stage1-libiberty
45188 configure-stage2-libcpp: configure-stage2-libiberty
45189 configure-stage3-libcpp: configure-stage3-libiberty
45190 configure-stage4-libcpp: configure-stage4-libiberty
45191 configure-stageprofile-libcpp: configure-stageprofile-libiberty
45192 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
45193 configure-libcpp: maybe-configure-intl
45195 configure-stage1-libcpp: maybe-configure-stage1-intl
45196 configure-stage2-libcpp: maybe-configure-stage2-intl
45197 configure-stage3-libcpp: maybe-configure-stage3-intl
45198 configure-stage4-libcpp: maybe-configure-stage4-intl
45199 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
45200 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
45201 all-libcpp: all-libiberty
45203 all-stage1-libcpp: all-stage1-libiberty
45204 all-stage2-libcpp: all-stage2-libiberty
45205 all-stage3-libcpp: all-stage3-libiberty
45206 all-stage4-libcpp: all-stage4-libiberty
45207 all-stageprofile-libcpp: all-stageprofile-libiberty
45208 all-stagefeedback-libcpp: all-stagefeedback-libiberty
45209 all-libcpp: maybe-all-intl
45211 all-stage1-libcpp: maybe-all-stage1-intl
45212 all-stage2-libcpp: maybe-all-stage2-intl
45213 all-stage3-libcpp: maybe-all-stage3-intl
45214 all-stage4-libcpp: maybe-all-stage4-intl
45215 all-stageprofile-libcpp: maybe-all-stageprofile-intl
45216 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
45217 all-fixincludes: maybe-all-libiberty
45218 all-gnattools: maybe-all-target-libada
45219 all-lto-plugin: maybe-all-libiberty
45221 all-stage1-lto-plugin: maybe-all-stage1-libiberty
45222 all-stage2-lto-plugin: maybe-all-stage2-libiberty
45223 all-stage3-lto-plugin: maybe-all-stage3-libiberty
45224 all-stage4-lto-plugin: maybe-all-stage4-libiberty
45225 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
45226 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
45227 all-utils: maybe-all-libiberty
45228 configure-mpfr: maybe-all-gmp
45230 configure-stage1-mpfr: maybe-all-stage1-gmp
45231 configure-stage2-mpfr: maybe-all-stage2-gmp
45232 configure-stage3-mpfr: maybe-all-stage3-gmp
45233 configure-stage4-mpfr: maybe-all-stage4-gmp
45234 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
45235 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
45236 configure-mpc: maybe-all-mpfr
45238 configure-stage1-mpc: maybe-all-stage1-mpfr
45239 configure-stage2-mpc: maybe-all-stage2-mpfr
45240 configure-stage3-mpc: maybe-all-stage3-mpfr
45241 configure-stage4-mpc: maybe-all-stage4-mpfr
45242 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
45243 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
45244 configure-isl: maybe-all-gmp
45246 configure-stage1-isl: maybe-all-stage1-gmp
45247 configure-stage2-isl: maybe-all-stage2-gmp
45248 configure-stage3-isl: maybe-all-stage3-gmp
45249 configure-stage4-isl: maybe-all-stage4-gmp
45250 configure-stageprofile-isl: maybe-all-stageprofile-gmp
45251 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
45252 configure-cloog: maybe-all-isl
45254 configure-stage1-cloog: maybe-all-stage1-isl
45255 configure-stage2-cloog: maybe-all-stage2-isl
45256 configure-stage3-cloog: maybe-all-stage3-isl
45257 configure-stage4-cloog: maybe-all-stage4-isl
45258 configure-stageprofile-cloog: maybe-all-stageprofile-isl
45259 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
45260 configure-cloog: maybe-all-gmp
45262 configure-stage1-cloog: maybe-all-stage1-gmp
45263 configure-stage2-cloog: maybe-all-stage2-gmp
45264 configure-stage3-cloog: maybe-all-stage3-gmp
45265 configure-stage4-cloog: maybe-all-stage4-gmp
45266 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
45267 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
45268 configure-gdb: maybe-all-intl
45269 configure-gdb: maybe-configure-sim
45270 configure-gdb: maybe-all-bfd
45271 configure-gdb: maybe-all-libiconv
45272 all-gdb: maybe-all-libiberty
45273 all-gdb: maybe-all-libiconv
45274 all-gdb: maybe-all-opcodes
45275 all-gdb: maybe-all-readline
45276 all-gdb: maybe-all-build-bison
45277 all-gdb: maybe-all-sim
45278 all-gdb: maybe-all-libdecnumber
45279 all-gdb: maybe-all-libtermcap
45280 configure-libgui: maybe-configure-tcl
45281 configure-libgui: maybe-configure-tk
45282 all-libgui: maybe-all-tcl
45283 all-libgui: maybe-all-tk
45284 all-libgui: maybe-all-itcl
45285 configure-bfd: configure-libiberty
45287 configure-stage1-bfd: configure-stage1-libiberty
45288 configure-stage2-bfd: configure-stage2-libiberty
45289 configure-stage3-bfd: configure-stage3-libiberty
45290 configure-stage4-bfd: configure-stage4-libiberty
45291 configure-stageprofile-bfd: configure-stageprofile-libiberty
45292 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
45293 configure-bfd: maybe-configure-intl
45295 configure-stage1-bfd: maybe-configure-stage1-intl
45296 configure-stage2-bfd: maybe-configure-stage2-intl
45297 configure-stage3-bfd: maybe-configure-stage3-intl
45298 configure-stage4-bfd: maybe-configure-stage4-intl
45299 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
45300 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
45301 all-bfd: maybe-all-libiberty
45303 all-stage1-bfd: maybe-all-stage1-libiberty
45304 all-stage2-bfd: maybe-all-stage2-libiberty
45305 all-stage3-bfd: maybe-all-stage3-libiberty
45306 all-stage4-bfd: maybe-all-stage4-libiberty
45307 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
45308 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
45309 all-bfd: maybe-all-intl
45311 all-stage1-bfd: maybe-all-stage1-intl
45312 all-stage2-bfd: maybe-all-stage2-intl
45313 all-stage3-bfd: maybe-all-stage3-intl
45314 all-stage4-bfd: maybe-all-stage4-intl
45315 all-stageprofile-bfd: maybe-all-stageprofile-intl
45316 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
45317 configure-opcodes: configure-libiberty
45319 configure-stage1-opcodes: configure-stage1-libiberty
45320 configure-stage2-opcodes: configure-stage2-libiberty
45321 configure-stage3-opcodes: configure-stage3-libiberty
45322 configure-stage4-opcodes: configure-stage4-libiberty
45323 configure-stageprofile-opcodes: configure-stageprofile-libiberty
45324 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
45325 all-opcodes: maybe-all-libiberty
45327 all-stage1-opcodes: maybe-all-stage1-libiberty
45328 all-stage2-opcodes: maybe-all-stage2-libiberty
45329 all-stage3-opcodes: maybe-all-stage3-libiberty
45330 all-stage4-opcodes: maybe-all-stage4-libiberty
45331 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
45332 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
45333 configure-binutils: maybe-configure-intl
45335 configure-stage1-binutils: maybe-configure-stage1-intl
45336 configure-stage2-binutils: maybe-configure-stage2-intl
45337 configure-stage3-binutils: maybe-configure-stage3-intl
45338 configure-stage4-binutils: maybe-configure-stage4-intl
45339 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
45340 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
45341 all-binutils: maybe-all-libiberty
45343 all-stage1-binutils: maybe-all-stage1-libiberty
45344 all-stage2-binutils: maybe-all-stage2-libiberty
45345 all-stage3-binutils: maybe-all-stage3-libiberty
45346 all-stage4-binutils: maybe-all-stage4-libiberty
45347 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
45348 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
45349 all-binutils: maybe-all-opcodes
45351 all-stage1-binutils: maybe-all-stage1-opcodes
45352 all-stage2-binutils: maybe-all-stage2-opcodes
45353 all-stage3-binutils: maybe-all-stage3-opcodes
45354 all-stage4-binutils: maybe-all-stage4-opcodes
45355 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
45356 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
45357 all-binutils: maybe-all-bfd
45359 all-stage1-binutils: maybe-all-stage1-bfd
45360 all-stage2-binutils: maybe-all-stage2-bfd
45361 all-stage3-binutils: maybe-all-stage3-bfd
45362 all-stage4-binutils: maybe-all-stage4-bfd
45363 all-stageprofile-binutils: maybe-all-stageprofile-bfd
45364 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
45365 all-binutils: maybe-all-build-flex
45367 all-stage1-binutils: maybe-all-build-flex
45368 all-stage2-binutils: maybe-all-build-flex
45369 all-stage3-binutils: maybe-all-build-flex
45370 all-stage4-binutils: maybe-all-build-flex
45371 all-stageprofile-binutils: maybe-all-build-flex
45372 all-stagefeedback-binutils: maybe-all-build-flex
45373 all-binutils: maybe-all-build-bison
45375 all-stage1-binutils: maybe-all-build-bison
45376 all-stage2-binutils: maybe-all-build-bison
45377 all-stage3-binutils: maybe-all-build-bison
45378 all-stage4-binutils: maybe-all-build-bison
45379 all-stageprofile-binutils: maybe-all-build-bison
45380 all-stagefeedback-binutils: maybe-all-build-bison
45381 all-binutils: maybe-all-intl
45383 all-stage1-binutils: maybe-all-stage1-intl
45384 all-stage2-binutils: maybe-all-stage2-intl
45385 all-stage3-binutils: maybe-all-stage3-intl
45386 all-stage4-binutils: maybe-all-stage4-intl
45387 all-stageprofile-binutils: maybe-all-stageprofile-intl
45388 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
45389 install-binutils: maybe-install-opcodes
45390 install-strip-binutils: maybe-install-strip-opcodes
45391 install-opcodes: maybe-install-bfd
45392 install-strip-opcodes: maybe-install-strip-bfd
45393 configure-gas: maybe-configure-intl
45395 configure-stage1-gas: maybe-configure-stage1-intl
45396 configure-stage2-gas: maybe-configure-stage2-intl
45397 configure-stage3-gas: maybe-configure-stage3-intl
45398 configure-stage4-gas: maybe-configure-stage4-intl
45399 configure-stageprofile-gas: maybe-configure-stageprofile-intl
45400 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
45401 all-gas: maybe-all-libiberty
45403 all-stage1-gas: maybe-all-stage1-libiberty
45404 all-stage2-gas: maybe-all-stage2-libiberty
45405 all-stage3-gas: maybe-all-stage3-libiberty
45406 all-stage4-gas: maybe-all-stage4-libiberty
45407 all-stageprofile-gas: maybe-all-stageprofile-libiberty
45408 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
45409 all-gas: maybe-all-opcodes
45411 all-stage1-gas: maybe-all-stage1-opcodes
45412 all-stage2-gas: maybe-all-stage2-opcodes
45413 all-stage3-gas: maybe-all-stage3-opcodes
45414 all-stage4-gas: maybe-all-stage4-opcodes
45415 all-stageprofile-gas: maybe-all-stageprofile-opcodes
45416 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
45417 all-gas: maybe-all-bfd
45419 all-stage1-gas: maybe-all-stage1-bfd
45420 all-stage2-gas: maybe-all-stage2-bfd
45421 all-stage3-gas: maybe-all-stage3-bfd
45422 all-stage4-gas: maybe-all-stage4-bfd
45423 all-stageprofile-gas: maybe-all-stageprofile-bfd
45424 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
45425 all-gas: maybe-all-intl
45427 all-stage1-gas: maybe-all-stage1-intl
45428 all-stage2-gas: maybe-all-stage2-intl
45429 all-stage3-gas: maybe-all-stage3-intl
45430 all-stage4-gas: maybe-all-stage4-intl
45431 all-stageprofile-gas: maybe-all-stageprofile-intl
45432 all-stagefeedback-gas: maybe-all-stagefeedback-intl
45433 configure-gprof: maybe-configure-intl
45434 all-gprof: maybe-all-libiberty
45435 all-gprof: maybe-all-bfd
45436 all-gprof: maybe-all-opcodes
45437 all-gprof: maybe-all-intl
45438 configure-ld: maybe-configure-intl
45440 configure-stage1-ld: maybe-configure-stage1-intl
45441 configure-stage2-ld: maybe-configure-stage2-intl
45442 configure-stage3-ld: maybe-configure-stage3-intl
45443 configure-stage4-ld: maybe-configure-stage4-intl
45444 configure-stageprofile-ld: maybe-configure-stageprofile-intl
45445 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
45446 all-ld: maybe-all-libiberty
45448 all-stage1-ld: maybe-all-stage1-libiberty
45449 all-stage2-ld: maybe-all-stage2-libiberty
45450 all-stage3-ld: maybe-all-stage3-libiberty
45451 all-stage4-ld: maybe-all-stage4-libiberty
45452 all-stageprofile-ld: maybe-all-stageprofile-libiberty
45453 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
45454 all-ld: maybe-all-bfd
45456 all-stage1-ld: maybe-all-stage1-bfd
45457 all-stage2-ld: maybe-all-stage2-bfd
45458 all-stage3-ld: maybe-all-stage3-bfd
45459 all-stage4-ld: maybe-all-stage4-bfd
45460 all-stageprofile-ld: maybe-all-stageprofile-bfd
45461 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
45462 all-ld: maybe-all-opcodes
45464 all-stage1-ld: maybe-all-stage1-opcodes
45465 all-stage2-ld: maybe-all-stage2-opcodes
45466 all-stage3-ld: maybe-all-stage3-opcodes
45467 all-stage4-ld: maybe-all-stage4-opcodes
45468 all-stageprofile-ld: maybe-all-stageprofile-opcodes
45469 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
45470 all-ld: maybe-all-build-bison
45472 all-stage1-ld: maybe-all-build-bison
45473 all-stage2-ld: maybe-all-build-bison
45474 all-stage3-ld: maybe-all-build-bison
45475 all-stage4-ld: maybe-all-build-bison
45476 all-stageprofile-ld: maybe-all-build-bison
45477 all-stagefeedback-ld: maybe-all-build-bison
45478 all-ld: maybe-all-build-flex
45480 all-stage1-ld: maybe-all-build-flex
45481 all-stage2-ld: maybe-all-build-flex
45482 all-stage3-ld: maybe-all-build-flex
45483 all-stage4-ld: maybe-all-build-flex
45484 all-stageprofile-ld: maybe-all-build-flex
45485 all-stagefeedback-ld: maybe-all-build-flex
45486 all-ld: maybe-all-intl
45488 all-stage1-ld: maybe-all-stage1-intl
45489 all-stage2-ld: maybe-all-stage2-intl
45490 all-stage3-ld: maybe-all-stage3-intl
45491 all-stage4-ld: maybe-all-stage4-intl
45492 all-stageprofile-ld: maybe-all-stageprofile-intl
45493 all-stagefeedback-ld: maybe-all-stagefeedback-intl
45494 install-ld: maybe-install-gold
45495 install-strip-ld: maybe-install-strip-gold
45496 configure-gold: maybe-configure-intl
45498 configure-stage1-gold: maybe-configure-stage1-intl
45499 configure-stage2-gold: maybe-configure-stage2-intl
45500 configure-stage3-gold: maybe-configure-stage3-intl
45501 configure-stage4-gold: maybe-configure-stage4-intl
45502 configure-stageprofile-gold: maybe-configure-stageprofile-intl
45503 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
45504 all-gold: maybe-all-libiberty
45506 all-stage1-gold: maybe-all-stage1-libiberty
45507 all-stage2-gold: maybe-all-stage2-libiberty
45508 all-stage3-gold: maybe-all-stage3-libiberty
45509 all-stage4-gold: maybe-all-stage4-libiberty
45510 all-stageprofile-gold: maybe-all-stageprofile-libiberty
45511 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
45512 all-gold: maybe-all-intl
45514 all-stage1-gold: maybe-all-stage1-intl
45515 all-stage2-gold: maybe-all-stage2-intl
45516 all-stage3-gold: maybe-all-stage3-intl
45517 all-stage4-gold: maybe-all-stage4-intl
45518 all-stageprofile-gold: maybe-all-stageprofile-intl
45519 all-stagefeedback-gold: maybe-all-stagefeedback-intl
45520 all-gold: maybe-all-bfd
45522 all-stage1-gold: maybe-all-stage1-bfd
45523 all-stage2-gold: maybe-all-stage2-bfd
45524 all-stage3-gold: maybe-all-stage3-bfd
45525 all-stage4-gold: maybe-all-stage4-bfd
45526 all-stageprofile-gold: maybe-all-stageprofile-bfd
45527 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
45528 all-gold: maybe-all-build-bison
45530 all-stage1-gold: maybe-all-build-bison
45531 all-stage2-gold: maybe-all-build-bison
45532 all-stage3-gold: maybe-all-build-bison
45533 all-stage4-gold: maybe-all-build-bison
45534 all-stageprofile-gold: maybe-all-build-bison
45535 all-stagefeedback-gold: maybe-all-build-bison
45536 check-gold: maybe-all-binutils
45538 check-stage1-gold: maybe-all-stage1-binutils
45539 check-stage2-gold: maybe-all-stage2-binutils
45540 check-stage3-gold: maybe-all-stage3-binutils
45541 check-stage4-gold: maybe-all-stage4-binutils
45542 check-stageprofile-gold: maybe-all-stageprofile-binutils
45543 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
45544 check-gold: maybe-all-gas
45546 check-stage1-gold: maybe-all-stage1-gas
45547 check-stage2-gold: maybe-all-stage2-gas
45548 check-stage3-gold: maybe-all-stage3-gas
45549 check-stage4-gold: maybe-all-stage4-gas
45550 check-stageprofile-gold: maybe-all-stageprofile-gas
45551 check-stagefeedback-gold: maybe-all-stagefeedback-gas
45552 configure-opcodes: maybe-configure-intl
45554 configure-stage1-opcodes: maybe-configure-stage1-intl
45555 configure-stage2-opcodes: maybe-configure-stage2-intl
45556 configure-stage3-opcodes: maybe-configure-stage3-intl
45557 configure-stage4-opcodes: maybe-configure-stage4-intl
45558 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
45559 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
45560 all-opcodes: maybe-all-bfd
45562 all-stage1-opcodes: maybe-all-stage1-bfd
45563 all-stage2-opcodes: maybe-all-stage2-bfd
45564 all-stage3-opcodes: maybe-all-stage3-bfd
45565 all-stage4-opcodes: maybe-all-stage4-bfd
45566 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
45567 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
45568 all-opcodes: maybe-all-libiberty
45570 all-stage1-opcodes: maybe-all-stage1-libiberty
45571 all-stage2-opcodes: maybe-all-stage2-libiberty
45572 all-stage3-opcodes: maybe-all-stage3-libiberty
45573 all-stage4-opcodes: maybe-all-stage4-libiberty
45574 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
45575 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
45576 all-opcodes: maybe-all-intl
45578 all-stage1-opcodes: maybe-all-stage1-intl
45579 all-stage2-opcodes: maybe-all-stage2-intl
45580 all-stage3-opcodes: maybe-all-stage3-intl
45581 all-stage4-opcodes: maybe-all-stage4-intl
45582 all-stageprofile-opcodes: maybe-all-stageprofile-intl
45583 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
45584 all-dejagnu: maybe-all-tcl
45585 all-dejagnu: maybe-all-expect
45586 all-dejagnu: maybe-all-tk
45587 configure-expect: maybe-configure-tcl
45588 configure-expect: maybe-configure-tk
45589 all-expect: maybe-all-tcl
45590 all-expect: maybe-all-tk
45591 configure-itcl: maybe-configure-tcl
45592 configure-itcl: maybe-configure-tk
45593 all-itcl: maybe-all-tcl
45594 all-itcl: maybe-all-tk
45595 install-itcl: maybe-install-tcl
45596 install-strip-itcl: maybe-install-strip-tcl
45597 configure-tk: maybe-configure-tcl
45598 all-tk: maybe-all-tcl
45599 all-sid: maybe-all-libiberty
45600 all-sid: maybe-all-bfd
45601 all-sid: maybe-all-opcodes
45602 all-sid: maybe-all-tcl
45603 all-sid: maybe-all-tk
45604 install-sid: maybe-install-tcl
45605 install-strip-sid: maybe-install-strip-tcl
45606 install-sid: maybe-install-tk
45607 install-strip-sid: maybe-install-strip-tk
45608 configure-sim: maybe-configure-intl
45609 all-sim: maybe-all-intl
45610 all-sim: maybe-all-libiberty
45611 all-sim: maybe-all-bfd
45612 all-sim: maybe-all-opcodes
45613 all-sim: maybe-all-readline
45614 all-sim: maybe-configure-gdb
45615 all-fastjar: maybe-all-zlib
45616 all-fastjar: maybe-all-build-texinfo
45617 all-fastjar: maybe-all-libiberty
45618 all-bison: maybe-all-intl
45619 all-bison: maybe-all-build-texinfo
45620 all-flex: maybe-all-build-bison
45621 all-flex: maybe-all-intl
45622 all-flex: maybe-all-m4
45623 all-flex: maybe-all-build-texinfo
45624 all-m4: maybe-all-intl
45625 all-m4: maybe-all-build-texinfo
45626 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
45627 configure-target-fastjar: maybe-configure-target-zlib
45628 all-target-fastjar: maybe-all-target-zlib
45629 configure-target-libgo: maybe-configure-target-libffi
45630 configure-target-libgo: maybe-all-target-libstdc++-v3
45631 all-target-libgo: maybe-all-target-libbacktrace
45632 all-target-libgo: maybe-all-target-libffi
45633 configure-target-libjava: maybe-configure-target-zlib
45634 configure-target-libjava: maybe-configure-target-boehm-gc
45635 configure-target-libjava: maybe-configure-target-libffi
45636 all-target-libjava: maybe-all-fastjar
45637 all-target-libjava: maybe-all-target-zlib
45638 all-target-libjava: maybe-all-target-boehm-gc
45639 all-target-libjava: maybe-all-target-libffi
45640 configure-target-libobjc: maybe-configure-target-boehm-gc
45641 all-target-libobjc: maybe-all-target-boehm-gc
45642 configure-target-libstdc++-v3: maybe-configure-target-libgomp
45644 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
45645 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
45646 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
45647 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
45648 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
45649 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
45650 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
45651 all-target-libstdc++-v3: maybe-configure-target-libgomp
45653 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
45654 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
45655 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
45656 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
45657 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
45658 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
45659 all-target-libgloss: maybe-all-target-newlib
45660 all-target-winsup: maybe-all-target-libtermcap
45661 configure-target-newlib: maybe-all-binutils
45662 configure-target-newlib: maybe-all-ld
45663 configure-target-libgfortran: maybe-all-target-libquadmath
45666 # Dependencies for target modules on other target modules are
45667 # described by lang_env_dependencies; the defaults apply to anything
45668 # not mentioned there.
45671 @if gcc-bootstrap
45672 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
45673 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
45674 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
45675 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
45676 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
45677 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
45678 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
45679 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
45680 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
45681 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
45682 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
45683 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
45684 @endif gcc-bootstrap
45686 @if gcc-no-bootstrap
45687 configure-target-libstdc++-v3: maybe-all-target-libgcc
45688 configure-target-libmudflap: maybe-all-target-libgcc
45689 configure-target-libsanitizer: maybe-all-target-libgcc
45690 configure-target-libssp: maybe-all-target-libgcc
45691 configure-target-newlib: maybe-all-target-libgcc
45692 configure-target-libbacktrace: maybe-all-target-libgcc
45693 configure-target-libquadmath: maybe-all-target-libgcc
45694 configure-target-libgfortran: maybe-all-target-libgcc
45695 configure-target-libobjc: maybe-all-target-libgcc
45696 configure-target-libgo: maybe-all-target-libgcc
45697 configure-target-libtermcap: maybe-all-target-libgcc
45698 configure-target-winsup: maybe-all-target-libgcc
45699 configure-target-libgloss: maybe-all-target-libgcc
45700 configure-target-libffi: maybe-all-target-libgcc
45701 configure-target-libjava: maybe-all-target-libgcc
45702 configure-target-zlib: maybe-all-target-libgcc
45703 configure-target-boehm-gc: maybe-all-target-libgcc
45704 configure-target-rda: maybe-all-target-libgcc
45705 configure-target-libada: maybe-all-target-libgcc
45706 configure-target-libgomp: maybe-all-target-libgcc
45707 configure-target-libitm: maybe-all-target-libgcc
45708 configure-target-libatomic: maybe-all-target-libgcc
45709 @endif gcc-no-bootstrap
45712 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
45714 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
45716 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
45718 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
45722 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
45724 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
45726 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
45728 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
45730 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
45732 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
45734 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
45737 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
45739 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
45740 configure-target-libjava: maybe-all-target-libstdc++-v3
45742 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
45744 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
45746 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
45748 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
45750 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
45752 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
45753 configure-target-libitm: maybe-all-target-libstdc++-v3
45755 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
45758 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
45759 GDB_TK = @GDB_TK@
45760 INSTALL_GDB_TK = @INSTALL_GDB_TK@
45761 configure-gdb: $(CONFIGURE_GDB_TK)
45762 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
45763 install-gdb: $(INSTALL_GDB_TK)
45765 # Serialization dependencies. Host configures don't work well in parallel to
45766 # each other, due to contention over config.cache. Target configures and
45767 # build configures are similar.
45768 @serialization_dependencies@
45770 # --------------------------------
45771 # Regenerating top level configury
45772 # --------------------------------
45774 # Rebuilding Makefile.in, using autogen.
45775 AUTOGEN = autogen
45776 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
45777 cd $(srcdir) && $(AUTOGEN) Makefile.def
45779 # Rebuilding Makefile.
45780 Makefile: $(srcdir)/Makefile.in config.status
45781 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
45783 config.status: configure
45784 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
45786 # Rebuilding configure.
45787 AUTOCONF = autoconf
45788 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
45789 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
45790 cd $(srcdir) && $(AUTOCONF)
45792 # ------------------------------
45793 # Special directives to GNU Make
45794 # ------------------------------
45796 # Don't pass command-line variables to submakes.
45797 .NOEXPORT:
45798 MAKEOVERRIDES=
45800 # end of Makefile.in